/* ============================================================
   Sentinel landing v2 — built on the vocabulary of Linear and Aaru
   (type scale, containers, easings and effects measured from the
   live sites on 2026-09-14; implementation is our own).
   Motion: GSAP (ScrollTrigger, SplitText, ScrambleText, DrawSVG),
   Lenis, and a three.js particle layer (swarm.js).
   ============================================================ */

:root {
  /* surfaces (Linear: #08090a page, #101112 frame, rgba(255,255,255,.08) lines) */
  --bg: #08090a;
  --bg-1: #0c0d0f;
  --bg-2: #101112;
  --bg-3: #161718;
  --fg: #f7f8f8;
  --fg-2: #d0d6e0;
  --muted: #8a8f98;
  --faint: #5c6068;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --line-3: rgba(255, 255, 255, 0.22);
  /* the one colour moment (Aaru: a saturated cobalt block) */
  --cobalt: #1a2fe6;
  --cobalt-2: #4d6bff;
  --cobalt-3: #8ea0ff;
  --crit: #ff5f57;
  --high: #ff9f43;
  --ok: #2fd27f;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  /* easings (Linear tokens + the .32,.72,0,1 transform ease) */
  --eo-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --eo-quint: cubic-bezier(0.23, 1, 0.32, 1);
  --e-apple: cubic-bezier(0.32, 0.72, 0, 1);
  --soft: cubic-bezier(0.16, 1, 0.3, 1); /* a long, soft landing: every reveal on the page uses it */
  --page-max: 1376px;
  --pad: 24px;
  --header-h: 72px;
  --gap-sec: 200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font: 400 15px/1.6 var(--font);
  letter-spacing: -0.011em;
  color: var(--fg);
  background: var(--bg);
  font-feature-settings: "cv01", "ss03";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: rgba(77, 107, 255, 0.35); }

.container { width: 100%; max-width: var(--page-max); margin-inline: auto; padding-inline: var(--pad); }

/* the swarm: one fixed WebGL layer under the page */
#swarm { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.4s var(--eo-quad); }
html.has-swarm #swarm { opacity: 1; }
main, .footer { position: relative; z-index: 1; }
.swarm-anchor { pointer-events: none; }

/* a hairline that fills with the page */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 120; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--cobalt-2), var(--cobalt-3)); transform: scaleX(0); transform-origin: left; }

/* ---------- type scale (Linear: 64 / 48 / 20, weights 510 / 590, -0.022em) ---------- */
.h1 { font-size: clamp(34px, 5.2vw, 64px); line-height: 1.02; letter-spacing: -0.022em; font-weight: 510; text-wrap: balance; }
.h2 { font-size: clamp(26px, 3.6vw, 48px); line-height: 1.06; letter-spacing: -0.022em; font-weight: 510; text-wrap: balance; }
.h3 { font-size: 20px; line-height: 1.33; letter-spacing: -0.012em; font-weight: 590; color: var(--fg-2); }
.eyebrow { font: 500 12px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.dim { color: var(--muted); }
/* a hyphenated compound stays on one line: better typography, and a text split for its reveal wraps exactly as it does at rest */
.nb { white-space: nowrap; }
/* text reveals: a heading is split into words (a paragraph into lines) only for as long as it animates,
   then put back exactly as it was written. Until its turn it is simply transparent */
html.anim [data-text] { opacity: 0; }
.tw, .tl { will-change: transform, opacity, filter; }
.split-word { display: inline-block; }
/* groups: the children arrive one after another. Only the waiting state is styled, so whatever a child
   normally looks like (a dimmed card, a shifted row) is what it lands on; `.done` hands its own transitions back */
html.anim [data-stagger]:not(.in) > * { opacity: 0; translate: 0 22px; }
html.anim [data-stagger].in:not(.done) > * { transition: opacity 0.9s var(--soft), translate 1.1s var(--soft); transition-delay: calc(var(--si, 0) * 80ms); }

/* grain (Linear overlays a grain png on its frames; ours is generated) */
.grain {
  position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
  mix-blend-mode: overlay;
}

/* ---------- header (Linear: fixed 72px, blur 20px, hairline) ---------- */
.header {
  position: fixed; inset: 0 0 auto; height: var(--header-h); z-index: 100;
  border-bottom: 1px solid transparent;
  transition: transform 0.5s var(--e-apple), background 0.25s var(--eo-quad), border-color 0.25s var(--eo-quad);
}
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  transition: opacity 0.25s var(--eo-quad);
}
.header.is-scrolled { background: rgba(8, 9, 10, 0.55); border-color: var(--line); }
.header.is-scrolled::before { opacity: 1; }
.header.is-hidden { transform: translateY(-100%); }
.header-inner { position: relative; height: 100%; max-width: var(--page-max); margin-inline: auto; padding-inline: var(--pad); display: flex; align-items: center; gap: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 590; letter-spacing: -0.012em; color: var(--fg); margin-right: 20px; }
/* the logo: drawn in currentColor, so it is white on the dark page and black on anything light */
.mark { width: 22px; height: 22px; flex: none; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  position: relative; display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 9999px;
  font-size: 13px; color: var(--muted); letter-spacing: 0;
  transition: color 0.16s var(--eo-quad), background 0.16s var(--eo-quad);
}
.nav a:hover { color: var(--fg); background: rgba(255, 255, 255, 0.05); }
.nav a.is-current { color: var(--fg); }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.burger { display: none; width: 40px; height: 40px; border-radius: 10px; align-items: center; justify-content: center; color: var(--fg); }
.burger:hover { background: rgba(255, 255, 255, 0.06); }

/* floating pill (Aaru: 62px pill, blur 26px, radius 16px, appears once you scroll) */
.pill {
  position: fixed; top: 14px; left: 50%; z-index: 101;
  display: flex; align-items: center; gap: 2px; height: 52px; padding: 0 6px 0 14px;
  border-radius: 16px; background: rgba(16, 17, 18, 0.72); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(26px); backdrop-filter: blur(26px);
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.7);
  transform: translate(-50%, -24px) scale(0.96); opacity: 0; pointer-events: none;
  transition: transform 0.6s var(--e-apple), opacity 0.3s var(--eo-quad);
}
.pill.is-visible { transform: translate(-50%, 0) scale(1); opacity: 1; pointer-events: auto; }
.pill .brand { margin-right: 6px; font-size: 15px; }
.pill .nav a { height: 36px; }
.pill .btn-sm { margin-left: 6px; }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 auto; z-index: 99; padding: 8px var(--pad) 24px;
  background: rgba(8, 9, 10, 0.94); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; transform: translateY(-10px); pointer-events: none; visibility: hidden;
  transition: opacity 0.3s var(--eo-quad), transform 0.45s var(--e-apple), visibility 0s linear 0.45s;
}
.mobile-menu.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.mobile-menu a { padding: 13px 4px; font-size: 16px; font-weight: 510; letter-spacing: -0.012em; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(8px); transition: opacity 0.4s var(--e-apple), transform 0.4s var(--e-apple); transition-delay: calc(var(--i, 0) * 40ms + 60ms); }
.mobile-menu.is-open a { opacity: 1; transform: none; }
.mobile-menu .btn { margin-top: 14px; border-bottom: 0; }

