@font-face { font-family: "Space Grotesk"; src: url("fonts/space-grotesk-variable.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/ibm-plex-sans-var.woff2") format("woff2"); font-weight: 100 700; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* Steel & Signal tokens (brand.json, locked) */
:root {
  --bg: #121519;          /* Gunmetal Base */
  --bg-2: #191D22;        /* Steel Raised 1 */
  --bg-3: #21262C;        /* Steel Raised 2 */
  --steel-3: #2A3037;     /* Steel Raised 3 */
  --line: rgba(220,228,235,.08);
  --line-2: rgba(220,228,235,.14);
  --text: #EEF1F4;        /* Instrument Near-White */
  --muted: #A6AFB8;       /* Steel Secondary Text */
  --dim: #717A83;         /* Steel Muted Text */
  --signal: #FF6A2C;      /* Signal Orange */
  --signal-2: #FF7A3D;    /* Signal Orange Live */
  --signal-hover: #E85518;
  --signal-glow: rgba(255,106,44,.35);
  --cyan: #4FD0D8;
  --ok: #5BD08A;
  --max: 1200px;
  --r: 18px;
  --ease: cubic-bezier(0.2, 0, 0, 1);   /* --ease-settle */
  --display: "Space Grotesk", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --readout-glow: radial-gradient(80% 80% at 50% 40%, rgba(255,106,44,0.18) 0%, rgba(255,106,44,0.05) 45%, rgba(18,21,25,0.0) 75%);
  --steel-sheen: linear-gradient(135deg, rgba(220,228,235,0.05) 0%, rgba(220,228,235,0.00) 35%, rgba(0,0,0,0.10) 100%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 "IBM Plex Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--signal); color: #111; }
a { color: var(--signal); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* subtle grain + grid backdrop */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 70%);
  opacity: .35;
}

/* ---------- header ---------- */
header.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
header.top.scrolled, .doc-page header.top { background: rgba(10,11,13,.78); backdrop-filter: blur(14px) saturate(1.4); border-color: var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; letter-spacing: .14em; color: var(--text); font-size: 15px; white-space: nowrap; }
.logo:hover { text-decoration: none; }
.logo .mark { width: 32px; height: 32px; }
.logo .wm { height: 15px; width: auto; }
@media (max-width: 380px) { .logo .wm { height: 12px; } }
nav.menu { display: flex; gap: 30px; align-items: center; }
nav.menu a { color: var(--muted); font-size: 14px; font-weight: 500; transition: color .2s; }
nav.menu a:hover { color: var(--text); text-decoration: none; }
nav.menu .btn { color: #111; }
@media (max-width: 860px) { nav.menu a:not(.btn) { display: none; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: transform .2s var(--ease), box-shadow .2s, background .2s; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn.primary { background: var(--signal); color: #111; box-shadow: 0 10px 30px -8px var(--signal-glow), inset 0 1px 0 rgba(255,255,255,.3); }
.btn.primary:hover { box-shadow: 0 16px 40px -8px var(--signal-glow), inset 0 1px 0 rgba(255,255,255,.3); }
.btn.ghost { border: 1px solid var(--line-2); color: var(--text); background: rgba(255,255,255,.02); }
.btn.ghost:hover { background: rgba(255,255,255,.06); }
.btn.sm { padding: 10px 18px; font-size: 14px; }

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--signal); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.025em; }
h1 { font-size: clamp(44px, 7.4vw, 96px); line-height: .98; margin: 22px 0 24px; font-weight: 700; }
h1 em, h2 em { font-style: normal; color: var(--signal); }
h2 { font-size: clamp(34px, 4.8vw, 60px); line-height: 1.03; margin: 18px 0 20px; font-weight: 700; }
h3 { font-size: 21px; margin: 0 0 10px; font-weight: 600; letter-spacing: -.01em; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 640px; margin: 0; }
.center { text-align: center; }
.center .lead { margin: 0 auto; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; right: -260px; top: -200px;
  background: radial-gradient(circle, rgba(255,106,44,.22), transparent 60%);
  filter: blur(20px);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 120px; } }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; color: var(--muted); background: rgba(255,255,255,.03); }
.pill b { background: var(--signal); color: #111; border-radius: 999px; padding: 2px 9px; font-size: 11px; letter-spacing: .06em; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 38px; }
.hero-note { margin-top: 26px; display: flex; gap: 22px; flex-wrap: wrap; color: var(--dim); font-size: 13px; }
.hero-note span { display: inline-flex; align-items: center; gap: 8px; }
.hero-note span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }

/* phone mockup */
.phone-stage { position: relative; display: grid; place-items: center; perspective: 1400px; }
.phone {
  position: relative; width: 320px; aspect-ratio: 9/19.5; border-radius: 52px; padding: 12px;
  background: linear-gradient(145deg, #2a2e35, #0d0f12);
  box-shadow: 0 0 0 1.5px #3a3f47, 0 60px 120px -30px rgba(0,0,0,.9), 0 0 90px -20px var(--signal-glow);
  transform: rotateY(-14deg) rotateX(6deg) rotateZ(1deg);
  transition: transform .8s var(--ease);
  animation: float 7s ease-in-out infinite;
}
.phone-stage:hover .phone { transform: rotateY(-4deg) rotateX(2deg); }
@keyframes float { 50% { translate: 0 -12px; } }
.screen { position: relative; height: 100%; border-radius: 40px; overflow: hidden; background: #0c0e11; padding: 52px 18px 18px; display: flex; flex-direction: column; gap: 12px; font-size: 12px; }
.screen::before { content: ""; position: absolute; top: 12px; left: 50%; translate: -50% 0; width: 96px; height: 28px; border-radius: 20px; background: #000; }
.s-head { display: flex; justify-content: space-between; align-items: center; }
.s-head small { color: var(--muted); font-size: 10px; letter-spacing: .14em; }
.s-head .coin { display: flex; gap: 6px; align-items: center; font-weight: 700; font-size: 13px; }
.s-head .coin i { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffc58f, var(--signal)); }
.s-rank { padding: 16px; border-radius: 18px; background: linear-gradient(140deg, #1d2127, #121418); border: 1px solid var(--line); }
.s-rank .lbl { color: var(--muted); font-size: 10px; letter-spacing: .12em; }
.s-rank .val { font-family: var(--display); font-size: 40px; font-weight: 700; line-height: 1; margin: 6px 0; }
.s-rank .val span { color: var(--signal); }
.bar { height: 6px; border-radius: 6px; background: #22262d; overflow: hidden; }
.bar i { display: block; height: 100%; width: 72%; background: linear-gradient(90deg, var(--signal), var(--signal-2)); border-radius: 6px; animation: grow 2.4s var(--ease) both; }
@keyframes grow { from { width: 0; } }
.s-list { display: flex; flex-direction: column; gap: 6px; }
.s-row { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #13161a; border: 1px solid var(--line); }
.s-row b { color: var(--dim); font-size: 11px; }
.s-row.me { border-color: rgba(255,106,44,.5); background: rgba(255,106,44,.08); }
.s-row.me b { color: var(--signal); }
.s-row em { font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }
.s-cta { margin-top: auto; padding: 14px; border-radius: 14px; background: var(--signal); color: #111; text-align: center; font-weight: 700; font-size: 13px; }
.floating {
  position: absolute; padding: 12px 16px; border-radius: 14px; font-size: 13px;
  background: rgba(23,26,31,.82); border: 1px solid var(--line-2); backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,.6); display: flex; gap: 10px; align-items: center;
  animation: float 6s ease-in-out infinite;
}
.floating small { display: block; color: var(--muted); font-size: 11px; }
.floating .dot { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,106,44,.15); color: var(--signal); font-weight: 700; }
.f1 { left: -2%; bottom: 22%; animation-delay: -2s; }
.f2 { right: -2%; top: 10%; animation-delay: -4s; }
.s-draw { padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: radial-gradient(circle at 100% 0%, rgba(255,106,44,.18), transparent 60%), #13161a; }
.s-draw .lbl { color: var(--muted); font-size: 10px; letter-spacing: .12em; }
.s-draw b { display: block; font-family: var(--display); font-size: 16px; margin: 4px 0 10px; }
.s-draw .meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; }
.s-draw .meta span:last-child { color: var(--signal); font-weight: 600; }
@media (max-width: 960px) { .f1 { left: 4%; } .f2 { right: 4%; } }
@media (max-width: 480px) { .phone { width: 270px; } .floating { display: none; } }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--bg-2); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: scroll 38s linear infinite; }
.marquee span { font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--dim); white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee span::after { content: "◆"; color: var(--signal); font-size: 12px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { padding: 130px 0; position: relative; }
@media (max-width: 700px) { section { padding: 90px 0; } }
.head { max-width: 760px; margin-bottom: 60px; }

/* bento */
.bento { display: grid; gap: 16px; grid-template-columns: repeat(6, 1fr); }
.tile {
  position: relative; overflow: hidden; border-radius: var(--r); padding: 32px;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--line);
  transition: border-color .3s, transform .4s var(--ease);
  min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end;
}
.tile:hover { border-color: var(--line-2); transform: translateY(-4px); }
.tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(255,106,44,.12), transparent 40%); opacity: 0; transition: opacity .3s; }
.tile:hover::before { opacity: 1; }
.tile p { color: var(--muted); margin: 0; position: relative; }
.tile h3 { position: relative; }
.tile .tag { position: absolute; top: 28px; left: 32px; font-size: 12px; font-weight: 700; color: var(--signal); letter-spacing: .14em; }
.w3 { grid-column: span 3; } .w2 { grid-column: span 2; } .w4 { grid-column: span 4; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } .w2, .w3, .w4 { grid-column: span 1; } .tile.big { grid-column: span 2; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .tile.big { grid-column: span 1; } }
.tile .art { position: absolute; inset: 0 0 auto 0; height: 60%; display: grid; place-items: center; }

/* road art */
.road { position: absolute; inset: 0 0 0 50%; overflow: hidden; }
@media (max-width: 900px) { .road { left: 0; opacity: .3; } }
.road::before { content: ""; position: absolute; left: 50%; bottom: -10%; width: 140%; height: 120%; translate: -50% 0; background: linear-gradient(transparent, rgba(255,106,44,.08)); clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%); }
.road::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; translate: -50% 0; background: repeating-linear-gradient(var(--signal) 0 26px, transparent 26px 56px); animation: lane .9s linear infinite; mask-image: linear-gradient(transparent, #000 30%, #000); opacity: .8; }
@keyframes lane { to { background-position: 0 56px; } }

/* gauge */
.gauge { width: 180px; height: 100px; position: relative; margin-top: 20px; }
.gauge svg { width: 100%; height: 100%; }
.gauge .needle { transform-origin: 90px 90px; animation: needle 3.6s var(--ease) infinite alternate; }
@keyframes needle { from { transform: rotate(-80deg); } to { transform: rotate(55deg); } }

/* tiers */
.tiers { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }
.tier { border-radius: var(--r); padding: 34px; border: 1px solid var(--line); background: var(--bg-2); position: relative; overflow: hidden; }
.tier .n { font-family: var(--display); font-size: 13px; letter-spacing: .16em; color: var(--muted); }
.tier h3 { font-size: 30px; margin: 12px 0; }
.tier p { color: var(--muted); margin: 0 0 22px; }
.tier ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
.tier li { display: flex; gap: 10px; color: #c7ccd3; }
.tier li::before { content: "✓"; color: var(--signal); font-weight: 700; }
.tier.hot { border-color: rgba(255,106,44,.45); background: linear-gradient(180deg, rgba(255,106,44,.10), var(--bg-2) 60%); box-shadow: 0 30px 80px -40px var(--signal-glow); }
.tier.hot .n { color: var(--signal); }
.tier .odds { display: flex; gap: 4px; margin-bottom: 22px; }
.tier .odds i { flex: 1; height: 4px; border-radius: 4px; background: #23272e; }
.tier .odds i.on { background: var(--signal); }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 50px; } }
.checks { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 18px; }
.checks li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.checks .ic { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--signal); font-weight: 700; background: var(--bg-3); }
.checks b { display: block; font-family: var(--display); font-size: 17px; }
.checks span { color: var(--muted); font-size: 15px; }

/* proof panel */
.panel { border-radius: 22px; border: 1px solid var(--line-2); background: var(--bg-2); padding: 26px; font-family: var(--mono); font-size: 13px; box-shadow: 0 40px 100px -40px rgba(0,0,0,.8); }
.panel .bar-top { display: flex; gap: 7px; margin-bottom: 20px; }
.panel .bar-top i { width: 11px; height: 11px; border-radius: 50%; background: #2a2e35; }
.panel .row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.panel .row span:first-child { color: var(--dim); }
.panel .row span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel .ok { margin-top: 18px; padding: 14px; border-radius: 12px; background: rgba(91,208,138,.08); border: 1px solid rgba(91,208,138,.3); color: var(--ok); font-family: "IBM Plex Sans", sans-serif; font-weight: 600; display: flex; gap: 10px; align-items: center; }

/* facts strip */
.facts-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.facts-strip div { padding: 34px 28px; border-right: 1px solid var(--line); background: var(--bg-2); }
.facts-strip div:last-child { border-right: 0; }
.facts-strip b { display: block; font-family: var(--display); font-size: clamp(36px, 4vw, 52px); line-height: 1; letter-spacing: -.03em; }
.facts-strip b em { font-style: normal; color: var(--signal); }
.facts-strip span { color: var(--muted); font-size: 14px; display: block; margin-top: 10px; }
@media (max-width: 800px) { .facts-strip { grid-template-columns: 1fr 1fr; } .facts-strip div:nth-child(2) { border-right: 0; } .facts-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* company */
.facts { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.facts li { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; }
.facts li span:first-child { color: var(--muted); }
.facts li span:last-child { text-align: right; font-weight: 500; }

/* faq */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 26px 0; display: flex; justify-content: space-between; gap: 20px; font-family: var(--display); font-size: 20px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--signal); font-size: 26px; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: -8px 0 26px; max-width: 720px; }

/* cta */
.cta { border-radius: 28px; padding: clamp(48px, 8vw, 100px) clamp(24px, 6vw, 80px); text-align: center; position: relative; overflow: hidden; border: 1px solid rgba(255,106,44,.3);
  background: radial-gradient(ellipse at 50% 120%, rgba(255,106,44,.35), transparent 60%), var(--bg-2); }
.cta h2 { max-width: 820px; margin-inline: auto; }
.cta .btns { justify-content: center; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px; border-radius: 14px; background: #fff; color: #111; text-align: left; line-height: 1.15; font-weight: 600; }
.store small { display: block; font-size: 11px; font-weight: 500; opacity: .7; }
.store:hover { text-decoration: none; }
.store svg { width: 22px; height: 22px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- legal pages ---------- */
.doc { padding: 140px 0 100px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(40px, 6vw, 64px); }
.doc h2 { font-size: 24px; margin-top: 48px; }
.doc p, .doc li { color: #c3c9d1; }
.doc .meta { color: var(--muted); font-size: 14px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 70px 0 40px; color: var(--muted); font-size: 14px; background: var(--bg-2); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
footer h4 { color: var(--text); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 16px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); text-decoration: none; }
.foot-bottom { margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--dim); font-size: 13px; }

/* =========================================================
   Scroll-driven, product-page style motion
   ========================================================= */

.link-arrow { color: var(--signal); font-weight: 600; font-size: 16px; }
.link-arrow::after { content: " \203A"; font-size: 1.2em; }
.load-up { opacity: 0; transform: translateY(30px); animation: loadUp 1.1s var(--ease) forwards; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .25s; } .d3 { animation-delay: .4s; } .d4 { animation-delay: .55s; } .d5 { animation-delay: .75s; }
@keyframes loadUp { to { opacity: 1; transform: none; } }
.phone.flat { transform: none; animation: none; width: 340px; will-change: transform; }
@media (max-width: 600px) { .phone.flat { width: 280px; } }

/* word-by-word highlight */
.highlight { padding: 160px 0; }
.highlight p { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 5.2vw, 68px); line-height: 1.1; letter-spacing: -.025em; margin: 0; max-width: 1050px; }
.highlight .w { color: #2a2e35; transition: color .6s var(--ease); }
.highlight .w.lit { color: var(--text); }
.highlight .w.lit.hot { color: var(--signal); }

/* sticky device story */
.story { height: 340vh; position: relative; padding: 0; }
.story-sticky { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.captions { position: relative; height: 340px; }
.cap { position: absolute; inset: 0; opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.cap h2 { font-size: clamp(36px, 4.6vw, 60px); }
.story[data-step="0"] .cap:nth-child(1), .story[data-step="1"] .cap:nth-child(2), .story[data-step="2"] .cap:nth-child(3) { opacity: 1; transform: none; }
.story-dots { display: flex; gap: 8px; margin-top: 10px; position: absolute; bottom: 0; left: 0; }
.story-dots i { width: 28px; height: 4px; border-radius: 4px; background: #2a2e35; overflow: hidden; position: relative; }
.story-dots i b { position: absolute; inset: 0; width: 0; background: var(--signal); }
.story-device { display: flex; justify-content: center; }
.story .phone.flat { width: min(330px, 36vh); }
.screens { position: relative; height: 100%; border-radius: 40px; overflow: hidden; background: #0c0e11; }
.screens .screen { position: absolute; inset: 0; opacity: 0; transform: scale(.94); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.story[data-step="0"] .screen:nth-child(1), .story[data-step="1"] .screen:nth-child(2), .story[data-step="2"] .screen:nth-child(3) { opacity: 1; transform: none; }
@media (max-width: 860px) {
  .story-sticky { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 10px; padding-top: 90px; align-items: start; }
  .captions { height: 170px; }
  .cap h2 { font-size: 30px; margin: 10px 0 8px; }
  .cap .lead { font-size: 15px; }
  .story .phone.flat { width: min(270px, 30vh); }
  .story-dots { display: none; }
}

/* live multiplier over the real Fuel Rush frame */
.shot-wrap { position: relative; container-type: inline-size; }
.shot-wrap img { width: 100%; height: auto; display: block; }

/* zoom stat */
.zoom { height: 220vh; position: relative; padding: 0; }
.zoom-sticky { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; text-align: center; overflow: hidden; }
.zoom-num { font-family: var(--display); font-weight: 700; font-size: clamp(160px, 30vw, 380px); line-height: .85; letter-spacing: -.06em; will-change: transform, opacity;
  color: var(--text); }
.zoom-text { will-change: opacity, transform; }
.zoom-text h2 { margin-top: 10px; }

/* horizontal gallery */
.gallery-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: min(380px, 82vw); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: max(24px, calc((100vw - var(--max)) / 2 + 24px)); padding: 10px max(24px, calc((100vw - var(--max)) / 2 + 24px)) 30px; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.g-card { scroll-snap-align: start; border-radius: 26px; min-height: 460px; padding: 34px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); background: var(--bg-2); position: relative; overflow: hidden; transition: transform .5s var(--ease); }
.g-card:hover { transform: scale(1.015); }
.g-card .k { color: var(--signal); font-size: 12px; font-weight: 700; letter-spacing: .16em; }
.g-card h3 { font-size: 30px; line-height: 1.1; margin: 12px 0 0; }
.g-card p { color: var(--muted); margin: 0; }
.g-card .big { font-family: var(--display); font-size: 120px; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255,106,44,.55); }
.g-card.hot { background: radial-gradient(circle at 80% 0%, rgba(255,106,44,.28), transparent 60%), var(--bg-2); }
.g-nav { display: flex; gap: 10px; }
.g-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg-3); color: var(--text); font-size: 20px; cursor: pointer; transition: background .2s; }
.g-nav button:hover { background: #22262d; }
.g-nav button:disabled { opacity: .35; cursor: default; }

/* parallax helper */
[data-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .load-up { opacity: 1; transform: none; }
  .highlight .w { color: var(--text); }
}

/* intro: real Fuel Rush in a phone, over a dusk desert that matches the game */
.intro { height: 250vh; position: relative; padding: 0; }
.intro-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.dusk { position: absolute; inset: 0; background:
  radial-gradient(ellipse 70% 55% at 50% 78%, rgba(255,168,110,.55), rgba(214,110,58,.25) 40%, transparent 72%),
  linear-gradient(180deg, var(--bg) 0%, #140d0a 35%, #3a1e12 68%, #6b3418 82%, #2a160d 100%); }
.sun { position: absolute; left: 50%; top: 66%; width: 46vmin; height: 46vmin; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,226,190,.95), rgba(255,170,110,.55) 35%, rgba(255,120,60,0) 70%); filter: blur(6px); will-change: transform, opacity; }
.mesa { position: absolute; left: -5%; width: 110%; bottom: 0; height: 34vh; will-change: transform; }
.mesa svg { width: 100%; height: 100%; }
.intro-copy { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; padding: 15vh 20px 0; will-change: transform, opacity; }
.intro-copy h1 { font-size: clamp(46px, 7.4vw, 112px); line-height: .95; margin: 16px 0 18px; }
.intro-copy .lead { color: #d4cbc4; max-width: 560px; }
.intro-copy .btns { justify-content: center; align-items: center; margin-top: 28px; }
.intro-phone { position: absolute; left: 50%; top: 50%; will-change: transform; }
.intro-phone .phone.flat { width: min(330px, 40vh); box-shadow: 0 0 0 1.5px #3a3f47, 0 80px 140px -30px rgba(0,0,0,.95), 0 0 120px -10px rgba(255,140,80,.45); }
.intro-dark { position: absolute; inset: 0; background: var(--bg); opacity: 0; pointer-events: none; will-change: opacity; z-index: 1; }
.dusk, .sun, .mesa { z-index: 0; }
.intro-copy, .intro-phone { z-index: 2; }
.scroll-hint { position: absolute; left: 50%; bottom: 28px; translate: -50% 0; z-index: 3; color: var(--muted); font-size: 11px; letter-spacing: .2em; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-hint i { width: 1px; height: 40px; background: linear-gradient(var(--signal), transparent); animation: hint 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* real screenshots inside the phone */
.screen.shot { padding: 0; background: #0c0e11; }
.screen.shot::before { z-index: 2; }
.screen.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.tile .shot-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 66%; opacity: .55; transform: scale(1.25); transition: transform 1.2s var(--ease), opacity .6s; }
.tile:hover .shot-bg { transform: scale(1.32); opacity: .7; }
.tile .shot-fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,19,23,.1) 0%, rgba(17,19,23,.55) 55%, #111317 100%); }
.intro-copy .link-arrow { color: var(--text); }

/* =========================================================
   Hero device sequence (plays once on load):
   spin in 360° → dark screen → hand presses the side button
   → lock screen wakes → Fuel Rush opens → phone settles, cards pop
   ========================================================= */
.device { position: relative; width: 320px; container-type: inline-size; animation: float 7s ease-in-out 6.4s infinite; }
.device .phone.intro3d { width: 100%; transform-style: preserve-3d; animation: spinIn 1.9s cubic-bezier(.16,.8,.24,1) .3s both, settle 1.4s var(--ease) 5s forwards; }
@keyframes spinIn {
  0%   { transform: translateX(70vw) rotateY(-360deg) rotateZ(10deg) scale(.85); }
  100% { transform: translateX(0) rotateY(0) rotateZ(0) scale(1); }
}
@keyframes settle { to { transform: rotateY(24deg) rotateX(7deg) rotateZ(-2deg); } }
.phone-stage:hover .phone.intro3d { transform: rotateY(24deg) rotateX(7deg) rotateZ(-2deg); }

.device-screen { padding: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; transform: translateZ(1px); background: #000; }
.device-screen::before { z-index: 5; }
.app-layer, .lock-layer, .screen-off { position: absolute; inset: 0; border-radius: inherit; }
.app-layer { overflow: hidden; opacity: 0; transform: scale(.16); border-radius: 30px; animation: appOpen .75s cubic-bezier(.2,.8,.2,1) 3.95s forwards; }
.app-layer img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
@keyframes appOpen { 0% { opacity: 0; transform: scale(.16); border-radius: 30px; } 30% { opacity: 1; } 100% { opacity: 1; transform: none; border-radius: 40px; } }

.lock-layer { padding: 74px 16px 0; text-align: center; color: #fff; opacity: 0;
  background: radial-gradient(ellipse 90% 60% at 50% 100%, #e08a52, #7a3a1c 45%, #1a0e09 85%);
  animation: lockShow 1.15s ease 3.05s forwards; }
@keyframes lockShow { 0% { opacity: 0; } 12% { opacity: 1; } 75% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(1.06); } }
.lock-time { font-family: var(--display); font-weight: 600; font-size: 22cqw; line-height: 1; letter-spacing: -.03em; }
.lock-date { font-size: 4.4cqw; opacity: .85; margin-top: 6px; }
.lock-note { margin-top: 26px; display: flex; gap: 10px; text-align: left; padding: 12px; border-radius: 18px; background: rgba(30,30,34,.55); backdrop-filter: blur(10px); font-size: 3.8cqw; line-height: 1.3;
  transform: translateY(14px); opacity: 0; animation: noteIn .45s var(--ease) 3.35s forwards; }
.lock-note img { width: 9cqw; height: 9cqw; flex: none; }
.lock-note b { display: flex; justify-content: space-between; font-size: 3.4cqw; letter-spacing: .06em; opacity: .9; }
.lock-note b small { font-weight: 400; letter-spacing: 0; opacity: .7; }
@keyframes noteIn { to { transform: none; opacity: 1; } }

.screen-off { background: #000; z-index: 4; animation: wake .35s ease 3.0s forwards; }
.screen-off::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.07), transparent 55%); }
@keyframes wake { to { opacity: 0; } }

/* back of the phone, seen during the spin */
.phone-back { position: absolute; inset: 0; border-radius: 52px; transform: translateZ(-27px) rotateY(180deg); backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: linear-gradient(145deg, #3a3f47, #1b1e23 55%, #2a2e35); box-shadow: inset 0 0 0 1.5px #4a505a; display: grid; place-items: center; }
.phone-back img { width: 22%; height: auto; opacity: .9; filter: drop-shadow(0 0 18px rgba(255,106,44,.35)); }
.phone-back .cam { position: absolute; top: 5%; left: 7%; width: 34%; aspect-ratio: 1; border-radius: 26%; background: linear-gradient(145deg, #2c3037, #16181c); box-shadow: inset 0 0 0 1px #4a505a;
  display: grid; grid-template-columns: 1fr 1fr; place-items: center; padding: 8%; gap: 4%; }
.phone-back .cam i { width: 82%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #3b4a66, #050608 60%); box-shadow: 0 0 0 3px #22252b; }
.phone-back .cam i:nth-child(3) { grid-column: 1 / 3; }

/* side (lock) button */
.side-btn { position: absolute; right: -4px; top: 22%; width: 5px; height: 10%; border-radius: 0 3px 3px 0; background: linear-gradient(90deg, #2a2e35, #4a505a); transform: translateZ(0);
  animation: press .3s ease 2.82s; }
@keyframes press { 50% { transform: translateX(-3px); } }

/* cards appear after the app opens */
.floating.late { opacity: 0; animation: popIn .6s var(--ease) 5.2s forwards, float 6s ease-in-out 5.8s infinite; }
.floating.f2.late { animation-delay: 5.45s, 6s; }
@keyframes popIn { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
.floating .dot { min-width: 32px; width: auto; padding: 0 6px; }

@media (max-width: 480px) { .device { width: 260px; } }

@media (prefers-reduced-motion: reduce) {
  .screen-off, .lock-layer, .press-pulse { display: none; }
  .app-layer { opacity: 1; transform: none; }
  .floating.late { opacity: 1; }
}
/* hold the device sequence until the phone is on screen (main.js adds .play) */
.phone-stage:not(.play) .device,
.phone-stage:not(.play) .device *,
.phone-stage:not(.play) .floating { animation-play-state: paused !important; }

/* volume: stacked slices give the phone a 13px titanium body */
.device .phone.intro3d { background: linear-gradient(145deg, #5a616c, #23262c 40%, #3a3f47 70%, #1a1d22); }
.body { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
.body .slice { position: absolute; inset: 0; border-radius: 52px; background: linear-gradient(90deg, #6b737f, #2b2f36 18%, #3d434c 50%, #2b2f36 82%, #6b737f); }
.device-screen { transform: translateZ(1.5px); }
/* glass glare sweeping across as the phone turns */
.device-screen::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 6; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.16) 47%, rgba(255,255,255,.04) 53%, transparent 62%);
  background-size: 300% 100%; background-position: 100% 0; animation: glare 2.4s ease .4s both, glare2 1.6s ease 5s both; }
@keyframes glare { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes glare2 { from { background-position: 100% 0; opacity: .7; } to { background-position: 20% 0; opacity: .7; } }
/* lock button: a real little block on the right edge */
.side-btn { right: -5px; width: 7px; background: none; transform-style: preserve-3d; transform: translateZ(-13px); animation: press .32s ease 2.75s; }
.side-btn .btn-face { position: absolute; inset: 0; border-radius: 0 3px 3px 0; background: linear-gradient(90deg, #3a3f47, #7a828e 60%, #4a505a); box-shadow: 0 0 0 .5px rgba(0,0,0,.6); transform: rotateY(90deg) translateZ(2px); }
.side-btn::before { content: ""; position: absolute; inset: 0; border-radius: 0 3px 3px 0; background: linear-gradient(90deg, #2a2e35, #6b737f); }
@keyframes press { 45% { transform: translateZ(-13px) translateX(-3px); } }
.press-pulse { position: absolute; right: -5px; top: 27%; width: 12px; height: 12px; translate: 50% -50%; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 0 rgba(255,106,44,.75); opacity: 0; animation: pulse 1s ease-out 2.82s; }
@keyframes pulse { 0% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,106,44,.8); background: rgba(255,140,80,.9); } 100% { opacity: 0; box-shadow: 0 0 0 34px rgba(255,106,44,0); background: rgba(255,140,80,0); } }

/* real 3D phone (hero3d.js); the CSS .device stays as the fallback */
#phone3d { display: none; position: absolute; left: 50%; top: 0; translate: -50% 0; width: 300%; height: 760px; pointer-events: none; }
.phone-stage.has-3d { min-height: 760px; }
.phone-stage.has-3d .device { display: none; }
.phone-stage.has-3d #phone3d { display: block; }
.phone-stage.has-3d .floating.late { animation: none; opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.phone-stage.has-3d.cards-in .floating.late { opacity: 1; transform: none; animation: float 6s ease-in-out .6s infinite; animation-play-state: running !important; }
.phone-stage.has-3d.cards-in .floating.f2.late { transition-delay: .25s; }
.phone-stage.has-3d .f1 { left: 2%; bottom: 20%; }
.phone-stage.has-3d .f2 { right: 0; top: 14%; }
@media (max-width: 960px) { #phone3d { height: 640px; } .phone-stage.has-3d { min-height: 640px; } }
@media (max-width: 480px) { #phone3d { height: 560px; } .phone-stage.has-3d { min-height: 560px; } }

/* ---------- handoff: screenshot tiles ---------- */
.w6 { grid-column: 1 / -1; }
.tile.shot-tile { justify-content: flex-start; padding-bottom: 0; }
.tile .tile-copy { position: relative; z-index: 1; }
.tile.shot-tile .tag, .tile.fuel-tile .tag { position: static; display: block; margin-bottom: 14px; }
/* Upper half of an iPhone rising out of the tile: titanium band, bezel, Dynamic Island, glass glare. */
.tile .tile-phone { position: relative; width: 72%; max-width: 300px; margin: 28px auto 0; padding: 9px 9px 0; container-type: inline-size;
  border-radius: 46px 46px 0 0; background: linear-gradient(150deg, #4a505a 0%, #23272d 18%, #0b0d10 50%, #2c3138 85%, #50565f 100%);
  box-shadow: inset 0 0 0 1.5px #5a616c, inset 0 2px 1px rgba(255,255,255,.22), inset 0 -1px 0 rgba(0,0,0,.6),
    0 -2px 0 -1px rgba(255,255,255,.08), 0 30px 70px -20px rgba(0,0,0,.95), 0 0 70px -24px rgba(255,106,44,.35);
  transform: perspective(1100px) rotateX(9deg); transform-origin: 50% 100%; transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.tile .tile-phone::before { content: ""; position: absolute; z-index: 2; left: 50%; translate: -50% 0; top: calc(9px + 2.8cqw); width: 32cqw; height: 9.4cqw; border-radius: 99px; background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,.04); }
.tile .tile-phone::after { content: ""; position: absolute; z-index: 3; inset: 9px 9px 0; border-radius: 38px 38px 0 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,.03) 28%, transparent 42%); box-shadow: inset 0 0 0 1px rgba(0,0,0,.7); }
.tile .tile-shot { display: block; width: 100%; height: auto; aspect-ratio: 720 / 780; object-fit: cover; object-position: top; border-radius: 38px 38px 0 0; background: #0c0e11; }
.tile.shot-tile:hover .tile-phone { transform: perspective(1100px) rotateX(0deg) translateY(-6px); }
.tile.big.shot-tile { display: grid; grid-template-columns: 1fr minmax(200px, 44%); gap: 28px; align-items: end; padding-top: 32px; }
.tile.big.shot-tile .tile-copy { align-self: center; padding-bottom: 32px; }
.tile.big.shot-tile .tile-phone { width: 100%; max-width: 340px; margin: 0 auto; }
.tile.big.shot-tile .tile-shot { aspect-ratio: 720 / 860; }
@media (max-width: 600px) { .tile.big.shot-tile { grid-template-columns: 1fr; } .tile.big.shot-tile .tile-copy { padding-bottom: 0; } .tile.big.shot-tile .tile-phone { width: 72%; } }
/* Dynamic Island at real iPhone proportions (126x37pt at 11pt from the top of a 393pt screen),
   so it sits on the same line as the status bar drawn into the screenshots. */
.screen.shot, .device-screen { container-type: inline-size; }
.screen.shot::before, .device-screen::before { top: 2.8cqw; width: 32cqw; height: 9.4cqw; border-radius: 99px; }
.tile.fuel-tile { min-height: 0; padding: 0; justify-content: flex-start; }
.tile.fuel-tile .fuel-img { width: 100%; height: auto; display: block; border-bottom: 1px solid var(--line); }
.tile.fuel-tile .tile-copy { padding: 30px 32px 32px; }
.hero-note span::before { background: var(--ok); }
.checks .ic { color: var(--signal); background: linear-gradient(180deg, rgba(255,106,44,.12), rgba(255,106,44,.03)); border-color: rgba(255,106,44,.28); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.checks .ic svg { display: block; }

/* ---------- phones: the 3D phone sits right under the headline, on the first screen ---------- */
@media (max-width: 960px) {
  .hero { padding: 96px 0 60px; }
  .hero-grid { gap: 0; }
  .hero-copy { display: contents; }
  .hero-copy > .pill { order: 1; justify-self: start; }
  .hero-copy > h1 { order: 2; margin: 16px 0 0; }
  .hero-grid > .phone-stage { order: 3; margin: -10px 0 -20px; }
  .hero-copy > .lead { order: 4; margin-top: 0; }
  .hero-copy > .btns { order: 5; }
  .hero-copy > .hero-note { order: 6; }
}
@media (max-width: 480px) {
  .hero-copy > h1 { font-size: 42px; }
  #phone3d { height: 500px; } .phone-stage.has-3d { min-height: 500px; }
}

/* ---------- softer scroll motion ---------- */
.reveal { transform: translateY(36px) scale(.985); transition: opacity 1.3s var(--ease), transform 1.4s var(--ease); }
.reveal.in { transform: none; }
.bento > .reveal:nth-child(2), .gallery .reveal:nth-child(2) { transition-delay: .1s; }
.bento > .reveal:nth-child(3), .gallery .reveal:nth-child(3) { transition-delay: .2s; }
.bento > .reveal:nth-child(4), .gallery .reveal:nth-child(4) { transition-delay: .3s; }
.bento > .reveal:nth-child(5), .gallery .reveal:nth-child(5) { transition-delay: .4s; }
.bento > .reveal:nth-child(6) { transition-delay: .15s; }
.screens .screen { transform: translateY(18px) scale(.97); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
@media (prefers-reduced-motion: reduce) { .reveal, .screens .screen { transition: none; transform: none; } }

/* ---------- Start Trip tour: floating "trip in progress" control ---------- */
.tour-pill { position: fixed; left: 50%; bottom: 22px; z-index: 60; display: flex; align-items: center; gap: 12px;
  padding: 10px 10px 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(25,29,34,.92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--text); font-family: inherit; font-size: 14px; font-weight: 500; white-space: nowrap;
  box-shadow: 0 20px 50px -18px rgba(0,0,0,.9); cursor: pointer;
  opacity: 0; transform: translate(-50%, 20px); pointer-events: none; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.tour-pill.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.tour-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(255,106,44,.6); animation: tourPing 1.6s ease-out infinite; }
.tour-pill b { padding: 7px 14px; border-radius: 999px; background: var(--signal); color: #121519; font-weight: 600; }
@keyframes tourPing { to { box-shadow: 0 0 0 10px rgba(255,106,44,0); } }

/* ---------- floating cards stay off the phone's screen ---------- */
.phone-stage.has-3d .f2 { top: 24%; right: -46px; }
.phone-stage.has-3d .f1 { left: -46px; bottom: 16%; }
.phone-stage.has-3d.cards-in.in-use .floating.late { opacity: 0; transform: translateY(14px) scale(.96); pointer-events: none; animation: none; transition-delay: 0s; }
@media (max-width: 1320px) { .phone-stage.has-3d .f2 { right: -16px; } .phone-stage.has-3d .f1 { left: -16px; } }

/* ---------- live layer over the story screenshots ---------- */
.screen.shot .live-layer { position: absolute; left: 0; top: 0; width: 100%; height: auto; z-index: 1; }

/* ---------- moved from inline style attributes (lets the CSP drop 'unsafe-inline') ---------- */
.body .slice:nth-child(1) { transform: translateZ(-1px); filter: brightness(0.68); }
.body .slice:nth-child(2) { transform: translateZ(-2px); filter: brightness(0.77); }
.body .slice:nth-child(3) { transform: translateZ(-3px); filter: brightness(0.84); }
.body .slice:nth-child(4) { transform: translateZ(-4px); filter: brightness(0.91); }
.body .slice:nth-child(5) { transform: translateZ(-5px); filter: brightness(0.97); }
.body .slice:nth-child(6) { transform: translateZ(-6px); filter: brightness(1.02); }
.body .slice:nth-child(7) { transform: translateZ(-7px); filter: brightness(1.07); }
.body .slice:nth-child(8) { transform: translateZ(-8px); filter: brightness(1.12); }
.body .slice:nth-child(9) { transform: translateZ(-9px); filter: brightness(1.17); }
.body .slice:nth-child(10) { transform: translateZ(-10px); filter: brightness(1.21); }
.body .slice:nth-child(11) { transform: translateZ(-11px); filter: brightness(1.25); }
.body .slice:nth-child(12) { transform: translateZ(-12px); filter: brightness(1.29); }
.body .slice:nth-child(13) { transform: translateZ(-13px); filter: brightness(1.33); }
.body .slice:nth-child(14) { transform: translateZ(-14px); filter: brightness(1.33); }
.body .slice:nth-child(15) { transform: translateZ(-15px); filter: brightness(1.29); }
.body .slice:nth-child(16) { transform: translateZ(-16px); filter: brightness(1.25); }
.body .slice:nth-child(17) { transform: translateZ(-17px); filter: brightness(1.21); }
.body .slice:nth-child(18) { transform: translateZ(-18px); filter: brightness(1.17); }
.body .slice:nth-child(19) { transform: translateZ(-19px); filter: brightness(1.12); }
.body .slice:nth-child(20) { transform: translateZ(-20px); filter: brightness(1.07); }
.body .slice:nth-child(21) { transform: translateZ(-21px); filter: brightness(1.02); }
.body .slice:nth-child(22) { transform: translateZ(-22px); filter: brightness(0.97); }
.body .slice:nth-child(23) { transform: translateZ(-23px); filter: brightness(0.91); }
.body .slice:nth-child(24) { transform: translateZ(-24px); filter: brightness(0.84); }
.body .slice:nth-child(25) { transform: translateZ(-25px); filter: brightness(0.77); }
.body .slice:nth-child(26) { transform: translateZ(-26px); filter: brightness(0.68); }
.foot-flat { margin-top: 0; border-top: 0; padding-top: 0; }
.foot-links { display: flex; gap: 18px; }
.pt-40 { padding-top: 40px; }
.pt-60 { padding-top: 60px; }
.mx-auto { margin: 0 auto; }
.mi-auto { margin-inline: auto; }
.doc-center { min-height: 100vh; display: grid; place-items: center; padding: 40px 0; }
.mw-560 { max-width: 560px; }
.mw-360 { max-width: 360px; }
.foot-tagline { max-width: 320px; margin-top: 18px; }
.logo-404 { margin: 0 auto 24px; }
.logo-cta { margin: 0 auto 22px; }
.mt-10 { margin-top: 10px; }
.mb-0 { margin-bottom: 0; }
.jc-center { justify-content: center; }
.h3-lg { font-size: 32px; }
.fineprint { color: var(--dim); font-size: 14px; margin-top: 28px; }
.band { background: var(--bg-2); border-block: 1px solid var(--line); }
