/* Galu: night blue, moon, gold (README.md, "Brand"). */
:root {
  --night: #14213d;
  --moon: #eceff4;
  --gold: #c9922e;

  --night-2: #1c2c4f; /* a step up from night blue, for cards on dark */
  --ink: #14213d;
  --ink-soft: #46516a;
  --page: #f7f8fb;
  --surface: #ffffff;
  --line: #dde2ec;
  --link: #14213d;

  --font: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --radius: 18px;
  --wrap: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eceff4;
    --ink-soft: #b4bccb;
    --page: #0e1830;
    --surface: #14213d;
    --line: #26365c;
    --link: #eceff4;
  }
}

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

html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}
h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: 1.4rem;
}
p {
  margin: 0 0 1rem;
}

a {
  color: var(--link);
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px) {
  .wrap {
    padding: 0 32px;
  }
}
.narrow > * {
  max-width: 680px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--gold);
  color: var(--night);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 10;
  font-weight: 600;
}
.skip:focus {
  top: 12px;
}

/* The lockup: the mark, then the wordmark as live text. */
.lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--moon);
}
.wordmark {
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  line-height: 1;
}
.lockup.small .wordmark {
  font-size: 1.25rem;
}

/* Header and hero share the night sky. */
.top {
  background: var(--night);
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid rgba(236, 239, 244, 0.08);
}
.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.top nav {
  display: flex;
  gap: clamp(12px, 3vw, 28px);
}
.top nav a {
  color: var(--moon);
  text-decoration: none;
  font-weight: 500;
  opacity: 0.85;
}
.top nav a:hover {
  opacity: 1;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

.hero {
  background-color: var(--night);
  /* A few faint stars. */
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(236, 239, 244, 0.7), transparent),
    radial-gradient(1px 1px at 28% 70%, rgba(236, 239, 244, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 46% 14%, rgba(236, 239, 244, 0.6), transparent),
    radial-gradient(1px 1px at 58% 82%, rgba(236, 239, 244, 0.45), transparent),
    radial-gradient(2px 2px at 71% 30%, rgba(201, 146, 46, 0.8), transparent),
    radial-gradient(1px 1px at 86% 64%, rgba(236, 239, 244, 0.55), transparent),
    radial-gradient(1.5px 1.5px at 93% 18%, rgba(236, 239, 244, 0.6), transparent),
    radial-gradient(ellipse at 80% 120%, rgba(201, 146, 46, 0.12), transparent 60%);
  color: var(--moon);
  padding: clamp(56px, 10vw, 120px) 0 clamp(64px, 11vw, 132px);
}
.hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.hero-text {
  max-width: 640px;
}
.eyebrow {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  margin-bottom: 1.25rem;
}
.lede {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: rgba(236, 239, 244, 0.82);
  max-width: 34em;
  margin-bottom: 2rem;
}
.hero-mark {
  width: clamp(140px, 18vw, 220px);
  flex-shrink: 0;
  border-radius: 22.5%;
  box-shadow:
    0 0 0 1px rgba(236, 239, 244, 0.14),
    0 24px 60px rgba(0, 0, 0, 0.35);
}
@media (max-width: 760px) {
  .hero-mark {
    display: none;
  }
}

/* Buttons */
.hero-actions,
.game-links,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin: 0;
}
.button {
  display: inline-block;
  background: var(--gold);
  color: var(--night);
  font-weight: 700;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid var(--gold);
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.button:hover {
  background: #d8a141;
  border-color: #d8a141;
  transform: translateY(-1px);
}
.button.ghost {
  background: transparent;
  color: var(--moon);
  border-color: rgba(236, 239, 244, 0.35);
}
.button.ghost:hover {
  border-color: var(--moon);
}
.text-link {
  font-weight: 600;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

/* Games */
section {
  scroll-margin-top: 64px;
}
.games {
  padding: clamp(56px, 9vw, 104px) 0 clamp(8px, 2vw, 24px);
}
.game {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: 0 1px 2px rgba(20, 33, 61, 0.05), 0 12px 32px rgba(20, 33, 61, 0.06);
}
@media (min-width: 860px) {
  .game {
    grid-template-columns: 1.15fr 1fr;
  }
  .game:nth-of-type(even) .shot {
    order: 2;
  }
}
.shot {
  display: block;
  background: var(--night);
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}
.game-text {
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.game-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1rem;
}
.icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  flex-shrink: 0;
}
.game h3 {
  font-size: 1.9rem;
}
.status {
  margin: 4px 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}
.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status.live::before {
  background: #2f9e5b;
}
.status.soon::before {
  background: var(--gold);
}
.pitch {
  font-size: 1.3rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.game-text > p:not(.pitch):not(.game-links) {
  color: var(--ink-soft);
}
.game-links {
  margin-top: 0.5rem;
}
.facts {
  list-style: none;
  padding: 0;
  margin: 0.25rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.facts li {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(201, 146, 46, 0.14);
  color: var(--ink);
}

/* About and contact */
.about,
.contact {
  padding: clamp(40px, 7vw, 80px) 0;
}
.about p,
.contact p {
  font-size: 1.15rem;
  color: var(--ink-soft);
}
.contact {
  border-top: 1px solid var(--line);
  padding-bottom: clamp(56px, 9vw, 104px);
}
.contact .contact-links {
  margin-top: 1.5rem;
}

/* Footer */
.bottom {
  background: var(--night);
  color: rgba(236, 239, 244, 0.7);
  padding: 28px 0;
  font-size: 0.92rem;
}
.bottom-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.bottom p {
  margin: 0;
}

/* Text pages (policies) */
.doc {
  padding: clamp(40px, 7vw, 80px) 0 clamp(56px, 9vw, 104px);
}
.doc h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  margin-bottom: 0.5rem;
}
.doc h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 0.75rem;
}
.doc p,
.doc li {
  color: var(--ink-soft);
}
.doc ul {
  padding-left: 1.3rem;
  margin: 0 0 1rem;
}
.doc li {
  margin-bottom: 0.35rem;
}
.doc-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink) !important;
  margin-bottom: 1rem;
}
.doc-kicker img {
  border-radius: 10px;
}
.doc-date {
  font-size: 0.95rem;
}
.summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: 20px 24px 4px;
  margin: 2rem 0;
}
.summary h2 {
  margin-top: 0;
  font-size: 1.25rem;
}
.summary p {
  color: var(--ink) !important;
  font-size: 1.1rem;
}

