/* NEON SWARM — neonswarm.dev
   One stylesheet, no build step. Mobile first.
   Type: Big Shoulders Display (headlines), Instrument Sans (text),
   Martian Mono (labels, HUD), Lilita One (in-game chips and buttons). */

/* Fonts are served from this site (SIL Open Font License 1.1, latin subset, variable weights).
   No request leaves neonswarm.dev. */
@font-face { font-family: "Big Shoulders Display"; src: url("/assets/fonts/big-shoulders-display.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url("/assets/fonts/martian-mono.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Lilita One"; src: url("/assets/fonts/lilita-one.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --ink-0: #07041a;
  --ink-1: #0d0826;
  --ink-2: #160e38;
  --ink-3: #221650;
  --plate: #13183a;
  --line: rgba(190, 176, 255, 0.14);
  --line-2: rgba(190, 176, 255, 0.28);
  --text: #f4f0ff;
  --muted: #b3a9d8;
  --dim: #8d82b8;
  --cyan: #2ee6f2;
  --cyan-2: #0fb7d4;
  --magenta: #ff3fa4;
  --gold: #ffc531;
  --gold-2: #ff9e1b;
  --red: #ff4d5e;
  --violet: #7b4dff;
  --outline: #1a0f3a;

  --f-display: "Big Shoulders Display", "Bahnschrift", "Arial Narrow", sans-serif;
  --f-text: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "Martian Mono", "Cascadia Mono", "Consolas", monospace;
  --f-game: "Lilita One", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --radius: 18px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
  color-scheme: dark;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--ink-0);
  color: var(--text);
  font-family: var(--f-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.05; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
main { overflow-x: clip; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--magenta); color: #fff; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--outline); padding: 10px 16px; border-radius: 10px;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

/* grain: a tiny SVG noise tile, keeps flat areas from looking like vector clip-art */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

/* ---------- type ---------- */
.label {
  font-family: var(--f-mono); font-size: .78rem; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5em .8em;
}
.label b { color: var(--cyan); font-weight: 500; }
.label::before { content: ""; width: 28px; height: 2px; background: currentColor; opacity: .5; }
.label--plain::before { display: none; }
.display {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  letter-spacing: -.005em; line-height: .88;
}
.h2 { font-size: clamp(3rem, 8.4vw, 7.25rem); }
.h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: .95; }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.28rem); color: var(--muted); max-width: 40ch; line-height: 1.55; }
.lede strong, .copy strong { color: var(--text); font-weight: 600; }
.copy { color: var(--muted); max-width: 52ch; }
.copy p:last-child { margin-bottom: 0; }
.gold { color: var(--gold); }
.cyan { color: var(--cyan); }
.pink { color: var(--magenta); }
.note { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .04em; color: var(--dim); line-height: 1.6; }

/* chunky in-game text: thick outline + drop, like the game's own UI */
.chunky {
  font-family: var(--f-game); font-weight: 400; letter-spacing: .01em; color: #fff;
  -webkit-text-stroke: 6px var(--outline); paint-order: stroke fill;
  text-shadow: 0 4px 0 var(--outline);
}

/* ---------- buttons ---------- */
.btn {
  --bg: var(--gold); --fg: var(--outline); --edge: var(--outline);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 54px; padding: 0 1.45em; border-radius: 16px;
  font-family: var(--f-game); font-size: 1.2rem; letter-spacing: .02em; text-decoration: none; line-height: 1;
  color: var(--fg); background: var(--bg); border: 3px solid var(--edge);
  box-shadow: 0 5px 0 var(--edge), inset 0 -5px 0 rgba(0,0,0,.14), inset 0 3px 0 rgba(255,255,255,.45);
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out), background .2s;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--edge), inset 0 -5px 0 rgba(0,0,0,.14), inset 0 3px 0 rgba(255,255,255,.45); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--edge), inset 0 -3px 0 rgba(0,0,0,.14), inset 0 3px 0 rgba(255,255,255,.45); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn--cyan { --bg: var(--cyan); }
.btn--ghost {
  --bg: transparent; --fg: var(--text); --edge: var(--line-2);
  box-shadow: none; font-family: var(--f-text); font-weight: 600; font-size: 1rem; border-width: 2px;
}
.btn--ghost:hover { --edge: var(--cyan); box-shadow: none; }
.btn--ghost:active { box-shadow: none; transform: translateY(1px); }
.btn--sm { min-height: 42px; font-size: 1rem; padding: 0 1em; border-radius: 12px; box-shadow: 0 4px 0 var(--edge), inset 0 3px 0 rgba(255,255,255,.4); }

.textlink {
  color: var(--cyan); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em;
}
.textlink:hover { text-decoration-thickness: 2px; }

/* ---------- header ---------- */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-head.is-solid {
  background: rgba(9, 5, 28, .78); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.site-head__bar { display: flex; align-items: center; gap: 18px; height: 72px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 168px; height: auto; }
.nav { display: none; margin-left: auto; }
.nav ul { display: flex; gap: 6px; list-style: none; }
.nav a {
  display: block; padding: 8px 12px; border-radius: 10px; text-decoration: none;
  font-weight: 600; font-size: .95rem; color: var(--muted); transition: color .2s, background .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,.06); }
