/* Bouquet typography contract (bouquet.chat only): app/fonts.css provides the
   requested LXGW Neo ZhiSong family as Unicode shards; code blocks and their
   controls alone use JetBrains Mono. */

:root {
  color-scheme: light;
  --ink: #101828;
  --ink-soft: #344054;
  --muted: #667085;
  --accent: #1769f5;
  --accent-dark: #0d56d8;
  --accent-soft: #eef5ff;
  --surface: #f8fbff;
  --line: #e4eaf3;
  --white: #ffffff;
  --shadow: 0 20px 48px rgba(39, 82, 145, 0.12);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 9px;
  --content-width: 1180px;
  --font-site: "Bouquet App", "Noto Serif TC", "Songti TC", serif;
  --font-display: var(--font-site);
  --font-ui: var(--font-site);
  --font-code: "JetBrains Mono", "Cascadia Code", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", "Noto Sans Mono CJK SC", "Sarasa Mono SC", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

#top,
#safety,
#live-stats,
#protocols,
#download,
#contact {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-site);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button, input, textarea, select { font-family: var(--font-site); }

.container { width: min(calc(100% - 56px), var(--content-width)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner { min-height: 72px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 760; letter-spacing: -0.035em; white-space: nowrap; }
.brand-mark { width: 30px; height: 30px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; }
.brand-copy { display: inline-flex; align-items: baseline; gap: 9px; }
.brand-name { font-size: 18px; }
.brand-tagline { color: #667085; font-size: 10px; font-weight: 520; letter-spacing: 0.035em; }
.main-nav { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.nav-link { position: relative; color: var(--ink-soft); font-size: 14px; transition: color 180ms ease; }
.nav-link::after { position: absolute; right: 0; bottom: -9px; left: 0; height: 2px; content: ""; background: transparent; transform: scaleX(0); transition: transform 180ms ease, background 180ms ease; }
.nav-link:hover, .nav-link.is-active { color: var(--accent); }
.nav-link:hover::after, .nav-link.is-active::after { background: var(--accent); transform: scaleX(1); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; border-radius: var(--radius-sm); font-weight: 680; line-height: 1; cursor: pointer; transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .nav-link:focus-visible, .text-link:focus-visible { outline: 3px solid rgba(23, 105, 245, 0.25); outline-offset: 4px; }
.button-primary { color: var(--white); background: var(--accent); box-shadow: 0 8px 18px rgba(23, 105, 245, 0.2); }
.button-primary:hover { background: var(--accent-dark); box-shadow: 0 12px 24px rgba(23, 105, 245, 0.28); }
.button-large { min-height: 54px; padding: 0 22px; font-size: 15px; }
.button-small { min-height: 34px; padding: 0 12px; font-size: 12px; }
.header-cta { min-height: 42px; padding: 0 16px; font-size: 13px; }
.button-arrow { font-size: 18px; line-height: 0; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr); align-items: center; gap: 72px; min-height: 500px; padding-top: 88px; padding-bottom: 104px; }
.hero-copy { max-width: 700px; padding-top: 4px; }
h1, h2, h3, p { margin: 0; }
h1 { max-width: 760px; font-size: clamp(42px, 5vw, 66px); line-height: 1.16; letter-spacing: -0.065em; font-weight: 780; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 36px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: 14px; font-weight: 650; transition: color 180ms ease; }
.text-link:hover { color: var(--accent); }
.text-link span { color: var(--accent); font-size: 18px; }

.hero-side-cards { display: grid; gap: 14px; min-width: 0; }
.quick-call-card, .reply-card { min-width: 0; border: 1px solid #dce8f6; border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.94); box-shadow: 0 18px 44px rgba(39, 82, 145, 0.09); }
.quick-call-card { padding: 22px 22px 19px; }
.quick-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.quick-card-heading h2, .reply-card-copy h2 { font-size: 24px; line-height: 1.2; letter-spacing: -0.045em; }
.quick-card-icon, .reply-card-symbol { display: grid; flex: 0 0 auto; width: 40px; height: 40px; place-items: center; color: var(--accent); border: 1px solid #cfe0fa; border-radius: 13px; background: var(--accent-soft); }
.quick-card-icon svg { width: 19px; height: 19px; }
.protocol-switch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin-top: 17px; padding: 4px; border: 1px solid #e1eaf7; border-radius: 11px; background: #f7faff; }
.protocol-switch-button { min-width: 0; min-height: 31px; padding: 0 6px; color: var(--muted); border: 0; border-radius: 7px; background: transparent; font-family: var(--font-ui); font-size: 10px; font-weight: 700; cursor: pointer; transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease; }
.protocol-switch-button:hover { color: var(--accent); }
.protocol-switch-button.is-active { color: var(--white); background: var(--accent); box-shadow: 0 5px 12px rgba(23, 105, 245, 0.2); }
.protocol-switch-button:focus-visible, .quick-copy:focus-visible, .reply-register-link:focus-visible { outline: 3px solid rgba(23, 105, 245, 0.25); outline-offset: 3px; }
.quick-call-details { display: grid; gap: 10px; margin: 16px 0 0; }
.quick-call-details > div { min-width: 0; padding-bottom: 10px; border-bottom: 1px solid #edf1f6; }
.quick-call-details > div:last-child { padding-bottom: 0; border-bottom: 0; }
.quick-call-details dt { color: #98a2b3; font-size: 10px; line-height: 1.3; }
.quick-call-details dd { display: flex; align-items: center; gap: 8px; min-width: 0; margin: 5px 0 0; }
.quick-call-details dd code { display: block; min-width: 0; overflow: hidden; color: var(--ink-soft); font-family: var(--font-ui); font-size: 11px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.quick-copy { display: grid; flex: 0 0 auto; width: 25px; height: 25px; margin-left: auto; place-items: center; padding: 0; color: #8190a7; border: 1px solid transparent; border-radius: 7px; background: transparent; cursor: pointer; transition: color 180ms ease, background 180ms ease, border-color 180ms ease; }
.quick-copy:hover, .quick-copy.is-copied { color: var(--accent); border-color: #cfe0fa; background: var(--accent-soft); }
.quick-copy svg { width: 13px; height: 13px; }
.quick-call-note { margin-top: 14px; color: #98a2b3; font-size: 10px; line-height: 1.6; }
.reply-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 13px; padding: 19px 22px; background: linear-gradient(135deg, #fbfdff, #f4f8ff); }
.reply-card-symbol svg { width: 19px; height: 19px; }
.reply-card-copy { min-width: 0; }
.reply-card-copy .section-kicker { margin-bottom: 6px; }
.reply-card-copy p { margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.reply-card-actions { grid-column: 2; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 2px; }
.reply-card-actions .button { min-height: 39px; padding: 0 14px; font-size: 12px; }
.reply-card-actions .button-arrow { font-size: 16px; }
.reply-register-link { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); font-size: 12px; font-weight: 700; }
.reply-register-link span { font-family: var(--font-ui); font-size: 14px; }

.safety-section { padding: 0 0 8px; background: linear-gradient(180deg, #fff 0%, #f8fbff 46%, #fff 100%); }
.safety-layout { display: grid; grid-template-columns: 64px minmax(0, 1.2fr) minmax(350px, 0.8fr); align-items: center; gap: 28px; min-height: 184px; padding: 32px 38px; border: 1px solid #dce8f6; border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.92); box-shadow: 0 16px 42px rgba(39, 82, 145, 0.07); }
.safety-symbol { display: grid; width: 58px; height: 58px; place-items: center; color: var(--accent); border: 1px solid #cfe0fa; border-radius: 18px; background: var(--accent-soft); }
.safety-symbol svg { width: 28px; height: 28px; stroke-width: 1.7; }
.safety-copy h2 { font-size: clamp(27px, 3vw, 38px); line-height: 1.2; letter-spacing: -0.05em; }
.safety-copy p { max-width: 650px; margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.safety-points { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.safety-points li { display: flex; align-items: center; gap: 11px; min-height: 38px; color: var(--ink-soft); font-size: 13px; font-weight: 650; }
.safety-points svg { width: 17px; height: 17px; color: var(--accent); stroke-width: 1.8; }

.stats-section { padding-top: 96px; padding-bottom: 12px; }
.stats-heading { display: flex; align-items: end; justify-content: space-between; gap: 42px; margin-bottom: 30px; }
.section-kicker { display: block; margin-bottom: 8px; color: var(--accent); font-family: var(--font-ui); font-size: 10px; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; }
.stats-heading h2 { font-size: clamp(32px, 4vw, 46px); line-height: 1.2; letter-spacing: -0.055em; }
.stats-heading p { margin-top: 13px; color: var(--muted); font-size: 14px; }
.stats-freshness { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px; color: #287957; border: 1px solid #ccebdc; border-radius: 999px; background: #f2fbf7; font-size: 11px; font-weight: 700; }
.stats-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #12b76a; box-shadow: 0 0 0 4px rgba(18, 183, 106, 0.12); }
.stats-freshness.is-error { color: #b54708; border-color: #fedfbd; background: #fff8ef; }
.stats-freshness.is-error .stats-live-dot { background: #f79009; box-shadow: 0 0 0 4px rgba(247, 144, 9, 0.13); }
.metric-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: hidden; border: 1px solid #dce8f6; border-radius: var(--radius-lg); background: #fff; box-shadow: 0 18px 46px rgba(39, 82, 145, 0.07); }
.metric-card { min-width: 0; min-height: 154px; padding: 25px 22px 21px; }
.metric-card + .metric-card { border-left: 1px solid var(--line); }
.metric-card > span { display: block; min-height: 26px; color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.metric-card > strong { display: block; overflow: hidden; margin-top: 9px; color: var(--ink); font-family: var(--font-ui); font-size: clamp(26px, 3vw, 35px); font-weight: 650; line-height: 1.15; letter-spacing: -0.055em; text-overflow: ellipsis; white-space: nowrap; }
.metric-card > small { display: block; margin-top: 13px; color: #98a2b3; font-size: 10px; line-height: 1.4; }
.ranking-card { margin-top: 18px; overflow: hidden; border: 1px solid #dce8f6; border-radius: var(--radius-lg); background: #fff; }
.ranking-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; min-height: 94px; padding: 22px 26px 20px; border-bottom: 1px solid var(--line); background: linear-gradient(110deg, #fbfdff, #f6f9ff); }
.ranking-heading h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.035em; }
.ranking-heading > span { color: var(--muted); font-size: 11px; }
.ranking-table-head, .ranking-row { display: grid; grid-template-columns: 46px minmax(180px, 1.35fr) minmax(360px, 2fr); align-items: center; column-gap: 18px; }
.ranking-table-head { min-height: 45px; padding: 0 26px; color: #98a2b3; border-bottom: 1px solid var(--line); font-size: 10px; font-weight: 700; }
.ranking-head-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; text-align: right; }
.ranking-row { min-height: 72px; padding: 12px 26px; }
.ranking-row + .ranking-row { border-top: 1px solid #edf1f6; }
.ranking-position { color: #98a2b3; font-family: var(--font-ui); font-size: 11px; }
.ranking-row:first-child .ranking-position { color: var(--accent); font-weight: 800; }
.ranking-user { min-width: 0; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.ranking-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; text-align: right; }
.ranking-metrics > span { display: grid; gap: 2px; }
.ranking-metrics small { display: none; color: #98a2b3; font-size: 9px; font-weight: 500; }
.ranking-metrics strong { font-family: var(--font-ui); font-size: 12px; font-weight: 600; }
.ranking-empty { display: grid; min-height: 100px; place-items: center; padding: 22px; color: var(--muted); font-size: 12px; text-align: center; }

.workflow-section { padding: 38px 0 36px; background: var(--surface); border-top: 1px solid #edf3fb; border-bottom: 1px solid #edf3fb; }
.workflow-flow { display: grid; grid-template-columns: 1fr 86px 180px 86px 1fr; align-items: center; gap: 0; min-height: 208px; padding: 28px 46px; border: 1px solid #dce8f6; border-radius: var(--radius-lg); background: var(--white); }
.provider-list { display: grid; gap: 12px; max-width: 180px; }
.provider-node { display: flex; align-items: center; gap: 11px; min-height: 43px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink-soft); background: #fcfdff; font-size: 13px; font-weight: 670; }
.provider-logo { display: inline-grid; width: 23px; height: 23px; place-items: center; border-radius: 7px; font-size: 9px; font-weight: 800; }
.provider-logo.step-one { color: #fff; background: #4d6bfe; }
.provider-logo.step-two { color: #1d2939; border: 1px solid #d0d5dd; font-size: 10px; }
.provider-logo.step-three { color: #24734e; background: #eef9f3; font-size: 10px; }
.flow-connector { position: relative; height: 2px; background: var(--accent); }
.flow-connector::after { position: absolute; top: 50%; width: 0; height: 0; content: ""; border-top: 6px solid transparent; border-bottom: 6px solid transparent; transform: translateY(-50%); }
.flow-connector.left::after { right: -1px; border-left: 8px solid var(--accent); }
.flow-connector.right::after { right: -1px; border-left: 8px solid var(--accent); }
.flow-core { display: grid; justify-items: center; gap: 5px; min-height: 128px; padding: 18px 12px; border: 1px solid #dce8f6; border-radius: var(--radius-md); background: var(--white); }
.flow-mark { display: block; width: 42px; height: 42px; border: 1px solid #d5e4fa; border-radius: 50%; object-fit: cover; }
.flow-core strong, .human-node strong { font-size: 16px; letter-spacing: -0.02em; }
.flow-core span, .human-node span { color: #98a2b3; font-size: 10px; }
.human-node { display: grid; justify-items: center; gap: 6px; min-height: 128px; padding: 18px 12px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.human-icon { display: grid; width: 42px; height: 42px; place-items: center; color: var(--accent); border-radius: 50%; background: var(--accent-soft); font-size: 24px; line-height: 1; }
.workflow-caption { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 22px; color: #667085; font-size: 12px; }
.lock-icon { color: var(--accent); font-size: 16px; }

.protocols-section { padding-top: 102px; padding-bottom: 86px; }
.section-heading { max-width: 630px; margin-bottom: 34px; }
.section-heading h2 { font-size: clamp(32px, 4vw, 46px); line-height: 1.2; letter-spacing: -0.055em; }
.section-heading p { margin-top: 15px; color: var(--muted); font-size: 15px; }
code { font-family: inherit; }
.section-heading code { color: var(--accent); font-size: 0.9em; }
.protocol-grid { display: grid; grid-template-columns: 1fr; gap: 18px; width: 100%; max-width: none; }
.protocol-item { width: 100%; min-width: 0; }
.protocol-item .inkflow-code-shell { width: 100%; height: auto; margin: 0; }
.protocol-note { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 14px 17px; color: #667085; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); font-size: 12px; }
.info-icon { display: inline-grid; width: 18px; height: 18px; place-items: center; color: var(--accent); border: 1px solid #a9c6f8; border-radius: 50%; font-family: var(--font-ui); font-size: 12px; }

.download-section { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr); align-items: center; gap: 72px; margin-bottom: 86px; padding-top: 14px; }
.download-copy h2 { max-width: 520px; font-size: clamp(30px, 4vw, 44px); line-height: 1.2; letter-spacing: -0.055em; }
.download-copy p { max-width: 560px; margin-top: 16px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.platform-list { overflow: hidden; border: 1px solid #dce8f6; border-radius: var(--radius-lg); background: #fff; box-shadow: 0 18px 44px rgba(39, 82, 145, 0.08); }
.platform-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 86px; padding: 16px 20px; }
.platform-row + .platform-row { border-top: 1px solid var(--line); }
.platform-icon { display: grid; width: 44px; height: 44px; place-items: center; color: var(--accent); border-radius: 14px; background: var(--accent-soft); }
.platform-icon svg { width: 21px; height: 21px; stroke-width: 1.8; }
.platform-copy { display: grid; gap: 2px; }
.platform-copy strong { font-size: 15px; letter-spacing: -0.015em; }
.platform-copy small { color: var(--muted); font-size: 11px; }
.platform-status { padding: 6px 10px; color: #48689f; border: 1px solid #d8e6fa; border-radius: 999px; background: #f4f8ff; font-size: 11px; font-weight: 700; white-space: nowrap; }

.cta-section { position: relative; display: flex; align-items: center; justify-content: center; gap: 48px; min-height: 218px; overflow: hidden; margin-bottom: 90px; padding: 40px 120px; border: 1px solid #cfe0fa; border-radius: var(--radius-lg); background: var(--accent-soft); text-align: center; }
.cta-copy { position: relative; z-index: 1; }
.cta-copy h2 { font-size: clamp(24px, 3vw, 33px); line-height: 1.25; letter-spacing: -0.045em; }
.cta-copy p { margin-top: 10px; color: #667085; font-size: 13px; }
.cta-section .button { position: relative; z-index: 1; flex: 0 0 auto; }
.cta-flower { position: absolute; right: 18px; bottom: -12px; width: 136px; color: #93b9f7; opacity: 0.8; transform: rotate(-5deg); }

.site-footer { padding: 58px 0 68px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.8fr repeat(4, minmax(0, 1fr)) 1.15fr; gap: 36px; align-items: start; }
.footer-brand p { max-width: 220px; margin-top: 18px; color: var(--muted); font-size: 13px; }
.footer-column { display: grid; align-content: start; gap: 10px; }
.footer-column h3 { margin-bottom: 4px; color: var(--ink); font-size: 12px; }
.footer-column a { color: var(--muted); font-size: 12px; transition: color 180ms ease; }
.footer-column a:hover { color: var(--accent); }
.footer-contact-label { color: var(--muted); font-size: 12px; }
.footer-contact-value { width: fit-content; color: var(--ink-soft) !important; font-size: 11px !important; letter-spacing: -0.02em; }
.footer-copyright { align-self: end; color: #98a2b3; font-size: 11px; line-height: 1.7; text-align: right; }

[data-reveal] { opacity: 1; transform: none; }
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 650ms ease, transform 650ms ease; }
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 38px; padding-top: 68px; }
  .hero-copy { max-width: 720px; }
  .hero-side-cards { max-width: 720px; }
  .workflow-flow { grid-template-columns: 1fr 54px 160px 54px 1fr; padding: 24px 24px; }
  .safety-layout { grid-template-columns: 58px minmax(0, 1fr); }
  .safety-points { grid-column: 2; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .metric-card:nth-child(4) { border-left: 0; border-top: 1px solid var(--line); }
  .metric-card:nth-child(5) { border-top: 1px solid var(--line); }
  .download-section { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid { grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
  .footer-copyright { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 36px), var(--content-width)); }
  .header-inner { min-height: 64px; gap: 14px; }
  .brand-name { font-size: 14px; }
  .brand-tagline { font-size: 9px; }
  .brand-mark { width: 26px; height: 26px; }
  .main-nav { display: none; }
  .header-cta { margin-left: auto; min-height: 38px; padding: 0 12px; font-size: 12px; }
  .hero { min-height: auto; gap: 32px; padding-top: 46px; padding-bottom: 56px; }
  h1 { max-width: 10.5em; font-size: clamp(38px, 11vw, 48px); line-height: 1.13; letter-spacing: -0.055em; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; margin-top: 28px; }
  .hero-side-cards { gap: 12px; }
  .quick-call-card { padding: 19px 17px 17px; }
  .reply-card { grid-template-columns: 38px minmax(0, 1fr); padding: 17px; }
  .reply-card-symbol { width: 38px; height: 38px; }
  .reply-card-actions { grid-column: 1 / -1; margin-top: 2px; }
  .workflow-section { padding: 24px 0 28px; }
  .workflow-flow { grid-template-columns: 1fr; gap: 16px; padding: 22px 18px; }
  .provider-list { max-width: none; }
  .flow-connector { width: 2px; height: 26px; margin: 0 auto; }
  .flow-connector::after { top: auto; right: auto !important; bottom: -1px; left: 50%; border-top: 8px solid var(--accent); border-right: 6px solid transparent; border-bottom: 0; border-left: 6px solid transparent; transform: translateX(-50%); }
  .flow-core, .human-node { min-height: 108px; }
  .safety-section { padding-bottom: 0; }
  .safety-layout { grid-template-columns: 46px minmax(0, 1fr); gap: 16px; min-height: 0; padding: 24px 20px; }
  .safety-symbol { width: 46px; height: 46px; border-radius: 14px; }
  .safety-symbol svg { width: 23px; height: 23px; }
  .safety-copy h2 { font-size: 27px; }
  .safety-copy p { margin-top: 10px; font-size: 13px; }
  .safety-points { grid-column: 1 / -1; grid-template-columns: 1fr; gap: 2px; padding-top: 6px; }
  .safety-points li { min-height: 34px; }
  .stats-section { padding-top: 64px; }
  .stats-heading { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 22px; }
  .stats-heading h2 { font-size: 31px; }
  .stats-freshness { align-self: flex-start; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-card { min-height: 136px; padding: 21px 17px 18px; }
  .metric-card:nth-child(n) { border-top: 1px solid var(--line); border-left: 0; }
  .metric-card:nth-child(-n + 2) { border-top: 0; }
  .metric-card:nth-child(even) { border-left: 1px solid var(--line); }
  .metric-card:last-child { grid-column: 1 / -1; min-height: 125px; border-left: 0; }
  .metric-card > strong { font-size: 28px; }
  .ranking-heading { align-items: flex-start; flex-direction: column; gap: 8px; min-height: 0; padding: 20px; }
  .ranking-table-head { display: none; }
  .ranking-row { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; min-height: 110px; padding: 17px 20px; }
  .ranking-position { align-self: start; padding-top: 2px; }
  .ranking-user { align-self: start; }
  .ranking-metrics { grid-column: 2; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; text-align: left; }
  .ranking-metrics small { display: block; }
  .ranking-metrics strong { font-size: 11px; }
  .protocols-section { padding-top: 64px; padding-bottom: 54px; }
  .section-heading { margin-bottom: 24px; }
  .protocol-note { align-items: flex-start; }
  .download-section { gap: 24px; margin-bottom: 54px; padding-top: 4px; }
  .download-copy h2 { font-size: 31px; }
  .download-copy p { margin-top: 13px; font-size: 14px; }
  .platform-row { min-height: 78px; padding: 14px 16px; }
  .cta-section { align-items: center; flex-direction: column; gap: 22px; min-height: 270px; margin-bottom: 60px; padding: 38px 24px; }
  .cta-flower { right: -12px; bottom: -16px; width: 120px; }
  .site-footer { padding: 42px 0 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-copyright { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* App-aligned visual pass: neutral workspace chrome, quiet surfaces, and
   restrained elevation. InkFlow code styles remain isolated in their own
   stylesheet and are intentionally not changed here. */
:root {
  --ink: #0d0d0d;
  --ink-soft: #2f2f2f;
  --muted: #8e8e8e;
  --accent: #0d0d0d;
  --accent-dark: #000000;
  --accent-soft: rgba(0, 0, 0, 0.06);
  --surface: #f7f7f8;
  --line: rgba(0, 0, 0, 0.08);
  --white: #ffffff;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.03);
  --content-width: 1220px;
}

body { background: var(--white); }

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
  backdrop-filter: none;
}
.header-inner { min-height: 64px; }
.brand { font-weight: 650; letter-spacing: -0.025em; }
.brand-tagline { color: var(--muted); }
.main-nav { gap: 28px; }
.nav-link { color: var(--muted); }
.nav-link:hover, .nav-link.is-active { color: var(--ink); }
.nav-link::after { background: var(--ink); }
.button:focus-visible, .nav-link:focus-visible, .text-link:focus-visible { outline-color: rgba(0, 0, 0, 0.18); }
.button-primary { color: #fafafa; background: var(--accent); box-shadow: var(--shadow-sm); }
.button-primary:hover { background: var(--accent-dark); box-shadow: var(--shadow); }

.hero {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.hero-copy h1 { font-weight: 700; letter-spacing: -0.05em; }
.text-link { color: var(--ink-soft); }
.text-link:hover { color: var(--ink); }
.text-link span { color: var(--ink); }
.hero-side-cards { gap: 12px; }
.quick-call-card, .reply-card {
  border-color: var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.quick-card-icon, .reply-card-symbol {
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface);
}
.section-kicker { color: var(--muted); }
.protocol-switch { border-color: var(--line); background: var(--surface); }
.protocol-switch-button:hover { color: var(--ink); }
.protocol-switch-button.is-active { background: var(--ink); box-shadow: var(--shadow-sm); }
.quick-copy:hover, .quick-copy.is-copied { color: var(--ink); border-color: var(--line); background: var(--surface); }
.reply-card { background: var(--surface); }
.reply-register-link { color: var(--ink); }

.safety-section {
  padding: 32px 0 40px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.safety-layout {
  min-height: 160px;
  border-color: var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.safety-symbol {
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface);
}
.safety-points svg { color: var(--ink); }

.stats-section { background: var(--white); }
.stats-freshness {
  color: var(--muted);
  border-color: var(--line);
  background: var(--surface);
}
.stats-live-dot { background: #6f9b7d; box-shadow: 0 0 0 4px rgba(111, 155, 125, 0.12); }
.metric-grid, .ranking-card {
  border-color: var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.workflow-section {
  background: var(--surface);
  border-top-color: var(--line);
  border-bottom-color: var(--line);
}
.workflow-flow {
  border-color: var(--line);
  border-radius: 16px;
  box-shadow: none;
}
.provider-node, .flow-core, .human-node { border-color: var(--line); }
.provider-node { background: #fff; }
.flow-core, .human-node { background: #fff; }
.provider-logo.step-one { color: #fff; background: var(--ink); }
.provider-logo.step-two { color: var(--ink); border-color: var(--line); }
.provider-logo.step-three { color: var(--ink-soft); background: var(--surface); }
.flow-connector { background: var(--ink); }
.flow-connector.left::after, .flow-connector.right::after { border-left-color: var(--ink); }
.human-icon { color: var(--ink); background: var(--surface); }

.protocols-section { background: var(--white); }
.protocol-note {
  color: var(--muted);
  border-color: var(--line);
  background: var(--surface);
}
.info-icon { color: var(--ink); border-color: var(--line); }

.platform-list { border-color: var(--line); box-shadow: var(--shadow-sm); }
.platform-icon { color: var(--ink); background: var(--surface); }
.platform-status { color: var(--ink-soft); border-color: var(--line); background: var(--surface); }

.cta-section {
  border-color: var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.cta-flower { color: #c5c5c5; }
.site-footer { background: var(--white); border-top-color: var(--line); }

/* Typography system pass: one site font for all non-code content; code mono
   remains isolated to the copied InkFlow code surface. */
h1, h2, h3,
.brand-name {
  font-family: var(--font-display);
}

.brand-name { font-size: 19px; }
.brand-tagline { font-family: var(--font-ui); font-size: 11px; }
.nav-link { font-family: var(--font-ui); font-size: 15px; }
.button, .text-link, .protocol-switch-button, .quick-call-details,
.reply-card-actions, .stats-freshness, .ranking-card, .workflow-section,
.protocol-note, .download-section, .cta-section, .site-footer {
  font-family: var(--font-ui);
}
.header-cta { font-size: 14px; }
.button-small { font-size: 13px; }
.text-link { font-size: 15px; }

.protocol-switch-button {
  min-height: 34px;
  font-size: 12px;
  line-height: 1.2;
}
.quick-call-details dt { font-size: 12px; line-height: 1.4; }
.quick-call-details dd code { font-size: 13px; line-height: 1.45; }
.quick-call-note { font-size: 12px; line-height: 1.65; }
.reply-card-copy p { font-size: 13px; line-height: 1.6; }
.reply-card-actions .button { font-size: 13px; }
.reply-register-link { font-size: 13px; }

.section-kicker {
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.08em;
}
.stats-heading p { font-size: 15px; }
.stats-freshness { font-size: 12px; }
.metric-card > span { font-size: 13px; }
.metric-card > strong {
  font-size: clamp(30px, 3vw, 38px);
  letter-spacing: -0.035em;
}
.metric-card > small { font-size: 12px; line-height: 1.5; }
.ranking-heading > span { font-size: 12px; }
.ranking-table-head { font-size: 12px; }
.ranking-position { font-size: 13px; }
.ranking-user { font-size: 14px; }
.ranking-metrics small { font-size: 11px; }
.ranking-metrics strong { font-size: 13px; }
.ranking-empty { font-size: 13px; }

.provider-node { font-size: 14px; }
.provider-logo { font-size: 10px; }
.provider-logo.step-two, .provider-logo.step-three { font-size: 11px; }
.flow-core span, .human-node span { font-size: 12px; }
.workflow-caption { font-size: 13px; }
.protocol-note { font-size: 13px; }
.info-icon { font-size: 13px; }
.download-copy p { font-size: 16px; }
.platform-copy small, .platform-status { font-size: 12px; }
.cta-copy p { font-size: 14px; }
.footer-column h3, .footer-column a, .footer-contact-label { font-size: 13px; }
.footer-contact-value { font-size: 13px !important; }
.footer-copyright { font-size: 12px; }

@media (max-width: 680px) {
  .brand-name { font-size: 15px; }
  .brand-tagline { font-size: 10px; }
  .header-cta { font-size: 13px; }
  .metric-card > strong { font-size: 30px; }
  .ranking-metrics strong { font-size: 12px; }
  .download-copy p { font-size: 15px; }
}

/* Card system: cards are independent surfaces separated by whitespace;
   borders are replaced with restrained elevation. InkFlow code surfaces are
   intentionally excluded so their copied source styling stays unchanged. */
:root {
  --card-shadow: 0 18px 42px rgba(0, 0, 0, 0.14), 0 3px 10px rgba(0, 0, 0, 0.06);
  --card-shadow-hover: 0 22px 48px rgba(0, 0, 0, 0.18), 0 5px 14px rgba(0, 0, 0, 0.08);
}

.quick-call-card,
.reply-card,
.safety-layout,
.ranking-card,
.cta-section {
  border: 0;
  box-shadow: var(--card-shadow);
}
.quick-call-card:hover,
.reply-card:hover,
.metric-card:hover {
  box-shadow: var(--card-shadow-hover);
}
.quick-card-icon,
.reply-card-symbol,
.safety-symbol {
  border: 0;
}

.metric-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.metric-card,
.metric-card + .metric-card,
.metric-card:nth-child(n),
.metric-card:nth-child(even),
.metric-card:last-child {
  min-width: 0;
  border: 0;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--card-shadow);
}
.metric-card {
  min-height: 154px;
  padding: 25px 22px 21px;
}
.metric-card-link {
  display: block;
  color: inherit;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.metric-card-link:hover { transform: translateY(-2px); }
.metric-card-link:focus-visible { outline: 3px solid rgba(23, 105, 245, 0.25); outline-offset: 4px; }

.ranking-card { overflow: hidden; }
.ranking-heading,
.ranking-table-head,
.ranking-row + .ranking-row {
  border-bottom: 0;
  border-top: 0;
}

.workflow-flow {
  border: 0;
  background: transparent;
}
.provider-node,
.flow-core,
.human-node {
  border: 0;
  box-shadow: var(--card-shadow);
}

.platform-list {
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.platform-row,
.platform-row + .platform-row {
  margin-bottom: 12px;
  border: 0;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--card-shadow);
}
.platform-row:last-child { margin-bottom: 0; }

.protocol-note {
  border: 0;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 980px) {
  .metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 680px) {
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .metric-card { min-height: 136px; }
  .metric-card:last-child { min-height: 125px; }
  .metric-card,
  .metric-card + .metric-card,
  .metric-card:nth-child(n),
  .metric-card:nth-child(even),
  .metric-card:last-child {
    border: 0;
  }
  .platform-row { margin-bottom: 10px; }
}

/* Red-box cleanup: keep the remaining content visually compact after the
   marked labels, icons, helper copy and decorative blocks are removed. */
.quick-card-heading { justify-content: flex-start; }
.reply-card { grid-template-columns: minmax(0, 1fr); }
.reply-card-actions { grid-column: 1; }
.safety-layout { grid-template-columns: minmax(0, 1.2fr) minmax(350px, 0.8fr); }
.stats-section { padding-top: 32px; }
.protocols-section { padding-top: 44px; }
.platform-row { grid-template-columns: minmax(0, 1fr) auto; }
.cta-copy { max-width: 720px; }

@media (max-width: 980px) {
  .safety-layout { grid-template-columns: minmax(0, 1fr); }
  .safety-points { grid-column: 1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .reply-card { grid-template-columns: minmax(0, 1fr); }
  .reply-card-actions { grid-column: 1; }
  .safety-layout { grid-template-columns: minmax(0, 1fr); }
  .safety-points { grid-column: 1; grid-template-columns: 1fr; }
  .stats-section { padding-top: 28px; }
  .protocols-section { padding-top: 34px; }
  .platform-row { grid-template-columns: minmax(0, 1fr) auto; }
}

/* Footer type scale: keep supporting text readable and visibly related to the
   site's 16px body scale instead of shrinking the footer into microcopy. */
.site-footer { font-family: var(--font-site); }
.site-footer .brand-name { font-size: 20px; }
.site-footer .brand-tagline { font-size: 12px; }
.footer-brand p { font-size: 15px; line-height: 1.75; }
.footer-column { gap: 12px; }
.footer-column h3 { margin-bottom: 6px; font-size: 15px; line-height: 1.45; }
.footer-column a,
.footer-contact-label { font-size: 14px; line-height: 1.65; }
.footer-contact-value { font-size: 15px !important; line-height: 1.5; letter-spacing: 0; }
.footer-copyright { font-size: 13px; line-height: 1.7; }

@media (max-width: 680px) {
  .site-footer .brand-name { font-size: 18px; }
  .site-footer .brand-tagline { font-size: 11px; }
  .footer-brand p { font-size: 14px; }
  .footer-column h3 { font-size: 14px; }
  .footer-column a,
  .footer-contact-label { font-size: 13px; }
  .footer-contact-value { font-size: 14px !important; }
  .footer-copyright { font-size: 13px; }
}

/* Footer re-layout: a clear brand-and-navigation top row followed by a
   quiet utility bar, instead of a floating copyright column. */
.site-footer {
  padding: 64px 0 28px;
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1.15fr) minmax(0, 2.25fr) minmax(150px, 0.8fr);
  gap: 48px;
  align-items: start;
  padding-bottom: 46px;
}
.footer-brand { max-width: 280px; }
.footer-brand p {
  max-width: 250px;
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.75;
}
.footer-link-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(100px, 1fr));
  gap: 32px;
}
.footer-column,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 12px;
}
.footer-column h3,
.footer-contact h3 {
  margin: 0 0 5px;
  font-size: 15px;
  line-height: 1.45;
}
.footer-column a,
.footer-contact-label {
  font-size: 14px;
  line-height: 1.65;
}
.footer-contact-value {
  display: block;
  margin-top: -3px;
  font-size: 15px !important;
  line-height: 1.5;
  letter-spacing: 0;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
}
.footer-bottom span:last-child { color: #98a2b3; }

@media (max-width: 980px) {
  .footer-main {
    grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.8fr);
    gap: 40px;
  }
  .footer-contact { grid-column: 2; }
}

@media (max-width: 680px) {
  .site-footer { padding: 46px 0 24px; }
  .footer-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    padding-bottom: 34px;
  }
  .footer-brand { max-width: none; }
  .footer-link-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 24px;
  }
  .footer-contact { grid-column: 1; }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    padding-top: 18px;
  }
}
/* Local visual study: Antigravity-inspired depth without adding page content. */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 24%, rgba(23, 105, 245, 0.055), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.72));
}

.hero-particles {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.56;
}

.hero-copy,
.hero-side-cards {
  position: relative;
  z-index: 1;
}

.hero-copy h1 { text-wrap: balance; }

.quick-call-card,
.reply-card,
.safety-layout,
.ranking-card,
.platform-list,
.cta-section {
  border-color: transparent;
  box-shadow: 0 20px 44px rgba(39, 82, 145, 0.1), 0 2px 7px rgba(39, 82, 145, 0.035);
}

.quick-call-card:hover,
.reply-card:hover,
.metric-card:hover {
  box-shadow: 0 28px 62px rgba(39, 82, 145, 0.14), 0 4px 12px rgba(39, 82, 145, 0.045);
}

.metric-grid { gap: 16px; overflow: visible; }

.metric-card {
  border: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #ffffff, #f5f8fd);
  box-shadow: 0 18px 38px rgba(39, 82, 145, 0.08);
}

.ranking-card { overflow: hidden; background: #ffffff; }
.ranking-heading { background: linear-gradient(112deg, #f5f8ff, #ffffff); }

.protocol-item .inkflow-code-shell {
  border: 0;
  box-shadow: 0 18px 42px rgba(39, 82, 145, 0.105);
}

.protocol-item .inkflow-code-shell:hover { box-shadow: 0 26px 56px rgba(39, 82, 145, 0.15); }
.site-footer { background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%); }

@media (max-width: 680px) {
  .hero-particles { opacity: 0.34; }
  .metric-grid { gap: 12px; }
  .metric-card { border-radius: var(--radius-md); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-particles { display: none; }
}

/*
 * Local Antigravity study v2.
 * The source copy and information architecture stay from the current
 * bouquet.chat page. This layer changes only composition, depth and motion:
 * a white stage, a centered hero, floating bento surfaces and one dark scene.
 */
:root {
  --ink: #101014;
  --ink-soft: #4d4d56;
  --muted: #777780;
  --accent: #111114;
  --accent-dark: #000000;
  --accent-soft: #f1f1f3;
  --surface: #f5f5f6;
  --line: #e8e8ea;
  --shadow: 0 32px 80px rgba(20, 20, 24, 0.12), 0 8px 24px rgba(20, 20, 24, 0.06);
  --shadow-sm: 0 18px 46px rgba(20, 20, 24, 0.1), 0 4px 14px rgba(20, 20, 24, 0.05);
}

body {
  background: #ffffff;
  color: var(--ink);
}

.site-header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: transparent;
  box-shadow: 0 1px 0 rgba(16, 16, 20, 0.03);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 78px;
}

.brand {
  color: var(--ink);
  font-weight: 650;
}

.brand-mark {
  width: 31px;
  height: 31px;
}

.brand-name {
  font-size: 19px;
}

.brand-tagline {
  color: #85858d;
  font-size: 11px;
}

.main-nav {
  gap: 31px;
}

.nav-link {
  color: #71717a;
  font-size: 14px;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
}

.nav-link::after {
  bottom: -11px;
  height: 1px;
  background: var(--ink);
}

.button-primary {
  color: #ffffff;
  background: #111114;
  box-shadow: 0 11px 24px rgba(17, 17, 20, 0.16);
}

.button-primary:hover {
  background: #000000;
  box-shadow: 0 16px 32px rgba(17, 17, 20, 0.22);
}

.header-cta {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 13px;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100svh - 78px);
  padding: 56px 28px;
  background: #ffffff;
  border-bottom: 0;
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: -10%;
  bottom: -8%;
  left: -10%;
  height: 42%;
  content: "";
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(219, 229, 255, 0.26), transparent 67%);
  filter: blur(12px);
}

.hero-particles {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.92;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  padding-top: 0;
  text-align: center;
}

.hero-copy h1 {
  max-width: 1160px;
  margin: 0 auto;
  color: #0d0d11;
  font-size: clamp(58px, 8.2vw, 122px);
  line-height: 0.98;
  letter-spacing: -0.095em;
  font-weight: 780;
  text-wrap: balance;
}

.hero-side-cards {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.8fr);
  align-self: flex-end;
  width: min(760px, 100%);
  min-width: 0;
  gap: 16px;
  margin-top: clamp(74px, 10vh, 124px);
}

.quick-call-card,
.reply-card {
  border: 0;
  border-radius: 28px;
  background: #f1f1f2;
  box-shadow: var(--shadow-sm);
}

.quick-call-card {
  padding: 28px 28px 24px;
}

.quick-card-heading h2,
.reply-card-copy h2 {
  font-size: 27px;
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.protocol-switch {
  border-color: transparent;
  border-radius: 999px;
  background: #e6e6e8;
}

.protocol-switch-button {
  min-height: 34px;
  border-radius: 999px;
  color: #777780;
}

.protocol-switch-button.is-active {
  color: #ffffff;
  background: #111114;
  box-shadow: 0 8px 15px rgba(17, 17, 20, 0.14);
}

.quick-call-details dd code {
  color: #24242a;
}

.quick-copy:hover,
.quick-copy.is-copied {
  color: #111114;
  border-color: transparent;
  background: #dfdfe2;
}

.quick-call-note {
  color: #85858d;
}

.reply-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  align-self: end;
  min-height: 206px;
  padding: 28px;
  background: #f6f6f7;
}

.reply-card-actions {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 24px;
}

.reply-card-actions .button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 12px;
}

.reply-register-link {
  color: #111114;
}

.safety-section {
  position: relative;
  padding: 0 0 132px;
  background: #ffffff;
  border-bottom: 0;
}

.safety-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  align-items: end;
  gap: 58px;
  min-height: 510px;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
  padding: 68px;
  border: 0;
  border-radius: 0;
  color: #ffffff;
  background: #000000;
  box-shadow: 0 36px 90px rgba(9, 9, 12, 0.22), 0 8px 24px rgba(9, 9, 12, 0.1);
}

.safety-layout::before,
.safety-layout::after {
  display: none;
}

.safety-layout::before {
  top: -25%;
  right: -9%;
  width: 48%;
  height: 80%;
  background: radial-gradient(circle, rgba(74, 133, 255, 0.27), transparent 66%);
}

.safety-layout::after {
  bottom: -34%;
  left: -8%;
  width: 46%;
  height: 76%;
  background: radial-gradient(circle, rgba(240, 81, 148, 0.2), transparent 66%);
}

.safety-particles {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.93;
}

.safety-copy,
.safety-points {
  position: relative;
  z-index: 1;
}

.safety-copy h2 {
  max-width: 680px;
  color: #ffffff;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.09em;
}

.safety-copy p {
  max-width: 680px;
  margin-top: 24px;
  color: #b9b9c2;
  font-size: 15px;
  line-height: 1.85;
}

.safety-points {
  display: grid;
  align-self: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.safety-points li {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  color: #f2f2f4;
  font-size: 15px;
  font-weight: 650;
}

.safety-points svg {
  width: 19px;
  height: 19px;
  color: #ffffff;
  stroke-width: 1.55;
}

.stats-section {
  padding-top: 116px;
  padding-bottom: 132px;
  background: #ffffff;
}

.metric-grid {
  gap: 16px;
}

.metric-card,
.metric-card + .metric-card,
.metric-card:nth-child(n),
.metric-card:nth-child(even),
.metric-card:last-child {
  min-height: 172px;
  border: 0;
  border-radius: 25px;
  background: #f3f3f4;
  box-shadow: none;
}

.metric-card {
  padding: 27px 24px 23px;
  transform: translateY(0);
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), background-color 220ms ease;
}

.metric-card:hover {
  background: #ededee;
  box-shadow: none;
  transform: translateY(-4px);
}

.metric-card > strong {
  color: #111114;
  font-size: 42px;
  letter-spacing: -0.08em;
}

.metric-card > small {
  color: #85858d;
}

.ranking-card {
  margin-top: 28px;
  border: 0;
  border-radius: 32px;
  background: #f3f3f4;
  box-shadow: none;
}

.ranking-heading {
  padding: 32px 36px;
  background: transparent;
}

.ranking-heading h3 {
  font-size: 30px;
  letter-spacing: -0.06em;
}

.ranking-heading > span {
  color: #777780;
}

.ranking-table {
  background: #ffffff;
}

.ranking-table-head,
.ranking-row {
  padding-right: 36px;
  padding-left: 36px;
}

.ranking-table-head {
  color: #87878f;
}

.protocols-section {
  padding-top: 132px;
  padding-bottom: 148px;
  background: #ffffff;
}

.protocol-grid {
  gap: 28px;
}

.protocol-item .inkflow-code-shell {
  overflow: hidden;
  border: 0;
  border-radius: 27px;
  box-shadow: 0 24px 64px rgba(16, 16, 20, 0.13), 0 5px 18px rgba(16, 16, 20, 0.06);
  transform: translateZ(0);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.protocol-item .inkflow-code-shell:hover {
  box-shadow: 0 31px 78px rgba(16, 16, 20, 0.17), 0 7px 22px rgba(16, 16, 20, 0.07);
  transform: translateY(-5px);
}

.download-section {
  min-height: 430px;
  padding-top: 72px;
  padding-right: 68px;
  padding-bottom: 72px;
  padding-left: 68px;
  border-radius: 36px;
  background: #f2f2f3;
  box-shadow: none;
}

.download-copy h2 {
  max-width: 560px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 0.99;
  letter-spacing: -0.09em;
}

.download-copy p {
  max-width: 520px;
  color: #777780;
  font-size: 15px;
}

.platform-list {
  display: grid;
  gap: 14px;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.platform-row,
.platform-row + .platform-row {
  min-height: 102px;
  margin-bottom: 0;
  padding: 20px 24px;
  border: 0;
  border-radius: 23px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(17, 17, 20, 0.09);
}

.platform-copy strong {
  font-size: 17px;
}

.platform-copy small {
  color: #85858d;
  font-size: 13px;
}

.cta-section {
  min-height: 270px;
  margin-top: 132px;
  margin-bottom: 132px;
  padding: 54px 72px;
  border: 0;
  border-radius: 36px;
  color: #ffffff;
  background: #050506;
  box-shadow: 0 30px 80px rgba(10, 10, 12, 0.18);
}

.cta-copy h2 {
  color: #ffffff;
  font-size: clamp(32px, 4vw, 53px);
  line-height: 1.02;
  letter-spacing: -0.08em;
}

.cta-section .button-primary {
  color: #111114;
  background: #ffffff;
  box-shadow: none;
}

.cta-section .button-primary:hover {
  color: #000000;
  background: #ededee;
  box-shadow: none;
}

.site-footer {
  padding-top: 84px;
  padding-bottom: 78px;
  border-top: 0;
  background: #ffffff;
}

.footer-main {
  padding-top: 0;
}

.footer-brand p {
  color: #777780;
}

.footer-column h3,
.footer-contact h3 {
  color: #111114;
}

.footer-column a,
.footer-contact-label {
  color: #777780;
}

.footer-column a:hover {
  color: #111114;
}

.footer-contact-value {
  color: #111114 !important;
}

.footer-bottom {
  margin-top: 72px;
  padding-top: 20px;
  border-top: 1px solid #e9e9eb;
  color: #8d8d95;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-top: 94px;
  }

  .hero-side-cards {
    align-self: stretch;
    width: 100%;
    max-width: none;
  }

  .safety-layout {
    min-height: 470px;
    padding: 54px;
  }

  .download-section {
    padding-right: 48px;
    padding-left: 48px;
  }
}

@media (max-width: 680px) {
  .header-inner {
    min-height: 66px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 15px;
  }

  .hero {
    min-height: 0;
    padding-top: 72px;
    padding-bottom: 84px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(48px, 13.2vw, 66px);
    line-height: 1;
  }

  .hero-side-cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-top: 66px;
  }

  .quick-call-card {
    padding: 23px 20px 20px;
    border-radius: 24px;
  }

  .reply-card {
    min-height: 0;
    padding: 23px 20px;
    border-radius: 24px;
  }

  .safety-section {
    padding-bottom: 88px;
  }

  .safety-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
    min-height: 520px;
    padding: 34px 25px;
    border-radius: 29px;
  }

  .safety-copy h2 {
    font-size: clamp(42px, 12.5vw, 62px);
  }

  .safety-copy p {
    margin-top: 20px;
    font-size: 14px;
  }

  .safety-points {
    align-self: end;
    gap: 14px;
  }

  .stats-section {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .metric-card,
  .metric-card + .metric-card,
  .metric-card:nth-child(n),
  .metric-card:nth-child(even),
  .metric-card:last-child {
    min-height: 145px;
    border-radius: 20px;
  }

  .metric-card {
    padding: 22px 18px 18px;
  }

  .metric-card > strong {
    font-size: 34px;
  }

  .ranking-card {
    border-radius: 25px;
  }

  .ranking-heading {
    padding: 25px 21px;
  }

  .ranking-heading h3 {
    font-size: 27px;
  }

  .ranking-table {
    border-radius: 0 0 25px 25px;
  }

  .protocols-section {
    padding-top: 90px;
    padding-bottom: 98px;
  }

  .protocol-grid {
    gap: 20px;
  }

  .protocol-item .inkflow-code-shell {
    border-radius: 22px;
  }

  .download-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
    min-height: 0;
    padding: 35px 22px 24px;
    border-radius: 29px;
  }

  .download-copy h2 {
    font-size: clamp(42px, 12vw, 60px);
  }

  .platform-row,
  .platform-row + .platform-row {
    min-height: 86px;
    padding: 17px 19px;
    border-radius: 19px;
  }

  .cta-section {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
    min-height: 0;
    margin-top: 88px;
    margin-bottom: 88px;
    padding: 35px 23px 30px;
    border-radius: 29px;
    text-align: left;
  }

  .cta-copy h2 {
    font-size: 39px;
  }

  .site-footer {
    padding-top: 62px;
    padding-bottom: 58px;
  }

  .footer-bottom {
    margin-top: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-particles,
  .safety-particles {
    display: none;
  }

  .protocol-item .inkflow-code-shell,
  .metric-card,
  .platform-row {
    transition: none;
  }

  .cta-section .button-primary,
  .cta-section .button-primary:hover {
    transform: none !important;
    transition: none !important;
  }
}

/* Home v78: workbench naming, clear section titles, distinct ranking and a
   single-line CTA without a surrounding card. */
.safety-copy h2,
.safety-copy p {
  max-width: none;
  white-space: nowrap;
}

.safety-points {
  justify-items: end;
}

.safety-points li {
  width: max-content;
  justify-content: flex-end;
}

.ranking-card {
  background: #ffffff;
  box-shadow: 0 26px 68px rgba(17, 17, 20, 0.13), 0 4px 14px rgba(17, 17, 20, 0.06);
}

.ranking-heading {
  border-bottom-color: #e4e4e7;
  background: #f3f3f4;
}

.ranking-table {
  background: #ffffff;
}

.cta-section {
  min-height: 0;
  margin-top: 132px;
  margin-bottom: 132px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #111114;
  background: transparent;
  overflow: visible;
  box-shadow: none;
  text-align: left;
}

.cta-copy {
  max-width: none;
}

.cta-copy h2 {
  color: #111114;
  white-space: nowrap;
}

.cta-section .button-primary {
  transform: translateY(0);
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), background-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
  color: #ffffff;
  background: #111114;
  box-shadow: 0 12px 26px rgba(17, 17, 20, 0.16);
}

.cta-section .button-primary:hover {
  transform: translateY(-2px);
  color: #ffffff;
  background: #000000;
  box-shadow: 0 16px 32px rgba(17, 17, 20, 0.22);
}

.cta-section:hover {
  box-shadow: none;
  transform: none;
}

@media (max-width: 980px) {
  .safety-copy h2,
  .safety-copy p,
  .cta-copy h2 {
    white-space: normal;
  }
}

@media (max-width: 680px) {
  .safety-copy h2,
  .safety-copy p {
    white-space: normal;
  }

  .safety-points {
    justify-items: stretch;
  }

  .safety-points li {
    width: auto;
    justify-content: flex-start;
  }

  .safety-layout {
    border-radius: 0;
  }

  .cta-section {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
    margin-top: 88px;
    margin-bottom: 88px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-align: left;
  }

  .cta-copy h2 {
    white-space: normal;
  }
}

/* Home v56: centered title, two black jump buttons, one full-width card column. */
#quick-call-card,
#reply-card {
  scroll-margin-top: 96px;
}

.hero-copy {
  width: fit-content;
  max-width: calc(100% - 56px);
  margin-inline: auto;
  text-align: left;
}

.hero-copy h1 {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  text-align: left;
}

.hero-title-line {
  display: block;
  min-height: 1.13em;
}

.hero-title-stream .stream-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.22em);
  transition: opacity 150ms ease, transform 190ms ease;
}

.hero-title-stream .stream-char.is-stream-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-title-stream .stream-caret {
  display: inline-block;
  width: 0.055em;
  height: 0.82em;
  margin-left: 0.08em;
  vertical-align: -0.08em;
  background: currentColor;
  animation: hero-caret-blink 780ms steps(1, end) infinite;
}

@keyframes hero-caret-blink {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.hero-actions.is-streaming .button {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.hero-actions.is-streaming .button.is-button-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.hero-actions .button {
  min-width: 132px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  color: #ffffff;
  background: #111114;
  box-shadow: 0 12px 26px rgba(17, 17, 20, 0.16);
}

.hero-actions .button:hover {
  color: #ffffff;
  background: #000000;
  box-shadow: 0 16px 32px rgba(17, 17, 20, 0.22);
}

.hero-actions .button-secondary {
  color: #222228;
  background: #d8d8dc;
  box-shadow: 0 12px 26px rgba(17, 17, 20, 0.11);
}

.hero-actions .button-secondary:hover {
  color: #111114;
  background: #c8c8ce;
  box-shadow: 0 16px 32px rgba(17, 17, 20, 0.16);
}

.hero-side-cards {
  grid-template-columns: minmax(0, 1fr);
  align-self: center;
  width: min(100%, 860px);
  margin: 0 auto;
}

.hero-side-cards-section {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(88px, 11vh, 132px);
}

.quick-call-card,
.reply-card {
  width: 100%;
}

.reply-card {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 132px;
}

.reply-card-actions {
  justify-content: flex-end;
  margin-top: 0;
}

@media (max-width: 680px) {
  .hero-copy {
    width: 100%;
    max-width: 100%;
  }

  .hero-actions {
    width: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
    margin-top: 30px;
  }

  .hero-actions .button {
    flex: 1 1 0;
    min-width: 0;
    min-height: 48px;
    padding: 0 17px;
  }

  .hero-side-cards {
    width: 100%;
  }

  .hero-side-cards-section {
    padding-bottom: 64px;
  }

  .reply-card {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    min-height: 0;
  }

  .reply-card-actions {
    justify-content: flex-start;
    margin-top: 22px;
  }
}
