/* Pew Pew Pandemonium — site styles. No framework, no build step. */

/* ---------- Fonts (self-hosted, SIL OFL 1.1 — see fonts/LICENSES.txt) ---------- */
@font-face { font-family: "Lilita One"; src: url("/assets/fonts/lilita-one-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Rubik"; src: url("/assets/fonts/rubik-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Rubik"; src: url("/assets/fonts/rubik-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Rubik"; src: url("/assets/fonts/rubik-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Rubik"; src: url("/assets/fonts/rubik-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --ink: #17161c;
  --ink-2: #1b1a21;
  --panel: #211f29;
  --panel-2: #2d2a37;
  --line: #2f2c3a;
  --line-2: #3d3949;
  --line-3: #5a5668;
  --text: #f6f4fa;
  --text-2: #d6d2e0;
  --muted: #bcb7cc;
  --dim: #a9a4b8;
  --dimmer: #8f8aa3;
  --black: #0d0c10;
  --footer: #0f0e13;
  --pink: #ff5fae;
  --pink-deep: #a3195f;
  --pink-link: #ff8cc4;
  --skinny: #39c3ea;
  --mid: #f0c040;
  --thicc: #ff6b73;

  --f-display: "Lilita One", "Arial Black", sans-serif;
  --f-body: "Rubik", "Trebuchet MS", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --wrap: 1200px;
  --gutter: 24px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--f-body); font-size: 17px; line-height: 1.5; }
a { color: var(--pink-link); }
a:hover { color: #ffb3d8; }
:focus-visible { outline: 3px solid var(--mid); outline-offset: 3px; border-radius: 6px; }
strong { color: var(--text); }
svg { flex: 0 0 auto; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; padding: 12px 16px; background: var(--mid); color: var(--ink); font-weight: 600; border-radius: 8px; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.dots { background-image: radial-gradient(rgba(255, 95, 174, 0.15) 1.5px, transparent 1.8px); background-size: 18px 18px; }
.section { padding-block: 88px 96px; }
.section--alt { background: var(--ink-2); border-top: 2px solid #2b2935; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack--lg { gap: 36px; }

.eyebrow { margin: 0; font: 600 13px/1.4 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink); }
.h1, .h2, .h3 { margin: 0; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; text-wrap: balance; }
.h1 { font-size: clamp(52px, 7.6vw, 108px); line-height: 0.88; }
.h2 { font-size: clamp(40px, 5.6vw, 76px); line-height: 0.92; }
.h2--sm { font-size: clamp(40px, 5vw, 64px); }
.h3 { font-size: 30px; line-height: 1; }
.lead { margin: 0; font-size: 19px; line-height: 1.6; color: var(--text-2); max-width: 32em; text-wrap: pretty; }
.body { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text-2); }
.pink { color: var(--pink); }
.gold { color: var(--mid); }
.block { display: block; }
.page-hero > .wrap { padding-block: 64px 88px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border: 0; border-radius: 14px; font-family: var(--f-display); font-size: 21px; line-height: 1; text-align: center; text-decoration: none; cursor: pointer; transition: transform 0.08s ease, box-shadow 0.08s ease, background-color 0.12s ease, color 0.12s ease; }
.btn--pink { background: var(--pink); color: var(--ink); box-shadow: 0 5px 0 var(--pink-deep); }
.btn--pink:hover { color: var(--ink); transform: translateY(-1px); box-shadow: 0 6px 0 var(--pink-deep); }
.btn--pink:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--pink-deep); }
.btn--ghost { padding: 0 24px; background: transparent; color: var(--text); border: 3px solid var(--text); }
.btn--ghost:hover { background: var(--text); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--text); box-shadow: 0 6px 0 var(--pink-deep); min-height: 60px; padding: 0 32px; font-size: 24px; border-radius: 16px; }
.btn--ink:hover { color: var(--text); transform: translateY(-1px); }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 17px; border-radius: 12px; box-shadow: 0 4px 0 var(--pink-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header { background: var(--ink); border-bottom: 2px solid #2b2935; }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); text-decoration: none; font-family: var(--f-display); font-size: 23px; line-height: 1; letter-spacing: 0.01em; }
.brand:hover { color: var(--text); }
.brand em { font-style: normal; color: var(--pink); }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.nav-links a:not(.btn) { padding: 12px 8px; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:not(.btn):hover { color: var(--pink); }
.nav-links a[aria-current="page"]:not(.btn) { color: var(--pink); font-weight: 600; }

/* ---------- Hero ---------- */
.hero { overflow: hidden; }
.hero .wrap { padding-block: 48px 72px; display: flex; flex-direction: column; gap: 32px; }
.stamp { align-self: flex-start; margin: 0; padding: 8px 12px; border-radius: 6px; background: var(--mid); color: var(--ink); font: 600 13px/1.3 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; transform: rotate(-2deg); }
.wordmark { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 10.6vw, 152px); line-height: 0.88; letter-spacing: 0.01em; text-transform: uppercase; }
.wordmark span { display: block; }
.hero-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 56px; }
.hero-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.tagline { margin: 0; font-family: var(--f-display); font-size: clamp(26px, 3vw, 40px); line-height: 1.05; color: var(--mid); }
.fine { margin: 0; font: 13px/1.5 var(--f-mono); letter-spacing: 0.06em; color: var(--dim); }

/* Lineup illustration: three pegs drawn at the real class proportions */
.lineup { flex: 1 1 420px; min-width: 0; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.stage { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1 / 0.84; padding: 0 2% 8%; display: flex; align-items: flex-end; justify-content: center; gap: 3%; }
.hardpoint { position: absolute; left: 3%; right: 3%; bottom: 1.5%; height: 17%; border-radius: 50%; border: 3px dashed var(--pink); background: rgba(255, 95, 174, 0.12); }
.sticker { position: absolute; z-index: 3; padding: 0.2em 0.45em; border: 3px solid var(--black); border-radius: 10px; box-shadow: 4px 4px 0 var(--black); color: var(--ink); font-family: var(--f-display); line-height: 1; }
.sticker--a { top: 3%; left: 0; font-size: clamp(16px, 2vw, 30px); background: var(--mid); transform: rotate(-12deg); }
.sticker--b { top: 12%; right: 0; font-size: clamp(14px, 1.7vw, 25px); background: var(--pink); transform: rotate(9deg); }
.crosshair { position: absolute; z-index: 3; top: 30%; right: 13%; width: 13%; height: auto; }
.figcap { font: 12px/1.4 var(--f-mono); letter-spacing: 0.08em; color: var(--dim); }

.peg { --c: var(--skinny); position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.peg--skinny { width: 21%; --c: var(--skinny); }
.peg--mid { width: 27%; --c: var(--mid); }
.peg--thicc { width: 36%; --c: var(--thicc); }
.peg__hp { margin-bottom: 10px; padding: 2px 8px; border: 2px solid var(--c); border-radius: 99px; background: var(--ink); color: var(--c); font: 600 clamp(10px, 0.9vw, 13px)/1.4 var(--f-mono); white-space: nowrap; }
.peg__head { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 16%; aspect-ratio: 1; border-radius: 50%; background: var(--c); border: 4px solid var(--black); }
.peg__head::before, .peg__head::after { content: ""; display: block; width: 12%; aspect-ratio: 1; border-radius: 50%; background: var(--black); }
.peg--skinny .peg__head { width: 76%; margin-bottom: -9%; }
.peg--mid .peg__head { width: 59%; margin-bottom: -7%; gap: 14%; }
.peg--thicc .peg__head { width: 45%; margin-bottom: -6%; gap: 12%; }
.peg__body { display: flex; justify-content: center; width: 100%; background: var(--c); border: 4px solid var(--black); }
.peg--skinny .peg__body { aspect-ratio: 0.48; padding-top: 34%; border-radius: 46% 46% 16% 16% / 26% 26% 8% 8%; }
.peg--mid .peg__body { aspect-ratio: 0.7; padding-top: 26%; border-radius: 44% 44% 16% 16% / 30% 30% 10% 10%; }
.peg--thicc .peg__body { aspect-ratio: 1.02; padding-top: 20%; border-radius: 40% 40% 18% 18% / 34% 34% 12% 12%; }
.nametag { align-self: flex-start; overflow: hidden; text-align: center; background: var(--text); border: 3px solid var(--black); border-radius: 8px; }
.nametag b { display: block; background: var(--pink); color: var(--ink); font: 600 clamp(6px, 0.62vw, 9px)/1.7 var(--f-mono); letter-spacing: 0.14em; }
.nametag span { display: block; color: var(--ink); font-family: var(--f-display); font-size: clamp(10px, 1.2vw, 18px); line-height: 1.5; }
.peg--skinny .nametag { width: 84%; transform: rotate(-5deg); }
.peg--mid .nametag { width: 72%; transform: rotate(3deg); }
.peg--thicc .nametag { width: 54%; transform: rotate(-3deg); }

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; padding-block: 22px; }
.ticker__band { width: 104%; margin-left: -2%; transform: rotate(-1.5deg); background: var(--pink); color: var(--ink); border-block: 4px solid var(--black); }
.ticker__band p { margin: 0; padding-block: 12px; display: flex; gap: 26px; white-space: nowrap; font-family: var(--f-display); font-size: 28px; line-height: 1.1; text-transform: uppercase; }

/* ---------- Mode ---------- */
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 56px; }
.split > * { flex: 1 1 440px; min-width: 0; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stat { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; background: var(--panel); border: 2px solid var(--line); border-radius: 18px; }
.stat b { font-family: var(--f-display); font-weight: 400; font-size: clamp(44px, 5vw, 64px); line-height: 1; }
.stat span { font: 13px/1.4 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.stat:nth-child(1) b { color: var(--skinny); }
.stat:nth-child(2) b { color: var(--mid); }
.stat:nth-child(3) b { color: var(--thicc); }
.stat:nth-child(4) b { color: var(--pink); }
.callout { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 36px; padding: 28px 32px; border-radius: 22px; background: var(--mid); color: var(--ink); border: 3px solid var(--black); box-shadow: 8px 8px 0 var(--pink); }
.callout h3 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 3.4vw, 46px); line-height: 0.92; text-transform: uppercase; }
.callout h3 span { display: block; }
.callout p { margin: 0; flex: 1 1 320px; font-size: 19px; font-weight: 500; line-height: 1.5; text-wrap: pretty; }

/* ---------- Class cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)); gap: 24px; }
.ccard { --c: var(--skinny); display: flex; flex-direction: column; overflow: hidden; background: var(--panel); border: 3px solid var(--c); border-radius: 22px; }
.ccard--mid { --c: var(--mid); }
.ccard--thicc { --c: var(--thicc); }
.ccard__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 22px 24px; background: var(--c); color: var(--ink); }
.ccard__top > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ccard__kicker { font: 600 12px/1.4 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; }
.ccard h3 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 56px; line-height: 0.95; text-transform: uppercase; }
.ccard__line { margin: 0; font-size: 17px; font-weight: 500; }
.ccard__body { flex: 1; display: flex; flex-direction: column; gap: 22px; padding: 24px; }
.ccard h4 { margin: 0 0 6px; font: 600 12px/1.4 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.ccard__body p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--text-2); }
.mini { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; }
.mini i { display: block; background: var(--ink); }
.mini i:first-child { aspect-ratio: 1; border-radius: 50%; margin-bottom: -3px; }
.mini--skinny { width: 34px; }
.mini--skinny i:first-child { width: 74%; }
.mini--skinny i:last-child { width: 100%; aspect-ratio: 0.48; border-radius: 46% 46% 16% 16% / 26% 26% 8% 8%; }
.mini--mid { width: 46px; }
.mini--mid i:first-child { width: 58%; }
.mini--mid i:last-child { width: 100%; aspect-ratio: 0.7; border-radius: 44% 44% 16% 16% / 30% 30% 10% 10%; }
.mini--thicc { width: 62px; }
.mini--thicc i:first-child { width: 44%; }
.mini--thicc i:last-child { width: 100%; aspect-ratio: 1.02; border-radius: 40% 40% 18% 18% / 34% 34% 12% 12%; }
.meters { display: grid; gap: 10px; margin: 0; }
.meter { display: grid; grid-template-columns: 64px minmax(0, 1fr) 52px; align-items: center; gap: 12px; }
.meter dt { font: 12px/1.4 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.meter dd { margin: 0; text-align: right; font: 600 14px/1.4 var(--f-mono); }
.bar { display: block; height: 10px; border-radius: 99px; background: #34313f; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: var(--c); }
.w43 { width: 43%; } .w71 { width: 71%; } .w75 { width: 75%; } .w87 { width: 87%; } .w100 { width: 100%; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 12px; border-radius: 10px; background: var(--panel-2); border: 2px solid var(--line-2); font: 600 14px/1.3 var(--f-mono); }

/* ---------- Maps ---------- */
.maps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)); gap: 24px; }
.map { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.map__art { --c: var(--skinny); position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 18px; border: 3px solid var(--c); background-color: var(--panel); background-image: radial-gradient(color-mix(in srgb, var(--c) 35%, transparent) 1.5px, transparent 1.8px); background-size: 16px 16px; display: flex; align-items: flex-end; padding: 18px 20px; }
.map__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map__art span { position: relative; font-family: var(--f-display); font-size: clamp(64px, 8vw, 104px); line-height: 0.8; color: var(--c); }
.map--mall .map__art { --c: var(--mid); }
.map--slum .map__art { --c: var(--thicc); }
.map figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.map figcaption b { font-family: var(--f-display); font-weight: 400; font-size: 30px; text-transform: uppercase; }
.map figcaption span { font: 12px/1.4 var(--f-mono); color: var(--dim); }

/* ---------- Roadmap ---------- */
.road { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.road li { display: flex; flex-direction: column; gap: 10px; padding: 22px; background: var(--panel); border: 2px solid var(--line); border-radius: 18px; }
.road li.is-now { padding: 21px; border: 3px solid var(--pink); }
.road h3 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 30px; line-height: 1; text-transform: uppercase; }
.road .when { margin: 0; font: 13px/1.4 var(--f-mono); color: var(--dim); }
.road p:last-child { margin: 0; font-size: 16px; line-height: 1.5; color: var(--text-2); }
.pill { align-self: flex-start; padding: 4px 10px; border-radius: 99px; font: 600 12px/1.4 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; }
.pill--pink { background: var(--pink); color: var(--ink); }
.pill--blue { background: var(--skinny); color: var(--ink); }
.pill--gold { background: var(--mid); color: var(--ink); }
.pill--line { padding: 2px 8px; border: 2px solid var(--line-3); color: var(--text); }

/* ---------- Join band ---------- */
.join { background-color: var(--pink); background-image: radial-gradient(rgba(23, 22, 28, 0.14) 1.5px, transparent 1.8px); background-size: 18px 18px; color: var(--ink); }
.join .wrap { padding-block: 88px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 48px; }
.join .wrap > div { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.join h2 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(56px, 7.4vw, 104px); line-height: 0.88; text-transform: uppercase; }
.join p { margin: 0; max-width: 30em; font-size: 20px; font-weight: 500; line-height: 1.5; text-wrap: pretty; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: var(--muted); }
.site-footer .wrap { padding-block: 56px 40px; display: flex; flex-direction: column; gap: 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; max-width: 360px; }
.footer-brand .brand { font-size: 22px; min-height: 0; }
.footer-brand p { margin: 0; font-size: 15px; line-height: 1.5; }
.footer-brand a:not(.brand) { color: var(--text); }
.footer-cols { display: flex; flex-wrap: wrap; gap: 24px 64px; }
.footer-cols h2 { margin: 0 0 6px; font: 600 12px/1.4 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dimmer); }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.footer-cols a { display: inline-block; padding: 9px 0; color: var(--text); text-decoration: none; font-size: 15px; }
.footer-cols a:hover { color: var(--pink); }
.footer-legal { padding-top: 24px; border-top: 1px solid #2b2935; }
.footer-legal p { margin: 0; max-width: 60em; font-size: 13px; line-height: 1.6; color: var(--dimmer); }

/* ---------- Playtest page ---------- */
.needs { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 18px; padding: 28px 28px 30px; background: var(--text); color: var(--ink); border: 3px solid var(--black); border-radius: 22px; box-shadow: 10px 10px 0 var(--pink); transform: rotate(1.5deg); }
.needs h2 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 34px; line-height: 1; text-transform: uppercase; }
.needs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 17px; line-height: 1.4; }
.needs li { display: flex; gap: 12px; align-items: flex-start; }
.needs li svg { margin-top: 1px; }
.needs p { margin: 0; padding-top: 14px; border-top: 2px dashed #c9c5d3; font: 13px/1.5 var(--f-mono); color: #4a4656; }
.center-x { display: flex; justify-content: center; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.steps li { display: flex; flex-direction: column; gap: 12px; padding: 26px; background: var(--panel); border: 2px solid var(--line); border-radius: 20px; }
.steps .num { font-family: var(--f-display); font-size: 72px; line-height: 0.9; }
.steps li:nth-child(1) .num { color: var(--skinny); }
.steps li:nth-child(2) .num { color: var(--mid); }
.steps li:nth-child(3) .num { color: var(--thicc); }
.steps p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--text-2); }

