@font-face { font-family: Barlow; font-weight: 500; font-display: swap; src: url(/fonts/Barlow_500Medium.ttf) format('truetype'); }
@font-face { font-family: Barlow; font-weight: 600; font-display: swap; src: url(/fonts/Barlow_600SemiBold.ttf) format('truetype'); }
@font-face { font-family: Barlow; font-weight: 700; font-display: swap; src: url(/fonts/Barlow_700Bold.ttf) format('truetype'); }
@font-face { font-family: Barlow; font-weight: 800; font-display: swap; src: url(/fonts/Barlow_800ExtraBold.ttf) format('truetype'); }
@font-face { font-family: Barlow; font-weight: 900; font-display: swap; src: url(/fonts/Barlow_900Black.ttf) format('truetype'); }
@font-face { font-family: Mono; font-weight: 500; font-display: swap; src: url(/fonts/JetBrainsMono_500Medium.ttf) format('truetype'); }
@font-face { font-family: Mono; font-weight: 700; font-display: swap; src: url(/fonts/JetBrainsMono_700Bold.ttf) format('truetype'); }

:root {
  color-scheme: dark;
  --night: #060a10;
  --night2: #09111b;
  --surface: #0d1622;
  --surface2: #111c2a;
  --line: #1c2a3a;
  --line2: #2a3b50;
  --text: #eef2f6;
  --dim: #96a2b2;
  --faint: #5c6878;
  --cyan: #6ccde0;
  --amber: #f2b544;
  --red: #ef5a5f;
  --green: #5bd39a;
  --star: #f5c451;
  --radius: 16px;
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body { margin: 0; background: var(--night); color: var(--text); font: 500 17px/1.55 Barlow, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 24px; padding: 14px var(--gutter); transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(6, 10, 16, .78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; letter-spacing: .14em; font-size: 15px; }
.brand img { border-radius: 7px; }
.links { display: flex; gap: 22px; margin-left: auto; }
.links a { text-decoration: none; color: var(--dim); font-weight: 600; font-size: 15px; transition: color .2s; }
.links a:hover { color: var(--text); }
.nav-cta { text-decoration: none; font-weight: 700; font-size: 14px; padding: 9px 16px; border-radius: 999px; background: var(--cyan); color: var(--night); white-space: nowrap; }
@media (max-width: 720px) { .links { display: none; } .nav-cta { margin-left: auto; } }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 110px var(--gutter) 90px; overflow: hidden; isolation: isolate; }
#radar, #radar2 { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(ellipse 60% 70% at 18% 55%, rgba(6, 10, 16, .92) 0%, rgba(6, 10, 16, .55) 45%, rgba(6, 10, 16, 0) 75%),
  linear-gradient(180deg, rgba(6, 10, 16, .4) 0%, rgba(6, 10, 16, 0) 25%, rgba(6, 10, 16, 0) 75%, var(--night) 100%); }
.hero-copy { max-width: 640px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 13px/1 Mono, monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); padding: 8px 14px; border: 1px solid rgba(108, 205, 224, .3); border-radius: 999px; background: rgba(108, 205, 224, .06); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(91, 211, 154, .7); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(91, 211, 154, .6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(91, 211, 154, 0); } }
.hero h1 { font-size: clamp(56px, 11vw, 132px); font-weight: 900; letter-spacing: -0.02em; margin: 22px 0 18px; text-shadow: 0 6px 40px rgba(0, 0, 0, .5); }
.lede { font-size: clamp(18px, 2.1vw, 22px); color: #c9d2dc; max-width: 520px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px 12px 16px; border-radius: 14px; text-decoration: none; background: var(--text); color: var(--night); font-weight: 800; font-size: 19px; line-height: 1.05; transition: transform .2s, box-shadow .2s; box-shadow: 0 10px 30px rgba(108, 205, 224, .15); }
.store small { display: block; font-weight: 600; font-size: 12px; letter-spacing: .02em; opacity: .7; }
.store svg { width: 26px; height: 26px; flex: none; }
.store.alt { background: rgba(255, 255, 255, .04); color: var(--text); border: 1px solid var(--line2); box-shadow: none; }
.store:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(108, 205, 224, .25); }
.proof { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--dim); font-size: 15px; }
.proof b { color: var(--text); font-family: Mono, monospace; font-weight: 700; }
.proof .star { color: var(--star); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--line2); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 720px) { .hero { align-items: flex-end; padding-bottom: 80px; } .hero-shade { background: linear-gradient(180deg, rgba(6,10,16,.2) 0%, rgba(6,10,16,.55) 45%, rgba(6,10,16,.95) 80%, var(--night) 100%); } .scroll-cue { display: none; } }