/* ---------- buttons (Linear: pill, 44px / 32px, off-white on black, brightness on hover) ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 9999px; overflow: hidden;
  background: #e5e5e6; color: #08090a; font-size: 15px; font-weight: 510; letter-spacing: -0.011em; white-space: nowrap;
  transition: filter 0.16s var(--eo-quad), background 0.16s var(--eo-quad);
}
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.75) 50%, transparent 65%); transform: translateX(-120%); }
.btn:hover::after { transform: translateX(120%); transition: transform 0.7s var(--eo-quint); }
.btn:hover { filter: brightness(1.08); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn-ghost { background: rgba(255, 255, 255, 0.06); color: var(--fg); border: 1px solid var(--line-2); }
.btn-ghost::after { display: none; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); filter: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 510; color: var(--muted); transition: color 0.16s var(--eo-quad); }
.link-arrow svg { width: 14px; height: 14px; transition: transform 0.2s var(--eo-quint); }
.link-arrow:hover { color: var(--fg); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- reveal: an in-view class, CSS does the motion ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.9s var(--soft), transform 1.1s var(--soft), filter 0.9s var(--soft);
  transition-delay: var(--d, 0s);
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="blur"] { filter: blur(10px); }
[data-reveal="blur"].in { filter: blur(0); }
[data-reveal="scale"] { transform: scale(0.94); }
[data-reveal="scale"].in { transform: none; }
/* the hero waits for its timeline; a timer in the head lifts this if the scripts never arrive */
html.js:not(.ready) .hero-title, html.js:not(.ready) .hero-lede, html.js:not(.ready) .hero-ctas, html.js:not(.ready) .hero-facts, html.js:not(.ready) .frame-wrap { visibility: hidden; }

/* ---------- hero (Linear: left-aligned 64px title, 15px lede, full-bleed 1320x720 frame) ---------- */
.hero { position: relative; padding-top: calc(var(--header-h) + 120px); overflow: clip; }
.hero-glow {
  position: absolute; left: 50%; top: -120px; width: 1400px; height: 1000px; transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 32%, rgba(26, 47, 230, 0.28), transparent 70%);
  filter: blur(24px); pointer-events: none; animation: glow 9s ease-in-out infinite alternate;
}
@keyframes glow { from { opacity: 0.75; transform: translateX(-52%) scale(1); } to { opacity: 1; transform: translateX(-48%) scale(1.08); } }
.hero-inner { position: relative; }
.hero-title { max-width: 1020px; }
.hero-row { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; margin-top: 40px; }
.hero-left { display: flex; flex-direction: column; gap: 28px; }
.hero-lede { max-width: 540px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.hero-ctas { display: flex; align-items: center; gap: 22px; }
.hero-facts { font: 400 12px/1.7 var(--mono); letter-spacing: 0.02em; color: var(--faint); text-align: right; }
.hero-facts span { display: block; }

.frame-wrap { position: relative; margin: 64px auto 0; padding-inline: 60px; max-width: 1440px; }
.frame {
  position: relative; height: 720px; border-radius: 12px; overflow: hidden;
  background: #090a0b; border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 60px 140px -60px rgba(26, 47, 230, 0.5), 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
/* a light that travels the frame's edge */
.frame-edge { position: absolute; inset: -1px; z-index: 5; border-radius: 13px; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--edge, 0deg), transparent 0 78%, rgba(142, 160, 255, 0.9) 88%, #fff 90%, rgba(142, 160, 255, 0.9) 92%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: edge 7s linear infinite; opacity: 0.75; }
@property --edge { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes edge { to { --edge: 360deg; } }
.frame::after {
  content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 360px; z-index: 3; pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 9, 10, 0) 0%, rgba(8, 9, 10, 0.8) 100%);
}
.frame::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 9, 10, 0), rgba(8, 9, 10, 0.92));
}
.frame-demo { position: absolute; inset: 0; }
.frame-demo .sd-demo { position: absolute; inset: auto; left: 0; top: 0; width: 100%; height: auto; aspect-ratio: 920 / 690; }
/* the hero frame crops the demo at 720px, so its detect camera comes back out a little further than the stage's
   and lands the whole open finding above the bottom fade */
.frame .sd-demo.is-playing[data-demo="detect"] .sd-cam { animation-name: heroCamDetect; }
@keyframes heroCamDetect {
  0%, 20% { transform: none; }
  38%, 60% { transform: translate(-358px, -124px) scale(1.4); }
  74% { transform: translate(-358px, -238px) scale(1.4); }
  100% { transform: translate(-358px, -364px) scale(1.4); }
}

/* ---------- statement + the particle contract, then three pillars ---------- */
.statement-sec { padding-top: 176px; }
.statement-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; align-items: center; }
.statement { font-size: clamp(21px, 3.1vw, 44px); line-height: 1.1; letter-spacing: -0.022em; font-weight: 510; max-width: 920px; color: var(--muted); }
.statement .lead { color: var(--fg); }
.statement .lw { display: inline-block; }
.statement .w { color: rgba(138, 143, 152, 0.4); }
.st-strike { position: relative; display: inline-block; color: var(--muted); }
.st-strike::after { content: ""; position: absolute; left: -2%; right: -2%; top: 56%; height: 0.07em; background: var(--crit); transform: scaleX(var(--strike, 0)); transform-origin: left; border-radius: 2px; }
.st-hot { position: relative; display: inline-block; background: linear-gradient(90deg, #fff, #fff 40%, var(--high) 50%, #fff 60%, #fff); background-size: 300% 100%; background-position: var(--hot, 100%) 0; -webkit-background-clip: text; background-clip: text; color: transparent; }
.swarm-doc { height: 380px; }

.pillars { margin-top: 112px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pillar { position: relative; isolation: isolate; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, var(--bg-1), var(--bg)); padding: 12px 12px 30px; overflow: hidden; transition: opacity 0.9s var(--soft) var(--d, 0s), transform 1.1s var(--soft) var(--d, 0s), border-color 0.3s var(--eo-quad); }
.pillar::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s var(--eo-quad); background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(77, 107, 255, 0.16), transparent 60%); }
.pillar:hover { border-color: var(--line-2); }
.pillar:hover::before { opacity: 1; }
.pillar-k { display: block; margin: 26px 16px 0; font: 500 11px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.pillar h3 { margin: 12px 16px 8px; font-size: 21px; line-height: 1.22; font-weight: 590; letter-spacing: -0.018em; color: var(--fg); text-wrap: balance; }
.pillar p { margin: 0 16px; font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 340px; }
.scene { position: relative; height: 252px; border-radius: 12px; background: #0a0b0d; border: 1px solid var(--line); overflow: hidden; font-family: var(--font); }
.scene::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 0%, transparent 55%, rgba(0, 0, 0, 0.5)); }