/* Footer links */
.bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.bottom a:not(.lockup) {
  color: var(--moon);
  text-decoration-color: rgba(236, 239, 244, 0.35);
  text-underline-offset: 4px;
}

/* A game's own page */
.game-hero .hero-row {
  gap: 40px;
}
.game-hero-name {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.game-hero-name img {
  border-radius: 14px;
}
.game-hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.9rem);
}
.hero-shot {
  width: min(46%, 520px);
  border-radius: var(--radius);
  box-shadow:
    0 0 0 1px rgba(236, 239, 244, 0.14),
    0 24px 60px rgba(0, 0, 0, 0.35);
}
@media (max-width: 860px) {
  .game-hero .hero-row {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-shot {
    width: 100%;
  }
}
.status.on-dark {
  color: rgba(236, 239, 244, 0.85);
  font-size: 1rem;
  margin: 0;
}

.band {
  padding: clamp(48px, 8vw, 88px) 0;
}
.band.alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.band p {
  color: var(--ink-soft);
  font-size: 1.1rem;
}
.band-note {
  max-width: 44em;
  margin-top: 1.5rem;
}
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }
}
.steps li {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 18px 20px;
  color: var(--ink-soft);
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--night);
  font-weight: 700;
  margin-bottom: 12px;
}
.steps b,
.points b {
  color: var(--ink);
}
.points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px 40px;
}
.points li {
  color: var(--ink-soft);
  padding-left: 22px;
  position: relative;
}
.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

/* Questions and answers */
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 650;
  font-size: 1.1rem;
  padding: 16px 36px 16px 0;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--gold);
}
.faq details[open] summary::after {
  content: "–";
}
.faq details p {
  margin: 0 0 18px;
}
.ask {
  margin-top: 2.5rem;
  border-left: 4px solid var(--gold);
  padding: 4px 0 4px 20px;
}
.ask h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}
.ask p {
  margin: 0;
}

/* 404 */
.not-found {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.lost {
  flex: 1;
  display: flex;
  align-items: center;
  text-align: center;
}
.lost-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lost .hero-mark {
  display: block;
  width: clamp(110px, 18vw, 160px);
  margin-bottom: 2rem;
}
.lost .lede {
  margin-left: auto;
  margin-right: auto;
}
.lost .hero-actions {
  justify-content: center;
}
.lost-help {
  margin: 2.5rem 0 0;
  color: rgba(236, 239, 244, 0.7);
}
.lost-help a {
  color: var(--moon);
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}
