/* ---- tokens.css ---- */
/* Design tokens.
 *
 * Every color here descends from the two radial gradients inside the 2009 logo
 * mark — cyan #22C2F2 -> #0085D0 and gold #FFC71B -> #ED7F00 — put on a
 * near-black ground. Nothing was picked to look nice next to them; they are the
 * brand, and the rest of the palette is neutrals built to stay out of their way.
 *
 * Contrast, measured against --ground #07090C (WCAG 2.1, sRGB):
 *   --cyan       9.6:1    --gold       12.7:1
 *   --text      16.7:1    --text-dim    9.0:1    --text-faint  5.3:1
 * Bright cyan needed no darkening for body-size text on this ground, which is
 * worth knowing before anyone "fixes" it: on a light ground it would fail badly,
 * and the light legal pages therefore use --cyan-ink instead.
 */

:root {
  /* Brand */
  --cyan: #22C2F2;
  --cyan-deep: #0085D0;
  --cyan-ink: #0A6C9E;          /* the cyan that survives a light background */
  --gold: #FFC71B;
  --gold-deep: #ED7F00;

  /* Ground and the layers lifted off it */
  --ground: #07090C;
  --surface: #10151C;
  --surface-2: #171E28;
  --line: #232C39;
  /* --line-bright draws the boundary of buttons and chips, which is what makes
   * them read as controls, so WCAG 1.4.11 wants 3:1 against the ground. The
   * value that "looked right" next to --line was 1.9:1. Check with
   * `mise run check:contrast` before darkening it back. */
  --line-bright: #566674;

  /* Text */
  --text: #E9EFF5;
  --text-dim: #9FB0C0;
  --text-faint: #71818F;
  --on-bright: #05080B;         /* sits on --cyan or --gold */

  /* Type. One family, two axes: the expanded heavy cut is the arcade display
   * voice, the normal width carries body copy. */
  --font: 'Archivo', 'Archivo Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display-wdth: 118;
  --display-wght: 800;

  /* A fifth-based type scale, fluid between a 360px phone and a 1280px desktop */
  --step--1: clamp(0.83rem, 0.80rem + 0.13vw, 0.90rem);
  --step-0:  clamp(1.00rem, 0.95rem + 0.22vw, 1.13rem);
  --step-1:  clamp(1.20rem, 1.11rem + 0.39vw, 1.41rem);
  --step-2:  clamp(1.44rem, 1.29rem + 0.65vw, 1.76rem);
  --step-3:  clamp(1.73rem, 1.49rem + 1.03vw, 2.20rem);
  --step-4:  clamp(2.07rem, 1.71rem + 1.58vw, 2.75rem);
  --step-5:  clamp(2.49rem, 1.94rem + 2.36vw, 3.44rem);
  --step-6:  clamp(2.99rem, 2.17rem + 3.47vw, 4.30rem);

  /* Space */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  --shell: 72rem;
  --measure: 38rem;

  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* The glow is the whole identity, so it is a token rather than a per-rule
   * shadow — one place to turn the neon up or down. */
  --glow-cyan: 0 0 0 1px color-mix(in srgb, var(--cyan) 45%, transparent),
               0 0 24px -6px color-mix(in srgb, var(--cyan) 70%, transparent);
  --glow-gold: 0 0 0 1px color-mix(in srgb, var(--gold) 45%, transparent),
               0 0 28px -6px color-mix(in srgb, var(--gold) 70%, transparent);
  --shadow-card: 0 1px 0 0 color-mix(in srgb, white 6%, transparent) inset,
                 0 18px 40px -24px #000;

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --dur: 220ms;
}

/* ---- base.css ---- */
/* Reset, font loading, and the elements a page gets for free. */

@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo-latin-var.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  /* Latin subset, matching what the file actually contains. */
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Metric-matched stand-in for the swap period, so headings do not jump. */
@font-face {
  font-family: 'Archivo Fallback';
  src: local('Arial'), local('Helvetica'), local('Liberation Sans');
  size-adjust: 101%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--line-bright) var(--ground);
}

body {
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--text);
  background: var(--ground);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

main { flex: 1; }

