/* ─────────────────────────────────────────────────────────────────────────────
   Scapely.com — "Flight Deck" system (comp, 2026-10-19)
   Dark ink + Scapely teal. Space Grotesk display, Share Tech Mono for HUD labels.
   One idea per chapter. Numbered chapters, thin-rule headers, a right-rail index.
   ───────────────────────────────────────────────────────────────────────────── */

@font-face { font-family: "Space Grotesk"; font-weight: 500; font-display: swap; src: url("assets/fonts/space-grotesk-500.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: swap; src: url("assets/fonts/space-grotesk-700.woff2") format("woff2"); }
@font-face { font-family: "Share Tech Mono"; font-weight: 400; font-display: swap; src: url("assets/fonts/share-tech-mono-400.woff2") format("woff2"); }

:root {
  --sc-bg: #0b0f0e;
  --sc-bg-2: #101614;
  --sc-surface: #121a18;
  --sc-surface-2: #182220;
  --sc-ink: #fcfcfd;
  --sc-text: rgba(252, 252, 253, .86);
  --sc-text-dim: rgba(252, 252, 253, .62);
  --sc-text-faint: rgba(252, 252, 253, .56);   /* 5.6:1 on --sc-bg (WCAG AA for small text) */
  --sc-teal: #3ecec0;
  --sc-teal-glow: #62cfc1;
  --sc-teal-deep: #37cebe;
  --sc-teal-ink: #06211e;           /* ink on a teal fill: 11.9:1 */
  --sc-teal-soft: rgba(62, 206, 192, .12);
  --sc-line: rgba(62, 206, 192, .26);
  --sc-line-dim: rgba(252, 252, 253, .12);
  --sc-amber: #f2b84b;
  --sc-amber-ink: #1a1203;
  --sc-good: #7fe0a9;
  --sc-warn: #ffb3a7;

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-hud: "Share Tech Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --text-hero: clamp(2.6rem, 8vw, 6rem);
  --text-h2: clamp(1.9rem, 4.2vw, 3.2rem);
  --text-h3: clamp(1.15rem, 1.8vw, 1.45rem);
  --text-body: clamp(1rem, 1.25vw, 1.125rem);
  --text-hud: clamp(.72rem, 1vw, .8rem);
  --track: .18em;

  --space-1: 8px; --space-2: 16px; --space-3: 24px; --space-4: 32px; --space-5: 48px; --space-6: 72px; --space-7: 112px;
  --radius: 14px; --radius-lg: 22px; --radius-pill: 999px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --t-fast: 180ms; --t-med: 420ms;
  --wrap: 1240px; --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--sc-bg); color-scheme: dark; }
body { margin: 0; min-width: 320px; background: var(--sc-bg); color: var(--sc-text); font: 500 var(--text-body)/1.6 var(--font-display); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { color: var(--sc-ink); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; text-wrap: balance; }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); line-height: 1.2; }
h2.h3 { font-size: var(--text-h3); line-height: 1.2; }
p { text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--sc-teal); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 14px; border-radius: 10px; background: var(--sc-teal); color: var(--sc-teal-ink); font-weight: 700; }
.skip:focus { top: 12px; }

