/* =========================================================
   VOIDRUNNER — Orbital Club / Arcade 001
   Self-hosted fonts, no build step.
   ========================================================= */

@font-face {
  font-family: "Syne";
  src: url("../fonts/syne-var.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-var.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-var.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}

:root {
  --bg: #050807;
  --bg-soft: #070b09;
  --bg-raised: #0a100d;
  --panel: #0b1310;
  --ink: #f2f5e9;
  --ink-soft: #d5ddcf;
  --muted: #93a396;
  --muted-dim: #627166;
  --line: rgba(223, 239, 215, 0.12);
  --line-soft: rgba(223, 239, 215, 0.07);
  --line-strong: rgba(223, 239, 215, 0.24);
  --lime: #c8ff4d;
  --lime-soft: #d9ff86;
  --lime-deep: #9ddc20;
  --cyan: #73f0d0;
  --ember: #ff7452;
  --display: "Syne", "Arial Black", sans-serif;
  --body: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "Courier New", monospace;
  --container: 1240px;
  --gutter: clamp(20px, 3.2vw, 44px);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(ellipse 70% 45% at 85% 0%, rgba(115, 240, 208, 0.035), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

::selection {
  background: var(--lime);
  color: #071006;
}

img,
svg,
canvas {
  display: block;
}

svg {
  overflow: visible;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  margin: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

p,
h1,
h2,
h3,
h4,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

kbd {
  font-family: var(--mono);
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--lime);
  color: #071006;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.status-dot {
  display: inline-block;
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(200, 255, 77, 0.08), 0 0 12px rgba(200, 255, 77, 0.65);
  animation: statusPulse 2.8s ease-in-out infinite;
}

.outline-word,
.outline-text {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
  text-stroke: 1.5px var(--ink);
}

.accent-period {
  color: var(--lime);
  -webkit-text-stroke: 0;
  text-stroke: 0;
  margin-left: -0.015em;
}

.accent-text {
  color: var(--lime);
}

.muted {
  color: var(--muted-dim);
}

/* =========================================================
   Status bar + navigation
   ========================================================= */

.statusbar {
  position: relative;
  z-index: 110;
  height: 34px;
  border-bottom: 1px solid var(--line-soft);
  background: #060a08;
  color: var(--muted-dim);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.statusbar-inner {
  max-width: 1560px;
  height: 100%;
  margin-inline: auto;
  padding-inline: clamp(18px, 2.6vw, 38px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.statusbar-brand .statusbar-sep {
  color: rgba(200, 255, 77, 0.45);
  padding-inline: 4px;
}

.statusbar-brand .statusbar-division {
  color: inherit;
}

.nav-mobile-play {
  display: none;
}

.statusbar-center {
  display: flex;
  align-items: center;
  gap: 10px;
}

.statusbar-center .status-dot {
  width: 4px;
  height: 4px;
}

.statusbar-time {
  font-variant-numeric: tabular-nums;
}

.statusbar-time time {
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 84px;
  border-bottom: 1px solid transparent;
  background: rgba(5, 8, 7, 0.62);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  transition: background 0.35s ease, border-color 0.35s ease, height 0.35s var(--ease-out);
}

.site-header.is-scrolled {
  height: 72px;
  border-bottom-color: var(--line);
  background: rgba(5, 8, 7, 0.9);
}

.nav-wrap {
  width: 100%;
  max-width: 1480px;
  height: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  width: fit-content;
}

.brand-mark {
  width: 27px;
  height: 27px;
  color: var(--ink);
  transition: transform 0.7s var(--ease-out);
}

.brand:hover .brand-mark {
  transform: rotate(32deg);
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-word {
  font-family: var(--display);
  font-weight: 800;
  font-size: 19px;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.brand-sub {
  color: var(--muted-dim);
  font-family: var(--mono);
  font-size: 6.5px;
  line-height: 1.4;
  letter-spacing: 0.18em;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.6vw, 40px);
}

.primary-nav a {
  position: relative;
  padding: 8px 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 100%;
  height: 1px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}

.primary-nav a:hover {
  color: var(--ink);
}

.primary-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-play {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 12px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.nav-play svg {
  width: 13px;
  height: 13px;
  transition: transform 0.3s var(--ease-out);
}

.nav-play:hover {
  border-color: var(--lime);
  background: var(--lime);
  color: #071006;
}

.nav-play:hover svg {
  transform: translate(2px, -2px);
}

.menu-toggle {
  position: relative;
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.menu-toggle span {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s var(--ease-out), top 0.3s var(--ease-out);
}

.menu-toggle span:first-child {
  top: 17px;
}

.menu-toggle span:last-child {
  top: 22px;
}

.site-header.menu-open .menu-toggle span:first-child {
  top: 20px;
  transform: rotate(45deg);
}

.site-header.menu-open .menu-toggle span:last-child {
  top: 20px;
  transform: rotate(-45deg);
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(44px, 5.4vw, 72px) 0 94px;
  min-height: min(900px, calc(100svh - 118px));
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 52% 58% at 78% 46%, rgba(200, 255, 77, 0.085), transparent 65%),
    radial-gradient(ellipse 48% 52% at 8% 84%, rgba(115, 240, 208, 0.05), transparent 70%),
    linear-gradient(180deg, #050807 0%, #060a08 70%, #050807 100%);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -240px;
  right: -120px;
  width: 760px;
  height: 760px;
  border: 1px solid rgba(200, 255, 77, 0.075);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 42%;
  bottom: -55%;
  width: 1px;
  height: 90%;
  background: linear-gradient(to bottom, transparent, rgba(200, 255, 77, 0.15), transparent);
  transform: rotate(23deg);
  pointer-events: none;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(218, 240, 210, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(218, 240, 210, 0.045) 1px, transparent 1px);
  background-size: 74px 74px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 46%, black 10%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 46%, black 10%, transparent 78%);
  opacity: 0.7;
}

.hero-ghost {
  position: absolute;
  z-index: -1;
  top: 4%;
  right: -2%;
  color: transparent;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(280px, 38vw, 580px);
  line-height: 0.8;
  letter-spacing: -0.12em;
  -webkit-text-stroke: 1px rgba(226, 242, 214, 0.045);
  user-select: none;
  pointer-events: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(360px, 0.8fr);
  align-items: center;
  gap: clamp(40px, 4.2vw, 56px);
  position: relative;
  z-index: 2;
}

.hero-copy {
  position: relative;
  padding-top: 8px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow span {
  color: var(--muted-dim);
  padding-inline: 2px;
}

.eyebrow .status-dot {
  margin-right: 2px;
}

.hero h1 {
  margin-top: clamp(24px, 2.8vw, 36px);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(70px, 6.75vw, 98px);
  line-height: 0.84;
  letter-spacing: -0.066em;
  text-wrap: balance;
}

.hero h1 .outline-word {
  -webkit-text-stroke-width: 1.5px;
  -webkit-text-stroke-color: var(--ink);
}

.hero-lede {
  max-width: 520px;
  margin-top: clamp(26px, 3vw, 38px);
  color: var(--muted);
  font-size: clamp(15.5px, 1.25vw, 18px);
  line-height: 1.65;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: clamp(30px, 3.4vw, 42px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.3s var(--ease-out), background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.3s var(--ease-out);
}

.btn:hover svg {
  transform: translate(2px, -2px);
}

.btn:active {
  transform: translateY(1px) scale(0.995);
}

.btn-primary {
  background: var(--lime);
  color: #071006;
  box-shadow: 0 0 0 1px rgba(200, 255, 77, 0.18), 0 10px 32px rgba(200, 255, 77, 0.08);
}

.btn-primary:hover {
  background: var(--lime-soft);
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: rgba(223, 239, 215, 0.45);
  background: rgba(223, 239, 215, 0.05);
  transform: translateY(-2px);
}

.btn-dark {
  background: #071006;
  color: var(--lime);
  border-color: #071006;
}

.btn-dark:hover {
  background: #0d1a0a;
  transform: translateY(-2px);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: clamp(34px, 4vw, 48px);
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  max-width: 520px;
}

.hero-facts li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-facts li span {
  color: var(--lime);
  font-size: 7px;
}

.game-column {
  position: relative;
  width: 100%;
  max-width: 528px;
  justify-self: end;
  padding-block: 24px;
}

.game-column::before,
.game-column::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: 130%;
  aspect-ratio: 1;
  border: 1px solid rgba(223, 239, 215, 0.055);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.game-column::after {
  width: 107%;
  border-style: dashed;
  border-color: rgba(200, 255, 77, 0.08);
  animation: slowSpin 80s linear infinite;
}

.orbit-note {
  position: absolute;
  right: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-dim);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
}

.orbit-note i {
  display: inline-block;
  width: 16px;
  height: 1px;
  background: var(--line-strong);
}

.orbit-note--top {
  top: 4px;
}

.orbit-note--bottom {
  bottom: 2px;
  right: auto;
  left: 6px;
}

.game-coordinate {
  position: absolute;
  left: -30px;
  bottom: 80px;
  color: rgba(147, 163, 150, 0.35);
  font-family: var(--mono);
  font-size: 6.5px;
  line-height: 1.7;
  letter-spacing: 0.14em;
  transform: rotate(-90deg);
  transform-origin: left bottom;
  white-space: nowrap;
}

.game-shell {
  position: relative;
  z-index: 1;
  padding: 8px;
  border: 1px solid rgba(223, 239, 215, 0.17);
  border-radius: 28px;
  background: linear-gradient(155deg, rgba(24, 36, 29, 0.92), rgba(8, 13, 10, 0.98) 56%);
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.48),
    0 2px 0 rgba(255, 255, 255, 0.045) inset,
    0 0 80px rgba(200, 255, 77, 0.025);
}

.game-shell::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(200, 255, 77, 0.26), transparent 30%, transparent 74%, rgba(115, 240, 208, 0.16));
  opacity: 0.55;
}

.game-chrome {
  height: 32px;
  padding: 0 9px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted-dim);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.chrome-state {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(200, 255, 77, 0.65);
}

.chrome-state .status-dot {
  width: 4px;
  height: 4px;
  box-shadow: 0 0 8px rgba(200, 255, 77, 0.7);
}

.chrome-id {
  opacity: 0.55;
}

.game-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(223, 239, 215, 0.09);
  border-radius: 20px;
  background: #040806;
  cursor: crosshair;
}

#arcade-canvas {
  width: 100%;
  height: 100%;
  outline: none;
  touch-action: none;
}

#arcade-canvas:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: -5px;
  border-radius: 18px;
}

.game-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  box-shadow:
    inset 0 0 70px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.025);
  pointer-events: none;
}

.scanlines {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.32;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(0, 0, 0, 0.16) 3px 4px);
  mix-blend-mode: multiply;
}

.game-hud {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(14px, 3.6%, 21px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-stage[data-state="playing"] .game-hud,
.game-stage[data-state="paused"] .game-hud,
.game-stage[data-state="dying"] .game-hud {
  opacity: 1;
}

.hud-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.hud-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 74px;
}

.hud-stat--right {
  align-items: flex-end;
  text-align: right;
}

.hud-label {
  color: rgba(223, 239, 215, 0.46);
  font-family: var(--mono);
  font-size: 6.5px;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hud-value {
  color: var(--ink);
  font-family: var(--mono);
  font-size: clamp(14px, 3.1vw, 20px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 16px rgba(5, 8, 7, 0.8);
}

.hud-center {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 2px;
  color: rgba(200, 255, 77, 0.64);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hud-divider {
  width: 12px;
  height: 1px;
  background: rgba(200, 255, 77, 0.28);
}

.hud-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.hud-hull {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.hull-pips {
  display: flex;
  gap: 4px;
}

.hull-pip {
  display: block;
  width: 22px;
  height: 4px;
  border-radius: 2px;
  background: var(--lime);
  box-shadow: 0 0 10px rgba(200, 255, 77, 0.55);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.hull-pip.is-empty {
  background: rgba(255, 116, 82, 0.28);
  box-shadow: none;
}

.hud-hint {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(223, 239, 215, 0.3);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hud-hint span {
  color: rgba(223, 239, 215, 0.5);
}

.hud-hint i {
  width: 2px;
  height: 2px;
  margin-inline: 3px;
  border-radius: 50%;
  background: currentColor;
}

.combo-chip {
  position: absolute;
  top: 68px;
  left: clamp(14px, 3.6%, 21px);
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px 7px 8px;
  border: 1px solid rgba(200, 255, 77, 0.22);
  border-radius: 8px;
  background: rgba(4, 8, 6, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  animation: comboIn 0.3s var(--ease-out);
}

.combo-mult {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.combo-mult b {
  font-weight: 500;
}

.combo-copy {
  color: rgba(223, 239, 215, 0.55);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.game-toast {
  position: absolute;
  z-index: 9;
  top: 50%;
  left: 50%;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(4, 8, 6, 0.88);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  transform: translate(-50%, -50%) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.game-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ---------- Game overlays ---------- */

.overlay {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: flex;
  align-items: flex-end;
  padding: clamp(18px, 5.6%, 32px);
  cursor: default;
  background:
    linear-gradient(180deg, rgba(4, 8, 6, 0.03) 0%, rgba(4, 8, 6, 0.34) 36%, rgba(4, 8, 6, 0.94) 100%);
}

.overlay.is-open {
  animation: overlayIn 0.55s var(--ease-out) both;
}

.overlay-inner {
  width: 100%;
}

.overlay-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  color: rgba(200, 255, 77, 0.72);
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1.4;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.overlay-kicker span {
  color: rgba(223, 239, 215, 0.32);
}

.overlay-title {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(40px, 8.8vw, 57px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.overlay-title > span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 245, 233, 0.85);
  text-stroke: 1px rgba(242, 245, 233, 0.85);
}

.overlay-copy {
  max-width: 320px;
  margin-top: 16px;
  color: rgba(223, 239, 215, 0.6);
  font-size: clamp(12px, 2.2vw, 13.5px);
  line-height: 1.5;
  letter-spacing: -0.005em;
}

.overlay-btn {
  width: 100%;
  min-height: 51px;
  margin-top: 21px;
  justify-content: space-between;
  border-radius: 12px;
  padding: 0 14px 0 20px;
  font-size: 13px;
}

.overlay-btn kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: auto;
  height: 23px;
  padding: 0 7px;
  border: 1px solid rgba(7, 16, 6, 0.2);
  border-radius: 5px;
  background: rgba(7, 16, 6, 0.08);
  color: rgba(7, 16, 6, 0.56);
  font-size: 6px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.overlay-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 13px;
  color: rgba(223, 239, 215, 0.3);
  font-family: var(--mono);
  font-size: 6px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.overlay-note span {
  color: rgba(200, 255, 77, 0.65);
}

.overlay-note i {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(223, 239, 215, 0.28);
}

.overlay-note em {
  font-style: normal;
}

.overlay-actions {
  display: grid;
  gap: 3px;
  margin-top: 18px;
}

.overlay-actions .overlay-btn {
  margin-top: 0;
}

.overlay-text-btn {
  justify-self: center;
  padding: 8px 10px;
  color: rgba(223, 239, 215, 0.38);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.overlay-text-btn:hover {
  color: var(--ink);
}

.run-result {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 15px;
  margin-top: 18px;
  padding: 13px 0;
  border-top: 1px solid rgba(223, 239, 215, 0.15);
  border-bottom: 1px solid rgba(223, 239, 215, 0.15);
}

.run-result div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.run-result div + div {
  padding-left: 15px;
  border-left: 1px solid rgba(223, 239, 215, 0.12);
}

.run-result span {
  color: rgba(223, 239, 215, 0.4);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.1em;
}

.run-result strong {
  color: var(--lime);
  font-family: var(--mono);
  font-size: clamp(20px, 4.6vw, 26px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.run-result div + div strong {
  color: var(--ink-soft);
  font-size: clamp(16px, 4vw, 21px);
}

.run-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: rgba(223, 239, 215, 0.43);
  font-family: var(--mono);
  font-size: 6.5px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.run-summary i {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(223, 239, 215, 0.28);
}

.new-best {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 7px;
  border-radius: 3px;
  background: var(--lime);
  color: #071006;
  font-family: var(--mono);
  font-size: 6px;
  line-height: 1;
  letter-spacing: 0.1em;
}

/* ---------- Game chrome footer ---------- */

.game-foot {
  height: 38px;
  padding: 7px 9px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted-dim);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.game-foot-state {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(223, 239, 215, 0.48);
}

.game-foot-state .status-dot {
  width: 4px;
  height: 4px;
  background: var(--muted-dim);
  box-shadow: none;
  animation: none;
}

.game-stage[data-state="playing"] ~ .game-foot .status-dot,
.game-stage[data-state="playing"] + .game-foot .status-dot {
  background: var(--lime);
}

.game-column:has(.game-stage[data-state="playing"]) .game-foot .status-dot {
  background: var(--lime);
  box-shadow: 0 0 8px rgba(200, 255, 77, 0.6);
  animation: statusPulse 2.8s ease-in-out infinite;
}

.game-foot-controls {
  color: rgba(223, 239, 215, 0.25);
  letter-spacing: 0.06em;
}

.game-tools {
  display: flex;
  align-items: center;
  gap: 2px;
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: rgba(223, 239, 215, 0.44);
  transition: color 0.2s ease, background 0.2s ease;
}

.icon-btn:hover:not(:disabled) {
  background: rgba(223, 239, 215, 0.07);
  color: var(--ink);
}

.icon-btn:disabled {
  opacity: 0.28;
}

.icon-btn svg {
  width: 15px;
  height: 15px;
}

.icon-sound-off,
.icon-play {
  display: none;
}

#sound-toggle[aria-pressed="false"] .icon-sound-on {
  display: none;
}

#sound-toggle[aria-pressed="false"] .icon-sound-off {
  display: block;
}

#pause-toggle.is-resume .icon-pause {
  display: none;
}

#pause-toggle.is-resume .icon-play {
  display: block;
}

.scroll-cue {
  position: absolute;
  left: max(var(--gutter), calc((100vw - var(--container)) / 2));
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted-dim);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.scroll-cue:hover {
  color: var(--ink);
}

.scroll-cue svg {
  width: 11px;
  height: 22px;
  animation: cueBob 2.8s ease-in-out infinite;
}

/* =========================================================
   Marquee
   ========================================================= */

.marquee {
  position: relative;
  z-index: 3;
  overflow: hidden;
  border-block: 1px solid rgba(5, 8, 7, 0.3);
  background: var(--lime);
  color: #071006;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 34s linear infinite;
}

.marquee-track span {
  display: block;
  padding: 17px 0;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-track b {
  padding-inline: 24px;
  font-weight: 400;
  opacity: 0.55;
}

/* =========================================================
   Shared section furniture
   ========================================================= */

.section {
  position: relative;
  padding: clamp(84px, 9.5vw, 132px) 0;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-dim);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-label span {
  color: var(--lime);
}

.section-label::before {
  content: "";
  width: 18px;
  height: 1px;
  background: rgba(200, 255, 77, 0.5);
}

.section-heading h2,
.run-intro h2,
.faq-intro h2 {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 5.25vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.058em;
  text-wrap: balance;
}

.heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(270px, 0.58fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: end;
  margin-top: clamp(26px, 3vw, 36px);
}

.section-aside {
  padding-bottom: 6px;
}

.section-aside p {
  max-width: 380px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 0 0 5px;
  border-bottom: 1px solid rgba(200, 255, 77, 0.4);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.text-link span {
  color: var(--lime);
  font-size: 11px;
  transition: transform 0.3s var(--ease-out);
}

.text-link:hover {
  color: var(--lime);
  border-color: var(--lime);
}

.text-link:hover span {
  transform: translate(2px, -2px);
}

/* =========================================================
   Intro / feature grid
   ========================================================= */

.section--intro {
  background:
    radial-gradient(ellipse 54% 46% at 100% 26%, rgba(200, 255, 77, 0.035), transparent 70%),
    var(--bg);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(48px, 6.6vw, 82px);
}

.feature-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.025), transparent 45%),
    var(--bg-raised);
  transition: border-color 0.35s ease, background 0.35s ease;
}

.feature-card:hover {
  border-color: rgba(223, 239, 215, 0.2);
}

.feature-card--loop {
  grid-column: span 7;
  min-height: 440px;
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-card--controls {
  grid-column: span 5;
  min-height: 440px;
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 80% 80%, rgba(115, 240, 208, 0.045), transparent 55%),
    var(--bg-raised);
}

.feature-card--score {
  grid-column: span 4;
  min-height: 376px;
  padding: clamp(24px, 2.6vw, 32px);
  display: flex;
  flex-direction: column;
}

.feature-card--promise {
  grid-column: span 8;
  min-height: 376px;
  padding: clamp(26px, 3vw, 38px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.6fr);
  gap: 28px;
  align-items: end;
  background:
    linear-gradient(115deg, rgba(200, 255, 77, 0.035), transparent 46%),
    var(--bg-raised);
}

.card-index {
  color: var(--muted-dim);
  font-family: var(--mono);
  font-size: 7.5px;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.feature-card h3 {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 39px);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.feature-card--loop .card-copy h3 {
  max-width: 480px;
  margin-top: 22px;
  font-size: clamp(32px, 3.7vw, 48px);
}

.card-copy > p:last-child {
  max-width: 440px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.feature-card--controls h3 {
  max-width: 330px;
  margin-top: 20px;
  font-size: clamp(28px, 2.8vw, 37px);
}

.controls-visual {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: auto 0;
  padding-block: 26px;
  user-select: none;
}

.controls-visual > kbd {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(54px, 6vw, 68px);
  height: clamp(54px, 6vw, 68px);
  border: 1px solid rgba(223, 239, 215, 0.18);
  border-bottom: 3px solid rgba(223, 239, 215, 0.25);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: clamp(22px, 2.6vw, 30px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.controls-or {
  padding-inline: 4px;
  color: var(--muted-dim);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.drag-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 12px;
  border: 1px dashed rgba(200, 255, 77, 0.25);
  border-radius: 999px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.drag-chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(200, 255, 77, 0.08);
}

.card-small {
  margin-top: auto;
  color: var(--muted-dim);
  font-size: 12.5px;
  line-height: 1.6;
}

.orbit-art {
  position: relative;
  height: 185px;
  margin: 26px -8px -8px;
  border-top: 1px solid var(--line-soft);
  overflow: hidden;
}

.orbit-art::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 255, 77, 0.15), transparent 62%);
  transform: translate(-50%, -50%);
  filter: blur(5px);
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(223, 239, 215, 0.12);
  border-radius: 50%;
}

.orbit-ring--outer {
  width: 410px;
  height: 118px;
  transform: translate(-50%, -50%) rotate(-17deg);
  border-style: dashed;
  animation: orbitDrift 24s ease-in-out infinite alternate;
}

.orbit-ring--mid {
  width: 292px;
  height: 82px;
  transform: translate(-50%, -50%) rotate(23deg);
  border-color: rgba(200, 255, 77, 0.2);
}

.orbit-ring--inner {
  width: 176px;
  height: 50px;
  transform: translate(-50%, -50%) rotate(-8deg);
  border-color: rgba(115, 240, 208, 0.18);
}

.orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #e8ffad, var(--lime) 45%, #6f9b13 100%);
  box-shadow: 0 0 30px rgba(200, 255, 77, 0.4), 0 0 70px rgba(200, 255, 77, 0.12);
  transform: translate(-50%, -50%);
}

.orbit-satellite {
  position: absolute;
  top: 42%;
  left: 18%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(115, 240, 208, 0.85);
  animation: satelliteFloat 8s ease-in-out infinite alternate;
}

.orbit-crosshair {
  position: absolute;
  width: 13px;
  height: 13px;
  opacity: 0.4;
}

.orbit-crosshair::before,
.orbit-crosshair::after {
  content: "";
  position: absolute;
  background: var(--muted);
}

.orbit-crosshair::before {
  top: 6px;
  left: 0;
  width: 13px;
  height: 1px;
}

.orbit-crosshair::after {
  top: 0;
  left: 6px;
  width: 1px;
  height: 13px;
}

.orbit-crosshair--a {
  top: 20px;
  right: 9%;
}

.orbit-crosshair--b {
  bottom: 22px;
  left: 8%;
}

.orbit-coord {
  position: absolute;
  color: var(--muted-dim);
  font-family: var(--mono);
  font-size: 6px;
  line-height: 1.4;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.orbit-coord--top {
  top: 17px;
  left: 0;
}

.orbit-coord--bottom {
  right: 0;
  bottom: 14px;
}

.mini-score {
  margin-top: auto;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(4, 8, 6, 0.42);
}

.mini-score-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted-dim);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.1em;
}

.mini-score-top .status-dot {
  width: 4px;
  height: 4px;
}

.mini-score strong {
  display: block;
  margin-top: 9px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: clamp(28px, 3.2vw, 39px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}

.mini-score-rule {
  height: 1px;
  margin: 14px 0 9px;
  background: var(--line-soft);
}

.mini-score-rule span {
  display: block;
  width: 35%;
  height: 1px;
  background: var(--lime);
  box-shadow: 0 0 7px rgba(200, 255, 77, 0.45);
}

.mini-score-note {
  color: var(--muted-dim);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.08em;
}

.feature-card--score .card-small {
  margin-top: 22px;
}

.manifesto {
  margin-top: 24px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(34px, 3.75vw, 55px);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.manifesto .outline-text {
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: rgba(242, 245, 233, 0.72);
}

.promise-aside {
  padding-left: 25px;
  border-left: 1px solid var(--line);
}

.promise-aside p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.promise-aside p + p {
  margin-top: 13px;
  color: var(--ink-soft);
}

.promise-stamp {
  display: inline-block;
  margin-top: 22px;
  padding: 7px 9px;
  border: 1px solid rgba(200, 255, 77, 0.27);
  color: var(--lime);
  font-family: var(--mono);
  font-size: 6px;
  line-height: 1.5;
  letter-spacing: 0.12em;
  transform: rotate(-3deg);
}

/* =========================================================
   Flight manual
   ========================================================= */

.section--manual {
  padding-top: clamp(18px, 2.8vw, 36px);
}

.manual-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 4.6vw, 60px);
  border-radius: var(--radius-xl);
  background: var(--lime);
  color: #071006;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}

.manual-panel::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -100px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(7, 16, 6, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.manual-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(7, 16, 6, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 16, 6, 0.13) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: linear-gradient(115deg, transparent 35%, black 100%);
  mask-image: linear-gradient(115deg, transparent 35%, black 100%);
}

.manual-head,
.manual-steps,
.manual-foot {
  position: relative;
  z-index: 1;
}

.manual-panel .section-label {
  color: rgba(7, 16, 6, 0.58);
}

.manual-panel .section-label span {
  color: #071006;
}

.manual-panel .section-label::before {
  background: rgba(7, 16, 6, 0.4);
}

.manual-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.42fr);
  gap: 40px;
  align-items: end;
  margin-top: 24px;
}

.manual-title-row h2 {
  color: #071006;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(50px, 6.4vw, 92px);
  line-height: 0.88;
  letter-spacing: -0.065em;
}

.manual-title-row p {
  max-width: 300px;
  padding-bottom: 4px;
  color: rgba(7, 16, 6, 0.64);
  font-size: 13.5px;
  line-height: 1.6;
}

.manual-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(38px, 5vw, 58px);
  border-top: 1px solid rgba(7, 16, 6, 0.22);
}

.manual-steps li {
  position: relative;
  min-height: 210px;
  padding: 26px 34px 32px 0;
  border-right: 1px solid rgba(7, 16, 6, 0.18);
}

.manual-steps li + li {
  padding-left: 32px;
}

.manual-steps li:last-child {
  border-right: 0;
  padding-right: 0;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(7, 16, 6, 0.35);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.04em;
}

.step-copy h3 {
  margin-top: 25px;
  color: #071006;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
}

.step-copy p {
  max-width: 280px;
  margin-top: 12px;
  color: rgba(7, 16, 6, 0.65);
  font-size: 12.5px;
  line-height: 1.65;
}

.step-mark {
  position: absolute;
  right: 28px;
  bottom: 24px;
  color: rgba(7, 16, 6, 0.22);
  font-family: var(--mono);
  font-size: 28px;
  line-height: 1;
}

.manual-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(7, 16, 6, 0.22);
}

.manual-foot p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  color: rgba(7, 16, 6, 0.55);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.manual-foot p span {
  color: #071006;
  font-weight: 500;
}

.manual-foot p i {
  width: 2px;
  height: 2px;
  margin-inline: 2px;
  border-radius: 50%;
  background: rgba(7, 16, 6, 0.35);
}

.manual-foot .btn {
  min-height: 46px;
  padding-inline: 18px;
  font-size: 12px;
}

.manual-stamp {
  position: absolute;
  top: 46px;
  right: clamp(30px, 4.6vw, 60px);
  z-index: 0;
  width: 86px;
  height: 86px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(7, 16, 6, 0.22);
  border-radius: 50%;
  color: rgba(7, 16, 6, 0.42);
  font-family: var(--mono);
  font-size: 6px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  text-align: center;
  transform: rotate(9deg);
}

.manual-stamp span {
  margin-top: 3px;
  opacity: 0.6;
}

/* =========================================================
   Run log
   ========================================================= */

.section--log {
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(ellipse 40% 50% at 92% 48%, rgba(115, 240, 208, 0.035), transparent 70%),
    var(--bg-soft);
}

.run-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}

.run-intro h2 {
  margin-top: 25px;
  font-size: clamp(40px, 4.7vw, 66px);
}

.run-lede {
  max-width: 410px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.telemetry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: 440px;
}

.telemetry div {
  min-width: 0;
}

.telemetry dt {
  overflow: hidden;
  color: var(--muted-dim);
  font-family: var(--mono);
  font-size: 6px;
  line-height: 1.5;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.telemetry dd {
  margin-top: 7px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 20px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.run-intro .text-link {
  margin-top: 28px;
}

.board-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.028), transparent 40%),
    #0a100d;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.16);
}

.board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 21px;
  border-bottom: 1px solid var(--line);
  color: var(--muted-dim);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.11em;
}

.board-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(223, 239, 215, 0.6);
}

.board-status .status-dot {
  width: 4px;
  height: 4px;
}

.board {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-family: var(--mono);
}

.board th {
  padding: 12px 21px 11px;
  color: var(--muted-dim);
  font-size: 6px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.11em;
  text-align: left;
  text-transform: uppercase;
}

.board th:nth-child(1) {
  width: 11%;
}

.board th:nth-child(2) {
  width: 38%;
}

.board th:nth-child(3) {
  width: 29%;
  text-align: right;
}

.board th:nth-child(4) {
  width: 22%;
  text-align: right;
}

.board td {
  padding: 14px 21px;
  border-top: 1px solid var(--line-soft);
  color: rgba(223, 239, 215, 0.49);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.board td:nth-child(1) {
  color: var(--muted-dim);
  font-size: 7px;
}

.board td:nth-child(2) {
  overflow: hidden;
  color: rgba(223, 239, 215, 0.75);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-overflow: ellipsis;
}

.board td:nth-child(3),
.board td:nth-child(4) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.board td:nth-child(3) {
  color: rgba(223, 239, 215, 0.72);
  font-size: 10.5px;
}

.board tr.is-you td {
  border-top-color: rgba(200, 255, 77, 0.13);
  background: rgba(200, 255, 77, 0.045);
  color: var(--lime);
}

.board tr.is-you td:nth-child(2) {
  color: var(--lime);
}

.board tr.is-you td:nth-child(1) {
  color: rgba(200, 255, 77, 0.6);
}

.board tr.is-you td:nth-child(2)::after {
  content: "YOU";
  display: inline-block;
  margin-left: 8px;
  padding: 2px 4px;
  border: 1px solid rgba(200, 255, 77, 0.28);
  border-radius: 2px;
  color: rgba(200, 255, 77, 0.7);
  font-size: 5.5px;
  letter-spacing: 0.08em;
  vertical-align: 1px;
}

.board tr.board-placeholder td {
  height: 46px;
  color: var(--muted-dim);
}

.board-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 21px;
  border-top: 1px solid var(--line);
  color: var(--muted-dim);
  font-family: var(--mono);
  font-size: 6px;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

#board-sync {
  color: rgba(200, 255, 77, 0.46);
  white-space: nowrap;
}

/* =========================================================
   FAQ
   ========================================================= */

.section--faq {
  border-top: 1px solid var(--line-soft);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 124px;
}

.faq-intro h2 {
  margin-top: 25px;
  font-size: clamp(42px, 4.7vw, 66px);
}

.faq-intro > p:last-child {
  max-width: 280px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 22px 0;
  color: var(--ink-soft);
  text-align: left;
  transition: color 0.25s ease;
}

.faq-question > span:first-child {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.45;
}

.faq-question:hover {
  color: var(--lime);
}

.faq-index {
  color: var(--muted-dim);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.faq-icon {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 1px;
  background: var(--muted);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease-out), background 0.25s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-icon {
  border-color: rgba(200, 255, 77, 0.4);
}

.faq-item.is-open .faq-icon::before,
.faq-item.is-open .faq-icon::after {
  background: var(--lime);
}

.faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.4s var(--ease-out), visibility 0s linear 0.4s;
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  max-width: 590px;
  padding: 0 40px 24px 35px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.4s var(--ease-out), visibility 0s;
}

/* =========================================================
   Finale
   ========================================================= */

.finale {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(90px, 12vw, 158px) 0 clamp(94px, 12vw, 154px);
  border-top: 1px solid var(--line-soft);
  text-align: center;
  background:
    radial-gradient(ellipse 44% 62% at 50% 52%, rgba(200, 255, 77, 0.085), transparent 68%),
    #050807;
}

.finale::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(218, 240, 210, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(218, 240, 210, 0.035) 1px, transparent 1px);
  background-size: 74px 74px;
  -webkit-mask-image: radial-gradient(ellipse 55% 60% at 50% 50%, black, transparent 80%);
  mask-image: radial-gradient(ellipse 55% 60% at 50% 50%, black, transparent 80%);
}

.finale-inner {
  position: relative;
  z-index: 2;
}

.finale-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(200, 255, 77, 0.72);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.16em;
}

