/* Suprlative landing page.
   Look: near-black, lit by one warm light (industrial-robot orange), Geist for words and Geist Mono for
   small uppercase labels. Illustrations are smooth vector line art; the one detail each is about is lit.
   Status keeps its own colours in the simulation: failure (red), warning (amber), verified fix (green). */
:root {
  color-scheme: dark;
  --bg: #050506;
  --bg-2: #0a0a0c;
  --panel: rgb(255 255 255 / .03);
  --line: rgb(255 255 255 / .08);
  --line-2: rgb(255 255 255 / .14);
  --text: #f4f4f5;
  --text-2: #a1a1aa;
  --text-3: #6b6b75;
  --accent: #ff6a1a;
  --accent-2: #ffb066;
  --accent-soft: rgb(255 106 26 / .16);
  --bad: #ff5f57;
  --warn: #f5a524;
  --good: #3dd68c;
  --ink: var(--text); /* the 404 page and the logo masks use --ink */
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--text-2); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3 { margin: 0; color: var(--text); font-weight: 400; }
p { margin: 0; }
strong { color: var(--text); font-weight: 500; }
a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
a:hover { text-decoration-color: var(--text); }
::selection { background: rgb(255 106 26 / .35); color: var(--text); }
canvas, svg { display: block; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--text); color: var(--bg); padding: 8px 12px; border-radius: 6px; }
.skip:focus { top: 8px; }
.defs { position: absolute; width: 0; height: 0; }
.wrap { max-width: 1248px; margin: 0 auto; padding: 0 24px; }

/* Placeholders: visible ones are outlined so nobody mistakes them for real claims. */
.ph { outline: 1px dashed var(--warn); outline-offset: 2px; }
[hidden] { display: none !important; }
.show-placeholders [data-placeholder][hidden] { display: revert !important; }