/* ── HUD vocabulary ── */
.hud { font: 400 var(--text-hud)/1.4 var(--font-hud); letter-spacing: var(--track); text-transform: uppercase; color: var(--sc-teal); }
.hud--dim { color: var(--sc-text-faint); }
.rule { display: flex; align-items: center; gap: 14px; }
.rule::after { content: ""; flex: 1; height: 1px; background: var(--sc-line-dim); }
.confirm { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; padding: 2px 8px; border: 1px dashed var(--sc-amber); border-radius: var(--radius-pill); color: var(--sc-amber); font: 400 .66rem/1.3 var(--font-hud); letter-spacing: .12em; text-transform: uppercase; vertical-align: middle; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--radius-pill); font: 400 .68rem/1.4 var(--font-hud); letter-spacing: .12em; text-transform: uppercase; }
.badge--live { background: var(--sc-teal-soft); color: var(--sc-teal); border: 1px solid var(--sc-line); }
.badge--proto { background: rgba(242, 184, 75, .12); color: var(--sc-amber); border: 1px solid rgba(242, 184, 75, .35); }
.badge--soon { background: rgba(252, 252, 253, .06); color: var(--sc-text-dim); border: 1px solid var(--sc-line-dim); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 1.5px solid transparent; border-radius: var(--radius-pill); font: 700 1rem/1 var(--font-display); text-decoration: none; cursor: pointer; transition: transform var(--t-fast) var(--ease), background var(--t-fast), border-color var(--t-fast), color var(--t-fast); touch-action: manipulation; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--sc-teal); border-color: var(--sc-teal); color: var(--sc-teal-ink); box-shadow: 0 0 0 0 rgba(62, 206, 192, .0); }
.btn--primary:hover { background: var(--sc-teal-glow); border-color: var(--sc-teal-glow); box-shadow: 0 8px 30px rgba(62, 206, 192, .28); }
.btn--ghost { background: transparent; border-color: var(--sc-line); color: var(--sc-ink); }
.btn--ghost:hover { background: var(--sc-teal-soft); border-color: var(--sc-teal); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── layout ── */
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.chapter { position: relative; padding: var(--space-7) 0; border-top: 1px solid var(--sc-line-dim); scroll-margin-top: 80px; }
.chapter--tight { padding: var(--space-6) 0; }
.chapter__head { display: grid; gap: 14px; margin-bottom: var(--space-5); max-width: 860px; }
.chapter__head .lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--sc-text-dim); }
.grid { display: grid; gap: var(--space-3); }
.grid > *, .callouts > *, .calc > *, .quotes > *, .clock > * { min-width: 0; }   /* a wide child never widens the page */
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid--4, .grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4, .grid--6 { grid-template-columns: 1fr; } .chapter { padding: var(--space-6) 0; } }

/* ── cards ── */
.card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--sc-line-dim); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--sc-surface-2), var(--sc-surface)); min-width: 0; }
.card--accent { border-color: var(--sc-line); box-shadow: inset 0 1px 0 rgba(62, 206, 192, .18), 0 20px 60px rgba(0, 0, 0, .35); }
.card header { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.card .num { font: 700 clamp(1.8rem, 3vw, 2.6rem)/1 var(--font-display); color: var(--sc-ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.card p { color: var(--sc-text-dim); font-size: .98rem; }
.card ul.ticks { display: grid; gap: 8px; margin-top: 4px; }
.card ul.ticks li { position: relative; padding-left: 22px; font-size: .96rem; color: var(--sc-text); }
.card ul.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--sc-teal); border-bottom: 2px solid var(--sc-teal); transform: rotate(-45deg); }
.card h3.lockup { margin: 2px 0; } .card h3.lockup img { width: min(100%, 300px); height: auto; }
.card .icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--sc-teal-soft); border: 1px solid var(--sc-line); color: var(--sc-teal); }
.card .icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-pill); border: 1px solid var(--sc-line-dim); background: rgba(252, 252, 253, .04); color: var(--sc-text); font-size: .86rem; font-weight: 500; }
.chip b { color: var(--sc-teal); }

