/* Shared site chrome for the 1-2 website (landing + legal pages).
   Palette matches the game (index/play). */
:root {
  --accent: #e10600;
  --accent-text: #ffffff;
  --bg: #0a0a0c;
  --panel: #141418;
  --panel-2: #1c1c22;
  --line: #2a2a32;
  --text: #f3f3f5;
  --muted: #8a8a94;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
a { color: inherit; }

/* ---- Site header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  background: rgba(10,10,12,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .brand {
  font-weight: 800; font-size: 22px; letter-spacing: -1px;
  text-decoration: none; color: var(--text);
}
.site-header .brand .dash { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  text-decoration: none; color: var(--muted); font-weight: 600; font-size: 14px;
  padding: 8px 12px; border-radius: 8px; transition: color .15s, background .15s;
}
.site-nav a:hover { color: var(--text); background: var(--panel); }
.site-nav a.cta {
  background: var(--accent); color: var(--accent-text); padding: 9px 16px; border-radius: 999px;
}
.site-nav a.cta:hover { filter: brightness(1.08); background: var(--accent); color: var(--accent-text); }
@media (max-width: 600px) {
  .site-nav a:not(.cta) { display: none; }
}

/* ---- Page shell ---- */
.wrap { max-width: 920px; margin: 0 auto; padding: 0 22px; }
.section { padding: 56px 0; border-bottom: 1px solid var(--line); }
.section:last-of-type { border-bottom: none; }
.kicker { color: var(--accent); font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 700; margin: 0 0 12px; }
h2.section-title { font-size: 30px; font-weight: 800; letter-spacing: -1px; margin: 0 0 18px; }
p.lead { color: var(--muted); font-size: 17px; max-width: 680px; }

/* ---- Hero ---- */
.hero { text-align: center; padding: 72px 0 56px; }
.badge {
  display: inline-block; font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 700;
  color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(56px, 13vw, 120px); font-weight: 900; letter-spacing: -4px; margin: 0; line-height: .95; }
.hero h1 .dash { color: var(--accent); }
.hero-flags { display: block; width: clamp(240px, 46vw, 380px); height: auto; margin: 0 auto 4px; }
.hero .tagline { font-size: clamp(20px, 4vw, 30px); font-weight: 700; margin: 22px 0 10px; letter-spacing: -.5px; }
.hero .sub { color: var(--muted); font-size: 18px; max-width: 560px; margin: 0 auto 30px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  background: var(--accent); color: var(--accent-text); border: none; border-radius: 999px;
  font-size: 17px; font-weight: 700; padding: 15px 28px; cursor: pointer;
  transition: filter .15s, transform .05s;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn.secondary { background: var(--panel-2); color: var(--text); border: 1px solid var(--line); }

/* ---- Stats ---- */
.stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 44px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px 28px; min-width: 150px; }
.stat .num { font-size: 30px; font-weight: 800; color: var(--accent); }
.stat .lab { color: var(--muted); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-top: 4px; }

/* ---- How to play ---- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.step .n { width: 34px; height: 34px; border-radius: 999px; background: var(--accent); color: var(--accent-text); display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 12px; }
.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---- Challenges ---- */
.challenges { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.challenges li { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; font-weight: 600; }
.challenges li::before { content: "▸ "; color: var(--accent); }

/* ---- FAQ accordion ---- */
.faq details { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: var(--panel); overflow: hidden; }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 700; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 20px 18px; color: var(--muted); }
.faq .answer p { margin: 0 0 10px; }

/* ---- Legal prose ---- */
.prose { padding: 48px 0 64px; }
.prose h1 { font-size: 34px; font-weight: 800; letter-spacing: -1px; margin: 0 0 6px; }
.prose .updated { color: var(--muted); font-size: 13px; margin-bottom: 30px; }
.prose h2 { font-size: 20px; margin: 30px 0 8px; }
.prose p, .prose li { color: var(--c5d, #c9c9d0); font-size: 15.5px; }
.prose a { color: var(--accent); }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 22px 56px; }
.site-footer .inner { max-width: 920px; margin: 0 auto; }
.site-footer .flinks { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-bottom: 18px; }
.site-footer .flinks a { color: var(--muted); text-decoration: none; font-size: 14px; }
.site-footer .flinks a:hover { color: var(--text); }
.site-footer .flinks .sep { color: var(--line); }
.site-footer .copy { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.site-footer .disclaimer { color: #6a6a74; font-size: 12px; line-height: 1.6; }