/* small uppercase labels, like "( The problem )" */
.label { margin-bottom: 18px; font: 400 11px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.tag { display: inline-block; padding: 2px 7px; border-radius: 4px; background: var(--text); color: var(--bg); font: 500 10px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 18px; border: 1px solid transparent; border-radius: 8px;
  font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: background-color .25s, border-color .25s, box-shadow .35s, transform .15s var(--ease); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn-lg { height: 48px; padding: 0 22px; }
.btn-sm { height: 34px; padding: 0 14px; font-size: 11px; }
.btn-light { background: var(--text); color: var(--bg); }
.btn-light:hover { background: #fff; box-shadow: 0 0 0 1px rgb(255 106 26 / .5), 0 10px 40px -8px rgb(255 106 26 / .6); }
.btn-dark { background: rgb(255 255 255 / .04); color: var(--text); border-color: var(--line-2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-dark:hover { border-color: rgb(255 255 255 / .32); }
.chev { font: 400 16px/1 var(--sans); transition: transform .25s var(--ease); }
.btn:hover .chev { transform: translateX(3px); }

/* ---------------------------------------------------------------- nav: a floating glass bar */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); padding: 12px 24px 0; }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 52px; max-width: 1200px; margin: 0 auto; padding: 0 9px 0 18px;
  border: 1px solid var(--line-2); border-radius: 12px; background: rgb(10 10 12 / .62);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); transition: box-shadow .3s, background-color .3s; }
.nav.is-scrolled .nav-inner { background: rgb(10 10 12 / .78); box-shadow: 0 16px 40px -16px rgb(0 0 0 / .8); }
.brand { display: inline-flex; line-height: 0; padding: 8px 0; }
/* The logo is the supplied lockup (mark + wordmark) used as a mask, so it takes the text colour. */
.logo { display: block; height: 26px; aspect-ratio: 1148 / 218; background: var(--text);
  -webkit-mask: url(../img/logo-v3.png) center / contain no-repeat; mask: url(../img/logo-v3.png) center / contain no-repeat; }
.nav-links { display: flex; gap: 32px; margin: 0 auto; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; }
.nav-links a { color: var(--text-2); text-decoration: none; white-space: nowrap; }
.nav-links a:hover { color: var(--text); }
.nav-end { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; width: 34px; height: 34px; border: 1px solid var(--line-2); border-radius: 8px; background: none; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { width: 15px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.sheet { position: fixed; top: calc(var(--nav-h) + 4px); left: 12px; right: 12px; padding: 8px 18px; border: 1px solid var(--line-2); border-radius: 12px;
  background: rgb(10 10 12 / .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transition: opacity .25s, transform .35s var(--ease); }
@starting-style { .sheet { opacity: 0; transform: translateY(-8px); } }
.sheet nav { display: flex; flex-direction: column; }
.sheet nav a { color: var(--text); font-size: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.sheet nav a:last-child { border-bottom: 0; }

/* ---------------------------------------------------------------- hero
   Runs up behind the nav. On desktop it pins (.is-pinned): the headline blurs away and the simulated
   shift slides in (scenes.js). overflow: clip, not hidden, so position: sticky keeps working. */
.hero { position: relative; margin-top: calc(-1 * var(--nav-h)); overflow: clip; }
.hero-pin { position: relative; padding: calc(var(--nav-h) + 80px) 0 96px; }
.hero-cloud { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, rgb(0 0 0 / .1), #000 58%), linear-gradient(to bottom, #000 70%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, rgb(0 0 0 / .1), #000 58%), linear-gradient(to bottom, #000 70%, transparent); mask-composite: intersect; }
.hero-glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(38% 46% at 68% 58%, rgb(255 106 26 / .2), transparent 70%), radial-gradient(26% 34% at 88% 18%, rgb(255 176 102 / .1), transparent 70%);
  animation: breathe 10s ease-in-out infinite alternate; }
@keyframes breathe { from { opacity: .7; transform: scale(.97); } to { opacity: 1; transform: scale(1.03); } }
.hero-copy { position: relative; will-change: transform, opacity, filter; animation: rise 1s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }
.sq { width: 7px; height: 7px; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.hero h1 { margin-top: 26px; max-width: 11.5em; font-size: clamp(44px, 6.4vw, 92px); line-height: .98; letter-spacing: -0.045em; }
.lede { margin-top: 28px; max-width: 34em; font-size: 18px; line-height: 1.6; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.works { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 56px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.works b { font-weight: 500; color: var(--text-2); }

.film-wrap { position: relative; display: grid; grid-template-columns: 4fr 8fr; gap: 56px; align-items: center; margin-top: 120px; }
.film-title { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.08; letter-spacing: -0.035em; }
.film-copy > p:not(.proof) { margin-top: 18px; font-size: 16px; }
.proof { margin-top: 24px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }

.hero.is-pinned { height: 270vh; }
.hero.is-pinned .hero-pin { position: sticky; top: 0; height: 100vh; padding: 0; overflow: clip; }
.hero.is-pinned .hero-copy { position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + 11vh); }
.hero.is-pinned .film-wrap { pointer-events: none; position: absolute; left: 0; right: 0; top: var(--nav-h); bottom: 24px; margin: 0 auto; align-content: center; }
.hero.is-pinned .film { opacity: 0; width: min(100%, calc((100vh - var(--nav-h) - 250px) * 1.6)); justify-self: end; transform-origin: 50% 100%; will-change: transform, opacity; }
.hero.is-pinned .film-copy { opacity: 0; }

/* captions and the scroll hint only exist while a scene is pinned */
.scroll-hint { display: none; position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); margin: 0; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); text-align: center; white-space: nowrap; pointer-events: none; }
.is-pinned .scroll-hint { display: block; }
.scroll-hint::after { content: ""; display: block; width: 1px; height: 30px; margin: 12px auto 0; background: linear-gradient(var(--accent), transparent); transform-origin: top; animation: drip 1.9s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------------------------------------------------------------- the simulated shift (the "film") */
.sim { position: relative; margin: 0; border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; background: rgb(12 12 14 / .9);
  box-shadow: 0 40px 100px -30px rgb(0 0 0 / .9), 0 60px 160px -60px rgb(255 106 26 / .55), inset 0 1px 0 rgb(255 255 255 / .06); }
.sim-head { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); border-bottom: 1px solid var(--line); }
.sim-head > span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.rec { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.sim-map { position: relative; background: #08080a; }
.sim-map canvas { width: 100%; height: auto; aspect-ratio: 16 / 10; cursor: crosshair; touch-action: pan-y; }
.sim-zone { position: absolute; padding: 0 4px; font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.3; color: var(--text-3); pointer-events: none; }
.sim-tag { position: absolute; right: 12px; bottom: 12px; padding: 4px 7px; border: 1px solid var(--line-2); border-radius: 5px; background: rgb(8 8 10 / .8); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); pointer-events: none; }
.sim-tip { position: absolute; transform: translate(-50%, calc(-100% - 14px)); padding: 4px 8px; border: 1px solid var(--line-2); border-radius: 6px; background: #141417; font-size: 11px; color: var(--text); white-space: nowrap; pointer-events: none; }
.sim-feed { display: grid; gap: 10px; padding: 14px 16px 16px; border-top: 1px solid var(--line); }
.sim-cost { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; }
.sim-cost > div { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.sim-cost .label { margin: 0; font-size: 10.5px; }
.sim-cost strong { font-size: 24px; font-weight: 400; letter-spacing: -0.02em; }
.assume { font-size: 11px; color: var(--text-3); }
.badge { padding: 2px 8px; border: 1px solid currentColor; border-radius: 999px; font-size: 11px; color: var(--good); }
.sim-status { display: flex; align-items: baseline; gap: 10px; min-height: 22px; font-size: 14px; color: var(--text-2); }
.sim-status::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); transform: translateY(-1px); }
.sim-status[data-kind="found"], .sim-status[data-kind="verified"] { color: var(--text); }
.sim-status[data-kind="found"]::before { background: var(--warn); }
.sim-status[data-kind="fix"]::before { background: var(--text); }
.sim-status[data-kind="verified"]::before { background: var(--good); }
.sim-incidents { display: grid; gap: 4px; min-height: calc(3 * 28px + 2 * 4px); align-content: start; margin: 0; padding: 0; list-style: none; font-size: 11.5px; }
.inc { display: flex; flex-wrap: wrap; gap: 0 12px; align-items: center; min-height: 28px; padding: 4px 10px; border-left: 2px solid var(--text-3); border-radius: 6px; background: rgb(255 255 255 / .03); color: var(--text-2); animation: slide .35s var(--ease); }
.inc time { color: var(--text-3); }
.inc span:nth-of-type(1) { color: var(--text); }
.inc--bad { border-left-color: var(--bad); }
.inc--warn { border-left-color: var(--warn); }
@keyframes slide { from { opacity: 0; transform: translateX(12px); } }

/* ---------------------------------------------------------------- built for: names drift past */
.built { padding: 72px 0 24px; text-align: center; }
.marquee { display: flex; overflow: hidden; margin-top: 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.built-list { flex: none; display: flex; align-items: center; gap: 56px; margin: 0; padding: 0 56px 0 0; list-style: none; animation: marquee 42s linear infinite; }
.marquee:hover .built-list { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.built-list li { display: flex; align-items: center; gap: 56px; font-size: clamp(24px, 2.6vw, 36px); letter-spacing: -0.03em; color: var(--text-3); white-space: nowrap; transition: color .3s; }
.built-list li::after { content: ""; width: 6px; height: 6px; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.built-list li:hover { color: var(--text); }
.logos { margin-top: 24px; padding: 16px; color: var(--text-3); font-size: 13px; }

/* ---------------------------------------------------------------- sections and cards */
.section { padding: 120px 24px 40px; }
.section-title { max-width: 18em; font-size: clamp(34px, 4.2vw, 60px); line-height: 1.04; letter-spacing: -0.04em; }
.section-sub { margin-top: 22px; max-width: 36em; font-size: 18px; }
.plain { margin-top: 12px; padding-left: 14px; border-left: 1px solid var(--accent); color: var(--text); font-size: 15px; }
.note { margin-top: 12px; font-size: 13px; color: var(--text-3); }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.card { padding: 12px 12px 24px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, rgb(255 255 255 / .035), rgb(255 255 255 / .01));
  transition: border-color .35s, box-shadow .35s, transform .35s var(--ease); }
.card:hover { border-color: rgb(255 106 26 / .35); box-shadow: 0 30px 70px -40px rgb(255 106 26 / .6); }
.card h3 { margin: 22px 8px 0; font-size: 19px; letter-spacing: -0.02em; }
.card > p { margin: 8px 8px 0; font-size: 15px; }
.card .tag { margin: 20px 8px 0; }
.card .tag + h3 { margin-top: 12px; }

/* the vector illustrations */
.art { position: relative; aspect-ratio: 400 / 280; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; color: var(--text-2);
  background: radial-gradient(70% 70% at 50% 40%, rgb(255 255 255 / .035), transparent), var(--bg-2); }
.art svg { width: 100%; height: 100%; }
.art .ln { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.art .dim { opacity: .4; }
.art .ring { fill: none; stroke: var(--accent); stroke-opacity: .4; stroke-width: 1.2; stroke-dasharray: 3 4; }
.art .ring-hot { fill: none; stroke: var(--accent); stroke-opacity: .7; stroke-width: 1.2; }
.art .hot, .art .bar-hot { fill: var(--accent); }
.art .card-r { fill: rgb(255 255 255 / .035); stroke: rgb(255 255 255 / .18); stroke-width: 1; }
.art .bar { fill: rgb(255 255 255 / .3); }
.art .bar.dim { fill: rgb(255 255 255 / .12); opacity: 1; }
.art .pill-hot { fill: rgb(255 106 26 / .14); stroke: var(--accent); stroke-width: 1.2; }
.art .t-hot { fill: var(--accent); font: 500 14px var(--mono); }
.art .t-big { fill: var(--accent); font: 300 72px var(--sans); }
.art .box-hot { fill: rgb(255 106 26 / .08); stroke: var(--accent); stroke-width: 1.4; }
.art .edge { stroke: rgb(255 106 26 / .38); stroke-width: 1; }
.art .node { fill: rgb(255 255 255 / .75); }
.art .node.dim { fill: rgb(255 255 255 / .25); opacity: 1; }
.art .dash-hot { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 5 5; }
.art .trail { fill: none; stroke: rgb(255 255 255 / .5); stroke-width: 1.8; stroke-dasharray: 1 7; stroke-linecap: round; }
.art .tick { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.art .t { fill: currentColor; opacity: .6; font: 500 12px var(--mono); letter-spacing: .06em; }
.art .dash { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-dasharray: 4 5; opacity: .5; }
.art .area-hot { fill: rgb(255 106 26 / .14); stroke: var(--accent); stroke-width: 1.2; stroke-dasharray: 4 4; }
.art .pill-good { fill: rgb(61 214 140 / .12); stroke: var(--good); stroke-width: 1.2; }
.art .t-good { fill: var(--good); font: 500 11.5px var(--mono); letter-spacing: .06em; }

/* ---------------------------------------------------------------- how it works
   Default: the four steps as cards. Pinned: the mark, the exploded stack of glass layers and their callouts. */
.how { --ps: min(320px, 33vh); position: relative; padding: 120px 0 40px; }
.how-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
.how-progress { font-size: 12px; letter-spacing: .12em; color: var(--text-3); }
.how-progress [data-how-count] { color: var(--accent); }
.stack-stage, .callouts, .how-progress { display: none; }
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 56px; list-style: none; }

.how.is-pinned { height: 580vh; padding: 0; }
.how.is-pinned .scene-pin { position: sticky; top: 0; height: 100vh; overflow: clip; }
.how.is-pinned .how-head { position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + 28px); z-index: 2; opacity: 0; }
.how.is-pinned .how-progress { display: block; }
.how.is-pinned .steps { display: none; }
.how.is-pinned .stack-stage { display: block; position: absolute; inset: 0; perspective: 1800px; }
/* the frame the mark is drawn in: rounded, with small handles and telemetry readouts in the corners */
.frame { position: absolute; left: 50%; top: 56%; width: calc(var(--ps) * 1.45); aspect-ratio: 1; transform: translate(-50%, -50%); border: 1px solid var(--line-2); border-radius: 24px;
  background: radial-gradient(closest-side, rgb(255 106 26 / .09), transparent); }
.handle { position: absolute; width: 7px; height: 7px; background: var(--text); border-radius: 1px; }
.h-l { left: -4px; top: calc(50% - 3.5px); } .h-r { right: -4px; top: calc(50% - 3.5px); } .h-t { top: -4px; left: calc(50% - 3.5px); } .h-b { bottom: -4px; left: calc(50% - 3.5px); }
.frame-g { position: absolute; font-size: 10px; letter-spacing: .1em; color: var(--text-3); }
.g1 { left: 20px; top: 16px; } .g2 { right: 20px; top: 16px; } .g3 { left: 20px; bottom: 16px; } .g4 { right: 20px; bottom: 16px; }
.stack-world { position: absolute; left: 50%; top: 56%; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.plate { position: absolute; left: calc(var(--ps) / -2); top: calc(var(--ps) / -2); width: var(--ps); height: var(--ps); border-radius: 18px; opacity: 0;
  border: 1px solid rgb(255 255 255 / .16); background: linear-gradient(160deg, rgb(30 30 34 / .95), rgb(12 12 14 / .95)); box-shadow: inset 0 1px 0 rgb(255 255 255 / .08);
  transition: border-color .4s, box-shadow .4s; }
.plate .art { position: absolute; inset: 7%; aspect-ratio: auto; border: 0; background: none; color: var(--text); }
.plate.is-active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 90px -8px rgb(255 106 26 / .75); }
/* the top plate: first a glowing mark drawn on, then a light tile with the mark cut into it */
.plate--mark { opacity: 1; border: 0; background: none; box-shadow: none; }
.plate--mark::before { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: var(--a, 0);
  background: linear-gradient(145deg, #f7f7f8, #a7abb2); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .6), 0 50px 90px -30px rgb(0 0 0 / .9); }
.mark-halo { position: absolute; inset: 0; opacity: calc(1 - var(--a, 0)); filter: drop-shadow(0 0 14px rgb(255 106 26 / .9)) drop-shadow(0 0 40px rgb(255 106 26 / .45)); }
.mark { position: absolute; inset: 22%; -webkit-mask: url(../img/mark-v1.png) center / contain no-repeat; mask: url(../img/mark-v1.png) center / contain no-repeat; }
.mark-glow { background: linear-gradient(120deg, #ffd0a0, var(--accent) 55%, #ff3d00); clip-path: inset(0 calc((1 - var(--q, 1)) * 100%) 0 0); }
.mark-cut { background: #0b0b0d; opacity: var(--a, 0); }
.wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.wires line { stroke: rgb(255 106 26 / .75); stroke-width: 1; stroke-dasharray: 3 4; opacity: 0; }
.wires circle { fill: var(--accent); opacity: 0; }
.how.is-pinned .callouts { display: block; position: absolute; inset: 0; max-width: 1248px; margin: 0 auto; pointer-events: none; }
.callout { position: absolute; width: min(310px, 25vw); padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 14px; opacity: 0;
  background: rgb(14 14 17 / .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.callout[data-layer="3"] { right: 24px; top: 22%; }
.callout[data-layer="2"] { left: 24px; top: 36%; }
.callout[data-layer="1"] { right: 24px; top: 54%; }
.callout[data-layer="0"] { left: 24px; top: 68%; }
.callout-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.callout h3 { margin-top: 12px; font-size: 17px; letter-spacing: -0.02em; }
.callout > p:last-child { margin-top: 6px; font-size: 13.5px; line-height: 1.55; }

/* ---------------------------------------------------------------- what your team sees
   Default: cards with their illustrations. Pinned: one big illustration that changes and a stacking deck. */
.deck { position: relative; padding: 120px 0 40px; }
.deck-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.deck-tabs { display: none; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; }
.deck-tabs li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--text-3); transition: color .3s, border-color .3s; }
.deck-tabs li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--text-3); transition: background-color .3s, box-shadow .3s; }
.deck-tabs li.is-active { color: var(--text); border-color: rgb(255 106 26 / .5); }
.deck-tabs li.is-active::before { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.deck-stage { display: none; }
.fig { position: absolute; left: 22px; bottom: 18px; z-index: 1; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.deck-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 56px; }
.deck-card { padding: 12px 12px 26px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, rgb(20 20 23), rgb(12 12 14)); }
.deck-card .tag { margin: 20px 8px 0; }
.deck-card h3 { margin: 12px 8px 0; font-size: 20px; letter-spacing: -0.02em; }
.deck-card > p { margin-left: 8px; margin-right: 8px; }
.deck-card > p:not(.plain):not(.note) { margin-top: 8px; }

.deck.is-pinned { height: 470vh; padding: 0; }
.deck.is-pinned .scene-pin { position: sticky; top: 0; height: 100vh; padding-top: var(--nav-h); display: flex; flex-direction: column; justify-content: center; gap: 40px; overflow: clip; }
.deck.is-pinned .deck-head, .deck.is-pinned .deck-body { width: 100%; }
.deck.is-pinned .deck-tabs { display: flex; }
.deck.is-pinned .deck-body { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; }
.deck.is-pinned .deck-stage { display: block; position: relative; aspect-ratio: 400 / 280; width: min(100%, calc(58vh * 400 / 280)); border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden;
  background: radial-gradient(60% 60% at 50% 45%, rgb(255 106 26 / .08), transparent), var(--bg-2); box-shadow: 0 50px 120px -50px rgb(255 106 26 / .4); }
.deck-stage .art { position: absolute; inset: 4%; aspect-ratio: auto; border: 0; background: none; opacity: 0; will-change: opacity, transform; }
.deck-stage .art:first-child { opacity: 1; }
.deck.is-pinned .deck-cards { display: block; position: relative; height: min(330px, 44vh); margin: 0; }
.deck.is-pinned .deck-card { position: absolute; left: 0; right: 0; top: 0; padding: 28px 30px 34px; transform-origin: 50% 100%; box-shadow: 0 40px 80px -30px rgb(0 0 0 / .9); }
.deck.is-pinned .card-art { display: none; }
.deck.is-pinned .deck-card .tag { margin: 0; }
.deck.is-pinned .deck-card h3 { margin: 18px 0 0; font-size: 28px; }
.deck.is-pinned .deck-card > p { margin-left: 0; margin-right: 0; }
.deck.is-pinned .deck-card > p:not(.plain):not(.note) { margin-top: 10px; font-size: 17px; }
.deck-card.is-top { border-color: rgb(255 106 26 / .4); }

/* ---------------------------------------------------------------- benchmarks */
.bench { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.bench-card { display: grid; gap: 16px; align-content: start; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, rgb(255 255 255 / .035), rgb(255 255 255 / .01)); }
.bench-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--text); font-size: 15px; }
.bench-big { font-size: 34px; font-weight: 300; letter-spacing: -0.04em; white-space: nowrap; }
.bench-sub { margin-top: -10px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.meter { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; font-size: 13px; }
.meter b { font-weight: 400; font-size: 12px; color: var(--text); }
.meter i { grid-column: 1 / -1; position: relative; height: 6px; border-radius: 3px; background: rgb(255 255 255 / .07); }
.meter i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); border-radius: inherit; background: rgb(255 255 255 / .45); transition: width 1.6s var(--ease) .25s; }
.meter--lit i::after { background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 14px rgb(255 106 26 / .6); }
.meter--lit i::before { content: ""; position: absolute; left: 0; top: -4px; bottom: -4px; width: 2px; border-radius: 1px; background: var(--accent); }
.motion .bench-card:not(.in) .meter i::after { width: 0; }
.footnote { margin-top: 24px; max-width: 44em; font-size: 13px; color: var(--text-3); }

/* sample pilot report link */
.report-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; }
.report-row .note { margin: 0; }

/* Ask: one question to the simulated site */
.ask-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.ask-panel { margin: 0; border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; background: rgb(12 12 14 / .9);
  box-shadow: 0 50px 120px -60px rgb(255 106 26 / .45), inset 0 1px 0 rgb(255 255 255 / .06); }
.ask-head, .ask-foot { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.ask-head { border-bottom: 1px solid var(--line); }
.ask-foot { border-top: 1px solid var(--line); }
.ask-site { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); }
.dot-sim { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); }
.ask-q { margin: 22px 18px 0 auto; max-width: 80%; width: fit-content; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 14px 14px 4px 14px; background: rgb(255 255 255 / .05); color: var(--text); }
.ask-a { padding: 18px 18px 22px; }
.ask-a > p:first-child { color: var(--text); }
.cites { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.cite { padding: 3px 8px; border: 1px solid rgb(255 106 26 / .45); border-radius: 6px; font-size: 11px; color: var(--accent-2); background: rgb(255 106 26 / .06); }
.cite-more { border-color: var(--line-2); color: var(--text-3); background: none; }
.ask-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.ask-facts > div { display: grid; gap: 8px; align-content: start; padding: 14px; border: 1px solid var(--line); border-radius: 10px; }
.verdict { justify-self: start; padding: 4px 10px; border: 1px solid var(--good); border-radius: 999px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--good); background: rgb(61 214 140 / .1); }
.ask-num { font-size: 26px; font-weight: 400; letter-spacing: -0.03em; color: var(--text); }
.ask-meta { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }

/* docs pages: a reading column, numbered steps, code with copy buttons */
.docs { max-width: 880px; padding-top: 72px; padding-bottom: 96px; }
.docs h1.section-title { font-size: clamp(34px, 4.6vw, 56px); }
.docs .plain { margin-top: 18px; }
.docs-steps { display: grid; gap: 44px; margin: 56px 0 0; padding: 0; list-style: none; }
.docs-steps > li { min-width: 0; padding-top: 28px; border-top: 1px solid var(--line); } /* long code lines scroll inside their box, not the page */
.docs-steps h2, .docs-h2 { margin-top: 14px; font-size: 24px; letter-spacing: -0.02em; }
.docs-steps p, .docs-list { margin-top: 12px; }
.docs-steps b { color: var(--text); font-weight: 500; }
.docs-list, .prompts { display: grid; gap: 8px; padding-left: 20px; }
.prompts { margin-top: 12px; color: var(--text); }
.prompts li::marker, .docs-list li::marker { color: var(--accent); }
.code-block { position: relative; max-width: 100%; overflow: hidden; margin-top: 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg-2); }
.code { margin: 0; padding: 18px 20px; padding-right: 96px; overflow-x: auto; font-size: 13.5px; line-height: 1.7; color: var(--text); white-space: pre; }
.code-block .copy-btn { position: absolute; top: 10px; right: 10px; }
.slot { color: var(--accent-2); }
.inline { padding: 1px 6px; border: 1px solid var(--line); border-radius: 5px; font-size: .9em; color: var(--text); }
.docs-h2 { margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--line); }
.tools { display: grid; margin: 20px 0 0; border-top: 1px solid var(--line); }
.tools > div { display: grid; grid-template-columns: 200px 1fr; gap: 6px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.tools dt { font-size: 13px; color: var(--accent-2); }
.tools dd { margin: 0; font-size: 15px; }
.docs-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 72px; padding: 24px; border: 1px solid var(--line-2); border-radius: 14px; color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--text); }

/* logos of the tools a feature works with: small monochrome marks beside the name */
/* logos are in their brand colours (set in the sprite); chips keep the site's quiet frame around them */
.brands { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.card .brands { margin: 18px 8px 0; }
/* in the features grid every card's logo row sits on the same line, at the bottom of the card */
#more .card { display: flex; flex-direction: column; }
#more .card .brands { margin-top: auto; padding-top: 20px; }
.brand-chip { display: inline-flex; align-items: center; gap: 9px; height: 36px; padding: 0 14px 0 11px; border: 1px solid var(--line-2); border-radius: 999px;
  background: rgb(255 255 255 / .03); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text); white-space: nowrap; }
.brand-chip svg { width: 19px; height: 19px; }
.works .lg { width: 17px; height: 17px; margin-right: 8px; }
.works b { display: inline-flex; align-items: center; }
.lg-h { display: inline-block; width: 22px; height: 22px; margin-right: 12px; vertical-align: -3px; fill: var(--text); }

/* integrations: recordings in, Suprlative in the middle, answers out */
.flow { display: grid; grid-template-columns: 1fr 64px minmax(240px, .8fr) 64px 1fr; align-items: center; margin-top: 56px; }
.flow-col { display: grid; gap: 12px; align-self: stretch; align-content: start; } /* both columns start at the top, so their headings line up */
.flow-h { margin-bottom: 2px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.flow-item { display: grid; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 14px;
  background: linear-gradient(180deg, rgb(255 255 255 / .035), rgb(255 255 255 / .01)); transition: border-color .3s; }
.flow-item:hover { border-color: var(--line-2); }
.flow-logos { display: flex; gap: 10px; }
.flow-logos svg { width: 26px; height: 26px; }
.flow-item h3 { font-size: 17px; letter-spacing: -0.02em; }
.flow-item p { margin-top: 4px; font-size: 14px; }
/* the links between the columns: an orange dashed line that runs towards the right */
.flow-link { position: relative; height: 2px; margin: 0 10px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px); opacity: .8; animation: flowing 1.2s linear infinite; }
.flow-link::after { content: ""; position: absolute; right: -2px; top: -5px; border-left: 8px solid var(--accent); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
@keyframes flowing { to { background-position: 12px 0; } }
.flow-core { padding: 30px 24px; border: 1px solid rgb(255 106 26 / .45); border-radius: 18px; text-align: center;
  background: radial-gradient(80% 70% at 50% 0%, rgb(255 106 26 / .12), transparent), var(--bg-2); box-shadow: 0 0 90px -24px rgb(255 106 26 / .55); }
.flow-core .logo { margin: 0 auto; height: 28px; }
.flow-core > p { margin-top: 16px; color: var(--text); font-size: 15px; }
.flow-ai { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); text-align: left; font-size: 13.5px; }
.flow-ai svg { flex: none; width: 22px; height: 22px; }
.flow-ai b { color: var(--text); font-weight: 500; }

/* comparison */
.compare { width: 100%; margin-top: 48px; border-collapse: collapse; }
.compare th { padding: 14px 22px; border-bottom: 1px solid var(--line-2); text-align: left; font: 400 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.compare td { width: 50%; padding: 20px 22px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 16px; }
.compare td:first-child, .compare th:first-child { padding-left: 0; }
.compare td:last-child, .compare th:last-child { color: var(--text); border-left: 1px solid rgb(255 106 26 / .35); background: linear-gradient(90deg, rgb(255 106 26 / .07), transparent 70%); } /* our column is the lit one */
.compare th:last-child::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; background: var(--accent); box-shadow: 0 0 8px var(--accent); transform: translateY(-1px); }

/* ---------------------------------------------------------------- use cases, over a band of light */
.uses { position: relative; padding: 120px 0 220px; overflow: clip; }
.uses-inner { position: relative; }
.uses-light { position: absolute; left: 0; right: 0; bottom: -60px; height: 340px; pointer-events: none; filter: blur(30px); }
.uses-light span { position: absolute; bottom: 0; width: 46%; height: 70%; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 106 26 / .45), transparent); animation: drift 14s ease-in-out infinite alternate; }
.uses-light span:nth-child(1) { left: 4%; }
.uses-light span:nth-child(2) { left: 30%; height: 90%; background: radial-gradient(closest-side, rgb(255 140 60 / .5), transparent); animation-duration: 18s; animation-direction: alternate-reverse; }
.uses-light span:nth-child(3) { left: 54%; background: radial-gradient(closest-side, rgb(255 90 20 / .4), transparent); animation-duration: 16s; }
@keyframes drift { from { transform: translateX(-6%) scale(.95); } to { transform: translateX(8%) scale(1.06); } }
.uses::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgb(255 140 60 / .6), transparent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 44px; }
.chip { padding: 10px 18px; border: 1px solid var(--line-2); border-radius: 999px; background: rgb(10 10 12 / .6); cursor: pointer;
  font: 400 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); transition: color .2s, border-color .25s, box-shadow .3s; }
