/* Gamer Papi web: mission control in deep space. Palette matches the app's Theme. */
:root {
  --void: #07040f;
  --ink: #120a24;
  --panel: rgba(22, 14, 44, 0.62);
  --panel-hi: rgba(36, 22, 70, 0.72);
  --line: rgba(190, 170, 255, 0.14);
  --text: #f0ecff;
  --dim: #a59cc4;
  --faint: #6c6489;
  --violet: #8a66ff;
  --plasma: #bd9eff;
  --emerald: #29e09e;
  --gold: #ffc757;
  --alert: #ff5c6c;
  --galaxy: linear-gradient(90deg, var(--violet), var(--emerald), var(--gold));
  --display: "Chakra Petch", system-ui, sans-serif;
  --mono: "Share Tech Mono", ui-monospace, monospace;
  --nav-h: 64px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--void); }
body {
  margin: 0; min-height: 100vh; color: var(--text); background: var(--void);
  font-family: var(--display); font-size: 16px; line-height: 1.5; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }

#stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; }
.scan {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse at 15% -10%, rgba(138, 102, 255, 0.30), transparent 55%),
    radial-gradient(ellipse at 100% 110%, rgba(41, 224, 158, 0.14), transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 100% 56px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 56px 100%;
}

.grad { background: var(--galaxy); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.32em; color: var(--emerald); margin: 0 0 10px; text-transform: uppercase; }
.sub { color: var(--dim); font-size: 17px; max-width: 560px; }
.hint { color: var(--faint); font-size: 12.5px; }
.dim { color: var(--faint); }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: 0.02em; }
h2 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.05; }
h3 { font-size: 19px; letter-spacing: 0.04em; }

.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 8px var(--emerald); vertical-align: middle; }
.dot.live { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; transform: scale(0.8); } }