h1, h2, h3, h4 {
  font-stretch: calc(var(--display-wdth) * 1%);
  font-weight: var(--display-wght);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
  color: var(--text);
}

h1 { font-size: var(--step-6); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { text-wrap: pretty; }

a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: color-mix(in srgb, var(--cyan) 70%, white); }

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }

ul, ol { padding-inline-start: 1.2em; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--cyan); color: var(--on-bright); }

.shell {
  width: min(100% - 2 * var(--sp-5), var(--shell));
  margin-inline: auto;
}

.skip {
  position: absolute;
  inset-block-start: var(--sp-3);
  inset-inline-start: var(--sp-3);
  z-index: 100;
  padding: var(--sp-2) var(--sp-4);
  background: var(--gold);
  color: var(--on-bright);
  font-weight: 700;
  border-radius: var(--radius-pill);
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Ambient motion is decoration. Everything that moves must stop here — this
 * rule is the contract, so new animations belong to a class, never to an
 * element the reset cannot reach. */
@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;
    scroll-behavior: auto !important;
  }
}

/* ---- components.css ---- */
/* Site chrome and the pieces pages are assembled from. */

/* ---------------------------------------------------------------- brand --- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  color: var(--text);
  text-decoration: none;
  font-size: var(--step-1);
  font-stretch: calc(var(--display-wdth) * 1%);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1;
}

/* The mark is an <img> of a shared SVG rather than inline markup: it appears
 * three times per page, and inlining it made the path data most of the HTML.
 * One cached request covers the whole site. */
.brand__mark { display: block; width: 1.9em; height: auto; flex: none; }
.brand--sm { font-size: var(--step-0); }

.brand:hover { color: var(--text); }
.brand:hover .brand__mark {
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--cyan) 60%, transparent));
}
.brand__mark { transition: filter var(--dur) var(--ease); }

/* --------------------------------------------------------------- header --- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--ground) 82%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  min-height: 4.25rem;
  flex-wrap: wrap;
}

.site-nav { margin-inline-start: auto; }

.site-nav ul {
  display: flex;
  gap: clamp(var(--sp-4), 3vw, var(--sp-7));
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: var(--sp-2) 0;
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 600;
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--dur) var(--ease);
}

.site-nav a:hover { color: var(--text); }
.site-nav a:hover::after,
.site-nav a[aria-current]::after { transform: none; }
.site-nav a[aria-current] { color: var(--text); }

/* The mobile menu is a checkbox, not a script: it has to work with JavaScript
 * off, and a disclosure is the one interaction on this site where that is a
 * real risk rather than a hypothetical one. */
/* Above the breakpoint the nav is always open, so the toggle is not just
 * invisible — it is removed, or it sits in the tab order doing nothing. */
.nav-button { display: none; }
.nav-toggle { display: none; }

@media (max-width: 44rem) {
  .nav-toggle { display: revert; }

  .site-nav { margin-inline-start: 0; flex-basis: 100%; }

  .nav-button {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    margin-inline-start: auto;
    padding: var(--sp-2) var(--sp-4);
    border: 1px solid var(--line-bright);
    border-radius: var(--radius-pill);
    color: var(--text-dim);
    font-weight: 700;
    font-size: var(--step--1);
    cursor: pointer;
    user-select: none;
  }

  .nav-button__bars,
  .nav-button__bars::before,
  .nav-button__bars::after {
    display: block;
    width: 1rem;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
  }
  .nav-button__bars { position: relative; }
  .nav-button__bars::before,
  .nav-button__bars::after { content: ''; position: absolute; inset-inline: 0; }
  .nav-button__bars::before { top: -5px; }
  .nav-button__bars::after { top: 5px; }

  .nav-toggle:focus-visible + .nav-button {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding-block-end: var(--sp-3);
  }
  .site-nav li { border-top: 1px solid var(--line); }
  .site-nav a { padding: var(--sp-3) 0; }
  .site-nav a::after { display: none; }

  .site-nav { display: none; }
  .nav-toggle:checked ~ .site-nav { display: block; }
}

/* --------------------------------------------------------------- footer --- */

.site-footer {
  margin-block-start: var(--sp-9);
  padding-block: var(--sp-7);
  border-top: 1px solid var(--line);
  background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--cyan) 4%, transparent));
}