.chip:hover { color: var(--text); }
.chip[aria-pressed="true"] { color: var(--bg); background: var(--text); border-color: var(--text); box-shadow: 0 0 30px -6px rgb(255 106 26 / .7); }
.roles-title { margin-top: 56px; }
.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 24px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.roles li { display: grid; gap: 6px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.roles li span { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.position { margin-top: 28px; max-width: 40em; font-size: 18px; }
.use-detail { margin-top: 28px; min-height: 1.4em; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.025em; color: var(--text); }

/* ---------------------------------------------------------------- security and questions */
:root { interpolate-size: allow-keywords; } /* lets the answers open smoothly where supported */
.faq { margin-top: 48px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: 20px; letter-spacing: -0.02em; color: var(--text); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 14px; height: 14px; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 6.5px; height: 1px; background: var(--text-2); transition: transform .35s var(--ease), background-color .3s; }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: var(--accent); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq-a { max-width: 46em; padding: 0 48px 26px 0; font-size: 16px; }

/* ---------------------------------------------------------------- final CTA, at the end of a corridor */
.final { position: relative; display: grid; place-items: center; min-height: 100vh; margin-top: 120px; padding: 120px 0; overflow: hidden; }
.final::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(1000px, 100vw); aspect-ratio: 2 / 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgb(255 106 26 / .2), rgb(255 106 26 / .05) 60%, transparent); }
.tunnel { position: absolute; inset: 0; width: 100%; height: 100%; }
.tunnel line, .tunnel rect { fill: none; stroke: rgb(255 255 255 / .38); stroke-width: 1; vector-effect: non-scaling-stroke; }
.tunnel line { stroke-opacity: .12; }
.tunnel .back { stroke: rgb(255 106 26 / .55); fill: rgb(255 106 26 / .025); }
.final-inner { position: relative; max-width: 680px; text-align: center; }
.final h2 { margin: 0 auto; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -0.045em; }
.final-inner > p:not(.label) { margin-top: 22px; font-size: 17px; }
.final .cta-row { justify-content: center; }