/* ── stat tiles + ring gauges ── */
.stats { display: grid; gap: var(--space-2); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat { padding: 18px 20px; border-left: 2px solid var(--sc-teal); background: linear-gradient(90deg, var(--sc-teal-soft), transparent 70%); border-radius: 0 var(--radius) var(--radius) 0; }
.stat .num { display: block; font: 700 clamp(1.7rem, 3.2vw, 2.6rem)/1.05 var(--font-display); color: var(--sc-ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat small { display: block; margin-top: 6px; color: var(--sc-text-dim); font-size: .9rem; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } }
.gauges { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.gauge { display: grid; justify-items: center; gap: 10px; text-align: center; }
.gauge svg { width: 148px; height: 148px; }
.gauge circle { fill: none; stroke-width: 6; }
.gauge .track { stroke: var(--sc-line-dim); }
.gauge .fill { stroke: var(--sc-teal); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; stroke-dasharray: 408; stroke-dashoffset: 408; transition: stroke-dashoffset 1.4s var(--ease); }
.gauge.is-in .fill { stroke-dashoffset: var(--offset); }
.gauge text { font: 700 1.9rem var(--font-display); fill: var(--sc-ink); }
.gauge small { color: var(--sc-text-dim); font-size: .9rem; max-width: 22ch; }
.gauge strong { color: var(--sc-ink); }
.footnote { margin-top: var(--space-3); color: var(--sc-text-faint); font-size: .82rem; }

/* ── nav ── */
.nav { position: sticky; top: 0; z-index: 100; backdrop-filter: blur(16px); background: color-mix(in srgb, var(--sc-bg) 78%, transparent); border-bottom: 1px solid var(--sc-line-dim); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.nav__logo { display: inline-flex; align-items: center; height: 24px; }
.nav__logo svg, .nav__logo img { height: 22px; width: auto; }
.nav__links { display: flex; gap: 4px; }
.nav__links a { padding: 10px 12px; border-radius: 10px; color: var(--sc-text-dim); font-weight: 500; font-size: .95rem; text-decoration: none; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--sc-ink); background: rgba(252, 252, 253, .05); }
.nav__links a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.nav__ic { position: relative; display: none; place-items: center; width: 18px; height: 18px; overflow: hidden; border-radius: 4px; }   /* icons only in the drawer */
.nav__ic svg { width: 18px; height: 18px; fill: none; stroke: var(--sc-teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* the light wipe: a soft band sweeps across the icon on hover and focus */
.nav__ic::after { content: ""; position: absolute; inset: -4px; background: linear-gradient(110deg, transparent 30%, rgba(252, 252, 253, .75) 50%, transparent 70%); transform: translateX(-120%); opacity: 0; mix-blend-mode: screen; pointer-events: none; }
.nav__links a:hover .nav__ic::after, .nav__links a:focus-visible .nav__ic::after { opacity: 1; animation: nav-wipe .55s var(--ease) forwards; }
@keyframes nav-wipe { from { transform: translateX(-120%); } to { transform: translateX(120%); } }
@media (max-width: 1240px) { .nav__links a { padding: 14px 12px; font-size: 1.1rem; } .nav__ic { display: inline-grid; } .nav__ic, .nav__ic svg { width: 22px; height: 22px; } }
@media (prefers-reduced-motion: reduce) { .nav__ic::after { display: none; } }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__cta .btn { white-space: nowrap; }
@media (max-width: 400px) { .nav__cta .btn--sm { padding: 0 12px; font-size: .86rem; } }
.nav__burger { display: none; width: 44px; height: 44px; border: 1px solid var(--sc-line-dim); border-radius: 12px; background: transparent; color: var(--sc-ink); cursor: pointer; }
.nav__burger svg { width: 22px; height: 22px; margin: auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (max-width: 1240px) {   /* seven links + both buttons need ~1200px on one line; below that the menu button takes over */
  .nav__links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; padding: 10px var(--gutter) 16px; background: var(--sc-bg-2); border-bottom: 1px solid var(--sc-line-dim); }
  .nav.is-open .nav__links { display: flex; }
  .nav__burger { display: inline-flex; }
  .nav__cta .btn--ghost { display: none; }
}

/* ── hero ── */
.hero { position: relative; min-height: min(92dvh, 900px); display: grid; align-items: end; padding: var(--space-7) 0 var(--space-6); isolation: isolate; overflow: clip; }
.hero__plate { position: absolute; inset: 0; z-index: -2; background: radial-gradient(120% 80% at 70% 30%, #163b38 0%, #0d1a19 45%, var(--sc-bg) 100%); }
.hero__plate img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; opacity: .78; }
.hero__plate::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 15, 14, .45) 0%, rgba(11, 15, 14, .15) 35%, rgba(11, 15, 14, .85) 78%, var(--sc-bg) 100%); }
.hero__grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--sc-line-dim) 1px, transparent 1px), linear-gradient(90deg, var(--sc-line-dim) 1px, transparent 1px); background-size: 72px 72px; opacity: .25; mask-image: radial-gradient(60% 60% at 50% 40%, #000 20%, transparent 100%); }
.hero__inner { display: grid; gap: var(--space-4); max-width: 900px; }
.hero h1 { font-size: var(--text-hero); line-height: .95; }
.hero h1 em { font-style: normal; color: var(--sc-teal); }
.hero .lede { max-width: 56ch; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--sc-text); }
.hero__verbs { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.hero__verbs li { display: flex; align-items: baseline; gap: 10px; color: var(--sc-ink); font-weight: 700; font-size: 1.05rem; }
.hero__verbs .hud { font-size: .72rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__proof { display: grid; gap: var(--space-2); grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--space-2); padding-top: var(--space-3); border-top: 1px solid var(--sc-line); }
.hero__proof .num { font: 700 clamp(1.5rem, 3vw, 2.4rem)/1.05 var(--font-display); color: var(--sc-ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hero__proof small { display: block; margin-top: 4px; color: var(--sc-text-dim); font-size: .88rem; }
@media (max-width: 640px) { .hero__proof { grid-template-columns: 1fr; gap: 14px; } .hero { padding-top: var(--space-6); } }
.corner { position: absolute; z-index: 1; color: var(--sc-text-faint); font: 400 .68rem/1.4 var(--font-hud); letter-spacing: .16em; text-transform: uppercase; }
.corner--tl { left: var(--gutter); top: 18px; } .corner--tr { right: var(--gutter); top: 18px; text-align: right; }
@media (max-width: 640px) { .corner { display: none; } }

/* ── chapter rail (desktop only) ── */
.rail { position: fixed; right: 18px; top: 50%; z-index: 90; transform: translateY(-50%); display: grid; gap: 10px; }
.rail a { display: grid; grid-template-columns: 28px auto; align-items: center; gap: 8px; color: var(--sc-text-faint); font: 400 .66rem/1 var(--font-hud); letter-spacing: .14em; text-decoration: none; }
.rail a span:last-child { opacity: 0; max-width: 0; overflow: hidden; white-space: nowrap; transition: opacity var(--t-fast), max-width var(--t-med) var(--ease); }
.rail a::before { content: ""; width: 18px; height: 1px; background: currentColor; justify-self: end; transition: width var(--t-fast); }
.rail a.is-active { color: var(--sc-teal); }
.rail a.is-active::before { width: 28px; }
.rail:hover a span:last-child, .rail a.is-active span:last-child { opacity: 1; max-width: 160px; }
@media (max-width: 1280px) { .rail { display: none; } }

/* ── product screen with callouts ── */
.screen { position: relative; border: 1px solid var(--sc-line); border-radius: var(--radius-lg); overflow: hidden; background: var(--sc-surface); box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 0 1px rgba(62, 206, 192, .08); }
.screen img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.screen__bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--sc-line-dim); background: var(--sc-bg-2); }
.screen__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--sc-line-dim); }
.screen__bar span { margin-left: 8px; color: var(--sc-text-faint); font: 400 .7rem var(--font-hud); letter-spacing: .12em; }
.callouts { position: relative; display: grid; gap: var(--space-3); grid-template-columns: minmax(0, 1fr) 300px; align-items: center; }
.callouts__list { display: grid; gap: 14px; }
.callout { position: relative; padding: 14px 16px 14px 22px; border-left: 2px solid var(--sc-teal); background: linear-gradient(90deg, var(--sc-teal-soft), transparent); border-radius: 0 var(--radius) var(--radius) 0; }
.callout .hud { display: block; margin-bottom: 4px; }
.callout strong { display: block; color: var(--sc-ink); font-size: 1.02rem; }
.callout p { margin-top: 2px; color: var(--sc-text-dim); font-size: .92rem; }
.callout::before { content: ""; position: absolute; left: -2px; top: 50%; width: 34px; height: 1px; background: var(--sc-teal); transform: translateX(-100%); opacity: .7; }
@media (max-width: 900px) { .callouts { grid-template-columns: 1fr; } .callout::before { display: none; } }

