/* ============================================================
   3DScanOrthotics — clinical white system
   ============================================================ */

:root {
  /* Surfaces — crisp clinical whites, faintly cool */
  --bg:    #FFFFFF;
  --bg-2:  #F5F7F9;
  --bg-3:  #ECEFF2;
  --bg-4:  #E3E7EB;

  /* Ink — cool near-black ramp */
  --ink:   #0D1117;
  --ink-2: #39424C;
  --ink-3: #69727C;
  --ink-4: #99A1AA;
  --ink-5: #C2C8CE;

  /* Hairlines */
  --line:   rgba(13, 17, 23, 0.10);
  --line-2: rgba(13, 17, 23, 0.055);
  --line-3: rgba(13, 17, 23, 0.025);

  /* Accent — clinical blue */
  --accent:      #1A66E5;
  --accent-deep: color-mix(in oklch, var(--accent) 80%, #06122e);
  --accent-soft: color-mix(in oklch, var(--accent) 9%, var(--bg));
  --accent-tint: color-mix(in oklch, var(--accent) 16%, var(--bg));
  --accent-line: color-mix(in oklch, var(--accent) 34%, transparent);
  --accent-glow: color-mix(in oklch, var(--accent) 55%, transparent);

  /* Type */
  --sans: "Geist", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Layout */
  --gutter: clamp(20px, 4.2vw, 72px);
  --maxw:   1320px;
  --sy:     clamp(96px, 11vw, 176px);
  --radius: 18px;
}

body[data-density="compact"] { --sy: clamp(64px, 7.5vw, 116px); }
body[data-density="roomy"]   { --sy: clamp(128px, 14vw, 224px); }

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv01";
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: 0; border: 0; padding: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 540; letter-spacing: -0.02em; }
p { margin: 0; }
::selection { background: var(--accent); color: #fff; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type primitives ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.eyebrow.plain::before { display: none; }

.mono {
  font-family: var(--mono);
  letter-spacing: 0.02em;
  font-variant-ligatures: none;
}

.display {
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 0.98;
}

.lede {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 52ch;
  letter-spacing: -0.005em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 46px;
  padding: 0 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 520;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform .12s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn .arrow { width: 15px; height: 15px; transition: transform .22s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(20,80,190,.18), 0 6px 18px -8px rgba(20,80,190,.4); }
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost { background: var(--bg); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-4); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 9px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in oklch, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line-3);
  transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 560; font-size: 18px; letter-spacing: -0.025em; }
.brand-mark { width: 27px; height: 27px; display: grid; place-items: center; flex: 0 0 27px; }
.brand-mark svg { width: 100%; height: 100%; }
.brand .tail { color: var(--ink-3); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-link { font-size: 14px; color: var(--ink-2); transition: color .15s ease; }
.nav-link:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
@media (max-width: 940px) { .nav-links { display: none; } .nav-cta .hide-sm { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 6.5vw, 104px) 0 clamp(56px, 6vw, 96px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 90% at 84% -8%, var(--accent-soft) 0%, transparent 46%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg) 70%, var(--bg-2) 100%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(32px, 5vw, 84px);
  align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.hero-tag {
  display: inline-flex; align-items: center; gap: 9px;
  height: 30px; padding: 0 13px 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  font-family: var(--mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 26px;
}
.hero-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

.hero h1 {
  font-size: clamp(40px, 6.2vw, 80px);
  line-height: 0.97;
  letter-spacing: -0.035em;
  font-weight: 560;
}
.hero h1 .accent { color: var(--accent); }
.hero-sub { margin-top: 26px; max-width: 46ch; font-size: clamp(16px, 1.35vw, 19px); color: var(--ink-2); line-height: 1.55; }
.hero-cta { display: flex; gap: 11px; margin-top: 34px; flex-wrap: wrap; }

.hero-readout {
  display: flex; flex-wrap: wrap;
  margin-top: 44px; padding-top: 26px;
  border-top: 1px solid var(--line);
  gap: 0;
}
.hero-readout .item { padding-right: 28px; }
.hero-readout .item + .item { padding-left: 28px; border-left: 1px solid var(--line); }
.hero-readout .v { font-size: clamp(26px, 2.6vw, 34px); font-weight: 560; letter-spacing: -0.03em; line-height: 1; display: flex; align-items: baseline; gap: 3px; }
.hero-readout .v .u { font-family: var(--mono); font-size: 0.42em; font-weight: 500; color: var(--ink-3); letter-spacing: 0.04em; }
.hero-readout .v .accent { color: var(--accent); }
.hero-readout .l { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-3); margin-top: 9px; }

/* ---------- Scan device card (shared visual shell) ---------- */
.device {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.06;
  max-width: 540px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 0 #fff inset, 0 30px 60px -34px rgba(13,17,23,.28), 0 8px 24px -18px rgba(13,17,23,.2);
}
.device::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(var(--line-3) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-3) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(120% 100% at 50% 42%, #000 38%, transparent 84%);
}
.device-corner { position: absolute; width: 16px; height: 16px; border-color: var(--ink-4); opacity: .42; z-index: 5; }
.dc-tl { top: 14px; left: 14px; border-top: 1.5px solid; border-left: 1.5px solid; }
.dc-tr { top: 14px; right: 14px; border-top: 1.5px solid; border-right: 1.5px solid; }
.dc-bl { bottom: 14px; left: 14px; border-bottom: 1.5px solid; border-left: 1.5px solid; }
.dc-br { bottom: 14px; right: 14px; border-bottom: 1.5px solid; border-right: 1.5px solid; }

.device-head {
  position: absolute; top: 16px; left: 18px; right: 18px; z-index: 6;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3);
}
.device-head .mode { color: var(--ink); transition: color .4s ease; }
.device-head .live { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); }
.device-head .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.device-foot {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 6;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
}
.device-foot .cell { background: color-mix(in oklch, var(--bg) 86%, transparent); backdrop-filter: blur(6px); padding: 11px 13px; }
.device-foot .l { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 3px; }
.device-foot .v { font-family: var(--mono); font-size: 12.5px; color: var(--ink); }
.device-foot .v.accent { color: var(--accent); }