.finale h2 {
  margin: 26px 0 38px;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(54px, 9vw, 128px);
  line-height: 0.85;
  letter-spacing: -0.068em;
}

.finale h2 .outline-word {
  -webkit-text-stroke-width: 1.5px;
}

.finale .btn {
  min-height: 57px;
  padding-inline: 25px;
}

.finale-note {
  margin-top: 20px;
  color: var(--muted-dim);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.finale-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(223, 239, 215, 0.07);
  border-radius: 50%;
  pointer-events: none;
}

.finale-orbit--one {
  top: 50%;
  left: 50%;
  width: 760px;
  height: 260px;
  transform: translate(-50%, -50%) rotate(-18deg);
  border-color: rgba(200, 255, 77, 0.1);
}

.finale-orbit--two {
  top: 50%;
  left: 50%;
  width: 1130px;
  height: 420px;
  transform: translate(-50%, -50%) rotate(14deg);
  border-style: dashed;
  border-color: rgba(223, 239, 215, 0.06);
}

.finale-star {
  position: absolute;
  z-index: -1;
  width: 5px;
  height: 5px;
  background: var(--lime);
  box-shadow: 0 0 18px rgba(200, 255, 77, 0.8);
}

.finale-star--a {
  top: 24%;
  left: 17%;
}

