/* Relumen's standalone visual system. See ../RELUMEN_DESIGN.md. */
:root {
  --bg: #08080a;
  --surface: #0f0f12;
  --surface-soft: #17171b;
  --line: #1f1f24;
  --line-strong: #33333b;
  --text: #f2f2f3;
  --muted: #b9b9c0;
  --quiet: #8e8e97;
  --success: #3fcf8e;
  --warning: #e6b65f;
  --danger: #f08b8b;
  --glass: rgb(8 8 10 / 82%);
  --logo-invert: 1;
  --font: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

:root[data-theme="light"] {
    --bg: #fff;
    --surface: #f6f6f7;
    --surface-soft: #ededf0;
    --line: #e6e6ea;
    --line-strong: #cfcfd6;
    --text: #0b0b0d;
    --muted: #46464e;
    --quiet: #686870;
    --success: #138a55;
    --warning: #896000;
    --danger: #b52d3d;
    --glass: rgb(255 255 255 / 88%);
    --logo-invert: 0;
    color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; scrollbar-color: var(--line-strong) var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
::selection { color: var(--bg); background: var(--text); }
a { color: inherit; text-decoration: none; text-underline-offset: 5px; }
button { font: inherit; color: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
p { text-wrap: pretty; }
code { font-family: var(--mono); overflow-wrap: anywhere; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
button:disabled { cursor: default; opacity: .5; }
.shell { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Navigation keeps the existing mobile-menu behavior and all destinations. */
.site-nav { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: var(--glass); backdrop-filter: saturate(140%) blur(14px); }
.nav-inner { position: relative; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; min-height: 44px; font-size: 22px; font-weight: 600; letter-spacing: -.025em; }
.brand-logo { width: auto; height: 19px; max-width: min(180px, 100%); object-fit: contain; }
.relumen-default-logo { filter: brightness(0) invert(var(--logo-invert)); }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.nav-links a { padding-block: 12px; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; flex-shrink: 0; align-items: center; gap: 8px; }
.theme-switcher { position: relative; }
.theme-trigger { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; }
.theme-trigger:hover, .theme-trigger[aria-expanded="true"] { background: var(--surface-soft); border-color: var(--quiet); }
.theme-trigger svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
:root[data-theme="light"] .theme-icon-dark, :root:not([data-theme="light"]) .theme-icon-light { display: none; }
.theme-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 1; min-width: 160px; padding: 6px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); }
.theme-menu button { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 8px; background: transparent; font: 500 12px/1.5 var(--mono); }
.theme-menu button:hover, .theme-menu button:focus-visible { background: var(--surface-soft); }
.theme-menu button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.theme-menu button[aria-checked="true"] svg { opacity: 1; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--text); font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; text-align: center; transition: transform .15s ease, border-color .15s ease; }
.btn.primary { background: var(--text); border-color: var(--text); color: var(--bg); }
.btn:hover { border-color: var(--quiet); transform: translateY(-1px); }
.nav-actions .btn { min-height: 44px; padding: 10px 20px; }
.mobile-menu { display: none; width: 44px; height: 44px; padding: 0; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; }
.mobile-menu svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }

/* Framed routing geometry carries the reference's hero without changing claims. */
.hero-plate { position: relative; padding-top: clamp(56px, 8vw, 112px); }
.hero-plate-copy { display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.kicker, .section-index, .step-kicker { color: var(--quiet); font: 500 12px/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.hero-plate h1 { max-width: 1000px; font-size: clamp(42px, 6.6vw, 94px); line-height: 1.04; letter-spacing: -.04em; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
/* The route diagram joins the hero before the existing provider and benefit rows. */
.hero-routing { position: relative; width: 100%; height: clamp(380px, 44vw, 600px); margin: clamp(18px, 3vw, 54px) 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); text-align: left; }
.hero-routing figcaption { position: absolute; z-index: 1; top: 16px; left: 20px; right: 20px; color: var(--quiet); font: 500 11px/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.hero-routing canvas { display: block; width: 100%; height: 100%; }
.routing-apps { display: none; }
/* Keep the original supported-model strip beneath the hero actions. */
.model-marquee { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 6px; color: var(--muted); font: 500 13px/1.6 var(--mono); }
.model-marquee span { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.model-marquee i { display: none; }
/* Keep each separator with its model name when the strip wraps. */
.model-marquee i + span::before { content: ""; width: 3px; height: 3px; flex: 0 0 3px; border-radius: 50%; background: var(--quiet); }
.scroll-cue { display: grid; place-items: center; width: 44px; height: 44px; margin: 16px auto 0; }
.scroll-cue span { width: 8px; height: 8px; border-right: 1px solid var(--quiet); border-bottom: 1px solid var(--quiet); transform: rotate(45deg); }

.benefit-bar { padding-top: 32px; }
.benefit-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.benefit { padding: 16px 26px; display: flex; flex-direction: column; gap: 6px; border-right: 1px solid var(--line); text-align: center; }
.benefit:last-child { border-right: 0; }
.benefit strong { font-size: 16px; font-weight: 500; }
.benefit span { color: var(--quiet); font-size: 13px; }
.section { padding-top: clamp(64px, 8vw, 112px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: 40px; }
.section-head > div { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
h2 { font-size: clamp(32px, 4.4vw, 58px); line-height: 1.08; letter-spacing: -.035em; }
.section-head p { max-width: 65ch; color: var(--muted); font-size: 17px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font: 500 12px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.text-link:hover { color: var(--text); text-decoration: underline; }
.head-link { flex: 0 0 auto; }

/* The table structure, labels and data hooks remain the existing source of truth. */
.price-box { border: 1px solid var(--line); border-radius: 20px; background: var(--surface); overflow: hidden; }
.price-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.price-tab { min-height: 44px; padding: 10px 20px; border: 1px solid transparent; border-radius: 999px; background: transparent; color: var(--quiet); font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.price-tab[aria-selected="true"] { background: var(--text); color: var(--bg); }
.price-tab:hover { border-color: var(--line-strong); }
.price-panel { padding: 0; }
.price-table .price-table-row > * { padding: 18px 24px; }
.price-table [role="rowgroup"] > .price-table-row:first-child { border-top: 1px solid var(--line); }
.price-table-row a { overflow-wrap: anywhere; }
.price-model-link { margin-top: 6px; color: var(--muted); font-size: 13px; }
.price-model-link:hover { color: var(--text); text-decoration: underline; }
.price-table-row .price-detail-link { margin-top: 8px; color: var(--quiet); font-size: 12px; text-decoration: underline; }
.price-state { padding: 24px; color: var(--muted); font-size: 14px; }
.price-catalog-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding: 12px 24px; border-top: 1px solid var(--line); color: var(--quiet); font-size: 13px; }
.price-catalog-footer p { flex: 1 1 240px; }
.price-retry { min-height: 44px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 16px; background: transparent; font: inherit; }
.price-retry:hover { border-color: var(--quiet); color: var(--text); }
.price-table-row { display: grid; grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(0, 1fr)); align-items: stretch; border-top: 1px solid var(--line); }
.price-table-row:first-child { border-top: 0; }
.price-table-row > * { min-width: 0; padding: 24px 28px; display: flex; flex-direction: column; justify-content: center; }
.price-table-row > * + * { border-left: 1px solid var(--line); }
.price-table-head { color: var(--quiet); font: 500 11px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; background: var(--bg); }
.price-table-head > * { padding-block: 16px; }
.price-table-row > div:first-child strong { font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.price-table-row > div:first-child span { margin-top: 6px; color: var(--muted); font-size: 13px; }
.price-table-row > div:first-child .discount-badge { align-self: flex-start; padding: 4px 9px; margin-top: 10px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--muted); font: 11px/1.4 var(--mono); }
.price-pair small { color: var(--quiet); font-size: 11px; margin-bottom: 8px; }
.price-pair strong { font: 500 clamp(16px, 1.8vw, 22px)/1.4 var(--mono); font-variant-numeric: tabular-nums; }
.price-pair strong i { color: var(--quiet); font-style: normal; font-weight: 400; }
.official-price { background: var(--bg); color: var(--muted); }
.price-note { margin-top: 18px; color: var(--quiet); font-size: 13px; }
.price-note-with-link { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 24px; }
.model-tile { min-width: 0; padding: 22px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--bg); }
.model-tile > strong { display: block; font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.discount-rate { display: inline-flex; margin-top: 16px; padding: 6px 10px; border-radius: 8px; background: var(--surface-soft); font: 500 14px/1.4 var(--mono); }
.billing-choice { margin: 16px 24px 24px; padding: 24px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.billing-choice > div { flex: 1 1 280px; min-width: 0; }
.billing-choice span { display: block; margin-bottom: 10px; color: var(--quiet); font: 11px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.billing-choice strong { display: block; max-width: 30ch; font-size: 20px; line-height: 1.25; font-weight: 500; }
.price-panel > .price-note { margin: 0; padding: 0 24px 24px; }
.billing-choice p { margin-top: 8px; color: var(--muted); font-size: 14px; }
/* Enterprise content replaces the former service strip in the page flow. */
.enterprise-title { max-width: 22ch; }
.enterprise-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.enterprise-card { display: flex; flex-direction: column; gap: 22px; min-width: 0; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.enterprise-card h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; letter-spacing: -.025em; }
.enterprise-card p { color: var(--muted); }
.enterprise-features { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.enterprise-features li { display: flex; align-items: flex-start; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.enterprise-features svg { flex: 0 0 16px; margin-top: 4px; color: var(--quiet); }
.enterprise-link { text-decoration: underline; }
.enterprise-card .enterprise-link { align-self: flex-start; margin-top: auto; }


.onboarding-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.onboarding-tabs button { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-align: left; }
.onboarding-tabs button span { display: block; margin-bottom: 8px; color: var(--quiet); font: 12px/1.4 var(--mono); }
.onboarding-tabs button strong { font-size: 15px; font-weight: 500; }
.onboarding-tabs button[aria-selected="true"] { border-color: var(--quiet); background: var(--surface-soft); }
.onboarding-tabs button:hover { border-color: var(--line-strong); }
.onboarding-panel { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.onboarding-copy h3 { margin: 14px 0; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; letter-spacing: -.025em; }
.onboarding-copy p { max-width: 55ch; color: var(--muted); font-size: 16px; }
.onboarding-copy .text-link { margin-top: 18px; }
.product-shot { min-width: 0; padding: 24px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--bg); }
.shot-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid var(--line); font: 11px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.shot-toolbar strong { font-weight: 500; }
.shot-toolbar span { color: var(--quiet); }
.quick-mock-list { display: grid; margin-top: 8px; }
.quick-mock-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.quick-mock-row:last-child { border-bottom: 0; }
.quick-mock-row b { font-size: 14px; font-weight: 500; }
.quick-mock-row span, .quick-mock-row code { font-size: 12px; color: var(--quiet); text-align: right; }
.quick-mock-row.selected b { text-decoration: underline; text-underline-offset: 5px; }
.quick-method-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.quick-method b { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; }
.quick-method span { color: var(--quiet); font-size: 13px; }

.proof-stack { display: grid; gap: 20px; }
.proof-disclosure { border: 1px solid var(--line); border-radius: 20px; background: var(--surface); overflow: hidden; }
.proof-disclosure > summary { display: flex; align-items: center; gap: 24px; padding: 28px; list-style: none; cursor: pointer; }
.proof-disclosure > summary::-webkit-details-marker { display: none; }
.proof-disclosure > summary > div { flex: 1; min-width: 0; }
.proof-disclosure > summary h3 { margin-bottom: 8px; font-size: 24px; letter-spacing: -.02em; }
.proof-disclosure > summary p { max-width: 65ch; font-size: 15px; color: var(--muted); }
.proof-disclosure > summary::after { content: ""; width: 8px; height: 8px; flex: 0 0 8px; border-right: 1px solid var(--quiet); border-bottom: 1px solid var(--quiet); transform: rotate(45deg); margin-left: 6px; }
.proof-disclosure[open] > summary::after { transform: rotate(225deg); }
.public-badge { flex: 0 0 auto; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--muted); font: 11px/1.4 var(--mono); }
.proof-detail { padding: 0 28px 24px; }
.preview { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); font-size: 13px; font-variant-numeric: tabular-nums; }
.preview-title, .iq-foot, .proof-actions, .status-preview-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; color: var(--quiet); font-size: 12px; }
.preview-title { padding-bottom: 18px; font-family: var(--mono); }
.iq-snapshot-head, .iq-snapshot-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr) minmax(0, 1fr) minmax(0, .5fr); gap: 12px; padding-block: 14px; border-bottom: 1px solid var(--line); align-items: center; }
.iq-snapshot-head, .usage-detail-head { font: 11px/1.5 var(--mono); color: var(--quiet); }
.iq-snapshot-row strong { font-weight: 500; }
.iq-snapshot-row b { font-family: var(--mono); font-weight: 500; }
.iq-foot { padding-top: 18px; }
.proof-actions { margin-top: 12px; }
.status-summary { display: flex; align-items: center; gap: 10px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.status-summary strong { font-weight: 500; }
.status-ok, .status-dot { display: inline-block; width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--quiet); }
.status-ok.live, .status-dot.live { background: var(--success); }
.status-ok.watch, .status-dot.watch { background: var(--warning); }
.status-ok.failed, .status-dot.failed { background: var(--danger); }
.status-summary.live { color: var(--success); }
.status-summary.watch { color: var(--warning); }
.status-summary.failed { color: var(--danger); }
.status-service-preview { padding-block: 18px; border-bottom: 1px solid var(--line); }
.status-service-preview > div:first-child { display: flex; align-items: center; gap: 10px; }
.status-service-preview strong { font-size: 14px; font-weight: 500; }
.status-service-preview em { margin-left: auto; color: var(--quiet); font-style: normal; font-size: 12px; }
.status-mini-history { display: flex; gap: 4px; margin-top: 12px; }
.status-mini-history i { flex: 1; min-width: 0; height: 24px; border-radius: 3px; background: var(--success); }
.status-mini-history i.pending { background: var(--surface-soft); }
.status-mini-history i.watch { background: var(--warning); }
.status-mini-history i.failed { background: var(--danger); }
.status-preview-foot { padding-top: 18px; }
.usage-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: -22px -22px 16px; border-bottom: 1px solid var(--line); }
.usage-kpis > div { min-width: 0; padding: 20px 22px; border-right: 1px solid var(--line); }
.usage-kpis > div:last-child { border-right: 0; }
.usage-kpis span { display: block; margin-bottom: 6px; color: var(--quiet); font-size: 12px; }
.usage-kpis strong { font: 500 22px/1.4 var(--mono); }
.usage-detail-head, .usage-detail-row { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, .6fr)); gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.usage-detail-row strong, .usage-detail-row b { font-weight: 500; }
.usage-detail-row > :not(:first-child) { font-family: var(--mono); }
.usage-preview-foot { padding-top: 16px; color: var(--quiet); }

.cta-band { padding-top: clamp(64px, 8vw, 112px); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-inner h2 { max-width: 18ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: 0 0 auto; }
.contact-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.contact-layout > div:first-child { display: grid; gap: 14px; }
.contact-options { padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.contact-options strong { display: block; font-size: 24px; line-height: 1.2; font-weight: 500; letter-spacing: -.02em; }
.contact-options p { margin-top: 14px; color: var(--muted); font-size: 16px; }
.email-copy { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.email-copy__address { font: 14px/1.5 var(--mono); overflow-wrap: anywhere; }
.email-copy__button { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; }
.email-copy__button:hover { border-color: var(--quiet); }
.email-copy__button svg { width: 18px; height: 18px; }
.email-copy__button[data-copy-state="copied"] { color: var(--success); }
.footer { margin-top: clamp(64px, 8vw, 104px); padding-block: 48px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px 48px; }
.footer-intro p { max-width: 30ch; margin-top: 14px; color: var(--quiet); font-size: 14px; }
.footer-col b { display: block; margin-bottom: 12px; color: var(--quiet); font: 500 11px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.footer-col a { display: flex; align-items: center; min-height: 44px; padding-block: 8px; color: var(--muted); font-size: 14px; }
.footer-col a:hover { color: var(--text); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--quiet); font-size: 13px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .mobile-menu { display: grid; }
  .menu-open .nav-links { position: absolute; inset: 64px 0 auto; display: flex; flex-direction: column; gap: 0; padding: 12px var(--gutter); border-bottom: 1px solid var(--line); background: var(--bg); }
  .menu-open .nav-links a { padding-block: 14px; border-bottom: 1px solid var(--line); }
  .menu-open .nav-links a:last-child { border-bottom: 0; }
  .benefit { padding-inline: 16px; }
  .section-head { flex-wrap: wrap; gap: 18px; }
  .head-link { flex-basis: 100%; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .footer-intro { grid-column: 1 / -1; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 860px) {
  .onboarding-panel, .contact-layout, .enterprise-grid { grid-template-columns: 1fr; }
  .onboarding-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .nav-inner { gap: 12px; }
  .brand { font-size: 20px; gap: 8px; }
  .brand-logo { max-width: min(132px, 100%); }
  .theme-menu { right: auto; left: 0; }
  .nav-actions .btn { padding-inline: 12px; font-size: 10px; letter-spacing: .04em; }
  .hero-plate-copy { gap: 22px; }
  .hero-plate h1 br { display: none; }
  .kicker { max-width: 28ch; font-size: 11px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { padding-inline: 18px; font-size: 11px; }
  .hero-routing { height: 490px; }
  .hero-routing canvas { height: 390px; }
  .hero-routing figcaption { left: 16px; right: 16px; font-size: 10px; }
  .routing-apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 10px 16px 16px; color: var(--muted); font-size: 12px; text-align: center; }
  .routing-apps span { padding: 5px 4px; border: 1px solid var(--line-strong); border-radius: 999px; }
  .model-marquee { gap: 8px 10px; max-width: 32ch; font-size: 12px; }
  .model-marquee span { gap: 10px; }
  .benefit-bar { padding-top: 16px; }
  .benefit-inner { grid-template-columns: 1fr; }
  .benefit { border-right: 0; border-bottom: 1px solid var(--line); padding-block: 20px; }
  .benefit:last-child { border-bottom: 0; }
  .section-head { margin-bottom: 28px; }
  .section-head p { font-size: 15px; }
  .price-tabs { gap: 4px; padding: 12px; }
  .price-tab { padding-inline: 12px; font-size: 10px; letter-spacing: .04em; }
  .price-table-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-table-head { display: none; }
  .price-table-row > * { padding: 18px 16px; }
  .price-table .price-table-row > * { padding: 18px 16px; }
  .price-catalog-footer { padding: 12px 16px; }
  .price-table-row > div:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .price-table-row > * + * { border-left: 0; }
  .price-table-row .official-price { border-left: 1px solid var(--line); }
  .price-pair strong { font-size: 14px; }
  .price-pair small { font-size: 10px; }
  .more-grid { grid-template-columns: 1fr; padding: 16px; }
  .billing-choice { margin-inline: 16px; padding: 16px 0 0; }
  .onboarding-tabs button { padding: 16px; }
  .onboarding-tabs button strong { font-size: 14px; }
  .onboarding-panel { padding: 22px; }
  .product-shot { padding: 18px; }
  .quick-mock-row { align-items: flex-start; flex-direction: column; gap: 6px; }
  .quick-mock-row span, .quick-mock-row code { text-align: left; }
  .proof-disclosure > summary { gap: 12px; padding: 22px 18px; flex-wrap: wrap; }
  .proof-disclosure > summary > div { flex-basis: calc(100% - 28px); }
  .proof-disclosure > summary::after { order: -1; margin-left: 0; }
  .public-badge { margin-left: 20px; }
  .proof-detail { padding: 0 16px 18px; }
  .preview { padding: 16px; }
  .iq-snapshot-head, .iq-snapshot-row { grid-template-columns: minmax(0, 1.2fr) minmax(0, .4fr) minmax(0, .9fr) minmax(0, .5fr); gap: 8px; font-size: 11px; }
  .iq-snapshot-head { font-size: 10px; }
  .status-service-preview > div:first-child { flex-wrap: wrap; }
  .status-service-preview em { margin-left: 17px; flex-basis: 100%; }
  .usage-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: -16px -16px 12px; }
  .usage-kpis > div { padding: 16px; }
  .usage-kpis > div:nth-child(2) { border-right: 0; }
  .usage-kpis > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .usage-kpis strong { font-size: 19px; }
  .usage-detail-head, .usage-detail-row { grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, .65fr)); gap: 6px; font-size: 10px; }
  .cta-actions { width: 100%; flex-direction: column; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .footer-col:last-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
