@font-face {
  font-family: "Silkscreen";
  src: url("assets/fonts/Silkscreen-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Silkscreen";
  src: url("assets/fonts/Silkscreen-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --red: #d31a1d;
  --ink: #17171c;
  --muted: #5d5d66;
  --paper: #ffffff;
  --line: #e4e4e8;
  --so-bg: #0b0b14;
  --so-text: #e9e6df;
  --so-accent: #f0a04b;
  --so-line: #2b1e46;
  --piste-bg: #0b3bc4;
  --piste-text: #ffffff;
  --piste-accent: #ffd84a;
  --piste-line: #4a70e0;
  --pixel: "Silkscreen", "Courier New", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 18px/1.6 var(--sans);
}

img, video { display: block; max-width: 100%; height: auto; }
.pixel { image-rendering: pixelated; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--ink); color: #fff; padding: 8px 14px; z-index: 10;
}
.skip:focus { left: 8px; }

/* Header */
.top {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1080px; margin: 0 auto; padding: 20px 24px;
}
.top-home img { width: 36px; height: auto; }
.top nav { display: flex; gap: 28px; }
.top nav a {
  font: 700 15px/1 var(--pixel);
  text-decoration: none; text-transform: uppercase;
}
.top nav a:hover { color: var(--red); }

/* Hero */
.hero { max-width: 1000px; margin: 0 auto; padding: 72px 24px 96px; text-align: center; }
.hero h1 img { width: 100%; }
.hero-line { margin-top: 56px; font-size: clamp(22px, 3.2vw, 32px); line-height: 1.3; font-weight: 700; }
.hero-sub { margin-top: 10px; color: var(--muted); }

/* Game blocks */
.game { padding: 88px 0 56px; }
.game-so { background: var(--so-bg); color: var(--so-text); --accent: var(--so-accent); --rule: var(--so-line); }
.game-piste { background: var(--piste-bg); color: var(--piste-text); --accent: var(--piste-accent); --rule: var(--piste-line); }

.game-grid {
  display: grid; grid-template-columns: 300px 1fr; gap: 72px; align-items: center;
}
.game-grid-flip { grid-template-columns: 1fr 300px; }
.game-grid-flip .game-video { order: 2; }

.game-video video { width: 100%; background: #000; }
.game-so .game-video video { outline: 4px solid var(--so-line); }
.game-piste .game-video video { outline: 4px solid #fff; }

.wordmark img { width: 340px; max-width: 100%; }
.game-piste .wordmark img { width: 220px; }

.verbs {
  margin: 22px 0 22px;
  font: 700 18px/1.2 var(--pixel);
  color: var(--accent);
  text-transform: uppercase;
}
.verbs span { opacity: .55; margin: 0 4px; }

.game-copy p + p { margin-top: 14px; }
.game-copy p.verbs + p { margin-top: 0; }

.facts { margin-top: 24px; }
.facts li { padding: 7px 0 7px 22px; position: relative; border-top: 1px solid var(--rule); }
.facts li::before {
  content: ""; position: absolute; left: 2px; top: 17px;
  width: 8px; height: 8px; background: var(--accent);
}

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.stores div { border: 2px solid currentColor; padding: 9px 16px; min-width: 164px; }
.stores dt { font-size: 14px; line-height: 1.2; opacity: .8; }
.stores dd { font: 700 16px/1.4 var(--pixel); color: var(--accent); text-transform: uppercase; }

.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 72px; }
.shots img { width: 100%; }
.note { margin-top: 14px; font-size: 14px; opacity: .65; }

/* About */
.about { padding-top: 96px; padding-bottom: 96px; }
.about h2, .contact h2 {
  font: 700 clamp(32px, 5vw, 44px)/1.1 var(--pixel);
  color: var(--red);
  text-transform: uppercase;
}
.about-copy { max-width: 720px; margin-top: 28px; }
.about-copy p + p { margin-top: 16px; }
.lead { font-size: 22px; line-height: 1.45; font-weight: 600; }
.about h3 {
  margin-top: 72px;
  font: 700 20px/1.2 var(--pixel);
  text-transform: uppercase;
}
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 8px; }
.founders article { border-top: 4px solid var(--ink); padding-top: 18px; margin-top: 12px; }
.founders h4 { font-size: 24px; line-height: 1.2; }
.role { color: var(--red); font-weight: 600; margin-bottom: 12px !important; }
.founders a { display: inline-block; margin-top: 14px; font-weight: 600; }

/* Contact */
.contact { background: var(--red); color: #fff; padding: 88px 0; }
.contact h2 { color: #fff; grid-column: 1 / -1; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.contact h3 { font: 700 17px/1.3 var(--pixel); text-transform: uppercase; margin-bottom: 10px; }
.contact p + p { margin-top: 12px; }
.contact a { font-weight: 600; }

/* Footer */
.strip { display: flex; height: 12px; }
.strip i { flex: 1; }
.strip i:nth-child(1) { background: #d31f23; }
.strip i:nth-child(2) { background: #f2a82d; }
.strip i:nth-child(3) { background: #f7c935; }
.strip i:nth-child(4) { background: #0fa45e; }
.strip i:nth-child(5) { background: #1c99f5; }
.strip i:nth-child(6) { background: #8e4fad; }
.strip i:nth-child(7) { background: #e91f99; }
.foot { padding: 12px 0 36px; font-size: 16px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; margin-top: 28px; }
.legal { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--muted); }

/* Plain text pages */
.page { max-width: 760px; margin: 0 auto; padding: 56px 24px 96px; }
.page h1 { font: 700 clamp(30px, 5vw, 42px)/1.15 var(--pixel); color: var(--red); text-transform: uppercase; }
.page h2 { margin-top: 36px; font-size: 22px; line-height: 1.3; }
.page p { margin-top: 12px; }
.page ul { margin-top: 12px; }
.page li { padding-left: 20px; position: relative; margin-top: 6px; }
.page li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 7px; height: 7px; background: var(--red); }
.updated { color: var(--muted); font-size: 16px; }

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

@media (max-width: 860px) {
  body { font-size: 17px; }
  .wrap, .top, .hero, .page { padding-left: 16px; padding-right: 16px; }
  .hero { padding-top: 40px; padding-bottom: 64px; }
  .hero-line { margin-top: 36px; }
  .game { padding-top: 64px; }
  .game-grid, .game-grid-flip { grid-template-columns: 1fr; gap: 40px; }
  .game-grid-flip .game-video { order: 0; }
  .game-video { max-width: 280px; margin: 0 auto; }
  .shots { grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
  .about { padding-top: 64px; padding-bottom: 64px; }
  .founders, .contact-grid { grid-template-columns: 1fr; }
  .founders { gap: 20px; }
  .contact { padding: 64px 0; }
}
