/* ORBQ marketing homepage (orbq.co.uk/)
   Self-contained on purpose: mirrors the tokens in /styles.css (README
   "Design system") so app restyles can't break the public site.
   Urbanist 200 + 700 in one line · Inter for UI · grain field green→lime ·
   the orb · thin drifting strands. */

:root {
  --h: 132;
  --field-0: hsl(var(--h) 72% 7%);
  --field-1: hsl(var(--h) 70% 16%);
  --field-2: hsl(var(--h) 66% 33%);
  --field-3: hsl(calc(var(--h) - 38) 72% 46%);
  --field-4: hsl(calc(var(--h) - 62) 78% 56%);
  --accent: hsl(calc(var(--h) - 52) 80% 58%);
  --accent-ink: hsl(var(--h) 70% 16%);
  --brand-deep: hsl(var(--h) 66% 22%);

  --ink: #0b0f0c;
  --ink-2: #4f5751;
  --ink-3: #8b928c;
  --canvas: #f4f4ef;
  --surface: #ffffff;
  --hair: #e6e6df;
  --hair-2: #d7d8d0;
  --ok: #1f9d55;
  --warn: #c27c0e;
  --bad: #d23f31;

  --r-s: 10px; --r-m: 16px; --r-l: 28px; --pill: 999px;
  --display: "Urbanist", ui-sans-serif, system-ui, sans-serif;
  --ui: "Inter", ui-sans-serif, -apple-system, system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 68px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { background: var(--field-0); scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body {
  font-family: var(--ui); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--canvas);
  -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01"; overflow-x: clip;
}
img, svg, canvas { display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.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: fixed; left: 12px; top: -60px; z-index: 100; background: var(--surface); padding: 10px 14px; border-radius: 10px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1200px, 100%); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: start; }

/* ── Type ──────────────────────────────────────────────────────────────── */
.display { font-family: var(--display); font-weight: 200; letter-spacing: -.035em; line-height: 1.02; margin: 0; text-wrap: balance; }
.display b { font-weight: 700; }
h2.display { font-size: clamp(36px, 5.4vw, 68px); }
.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow.on-dark { color: rgba(255,255,255,.66); }
.lede { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.55; color: rgba(255,255,255,.8); margin: 22px 0 0; max-width: 560px; text-wrap: pretty; }
.lede.dark { color: var(--ink-2); }
.lede em { font-style: normal; color: #fff; font-weight: 600; }
.fineprint { font-size: 12.5px; color: var(--ink-3); margin: 14px 0 0; }
.fineprint.on-dark { color: rgba(255,255,255,.55); }

/* ── Orb + wordmark ────────────────────────────────────────────────────── */
.orb {
  --s: 26px; width: var(--s); height: var(--s); border-radius: 50%; flex: none; display: inline-block;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.95) 0 6%, transparent 32%),
    radial-gradient(circle at 70% 75%, var(--field-4), transparent 60%),
    radial-gradient(circle at 40% 40%, var(--field-3), var(--field-2) 55%, var(--field-1) 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 6px 18px -6px hsl(var(--h) 70% 30% / .6);
}
.orb.tiny { --s: 14px; }
.orb.big { --s: 64px; }
.orb.live { animation: breathe 3.2s var(--ease) infinite; }
.orb.thinking { animation: breathe 1.4s var(--ease) infinite, spin 6s linear infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); filter: saturate(1); } 50% { transform: scale(1.08); filter: saturate(1.3) brightness(1.08); } }
@keyframes spin { to { rotate: 360deg; } }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.wordmark { font-family: var(--display); font-weight: 300; font-size: 23px; letter-spacing: -.03em; line-height: 1; }
.wordmark b { font-weight: 800; }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  appearance: none; border: 0; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 42px; padding: 0 18px; border-radius: var(--pill);
  font-family: var(--ui); font-size: 14.5px; font-weight: 600; letter-spacing: -.005em; white-space: nowrap;
  background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--hair-2) inset;
  transition: transform .15s var(--ease), background .2s, box-shadow .2s, opacity .2s;
}
.btn:active { transform: scale(.97); }
.btn.lg { height: 54px; padding: 0 24px; font-size: 16px; }
.btn.lime { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -10px hsl(calc(var(--h) - 52) 80% 58% / .7); }
.btn.lime:hover { background: hsl(calc(var(--h) - 52) 85% 64%); }
.btn.ink { background: var(--ink); color: #fff; box-shadow: none; }
.btn.ink:hover { background: #222823; }
.btn.glass { color: #fff; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.24); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.btn.glass:hover { background: rgba(255,255,255,.18); }
.btn.ghost-light { background: transparent; color: rgba(255,255,255,.86); box-shadow: none; }
.btn.ghost-light:hover { color: #fff; background: rgba(255,255,255,.08); }
.btn .arrow { width: 30px; height: 30px; margin-right: -12px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-ink); color: #fff; font-size: 15px; }
.btn.ink .arrow { background: var(--accent); color: var(--accent-ink); }

/* ── Nav ───────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: var(--nav-h);
  display: flex; align-items: center; gap: 24px; padding: 0 var(--gutter); padding-top: env(safe-area-inset-top);
  color: #fff; transition: background .3s, box-shadow .3s, -webkit-backdrop-filter .3s, backdrop-filter .3s;
}
.nav.scrolled { background: rgba(4, 18, 8, .84); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.nav-links { display: flex; gap: 4px; margin-left: 18px; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.72); padding: 8px 12px; border-radius: 99px; transition: color .2s, background .2s; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-cta { margin-left: auto; display: flex; gap: 6px; }

/* ── Immersive stage ───────────────────────────────────────────────────── */
.immersive { position: relative; color: #fff; background: var(--field-0); }
.stage { position: sticky; top: 0; height: 100vh; height: 100lvh; margin-bottom: -100vh; margin-bottom: -100lvh; overflow: hidden; z-index: 0; }
.stage-field { position: absolute; inset: 0;
  background:
    radial-gradient(80% 50% at 85% 0%, rgba(0,0,0,.55), transparent 70%),
    radial-gradient(70% 45% at 10% 105%, hsl(calc(var(--h) - 62) 85% 56% / .5), transparent 70%),
    linear-gradient(176deg, var(--field-0) 0%, var(--field-0) 30%, var(--field-1) 62%, var(--field-2) 88%, var(--field-3) 104%); }
.stage-field::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .16; mix-blend-mode: overlay; pointer-events: none; }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease); }
#scene.ready { opacity: 1; }
.still-scene { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.still .still-scene, .no-webgl .still-scene { display: block; }
.still #scene, .no-webgl #scene, .still .scene-labels, .no-webgl .scene-labels { display: none; }
/* Grain sits over the 3D too, so the render reads as part of the field. */
.stage::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .09; mix-blend-mode: overlay; pointer-events: none; }
.stage::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(3,14,6,.72) 0%, rgba(3,14,6,.35) 32%, rgba(3,14,6,0) 58%); }