.head-cta { display: none; }
.menu-btn {
  margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 2px solid var(--line-2);
  background: rgba(13, 8, 38, .6); display: grid; place-items: center; cursor: pointer;
}
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--text); position: relative; transition: background .2s; }
.menu-btn span::before, .menu-btn span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--text); transition: transform .25s var(--ease-out);
}
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 72px 0 0 0; z-index: 49; background: #09051c; overflow-y: auto; overscroll-behavior: contain;
  border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 24px;
  transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease-out), visibility 0s .25s;
}
.mobile-nav.is-open { transform: none; opacity: 1; visibility: visible; transition: opacity .2s, transform .25s var(--ease-out); }
.nav-open body { overflow: hidden; }
.mobile-nav ul { list-style: none; display: grid; }
.mobile-nav a {
  display: flex; justify-content: space-between; padding: 14px 4px; text-decoration: none;
  font-family: var(--f-display); font-weight: 800; font-size: 1.9rem; text-transform: uppercase; border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { margin-top: 18px; width: 100%; }

/* the swarm counter — same look as the in-game HUD plate */
.swarm-hud {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  height: 40px; padding: 0 12px 0 9px; border-radius: 11px;
  background: linear-gradient(#1a2150, #10143a); border: 2px solid #e8b443;
  box-shadow: 0 0 0 2px var(--outline), inset 0 0 0 1px rgba(46,230,242,.35), 0 6px 18px rgba(0,0,0,.35);
  font-family: var(--f-game); font-size: 1.28rem; line-height: 1; color: #fff; position: relative;
  font-variant-numeric: tabular-nums;
}
.swarm-hud svg { width: 22px; height: 22px; color: var(--cyan); }
.swarm-hud__n { min-width: 1ch; display: inline-block; }
.swarm-hud.is-bump .swarm-hud__n { animation: bump .45s var(--ease-pop); }
.swarm-hud.is-hurt { animation: shake .4s; }
.swarm-hud__delta {
  position: absolute; right: -2px; top: 100%; margin-top: 8px; white-space: nowrap; text-align: right;
  padding: 6px 10px 7px; border-radius: 10px; background: var(--ink-1); border: 1px solid var(--line-2);
  box-shadow: 0 8px 22px rgba(0,0,0,.55);
  font-family: var(--f-game); font-size: 1.05rem; color: var(--cyan);
  -webkit-text-stroke: 4px var(--outline); paint-order: stroke fill;
  opacity: 0; transform: translateY(-4px); pointer-events: none;
}
.swarm-hud__delta.is-bad { color: var(--red); }
.swarm-hud__delta.is-show { animation: delta 1.5s var(--ease-out) forwards; }
.swarm-hud__delta small { font-family: var(--f-text); font-weight: 600; font-size: .78rem; -webkit-text-stroke: 0; color: var(--muted); display: block; text-align: right; margin-top: 2px; text-shadow: 0 1px 2px #000; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes shake { 0%,100% { transform: none; } 20% { transform: translateX(-4px); } 40% { transform: translateX(4px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
@keyframes delta { 0% { opacity: 0; transform: translateY(-6px); } 12% { opacity: 1; transform: none; } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(6px); } }

/* ---------- phone frame (proportions of a 6.1" iPhone, 1170 x 2532 screen) ---------- */
.phone {
  --w: 300px;
  position: relative; width: var(--w); margin: 0; flex: none;
  padding: calc(var(--w) * .036); border-radius: calc(var(--w) * .165);
  background: linear-gradient(145deg, #3a3550, #121019 30%, #0a0910 70%, #2c2840);
  box-shadow:
    0 0 0 1.5px #4a4562 inset, 0 0 0 1px #000,
    0 40px 80px -20px rgba(0,0,0,.7), 0 18px 40px -10px rgba(123,77,255,.35);
}
.phone::before, .phone::after { /* side buttons */
  content: ""; position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #1c1a26, #44405a);
}
.phone::before { left: -3px; top: 21%; height: 7%; box-shadow: 0 calc(var(--w) * .2) 0 #2a2738; }
.phone::after { right: -3px; top: 27%; height: 11%; }
.phone__screen {
  position: relative; overflow: hidden; border-radius: calc(var(--w) * .13);
  aspect-ratio: 1170 / 2532; background: #0b0820; isolation: isolate;
}
.phone__screen > img, .phone__screen > video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.phone__island {
  position: absolute; z-index: 3; top: 1.6%; left: 50%; transform: translateX(-50%);
  width: 31%; height: 3.6%; border-radius: 99px; background: #000;
}
.phone__toggle {
  position: absolute; z-index: 4; right: 8%; bottom: 3.6%; width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.35); background: rgba(8,5,22,.55); backdrop-filter: blur(6px);
  display: grid; place-items: center; cursor: pointer; opacity: .75; transition: opacity .2s;
}
.phone__toggle:hover, .phone__toggle:focus-visible { opacity: 1; }
.phone__toggle svg { width: 14px; height: 14px; }
.phone__toggle .i-play { display: none; }
.phone__toggle.is-paused .i-play { display: block; }
.phone__toggle.is-paused .i-pause { display: none; }
.frame .phone__toggle { right: 12px; bottom: auto; top: 12px; }
.phone__layer { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease-out); }
.phone__layer > img, .phone__layer > video { width: 100%; height: 100%; object-fit: cover; }
.phone__layer.is-active { opacity: 1; }

/* ---------- gates (section dividers you steer through) ---------- */
.gate-run { position: relative; padding-block: clamp(14px, 3vw, 30px); }
.gate {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 2vw, 22px);
  max-width: 760px; margin-inline: auto; height: clamp(54px, 6vw, 72px);
  perspective: 900px;
}
.gate::before, .gate::after { /* posts */
  content: ""; position: absolute; top: -18%; bottom: -18%; width: 6px; border-radius: 3px;
  background: linear-gradient(var(--line-2), rgba(190,176,255,.05));
}
.gate::before { left: -14px; } .gate::after { right: -14px; }
.gate__panel {
  --c: var(--cyan);
  position: relative; display: grid; place-items: center; border-radius: 14px;
  border: 2px solid color-mix(in srgb, var(--c) 80%, white);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--c) 30%, transparent), color-mix(in srgb, var(--c) 8%, transparent)),
    repeating-linear-gradient(90deg, transparent 0 22px, color-mix(in srgb, var(--c) 9%, transparent) 22px 23px);
  box-shadow: 0 0 0 3px var(--outline), 0 0 30px -4px color-mix(in srgb, var(--c) 70%, transparent), inset 0 0 24px color-mix(in srgb, var(--c) 30%, transparent);
  transition: transform .5s var(--ease-out), opacity .5s, filter .5s;
}
.gate__panel--bad { --c: var(--red); }
.gate__panel span {
  font-family: var(--f-game); font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1; color: #fff;
  -webkit-text-stroke: 6px var(--outline); paint-order: stroke fill; text-shadow: 0 5px 0 var(--outline);
}
.gate__hint {
  position: absolute; left: 50%; top: 100%; transform: translate(-50%, 14px);
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim);
  white-space: nowrap;
}
.gate.is-aim-a .gate__panel--a, .gate.is-aim-b .gate__panel--b { transform: translateY(-3px); filter: brightness(1.25); }
.gate.is-passed .gate__panel { opacity: .4; filter: saturate(.25); transform: scale(.96); }
.gate.is-passed .gate__panel:not(.is-taken)::after { content: ""; position: absolute; left: 12%; right: 12%; top: 50%; height: 4px; border-radius: 2px; background: var(--dim); transform: rotate(-8deg); }
.gate.is-passed .gate__panel.is-taken { opacity: 1; filter: none; transform: none; box-shadow: 0 0 0 3px var(--outline), 0 0 0 6px var(--gold), 0 0 36px -2px color-mix(in srgb, var(--c) 80%, transparent); }
.gate.is-passed .gate__panel.is-taken span { animation: bump .45s var(--ease-pop); }
.gate.is-passed .gate__hint { opacity: 0; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; padding: 112px 0 64px; overflow: clip; isolation: isolate; }
.hero__bg { position: absolute; inset: -8% 0 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: .5; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--ink-0) 0%, rgba(7,4,26,.86) 36%, rgba(7,4,26,.35) 70%, rgba(7,4,26,.65) 100%),
    linear-gradient(0deg, var(--ink-0) 2%, transparent 40%),
    linear-gradient(180deg, rgba(7,4,26,.85), transparent 26%);
}
.hero__grid { display: grid; gap: 48px; align-items: center; }
.hero__kicker { margin-bottom: 22px; }
.hero__title { font-size: clamp(4.1rem, 17vw, 11.5rem); margin: 0 0 26px; }
.hero__title .l1 { display: block; color: var(--text); }
.hero__title .l2 {
  display: block; color: var(--gold);
  text-shadow: 0 .045em 0 var(--gold-2), 0 .09em 0 var(--outline), 0 0 .5em rgba(255,197,49,.25);
}
.hero__lede { margin-bottom: 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__facts {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px;
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.hero__facts li { display: flex; align-items: baseline; gap: 8px; }
.hero__facts b { font-family: var(--f-display); font-size: 1.7rem; font-weight: 900; color: var(--text); letter-spacing: 0; }
.store-note {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px;
  font-size: .85rem; color: var(--dim);
}
.store-note svg { width: 16px; height: 16px; opacity: .8; }

.hero__stage { --pw: min(68vw, 300px); position: relative; display: grid; place-items: center; padding: 20px 0 10px; }
.hero__stage .phone { --w: var(--pw); z-index: 2; }
.bigate {
  position: absolute; z-index: 1; inset: 10% -14% 22%; display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--pw, 300px) * 1.16);
  transform: perspective(1000px) rotateY(-12deg) rotateX(3deg); pointer-events: none;
}
.bigate div {
  --c: var(--cyan);
  border-radius: 22px; border: 3px solid color-mix(in srgb, var(--c) 75%, white);
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 34%, transparent), color-mix(in srgb, var(--c) 6%, transparent) 70%);
  box-shadow: 0 0 0 4px var(--outline), 0 0 60px -6px color-mix(in srgb, var(--c) 70%, transparent);
  display: flex; justify-content: center; padding-top: 14%;
}
.bigate div + div { --c: var(--red); }
.bigate span {
  font-family: var(--f-game); font-size: clamp(1.9rem, 4.6vw, 4rem); line-height: 1; color: #fff;
  -webkit-text-stroke: 8px var(--outline); paint-order: stroke fill; text-shadow: 0 6px 0 var(--outline);
}
.float-chip {
  position: absolute; z-index: 3; pointer-events: none;
}
.float-chip--count { left: 0; bottom: 20%; transform: rotate(-4deg); }
.float-chip--count .swarm-hud { height: 50px; font-size: 1.6rem; padding: 0 16px 0 12px; }
.float-chip--count .swarm-hud svg { width: 26px; height: 26px; }
.reel-note { margin-top: 14px; text-align: left; color: var(--muted); letter-spacing: 0; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); text-decoration: none;
}
.scroll-cue i { width: 2px; height: 34px; background: linear-gradient(var(--cyan), transparent); animation: cue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding-block: 18px; border-block: 1px solid var(--line); background: var(--ink-1); }
.marquee__track {
  display: flex; gap: .45em; width: max-content; will-change: transform;
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(3.2rem, 11vw, 9.5rem); line-height: .9;
}
.marquee__track span { color: transparent; -webkit-text-stroke: 2px rgba(190,176,255,.4); }
.marquee__track span.on { color: var(--text); -webkit-text-stroke: 0; }
.marquee__track span.g { color: var(--gold); -webkit-text-stroke: 0; }
.marquee__track i { font-style: normal; color: var(--magenta); -webkit-text-stroke: 0; font-family: var(--f-game); font-size: .55em; align-self: center; }