.finale-star--b {
  right: 15%;
  bottom: 27%;
  width: 3px;
  height: 3px;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(115, 240, 208, 0.8);
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 6vw, 80px) 0 24px;
  border-top: 1px solid var(--line);
  background: #040706;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) minmax(240px, 0.7fr) auto;
  gap: 40px;
  align-items: start;
}

.footer-brand p {
  max-width: 290px;
  margin-top: 17px;
  color: var(--muted-dim);
  font-size: 12px;
  line-height: 1.65;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(110px, 1fr));
  gap: 13px 30px;
  padding-top: 7px;
}

.footer-nav a {
  width: fit-content;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--lime);
}

.back-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-top: 7px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.back-top span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color 0.2s ease, transform 0.25s var(--ease-out);
}

.back-top:hover {
  color: var(--lime);
}

.back-top:hover span {
  border-color: rgba(200, 255, 77, 0.4);
  transform: translateY(-2px);
}

.footer-wordmark {
  margin: clamp(48px, 7vw, 82px) 0 25px;
  color: transparent;
  font-family: var(--display);
  font-weight: 800;
  font-size: min(6.2vw, 90px);
  line-height: 0.78;
  letter-spacing: -0.07em;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(223, 239, 215, 0.13);
  user-select: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 21px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-dim);
  font-family: var(--mono);
  font-size: 6.5px;
  line-height: 1.5;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 7px;
}