/* ── quotes ── */
.quotes { display: grid; gap: var(--space-3); grid-template-columns: 320px minmax(0, 1fr); align-items: start; }
.phone { position: relative; aspect-ratio: 9 / 16; max-width: 320px; margin-inline: auto; border: 1px solid var(--sc-line); border-radius: 36px; padding: 10px; background: var(--sc-bg-2); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; }
.phone__controls { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; gap: 8px; white-space: nowrap; }
.quote { padding: 20px 22px; border: 1px solid var(--sc-line-dim); border-radius: var(--radius-lg); background: var(--sc-surface); }
.quote .stars { color: var(--sc-amber); letter-spacing: .1em; font-size: .9rem; }
.quote blockquote { margin: 8px 0 10px; color: var(--sc-ink); font-size: 1.02rem; line-height: 1.5; }
.quote cite { color: var(--sc-text-dim); font-style: normal; font-size: .86rem; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* ── stack villain ── */
.stack { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stack__item { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px 16px; border: 1px dashed var(--sc-line-dim); border-radius: var(--radius); background: rgba(252, 252, 253, .02); }
.stack__item .mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: rgba(252, 252, 253, .05); color: var(--sc-text-dim); font: 400 .72rem var(--font-hud); letter-spacing: .08em; }
.stack__item strong { display: block; color: var(--sc-ink); font-size: .98rem; }
.stack__item small { color: var(--sc-text-dim); font-size: .84rem; }
.stack__item .re { color: var(--sc-warn); font: 400 .66rem var(--font-hud); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 1000px) { .stack { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .stack { grid-template-columns: 1fr; } }
.pains { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: var(--space-3); }
.pains div { padding: 14px 16px; border-top: 1px solid var(--sc-line-dim); }
.pains strong { display: block; color: var(--sc-ink); margin-bottom: 4px; }
.pains small { color: var(--sc-text-dim); font-size: .9rem; }
@media (max-width: 900px) { .pains { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pains { grid-template-columns: 1fr; } }
.pull { padding: 22px 26px; border-left: 3px solid var(--sc-teal); background: var(--sc-teal-soft); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.pull blockquote { margin: 0; color: var(--sc-ink); font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.45; font-weight: 500; }
.pull cite { display: block; margin-top: 10px; color: var(--sc-text-dim); font-style: normal; font-size: .9rem; }

/* ── AI drafts ── */
.draft { display: grid; gap: 8px; padding: 18px 20px; border: 1px solid var(--sc-line); border-radius: var(--radius-lg); background: var(--sc-bg-2); font-size: .95rem; }
.draft__row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--sc-line-dim); }
.draft__row:last-of-type { border-bottom: 0; }
.draft__row b { color: var(--sc-ink); font-variant-numeric: tabular-nums; }
.draft__actions { display: flex; gap: 8px; margin-top: 6px; }

/* ── fit / not fit ── */
.fit { display: grid; gap: var(--space-3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fit ul { display: grid; gap: 8px; }
.fit li { position: relative; padding-left: 24px; color: var(--sc-text); }
.fit--yes li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--sc-good); border-bottom: 2px solid var(--sc-good); transform: rotate(-45deg); }
.fit--no li::before { content: "×"; position: absolute; left: 2px; top: -.05em; color: var(--sc-warn); font-weight: 700; }
@media (max-width: 640px) { .fit { grid-template-columns: 1fr; } }

/* ── tiers ── */
.tiers { display: grid; gap: var(--space-2); grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.tier { position: relative; display: grid; gap: 10px; align-content: start; padding: 22px; border: 1px solid var(--sc-line-dim); border-radius: var(--radius-lg); background: var(--sc-surface); }
.tier--hot { border-color: var(--sc-teal); box-shadow: 0 0 0 1px var(--sc-line), 0 24px 60px rgba(0, 0, 0, .4); transform: translateY(-6px); }
.tier .price { font: 700 clamp(1.6rem, 2.6vw, 2.2rem)/1 var(--font-display); color: var(--sc-ink); font-variant-numeric: tabular-nums; }
.tier .tag { position: absolute; top: -13px; left: 22px; background: var(--sc-teal); border-color: var(--sc-teal); color: var(--sc-teal-ink); box-shadow: 0 0 0 4px var(--sc-bg); }   /* solid: nothing bleeds through */
.tiers { margin-top: calc(var(--space-4) + 20px); }   /* the hot card lifts 6px and its tag pokes 13px up, so the visual gap matches the gap above the proposal line */
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } .tier--hot { transform: none; } }

/* ── tables ── */
.tbl { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tbl th, .tbl td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--sc-line-dim); vertical-align: top; }
.tbl th { color: var(--sc-text-faint); font: 400 .66rem/1.4 var(--font-hud); letter-spacing: .14em; text-transform: uppercase; }
.tbl td.num, .tbl th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl .ok { color: var(--sc-good); } .tbl .bad { color: var(--sc-warn); font-weight: 700; }
.tbl-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--sc-line-dim); border-radius: var(--radius); }
.split { display: grid; gap: var(--space-3); grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.tbl-wrap .tbl { min-width: 520px; }

/* ── timeline (00:47) ── */
.clock { display: grid; gap: var(--space-3); grid-template-columns: 220px minmax(0, 1fr); align-items: center; }
.clock__time { font: 700 clamp(3rem, 7vw, 5rem)/1 var(--font-hud); color: var(--sc-teal); letter-spacing: -.02em; }
.clock__steps { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.clock__steps div { padding: 14px; border-top: 1px solid var(--sc-line); }
.clock__steps strong { display: block; color: var(--sc-ink); }
.clock__steps small { color: var(--sc-text-dim); font-size: .88rem; }
@media (max-width: 900px) { .clock { grid-template-columns: 1fr; } .clock__steps { grid-template-columns: 1fr; } }

/* ── logo wall ── */
.logos { display: grid; gap: 12px; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.logos div { display: grid; place-items: center; gap: 8px; min-height: 92px; padding: 14px 10px; border: 1px solid var(--sc-line-dim); border-radius: var(--radius); background: rgba(252, 252, 253, .03); color: var(--sc-text-dim); font-size: .8rem; text-align: center; }
.logos img { height: 26px; width: auto; max-width: 100px; filter: grayscale(1) brightness(1.7); opacity: .85; }
.logos div:hover img { filter: none; opacity: 1; }
@media (max-width: 1000px) { .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── pricing calc ── */
.calc { display: grid; gap: var(--space-3); grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
.calc__products { display: grid; gap: 10px; }
.calc__row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--sc-line-dim); border-radius: var(--radius); background: var(--sc-surface); cursor: pointer; }
.calc__row:has(input:checked) { border-color: var(--sc-teal); background: var(--sc-teal-soft); }
.calc__row input { width: 22px; height: 22px; accent-color: var(--sc-teal); margin: 0; cursor: pointer; }
.calc__row strong { display: block; color: var(--sc-ink); }
.calc__row small { color: var(--sc-text-dim); font-size: .86rem; }
.calc__row .num { font-size: 1.1rem; font-weight: 700; color: var(--sc-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.calc__row .num small { display: block; font-weight: 500; }
.calc__vol { margin-top: var(--space-2); display: grid; gap: 8px; }
.calc__vol input[type="range"] { width: 100%; accent-color: var(--sc-teal); }
.calc__vol output { font: 700 1.4rem var(--font-display); color: var(--sc-ink); font-variant-numeric: tabular-nums; }
.calc__ticks { display: flex; justify-content: space-between; color: var(--sc-text-faint); font: 400 .66rem var(--font-hud); letter-spacing: .12em; }
.calc__total { position: sticky; top: 88px; }
.calc__total .big { font: 700 clamp(2.2rem, 4vw, 3.2rem)/1 var(--font-display); color: var(--sc-ink); font-variant-numeric: tabular-nums; }
.calc__total .per { color: var(--sc-text-dim); font-size: .95rem; }
.calc__total .lines { display: grid; gap: 6px; margin: 12px 0 16px; padding: 12px 0; border-block: 1px solid var(--sc-line-dim); font-size: .92rem; }
.calc__total .lines div { display: flex; justify-content: space-between; gap: 12px; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } .calc__total { position: static; } }

/* ── FAQ ── */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border: 1px solid var(--sc-line-dim); border-radius: var(--radius); background: var(--sc-surface); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; color: var(--sc-ink); font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--sc-teal); border-bottom: 2px solid var(--sc-teal); transform: rotate(45deg); transition: transform var(--t-fast); margin-right: 6px; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding: 0 20px 18px; color: var(--sc-text-dim); }

/* ── closing + footer ── */
.closing { text-align: center; padding: var(--space-7) 0; background: radial-gradient(60% 80% at 50% 100%, rgba(62, 206, 192, .16), transparent 70%); }
.closing h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.closing .lede { max-width: 48ch; margin: 18px auto 28px; color: var(--sc-text-dim); font-size: 1.15rem; }
.footer { padding: var(--space-6) 0 var(--space-4); border-top: 1px solid var(--sc-line-dim); color: var(--sc-text-dim); font-size: .92rem; }
.footer__grid { display: grid; gap: var(--space-4); grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); }
.footer h3 { margin-bottom: 10px; color: var(--sc-ink); font-size: .9rem; letter-spacing: .04em; }
.footer ul { display: grid; gap: 6px; }
.footer a { color: var(--sc-text-dim); text-decoration: none; }
.footer a:hover { color: var(--sc-ink); }
.footer__legal { margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--sc-line-dim); color: var(--sc-text-faint); font-size: .8rem; line-height: 1.6; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ── demo band ── */
/* legal + long-form pages */
.prose { max-width: 72ch; display: grid; gap: var(--space-2); }
.prose h2 { margin-top: var(--space-4); font-size: clamp(1.35rem, 2.4vw, 1.8rem); scroll-margin-top: 90px; }
.prose h3 { margin-top: var(--space-2); font-size: 1.1rem; }
.prose p, .prose li { color: var(--sc-text); font-size: 1.02rem; line-height: 1.65; }
.prose ul, .prose ol { display: grid; gap: 8px; padding-left: 1.3em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose a { color: var(--sc-teal); text-decoration: underline; text-underline-offset: 3px; }
.prose .meta { color: var(--sc-text-dim); font-size: .92rem; }
.prose .toc { display: flex; flex-wrap: wrap; gap: 8px 14px; padding: 0; list-style: none; margin-bottom: var(--space-2); }
.prose .toc a { text-decoration: none; font: 400 .72rem/1.6 var(--font-hud); letter-spacing: .1em; text-transform: uppercase; }
.band { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px 26px; border: 1px solid var(--sc-line); border-radius: var(--radius-lg); background: linear-gradient(90deg, var(--sc-teal-soft), var(--sc-surface) 60%); }
.band strong { display: block; color: var(--sc-ink); font-size: 1.15rem; }
.band small { color: var(--sc-text-dim); }
.band .actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── reveal motion ── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .gauge .fill { transition: none; }
  .btn:hover { transform: none; }
}

/* ── get started (sign-up) ── */
.signup__wrap { max-width: 860px; }
.signup__head { margin-bottom: var(--space-4); }
.signup__head h1 { font-size: clamp(2.2rem, 5.5vw, 4.2rem); }
.signup__head h1 em { font-style: normal; color: var(--sc-teal); }
.signup__head .lede + .lede { margin-top: -6px; }
.signup__card { padding: clamp(18px, 4vw, 32px); }
.form { display: grid; gap: 16px; }
.form .row { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span, .field > label, .checks legend { color: var(--sc-text); font-size: .95rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--sc-line-dim); border-radius: 12px; background: var(--sc-surface); color: var(--sc-ink); font: inherit; }
.signup .field textarea { min-height: 120px; padding: 12px 14px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ecec0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px 16px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--sc-teal); outline-offset: 2px; border-color: var(--sc-teal); }
.field input::placeholder, .field textarea::placeholder { color: var(--sc-text-faint); }
.field small { color: var(--sc-text-dim); font-size: .84rem; }
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.req { color: var(--sc-teal); }
.form__note { color: var(--sc-text-dim); font-size: .9rem; }
.form .btn { border-radius: 12px; }
.signup .form .submit { display: grid; justify-items: start; gap: 12px; margin-top: var(--space-2); }
.form__fine { color: var(--sc-text-dim); font-size: .86rem; }
.form__fine a { color: var(--sc-teal); text-decoration: underline; text-underline-offset: 3px; }
.form__alert { padding: 12px 16px; border: 1px solid var(--sc-warn); border-left-width: 3px; border-radius: 12px; background: rgba(255, 179, 167, .08); color: var(--sc-ink); font-size: .95rem; }
.field .field__err { color: var(--sc-warn); font-weight: 700; }
.field__err:empty { display: none; }
.field [aria-invalid="true"] { border-color: var(--sc-warn); }
.checks { margin: 0; padding: 0; border: 0; }
.checks legend { padding: 0; margin-bottom: 8px; }
.checks legend small { display: block; margin-top: 2px; font-weight: 500; }
.checks__grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; min-height: 48px; padding: 12px 14px; border: 1px solid var(--sc-line-dim); border-radius: 12px; background: var(--sc-surface); cursor: pointer; }
.check:has(input:checked) { border-color: var(--sc-teal); background: var(--sc-teal-soft); }
.check:has(input:focus-visible) { outline: 3px solid var(--sc-teal); outline-offset: 2px; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--sc-teal); cursor: pointer; }
.check strong { display: block; color: var(--sc-ink); font-size: .98rem; }
.check small { display: block; color: var(--sc-text-dim); font-size: .86rem; }
.checks[aria-invalid="true"] .check { border-color: var(--sc-warn); }
.steps { display: grid; gap: 14px; margin: 14px 0 var(--space-4); padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; display: grid; gap: 2px; padding-left: 48px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--sc-teal-soft); border: 1px solid var(--sc-line); color: var(--sc-teal); font: 700 .95rem/1 var(--font-display); }
.steps strong { color: var(--sc-ink); }
.steps span { color: var(--sc-text-dim); }
.signup__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 640px) { .form .row, .checks__grid { grid-template-columns: 1fr; } .form .submit .btn, .signup__actions .btn { width: 100%; } }
.form__alert:empty { display: block; height: 0; padding: 0; border: 0; margin: -8px 0; align-self: start; }   /* stays in the page so screen readers hear it fill; takes no space while empty */