/* ---------- section scaffolding ---------- */
.section { position: relative; padding-block: clamp(72px, 11vw, 150px); }
.gate-run + .section { padding-top: clamp(40px, 6vw, 84px); }
.section__head { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 80px); }
.section__head .h2 { max-width: 12ch; }

/* ---------- how it plays (sticky phone) ---------- */
.play { display: grid; gap: 40px; }
.play__phone { display: none; }
.steps { list-style: none; display: grid; gap: clamp(64px, 9vw, 120px); counter-reset: step; }
.step { display: grid; gap: 22px; }
.step__num {
  font-family: var(--f-display); font-weight: 900; font-size: clamp(5rem, 12vw, 9rem); line-height: .8;
  color: transparent; -webkit-text-stroke: 2px var(--line-2);
}
.step.is-active .step__num { -webkit-text-stroke-color: var(--cyan); }
.step__title { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.step__title em { font-style: normal; color: var(--cyan); }
.step__media { display: flex; justify-content: center; margin-top: 8px; }
.step__media .phone { --w: min(64vw, 260px); }
.keys { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.key {
  font-family: var(--f-game); font-size: 1.15rem; padding: 5px 12px 6px; border-radius: 10px; border: 2px solid var(--outline);
  box-shadow: 0 3px 0 var(--outline); color: #fff; -webkit-text-stroke: 3px var(--outline); paint-order: stroke fill;
  background: var(--cyan-2);
}
.key--x { background: var(--violet); }
.key--bad { background: var(--red); }

  display: flex; align-items: baseline; gap: 4px;
  font-family: var(--f-display); font-weight: 900; font-size: clamp(4.2rem, 9vw, 7.2rem); line-height: .85;
  font-variant-numeric: tabular-nums;
}

/* ---------- bosses ---------- */
.bosses { background:
  radial-gradient(120% 70% at 85% 10%, rgba(255,77,94,.13), transparent 60%),
  radial-gradient(90% 60% at 0% 100%, rgba(255,158,27,.08), transparent 60%), var(--ink-0); }
.boss-feature { display: grid; gap: 28px; align-items: end; }
.boss-feature__media { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); }
.boss-feature__media img { width: 100%; aspect-ratio: 13 / 10; object-fit: cover; }
.boss-feature__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,4,26,.85), transparent 45%); }
.boss-name {
  position: absolute; z-index: 2; left: 22px; bottom: 16px; right: 22px;
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase; line-height: .82;
  font-size: clamp(3.4rem, 10vw, 8rem); color: #fff;
}
.boss-name small { display: block; font-family: var(--f-mono); font-size: .75rem; font-weight: 500; letter-spacing: .14em; color: var(--gold); margin-bottom: 10px; line-height: 1.4; }
.boss-feature__side { display: grid; gap: 22px; }
.boss-feature__side .phone { --w: min(56vw, 230px); justify-self: center; }
.boss-pair { display: grid; gap: 22px; margin-top: 22px; }
.boss-card { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); background: var(--ink-1); }
.boss-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .8s var(--ease-out); }
.boss-card:hover img { transform: scale(1.04); }
.boss-card__body { padding: 20px 22px 24px; }
.boss-card h3 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 2.6rem; line-height: .9; margin-bottom: 10px; }
.boss-card p { color: var(--muted); margin: 0; }

