/*
 * Shared styling for the static content pages (how to play, about, FAQ,
 * contact, privacy). Deliberately plain HTML and CSS with no build step and no
 * JavaScript: these pages have to be readable by a crawler, and by a visitor,
 * without the 1.7 MB dataset or the React bundle ever loading.
 */
:root {
  --bg: #0a0d14;
  --raised: #121722;
  --line: #232b3d;
  --text: #eef2f9;
  --muted: #8b96ad;
  --accent: #35d07f;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4f6fb;
    --raised: #ffffff;
    --line: #dde3ee;
    --text: #161d2b;
    --muted: #64708a;
    --accent: #12945a;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--accent) 7%, var(--bg)) 0%, var(--bg) 60%);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  min-height: 100vh;
}

.wrap { max-width: 780px; margin: 0 auto; padding: 28px 20px 80px; }

a { color: var(--accent); }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.nav__brand {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
  margin-right: auto;
  text-decoration: none;
}
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; }

h1 { font-size: clamp(28px, 6vw, 40px); margin: 0 0 8px; letter-spacing: 0.01em; }
.lede { color: var(--muted); font-size: 17px; margin: 0 0 32px; }

h2 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 40px 0 10px;
}
h3 { font-size: 17px; margin: 26px 0 6px; }

p, li { color: color-mix(in srgb, var(--text) 88%, var(--muted)); }
ul, ol { padding-left: 20px; }
li { margin-bottom: 8px; }

.card {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 22px 0;
}

table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }

.cta {
  display: inline-block;
  margin-top: 8px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 10px;
}

footer {
  margin-top: 56px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
footer a { color: var(--muted); }