/* scene 1 — find: a beam reads the page, three lines light up and get named */
.sf-page { position: absolute; left: 26px; top: 24px; bottom: 24px; width: 44%; padding: 14px 16px; border-radius: 8px; border: 1px solid var(--line-2); background: #0f1012; display: grid; grid-template-rows: repeat(10, 1fr); align-items: center; overflow: hidden; }
.sf-h { display: block; width: 46%; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.32); }
.sf-l { display: block; width: var(--w, 80%); height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.13); }
.sf-l.is-flag { --c: var(--crit); }
.sf-l.f2 { --c: var(--high); }
.sf-beam { position: absolute; left: 0; right: 0; top: 0; height: 34px; margin-top: -34px; background: linear-gradient(180deg, rgba(255, 159, 67, 0), rgba(255, 159, 67, 0.2) 80%, rgba(255, 190, 120, 0.9) 100%); pointer-events: none; }
.sf-tags { position: absolute; left: calc(26px + 44%); right: 14px; top: 24px; bottom: 24px; padding: 14px 0; display: grid; grid-template-rows: repeat(10, 1fr); align-items: center; }
.sf-tag { display: flex; align-items: center; gap: 0; font: 500 11px/1 var(--mono); letter-spacing: 0.02em; color: var(--fg-2); white-space: nowrap; opacity: 0; }
.sf-tag i { display: block; flex: none; width: 22px; height: 1px; margin-right: 8px; background: currentColor; opacity: 0.5; transform-origin: left; }
.sf-tag.f1 { grid-row: 4; color: #ff8a84; }
.sf-tag.f2 { grid-row: 6; color: #ffb877; }
.sf-tag.f3 { grid-row: 9; color: #ff8a84; }
.sf-count { position: absolute; right: 16px; top: 16px; display: flex; align-items: baseline; gap: 6px; font: 500 10.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.sf-count b { display: inline-block; min-width: 1ch; font: 600 20px/1 var(--font); letter-spacing: -0.02em; color: var(--fg); }

/* scene 2 — prove: the finding is wired to the words it rests on, then stamped */
.sp-find { position: absolute; left: 26px; top: 26px; right: 30%; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: #0f1012; font-size: 13px; font-weight: 510; color: var(--fg); white-space: nowrap; overflow: hidden; }
.sp-sev { flex: none; width: 3px; height: 20px; border-radius: 2px; background: var(--crit); }
.sp-wire { position: absolute; left: 48px; top: 72px; width: 60px; height: 62px; overflow: visible; }
.sp-wire path { fill: none; stroke: var(--cobalt-3); stroke-width: 1.4; stroke-linecap: round; }
.sp-wire circle { fill: #fff; }
.sp-clause { position: absolute; left: 86px; right: 26px; bottom: 28px; padding: 12px 14px 13px; border-radius: 10px; border: 1px solid var(--line-2); background: #121316; }
.sp-ref, .sx-ref { display: inline-block; font: 500 10.5px/1 var(--mono); color: var(--cobalt-3); background: rgba(142, 160, 255, 0.12); border: 1px solid rgba(142, 160, 255, 0.25); border-radius: 5px; padding: 3px 6px; }
.sp-clause p { margin: 8px 0 0; max-width: none; font: 400 13.5px/1.5 var(--serif); color: rgba(255, 255, 255, 0.78); }
.sp-clause mark, .cite mark { color: #fff; background: linear-gradient(rgba(255, 214, 102, 0.3), rgba(255, 214, 102, 0.3)) no-repeat 0 0 / var(--hl, 0%) 100%; border-radius: 2px; padding: 0 1px; }
.sp-stamp { position: absolute; right: 18px; top: 92px; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 8px; border-radius: 999px; background: rgba(47, 210, 127, 0.14); border: 1px solid rgba(47, 210, 127, 0.5); color: var(--ok); font: 600 10.5px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.sp-stamp svg { width: 12px; height: 12px; }

/* scene 3 — fix: the broken words are struck, the fix is typed in */
.sx-doc { position: absolute; left: 26px; right: 26px; top: 26px; padding: 14px 16px 16px; border-radius: 10px; border: 1px solid var(--line-2); background: #121316; }
.sx-doc p { margin: 10px 0 0; max-width: none; font: 400 15px/1.6 var(--serif); color: rgba(255, 255, 255, 0.8); min-height: 4.8em; }
.sx-doc del { position: relative; text-decoration: none; color: inherit; white-space: nowrap; }
.sx-doc del::after { content: ""; position: absolute; left: 0; right: 0; top: 54%; height: 1.5px; background: var(--crit); transform: scaleX(var(--strike, 0)); transform-origin: left; }
.sx-doc del.is-cut { color: rgba(255, 138, 132, 0.75); transition: color 0.3s; }
.sx-doc ins { text-decoration: none; color: var(--ok); background: rgba(47, 210, 127, 0.1); border-radius: 3px; }
.sx-doc ins:empty { background: none; }
.sx-caret { display: inline-block; width: 1.5px; height: 1.05em; margin-left: 1px; vertical-align: -0.16em; background: var(--ok); opacity: 0; }
.sx-caret.on { opacity: 1; animation: caret 0.8s steps(2, start) infinite; }
.sx-bar { position: absolute; left: 26px; right: 26px; bottom: 24px; display: flex; align-items: center; gap: 10px; font: 500 11px/1 var(--mono); letter-spacing: 0.06em; color: var(--muted); }
.sx-status { display: inline-block; }
.sx-chip { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: rgba(47, 210, 127, 0.12); color: var(--ok); font-weight: 600; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
.sx-copy { margin-left: auto; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--fg-2); }
.sx-copy.is-done { border-color: rgba(47, 210, 127, 0.5); color: var(--ok); }
@keyframes caret { to { opacity: 0; } }

/* ---------- how it works: sticky stage (scroll-driven, three live demos) ---------- */
.how { position: relative; margin-top: var(--gap-sec); min-height: 340vh; }
.how-sticky {
  position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h));
  display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 72px; align-items: center;
}
.how-steps .h2 { margin: 16px 0 40px; }
.story-bars, .story-hint, .story-nav { display: none; }
.steps { display: flex; flex-direction: column; gap: 6px; }
.step { position: relative; padding: 16px 0 16px 28px; opacity: 0.36; cursor: pointer; transition: opacity 0.45s var(--eo-quad); }
.step.is-active { opacity: 1; }
.step::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 1px; background: var(--line-2); }
.step-bar { position: absolute; left: 0; top: 16px; bottom: 16px; width: 1px; overflow: hidden; }
.step-bar i { display: block; width: 100%; height: 100%; background: var(--fg); transform: scaleY(0); transform-origin: top; }
.step-num { font: 500 12px/1 var(--mono); letter-spacing: 0.08em; color: var(--muted); }
.step h3 { margin: 10px 0 0; font-size: 22px; font-weight: 590; letter-spacing: -0.016em; color: var(--fg); }
.step-body p { font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 360px; }
.step-body p::before { content: ""; display: block; height: 8px; }
.stage-wrap { position: relative; justify-self: end; width: min(100%, calc((100vh - var(--header-h) - 96px) * 1.3333)); }
.stage {
  position: relative; width: 100%; aspect-ratio: 920 / 690;
  border-radius: 12px; border: 1px solid var(--line); background: #090a0b; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 50px 120px -50px rgba(0, 0, 0, 0.9), 0 60px 160px -80px rgba(26, 47, 230, 0.55);
}
.stage-panel { position: absolute; inset: 0; opacity: 0; transform: scale(1.03); clip-path: inset(0 0 100% 0); pointer-events: none; transition: opacity 0.5s var(--eo-quad), transform 0.9s var(--e-apple), clip-path 0.9s var(--e-apple); }
.stage-panel.is-active { opacity: 1; transform: none; clip-path: inset(0 0 0 0); pointer-events: auto; z-index: 1; }
.stage-panel.was-active { opacity: 1; clip-path: inset(0 0 0 0); transform: scale(0.98); transition: transform 0.9s var(--e-apple), opacity 0.2s linear 0.9s; }
.stage .sd-demo { position: absolute; inset: 0; }
/* hold a story to pause it: every animation inside the demo freezes where it is */
.stage.is-held .sd-demo, .stage.is-held .sd-demo * , .stage.is-held .sd-demo *::before, .stage.is-held .sd-demo *::after { animation-play-state: paused !important; }
.stage-num { position: absolute; right: -6px; top: -64px; font: 500 12px/1 var(--mono); letter-spacing: 0.12em; color: var(--faint); }

/* ---------- proof: cobalt block with a black rounded panel (Aaru); the same question answered twice ---------- */
.proof { margin-top: var(--gap-sec); background: var(--cobalt); padding: 16px; }
.proof-panel { position: relative; overflow: hidden; background: #000; border-radius: 32px; padding: 120px 24px 56px; }
.stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.proof-head { position: relative; max-width: 780px; margin: 0 auto; text-align: center; }
.proof-head .h2 { font-size: clamp(24px, 3vw, 40px); line-height: 1.1; }
.proof-head .blue { color: var(--cobalt-3); }
.proof-head .intro { margin: 22px auto 0; max-width: 660px; font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, 0.72); }
.tabs-wrap { position: relative; text-align: center; margin-top: 44px; }
.tabs { position: relative; display: inline-flex; padding: 4px; border-radius: 100px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; z-index: 1; flex: none; padding: 12px 20px; border-radius: 100px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.66); white-space: nowrap; transition: color 0.2s var(--eo-quad); }
.tab:hover { color: #fff; }
.tab.is-active { color: #fff; }
.tab-ind { position: absolute; top: 4px; left: 0; height: calc(100% - 8px); width: 0; border-radius: 100px; background: rgba(255, 255, 255, 0.12); transition: transform 0.45s var(--eo-quint), width 0.45s var(--eo-quint); }
/* auto-advance progress: a hairline that fills inside the active tab */
.tab-prog { position: absolute; left: 18px; right: 18px; bottom: 6px; height: 1.5px; border-radius: 2px; background: rgba(255, 255, 255, 0.55); transform: scaleX(0); transform-origin: left; opacity: 0; }
.tabs.is-auto .tab.is-active .tab-prog { opacity: 1; animation: tabProg 11.5s linear forwards; }
.tabs.is-paused .tab.is-active .tab-prog { animation-play-state: paused; }
@keyframes tabProg { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* the duel: one question typed once; a chat bubble on the left, a worked proof on the right */
.duel { position: relative; max-width: 1080px; margin: 44px auto 0; }
.duel-q { display: flex; align-items: baseline; gap: 16px; padding: 4px 6px 24px; border-bottom: 1px solid var(--line); }
.duel-q-lbl { flex: none; font: 500 11px/1.6 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.duel-q-text { font-size: clamp(18px, 2.2vw, 27px); font-weight: 510; letter-spacing: -0.02em; line-height: 1.25; color: #fff; min-height: 1.25em; }
.duel-caret { width: 2px; height: 1.05em; align-self: center; margin-left: 2px; background: var(--cobalt-3); opacity: 0; }
.duel-q.is-typing .duel-caret { opacity: 1; animation: caret 0.9s steps(2, start) infinite; }
.duel-cols { display: grid; grid-template-columns: 5fr 7fr; gap: 20px; margin-top: 24px; align-items: stretch; }
.ans { position: relative; display: flex; flex-direction: column; min-height: 452px; padding: 30px 32px 32px; border-radius: 22px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); }
.ans-head { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.ans-name { font-size: 14px; font-weight: 510; color: rgba(255, 255, 255, 0.72); }
.ans-avatar { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.ans-avatar.bot { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.75); font: 600 9.5px/1 var(--mono); letter-spacing: 0.04em; }
.ans-avatar.sen { background: #f7f8f8; color: #08090a; }
.ans-avatar.sen svg { width: 15px; height: 15px; }
.ans-tag { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line-2); font: 500 10.5px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); transition: color 0.4s, border-color 0.4s, background 0.4s; }
.ans-tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.ans-tag span { display: inline-block; }
.ans-bot.is-missed .ans-tag { color: var(--crit); border-color: rgba(255, 95, 87, 0.45); background: rgba(255, 95, 87, 0.08); }
.ans-sen .ans-tag { color: var(--cobalt-3); border-color: rgba(142, 160, 255, 0.35); }
.ans-sen.is-proven .ans-tag { color: var(--ok); border-color: rgba(47, 210, 127, 0.5); background: rgba(47, 210, 127, 0.1); }
/* left: the chatbot */
.bubble { position: relative; align-self: flex-start; max-width: 100%; padding: 16px 18px; border-radius: 18px 18px 18px 6px; background: rgba(255, 255, 255, 0.07); font-size: 15.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.8); min-height: 56px; min-width: 76px; }
.typing { position: absolute; left: 18px; top: 18px; display: inline-flex; gap: 5px; align-items: center; height: 20px; opacity: 0; transition: opacity 0.2s; }
.bubble.is-thinking .typing { opacity: 1; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.45); animation: typing 1.1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: 0.18s; }
.typing i:nth-child(3) { animation-delay: 0.36s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.45; } 30% { transform: translateY(-4px); opacity: 1; } }
.bubble-text { opacity: 0; translate: 0 8px; filter: blur(5px); transition: opacity 0.6s var(--soft), translate 0.8s var(--soft), filter 0.6s var(--soft); }
.bubble.is-done .bubble-text { opacity: 1; translate: none; filter: blur(0); }
.bubble-text .claim { background: linear-gradient(var(--crit), var(--crit)) no-repeat 0 58% / var(--cut, 0%) 1.5px; transition: color 0.4s; }
.ans-bot.is-missed .claim { color: rgba(255, 255, 255, 0.45); }
.miss { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.miss li { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px 0 10px; border-radius: 999px; border: 1px dashed rgba(255, 255, 255, 0.16); font: 400 12px/1 var(--mono); color: rgba(255, 255, 255, 0.5); opacity: 0; translate: 0 8px; transition: opacity 0.6s var(--soft), translate 0.8s var(--soft); }
.miss li.on { opacity: 1; translate: none; }
.miss li svg { width: 10px; height: 10px; color: var(--crit); }
/* right: Sentinel. A verdict, the clause it rests on (kept small: it is the evidence, not the headline), and the
   contract played forward on a timeline. Three things, at the chatbot card's height */
.ans-sen { border-color: rgba(142, 160, 255, 0.3); background: linear-gradient(180deg, rgba(26, 47, 230, 0.17), rgba(26, 47, 230, 0.03) 70%); box-shadow: 0 40px 100px -60px rgba(26, 47, 230, 0.7); overflow: hidden; }
.ans-sen::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(142, 160, 255, 0.8), transparent); transform: translateX(var(--sheen, -100%)); }
.verdict { font-size: clamp(19px, 2.2vw, 28px); line-height: 1.2; letter-spacing: -0.024em; font-weight: 510; color: #fff; text-wrap: balance; max-width: 520px; }
.verdict .split-word { opacity: 0; will-change: transform, opacity, filter; }
.cite { position: relative; margin: 26px 0 0; padding: 1px 0 1px 16px; opacity: 0; translate: 0 10px; filter: blur(5px); transition: opacity 0.7s var(--soft), translate 0.9s var(--soft), filter 0.7s var(--soft); }
.cite.on { opacity: 1; translate: none; filter: blur(0); }
.cite::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; border-radius: 2px; background: var(--cobalt-3); transform: scaleY(0); transform-origin: top; transition: transform 0.8s var(--soft) 0.1s; }
.cite.on::before { transform: scaleY(1); }
.cite-ref { display: inline-block; font: 500 10.5px/1 var(--mono); color: var(--cobalt-3); letter-spacing: 0.04em; margin-bottom: 7px; }
.cite blockquote { font: 400 14px/1.5 var(--serif); color: rgba(255, 255, 255, 0.7); max-width: 470px; }
/* the simulation: a playhead runs the track and each event lands as it is reached; the last one is the damage */
.sim { margin-top: auto; padding-top: 28px; opacity: 0; translate: 0 10px; transition: opacity 0.7s var(--soft), translate 0.9s var(--soft); }
.sim.on { opacity: 1; translate: none; }
.sim-lbl { display: flex; align-items: center; gap: 7px; font: 500 10.5px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.sim-lbl svg { width: 9px; height: 9px; color: var(--cobalt-3); }
.trace-wrap { position: relative; margin-top: 18px; }
.trace { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); }
.trace::before, .trace::after { content: ""; position: absolute; left: 5px; right: calc(33.333% - 5px); top: 4.5px; height: 1px; }
.trace::before { background: var(--line-2); }
.trace::after { background: linear-gradient(90deg, var(--cobalt-3), var(--crit)); transform: scaleX(var(--run, 0)); transform-origin: left; }
.trace-head { position: absolute; z-index: 2; top: -2px; left: calc(var(--run, 0) * 66.667%); width: 14px; height: 14px; margin-left: -2px; border-radius: 50%; background: radial-gradient(circle, #fff 0 22%, rgba(142, 160, 255, 0.55) 26% 46%, rgba(142, 160, 255, 0) 70%); opacity: 0; transition: opacity 0.4s var(--eo-quad); pointer-events: none; }
.sim.on .trace-head { opacity: 1; }
.ans-sen.is-proven .trace-head { opacity: 0; }
.trace li { position: relative; padding: 24px 14px 0 0; }
.trace li::before { content: ""; position: absolute; left: 0; top: 0; width: 10px; height: 10px; border-radius: 50%; background: #000; border: 1.5px solid var(--line-3); z-index: 1; transition: border-color 0.4s, box-shadow 0.5s, transform 0.6s var(--soft); }
.trace li.on::before { border-color: var(--cobalt-3); }
.trace li:last-child.on::before { border-color: var(--crit); box-shadow: 0 0 0 4px rgba(255, 95, 87, 0.16); }
.trace-t, .trace-v { display: block; opacity: 0; translate: 0 8px; transition: opacity 0.6s var(--soft), translate 0.8s var(--soft); }
.trace li.on .trace-t, .trace li.on .trace-v { opacity: 1; translate: none; }
.trace li.on .trace-v { transition-delay: 0.08s; }
.trace-t { font: 500 10.5px/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.trace-v { margin-top: 6px; font-size: 14.5px; line-height: 1.35; font-weight: 510; letter-spacing: -0.012em; color: rgba(255, 255, 255, 0.92); text-wrap: balance; }
.trace li:last-child .trace-v { color: #ff8a84; }
.duel-next { display: none; }
.duel-foot { display: flex; align-items: center; gap: 16px; margin-top: 26px; padding: 0 6px; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, 0.62); letter-spacing: -0.011em; }
.duel-foot .link-arrow { margin-left: auto; flex: none; font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.duel-foot .link-arrow:hover { color: #fff; }
.proof-note { position: relative; margin: 28px auto 0; text-align: center; font: 400 12px/1.5 var(--mono); color: rgba(255, 255, 255, 0.35); }

/* ---------- control: split heading + a dot-matrix panel with three switches that are really yours ---------- */
.control { padding-top: var(--gap-sec); }
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.split-head p { max-width: 420px; font-size: 17px; line-height: 1.5; color: var(--muted); justify-self: end; }
.vault { position: relative; margin-top: 56px; min-height: 520px; border-radius: 16px; border: 1px solid var(--line); background: #0b0c0e; overflow: hidden; display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); }
.vault canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ctls { position: relative; z-index: 2; grid-column: 1; grid-row: 1 / span 2; align-self: center; display: flex; flex-direction: column; gap: 10px; padding: 36px 0 36px 36px; }
.matrix-space { grid-column: 2; grid-row: 1; min-height: 400px; }
.ctl { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: center; width: 100%; text-align: left; padding: 16px 16px 17px; border-radius: 14px; border: 1px solid var(--line); background: rgba(8, 9, 10, 0.78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); overflow: hidden; transition: border-color 0.3s var(--eo-quad), background 0.3s var(--eo-quad), transform 0.5s var(--e-apple); }
.ctl:hover { border-color: var(--line-2); }
.ctl.is-active { border-color: rgba(142, 160, 255, 0.4); background: rgba(14, 16, 28, 0.86); transform: translateX(8px); }
.ctl-ico { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--fg-2); background: rgba(255, 255, 255, 0.03); }
.ctl-ico svg { width: 19px; height: 19px; }
.ctl-txt b { display: block; font-size: 15px; font-weight: 590; letter-spacing: -0.012em; color: var(--fg); }
.ctl-txt small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.ctl-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--cobalt-3); transform: scaleX(0); transform-origin: left; opacity: 0; }
.vault.is-auto .ctl.is-active .ctl-prog { opacity: 0.9; animation: tabProg 5.2s linear forwards; }
.readout { position: relative; z-index: 2; grid-column: 2; grid-row: 2; align-self: end; justify-self: end; width: min(100%, 400px); margin: 0 28px 26px 0; min-height: 84px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; font: 400 12px/1.5 var(--mono); color: var(--muted); text-align: right; pointer-events: none; }
.readout div { opacity: 0; transform: translateY(6px); animation: readIn 0.5s var(--e-apple) forwards; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.readout div b { font-weight: 500; color: var(--fg-2); }
.readout div.ok b { color: var(--ok); }
.readout div.bad b { color: #ff8a84; }
@keyframes readIn { to { opacity: 1; transform: none; } }
.vault-tag { position: absolute; z-index: 2; top: 20px; right: 24px; font: 500 10.5px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 64px; }
.trio > div { position: relative; padding-top: 24px; }
.trio > div::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-2); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--e-apple); transition-delay: var(--d, 0s); }
.trio > div.in::before { transform: scaleX(1); }
.trio h3 { font-size: 17px; font-weight: 590; letter-spacing: -0.012em; color: var(--fg-2); margin-bottom: 8px; }
.trio p { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* ---------- film: the recorded product demonstration ---------- */
.film-sec { padding-top: var(--gap-sec); }
.film { margin-top: 56px; }
.film-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #090a0b; border: 1px solid var(--line); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 60px 140px -60px rgba(26, 47, 230, 0.45); will-change: transform; }
.film-video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; background: #090a0b; cursor: pointer; }
.film-progress { position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 6; background: rgba(255, 255, 255, 0.12); opacity: 0; transition: opacity 0.3s var(--eo-quad); pointer-events: none; }
.film.is-playing .film-progress, .film.is-paused .film-progress { opacity: 1; }
.film-progress i { display: block; height: 100%; width: 0; background: #fff; }
.film-poster { position: absolute; inset: 0; z-index: 7; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; text-align: center; background: radial-gradient(60% 60% at 50% 40%, rgba(26, 47, 230, 0.35), rgba(8, 9, 10, 0.92) 70%); transition: opacity 0.5s var(--eo-quad); }
.film-poster.is-hidden { opacity: 0; pointer-events: none; }
.poster-copy { display: block; }
.poster-title { display: block; margin-top: 12px; font-size: clamp(19px, 3.2vw, 44px); line-height: 1.05; letter-spacing: -0.022em; font-weight: 510; text-wrap: balance; }
.play { position: relative; width: 78px; height: 78px; border-radius: 50%; background: #e5e5e6; color: #08090a; display: grid; place-items: center; transition: transform 0.2s var(--eo-quint), filter 0.16s var(--eo-quad); }
.film-poster:hover .play { transform: scale(1.06); filter: brightness(1.1); }
.play svg { margin-left: 3px; }
.play-ring { position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.5); animation: ring 2.2s ease-out infinite; }
.play-ring.r2 { animation-delay: 1.1s; }
@keyframes ring { from { transform: scale(0.88); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.film-dur { font: 400 12px/1 var(--mono); color: var(--muted); letter-spacing: 0.06em; }
.film-resume { position: absolute; left: 50%; top: 50%; z-index: 7; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgba(8, 9, 10, 0.72); border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; display: grid; place-items: center; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: transform 0.2s var(--eo-quint); }
.film-resume:hover { transform: scale(1.06); }
.film-resume svg { margin-left: 3px; }
.film-resume[hidden] { display: none; }
.film-end { position: absolute; inset: 0; z-index: 8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; text-align: center; background: rgba(8, 9, 10, 0.92); }
.film-end[hidden] { display: none; }
.film-end-actions { display: flex; gap: 12px; }
.film-end .btn-ghost { background: transparent; color: var(--fg); border: 1px solid var(--line-3); }
.film-note { margin-top: 14px; font: 400 12px/1.5 var(--mono); color: var(--faint); }

/* ---------- faq: a deck you drag, swipe or step through ---------- */
.faq-sec { padding-top: var(--gap-sec); overflow: clip; }
.faq-head { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.faq-head .h2 { margin-top: 16px; max-width: 720px; }
.swarm-q { position: absolute; right: 250px; bottom: -34px; width: 190px; height: 250px; }
.deck-ctrl { display: flex; align-items: center; gap: 10px; }
.deck-count { margin-right: 10px; font: 500 12px/1 var(--mono); letter-spacing: 0.08em; color: var(--faint); }
.deck-count b { font-weight: 500; color: var(--fg); }
.deck-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--fg-2); transition: background 0.2s var(--eo-quad), border-color 0.2s var(--eo-quad), opacity 0.2s, transform 0.2s var(--eo-quint); }
.deck-btn svg { width: 16px; height: 16px; }
.deck-btn:hover { background: rgba(255, 255, 255, 0.07); border-color: var(--line-3); }
.deck-btn:active { transform: scale(0.94); }
.deck-btn[disabled] { opacity: 0.3; pointer-events: none; }
/* --gutter, not --edge: that name is a registered <angle> (the hero frame's travelling light) */
.deck { --gutter: max(var(--pad), calc((100vw - var(--page-max)) / 2 + var(--pad))); position: relative; margin-top: 56px; display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 4px var(--gutter) 28px; scrollbar-width: none; cursor: grab; outline: none; }
.deck::-webkit-scrollbar { display: none; }
.deck.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.deck.is-dragging .qa { pointer-events: none; }
.qa { position: relative; isolation: isolate; flex: 0 0 min(440px, 82vw); scroll-snap-align: start; display: flex; flex-direction: column; min-height: 340px; padding: 28px 30px 30px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-1), var(--bg)); overflow: hidden; opacity: calc(0.42 + 0.58 * var(--f, 1)); transform: scale(calc(0.95 + 0.05 * var(--f, 1))); transform-origin: 50% 60%; transition: border-color 0.3s var(--eo-quad); }
.qa::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s var(--eo-quad); background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(77, 107, 255, 0.14), transparent 60%); }
.qa:hover { border-color: var(--line-2); }
.qa:hover::before { opacity: 1; }
.qa-n { font: 500 12px/1 var(--mono); letter-spacing: 0.1em; color: var(--faint); }
.qa h3 { margin-top: 20px; font-size: 23px; line-height: 1.2; font-weight: 590; letter-spacing: -0.02em; color: var(--fg); text-wrap: balance; }
.qa p { margin-top: auto; padding-top: 28px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.qa p b { font-weight: 510; color: var(--fg-2); }
.deck-bar { position: relative; height: 1px; margin-top: 8px; background: var(--line); }
.deck-bar i { position: absolute; left: 0; top: -0.5px; height: 2px; width: 10%; border-radius: 2px; background: var(--fg-2); transition: width 0.3s var(--eo-quad); }
.deck-hint { display: none; }

/* ---------- book a call: Cal.com inline, lazy-loaded when the block is near ---------- */
.cta { padding-top: var(--gap-sec); }
.call { margin-top: 56px; display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 48px; padding: 36px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, var(--bg-1), var(--bg)); position: relative; overflow: hidden; }
.call::before { content: ""; position: absolute; left: -10%; top: -60%; width: 46%; height: 160%; pointer-events: none; background: radial-gradient(closest-side, rgba(26, 47, 230, 0.18), transparent); animation: glow 9s ease-in-out infinite alternate; }
.call-copy { position: relative; display: flex; flex-direction: column; gap: 18px; align-self: start; }
.call-h { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.05; letter-spacing: -0.022em; font-weight: 510; margin-top: 4px; }
.call-copy > p { font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 340px; }
.call-facts { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.call-facts li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.45; color: var(--fg-2); }
.call-facts li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 6px; border-left: 1.6px solid var(--ok); border-bottom: 1.6px solid var(--ok); transform: rotate(-45deg); }
.call-ext { margin-top: 8px; }
.call-ext svg { width: 13px; height: 13px; }
.call-cal { position: relative; min-height: 640px; border-radius: 16px; overflow: hidden; background: #0b0c0e; border: 1px solid var(--line); }
.call-cal iframe { display: block; width: 100%; border: 0; }
.call-skel { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; font: 400 13px/1 var(--mono); color: var(--muted); background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 44px), repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 44px); transition: opacity 0.4s var(--eo-quad); }
.call-cal.is-ready .call-skel { opacity: 0; pointer-events: none; }
.call-spin { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line-3); border-top-color: var(--cobalt-3); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.call-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; color: var(--muted); }
.call-fallback[hidden] { display: none; }

/* ---------- footer ---------- */
.footer { margin-top: var(--gap-sec); border-top: 1px solid var(--line); padding: 56px 0 0; overflow: clip; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { margin: 0 0 14px; }
.footer p { max-width: 320px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.footer h4 { margin: 0 0 14px; font: 500 11px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer li a { font-size: 14px; color: var(--fg-2); transition: color 0.16s var(--eo-quad); }
.footer li a:hover { color: var(--fg); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font: 400 12px/1.5 var(--mono); color: var(--faint); }
/* the wordmark: a hairline outline the swarm fills in */
.wordmark { display: block; margin: 48px 0 0; padding: 0 0 0.12em; text-align: center; font-size: min(23.2vw, 330px); line-height: 0.9; font-weight: 600; letter-spacing: -0.055em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1); user-select: none; }
.wordmark span { display: inline-block; }
html:not(.has-swarm) .wordmark { -webkit-text-stroke-color: rgba(255, 255, 255, 0.16); }

/* ---------- dark theme for the product demos (the real interface has one; tokens only) ---------- */
.frame .sd-demo, .stage .sd-demo {
  background: #0c0d0f;
  --bg-page: #0b0c0e; --bg-app: #0e0f11; --bg-pane: #101113; --bg-doc: #17191c; --bg-sunken: #0b0c0e;
  --bg-soft: rgba(255, 255, 255, 0.05); --bg-soft2: rgba(255, 255, 255, 0.09); --bg-mark: rgba(255, 214, 102, 0.22);
  --text-primary: #f2f3f5; --text-secondary: #b6bcc6; --text-muted: #8a8f98; --text-faint: #5f646c;
  --border-subtle: rgba(255, 255, 255, 0.09); --border-hairline: rgba(255, 255, 255, 0.07); --border-strong: rgba(255, 255, 255, 0.18);
  --brand-navy: #8ea0ff; --brand-blue: #6f88ff; --brand-blue-soft: rgba(111, 136, 255, 0.16);
  --sev-crit: #ff5f57; --sev-high: #ff9f43; --sev-med: #e0b64a; --sev-low: #8a8f98; --sev-ok: #2fd27f;
}
.frame .sd-demo[data-demo="detect"], .stage .sd-demo[data-demo="detect"] { --accent: #ff9f43; --accent-soft: rgba(255, 159, 67, 0.14); }
.frame .sd-demo[data-demo="simulate"], .stage .sd-demo[data-demo="simulate"] { --accent: #6f88ff; --accent-soft: rgba(111, 136, 255, 0.16); }
.frame .sd-demo[data-demo="report"], .stage .sd-demo[data-demo="report"] { --accent: #8ea0ff; --accent-soft: rgba(142, 160, 255, 0.16); }

/* ============================================================
   responsive
   ============================================================ */
@media (max-width: 1180px) {
  .how-sticky { grid-template-columns: 340px minmax(0, 1fr); gap: 48px; }
  .statement-grid { grid-template-columns: minmax(0, 1fr) 240px; gap: 48px; }
  .swarm-doc { height: 310px; }
  .vault { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); }
  .swarm-q { right: 230px; }
}

/* tablets and phones: "how it works" becomes a story you swipe (no sticky stage) */
@media (max-width: 1024px) {
  :root { --gap-sec: 160px; }
  .hero-row { grid-template-columns: 1fr; align-items: start; }
  .hero-facts { text-align: left; }
  .frame-wrap { padding-inline: 24px; }
  .frame { height: 56vw; }
  .statement .lb { display: none; }
  .pillars { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .how { min-height: 0; }
  .how-sticky { position: static; height: auto; display: block; }
  .how-steps .h2 { margin: 16px 0 28px; }
  .story-bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 22px; }
  .story-bars button { position: relative; height: 22px; }
  .story-bars button::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.16); }
  .story-bars button i { position: absolute; left: 0; right: 0; top: 10px; height: 2px; border-radius: 2px; background: #fff; transform: scaleX(0); transform-origin: left; }
  .steps { display: grid; gap: 0; }
  .step { grid-area: 1 / 1; padding: 0; opacity: 0; visibility: hidden; translate: 0 12px; cursor: default; transition: opacity 0.3s var(--eo-quad), translate 0s linear 0.3s, visibility 0s linear 0.3s; }
  .step.is-active { opacity: 1; visibility: visible; translate: none; transition: opacity 0.6s var(--soft) 0.16s, translate 0.8s var(--soft) 0.16s, visibility 0s; }
  .step::before, .step-bar { display: none; }
  .step h3 { margin-top: 10px; }
  .step-body p { max-width: 520px; }
  .stage-wrap { width: 100%; margin-top: 26px; justify-self: auto; }
  .stage { touch-action: pan-y; }
  .stage-panel { clip-path: none; transform: translateX(calc(var(--dir, 1) * 9%)) scale(0.97); transition: opacity 0.45s var(--eo-quad), transform 0.7s var(--e-apple); }
  .stage-panel.is-active { transform: none; }
  .stage-panel.was-active { opacity: 0; transform: translateX(calc(var(--dir, 1) * -9%)) scale(0.97); transition: opacity 0.35s var(--eo-quad), transform 0.7s var(--e-apple); }
  .story-nav { display: block; position: absolute; top: 0; bottom: 0; width: 34%; z-index: 6; -webkit-tap-highlight-color: transparent; }
  .story-nav.prev { left: 0; }
  .story-nav.next { right: 0; }
  .story-hint { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; font: 400 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); transition: opacity 0.5s var(--eo-quad); }
  .story-hint svg { width: 14px; height: 14px; animation: nudge 1.8s var(--e-apple) infinite; }
  .story-hint.is-used { opacity: 0; }
  @keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
  .stage-num { display: none; }
  .split-head { grid-template-columns: 1fr; align-items: start; gap: 22px; }
  .split-head p { justify-self: start; }
  .trio { grid-template-columns: 1fr; gap: 36px; }
  .vault { grid-template-columns: 1fr; min-height: 0; }
  .ctls { grid-column: 1; grid-row: auto; padding: 22px 22px 0; }
  .ctl.is-active { transform: none; }
  .matrix-space { grid-column: 1; grid-row: auto; min-height: 0; height: 300px; }
  .readout { grid-column: 1; grid-row: auto; margin: 0 22px 20px; justify-self: stretch; width: auto; text-align: left; min-height: 66px; }
  .call { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .swarm-q { display: none; }
}
@media (max-width: 900px) {
  .nav, .pill .nav { display: none; }
  .burger { display: inline-flex; margin-left: auto; }
  .header-right { margin-left: 0; }
  .statement-grid { grid-template-columns: 1fr; gap: 40px; }
  .swarm-doc { order: -1; width: 190px; height: 240px; justify-self: start; }
  .duel-cols { grid-template-columns: 1fr; gap: 14px; }
  .ans { min-height: 0; }
  .duel-q { flex-direction: column; align-items: flex-start; gap: 8px; }
  .duel-caret { display: none; }
  .duel-foot { flex-wrap: wrap; gap: 14px; }
  .duel-foot .link-arrow { margin-left: 0; }
  .duel-next { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 46px; margin-top: 14px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); font-size: 14px; font-weight: 510; color: #fff; }
  .duel-next svg { width: 14px; height: 14px; }
  .duel-next:active { background: rgba(255, 255, 255, 0.09); }
  .tabs.is-auto .tab.is-active .tab-prog { display: none; }
  .proof { padding: 10px; }
  .proof-panel { border-radius: 24px; padding: 80px 16px 40px; }
  .film { margin-top: 40px; }
  .film-screen { border-radius: 12px; }
  .film-poster { gap: 20px; }
  .play { width: 64px; height: 64px; }
  .film-end { gap: 18px; padding: 24px; }
  .film-end .h2 { font-size: 24px; }
  .footer-bottom { flex-direction: column; }
}

/* phones: smaller type, lighter blocks, the same air between them */
@media (max-width: 640px) {
  :root { --pad: 22px; --gap-sec: 116px; --header-h: 60px; }
  body { font-size: 14px; }
  .brand { font-size: 15px; gap: 8px; margin-right: 0; }
  .mark { width: 20px; height: 20px; }
  .btn { height: 40px; padding: 0 17px; font-size: 14px; }
  .btn-sm { height: 30px; padding: 0 11px; font-size: 12.5px; }
  .link-arrow { font-size: 14px; }
  .eyebrow { font-size: 10.5px; }
  .pill { top: 10px; height: 44px; padding: 0 5px 0 12px; border-radius: 14px; }
  .pill .brand { font-size: 14px; margin-right: 10px; }
  .pill .btn-sm { margin-left: 0; }

  .hero { padding-top: calc(var(--header-h) + 56px); }
  .hero-title { max-width: 330px; }
  .hero-row { margin-top: 26px; gap: 30px; }
  .hero-left { gap: 26px; }
  .hero-lede { font-size: 14.5px; line-height: 1.6; max-width: 320px; }
  .hero-ctas { flex-wrap: wrap; gap: 18px; }
  .hero-facts { font-size: 10.5px; line-height: 1.85; }
  .hero-glow { width: 900px; height: 760px; }
  .frame-wrap { padding-inline: var(--pad); margin-top: 44px; }
  /* phones: the interface re-flows into a single 400px column (no rail, no library) on a tall surface;
     the frame is fitted by width, keeps its corners, and the camera pans down the column instead of zooming */
  .frame { height: auto; aspect-ratio: 400 / 560; border-radius: 12px; }
  .frame-edge { border-radius: 13px; }
  .frame::after { width: 40px; }
  .frame::before { height: 80px; }
  .frame-demo .sd-demo, .stage .sd-demo { --fit: width; inset: 0; left: 0; top: 0; width: 100%; height: 100%; aspect-ratio: auto; }
  .frame .sd-scale, .stage .sd-scale { width: 400px; height: 1000px; }
  .frame .sd-rail, .frame .sd-lib, .frame .sd-cov, .stage .sd-rail, .stage .sd-lib, .stage .sd-cov { display: none; }
  .frame .sd-app, .stage .sd-app { grid-template-columns: 1fr; }
  .frame .sd-modebar, .stage .sd-modebar { padding: 0 14px; }
  .frame .sd-mb-right > span:not(.sd-status), .stage .sd-mb-right > span:not(.sd-status) { display: none; }
  .frame .sd-stage, .stage .sd-stage { padding: 14px 16px; }
  .frame .sd-chips, .stage .sd-chips { flex-wrap: wrap; gap: 5px; }
  .frame .sd-detail-in, .stage .sd-detail-in { grid-template-columns: 1fr; gap: 12px; }
  .frame .sd-sim-cols, .stage .sd-sim-cols { grid-template-columns: 1fr; }
  .frame .sd-timebar-row, .stage .sd-timebar-row { grid-template-columns: 1fr; gap: 10px; }
  .frame .sd-doc, .stage .sd-doc { padding: 20px 20px 18px; }
  .frame .sd-demo.is-playing[data-demo="detect"] .sd-cam { animation-name: v2CamDetect; }
  .stage .sd-demo.is-playing[data-demo="detect"] .sd-cam { animation-name: v2CamDetectStage; }
  .frame .sd-demo.is-playing[data-demo="simulate"] .sd-cam, .stage .sd-demo.is-playing[data-demo="simulate"] .sd-cam { animation-name: v2CamSim; }
  .frame .sd-demo.is-playing[data-demo="report"] .sd-cam, .stage .sd-demo.is-playing[data-demo="report"] .sd-cam { animation-name: v2CamReport; }

  .statement-sec { padding-top: 104px; }
  .statement { line-height: 1.22; letter-spacing: -0.018em; max-width: 330px; }
  .swarm-doc { width: 150px; height: 190px; }
  .statement-grid { gap: 32px; }
  .pillars { margin-top: 72px; gap: 14px; }
  .pillar { padding: 10px 10px 26px; border-radius: 18px; }
  .scene { height: 214px; }
  .pillar-k { margin: 22px 12px 0; font-size: 10px; }
  .pillar h3 { margin: 10px 12px 6px; font-size: 17px; }
  .pillar p { margin: 0 12px; font-size: 13.5px; max-width: 290px; }
  .sf-page { left: 18px; top: 20px; bottom: 20px; padding: 12px 13px; }
  .sf-tags { left: calc(18px + 44%); top: 20px; bottom: 20px; padding: 12px 0; right: 8px; }
  .sf-tag { font-size: 10px; }
  .sf-tag i { width: 14px; margin-right: 6px; }
  .sf-count { right: 12px; top: 12px; font-size: 9.5px; }
  .sf-count b { font-size: 17px; }
  .sp-find { left: 18px; top: 20px; right: 22%; height: 40px; font-size: 12px; padding: 0 12px; }
  .sp-wire { left: 38px; top: 60px; height: 52px; }
  .sp-clause { left: 70px; right: 18px; bottom: 20px; padding: 10px 12px 11px; }
  .sp-clause p { font-size: 12.5px; }
  .sp-stamp { right: 12px; top: 76px; height: 24px; font-size: 9.5px; }
  .sx-doc { left: 18px; right: 18px; top: 20px; padding: 12px 14px 14px; }
  .sx-doc p { font-size: 13.5px; }
  .sx-bar { left: 18px; right: 18px; bottom: 18px; font-size: 10px; }

  .how-steps .h2 { margin: 14px 0 24px; }
  .story-bars { margin-bottom: 18px; }
  .step-num { font-size: 10.5px; }
  .step h3 { font-size: 18px; margin-top: 8px; }
  .step-body p { font-size: 13.5px; line-height: 1.55; max-width: 320px; }
  .step-body p::before { height: 6px; }
  .stage-wrap { margin-top: 22px; }
  .stage { aspect-ratio: 400 / 470; }
  .story-hint { margin-top: 14px; font-size: 10px; }

  .proof { padding: 8px; }
  .proof-panel { border-radius: 22px; padding: 64px 14px 34px; }
  .proof-head .intro { margin-top: 16px; font-size: 14px; max-width: 290px; }
  .tabs-wrap { margin-top: 30px; }
  .tabs { flex-wrap: wrap; justify-content: center; gap: 6px; border: 0; background: none; padding: 0; overflow: visible; }
  .tab { padding: 9px 13px; border: 1px solid var(--line-2); font-size: 10px; }
  .tab.is-active { background: rgba(255, 255, 255, 0.12); }
  .tab-ind { display: none; }
  .tab-prog { left: 13px; right: 13px; bottom: 4px; }
  .duel { margin-top: 30px; }
  .duel-q { padding: 0 4px 18px; }
  .duel-q-lbl { font-size: 10px; }
  .duel-cols { margin-top: 18px; gap: 12px; }
  .ans { min-height: 0; padding: 20px 18px 22px; border-radius: 18px; }
  .ans-head { margin-bottom: 20px; }
  .ans-name { font-size: 13px; }
  .ans-tag { height: 22px; padding: 0 8px; font-size: 9.5px; }
  .bubble { font-size: 13.5px; padding: 13px 15px; border-radius: 16px 16px 16px 5px; }
  .miss { padding-top: 20px; gap: 6px; }
  .miss li { height: 26px; padding: 0 10px 0 8px; font-size: 10.5px; }
  .cite { margin-top: 20px; padding-left: 13px; }
  .cite blockquote { font-size: 13px; }
  .sim { padding-top: 26px; }
  .sim-lbl { font-size: 9.5px; }
  .trace-wrap { margin-top: 15px; }
  .trace li { padding: 20px 8px 0 0; }
  .trace-t { font-size: 9px; letter-spacing: 0.06em; }
  .trace-v { font-size: 12.5px; margin-top: 5px; }
  .duel-foot { margin-top: 22px; font-size: 13.5px; }
  .proof-note { margin-top: 22px; font-size: 10.5px; }

  .split-head p, .faq-copy p { font-size: 14.5px; max-width: 320px; }
  .vault { margin-top: 40px; border-radius: 14px; }
  .ctls { padding: 14px 14px 0; gap: 8px; }
  .ctl { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 13px 13px 14px; border-radius: 12px; }
  .vault-tag { top: auto; bottom: 14px; right: 16px; font-size: 9.5px; }
  .ctl-ico { width: 34px; height: 34px; border-radius: 9px; }
  .ctl-ico svg { width: 16px; height: 16px; }
  .ctl-txt b { font-size: 13.5px; }
  .ctl-txt small { font-size: 12px; }
  .matrix-space { height: 230px; }
  .readout { margin: 0 16px 16px; font-size: 10.5px; min-height: 58px; }
  .trio { margin-top: 48px; gap: 30px; }
  .trio > div { padding-top: 18px; }
  .trio h3 { font-size: 15px; margin-bottom: 6px; }
  .trio p { font-size: 13.5px; }

  .film { margin-top: 36px; }
  .film-screen { border-radius: 10px; }
  .play { width: 54px; height: 54px; }
  .play svg { width: 18px; height: 18px; }
  .film-poster { gap: 14px; }
  .film-dur { display: none; }
  .film-note { font-size: 10.5px; }

  .faq-head { grid-template-columns: 1fr; gap: 0; }
  .faq-head .h2 { margin-top: 14px; }
  .deck-ctrl { display: none; }
  .deck { margin-top: 36px; gap: 12px; padding-bottom: 22px; }
  .qa { flex-basis: 78vw; min-height: 292px; padding: 22px 22px 24px; border-radius: 18px; }
  .qa-n { font-size: 10.5px; }
  .qa h3 { margin-top: 16px; font-size: 18px; }
  .qa p { padding-top: 22px; font-size: 13.5px; }
  .deck-hint { display: flex; align-items: center; gap: 10px; margin-top: 18px; font: 400 10px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
  .deck-hint b { font-weight: 500; color: var(--fg-2); }
  .deck-hint svg { width: 14px; height: 14px; margin-left: auto; animation: nudge 1.8s var(--e-apple) infinite; }

  .call { gap: 26px; padding: 20px; margin-top: 40px; border-radius: 18px; }
  .call-copy { gap: 14px; }
  .call-copy > p { font-size: 13.5px; }
  .call-facts li { font-size: 13px; }
  .call-cal { min-height: 540px; border-radius: 12px; }

  .footer { padding-top: 44px; }
  .footer-grid { grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 32px 20px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer p { font-size: 13px; }
  .footer li a { font-size: 13.5px; }
  .footer-bottom { margin-top: 40px; font-size: 10.5px; gap: 6px; }
  .wordmark { margin-top: 28px; }
}
/* phone cameras: pans only, down a 400x1000 column, never past the surface */
@keyframes v2CamDetect {
  0%, 20% { transform: none; }
  38%, 60% { transform: translate(0, -70px); }
  74% { transform: translate(0, -130px); }
  100% { transform: translate(0, -330px); }
}
@keyframes v2CamDetectStage {
  0%, 20% { transform: none; }
  38%, 60% { transform: translate(0, -70px); }
  74% { transform: translate(0, -170px); }
  100% { transform: translate(0, -420px); }
}
@keyframes v2CamSim {
  0%, 12% { transform: none; }
  24%, 66% { transform: translate(0, -60px); }
  76%, 100% { transform: translate(0, -200px); }
}
@keyframes v2CamReport {
  0%, 8% { transform: none; }
  22%, 72% { transform: translate(0, -40px); }
  80%, 100% { transform: translate(0, -170px); }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
  .trio > div::before { transform: none; transition: none; }
  .hero-glow, .call::before, .frame-edge, .play-ring, .story-hint svg, .deck-hint svg { animation: none; }
  .header, .pill, .stage-panel, .cite, .sim, .miss li, .bubble-text, .trace-t, .trace-v, .step, .mobile-menu, .mobile-menu a { transition: none; }
  .qa { opacity: 1; transform: none; }
  .frame-edge { display: none; }
}