.campaign-foot { display: grid; gap: 30px; margin-top: 40px; align-items: center; }
.campaign-foot .phone { --w: min(60vw, 250px); justify-self: center; }
.stars { display: flex; gap: 6px; margin-bottom: 14px; }
.stars svg { width: 34px; height: 34px; }

/* ---------- ranked run ---------- */
.run { background: linear-gradient(180deg, var(--ink-0), var(--ink-2) 60%, var(--ink-0)); overflow: clip; }
.run__grid { display: grid; gap: 48px; }
.ladder { list-style: none; display: grid; gap: 8px; margin-top: 34px; max-width: 360px; }
.ladder li { display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 12px; }
.ladder li span { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; color: var(--dim); text-align: right; }
.ladder .plate { position: relative; }
.ladder .plate img { width: 100%; height: auto; }
.ladder .plate b {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--f-game); font-weight: 400; font-size: clamp(.95rem, 2.4vw, 1.15rem); letter-spacing: .06em; text-transform: uppercase;
  color: #fff; -webkit-text-stroke: 3px var(--outline); paint-order: stroke fill;
}
.run__media { display: grid; gap: 18px; align-content: start; }
.frame {
  position: relative; border-radius: 22px; overflow: hidden; background: #0e0a2a; border: 1px solid var(--line-2);
}
.frame video, .frame img { width: 100%; }
.frame__cap { padding: 12px 16px; border-top: 1px solid var(--line); }
.run__pair { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: start; justify-items: center; }
.run__pair .phone { --w: min(60vw, 240px); }
.verify {
  margin-top: 26px; padding: 18px 20px; border-radius: 16px; border: 1px dashed var(--line-2);
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; color: var(--muted); font-size: .97rem;
}
.verify svg { width: 26px; height: 26px; color: var(--cyan); margin-top: 2px; }
.verify p { margin: 0; }