.scene-labels { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.label {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -100%); opacity: 0; transition: opacity .4s;
  font-size: 12px; font-weight: 600; white-space: nowrap; color: #fff; padding: 6px 10px; border-radius: 99px;
  background: rgba(4, 16, 7, .55); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.label::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 1px; height: 7px; background: rgba(255,255,255,.5); }
.label.on { opacity: 1; }
.label.tip { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 22px -8px rgba(0,0,0,.5); font-variant-numeric: tabular-nums; }
.label.tip::after { background: var(--accent); }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero { position: relative; z-index: 2; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 24px) var(--gutter) 96px; }
.hero-copy { width: min(1200px, 100%); margin: 0 auto; }
.hero h1 { font-size: clamp(48px, 8.2vw, 116px); max-width: 9.5em; color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero .lede { max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin: 28px 0 0; font-size: 13px; color: rgba(255,255,255,.58); letter-spacing: .01em; }
.moving .hero-copy > * { animation: rise .9s var(--ease) both; }
.moving .hero-copy > :nth-child(2) { animation-delay: .08s; }
.moving .hero-copy > :nth-child(3) { animation-delay: .16s; }
.moving .hero-copy > :nth-child(4) { animation-delay: .24s; }
.moving .hero-copy > :nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(-3px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ── Story chapters ────────────────────────────────────────────────────── */
.story { position: relative; z-index: 2; }
.chapter { min-height: 135vh; display: flex; align-items: center; padding: 18vh var(--gutter); }
.chapter .card {
  width: min(450px, 100%); margin-left: max(0px, calc((100vw - 1200px) / 2));
  background: rgba(255,255,255,.965); color: var(--ink); border-radius: var(--r-l); padding: 30px 30px 28px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.4) inset;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.moving .chapter .card { opacity: 0; transform: translateY(40px) scale(.98); }
.moving .chapter.active .card { opacity: 1; transform: none; }
.chapter h3.display { font-size: clamp(30px, 3.2vw, 40px); margin-bottom: 14px; }
.chapter p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.chapter .fineprint { font-size: 12px; margin-top: 10px; }

.mini-steps { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.mini-steps li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; padding: 10px 12px; border-radius: 14px; background: #f3f3ee; }
.mini-steps i { font-style: normal; width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; }

.route-meter { margin-top: 22px; padding: 16px 18px; border-radius: 18px; background: var(--ink); color: #fff; display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 10px; }
.route-meter > span { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.route-meter b { font-family: var(--display); font-weight: 700; font-size: 34px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.route-meter i { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.14); overflow: hidden; }
.route-meter em { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 4px; }
.still .route-meter em { width: 100%; }

.chips { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); padding: 7px 11px 7px 9px; border-radius: 99px; background: #f1f1ec; }
.chips li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.chips li.warn::before { background: var(--warn); }
.chips b { color: var(--ink); font-weight: 600; }
.moving .chips li { opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease); }
.moving .chapter.active .chips li { opacity: 1; transform: none; }
.chapter.active .chips li:nth-child(2) { transition-delay: .12s; }
.chapter.active .chips li:nth-child(3) { transition-delay: .24s; }
.chapter.active .chips li:nth-child(4) { transition-delay: .36s; }
.chapter.active .chips li:nth-child(5) { transition-delay: .48s; }

.receipt { position: relative; overflow: hidden; margin-top: 22px; border-radius: 20px; padding: 18px 18px 16px; color: #fff; font-size: 13.5px;
  background: radial-gradient(90% 70% at 100% 100%, hsl(calc(var(--h) - 52) 80% 58% / .5), transparent 60%), linear-gradient(160deg, var(--field-0), var(--field-1) 60%, var(--field-2)); }
.receipt::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .18; mix-blend-mode: overlay; pointer-events: none; }
.r-head { display: flex; justify-content: space-between; gap: 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.62); margin-bottom: 10px; }
.r-book { color: var(--accent); }
.r-line { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.1); }
.r-line b { font-weight: 600; letter-spacing: .1em; color: rgba(255,255,255,.75); white-space: nowrap; }
.r-line.muted span { color: rgba(255,255,255,.6); }
.r-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; margin-top: 4px; border-top: 1px solid rgba(255,255,255,.28); }
.r-total b { font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -.02em; color: var(--accent); }
.moving .r-line, .moving .r-total { opacity: 0; transform: translateX(-8px); transition: opacity .45s, transform .45s var(--ease); }
.moving .chapter.active .r-line, .moving .chapter.active .r-total { opacity: 1; transform: none; }
.chapter.active .r-line:nth-of-type(3) { transition-delay: .12s; }
.chapter.active .r-line:nth-of-type(4) { transition-delay: .24s; }
.chapter.active .r-line:nth-of-type(5) { transition-delay: .36s; }
.chapter.active .r-total { transition-delay: .5s; }