/* foot artwork holder */
.device-art { position: absolute; inset: 10% 23% 16%; z-index: 2; display: grid; place-items: center; }
.device-art svg { width: 100%; height: 100%; overflow: visible; }

/* callout pills */
.callout {
  position: absolute; z-index: 4;
  display: inline-flex; align-items: center; gap: 7px;
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  padding: 5px 9px; border-radius: 8px;
  font-family: var(--mono); font-size: 10.5px; white-space: nowrap;
  color: var(--ink-2);
  box-shadow: 0 6px 16px -12px rgba(13,17,23,.4);
}
.callout .v { color: var(--ink); }
.callout .led { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: 0 0 5px; }

/* scanline */
.scanline {
  position: absolute; left: 21%; right: 21%; height: 2px; z-index: 3;
  background: linear-gradient(90deg, transparent, var(--accent) 50%, transparent);
  box-shadow: 0 0 22px 3px var(--accent-glow);
  opacity: 0;
}
.device[data-anim="on"] .scanline { animation: scan 4.2s ease-in-out infinite; }
@keyframes scan { 0% { top: 16%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 80%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .device[data-anim="on"] .scanline { animation: none; opacity: .6; top: 48%; } }

/* ---------- Logo / trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.trust-inner { display: flex; align-items: center; gap: clamp(20px, 4vw, 56px); padding: 26px var(--gutter); max-width: var(--maxw); margin: 0 auto; flex-wrap: wrap; }
.trust-lab { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.trust-logos { display: flex; align-items: center; gap: clamp(22px, 4vw, 50px); flex-wrap: wrap; flex: 1; }
.trust-logo { font-size: 17px; font-weight: 560; letter-spacing: -0.02em; color: var(--ink-3); opacity: .8; }

/* ---------- Section header ---------- */
.s-head { margin-bottom: clamp(40px, 5vw, 72px); }
.s-head h2 { font-size: clamp(32px, 4.6vw, 60px); line-height: 1.0; letter-spacing: -0.035em; font-weight: 560; margin-top: 18px; max-width: 18ch; }
.s-head h2 .accent { color: var(--accent); }
.s-head .lede { margin-top: 22px; }
.s-head.center { text-align: center; max-width: 760px; margin-inline: auto; margin-bottom: clamp(48px, 6vw, 80px); }
.s-head.center .lede { margin-inline: auto; }
.s-head.center .eyebrow { justify-content: center; }

/* ============================================================
   HOW IT WORKS — sticky scan transform
   ============================================================ */
.how { padding: var(--sy) 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.how-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: clamp(36px, 5vw, 88px);
  align-items: start;
}
@media (max-width: 940px) { .how-grid { grid-template-columns: 1fr; gap: 0; } }

.how-sticky { position: sticky; top: clamp(82px, 12vh, 120px); }
@media (max-width: 940px) {
  .how-sticky { position: sticky; top: 74px; z-index: 5; margin-bottom: 24px; }
  .how-sticky .device { max-width: 360px; }
}

.how-steps { display: flex; flex-direction: column; }
.how-step {
  min-height: 78vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 6vh 0;
}
.how-step:first-child { min-height: 62vh; padding-top: 0; }
.how-step:last-child { min-height: 62vh; padding-bottom: 0; }
@media (max-width: 940px) { .how-step { min-height: auto; padding: 36px 0; } }

.how-step .num {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-4);
  display: inline-flex; align-items: center; gap: 12px;
  transition: color .35s ease;
}
.how-step .num::after { content: ""; width: 30px; height: 1px; background: var(--ink-5); transition: background .35s ease, width .35s ease; }
.how-step h3 {
  font-size: clamp(28px, 3.4vw, 46px); line-height: 1.02; letter-spacing: -0.03em;
  font-weight: 560; margin: 18px 0 0; color: var(--ink-4);
  transition: color .4s ease;
}
.how-step p { margin-top: 18px; max-width: 44ch; font-size: 16.5px; line-height: 1.6; color: var(--ink-4); transition: color .4s ease; }
.how-step .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.how-step .chip {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em;
  color: var(--ink-3); border: 1px solid var(--line); background: var(--bg);
  padding: 6px 11px; border-radius: 999px;
  opacity: .5; transition: opacity .4s ease, border-color .4s ease, color .4s ease;
}
.how-step.active .num { color: var(--accent); }
.how-step.active .num::after { background: var(--accent); width: 44px; }
.how-step.active h3 { color: var(--ink); }
.how-step.active p { color: var(--ink-2); }
.how-step.active .chip { opacity: 1; }

