/* Crooked Billet Games. One look, the brand's own: cream ground, near-black ink, burnt orange.
   No web fonts: ui-rounded (SF Rounded on Apple devices) echoes the rounded wordmark, and nothing
   is fetched from another site. */

:root {
  --cream: #F3EAD8;
  --paper: #FAF5EA;
  --ink: #1A1612;
  --ink-soft: #4A4239;
  --rule: #D9CCB3;
  --orange: #C45729;
  --orange-deep: #A3461F;
  --round: ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", system-ui, sans-serif;
  --text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 17px/1.6 var(--text);
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

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

a { color: var(--orange-deep); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 920px; margin: 0 auto; }

/* ── Home ─────────────────────────────────────────────────────────── */

.hero {
  padding-block: clamp(56px, 12vw, 120px) clamp(40px, 8vw, 72px);
  text-align: center;
}
.hero .mark { width: min(440px, 78vw); margin: 0 auto; }
.hero p {
  font-family: var(--round);
  font-size: clamp(19px, 2.6vw, 23px);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 30ch;
  margin: clamp(4px, 1.5vw, 12px) auto 0;
  text-wrap: balance;
}

.label {
  font-family: var(--round);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin: 0 0 14px;
}

.game {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
}
.game .art { min-height: 100%; }
.game .art img { width: 100%; height: 100%; object-fit: cover; }
.game .about { padding: clamp(24px, 4vw, 40px); min-width: 0; }
.game .title { display: flex; align-items: center; gap: 14px; }
.game .icon { width: 56px; height: 56px; border-radius: 13px; flex: none; }
.game h2 {
  font-family: var(--round);
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}
.game .sub { margin: 2px 0 0; color: var(--ink-soft); font-size: 15px; }
.game .pitch { margin: 22px 0 0; }
.game .status {
  display: inline-block;
  margin: 22px 0 0;
  font-family: var(--round);
  font-weight: 700;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid var(--rule);
}
.game .go { margin: 18px 0 0; font-weight: 600; }

.contact { padding-block: clamp(48px, 9vw, 80px) 0; }
.contact p { margin: 0 0 6px; }
.contact .email { font-family: var(--round); font-weight: 700; font-size: clamp(20px, 3vw, 24px); }

/* ── Legal pages ──────────────────────────────────────────────────── */

.top { padding-block: 28px 0; }
.top a { display: inline-block; }
.top img { width: 210px; }

.doc { max-width: 680px; margin: 0 auto; padding-block: clamp(32px, 6vw, 56px) 0; }
.doc h1 {
  font-family: var(--round);
  font-size: clamp(30px, 5vw, 40px);
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}
.doc .meta { color: var(--ink-soft); font-size: 15px; margin: 10px 0 0; }
.doc .short {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--orange);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 28px 0 8px;
}
.doc .short p { margin: 0; }
.doc .short p + p { margin-top: 10px; }
.doc h2 {
  font-family: var(--round);
  font-size: 21px;
  line-height: 1.25;
  margin: 36px 0 8px;
}
.doc p, .doc li { max-width: 65ch; }
.doc ul { padding-left: 22px; }
.doc li + li { margin-top: 4px; }

/* ── Footer ───────────────────────────────────────────────────────── */

footer {
  margin-top: clamp(64px, 10vw, 104px);
  border-top: 1px solid var(--rule);
  padding-block: 28px max(36px, env(safe-area-inset-bottom, 0px));
  font-size: 14px;
  color: var(--ink-soft);
}
footer .row { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer p { margin: 0; }
footer nav a { margin-right: 18px; }
footer nav a:last-child { margin-right: 0; }
footer .reg { margin-top: 10px; font-size: 13px; }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .game { grid-template-columns: 1fr; }
  .game .art img { aspect-ratio: 3 / 2; height: auto; }
}
.h1-mark { margin: 0; }