.site-footer__inner {
  display: grid;
  gap: var(--sp-4);
  justify-items: start;
}

.site-footer__line { color: var(--text-dim); }

.site-footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__nav a { color: var(--text-dim); text-decoration: none; font-weight: 600; }
.site-footer__nav a:hover { color: var(--cyan); text-decoration: underline; }
.site-footer__legal { color: var(--text-faint); font-size: var(--step--1); }

/* -------------------------------------------------------------- buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.75em 1.4em;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.btn:hover { transform: translateY(-2px); color: var(--text); }

/* Gold is the accent, and it is spent on exactly one call to action per page.
 * If a second .btn--primary shows up on a page, one of them is wrong. */
.btn--primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  border-color: transparent;
  color: var(--on-bright);
}
.btn--primary:hover { box-shadow: var(--glow-gold); color: var(--on-bright); }

.btn--secondary { border-color: color-mix(in srgb, var(--cyan) 40%, transparent); color: var(--cyan); }
.btn--secondary:hover { box-shadow: var(--glow-cyan); color: var(--cyan); }

.btn--lg { font-size: var(--step-1); padding: 0.8em 1.6em; }

/* A platform with no store URL renders as this: present, legible, and plainly
 * not a link. The alternative — hiding it — loses the information that the
 * platform is coming. */
.chip-soon {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.75em 1.4em;
  border: 1px dashed var(--line-bright);
  border-radius: var(--radius-pill);
  color: var(--text-faint);
  font-weight: 600;
  line-height: 1.2;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}

/* -------------------------------------------------------------- ambient --- */

/* Two slow-drifting pools of brand color behind the hero. Transform-only, so
 * it stays on the compositor; it stops for prefers-reduced-motion via the rule
 * in base.css, and js/ambient.js adds .is-idle when the tab is hidden. */
.ambient {
  position: absolute;
  inset: -20% -10% auto;
  height: 130%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
}

.ambient__pool {
  position: absolute;
  width: 60vmax;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.35;
  will-change: transform;
  animation: drift 42s var(--ease) infinite alternate;
}

.ambient__pool--cyan {
  background: radial-gradient(circle, var(--cyan), transparent 62%);
  inset-block-start: -18vmax;
  inset-inline-start: -14vmax;
}

.ambient__pool--gold {
  background: radial-gradient(circle, var(--gold-deep), transparent 62%);
  inset-block-start: -8vmax;
  inset-inline-end: -20vmax;
  animation-duration: 55s;
  animation-direction: alternate-reverse;
  opacity: 0.28;
}

.is-idle .ambient__pool { animation-play-state: paused; }

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(12vmax, 7vmax, 0) scale(1.25); }
}

/* A faint grid, so the black has structure instead of being merely black. */
.ambient::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--cyan) 7%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--cyan) 7%, transparent) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 72%);
}

/* ------------------------------------------------------------- sections --- */

.section { padding-block: var(--sp-8); }
.section--tight { padding-block: var(--sp-7); }

/* Heading on the left, the thing it introduces on the right. A section head is
 * capped at a readable measure, so on a desktop a full-width text section is
 * mostly empty right-hand column; this pairs the two instead of stacking them. */
.split { display: grid; gap: var(--sp-6); }

@media (min-width: 58rem) {
  .split { grid-template-columns: 1fr 1.25fr; gap: var(--sp-8); align-items: start; }
  .split > .section__head { margin-block-end: 0; position: sticky; top: 6rem; }
}

.section__head { max-width: var(--measure); margin-block-end: var(--sp-6); }
.section__head p { color: var(--text-dim); margin-block-start: var(--sp-3); font-size: var(--step-1); }

.eyebrow {
  display: inline-block;
  margin-block-end: var(--sp-3);
  font-size: var(--step--1);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent, var(--cyan));
}

.rule {
  border: 0;
  height: 1px;
  background: linear-gradient(to right, var(--line-bright), transparent);
}

/* ----------------------------------------------------------------- hero --- */

.hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(var(--sp-8), 12vh, var(--sp-9));
  text-align: center;
  overflow: clip;
}