.apply { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 64px; }
.apply__intro { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.apply__intro .small { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.apply__form { flex: 1 1 560px; min-width: 0; }
.form { display: flex; flex-direction: column; gap: 24px; padding: clamp(20px, 3vw, 32px); background: var(--panel); border: 2px solid var(--line); border-radius: 24px; }
.row { display: flex; flex-wrap: wrap; gap: 20px; }
.field { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.field label, .form legend { font-size: 15px; font-weight: 600; }
.form .hint { font-weight: 400; color: var(--dim); }
.input { width: 100%; height: 52px; padding: 0 14px; border-radius: 12px; border: 2px solid var(--line-2); background: var(--ink); color: var(--text); font: 400 17px var(--f-body); }
.input:focus-visible { border-color: var(--pink); outline-offset: 1px; }
.input::placeholder { color: #8a859c; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.form legend { padding: 0; margin-bottom: 10px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { --c: var(--line-2); display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 2px solid var(--c); border-radius: 999px; font-size: 16px; font-weight: 500; cursor: pointer; }
.choice--box { border-radius: 12px; font-weight: 400; }
.choice--skinny { --c: var(--skinny); } .choice--mid { --c: var(--mid); } .choice--thicc { --c: var(--thicc); } .choice--unsure { --c: var(--line-3); }
.choice input, .agree input { width: 18px; height: 18px; margin: 0; accent-color: var(--pink); }
.choice:has(input:checked) { background: color-mix(in srgb, var(--c) 18%, transparent); }
.agree-group { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 2px dashed var(--line-2); }
.agree { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.45; cursor: pointer; }
.agree input { width: 20px; height: 20px; margin-top: 1px; flex: 0 0 auto; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { align-self: flex-start; }
.form-error { margin: 0; padding: 14px 16px; border-radius: 12px; background: #3a1d27; border: 2px solid var(--thicc); color: var(--text); font-size: 15px; }
.done { display: flex; flex-direction: column; gap: 16px; padding: 36px; background: var(--mid); color: var(--ink); border: 3px solid var(--black); border-radius: 24px; box-shadow: 10px 10px 0 var(--pink); }
.done h3 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 52px; line-height: 0.92; text-transform: uppercase; }
.done p { margin: 0; font-size: 19px; font-weight: 500; line-height: 1.5; }
.done .btn--ink { min-height: 52px; font-size: 20px; padding: 0 24px; box-shadow: none; }
[hidden] { display: none !important; }

.rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 20px; }
.rules li { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 4px solid var(--skinny); }
.rules li:nth-child(2) { border-color: var(--mid); } .rules li:nth-child(3) { border-color: var(--thicc); } .rules li:nth-child(4) { border-color: var(--pink); }
.rules h3 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 26px; line-height: 1.05; text-transform: uppercase; }
.rules p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text-2); }

.faq { max-width: 860px; display: flex; flex-direction: column; gap: 24px; }
.faq__list { border-top: 2px solid var(--line); }
.faq details { padding: 4px 0; border-bottom: 2px solid var(--line); }
.faq summary { padding: 16px 0; font-size: 19px; font-weight: 600; cursor: pointer; }
.faq details p { margin: 0 0 18px; font-size: 17px; line-height: 1.6; color: var(--text-2); }

/* ---------- Legal pages ---------- */
.legal .wrap { padding-block: 56px 96px; display: flex; flex-direction: column; gap: 40px; }
.doc-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.doc-tabs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--line-2); color: var(--text); text-decoration: none; font-size: 15px; font-weight: 600; }
.doc-tabs a:hover { border-color: var(--text); color: var(--text); }
.doc-tabs a[aria-current="page"] { background: var(--text); border-color: var(--text); color: var(--ink); }
.doc-meta { margin: 0; display: flex; flex-wrap: wrap; gap: 8px 32px; font: 13px/1.5 var(--f-mono); }
.doc-meta div { display: flex; gap: 8px; }
.doc-meta dt { color: var(--dim); }
.doc-meta dd { margin: 0; }
.doc-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px 64px; }
.toc { flex: 1 1 240px; max-width: 300px; min-width: 0; padding: 20px 22px; background: var(--panel); border: 2px solid var(--line); border-radius: 18px; }
.toc h2 { margin: 0 0 8px; font: 600 12px/1.4 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.toc ol { margin: 0; padding: 0 0 0 22px; display: flex; flex-direction: column; font-size: 15px; line-height: 1.3; color: var(--dim); }
.toc a { display: inline-block; padding: 6px 0; color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--pink); }
.prose { flex: 999 1 560px; min-width: 0; max-width: 740px; display: flex; flex-direction: column; gap: 36px; font-size: 18px; line-height: 1.65; color: var(--text-2); }
.prose section { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 24px; }
.prose h2 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 30px; line-height: 1.1; color: var(--text); }
.prose h2 .n { color: var(--pink); }
.prose p, .prose ul { margin: 0; }
.prose ul { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.notice { padding: 20px 22px; border-radius: 16px; background: var(--mid); color: var(--ink); font-weight: 500; }
.signoff { font-family: var(--f-display); font-size: 28px; line-height: 1.15; color: var(--mid); }
.table-box { overflow-x: auto; border: 2px solid var(--line); border-radius: 16px; }
.table-box table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.table-box th, .table-box td { padding: 12px 16px; text-align: left; vertical-align: top; }
.table-box thead th { background: var(--panel); font: 600 12px/1.4 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.table-box tbody tr { border-top: 2px solid var(--line); }
.table-box tbody th { color: var(--text); font-weight: 600; }

/* ---------- 404 ---------- */
.lost { min-height: calc(100vh - 72px); display: flex; align-items: center; }
.lost .wrap { max-width: 1000px; padding-block: 72px 96px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px 64px; }
.lost__art { flex: 0 1 340px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lost__stage { position: relative; width: 100%; max-width: 320px; aspect-ratio: 16 / 9; display: flex; align-items: flex-end; justify-content: center; }
.lost__stage .hardpoint { left: 4%; right: 4%; bottom: 0; height: 26%; }
.downed { position: relative; z-index: 1; display: flex; align-items: center; margin-bottom: 7%; transform: rotate(-3deg); }
.downed i { display: block; width: 150px; height: 72px; border-radius: 22px 40px 40px 22px / 30px 36px 36px 30px; background: var(--skinny); border: 4px solid var(--black); }
.downed b { display: flex; align-items: center; justify-content: center; gap: 10px; width: 62px; height: 62px; margin-left: -12px; border-radius: 50%; background: var(--skinny); border: 4px solid var(--black); }
.lost__copy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.big404 { margin: 0; font-family: var(--f-display); font-size: clamp(88px, 13vw, 168px); line-height: 0.8; color: var(--pink); }

/* ---------- Small screens ---------- */
@media (max-width: 560px) {
  .brand { font-size: 20px; }
  .section { padding-block: 64px 72px; }
  .callout { padding: 24px; }
  .ccard h3 { font-size: 48px; }
  .done { padding: 26px; }
  .done h3 { font-size: 40px; }
}