/* ---------------------------------------------------------------- footer: links, then the name in light */
.footer { position: relative; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 6fr 6fr; gap: 48px; padding-top: 72px; }
.footer-social { display: flex; gap: 8px; margin-top: 24px; }
.social { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 50%; color: var(--text-2); transition: color .2s, border-color .2s, box-shadow .3s; }
.social:hover { color: var(--text); border-color: rgb(255 106 26 / .6); box-shadow: 0 0 20px -6px var(--accent); }
.social svg { width: 17px; height: 17px; fill: currentColor; }
.footer-cols { display: grid; grid-template-columns: repeat(3, auto); justify-content: end; gap: 24px 64px; }
.footer-cols nav { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-cols h2 { margin-bottom: 6px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.footer-cols a { color: var(--text-2); text-decoration: none; }
.footer-cols a:hover { color: var(--text); }
.footer-word-wrap { position: relative; margin-top: 80px; padding-top: 40px; overflow: hidden; }
.footer-light { position: absolute; left: 0; right: 0; bottom: -40%; height: 110%; pointer-events: none;
  background: radial-gradient(55% 75% at 50% 100%, rgb(255 106 26 / .7), rgb(255 106 26 / .14) 55%, transparent 78%); filter: blur(24px); }
.footer-word { position: relative; width: calc(100% - 48px); aspect-ratio: 1541 / 291; margin: 0 auto -2.4%;
  background: linear-gradient(to bottom, var(--text) 25%, #ffc79a 75%, var(--accent));
  -webkit-mask: url(../img/wordmark-v3.png) center / 100% 100% no-repeat; mask: url(../img/wordmark-v3.png) center / 100% 100% no-repeat; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid var(--line);
  font: 400 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.to-top { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); text-decoration: none; }
.to-top:hover { color: var(--text); }
.to-top svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.to-top:hover svg { transform: translateY(-2px); }

/* ---------------------------------------------------------------- motion (html.motion is set by JS) */
/* headings: letters appear in random order, warm for a moment before they settle to white */
.motion .decode .dw { white-space: nowrap; }
.motion .decode .dc { opacity: 0; color: var(--accent-2); filter: blur(6px); }
.motion .decode.in .dc { opacity: 1; color: var(--text); filter: blur(0);
  transition: opacity .35s ease var(--d), filter .5s ease var(--d), color 1s ease calc(var(--d) + 150ms); }
/* content rises in; groups stagger by --i */
.motion .rv { opacity: 0; transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), color .2s, border-color .35s, box-shadow .35s;
  transition-delay: calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms), 0s, 0s, 0s; }
.motion .rv.in { opacity: 1; transform: none; }
/* pinned cards are moved by the scroll itself, so no easing on top */
.motion .deck.is-pinned .deck-card { transition: border-color .35s; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1024px) {
  .film-wrap { grid-template-columns: 1fr; gap: 32px; margin-top: 88px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { justify-content: start; }
  .bench { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .cols-3, .steps, .deck-cards, .ask-grid, .flow { grid-template-columns: 1fr; }
  .flow-link { justify-self: center; width: 2px; height: 44px; margin: 10px 0; background: repeating-linear-gradient(180deg, var(--accent) 0 6px, transparent 6px 12px); }
  .flow-link::after { right: -5px; top: auto; bottom: -2px; border-top: 8px solid var(--accent); border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 0; }
  @keyframes flowing { to { background-position: 0 12px; } }
  .ask-grid { gap: 32px; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-end { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 767px) {
  .wrap { padding: 0 16px; }
  .tools > div { grid-template-columns: 1fr; }
  .docs { padding-top: 48px; }
  .code { padding-right: 20px; padding-top: 52px; font-size: 12.5px; }
  .nav { padding: 10px 12px 0; }
  .nav-inner { padding-left: 14px; }
  .logo { height: 22px; }
  .section { padding: 88px 16px 24px; }
  .hero-pin { padding: calc(var(--nav-h) + 44px) 0 64px; }
  .hero-cloud { opacity: .5; } /* the copy covers the whole width here */
  .lede { font-size: 16px; }
  .works { margin-top: 40px; gap: 8px 18px; }
  .how, .deck { padding-top: 88px; }
  .uses { padding: 88px 0 180px; }
  .compare td, .compare th { padding: 14px 10px; font-size: 14px; }
  .faq summary { font-size: 17px; }
  .faq-a { padding-right: 24px; }
  .final { min-height: 0; margin-top: 64px; padding: 120px 0; }
  .footer-top { padding-top: 56px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-word { width: calc(100% - 24px); }
  .footer-word-wrap { margin-top: 56px; }
  .sim-zone { font-size: 8.5px; }
  .sim-incidents { min-height: calc(2 * 28px + 4px); }
  .built-list, .built-list li { gap: 36px; }
  .built-list { padding-right: 36px; }
}
@media (max-width: 480px) {
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; }
  .nav-end .btn { display: none; }
}

/* Brand cursor (the robot-arm pointer) for mouse and trackpad users; text fields keep the text caret.
   !important because it deliberately replaces every pointer/crosshair cursor above. */
@media (hover: hover) and (pointer: fine) {
  html, html * {
    cursor: url(../img/cursor-v2-24.png) 2 2, auto !important;
    cursor: image-set(url(../img/cursor-v2-24.png) 1x, url(../img/cursor-v2-48.png) 2x) 2 2, auto !important;
  }
  input:not([type="radio"]):not([type="checkbox"]), textarea { cursor: text !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .marquee { justify-content: center; -webkit-mask-image: none; mask-image: none; }
  .built-list { flex-wrap: wrap; justify-content: center; gap: 16px 40px; padding: 0; }
  .built-list[aria-hidden] { display: none; }
}
