/* ─────────────────────────────────────────────────────────────
   Narrō — Programmatic DOOH, sequenced
   ───────────────────────────────────────────────────────────── */

:root {
  --ink: #0B0A10;
  --ink-2: #131119;
  --ink-3: #1C1925;
  --paper: #F4EFE6;
  --paper-2: #FBF8F2;
  --bone: #EFE8DA;
  --sodium: #FF5B1F;
  --sodium-ink: #D9420C;
  --uv: #6B4BFF;
  --glass: #8FE6FF;

  --f-sans: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --f-ad: "Big Shoulders Display", "Arial Narrow", sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1280px;
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--ink); color: var(--bone);
  font-family: var(--f-sans); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
::selection { background: var(--sodium); color: var(--ink); }
a { color: inherit; text-decoration: none; }
svg, canvas { display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--uv); outline-offset: 3px; border-radius: 6px; }

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

/* ── Section themes ───────────────────────────────────────── */
.light {
  --fg: var(--ink); --fg-2: rgba(11, 10, 16, .66); --fg-3: rgba(11, 10, 16, .48);
  --line: rgba(11, 10, 16, .1); --surface: var(--paper-2);
  background: var(--paper); color: var(--fg);
}
.dark {
  --fg: var(--bone); --fg-2: rgba(239, 232, 218, .68); --fg-3: rgba(239, 232, 218, .45);
  --line: rgba(239, 232, 218, .12); --surface: rgba(239, 232, 218, .04);
  background: var(--ink); color: var(--fg);
}
section { position: relative; }
main { background: var(--paper); }
.why + .tools { padding-top: 0; }

/* ── Type ─────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--sodium-ink);
}
.eyebrow--dark { color: var(--sodium); }
.h2 {
  margin: 0; font-weight: 600; letter-spacing: -.035em; line-height: 1.04;
  font-size: clamp(36px, 4.6vw, 62px); max-width: 18ch; text-wrap: balance;
}
.h3 { margin: 0; font-weight: 600; letter-spacing: -.025em; font-size: clamp(26px, 2.6vw, 34px); }
.h2 em, .hero__title em {
  font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.015em;
  color: var(--sodium-ink); padding-right: .04em;
}
.dark .h2 em, .hero__title em { color: var(--sodium); }
.lead { margin: 20px 0 0; max-width: 56ch; font-size: 19px; line-height: 1.55; color: var(--fg-2); }
.results__note { margin-top: 20px !important; }
.note { margin: 0; font-size: 13px; color: var(--fg-3); }
.link { color: var(--sodium-ink); font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 1px; transition: color .2s; }
.dark .link { color: var(--sodium); }
.link:hover { color: var(--uv); }

.head { margin-bottom: 56px; }
.head--split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.head--split .lead { margin: 0; }
.head--row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 96px 0 32px; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px; border-radius: 999px; border: 0;
  font-size: 15px; font-weight: 500; letter-spacing: -.005em; white-space: nowrap;
  transition: background .25s, color .25s, box-shadow .25s;
}
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--accent { background: var(--sodium); color: #fff; }
.btn--accent:hover { background: #FF6F38; box-shadow: 0 10px 30px -10px rgba(255, 91, 31, .7); }
.btn--light { background: var(--bone); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--ghost { color: var(--bone); box-shadow: inset 0 0 0 1px rgba(239, 232, 218, .3); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--bone); background: rgba(239, 232, 218, .06); }
.btn--sm { padding: 10px 16px; font-size: 14px; }

/* ── Nav ──────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px var(--gutter);
  transition: background .3s, box-shadow .3s;
}
.nav.is-scrolled { background: rgba(11, 10, 16, .74); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 rgba(239, 232, 218, .08); }
.nav__links { display: flex; gap: 30px; }
.nav__links a { font-size: 15px; color: rgba(239, 232, 218, .72); transition: color .2s; }
.nav__links a:hover { color: var(--bone); }

.wordmark { font-family: var(--f-serif); font-style: italic; font-size: 32px; line-height: 1; letter-spacing: -.02em; display: inline-flex; color: var(--bone); }
.wordmark--lg { font-size: 56px; }
.wordmark__o { position: relative; display: inline-block; }
.wordmark__o i { position: absolute; left: 58%; top: .14em; width: .34em; height: .055em; margin-left: -.17em; background: var(--sodium); border-radius: 99px; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px 0 0; overflow: hidden; background: var(--ink); color: var(--bone);
}
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 10, 16, .9) 0%, rgba(11, 10, 16, .6) 36%, rgba(11, 10, 16, 0) 62%),
    linear-gradient(to top, var(--ink) 0%, rgba(11, 10, 16, 0) 38%);
}
.hero__inner { position: relative; z-index: 2; }
.hero__title {
  margin: 0; max-width: 12ch;
  font-weight: 600; font-size: clamp(46px, 6.8vw, 100px); line-height: 1; letter-spacing: -.045em;
}
.hero__sub { margin: 26px 0 0; max-width: 52ch; font-size: 19px; color: rgba(239, 232, 218, .74); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--sodium); box-shadow: 0 0 0 0 rgba(255, 91, 31, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 91, 31, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 91, 31, 0); } }

.hero__facts {
  position: relative; z-index: 2; margin: 72px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.hero__facts::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 1px; background: rgba(239, 232, 218, .14); }
.hero__facts div { padding: 22px 0 30px; }
.hero__facts div + div { padding-left: 24px; border-left: 1px solid rgba(239, 232, 218, .1); }
.hero__facts dt { font-size: 28px; font-weight: 600; letter-spacing: -.03em; }
.hero__facts dd { margin: 2px 0 0; font-size: 14px; color: rgba(239, 232, 218, .6); }

/* ── Inventory ticker ─────────────────────────────────────── */
.inventory { padding: 72px 0 64px; border-bottom: 1px solid var(--line); }
.inventory__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.inventory__head .eyebrow { margin: 0; }
.inventory__lead { margin: 0; font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; letter-spacing: -.025em; }
.ticker { margin-top: 36px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker__row { display: flex; gap: 12px; width: max-content; animation: marquee 60s linear infinite; }
.ticker__row span {
  padding: 12px 20px; border-radius: 999px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 15px; font-weight: 500; white-space: nowrap;
}
.ticker__row span:nth-child(4n + 1)::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--sodium); margin-right: 10px; vertical-align: 1px; }
.ticker:hover .ticker__row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }

/* ── Cards ────────────────────────────────────────────────── */
.why, .tools, .formats, .results, .faq, .how, .signals { padding: clamp(88px, 11vw, 136px) 0; }
.results { padding-top: clamp(64px, 8vw, 96px); }
.cards { display: grid; gap: 20px; }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  position: relative; padding: 28px; border-radius: var(--radius);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .4s var(--ease), box-shadow .4s, opacity .8s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), 0 24px 50px -30px rgba(11, 10, 16, .35); }
.card h3, .tool h3, .format h3 { margin: 22px 0 10px; font-size: 21px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.card p, .tool p, .format p { margin: 0; font-size: 16px; color: var(--fg-2); }
.card__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 91, 31, .1); color: var(--sodium-ink); }
.card__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card--feature { background: var(--ink); color: var(--bone); --fg-2: rgba(239, 232, 218, .72); box-shadow: none; overflow: hidden; }
.card--feature > * { position: relative; z-index: 1; }
.card--feature::after { content: ""; position: absolute; right: -40%; bottom: -60%; width: 120%; height: 120%; background: radial-gradient(closest-side, rgba(107, 75, 255, .45), transparent); pointer-events: none; }
.card--feature .card__icon { background: rgba(255, 91, 31, .16); color: var(--sodium); }
.badge { position: absolute !important; top: 30px; right: 24px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--glass); }