.how-progress { display: none; }

/* scan-state panes inside the sticky device */
.pane { position: absolute; inset: 0; z-index: 2; opacity: 0; transform: scale(.985); transition: opacity .55s ease, transform .55s ease; pointer-events: none; }
.pane.on { opacity: 1; transform: scale(1); }

/* zones (prescribe) */
.zone { transition: opacity .5s ease; }
.zone-label {
  position: absolute; z-index: 4;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em;
  color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px;
}
.zone-label .sw { width: 9px; height: 9px; border-radius: 3px; flex: 0 0 9px; }

/* print progress bar */
.print-bar { position: absolute; left: 23%; right: 23%; bottom: 21%; z-index: 4; }
.print-bar .track { height: 4px; border-radius: 999px; background: var(--bg-4); overflow: hidden; }
.print-bar .fill { height: 100%; width: 76%; border-radius: 999px; background: var(--accent); }
.print-bar .row { display: flex; justify-content: space-between; margin-top: 9px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; color: var(--ink-3); }
.print-bar .row .v { color: var(--ink); }

/* ============================================================
   WHY 3D — comparison
   ============================================================ */
.why { padding: var(--sy) 0; }
.cmp {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--bg);
}
@media (max-width: 720px) { .cmp { grid-template-columns: 1fr; } }
.cmp-col { padding: clamp(26px, 3.2vw, 40px); }
.cmp-col.old { background: var(--bg-2); }
.cmp-col.new { background: var(--bg); border-left: 1px solid var(--line); position: relative; }
@media (max-width: 720px) { .cmp-col.new { border-left: 0; border-top: 1px solid var(--line); } }
.cmp-col .tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 6px;
}
.cmp-col.old .tag { color: var(--ink-3); }
.cmp-col.new .tag { color: var(--accent); }
.cmp-col .tag .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.cmp-col h3 { font-size: clamp(22px, 2.3vw, 30px); letter-spacing: -0.025em; font-weight: 560; margin-bottom: 24px; }
.cmp-col.old h3 { color: var(--ink-2); }

.cmp-row { display: flex; gap: 13px; padding: 15px 0; border-top: 1px solid var(--line-2); align-items: flex-start; }
.cmp-row:first-of-type { border-top: 0; }
.cmp-ic { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 1px; }
.cmp-col.old .cmp-ic { color: var(--ink-4); }
.cmp-col.new .cmp-ic { color: var(--accent); }
.cmp-row .txt { font-size: 14.5px; line-height: 1.45; }
.cmp-col.old .cmp-row .txt { color: var(--ink-3); }
.cmp-col.new .cmp-row .txt { color: var(--ink-2); }
.cmp-row .txt b { color: var(--ink); font-weight: 560; }

/* ============================================================
   PLANS — two ways to deliver
   ============================================================ */
.plans { padding: var(--sy) 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.plans-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(40px, 5vw, 64px);
}
@media (max-width: 820px) { .plans-grid { grid-template-columns: 1fr; } }

.plan {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 40px);
}
.plan.feature { border-color: var(--accent-line); box-shadow: 0 1px 0 #fff inset, 0 24px 50px -34px color-mix(in oklch, var(--accent) 50%, transparent); }

.plan-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.plan-ic { width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid var(--line); border-radius: 11px; display: grid; place-items: center; color: var(--accent); background: var(--accent-soft); }
.plan-ic svg { width: 21px; height: 21px; }
.plan-badge {
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft);
  border: 1px solid var(--accent-line); border-radius: 999px;
  padding: 5px 10px; white-space: nowrap;
}
.plan-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-3); margin: 22px 0 6px; }
.plan h3 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.025em; font-weight: 560; line-height: 1.05; }
.plan .desc { margin-top: 14px; font-size: 15px; line-height: 1.55; color: var(--ink-2); max-width: 40ch; }