.verdicts { display: grid; gap: 8px; margin-top: 20px; }
.v { display: grid; grid-template-columns: 10px 1fr; column-gap: 12px; padding: 13px 14px; border-radius: 16px; background: #f3f3ee; }
.v::before { content: ""; grid-row: span 2; width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(31,157,85,.15); }
.v.warn::before { background: var(--warn); box-shadow: 0 0 0 4px rgba(194,124,14,.15); }
.v b { font-size: 14.5px; }
.v span { font-size: 13px; color: var(--ink-2); }

/* ── Sections below the story ──────────────────────────────────────────── */
.band, .features, .outcomes, .faq { position: relative; z-index: 3; background: var(--canvas); padding: clamp(80px, 11vw, 150px) 0; }
.band { border-radius: 36px 36px 0 0; margin-top: -36px; padding-bottom: clamp(40px, 5vw, 70px); }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); margin-top: 56px; }
.pain-grid > div { padding-top: 22px; border-top: 1px solid var(--hair-2); }
.pain-grid h3, .tile h3, .trust-grid h3 { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -.02em; margin: 0 0 8px; }
.pain-grid p { margin: 0; color: var(--ink-2); }

.features { padding-top: clamp(40px, 5vw, 70px); }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 56px; }
.tile { position: relative; overflow: hidden; background: var(--surface); border-radius: 26px; padding: 26px; box-shadow: 0 0 0 1px var(--hair) inset; }
.tile p { margin: 0; color: var(--ink-2); font-size: 15px; }
.tile .ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: #f0f0ea; margin-bottom: 26px; }
.tile .ico svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tile.big { grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; }
.tile.big h3 { font-size: clamp(30px, 3vw, 40px); font-weight: 200; letter-spacing: -.035em; }
.tile.dark { color: #fff; background: radial-gradient(80% 60% at 100% 100%, hsl(calc(var(--h) - 52) 80% 58% / .45), transparent 70%), linear-gradient(165deg, var(--field-0), var(--field-1) 55%, var(--field-2)); box-shadow: none; }
.tile.dark::after, .tile.lime::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .14; mix-blend-mode: overlay; pointer-events: none; }
.tile.dark p { color: rgba(255,255,255,.78); }
.tile.dark .ico { background: rgba(255,255,255,.1); position: absolute; top: 26px; left: 26px; }
.tile.dark .ico svg { stroke: var(--accent); }
.tile.big::before { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.9) 0 5%, transparent 30%), radial-gradient(circle at 70% 75%, var(--field-4), transparent 60%), radial-gradient(circle at 40% 40%, var(--field-3), var(--field-2) 55%, var(--field-1) 100%);
  opacity: .9; filter: saturate(1.1); }