/* ---------- looks ---------- */
.skins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-items: end; margin-bottom: 18px; }
.skin { position: relative; text-align: center; }
.skin img { width: 100%; max-width: 230px; margin-inline: auto; filter: drop-shadow(0 24px 30px rgba(0,0,0,.6)); transition: transform .6s var(--ease-pop); }
.skin:hover img { transform: translateY(-8px) rotate(-2deg); }
.skin::before {
  content: ""; position: absolute; left: 12%; right: 12%; bottom: 34px; height: 30px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow, rgba(46,230,242,.55)), transparent); filter: blur(4px);
}
.skin--eclipse { --glow: rgba(255,63,164,.55); }
.skin--reactor { --glow: rgba(255,158,27,.55); }
.skin figcaption { margin-top: 10px; }
.skin .chunky { font-size: clamp(1.2rem, 3vw, 1.7rem); -webkit-text-stroke-width: 5px; }
.skin small { display: block; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-top: 6px; }
.looks__grid { display: grid; gap: 56px; margin-top: 72px; }
.trails { display: grid; gap: 26px; align-items: center; }
.trails .phone { --w: min(62vw, 270px); justify-self: center; }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 6px; }
.tab {
  font-family: var(--f-game); font-size: 1.05rem; letter-spacing: .02em; padding: 10px 16px 11px; border-radius: 12px; cursor: pointer;
  background: #1b1446; color: var(--muted); border: 2px solid var(--line-2); transition: background .2s, color .2s, transform .15s;
}
.tab:hover { color: #fff; }
.tab[aria-selected="true"] { background: var(--cyan); color: var(--outline); border-color: var(--outline); box-shadow: 0 4px 0 var(--outline); transform: translateY(-2px); }
.ornaments { display: grid; gap: 22px; }
.plates { display: grid; grid-template-columns: 1fr; gap: 10px; max-width: 460px; }
.fair {
  margin-top: 72px; display: grid; gap: 18px; padding: clamp(24px, 4vw, 40px); border-radius: 24px;
  background: linear-gradient(120deg, rgba(46,230,242,.08), rgba(123,77,255,.08)); border: 1px solid var(--line-2);
}
.fair h3 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: .9; }
.fair ul { list-style: none; display: grid; gap: 10px; }
.fair li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--muted); }
.fair li svg { width: 20px; height: 20px; color: var(--cyan); margin-top: 3px; }

/* ---------- comfort ---------- */
.comfort { display: grid; gap: 40px; align-items: center; }
.comfort .phone { --w: min(60vw, 250px); justify-self: center; }
.langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.langs span { font-family: var(--f-mono); font-size: .75rem; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line-2); color: var(--muted); }

/* ---------- studio / CTA ---------- */
.studio { position: relative; overflow: clip; }
.studio__panel {
  position: relative; border-radius: 28px; overflow: hidden; isolation: isolate;
  padding: clamp(32px, 6vw, 80px) clamp(22px, 5vw, 72px); border: 1px solid var(--line-2);
  display: grid; gap: 34px;
}
.studio__panel > img.bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.studio__panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(7,4,26,.97) 30%, rgba(7,4,26,.7) 65%, rgba(7,4,26,.4)); }
.studio__panel .h2 { max-width: 11ch; }
.status { list-style: none; display: grid; gap: 0; max-width: 520px; border-top: 1px solid var(--line-2); }
.status li { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); font-size: .97rem; }
.status li span { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); padding-top: 4px; }
.pulse { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); margin-right: 8px; box-shadow: 0 0 0 0 rgba(255,197,49,.6); animation: pulse 2s infinite; vertical-align: 1px; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255,197,49,0); } 100% { box-shadow: 0 0 0 0 rgba(255,197,49,0); } }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); background: var(--ink-1); padding: 56px 0 40px; margin-top: 0; }
.foot__top { display: grid; gap: 34px; }
.foot__brand img { width: 150px; margin-bottom: 14px; }
.foot__brand p { color: var(--dim); font-size: .92rem; max-width: 34ch; }
.foot__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.foot__cols h2 { font-family: var(--f-mono); font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; }
.foot__cols ul { list-style: none; display: grid; gap: 8px; }
.foot__cols a { text-decoration: none; color: var(--muted); font-weight: 500; }
.foot__cols a:hover { color: var(--text); text-decoration: underline; text-underline-offset: .2em; }
.foot__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; color: var(--dim); font-size: .82rem; }
.foot__score { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .06em; color: var(--muted); }
.foot__score b { color: var(--cyan); font-weight: 500; }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal="left"] { transform: translateX(-34px); }
.js [data-reveal="right"] { transform: translateX(34px); }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal="clip"] { transform: none; clip-path: inset(0 0 55% 0 round 22px); transition: clip-path 1.2s var(--ease-out), opacity .7s; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round 22px); }
.hero .h-in { opacity: 0; transform: translateY(30px); animation: hin 1s var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 110ms + 80ms); }
@keyframes hin { to { opacity: 1; transform: none; } }