.plan-list { list-style: none; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 13px; }
.plan-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.plan-list li b { color: var(--ink); font-weight: 560; }
.plan-list .li-ic { width: 17px; height: 17px; flex: 0 0 17px; margin-top: 1px; color: var(--accent); }

.plan-foot { margin-top: auto; padding-top: 26px; display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price .v { font-size: clamp(26px, 3vw, 36px); font-weight: 560; letter-spacing: -0.03em; line-height: 1; }
.plan-price .u { font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: 0.02em; }
.plan-foot .btn { flex: 0 0 auto; }

/* ============================================================
   OUTCOMES — by the numbers
   ============================================================ */
.nums { padding: var(--sy) 0; background: var(--ink); color: #fff; }
.nums .eyebrow { color: var(--ink-5); }
.nums .eyebrow::before { background: var(--accent); }
.nums h2 { color: #fff; }
.nums-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden;
  margin-top: clamp(36px, 4vw, 56px);
}
@media (max-width: 820px) { .nums-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .nums-grid { grid-template-columns: 1fr; } }
.nums-cell { padding: clamp(26px, 3vw, 40px); border-right: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.nums-grid .nums-cell:nth-child(4n) { border-right: 0; }
@media (max-width: 820px) { .nums-grid .nums-cell:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.12); } .nums-grid .nums-cell:nth-child(even) { border-right: 0; } }
.nums-cell .v { font-size: clamp(44px, 5.6vw, 72px); font-weight: 560; letter-spacing: -0.04em; line-height: 0.92; display: flex; align-items: baseline; gap: 4px; }
.nums-cell .v .u { font-size: 0.34em; font-family: var(--mono); font-weight: 500; color: var(--accent); letter-spacing: 0.02em; }
.nums-cell .l { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-5); margin-top: 16px; }
.nums-cell .sub { font-size: 14px; color: rgba(255,255,255,.62); margin-top: 8px; line-height: 1.5; max-width: 24ch; }

/* ============================================================
   CTA
   ============================================================ */
.cta { padding: var(--sy) 0; }
.cta-card {
  position: relative; overflow: hidden;
  border-radius: clamp(20px, 2.4vw, 30px);
  border: 1px solid var(--line);
  background:
    radial-gradient(110% 130% at 88% 6%, var(--accent-soft) 0%, transparent 50%),
    var(--bg);
  padding: clamp(40px, 6vw, 88px);
  text-align: center;
}
.cta-card::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(var(--line-3) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-3) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(80% 80% at 88% 6%, #000, transparent 62%);
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { font-size: clamp(34px, 5.2vw, 68px); line-height: 1.0; letter-spacing: -0.035em; font-weight: 560; max-width: 20ch; margin: 16px auto 0; }
.cta-card h2 .accent { color: var(--accent); }
.cta-card .lede { margin: 20px auto 0; text-align: center; }
.cta-form { display: flex; gap: 10px; max-width: 480px; margin: 34px auto 0; flex-wrap: wrap; justify-content: center; }
.cta-form input {
  flex: 1; min-width: 220px; height: 50px; border-radius: 11px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink);
  padding: 0 18px; font: inherit; font-size: 15px; outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.cta-form input::placeholder { color: var(--ink-4); }
.cta-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.cta-form .btn { height: 50px; }
.cta-meta { margin-top: 22px; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.cta-meta span { display: inline-flex; align-items: center; gap: 7px; }
.cta-meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* ============================================================
   Footer
   ============================================================ */
footer { border-top: 1px solid var(--line); padding: clamp(56px, 6vw, 84px) 0 36px; background: var(--bg-2); }
.foot-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
.foot-brand .brand { font-size: 19px; margin-bottom: 16px; }
.foot-tag { font-size: 16px; color: var(--ink-2); max-width: 28ch; line-height: 1.5; letter-spacing: -0.01em; }
.foot-col h5 { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 16px; }
.foot-col a { display: block; font-size: 14.5px; color: var(--ink-2); padding: 5px 0; transition: color .15s ease; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom { margin-top: clamp(48px, 6vw, 72px); padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-3); }

/* ---------- scroll reveal (progressive enhancement) ----------
   Content is visible by default. Only when JS confirms it's running
   (html.js-anim) do we hide-then-reveal, so a failed/slow script or a
   static capture never leaves the page blank. */
html.js-anim .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
html.js-anim .reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .07s; }
.reveal[data-d="2"] { transition-delay: .14s; }
.reveal[data-d="3"] { transition-delay: .21s; }
@media (prefers-reduced-motion: reduce) { html.js-anim .reveal { opacity: 1; transform: none; transition: none; } }