/* Ticker */
.ticker { border-block: 1px solid var(--line); background: var(--night2); overflow: hidden; white-space: nowrap; }
.track { display: inline-flex; gap: 48px; padding: 14px 0; animation: tick 60s linear infinite; font: 700 13px/1 Mono, monospace; letter-spacing: .12em; }
.track span { position: relative; padding-left: 18px; }
.track span::before { content: ''; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: currentColor; opacity: .8; }
.cy { color: var(--cyan); } .am { color: var(--amber); } .rd { color: var(--red); } .gr { color: var(--green); }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .track { animation: none; } }

/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 10vw, 128px) var(--gutter) 0; }
.head { max-width: 760px; margin-bottom: 40px; }
.kicker { font: 700 13px/1 Mono, monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.kicker.am { color: var(--amber); } .kicker.gr { color: var(--green); }
.head h2 { font-size: clamp(36px, 5.4vw, 64px); }
.head .sub { color: var(--dim); font-size: 19px; margin-top: 16px; max-width: 620px; }

/* The game's corner brackets, around anything that is a screen */
.screen { position: relative; border-radius: 18px; padding: 10px; background: linear-gradient(180deg, var(--surface2), var(--surface)); border: 1px solid var(--line); box-shadow: 0 40px 120px rgba(0, 0, 0, .55), 0 0 0 1px rgba(108, 205, 224, .04) inset; }
.screen video { width: 100%; border-radius: 10px; aspect-ratio: 16 / 9; background: #000; object-fit: cover; }
.br { position: absolute; width: 22px; height: 22px; border-color: var(--cyan); border-style: solid; opacity: .8; }
.br.tl { top: -6px; left: -6px; border-width: 2px 0 0 2px; border-top-left-radius: 6px; }
.br.tr { top: -6px; right: -6px; border-width: 2px 2px 0 0; border-top-right-radius: 6px; }
.br.bl { bottom: -6px; left: -6px; border-width: 0 0 2px 2px; border-bottom-left-radius: 6px; }
.br.br2 { bottom: -6px; right: -6px; border-width: 0 2px 2px 0; border-bottom-right-radius: 6px; }
.sound { position: absolute; right: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(6, 10, 16, .7); backdrop-filter: blur(8px); color: var(--text); font: 700 13px/1 Barlow, sans-serif; letter-spacing: .06em; cursor: pointer; }
.sound svg { width: 20px; height: 20px; }
.sound .wave { display: none; }
.sound.on .wave { display: inline; } .sound.on .mute { display: none; }

/* How it plays */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 26px; }
.step figure { margin: 0 0 22px; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; background: #000; }
.step figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.step:hover figure img { transform: scale(1.04); }
.step .num { display: block; font: 700 14px/1 Mono, monospace; color: var(--cyan); margin: 0 10px 10px; }
.step h3 { font-size: 26px; margin: 0 10px 8px; }
.step p { color: var(--dim); margin: 0 10px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* Numbers */
.numbers { max-width: var(--max); margin: clamp(72px, 10vw, 128px) auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; }
.stat { padding: 28px 18px; text-align: center; background: var(--surface); border: 1px solid var(--line); margin: -1px 0 0 -1px; }
.stat:first-child { border-radius: var(--radius) 0 0 var(--radius); } .stat:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.stat b { display: block; font: 700 clamp(40px, 5vw, 60px)/1 Mono, monospace; color: var(--text); }
.stat span { display: block; margin-top: 10px; color: var(--dim); font-size: 15px; }
@media (max-width: 900px) { .numbers { grid-template-columns: repeat(2, 1fr); } .stat, .stat:first-child, .stat:last-child { border-radius: 0; } .stat:last-child { grid-column: 1 / -1; } }

/* Chapters */
.chapters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.chapter { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s, transform .25s; }
.chapter:hover { border-color: rgba(108, 205, 224, .45); transform: translateY(-3px); }
.chapter .art { position: relative; aspect-ratio: 720 / 267; background: #000; overflow: hidden; }
.chapter .art img, .chapter .art video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chapter h3 { font-size: 21px; margin: 16px 18px 4px; }
.chapter p { color: var(--dim); font-size: 15px; margin: 0 18px 18px; }
.tag { position: absolute; top: 10px; right: 10px; z-index: 2; font: 700 11px/1 Mono, monospace; letter-spacing: .1em; text-transform: uppercase; font-style: normal; padding: 6px 9px; border-radius: 6px; background: rgba(6, 10, 16, .78); color: var(--cyan); border: 1px solid rgba(108, 205, 224, .4); }
.tag.gold { color: var(--star); border-color: rgba(245, 196, 81, .45); }
.chapter.holiday { border-color: rgba(245, 196, 81, .3); }
@media (max-width: 1000px) { .chapters { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .chapters { grid-template-columns: 1fr; } }

/* Features */
.feature { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-bottom: clamp(56px, 8vw, 96px); }
.feature.flip { grid-template-columns: 1fr 1.35fr; }
.feature.flip .shot { order: 2; }
.shot { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.shot img { width: 100%; aspect-ratio: 2750 / 1320; object-fit: cover; }
.copy h3 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 14px; }
.copy p { color: var(--dim); font-size: 19px; }
@media (max-width: 900px) { .feature, .feature.flip { grid-template-columns: 1fr; } .feature.flip .shot { order: 0; } }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 28px; }
.card .shot { margin-bottom: 22px; box-shadow: none; }
.card .kicker, .card h3, .card p { margin-left: 10px; margin-right: 10px; }
.card h3 { font-size: 28px; margin-bottom: 8px; }
.card p:not(.kicker) { color: var(--dim); }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.review { margin: 0; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.review p { font-size: 20px; line-height: 1.5; }
.review cite { display: block; margin-top: 18px; font-style: normal; color: var(--faint); font-size: 14px; }
.stars { color: var(--star); letter-spacing: .12em; margin-right: 8px; }
@media (max-width: 800px) { .reviews { grid-template-columns: 1fr; } }

/* Crew */
.crew { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; }
.crew-card { border-radius: 20px; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); }
.crew-card h2 { font-size: clamp(34px, 4.4vw, 52px); margin-bottom: 14px; }
.crew-card p:not(.kicker) { color: var(--dim); font-size: 18px; max-width: 460px; }
.crew-card.shop { background: radial-gradient(circle at 85% 10%, rgba(108, 205, 224, .18), transparent 55%), linear-gradient(160deg, #0f1c2b, #0a121c); }
.crew-card.community { background: var(--surface); }
.button { display: inline-block; margin-top: 26px; padding: 14px 22px; border-radius: 12px; text-decoration: none; font-weight: 800; background: var(--cyan); color: var(--night); transition: transform .2s; }
.button:hover { transform: translateY(-2px); }
.button.ghost { background: transparent; color: var(--text); border: 1px solid var(--line2); }
@media (max-width: 900px) { .crew { grid-template-columns: 1fr; } }

/* Final */
.final { position: relative; margin-top: clamp(72px, 10vw, 128px); min-height: 520px; display: grid; place-items: center; text-align: center; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.final::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(6, 10, 16, .85), rgba(6, 10, 16, .35) 70%); }
.final-copy { padding: 80px var(--gutter); max-width: 720px; }
.final h2 { font-size: clamp(40px, 6vw, 72px); }
.final p { color: #c9d2dc; font-size: 19px; margin-top: 16px; }
.final .stores { justify-content: center; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 36px var(--gutter) 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; color: var(--faint); font-size: 14px; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--dim); font-weight: 700; }
.foot-brand img { border-radius: 6px; }
.footer nav { display: flex; gap: 20px; }
.footer nav a { color: var(--dim); text-decoration: none; }
.footer nav a:hover { color: var(--text); }
.footer p { flex-basis: 100%; font-size: 12.5px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.chapter .art img { z-index: 1; transition: opacity .35s ease; }
.facts { max-width: var(--max); margin: clamp(48px, 7vw, 80px) auto 0; padding: 0 var(--gutter); color: var(--dim); font-size: 17px; }
.copy h3 + p, .card h3 + p { margin-top: 0; }
.feature .copy h3, .card h3 { margin-top: 0; }

/* Small "soon" mark next to a nav link */
.soon { font: 700 10px/1 Mono, monospace; letter-spacing: .08em; color: var(--amber); margin-left: 4px; vertical-align: 2px; }
.links a[aria-current="page"] { color: var(--text); }

/* Text pages: updates, press kit, mission maker */
.doc .doc-main { max-width: 820px; margin: 0 auto; padding: 130px var(--gutter) 40px; }
.doc h1 { font-size: clamp(44px, 7vw, 72px); font-weight: 900; }
.doc .intro { color: var(--dim); font-size: 20px; margin: 16px 0 48px; max-width: 640px; }
.doc .soon-line { color: var(--amber); font-weight: 700; margin-bottom: 10px; }
.doc .doc-main a { color: var(--cyan); }
.doc-block { margin: 0 0 48px; }
.doc-block h2 { font-size: 28px; margin-bottom: 14px; }
.doc-block p { color: #c9d2dc; margin-bottom: 12px; }
.doc-block .small { font-size: 15px; color: var(--dim); }
.doc-shot { margin: 0 0 48px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.plain { margin: 0; padding-left: 20px; color: #c9d2dc; }
.plain li { margin-bottom: 8px; }
.facts-table { display: grid; grid-template-columns: 140px 1fr; gap: 10px 20px; margin: 0; }
.facts-table dt { color: var(--dim); }
.facts-table dd { margin: 0; color: var(--text); }
@media (max-width: 560px) { .facts-table { grid-template-columns: 1fr; gap: 2px; } .facts-table dd { margin-bottom: 12px; } }
.press-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 16px 0; }
.press-grid img { border-radius: 10px; border: 1px solid var(--line); }
@media (max-width: 560px) { .press-grid { grid-template-columns: 1fr; } }
.release { padding: 28px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 150px 1fr; column-gap: 24px; }
.release h2 { font: 700 28px/1 Mono, monospace; }
.release .when { color: var(--faint); font-size: 14px; margin-top: 8px; }
.release ul { margin: 0; padding-left: 20px; color: #c9d2dc; }
.release li { margin-bottom: 8px; }
@media (max-width: 640px) { .release { grid-template-columns: 1fr; } .release ul { margin-top: 14px; } }

/* Playable hero: the shade never takes the pointer; the hint swaps once a visitor lands one. */
.hero-shade { pointer-events: none; }
.hero-copy { position: relative; z-index: 1; }
.try { margin-top: 22px; font-size: 15px; color: var(--cyan); min-height: 1.5em; }
.try .try-b { display: none; color: var(--green); }
body.landed-one .try .try-a { display: none; }
body.landed-one .try .try-b { display: inline; }
@media (hover: none) { .try { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .try { display: none; } }

/* Store buttons in the visitor's order: their store first (site.js sets body.ios / body.android). */
body.android .stores .store.alt { order: -1; background: var(--text); color: var(--night); border-color: transparent; box-shadow: 0 10px 30px rgba(108, 205, 224, .15); }
body.android .stores .store:not(.alt) { background: rgba(255, 255, 255, .04); color: var(--text); border: 1px solid var(--line2); box-shadow: none; }

/* Phones: a slim bar with the right store once the hero has scrolled away. */
.getbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; display: none; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 16px; background: rgba(13, 22, 34, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line2); box-shadow: 0 18px 50px rgba(0, 0, 0, .5); transform: translateY(140%); transition: transform .35s ease; }
.getbar img { border-radius: 9px; }
.getbar-text { flex: 1; display: flex; flex-direction: column; line-height: 1.15; }
.getbar-text b { font-weight: 900; letter-spacing: .1em; font-size: 14px; }
.getbar-text span { color: var(--dim); font-size: 13px; }
.getbar-btn { text-decoration: none; font-weight: 800; padding: 10px 20px; border-radius: 999px; background: var(--cyan); color: var(--night); }
@media (max-width: 720px) { body.ios .getbar, body.android .getbar { display: flex; } }
.getbar.show { transform: none; }

/* Keyboard users see where they are. */
a:focus-visible, button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
.crew-card p.note { margin-top: 12px; font-size: 15px; color: var(--faint); }