/* Wordmark: GAMER [PAPI], like the app. */
.wordmark { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 600; letter-spacing: 0.08em; }
.tag {
  position: relative; padding: 0.06em 0.32em; border-radius: 0.18em; background: #140c29;
  box-shadow: 0 0 18px rgba(138, 102, 255, 0.5);
}
.tag::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: var(--galaxy);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.tag { color: transparent; background-image: var(--galaxy); -webkit-background-clip: text; background-clip: text; background-color: #140c29; }
.tag.big { font-size: clamp(30px, 5vw, 50px); }

/* Nav + telemetry */
.nav {
  position: sticky; top: 0; z-index: 20; height: var(--nav-h); display: flex; align-items: center; gap: 24px;
  padding: 0 clamp(16px, 4vw, 40px); background: rgba(7, 4, 15, 0.72); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.mark-sm { width: 36px; height: 36px; display: inline-block; }
.links { display: flex; gap: 22px; margin-left: auto; font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; }
.links a { color: var(--dim); padding: 6px 0; border-bottom: 1px solid transparent; transition: color 0.2s, border-color 0.2s; }
.links a:hover, .links a.on { color: var(--text); border-color: var(--emerald); }
.who { display: flex; gap: 10px; }
body:not(.signed-in) .only-in, body.signed-in .only-out { display: none !important; }

.telemetry {
  display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; padding: 8px 16px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.18em; color: var(--faint);
  border-bottom: 1px solid var(--line); background: rgba(7, 4, 15, 0.4);
}
.telemetry b { color: var(--text); font-weight: 400; margin-left: 6px; }
.telemetry .dot { width: 6px; height: 6px; margin-right: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px;
  border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
  font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; transition: transform 0.15s, box-shadow 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-1px); border-color: rgba(190, 170, 255, 0.4); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn.primary { border: none; color: #fff; background: linear-gradient(110deg, var(--violet), #5b8fdb, var(--emerald)); background-size: 200% 100%; box-shadow: 0 8px 30px rgba(138, 102, 255, 0.35); animation: sheen 6s ease-in-out infinite; }
.btn.primary:hover { box-shadow: 0 10px 40px rgba(41, 224, 158, 0.4); }
@keyframes sheen { 50% { background-position: 100% 0; } }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 20px; border: 1px solid var(--line); background: var(--panel); letter-spacing: 0.1em; }

/* Layout */
main { min-height: 70vh; }
.section { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 90px 0; }
.page { padding-top: 50px; }
.split-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 22px;
  backdrop-filter: blur(10px); position: relative; overflow: hidden;
}

/* Hero */
.hero { min-height: calc(100vh - var(--nav-h) - 36px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 16px 80px; position: relative; }
.hero h1 { font-size: clamp(44px, 9vw, 112px); line-height: 0.98; letter-spacing: 0.01em; margin: 6px 0 18px; }
.hero .sub { margin: 0 auto 30px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.orbit { position: relative; width: min(320px, 70vw); aspect-ratio: 1; margin-bottom: 18px; }
.mark-xl { position: absolute; inset: 18%; filter: drop-shadow(0 0 30px rgba(138, 102, 255, 0.45)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(190, 170, 255, 0.22); animation: spin linear infinite; }
.r1 { inset: 4%; animation-duration: 26s; }
.r2 { inset: -10%; animation-duration: 40s; animation-direction: reverse; border-color: rgba(41, 224, 158, 0.18); }
.r3 { inset: -24%; animation-duration: 60s; border-style: dotted; border-color: rgba(255, 199, 87, 0.16); }
.sat { position: absolute; top: -14px; left: calc(50% - 14px); width: 28px; height: 28px; line-height: 28px; font-size: 20px; color: var(--plasma); text-shadow: 0 0 12px var(--violet); animation: spin linear infinite reverse; animation-duration: inherit; }
.r2 .sat { color: var(--emerald); text-shadow: 0 0 12px var(--emerald); }
.r3 .sat { color: var(--gold); text-shadow: 0 0 12px var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }
.scroll-hint { position: absolute; bottom: 24px; width: 22px; height: 36px; border: 1px solid var(--line); border-radius: 12px; }
.scroll-hint span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--emerald); animation: drop 1.8s ease-in-out infinite; }
@keyframes drop { 70% { transform: translateY(12px); opacity: 0; } }

/* Feature cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 30px; }
.cards .card { transition: transform 0.2s ease-out, border-color 0.3s; transform-style: preserve-3d; }
.cards .card:hover { border-color: rgba(41, 224, 158, 0.35); }
.cards .card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(138, 102, 255, 0.18), transparent 40%); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.cards .card:hover::after { opacity: 1; }
.ico { font-size: 28px; margin-bottom: 14px; filter: drop-shadow(0 0 10px rgba(138, 102, 255, 0.6)); }
.card p { color: var(--dim); margin: 8px 0 0; font-size: 15px; }

/* Trailer */
.trailer { display: grid; grid-template-columns: minmax(240px, 340px) 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.phone { position: relative; border-radius: 42px; padding: 10px; background: linear-gradient(160deg, #2a1d4d, #0d0819); box-shadow: 0 30px 90px rgba(138, 102, 255, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.phone video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 33px; background: #000; }
.unmute { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); padding: 8px 14px; border-radius: 20px; border: 1px solid var(--line); background: rgba(7, 4, 15, 0.7); font-size: 12px; letter-spacing: 0.1em; backdrop-filter: blur(8px); }
.stats-row { display: flex; gap: 32px; margin-top: 30px; flex-wrap: wrap; }
.stats-row b { display: block; font-size: 38px; line-height: 1; background: var(--galaxy); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats-row span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--faint); text-transform: uppercase; }
.cta-band { text-align: center; }
.cta-band .sub { margin: 14px auto 0; }

/* Leaderboard */
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 14px; align-items: end; margin-bottom: 18px; }
.pod { text-align: center; padding: 18px 12px; border-radius: 18px 18px 6px 6px; border: 1px solid var(--line); background: var(--panel); transform-origin: bottom; animation: rise 0.9s cubic-bezier(.2, .9, .3, 1.2) both; cursor: pointer; }
.pod .medal { font-size: 30px; }
.pod .t { font-size: 18px; font-weight: 600; margin: 6px 0 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod .r { font-family: var(--mono); color: var(--dim); }
.pod.p1 { min-height: 200px; border-color: rgba(255, 199, 87, 0.45); box-shadow: 0 0 40px rgba(255, 199, 87, 0.18); animation-delay: 0.25s; }
.pod.p2 { min-height: 160px; animation-delay: 0.1s; }
.pod.p3 { min-height: 130px; animation-delay: 0.4s; }
@keyframes rise { from { transform: scaleY(0.2); opacity: 0; } }
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rows li { display: grid; grid-template-columns: 54px 1fr auto auto; gap: 16px; align-items: center; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; opacity: 0; transform: translateX(-16px); animation: slide 0.5s ease-out forwards; transition: border-color 0.2s, background 0.2s; }
.rows li:hover { border-color: rgba(41, 224, 158, 0.4); background: var(--panel-hi); }
.rows .n { font-family: var(--mono); color: var(--plasma); font-size: 15px; }
.rows .t { font-weight: 600; letter-spacing: 0.04em; }
.rows .g { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.rows .r { font-family: var(--mono); font-size: 18px; }
@keyframes slide { to { opacity: 1; transform: none; } }
.empty { padding: 40px; text-align: center; color: var(--faint); border: 1px dashed var(--line); border-radius: 16px; }
.search { display: flex; gap: 8px; }
.search input { height: 46px; width: min(260px, 60vw); padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); color: var(--text); font: inherit; letter-spacing: 0.06em; }
.search input:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(41, 224, 158, 0.15); }
.games-tabs { display: flex; gap: 10px; margin-bottom: 22px; font-size: 13px; letter-spacing: 0.12em; }
.games-tabs span { padding: 7px 14px; border-radius: 20px; border: 1px solid var(--line); color: var(--faint); }
.games-tabs .on { color: var(--text); border-color: rgba(41, 224, 158, 0.5); background: rgba(41, 224, 158, 0.08); }

/* Profile */
.pilot { display: grid; grid-template-columns: 120px 1fr auto; gap: 26px; align-items: center; margin-bottom: 16px; background: linear-gradient(120deg, rgba(138, 102, 255, 0.18), rgba(22, 14, 44, 0.7) 50%, rgba(41, 224, 158, 0.1)); }
.pilot-mark { width: 120px; height: 120px; }
.pilot .sub { margin: 8px 0 0; font-size: 14px; }
.badges { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.badge { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; padding: 4px 10px; border-radius: 6px; border: 1px solid var(--line); color: var(--plasma); }
.badge.gold { color: var(--gold); border-color: rgba(255, 199, 87, 0.4); }
.rating { text-align: right; }
.rating .label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em; color: var(--faint); }
.rating b { display: block; font-family: var(--mono); font-weight: 400; font-size: clamp(48px, 7vw, 76px); line-height: 1; background: var(--galaxy); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rating .rank { color: var(--gold); font-size: 13px; letter-spacing: 0.2em; }
.grid3 { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.spark { width: 100%; height: 130px; overflow: visible; }
.spark .line { fill: none; stroke: url(#sg); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(138, 102, 255, 0.7)); }
.spark .area { fill: url(#sa); opacity: 0; animation: fadein 1s 0.9s forwards; }
.spark .pt { fill: var(--emerald); filter: drop-shadow(0 0 6px var(--emerald)); }
@keyframes fadein { to { opacity: 1; } }
.ring-wrap { position: relative; width: 140px; margin: 6px auto 14px; }
.donut { width: 100%; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 12; transition: stroke-dasharray 1.2s cubic-bezier(.2, .8, .2, 1); }
.ring-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-num b { font-family: var(--mono); font-weight: 400; font-size: 30px; line-height: 1; }
.ring-num span { font-size: 11px; letter-spacing: 0.2em; color: var(--faint); text-transform: uppercase; }
.wld { display: flex; justify-content: space-around; text-align: center; }
.wld b { display: block; font-family: var(--mono); font-weight: 400; font-size: 24px; }
.wld span { font-size: 11px; letter-spacing: 0.2em; color: var(--faint); }
.wld .w b { color: var(--emerald); } .wld .l b { color: var(--alert); } .wld .d b { color: var(--plasma); }
.gc-name { font-size: 22px; font-weight: 600; margin: 8px 0 16px; }
.log { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-height: 470px; overflow: auto; }
.log li { display: grid; grid-template-columns: 8px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1px solid transparent; background: rgba(255, 255, 255, 0.025); cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.log li:hover, .log li.on { border-color: rgba(41, 224, 158, 0.35); background: rgba(41, 224, 158, 0.05); }
.log .bar { width: 4px; height: 34px; border-radius: 2px; }
.log .win .bar { background: var(--emerald); box-shadow: 0 0 8px var(--emerald); }
.log .loss .bar { background: var(--alert); }
.log .draw .bar { background: var(--plasma); }
.log .o { font-weight: 600; }
.log .m { font-family: var(--mono); font-size: 11.5px; color: var(--faint); letter-spacing: 0.06em; }
.log .res { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-align: right; }
.log .win .res { color: var(--emerald); } .log .loss .res { color: var(--alert); } .log .draw .res { color: var(--plasma); }

/* Replay board */
.board { position: relative; width: 100%; aspect-ratio: 1; border-radius: 10px; overflow: hidden; box-shadow: 0 0 40px rgba(138, 102, 255, 0.25); }
.board .sq { position: absolute; width: 12.5%; height: 12.5%; }
.board .lt { background: #4c3f78; } .board .dk { background: #1f1638; }
.board .hl { box-shadow: inset 0 0 0 100px rgba(255, 199, 87, 0.28); }
.board .pc { position: absolute; width: 12.5%; height: 12.5%; display: flex; align-items: center; justify-content: center; font-size: min(5.6vw, 44px); line-height: 1; transition: transform 0.38s cubic-bezier(.4, 0, .2, 1), opacity 0.3s; will-change: transform; pointer-events: none; }
.board .pc.w { color: #f2efff; text-shadow: 0 0 1px #2a1f4a, 0 2px 4px rgba(0, 0, 0, 0.6), 0 0 10px rgba(189, 158, 255, 0.35); }
.board .pc.b { color: #160e2c; text-shadow: 0 0 2px var(--plasma), 0 0 8px rgba(138, 102, 255, 0.6); }
.board .pc.gone { opacity: 0; transform-origin: center; }
.board .idle { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--faint); font-size: 13px; letter-spacing: 0.2em; background: rgba(7, 4, 15, 0.55); }
.replay-bar { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.icon { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); font-size: 16px; }
.icon.play { background: linear-gradient(110deg, var(--violet), var(--emerald)); border: none; color: #fff; }
.mv { margin-left: auto; font-family: var(--mono); font-size: 13px; color: var(--dim); }

/* Sign in modal */
.modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(4, 2, 10, 0.72); backdrop-filter: blur(8px); animation: fadein 0.25s forwards; opacity: 0; }
.modal-card { position: relative; width: min(560px, 100%); padding: 30px; border-radius: 22px; border: 1px solid rgba(190, 170, 255, 0.25); background: linear-gradient(160deg, #1a1033, #0b0716); box-shadow: 0 40px 120px rgba(138, 102, 255, 0.35); animation: pop 0.35s cubic-bezier(.2, .9, .3, 1.3); }
@keyframes pop { from { transform: scale(0.92) translateY(10px); opacity: 0; } }
.modal h2 { font-size: 30px; margin-bottom: 8px; }
.close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: transparent; }
.link-row { display: grid; grid-template-columns: 170px 1fr; gap: 24px; align-items: center; margin: 22px 0 14px; }
.qr { width: 170px; height: 170px; padding: 10px; border-radius: 14px; background: #fff; display: flex; align-items: center; justify-content: center; }
.qr svg { width: 100%; height: 100%; }
.code { font-family: var(--mono); font-size: clamp(30px, 6vw, 40px); letter-spacing: 0.18em; background: var(--galaxy); -webkit-background-clip: text; background-clip: text; color: transparent; }
.timer { display: flex; align-items: center; gap: 10px; margin-top: 12px; color: var(--dim); font-size: 13px; }
.timer svg { width: 26px; height: 26px; transform: rotate(-90deg); }
.timer circle { fill: none; stroke-width: 3; }
.timer .track { stroke: var(--line); }
.timer .bar { stroke: var(--emerald); stroke-dasharray: 97.4; stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.ellipsis::after { content: ""; animation: dots 1.4s steps(4) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
.granted { text-align: center; padding: 20px 0; }
.mark-md { width: 130px; height: 130px; margin: 0 auto 18px; animation: pop 0.6s cubic-bezier(.2, .9, .3, 1.6); }
.granted h2 { letter-spacing: 0.2em; }

.menu { position: fixed; top: calc(var(--nav-h) - 4px); right: 20px; z-index: 30; display: grid; min-width: 180px; padding: 8px; border-radius: 14px; border: 1px solid var(--line); background: #120a24; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
.menu a, .menu button { text-align: left; padding: 10px 12px; border-radius: 8px; border: none; background: none; letter-spacing: 0.08em; }
.menu a:hover, .menu button:hover { background: rgba(255, 255, 255, 0.05); }
.toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 60; padding: 12px 20px; border-radius: 14px; border: 1px solid rgba(41, 224, 158, 0.4); background: #120a24; box-shadow: 0 10px 50px rgba(41, 224, 158, 0.25); font-size: 14px; letter-spacing: 0.06em; animation: pop 0.3s; }

.foot { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; padding: 30px clamp(16px, 4vw, 40px); border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }
.foot .dim { font-family: var(--mono); letter-spacing: 0.2em; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.reveal.in { opacity: 1; transform: none; }

.confetti { position: fixed; top: -20px; z-index: 70; width: 9px; height: 14px; border-radius: 2px; pointer-events: none; animation: fall linear forwards; }
@keyframes fall { to { transform: translate3d(var(--dx), 110vh, 0) rotate(var(--rot)); } }

@media (max-width: 860px) {
  .links { display: none; }
  .who { margin-left: auto; }
  .telemetry { gap: 14px; font-size: 10px; letter-spacing: 0.12em; }
  .telemetry span:nth-child(5), .telemetry .clock { display: none; }
  .trailer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .trailer .sub { margin: 0 auto; }
  .stats-row { justify-content: center; }
  .grid3, .grid2 { grid-template-columns: 1fr; }
  .pilot { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .rating { text-align: center; }
  .badges { justify-content: center; }
  .link-row { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .timer { justify-content: center; }
  .rows li { grid-template-columns: 40px 1fr auto; }
  .rows .g { display: none; }
  .brand .wordmark { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Legal and support pages */
.doc { width: min(760px, calc(100% - 32px)); margin: 0 auto; padding: 60px 0 80px; }
.doc h1 { font-size: clamp(36px, 6vw, 56px); margin: 6px 0 6px; }
.doc .updated { color: var(--faint); font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; margin-bottom: 30px; }
.doc h2 { font-size: 22px; margin: 34px 0 10px; letter-spacing: 0.04em; }
.doc p, .doc li { color: var(--dim); font-size: 16.5px; }
.doc a { color: var(--emerald); }
.doc ul { padding-left: 20px; }
.doc .card { margin: 14px 0; }
.foot a { color: var(--dim); }
.foot a:hover { color: var(--text); }
