/* WoT Replay 4K — shared stylesheet. No build step, no external requests. */

/* Dark site-wide, always. Owner decision 2026-07-14 — resolves the open posture
   question in DESIGN.md §6. The stylesheet used to flip to light on
   prefers-color-scheme, which meant a light-mode visitor moving from the dark
   landing to Terms watched the site change character. One posture, no flip.
   `color-scheme: dark` also tells the browser to paint scrollbars and form
   controls dark, so its own chrome stops fighting the page.

   AMBER accent — owner override of DESIGN.md rule 2.1 (2026-07-16): the site
   matches the live @wot-replay-4k YouTube identity. --accent (#FBBF24) is a mid
   amber that stays legible as TEXT on the dark bg; --amber-grad (#FDE06D→#D97706,
   the brand generator's endpoints) is for FILLS (logo tile, step rules). The
   Discord CTA stays blurple #5865F2 — the one exception (DESIGN.md §5a). */
:root {
  color-scheme: dark;
  --bg: #0f1115;
  --bg-alt: #171a21;
  --text: #e4e6eb;
  --text-muted: #9aa1ac;
  --border: #2a2e37;
  --accent: #fbbf24;
  --amber-grad: linear-gradient(180deg, #fde06d 0%, #d97706 100%);
  --nav-height: 3.25rem;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ---- Top nav ---- */

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav-height);
  padding: 0.75rem 1.25rem;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.site-nav .wordmark {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.site-nav .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav .nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav .nav-links a:hover,
.site-nav .nav-links a:focus {
  color: var(--accent);
  text-decoration: underline;
}

/* ---- Content column ---- */

main {
  max-width: 72ch;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

main h1 {
  font-size: 1.75rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

main h2 {
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

main p,
main li {
  color: var(--text);
}

main .lede {
  color: var(--text-muted);
  font-size: 1.05rem;
}

main ul,
main ol {
  padding-left: 1.25rem;
}

.placeholder {
  color: var(--accent);
  font-weight: 600;
}

/* ---- Sample placeholder blocks ---- */

.sample-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.sample-slot {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-alt);
  border: 1px dashed var(--border);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: center;
  padding: 1rem;
}

/* ---- Footer ---- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  max-width: 72ch;
  margin: 0 auto;
}

.site-footer p {
  margin: 0.25rem 0;
}

/* ---- Small screens ---- */

@media (max-width: 480px) {
  .site-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav .nav-links {
    gap: 0.75rem 1rem;
  }
}
