/* marketing.css, the shared look for every content/marketing page (landing, FAQ,
 * comparisons, family, privacy). The game itself has its own stylesheets; this is only
 * for the text pages a crawler or a curious parent reads.
 *
 * GENERATED PAGES, HAND-WRITTEN CSS: the HTML is produced by scripts/build-marketing.mjs,
 * but this stylesheet is authored by hand. It matches the game's dark palette so the
 * marketing site and the arena feel like one product.
 *
 * Palette (shared with family.html / privacy.html before they were folded in here):
 *   background #1b1a2e · panel #26243f · ink #e7e5f5 · muted #c9c6e6 · gold accent #e8c45a
 */

:root {
  color-scheme: dark;
  --bg: #1b1a2e;
  --panel: #26243f;
  --panel-edge: #3a2f5c;
  --ink: #e7e5f5;
  --muted: #c9c6e6;
  --faint: #8a86b8;
  --gold: #e8c45a;
  --maxw: 46rem;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---- Header / nav ---------------------------------------------------------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.1rem 1.25rem;
}
.brand {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--ink);
  text-decoration: none;
}
.brand::before { content: "⚔ "; color: var(--gold); }
.site-nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
}
.site-nav a:hover { color: var(--gold); }

/* ---- Page body ------------------------------------------------------------- */
.page {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1rem 1.25rem 4rem;
}
.page h1 { font-size: 2.1rem; line-height: 1.15; margin: 1rem 0 .5rem; }
.page h2 { font-size: 1.35rem; margin: 2.4rem 0 .6rem; color: var(--gold); }
.page h3 { font-size: 1.08rem; margin: 1.6rem 0 .3rem; }
.page p, .page li { color: var(--ink); }
.page a { color: var(--gold); font-weight: 600; text-decoration: none; }
.page a:hover { text-decoration: underline; }
.page ul { padding-left: 1.25rem; }
.page li { margin: .4rem 0; }

/* The leading blockquote on each page is the "lede", the answer-first summary. */
.page blockquote {
  margin: .75rem 0 1.5rem;
  padding: .85rem 1.1rem;
  border-left: 3px solid var(--gold);
  background: var(--panel);
  border-radius: 0 10px 10px 0;
  color: var(--muted);
  font-size: 1.12rem;
}
.page blockquote p { margin: 0; color: var(--muted); }

/* Comparison / feature tables. */
.page table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: .95rem;
}
.page th, .page td {
  text-align: left;
  padding: .55rem .7rem;
  border-bottom: 1px solid var(--panel-edge);
  vertical-align: top;
}
.page thead th { color: var(--gold); border-bottom-color: var(--gold); }
.page tbody tr:nth-child(even) { background: rgba(255, 255, 255, .02); }

/* ---- Call-to-action band --------------------------------------------------- */
.cta-band {
  margin: 2.5rem 0 0;
  padding: 1.6rem 1.25rem;
  background: var(--panel);
  border: 1px solid var(--panel-edge);
  border-radius: 14px;
  text-align: center;
}
.cta-band p { margin: 0 0 1rem; color: var(--muted); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.btn {
  display: inline-block;
  padding: .6rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}
/* Extra `.btn` in the selector so the button text colour beats `.page a` (0,1,1),
   which would otherwise paint the label gold, invisible on the gold primary. */
.btn.btn-primary { background: var(--gold); color: #2a2333; }
.btn.btn-primary:hover { filter: brightness(1.08); text-decoration: none; }
.btn.btn-ghost { border: 1px solid var(--panel-edge); color: var(--ink); }
.btn.btn-ghost:hover { border-color: var(--gold); text-decoration: none; }

/* A "coming soon" pill, reused from the old family page. */
.soon {
  display: inline-block;
  margin: .25rem 0 1rem;
  padding: .35rem .75rem;
  border-radius: 999px;
  background: var(--panel-edge);
  color: var(--gold);
  font-size: .85rem;
  font-weight: 600;
}

/* ---- Footer ---------------------------------------------------------------- */
.site-footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.75rem 1.25rem 2.5rem;
  border-top: 1px solid var(--panel-edge);
  color: var(--faint);
  font-size: .9rem;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: .6rem; }
.site-footer a { color: var(--muted); text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: var(--gold); }
.site-footer .tag { color: var(--faint); }