/* The ambient pools drift, so how much color sits behind the hero copy depends
 * on where the animation happens to be. This scrim puts the ground back under
 * the text at every phase — without it the measured contrast of --text-dim is
 * only true of the frames someone happened to screenshot. */
.hero > .shell { position: relative; }
.hero > .shell::before {
  content: '';
  position: absolute;
  inset: -10% -12%;
  z-index: -1;
  background: radial-gradient(60% 55% at 50% 45%,
    color-mix(in srgb, var(--ground) 88%, transparent),
    transparent 72%);
}

.hero__mark {
  width: clamp(5rem, 14vw, 8.5rem);
  height: auto;
  margin-inline: auto;
  margin-block-end: var(--sp-5);
  filter: drop-shadow(0 0 40px color-mix(in srgb, var(--cyan) 45%, transparent));
}

.hero h1 { margin-block-end: var(--sp-4); }

.hero__tagline {
  font-size: var(--step-3);
  font-weight: 700;
  font-stretch: 112%;
  background: linear-gradient(100deg, var(--cyan) 8%, #F2FAFF 46%, var(--gold) 84%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-block-end: var(--sp-5);
}

.hero__lede {
  max-width: 34rem;
  margin-inline: auto;
  color: var(--text-dim);
  font-size: var(--step-1);
  margin-block-end: var(--sp-6);
}

.hero .cta-row { justify-content: center; }

/* -------------------------------------------------------------- promise --- */

/* Five items, so the column count is set explicitly rather than left to
 * auto-fit: auto-fit lands on four at desktop width and leaves the fifth
 * promise stranded on its own row, which reads as an afterthought. 3+2 reads as
 * a shape. */
.promise {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 34rem) { .promise { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 58rem) { .promise { grid-template-columns: repeat(3, 1fr); } }

.promise li {
  padding: var(--sp-5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.promise h3 {
  font-size: var(--step-1);
  margin-block-end: var(--sp-2);
  color: var(--cyan);
  display: flex;
  align-items: baseline;
  gap: 0.5em;
}

.promise h3::before {
  content: '';
  width: 0.5em;
  height: 0.5em;
  flex: none;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.promise p { color: var(--text-dim); }

.footnote {
  margin-block-start: var(--sp-5);
  color: var(--text-faint);
  font-size: var(--step--1);
  max-width: var(--measure);
}

/* ----------------------------------------------------------- game cards --- */

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: var(--sp-5);
  list-style: none;
  margin: 0;
  padding: 0;
}

.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: var(--sp-5);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 80% at 50% -10%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%),
    var(--surface);
  box-shadow: var(--shadow-card);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.game-card:has(a:hover) {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
}

.game-card__art {
  height: 6.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.game-card__art img { max-height: 6.5rem; width: auto; }
.game-card__art--wordmark img { max-height: 3.4rem; }

.game-card h3 { font-size: var(--step-2); }

/* The whole card is the target; the heading link is what announces it. */
.game-card h3 a { color: var(--text); text-decoration: none; }
.game-card h3 a::before { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.game-card h3 a:hover { color: var(--accent); }

.game-card p { color: var(--text-dim); flex: 1; }

.game-card__more {
  font-weight: 700;
  color: var(--accent);
  font-size: var(--step--1);
}

.flag {
  position: absolute;
  top: var(--sp-4);
  inset-inline-end: var(--sp-4);
  padding: 0.25em 0.75em;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--on-bright);
  font-size: var(--step--1);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------- panel --- */

.panel {
  padding: var(--sp-6);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.panel--cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  background:
    radial-gradient(80% 140% at 0% 0%, color-mix(in srgb, var(--cyan) 12%, transparent), transparent 70%),
    var(--surface);
}

.panel--cta h2 { font-size: var(--step-3); }
.panel--cta p { color: var(--text-dim); max-width: 32rem; margin-block-start: var(--sp-2); }
.panel--cta > div { flex: 1 1 22rem; }

/* --------------------------------------------------- game page (site theme) --- */

/* The older two games have one piece of art each: a 627x400 gameplay capture
 * from their own era. Framed at its native size rather than stretched across a
 * hero — blown up it just looks like an old screenshot blown up. */
.game-hero--framed { padding-block: var(--sp-7) var(--sp-6); }

.game-hero--framed .game-hero__art {
  max-width: 39rem;
  margin-inline: auto;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.game-hero--framed h1 { margin-block-start: var(--sp-6); font-size: var(--step-5); }

.game-hero--framed .game-hero__tagline {
  font-size: var(--step-2);
  font-weight: 700;
  font-stretch: 112%;
  color: var(--accent);
  margin-block-start: var(--sp-3);
  text-wrap: balance;
}

.game-hero--framed .game-hero__lede {
  max-width: 40rem;
  margin: var(--sp-5) auto 0;
  color: var(--text-dim);
  font-size: var(--step-1);
}

.game-hero--framed .cta-row { justify-content: center; margin-block-start: var(--sp-6); }
.game-hero--framed { text-align: center; }

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: var(--sp-5);
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-list li {
  padding-block-start: var(--sp-4);
  border-top: 2px solid color-mix(in srgb, var(--accent) 55%, transparent);
}

.feature-list h3 { font-size: var(--step-1); margin-block-end: var(--sp-2); }
.feature-list p { color: var(--text-dim); }

/* The honest-disclosure block: what a game does that a visitor would want to
 * know before installing. Same component as .promise, opposite polarity, so it
 * deliberately does not borrow .promise's cyan bullet. */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: var(--sp-4);
  list-style: none;
  margin: 0;
  padding: 0;
}

.facts li {
  padding: var(--sp-5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.facts h3 { font-size: var(--step-1); margin-block-end: var(--sp-2); color: var(--text); }
.facts p { color: var(--text-dim); font-size: var(--step--1); }

.quotes {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 34rem) { .quotes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 58rem) { .quotes { grid-template-columns: repeat(3, 1fr); } }

.quote {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.quote blockquote { font-size: var(--step-1); color: var(--text); flex: 1; }
.quote blockquote::before { content: '\201C'; color: var(--accent); }
.quote blockquote::after { content: '\201D'; color: var(--accent); }
.quote cite { color: var(--text-faint); font-size: var(--step--1); font-style: normal; font-weight: 700; }

.quotes-note { margin-block-start: var(--sp-5); color: var(--text-faint); font-size: var(--step--1); max-width: var(--measure); }

/* ----------------------------------------------------------------- 404 --- */

.notfound { text-align: center; padding-block: var(--sp-9); position: relative; isolation: isolate; overflow: clip; }
.notfound .notfound__code {
  font-size: var(--step-6);
  font-stretch: 125%;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(100deg, var(--cyan) 8%, #F2FAFF 46%, var(--gold) 84%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.notfound p { max-width: 34rem; margin-inline: auto; color: var(--text-dim); font-size: var(--step-1); }
.notfound .cta-row { justify-content: center; margin-block-start: var(--sp-6); }

/* ------------------------------------------------------------------- q&a --- */

.faq-jump ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  list-style: none;
  margin: 0;
  padding: 0;
}

.faq-jump a {
  display: block;
  padding: var(--sp-2) var(--sp-4);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-pill);
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--step--1);
}

.faq-jump a:hover { color: var(--cyan); border-color: var(--cyan); }

.qa { margin: 0; }
.qa dt {
  font-weight: 800;
  font-stretch: 108%;
  font-size: var(--step-1);
  color: var(--text);
  margin-block-start: var(--sp-6);
}
.qa dt:first-child { margin-block-start: 0; }
.qa dd { margin: var(--sp-2) 0 0; color: var(--text-dim); max-width: var(--measure); }

.section[id] { scroll-margin-top: 5.5rem; }

/* ----------------------------------------------------------------- prose --- */

.prose { max-width: var(--measure); }
.prose p { color: var(--text-dim); }
.prose p + p { margin-block-start: var(--sp-4); }
.prose ul, .prose ol { color: var(--text-dim); margin-block: var(--sp-4); }
.prose li + li { margin-block-start: var(--sp-2); }
.prose strong { color: var(--text); }
.prose q { color: var(--text); font-style: italic; }
.prose .btn { margin-block: var(--sp-3); }