/* =========================================================
   LEGAL / SUPPORT PAGES
   ========================================================= */
.page-hero { padding: 130px 0 46px; border-bottom: 1px solid var(--line); background:
  radial-gradient(80% 120% at 100% 0%, rgba(123,77,255,.16), transparent 60%), var(--ink-0); position: relative; overflow: clip; }
.page-hero h1 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(3.4rem, 10vw, 7rem); line-height: .86; margin: 18px 0 18px; }
.page-hero .lede { max-width: 58ch; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .06em; color: var(--dim); }
.meta span::before { content: "▸ "; color: var(--cyan); }
.doc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 48px 96px; }
.toc { display: none; }
.prose { max-width: 72ch; color: #d9d2f5; font-size: 1.02rem; overflow-wrap: break-word; }
.prose h2 {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 4vw, 2.5rem); line-height: 1;
  margin: 56px 0 16px; color: var(--text); scroll-margin-top: 96px;
}
.prose h2:first-child { margin-top: 0; }
.prose h2 .n { font-family: var(--f-mono); font-size: .9rem; font-weight: 500; color: var(--cyan); margin-right: 12px; vertical-align: .35em; letter-spacing: .04em; }
.prose h3 { font-family: var(--f-text); font-weight: 700; font-size: 1.12rem; color: var(--text); margin: 30px 0 8px; }
.prose p, .prose li { color: #d0c8ee; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; display: grid; gap: 6px; }
.prose li::marker { color: var(--cyan); }
.prose a { color: var(--cyan); text-underline-offset: .2em; }
.prose strong { color: var(--text); }
.prose code, .path { font-family: var(--f-mono); font-size: .84em; background: rgba(46,230,242,.1); border: 1px solid rgba(46,230,242,.25); padding: 1px 7px; border-radius: 6px; color: var(--text); -webkit-box-decoration-break: clone; box-decoration-break: clone; line-height: 1.9; }
.short {
  border-radius: 20px; padding: 24px 24px 22px; margin-bottom: 44px;
  background: linear-gradient(135deg, rgba(46,230,242,.09), rgba(255,63,164,.06)); border: 1px solid var(--line-2);
}
.short h2 { margin: 0 0 14px !important; font-size: 1.6rem !important; }
.short ul { list-style: none; padding: 0; display: grid; gap: 10px; margin: 0; }
.short li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.short li svg { width: 18px; height: 18px; color: var(--cyan); margin-top: 4px; }
.table-wrap { overflow-x: auto; margin: 18px 0 26px; border: 1px solid var(--line-2); border-radius: 14px; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 620px; }
th, td { text-align: left; vertical-align: top; padding: 13px 14px; border-bottom: 1px solid var(--line); }
th { font-family: var(--f-mono); font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: rgba(255,255,255,.03); }
td:first-child { font-weight: 600; color: var(--text); }
tr:last-child td { border-bottom: 0; }
.callout { border-left: 3px solid var(--gold); padding: 6px 0 6px 18px; margin: 20px 0; color: var(--muted); }
.callout strong { color: var(--gold); }
.contact-card {
  margin-top: 56px; border-radius: 20px; padding: 26px; border: 1px solid var(--line-2); background: var(--ink-1);
  display: grid; gap: 14px;
}
.contact-card h2 { margin: 0 !important; }
.contact-card .btn { justify-self: start; }

@media (min-width: 1000px) {
  .doc { grid-template-columns: 240px minmax(0, 1fr); gap: 72px; }
  .toc { display: block; position: sticky; top: 104px; align-self: start; max-height: calc(100vh - 130px); overflow: auto; }
  .toc p { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; }
  .toc ol { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--line); }
  .toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; text-decoration: none; color: var(--dim); font-size: .9rem; line-height: 1.35; }
  .toc a:hover { color: var(--text); }
  .toc a.is-current { color: var(--text); border-left-color: var(--cyan); }
}

/* steps list (delete account) */
.howto { list-style: none !important; padding: 0 !important; counter-reset: h; display: grid; gap: 12px !important; margin: 18px 0 24px !important; }
.howto li { counter-increment: h; position: relative; display: block; min-height: 68px; padding: 20px 16px 18px 72px; border-radius: 14px; background: var(--ink-1); border: 1px solid var(--line); }
.howto li::before {
  content: counter(h); position: absolute; left: 16px; top: 14px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--cyan); color: var(--outline); font-family: var(--f-game); font-size: 1.3rem; border: 2px solid var(--outline); box-shadow: 0 3px 0 var(--outline);
}
.split-2 { display: grid; gap: 16px; margin: 20px 0; }
.box { border-radius: 16px; padding: 20px 22px; border: 1px solid var(--line-2); background: var(--ink-1); }
.box h3 { margin-top: 0 !important; display: flex; align-items: center; gap: 10px; }
.box--del { border-color: rgba(255,77,94,.4); }
.box--keep { border-color: rgba(255,197,49,.4); }
.box ul { margin-bottom: 0; }
@media (min-width: 760px) { .split-2 { grid-template-columns: 1fr 1fr; } }