.moving .tile.big::before { animation: breathe 5s var(--ease) infinite; }
.tile.wide { grid-column: span 2; }
.tile.lime { background: linear-gradient(135deg, hsl(calc(var(--h) - 52) 80% 62%), hsl(calc(var(--h) - 40) 70% 50%)); box-shadow: none; }
.tile.lime p { color: var(--accent-ink); }
.tile.lime h3 { color: var(--accent-ink); }
.tile.lime .ico { background: rgba(4,30,10,.12); }
.tile.lime .ico svg { stroke: var(--accent-ink); }

.outcomes { background: var(--surface); }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-weight: 500; }
.ticks li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ticks.on-dark li { color: rgba(255,255,255,.9); }
.ticks.on-dark li::before { background-color: rgba(255,255,255,.14); }

.calc { background: var(--canvas); border-radius: 30px; padding: clamp(22px, 3vw, 34px); box-shadow: 0 0 0 1px var(--hair) inset; }
.slider { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.slider span { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.slider output { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.slider input { grid-column: 1 / -1; width: 100%; margin: 10px 0 2px; accent-color: var(--brand-deep); height: 24px; }
.calc-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.calc-out div { background: var(--surface); border-radius: 18px; padding: 16px; box-shadow: 0 0 0 1px var(--hair) inset; }
.calc-out b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.calc-out span { font-size: 12.5px; color: var(--ink-2); }
.calc-out .hl { background: var(--ink); color: #fff; box-shadow: none; }
.calc-out .hl b { color: var(--accent); }
.calc-out .hl span { color: rgba(255,255,255,.7); }

.trust { position: relative; z-index: 3; color: #fff; padding: clamp(90px, 12vw, 160px) 0; overflow: hidden;
  background: radial-gradient(60% 50% at 100% 100%, hsl(calc(var(--h) - 62) 85% 56% / .35), transparent 70%), linear-gradient(170deg, var(--field-0) 0%, var(--field-1) 70%, var(--field-2) 130%); }
.trust::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .16; mix-blend-mode: overlay; pointer-events: none; }
.trust .wrap { position: relative; z-index: 1; }
.trust h2 { max-width: 15em; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 56px; }
.trust-grid > div { padding: 24px; border-radius: 24px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.trust-grid p { margin: 0; color: rgba(255,255,255,.72); font-size: 14.5px; }
.std { display: inline-block; font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: -.01em; color: var(--accent-ink); background: var(--accent); padding: 5px 11px; border-radius: 99px; margin-bottom: 22px; }

/* Placeholders: visible on localhost or with ?todo=1, hidden in production. */
.todo-block, .todo { display: none; }
.show-todo .todo-block { display: block; }
.show-todo .todo { display: block; margin-top: 18px; padding: 10px 14px; border-radius: 12px; border: 1.5px dashed #c27c0e; color: #8a5a06; background: #fbf0d9; font-size: 13px; font-weight: 600; }
.proof { position: relative; z-index: 3; background: var(--canvas); padding: 60px 0 0; }
.proof .eyebrow { color: #8a5a06; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ph { min-height: 120px; display: grid; place-items: center; text-align: center; padding: 20px; border-radius: 22px; border: 1.5px dashed #c27c0e; background: #fbf0d9; color: #8a5a06; font-weight: 600; font-size: 14px; }

.qa { display: grid; gap: 10px; }
.qa details { background: var(--surface); border-radius: 20px; box-shadow: 0 0 0 1px var(--hair) inset; transition: box-shadow .2s; }
.qa details[open] { box-shadow: 0 0 0 1px var(--hair-2) inset, 0 12px 30px -18px rgba(0,0,0,.2); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 600; font-size: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #f0f0ea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0f0c' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .3s var(--ease), background-color .2s; }
.qa details[open] summary::after { transform: rotate(45deg); background-color: var(--accent); }
.qa details p { margin: 0; padding: 0 22px 22px; color: var(--ink-2); }
.faq .lede a { color: var(--ink); font-weight: 600; }

/* ── Contact ───────────────────────────────────────────────────────────── */
.contact { position: relative; z-index: 3; color: #fff; padding: clamp(90px, 12vw, 160px) 0 clamp(110px, 14vw, 190px); overflow: hidden; }
.contact-field { position: absolute; inset: 0;
  background:
    radial-gradient(70% 40% at 95% 0%, rgba(0,0,0,.5), transparent 70%),
    radial-gradient(60% 30% at 0% 100%, hsl(calc(var(--h) - 70) 85% 60% / .55), transparent 70%),
    linear-gradient(174deg, var(--field-0) 0%, var(--field-1) 30%, var(--field-2) 60%, var(--field-3) 84%, var(--field-4) 100%); }
.contact-field::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .2; mix-blend-mode: overlay; }
.strands { position: absolute; left: 0; bottom: 0; width: 200%; height: 200px; opacity: .45; pointer-events: none; }
.strands path { fill: none; stroke: #fff; stroke-width: 1; vector-effect: non-scaling-stroke; }
.moving .strands g { animation: drift 22s linear infinite; }
.moving .strands g:nth-child(2) { animation-duration: 34s; animation-direction: reverse; }
@keyframes drift { to { transform: translateX(-50%); } }
.contact .wrap { position: relative; z-index: 1; }
.contact-copy { position: sticky; top: calc(var(--nav-h) + 40px); }

.sheet { background: var(--surface); color: var(--ink); border-radius: 30px; padding: clamp(22px, 3vw, 34px); box-shadow: 0 40px 90px -40px rgba(0,0,0,.6); }
.form-head { display: flex; gap: 14px; align-items: center; margin-bottom: 22px; }
.form-head b { display: block; font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.form-head span:not(.orb) { font-size: 13px; color: var(--ink-3); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field { display: block; margin: 0 0 14px; border: 0; padding: 0; min-width: 0; }
.field > span, .field legend { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; padding: 0; }
.field em { font-style: normal; font-weight: 500; color: var(--ink-3); }
.field input:not([type=radio]), .field select, .field textarea {
  width: 100%; height: 48px; padding: 0 14px; border: 0; border-radius: 14px; background: #f6f6f2; color: var(--ink); font-size: 16px;
  box-shadow: 0 0 0 1px var(--hair-2) inset; transition: box-shadow .15s, background .15s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f5751' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field textarea { height: auto; min-height: 112px; padding: 13px 14px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: 0 0 0 1.5px var(--ink) inset, 0 0 0 4px hsl(calc(var(--h) - 52) 80% 58% / .4); }
.field [aria-invalid=true] { box-shadow: 0 0 0 1.5px var(--bad) inset !important; background: #fff7f6 !important; }
.err { display: block; min-height: 0; color: var(--bad); font-size: 12.5px; font-weight: 500; margin-top: 6px; }
.err:empty { display: none; }
.seg { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; height: 46px; border-radius: 14px; font-size: 14px; font-weight: 600; background: #f6f6f2; box-shadow: 0 0 0 1px var(--hair-2) inset; transition: background .15s, box-shadow .15s, color .15s; font-variant-numeric: tabular-nums; }
.seg input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.seg input:focus-visible + span { box-shadow: 0 0 0 1.5px var(--ink) inset, 0 0 0 4px hsl(calc(var(--h) - 52) 80% 58% / .45); }
.choice[aria-invalid=true] .seg span { box-shadow: 0 0 0 1.5px var(--bad) inset; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.submit { width: 100%; margin-top: 6px; }
.submit .spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.submit[aria-busy=true] .spinner { display: inline-block; }
.submit[aria-busy=true] .arrow { display: none; }
.submit[aria-busy=true] { opacity: .8; cursor: progress; }
.form-error { margin-bottom: 16px; padding: 12px 14px; border-radius: 14px; background: #fbe4e1; color: #a1271b; font-size: 14px; font-weight: 500; }
.success { text-align: center; padding: 40px 10px 20px; outline: none; }
.success .orb { margin: 0 auto 24px; }
.success h3 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 12px; }
.success p { color: var(--ink-2); max-width: 360px; margin: 0 auto 26px; }
.moving .success:not([hidden]) { animation: rise .6s var(--ease); }

.foot { position: relative; z-index: 3; background: var(--field-0); color: rgba(255,255,255,.7); padding: 48px 0 calc(48px + env(safe-area-inset-bottom)); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.foot .brand { color: #fff; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: #fff; }
.foot p { margin: 0 0 0 auto; color: rgba(255,255,255,.45); font-size: 13px; }

/* Reveal on scroll */
.moving .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.moving .reveal.in { opacity: 1; transform: none; }
.moving .bento .reveal:nth-child(3n+2) { transition-delay: .08s; }
.moving .bento .reveal:nth-child(3n) { transition-delay: .16s; }
.moving .trust-grid .reveal:nth-child(2) { transition-delay: .08s; }
.moving .trust-grid .reveal:nth-child(3) { transition-delay: .16s; }
.moving .trust-grid .reveal:nth-child(4) { transition-delay: .24s; }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .wrap.two { grid-template-columns: 1fr; }
  .contact-copy { position: static; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile.big { grid-column: span 2; grid-row: auto; min-height: 340px; }
  .tile.wide { grid-column: span 2; }
  .pain-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 40px; }
  .stage::before { background: linear-gradient(0deg, rgba(3,14,6,.6) 0%, rgba(3,14,6,0) 50%); }
}
@media (max-width: 640px) {
  :root { --nav-h: 60px; }
  .nav { gap: 10px; }
  .nav-cta .btn { height: 38px; padding: 0 14px; font-size: 14px; }
  .nav-cta .btn.ghost-light { padding: 0 10px; }
  .hero { align-items: flex-end; padding-bottom: 92px; }
  .hero h1 { font-size: clamp(44px, 13.4vw, 64px); }
  .hero .lede { font-size: 16px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-note { font-size: 12px; }
  .chapter { min-height: 125vh; align-items: flex-end; padding: 40vh 12px 14px; }
  .chapter .card { padding: 20px 18px 18px; border-radius: 24px; }
  .chapter h3.display { font-size: 27px; margin-bottom: 10px; }
  .chapter p { font-size: 14.5px; line-height: 1.5; }
  .chapter .fineprint, .receipt .r-line.muted { display: none; }
  .mini-steps { margin-top: 14px; gap: 6px; }
  .mini-steps li { padding: 8px 10px; font-size: 13px; }
  .chips { margin-top: 14px; gap: 6px; }
  .chips li { font-size: 12.5px; padding: 6px 10px 6px 8px; }
  .receipt, .route-meter, .verdicts { margin-top: 14px; }
  .receipt { padding: 14px 14px 12px; font-size: 13px; }
  .r-line { padding: 6px 0; }
  .route-meter { padding: 12px 14px; }
  .route-meter b { font-size: 28px; }
  .v { padding: 10px 12px; }
  .stage::before { background: linear-gradient(0deg, rgba(3,14,6,.85) 0%, rgba(3,14,6,.5) 42%, rgba(3,14,6,0) 72%); }
  .bento, .proof-grid, .trust-grid { grid-template-columns: 1fr; }
  .tile.big, .tile.wide { grid-column: auto; }
  .tile.big { min-height: 0; padding-top: 140px; }
  .tile.big::before { width: 170px; height: 170px; right: -36px; top: -36px; }
  .calc-out { grid-template-columns: 1fr 1fr; }
  .calc-out .hl { grid-column: span 2; }
  .grid2 { grid-template-columns: 1fr; }
  .seg { grid-template-columns: repeat(3, 1fr); }
  .foot p { margin-left: 0; }
  .band { border-radius: 26px 26px 0 0; }
}
@media (max-width: 380px) {
  .nav-cta .btn.lime { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .chapter { min-height: auto; padding: 8vh var(--gutter); }
}
/* With the static scene, the chapters stack as a normal page over a still image. */
.still .chapter, .no-webgl .chapter { min-height: 90vh; }