.tools .cards { gap: 0; border-top: 1px solid var(--line); grid-template-columns: repeat(6, minmax(0, 1fr)); }
.tools .tool { grid-column: span 2; }
.tools .tool:nth-child(n + 4) { grid-column: span 3; }
.tool { padding: 32px 32px 40px 0; border-bottom: 1px solid var(--line); }
.tool:not(:nth-child(3n + 1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.tool__n { font-family: var(--f-mono); font-size: 12px; color: var(--sodium-ink); }
.tool h3 { margin-top: 16px; }

/* ── How / route ──────────────────────────────────────────── */
.how { overflow: hidden; }
.route { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 32px; align-items: stretch; }
.route__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; align-content: center; }
.step {
  position: relative; overflow: hidden;
  width: 100%; display: grid; grid-template-columns: 44px 1fr; gap: 12px; text-align: left;
  padding: 20px 20px 20px 18px; border: 0; border-radius: 14px; background: transparent;
  transition: background .3s;
}
.step::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--sodium); }
.step.is-active { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.step.is-active::after { animation: progress var(--dur, 5s) linear forwards; }
.route.is-paused .step.is-active::after { animation-play-state: paused; }
@keyframes progress { to { width: 100%; } }
.step:hover:not(.is-active) { background: rgba(239, 232, 218, .03); }
.step__n { font-family: var(--f-mono); font-size: 13px; color: var(--fg-3); padding-top: 3px; }
.step.is-active .step__n { color: var(--sodium); }
.step__body { display: grid; gap: 4px; }
.step__body b { font-size: 19px; font-weight: 600; letter-spacing: -.015em; }
.step__body span { font-size: 15px; color: var(--fg-2); }
.step:not(.is-active) .step__body span { display: none; }

.route__stage { position: relative; min-height: 460px; border-radius: 22px; overflow: hidden; background: radial-gradient(120% 120% at 70% 30%, #17122A 0%, var(--ink-2) 60%); box-shadow: inset 0 0 0 1px var(--line); }
.route__map { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-label { font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; fill: rgba(239, 232, 218, .38); }
.route__ghost { fill: none; stroke: rgba(239, 232, 218, .16); stroke-width: 2; stroke-dasharray: 3 7; }
.route__line { fill: none; stroke: url(#routeGrad); stroke-width: 4; stroke-linecap: round; transition: stroke-dashoffset 1.1s var(--ease); }
.node__halo { fill: rgba(239, 232, 218, .04); stroke: rgba(239, 232, 218, .16); transition: all .5s var(--ease); }
.node__core { fill: var(--ink-3); stroke: rgba(239, 232, 218, .4); stroke-width: 1.5; transition: all .4s; }
.node.is-on .node__core { fill: var(--sodium); stroke: var(--sodium); }
.node.is-on .node__halo { fill: rgba(255, 91, 31, .14); stroke: rgba(255, 91, 31, .55); }

.route__screen { position: absolute; right: 5%; top: 9%; bottom: 9%; display: flex; align-items: center; }
.screen {
  --sbg: linear-gradient(160deg, #6B4BFF, #2A0E7A); --sfg: var(--bone); --glow: rgba(107, 75, 255, .5);
  height: 100%; aspect-ratio: 9 / 15; border-radius: 10px; padding: 16px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--sbg); color: var(--sfg);
  box-shadow: 0 0 0 6px #050409, 0 0 0 7px rgba(239, 232, 218, .1), 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 80px -16px var(--glow);
  transition: background .5s, color .5s, box-shadow .5s;
}
.screen[data-theme="bone"] { --sbg: #EFE8DA; --sfg: #120A14; --glow: rgba(239, 232, 218, .35); }
.screen[data-theme="glass"] { --sbg: linear-gradient(170deg, #B9F2FF, #4FB8E8); --sfg: #08101E; --glow: rgba(143, 230, 255, .45); }
.screen[data-theme="sodium"] { --sbg: linear-gradient(170deg, #FF8A3D, #FF3D1F); --sfg: #120A14; --glow: rgba(255, 91, 31, .6); }
.screen__meta, .screen__foot { display: flex; justify-content: space-between; gap: 8px; font-family: var(--f-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.screen__line { margin: 0; font-family: var(--f-ad); font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 3vw, 42px); line-height: .92; transition: opacity .3s, transform .3s; }
.screen__line.is-out { opacity: 0; transform: translateY(8px); }
.screen__dots { display: flex; gap: 4px; }
.screen__dots i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .25; transition: opacity .3s; }
.screen__dots i.on { opacity: 1; }

/* ── Dynamic creative console ─────────────────────────────── */
.signals { background: linear-gradient(var(--ink), var(--ink-2)); }
.console { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); gap: 20px; }
.console__screen { position: relative; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line), 0 50px 100px -40px rgba(107, 75, 255, .35); }
.console__gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.console__creative { position: absolute; left: 6%; right: 6%; bottom: 12%; z-index: 2; }
.console__brand { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--bone); opacity: .85; margin-bottom: 12px; }
.console__head { margin: 0; max-width: 14ch; font-family: var(--f-ad); font-weight: 900; text-transform: uppercase; font-size: clamp(34px, 5vw, 84px); line-height: .88; color: var(--bone); text-shadow: 0 4px 40px rgba(0, 0, 0, .45); }
.console__head em { font-family: var(--f-serif); font-weight: 400; text-transform: none; color: var(--sodium); }
.console__sub { margin: 12px 0 0; font-family: var(--f-serif); font-style: italic; font-size: clamp(18px, 1.9vw, 28px); color: var(--bone); transition: opacity .4s, transform .4s; }
.console__sub.is-cut { opacity: 0; transform: translateY(8px); }
.console__creative.swap .console__head { animation: swapIn .6s var(--ease) both; }
.console__creative.swap .console__sub:not(.is-cut) { animation: swapIn .6s .05s var(--ease) both; }
@keyframes swapIn { from { opacity: 0; transform: translateY(12px); filter: blur(6px); } }
.console__bezel { position: absolute; inset: 0 0 auto; z-index: 2; display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(239, 232, 218, .72); background: linear-gradient(rgba(0, 0, 0, .35), transparent); }
.console__rec { white-space: nowrap; }
.console__rec i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #4BFF9C; margin-right: 6px; }

.console__panel { display: flex; flex-direction: column; gap: 26px; padding: 26px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.ctrl { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 14px; color: var(--fg-2); }
.ctrl legend { padding: 0; margin-bottom: 12px; }
.ctrl__row { display: flex; justify-content: space-between; }
.ctrl output { color: var(--bone); font-family: var(--f-mono); font-size: 13px; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); padding: 4px; border-radius: 999px; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { border: 0; background: transparent; padding: 9px 0; border-radius: 999px; font-size: 14px; color: var(--fg-2); transition: background .25s, color .25s; }
.seg button[aria-checked="true"] { background: var(--bone); color: var(--ink); font-weight: 500; }
.seg button:hover:not([aria-checked="true"]) { color: var(--bone); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: transparent; margin: 0; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--sodium) var(--p, 50%), rgba(239, 232, 218, .16) var(--p, 50%)); }
input[type="range"]::-moz-range-track { height: 3px; background: rgba(239, 232, 218, .16); }
input[type="range"]::-moz-range-progress { height: 3px; background: var(--sodium); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7.5px; border-radius: 50%; background: var(--bone); box-shadow: 0 0 0 4px rgba(255, 91, 31, .25); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: var(--bone); }
.log { flex: 1; min-height: 150px; padding: 16px; border-radius: 12px; background: #06050A; box-shadow: inset 0 0 0 1px var(--line); font-family: var(--f-mono); font-size: 11.5px; line-height: 1.8; color: #9FF5C1; overflow: hidden; }
.log div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.log .k { color: rgba(239, 232, 218, .45); }
.log .v { color: #FF9A5C; }

/* ── Formats ──────────────────────────────────────────────── */
.format__art {
  position: relative; aspect-ratio: 4 / 3; border-radius: 14px; padding: 20px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .5s var(--ease);
}
.format:hover .format__art { transform: translateY(-4px); }
.fa span { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.fa b { font-family: var(--f-ad); font-weight: 900; text-transform: uppercase; font-size: clamp(34px, 3.4vw, 50px); line-height: .88; }
.fa b i { font-family: var(--f-serif); font-weight: 400; text-transform: none; }
.fa::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .06) 0 1px, transparent 1px 3px); pointer-events: none; }
.fa--serial { background: linear-gradient(160deg, #6B4BFF, #1E0A5C); color: var(--bone); }
.fa--aside { background: var(--ink); color: var(--bone); }
.fa--aside i { color: var(--sodium); }
.fa--last { background: linear-gradient(170deg, #FF8A3D, #FF3D1F); color: var(--ink); }

/* ── Results ──────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 36px 28px 36px 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(44px, 5vw, 72px); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.stat small { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: .55em; letter-spacing: 0; color: var(--sodium-ink); margin-left: 2px; }
.stat p { margin: 12px 0 0; max-width: 28ch; font-size: 15px; color: var(--fg-2); }
.case { display: flex; flex-direction: column; gap: 12px; }
.case__art { aspect-ratio: 16 / 10; border-radius: 14px; margin-bottom: 6px; overflow: hidden; position: relative; transition: transform .5s var(--ease); }
.case:hover .case__art { transform: translateY(-4px); }
.case__art--a { background: radial-gradient(70% 90% at 80% 20%, #FF8A3D, transparent 60%), radial-gradient(60% 80% at 10% 100%, #6B4BFF, transparent 60%), var(--ink); }
.case__art--b { background: radial-gradient(70% 90% at 20% 10%, #8FE6FF, transparent 60%), radial-gradient(70% 80% at 90% 100%, #2A0E7A, transparent 65%), #1A2440; }
.case__art--c { background: radial-gradient(60% 70% at 70% 30%, #EFE8DA, transparent 60%), radial-gradient(80% 90% at 0% 100%, #FF5B1F, transparent 55%), #2A1B3D; }
.case__art::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .14) 0 1px, transparent 1px 28px), repeating-linear-gradient(0deg, rgba(0, 0, 0, .14) 0 1px, transparent 1px 28px); mix-blend-mode: overlay; }
.case__tags { margin: 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.case h3 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.case .link { align-self: flex-start; margin-top: 4px; font-size: 15px; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq { border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 56px; }
.faq .head { position: sticky; top: 110px; align-self: start; margin: 0; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: 19px; font-weight: 500; letter-spacing: -.015em; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--sodium-ink); }
.faq summary i { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, transform .4s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -.75px 0 0 -5.5px; background: currentColor; transition: transform .4s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--ink); color: var(--paper); transform: rotate(180deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { margin: 0; padding: 0 56px 26px 0; color: var(--fg-2); }

/* ── CTA ──────────────────────────────────────────────────── */
.cta { padding: clamp(96px, 12vw, 150px) 0; overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -10%; top: -30%; width: 70%; height: 140%; background: radial-gradient(closest-side, rgba(255, 91, 31, .2), rgba(107, 75, 255, .1) 55%, transparent 75%); pointer-events: none; }
.cta__inner { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: end; }
.cta .h2 { max-width: 20ch; }
.cta__form { display: grid; gap: 14px; padding: 28px; border-radius: 20px; background: rgba(239, 232, 218, .05); box-shadow: inset 0 0 0 1px var(--line); }
.cta__form label { display: grid; gap: 6px; font-size: 13px; color: var(--fg-2); }
.cta__form input { padding: 14px 16px; border-radius: 12px; border: 0; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px var(--line); color: var(--bone); font: inherit; font-size: 16px; outline: none; transition: box-shadow .2s; }
.cta__form input:focus { box-shadow: inset 0 0 0 1px var(--sodium); }
.cta__form input::placeholder { color: rgba(239, 232, 218, .35); }
.cta__form .btn { justify-content: center; margin-top: 6px; }
.cta__msg { margin: 0; min-height: 1.4em; font-size: 14px; color: var(--glass); }

/* ── Footer ───────────────────────────────────────────────── */
.footer { padding: 72px 0 32px; border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; }
.footer__brand p { margin: 14px 0 0; color: var(--fg-2); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__cols h4 { margin: 0 0 14px; font-family: var(--f-mono); font-size: 11px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
.footer__cols a { display: block; padding: 4px 0; color: var(--fg-2); transition: color .2s; }
.footer__cols a:hover { color: var(--sodium); }
.footer__base { display: flex; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--fg-3); }

/* ── Reveal ───────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow .4s; }
.js .reveal.is-in { opacity: 1; transform: none; }
.cards .reveal:nth-child(2) { transition-delay: .06s; }
.cards .reveal:nth-child(3) { transition-delay: .12s; }
.cards .reveal:nth-child(4) { transition-delay: .18s; }
.js .card.reveal.is-in:hover { transform: translateY(-4px); transition-delay: 0s; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .head--split, .route, .console, .faq__grid, .cta__inner, .footer__top { grid-template-columns: 1fr; }
  .head--split { gap: 20px; }
  .route__stage { min-height: 0; aspect-ratio: 800 / 520; }
  .faq .head { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .lead, .hero__sub { font-size: 17px; }
  .hero { padding-top: 110px; }
  .hero__shade { background: linear-gradient(to top, var(--ink) 25%, rgba(11, 10, 16, .65) 65%, rgba(11, 10, 16, .2) 100%); }
  .hero__facts { margin-top: 48px; }
  .hero__facts div { padding: 16px 0 20px; }
  .hero__facts div + div { padding-left: 14px; }
  .hero__facts dt { font-size: 22px; }
  .hero__facts dd { font-size: 12.5px; line-height: 1.35; }
  .cards--4, .cards--3 { grid-template-columns: 1fr; }
  .tool, .tool:not(:nth-child(3n + 1)) { padding: 28px 0 32px; border-left: 0; }
  .tools .cards { grid-template-columns: 1fr; }
  .tools .tool, .tools .tool:nth-child(n + 4) { grid-column: auto; }
  .route__screen { right: 4%; top: 7%; bottom: 7%; }
  .screen { padding: 10px; box-shadow: 0 0 0 3px #050409, 0 20px 40px rgba(0, 0, 0, .6); }
  .screen__line { font-size: clamp(16px, 5vw, 28px); }
  .screen__meta, .screen__foot { font-size: 7px; }
  .console__screen { aspect-ratio: 4 / 5; }
  .console__head { font-size: clamp(32px, 10vw, 56px); }
  .console__bezel { font-size: 9.5px; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat, .stat:nth-child(3) { padding: 26px 0; border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--line); }
  .head--row { flex-direction: column; margin-top: 64px; }
  .faq summary { font-size: 17px; }
  .faq details p { padding-right: 0; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .footer__base { flex-direction: column; }
  .nav .btn--sm { padding: 9px 14px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