/* FAQ */
.faq-group { margin-bottom: 46px; }
.faq-group > h2 { margin-top: 0 !important; }
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 18px 2px; font-weight: 600; font-size: 1.08rem; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--line-2);
  background:
    linear-gradient(var(--cyan), var(--cyan)) center / 10px 2px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) center / 2px 10px no-repeat;
  transition: transform .25s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--cyan); }
.faq .a { padding: 0 2px 20px; color: #d0c8ee; max-width: 68ch; }
.faq .a p:last-child { margin-bottom: 0; }
.quick { display: grid; gap: 12px; margin: 34px 0 0; }
.quick a {
  display: grid; gap: 4px; padding: 18px 20px; border-radius: 16px; text-decoration: none; border: 1px solid var(--line-2);
  background: var(--ink-1); transition: border-color .2s, transform .2s var(--ease-out);
}
.quick a:hover { border-color: var(--cyan); transform: translateY(-2px); }
.quick a b { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; line-height: 1; }
.quick a span { color: var(--dim); font-size: .92rem; }
@media (min-width: 760px) { .quick { grid-template-columns: repeat(3, 1fr); } }

/* press */
.facts { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-2); margin: 10px 0 0; }
.facts div { display: grid; grid-template-columns: 140px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.facts dt { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); padding-top: 4px; }
.facts dd { margin: 0; color: var(--text); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 22px 0 10px; }
.gallery a { display: block; text-decoration: none; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: var(--ink-1); transition: transform .25s var(--ease-out), border-color .2s; }
.gallery a:hover { transform: translateY(-3px); border-color: var(--cyan); }
.gallery img { width: 100%; aspect-ratio: 1170 / 2532; object-fit: cover; }
.gallery span { display: block; padding: 9px 11px; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .04em; color: var(--muted); }
.assets { display: grid; gap: 12px; margin: 20px 0; }
.asset { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center; padding: 14px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--ink-1); }
.asset img { width: 84px; height: 64px; object-fit: contain; }
.asset b { display: block; color: var(--text); }
.asset span { color: var(--dim); font-size: .85rem; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); } .facts { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(5, 1fr); } }

/* 404 */
.lost { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 60px; }
.lost .gate { width: min(560px, 86vw); margin-bottom: 40px; }
.lost h1 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(3rem, 9vw, 6rem); line-height: .9; margin-bottom: 14px; }
.lost p { color: var(--muted); margin-inline: auto; max-width: 40ch; }

/* =========================================================
   BREAKPOINTS
   ========================================================= */
@media (min-width: 640px) {
  .boss-pair { grid-template-columns: 1fr 1fr; }
  .run__pair { grid-template-columns: 1.15fr .85fr; }
  .plates { grid-template-columns: 1fr; }
}

@media (min-width: 960px) {
  .nav { display: block; }
  .head-cta { display: inline-flex; }
  .menu-btn, .mobile-nav { display: none; }
  .site-head__bar { height: 80px; }
  .hero { padding-top: 120px; display: flex; align-items: center; }
  .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 24px; }
  .hero__title { font-size: clamp(5rem, 9.2vw, 8.6rem); }
  .hero__stage { --pw: clamp(270px, 22vw, 330px); }
  .scroll-cue { display: flex; }
  .section__head { grid-template-columns: 1fr 1fr; align-items: end; }
  .section__head .copy { justify-self: end; }
  .play { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 80px; align-items: start; }
  .play__phone { display: flex; position: sticky; top: calc(50vh - 330px); justify-content: center; }
  .play__phone .phone { --w: clamp(270px, 22vw, 310px); }
  .step__media { display: none; }
  .steps { padding-block: 8vh 14vh; gap: 24vh; }
  .step { opacity: .35; transition: opacity .5s; }
  .step.is-active { opacity: 1; }
  .boss-feature { grid-template-columns: 1.6fr 1fr; gap: 40px; }
  .boss-feature__side .phone { justify-self: start; }
  .boss-pair { margin-top: 40px; }
  .campaign-foot { grid-template-columns: 1fr auto; }
  .run__grid { grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: start; }
  .looks__grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .trails { grid-template-columns: auto 1fr; gap: 40px; }
  .comfort { grid-template-columns: auto 1fr; gap: 80px; }
  .studio__panel { grid-template-columns: 1.1fr .9fr; align-items: end; }
  .foot__top { grid-template-columns: 1.2fr 2fr; }
  .foot__cols { grid-template-columns: repeat(3, 1fr); }
  .foot__bottom { grid-template-columns: 1fr auto; align-items: center; }
}

@media (min-width: 1200px) {
  .skins { gap: 20px; }
}

/* motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; clip-path: none; }
  .hero .h-in { opacity: 1; transform: none; }
}

/* print: legal pages should print cleanly */
@media print {
  body { background: #fff; color: #000; }
  body::before, .site-head, .mobile-nav, .site-foot, .toc { display: none !important; }
  .page-hero { padding: 0 0 12px; background: none; }
  .prose, .prose p, .prose li, .prose h2, .prose h3, td, th { color: #000 !important; }
}


/* =========================================================
   REVIEW PASS (30 Oct): layout fixes
   ========================================================= */
/* hero: on phones the video sits between the headline and the copy */
.hero__grid { grid-template-areas: "top" "stage" "rest"; gap: 28px; }
.hero__top { grid-area: top; }
.hero__stage { grid-area: stage; --pw: min(58vw, 250px); padding: 0; }
.hero__rest { grid-area: rest; }
.hero__title { margin-bottom: 0; }
.hero__facts { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 28px; }
.hero .store-note { display: block; line-height: 1.55; max-width: 46ch; }
.hero__stage .bigate { display: none; }

/* campaign chapters: a typographic list, no illustrations */
.chapters { list-style: none; display: grid; border-top: 1px solid var(--line-2); }
.chapter { display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line-2); }
.chapter__n { grid-row: span 2; font-family: var(--f-display); font-weight: 900; font-size: clamp(3.4rem, 8vw, 6rem); line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--cyan); }
.chapter h3 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.1rem, 4.2vw, 3.3rem); line-height: .9; }
.chapter__lv { margin: 6px 0 0; font-family: var(--f-mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.chapter > p { color: var(--muted); margin: 0; max-width: 40ch; grid-column: 2; }

/* profile caption under a phone */
.phone__cap { margin-top: 12px; text-align: center; }

/* trails: landscape crop of the run */
.trail-frame { max-width: 440px; width: 100%; justify-self: center; }
.trail-frame video { aspect-ratio: 520 / 484; object-fit: cover; }

/* ornaments: four frames, large; pause button in the empty corner */
.orn-frame { max-width: 420px; width: 100%; }
.orn-frame video { aspect-ratio: 1; object-fit: cover; }
.frame .phone__toggle { top: auto; bottom: 12px; right: 12px; }

/* name plates with a sample nickname */
.plates { list-style: none; padding: 0; }
.nplate { position: relative; max-width: 420px; }
.nplate img { width: 100%; height: auto; }
.nplate span {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-54%); text-align: center;
  font-family: var(--f-game); font-size: clamp(1.15rem, 3.4vw, 1.5rem); letter-spacing: .03em; color: #fff;
  -webkit-text-stroke: 4px var(--outline); paint-order: stroke fill;
}
.nplate small { display: block; margin-top: 4px; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }

/* comfort: compact list, no fake switches */
.opts { list-style: none; display: grid; gap: 0; margin-top: 22px; border-top: 1px solid var(--line); }
.opts li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.opts b { font-weight: 600; color: var(--text); }
.opts span { color: var(--muted); font-size: .95rem; }
.opts em { font-style: normal; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .04em; color: var(--cyan); margin-left: 6px; white-space: nowrap; }
.comfort .phone { --w: min(52vw, 220px); }
#comfort { padding-bottom: clamp(56px, 8vw, 100px); }

/* legal tables: one card per row on narrow screens */
@media (max-width: 639px) {
  .table-wrap { overflow: visible; border: 0; border-radius: 0; }
  .table-wrap table { min-width: 0; font-size: .95rem; }
  .table-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .table-wrap tr { display: block; margin-bottom: 12px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--ink-1); padding: 6px 0; }
  .table-wrap td { display: block; border: 0; padding: 8px 16px; }
  .table-wrap td[data-label]::before {
    content: attr(data-label); display: block; margin-bottom: 2px;
    font-family: var(--f-mono); font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--dim);
  }
  .table-wrap td:first-child { font-size: 1.02rem; padding-top: 12px; }
}

/* legal notice placeholders: visible until filled in */
.tbd { background: rgba(255,197,49,.14); border: 1px dashed var(--gold); color: var(--gold); border-radius: 6px; padding: 0 6px; font-family: var(--f-mono); font-size: .85em; }

@media (min-width: 640px) {
  .hero__facts { display: flex; }
  .opts { grid-template-columns: 1fr 1fr; column-gap: 32px; }
}

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); grid-template-areas: "top stage" "rest stage"; gap: 26px 24px; align-items: start; }
  .hero__top { align-self: end; }
  .hero__stage { --pw: clamp(260px, 21vw, 310px); padding: 10px 0; align-self: center; }
  .hero__stage .bigate { display: grid; }
  .chapter { grid-template-columns: 140px minmax(0, 1fr) minmax(0, 1fr); align-items: center; padding: 28px 0; }
  .chapter__n { grid-row: auto; }
  .chapter > p { grid-column: auto; }
  .comfort { grid-template-columns: auto 1fr; gap: 64px; align-items: start; }
  .ornaments { grid-template-columns: 1fr; }
}

/* phones stay smaller on narrow screens so the page doesn't turn into a scroll marathon */
@media (max-width: 959px) {
  .section { padding-block: 56px; }
  .steps { gap: 52px; }
  .step__media .phone, .boss-feature__side .phone, .run__pair .phone, .campaign-foot .phone { --w: min(50vw, 200px); }
  .comfort .phone { --w: min(42vw, 170px); }
  .section__head { margin-bottom: 32px; }
  .looks__grid { gap: 40px; margin-top: 44px; }
  .fair { margin-top: 44px; }
}

@media (min-width: 960px) {
  .trails { grid-template-columns: 1fr; gap: 26px; }
  .trail-frame { justify-self: start; max-width: 520px; }
  .studio__panel .h2 { max-width: 15ch; font-size: clamp(3.2rem, 5.6vw, 5.6rem); }
}