.footer-status .status-dot {
  width: 4px;
  height: 4px;
}

.footer-bottom span {
  padding-inline: 4px;
  opacity: 0.45;
}

/* =========================================================
   Motion
   ========================================================= */

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.48; }
}

@keyframes slowSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes marqueeScroll {
  to { transform: translateX(-50%); }
}

@keyframes cueBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

@keyframes orbitDrift {
  from { transform: translate(-50%, -50%) rotate(-17deg); }
  to { transform: translate(-50%, -50%) rotate(-13deg); }
}

@keyframes satelliteFloat {
  from { transform: translate(0, 0); }
  to { transform: translate(24px, -9px); }
}

@keyframes overlayIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes comboIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-grid .reveal:nth-child(2) { transition-delay: 0.07s; }
.feature-grid .reveal:nth-child(3) { transition-delay: 0.04s; }
.feature-grid .reveal:nth-child(4) { transition-delay: 0.1s; }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .marquee-track {
    transform: none;
  }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1180px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
    gap: 44px;
  }

  .game-column {
    max-width: 476px;
  }

  .game-coordinate {
    display: none;
  }

  .feature-card--loop {
    min-height: 420px;
  }

  .feature-card--controls {
    min-height: 420px;
  }
}

@media (max-width: 1020px) {
  .statusbar-center {
    display: none;
  }

  .hero {
    min-height: 0;
    padding-top: 58px;
    padding-bottom: 72px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero h1 {
    font-size: clamp(56px, 12vw, 122px);
  }

  .hero-lede {
    max-width: 540px;
  }

  .game-column {
    justify-self: center;
    max-width: 540px;
    padding-block: 16px;
  }

  .orbit-note {
    display: none;
  }

  .scroll-cue {
    display: none;
  }

  .heading-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-aside p {
    max-width: 540px;
  }

  .feature-card--loop {
    grid-column: span 12;
    min-height: 440px;
  }

  .feature-card--controls {
    grid-column: span 6;
    min-height: 400px;
  }

  .feature-card--score {
    grid-column: span 6;
    min-height: 400px;
  }

  .feature-card--promise {
    grid-column: span 12;
    min-height: 330px;
  }

  .manual-title-row {
    grid-template-columns: minmax(0, 1fr) minmax(200px, 0.5fr);
  }

  .run-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .run-intro {
    max-width: 660px;
  }

  .run-lede {
    max-width: 520px;
  }

  .telemetry {
    max-width: 500px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .faq-intro {
    position: static;
    max-width: 620px;
  }

  .faq-intro h2 {
    max-width: 600px;
  }

  .faq-intro > p:last-child {
    max-width: 420px;
  }

  .site-footer {
    padding-top: 52px;
  }

  .footer-top {
    grid-template-columns: 1fr auto;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    max-width: 340px;
  }

  .footer-nav {
    grid-template-columns: repeat(4, auto);
    gap: 20px;
    justify-content: start;
  }
}

@media (max-width: 880px) {
  .statusbar {
    height: 30px;
  }

  .statusbar-inner {
    justify-content: space-between;
  }

  .statusbar-time {
    color: var(--muted-dim);
  }

  .site-header {
    height: 72px;
  }

  .nav-wrap {
    grid-template-columns: 1fr auto;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 5px var(--gutter) 20px;
    border-bottom: 1px solid var(--line);
    background: #050807;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.28s ease, transform 0.28s var(--ease-out), visibility 0.28s;
  }

  .primary-nav a {
    padding: 17px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 10px;
  }

  .primary-nav a::after {
    display: none;
  }

  .primary-nav .nav-mobile-play {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--lime);
  }

  .primary-nav .nav-mobile-play span {
    font-size: 14px;
    line-height: 1;
  }

  .site-header.menu-open .primary-nav {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .menu-toggle {
    display: block;
  }

  .nav-play {
    height: 36px;
    padding-inline: 14px;
    font-size: 8px;
  }

  .nav-play svg {
    width: 12px;
    height: 12px;
  }

  .hero {
    padding-top: 42px;
    padding-bottom: 56px;
  }

  .hero h1 {
    font-size: clamp(54px, 12vw, 104px);
  }

  .hero-lede {
    font-size: 15.5px;
  }

  .hero-ctas {
    gap: 9px;
  }

  .hero-ctas .btn {
    min-height: 52px;
  }

  .game-column {
    max-width: 500px;
  }

  .section {
    padding-block: 78px;
  }

  .feature-grid {
    margin-top: 46px;
  }

  .feature-card--loop,
  .feature-card--controls,
  .feature-card--score {
    min-height: 370px;
  }

  .feature-card--controls,
  .feature-card--score {
    grid-column: span 6;
  }

  .feature-card--promise {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 0;
  }

  .manifesto {
    font-size: clamp(34px, 6.2vw, 52px);
  }

  .promise-aside {
    padding-left: 0;
    padding-top: 20px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .manual-title-row {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .manual-title-row p {
    max-width: 450px;
  }

  .manual-steps {
    grid-template-columns: 1fr;
  }

  .manual-steps li,
  .manual-steps li + li {
    min-height: 0;
    padding: 22px 0 25px;
    border-right: 0;
    border-bottom: 1px solid rgba(7, 16, 6, 0.18);
  }

  .manual-steps li:last-child {
    border-bottom: 0;
    padding-bottom: 28px;
  }

  .step-copy h3 {
    margin-top: 16px;
  }

  .step-copy p {
    max-width: 500px;
  }

  .step-mark {
    right: 4px;
    bottom: 26px;
  }

  .manual-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .manual-foot .btn {
    width: 100%;
    justify-content: space-between;
  }

  .manual-stamp {
    display: none;
  }

  .footer-top {
    gap: 32px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(100px, 1fr));
    gap: 14px 30px;
    justify-content: stretch;
  }

  .footer-wordmark {
    margin-top: 52px;
  }
}

@media (max-width: 620px) {
  :root {
    --gutter: 20px;
  }

  html {
    scroll-padding-top: 86px;
  }

  body::before {
    opacity: 0.035;
  }

  .statusbar {
    font-size: 7px;
  }

  .statusbar-brand .statusbar-sep,
  .statusbar-brand .statusbar-division {
    display: none;
  }

  .statusbar-time {
    margin-left: auto;
  }

  .brand-mark {
    width: 24px;
    height: 24px;
  }

  .brand-word {
    font-size: 17px;
  }

  .brand-sub {
    font-size: 5.5px;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-play {
    height: 34px;
    padding-inline: 12px;
    gap: 7px;
    font-size: 7px;
  }

  .menu-toggle {
    width: 36px;
    height: 36px;
  }

  .menu-toggle span {
    left: 10px;
    width: 14px;
  }

  .menu-toggle span:first-child {
    top: 15px;
  }

  .menu-toggle span:last-child {
    top: 20px;
  }

  .hero {
    padding-top: 32px;
    padding-bottom: 40px;
  }

  .eyebrow {
    font-size: 7px;
    letter-spacing: 0.1em;
  }

  .hero h1 {
    margin-top: 22px;
    font-size: clamp(38px, 12vw, 74px);
    line-height: 0.88;
    letter-spacing: -0.07em;
  }

  .hero h1 .outline-word {
    -webkit-text-stroke-width: 1px;
  }

  .hero-lede {
    margin-top: 24px;
    max-width: 380px;
    font-size: 14.5px;
    line-height: 1.6;
  }

  .hero-ctas {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 27px;
    gap: 8px;
  }

  .hero-ctas .btn {
    width: 100%;
    min-height: 52px;
    justify-content: space-between;
    padding-inline: 19px;
  }

  .hero-facts {
    gap: 8px 16px;
    margin-top: 27px;
    padding-top: 17px;
    max-width: 100%;
  }

  .hero-facts li {
    font-size: 7px;
    gap: 5px;
    letter-spacing: 0.06em;
  }

  .hero-layout {
    gap: 38px;
  }

  .game-column {
    padding-block: 4px;
    max-width: 100%;
  }

  .game-shell {
    padding: 6px;
    border-radius: 22px;
  }

  .game-chrome {
    height: 27px;
    padding-inline: 5px;
    font-size: 6px;
  }

  .game-stage {
    border-radius: 16px;
  }

  .game-foot {
    height: 34px;
    padding: 5px 5px 0;
    font-size: 5.5px;
  }

  .game-foot-controls {
    display: none;
  }

  .game-tools {
    margin-left: auto;
  }

  .game-hud {
    padding: 14px;
  }

  .hud-center {
    display: none;
  }

  .hud-stat {
    min-width: 64px;
  }

  .hud-value {
    font-size: 16px;
  }

  .hud-label {
    font-size: 5.5px;
  }

  .hud-hint {
    display: none;
  }

  .hull-pip {
    width: 18px;
  }

  .combo-chip {
    top: 52px;
    left: 14px;
  }

  .overlay {
    padding: 20px;
    background: linear-gradient(180deg, rgba(4, 8, 6, 0.02) 0%, rgba(4, 8, 6, 0.42) 32%, rgba(4, 8, 6, 0.95) 100%);
  }

  .overlay-kicker {
    margin-bottom: 11px;
    font-size: 6px;
  }

  .overlay-title {
    font-size: clamp(36px, 11vw, 47px);
  }

  .overlay-copy {
    margin-top: 12px;
    font-size: 12px;
    max-width: 280px;
  }

  .overlay-btn {
    min-height: 47px;
    margin-top: 16px;
    padding-left: 16px;
    font-size: 12px;
    border-radius: 10px;
  }

  .overlay-note {
    margin-top: 10px;
    font-size: 5.5px;
    gap: 4px;
  }

  .run-result {
    margin-top: 14px;
    padding: 10px 0;
    gap: 13px;
  }

  .run-result strong {
    font-size: 20px;
  }

  .run-result div + div strong {
    font-size: 16px;
  }

  .run-summary {
    font-size: 5.5px;
    gap: 4px;
  }

  .overlay-actions {
    margin-top: 13px;
  }

  .overlay--over .overlay-btn,
  .overlay--pause .overlay-btn {
    min-height: 45px;
  }

  .marquee-track span {
    padding-block: 14px;
    font-size: 8px;
  }

  .marquee-track b {
    padding-inline: 18px;
  }

  .section {
    padding-block: 64px;
  }

  .section-label {
    font-size: 7px;
  }

  .section-heading h2,
  .run-intro h2,
  .faq-intro h2 {
    font-size: clamp(38px, 10.4vw, 54px);
  }

  .heading-row {
    margin-top: 20px;
    gap: 20px;
  }

  .section-aside p {
    font-size: 13.5px;
  }

  .text-link {
    margin-top: 18px;
    font-size: 7px;
  }

  .feature-grid {
    gap: 10px;
    margin-top: 36px;
  }

  .feature-card {
    border-radius: 18px;
  }

  .feature-card--loop,
  .feature-card--controls,
  .feature-card--score {
    grid-column: span 12;
    min-height: 0;
  }

  .feature-card--loop {
    padding: 22px;
  }

  .feature-card--controls,
  .feature-card--score {
    padding: 22px;
  }

  .feature-card--loop .card-copy h3 {
    margin-top: 17px;
    font-size: clamp(29px, 8.2vw, 38px);
  }

  .card-copy > p:last-child {
    margin-top: 15px;
    font-size: 13px;
  }

  .feature-card--controls h3 {
    margin-top: 16px;
    font-size: clamp(27px, 7.6vw, 34px);
  }

  .controls-visual {
    padding-block: 30px;
  }

  .controls-visual > kbd {
    width: 58px;
    height: 58px;
    font-size: 23px;
  }

  .orbit-art {
    height: 150px;
    margin-top: 20px;
  }

  .orbit-ring--outer {
    width: 330px;
    height: 95px;
  }

  .orbit-ring--mid {
    width: 245px;
    height: 67px;
  }

  .orbit-ring--inner {
    width: 150px;
    height: 42px;
  }

  .orbit-coord {
    font-size: 5px;
  }

  .mini-score {
    margin-top: 22px;
  }

  .feature-card--score .card-small {
    margin-top: 17px;
  }

  .feature-card--promise {
    padding: 24px;
    min-height: 0;
  }

  .manifesto {
    margin-top: 18px;
    font-size: clamp(27px, 8.3vw, 42px);
    line-height: 0.95;
  }

  .manifesto .outline-text {
    -webkit-text-stroke-width: 0.8px;
  }

  .promise-aside {
    margin-top: 0;
  }

  .manual-panel {
    padding: 24px 20px;
    border-radius: 22px;
  }

  .manual-title-row {
    margin-top: 20px;
    gap: 16px;
  }

  .manual-title-row h2 {
    font-size: clamp(45px, 13.2vw, 62px);
  }

  .manual-title-row p {
    font-size: 12.5px;
  }

  .manual-steps {
    margin-top: 32px;
  }

  .manual-steps li,
  .manual-steps li + li {
    padding: 19px 0 22px;
  }

  .step-copy h3 {
    margin-top: 13px;
    font-size: 19px;
  }

  .step-copy p {
    font-size: 12px;
  }

  .step-mark {
    right: 2px;
    bottom: 20px;
    font-size: 23px;
  }

  .manual-foot {
    padding-top: 20px;
  }

  .manual-foot p {
    gap: 5px;
    line-height: 1.7;
    font-size: 5.5px;
  }

  .manual-foot .btn {
    min-height: 46px;
  }

  .run-layout {
    gap: 38px;
  }

  .run-intro h2 {
    margin-top: 20px;
  }

  .run-lede {
    margin-top: 18px;
    font-size: 13px;
  }

  .telemetry {
    margin-top: 25px;
    padding: 15px 0;
    gap: 10px;
  }

  .telemetry dd {
    font-size: 17px;
  }

  .telemetry dt {
    font-size: 5.5px;
    letter-spacing: 0.02em;
  }

  .run-intro .text-link {
    margin-top: 22px;
  }

  .board-wrap {
    border-radius: 16px;
  }

  .board-head {
    padding: 13px 15px;
    font-size: 5.5px;
  }

  .board th {
    padding: 9px 14px 8px;
    font-size: 5px;
  }

  .board th:nth-child(1) { width: 10%; }
  .board th:nth-child(2) { width: 37%; }
  .board th:nth-child(3) { width: 30%; }
  .board th:nth-child(4) { width: 23%; }

  .board td {
    padding: 12px 14px;
    font-size: 9px;
  }

  .board td:nth-child(2) {
    font-size: 8px;
  }

  .board td:nth-child(3) {
    font-size: 9.5px;
  }

  .board tr.is-you td:nth-child(2)::after {
    display: none;
  }

  .board-foot {
    padding: 11px 14px;
    gap: 10px;
    font-size: 5px;
    line-height: 1.5;
  }

  .board-foot span:first-child {
    max-width: 210px;
  }

  .faq-layout {
    gap: 30px;
  }

  .faq-question {
    gap: 15px;
    padding: 18px 0;
  }

  .faq-question > span:first-child {
    gap: 10px;
    font-size: 14px;
  }

  .faq-answer p {
    padding: 0 26px 20px 26px;
    font-size: 12.5px;
  }

  .finale {
    padding-block: 80px;
  }

  .finale h2 {
    margin: 22px 0 30px;
    font-size: clamp(30px, 10.4vw, 60px);
    line-height: 0.9;
  }

  .finale-orbit--one {
    width: 480px;
    height: 190px;
  }

  .finale-orbit--two {
    width: 700px;
    height: 300px;
  }

  .finale-note {
    font-size: 6px;
  }

  .site-footer {
    padding-top: 42px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(100px, 1fr));
    padding-top: 0;
  }

  .back-top {
    justify-self: start;
    padding-top: 0;
  }

  .footer-wordmark {
    margin-top: 42px;
    margin-bottom: 18px;
    font-size: clamp(44px, 12.2vw, 72px);
    line-height: 0.86;
    white-space: normal;
  }

  .footer-bottom {
    flex-wrap: wrap;
    gap: 9px 20px;
    font-size: 5.5px;
  }

  .footer-status {
    order: 3;
    width: 100%;
  }
}

@media (max-width: 400px) {
  .brand-sub {
    display: none;
  }

  .overlay-title {
    font-size: 34px;
  }

  .overlay {
    padding: 16px;
  }

  .overlay-copy {
    max-width: 250px;
  }

  .overlay-note {
    display: none;
  }

  .run-result {
    margin-top: 13px;
  }

  .board th:nth-child(4),
  .board td:nth-child(4) {
    display: none;
  }

  .board th:nth-child(1) { width: 12%; }
  .board th:nth-child(2) { width: 48%; }
  .board th:nth-child(3) { width: 40%; }

  .board-foot {
    font-size: 4.8px;
  }

  .board-foot span:first-child {
    max-width: 160px;
  }

  .board-foot #board-sync {
    display: none;
  }

  .telemetry dt {
    min-height: 24px;
    white-space: normal;
  }

  .footer-wordmark {
    font-size: 42px;
  }
}

@media (max-width: 480px) {
  .nav-actions .nav-play {
    display: none;
  }
}

@media (hover: none) and (pointer: coarse) {
  .game-stage {
    cursor: default;
  }

  .feature-card:hover {
    border-color: var(--line);
  }
}
