/* Privacy and Terms pages (static/privacy.html, static/terms.html). Same navy / gold / cream tokens
   as the homepage and players, including the dark theme ("listen:theme" or the system setting). */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #1C2B4A; --gold-d: #8A5D19; --bg: #FAF7F2; --ink: #2A2520; --muted: #6B6259; --line: #E4DCCF; --hl: #FCE9C2;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --navy: #E9E2D4; --gold-d: #E4B45A; --bg: #12161F; --ink: #E7E1D6; --muted: #A8A094; --line: #2C3445; --hl: #3B3120;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --navy: #E9E2D4; --gold-d: #E4B45A; --bg: #12161F; --ink: #E7E1D6; --muted: #A8A094; --line: #2C3445; --hl: #3B3120;
  color-scheme: dark;
}
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font-family: 'DM Sans', system-ui, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
::selection { background: var(--hl); }
a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:focus-visible { outline: 2px solid var(--gold-d); outline-offset: 3px; border-radius: 4px; }
main a { overflow-wrap: anywhere; } /* long web addresses in the text wrap instead of widening the page on phones */
.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 760px) { .wrap { padding: 0 28px; } }
.skip { position: absolute; left: 12px; top: -60px; background: var(--navy); color: var(--bg); padding: 10px 14px; border-radius: 8px; z-index: 10; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

/* Site bar at the homepage's width, so the brand sits in the same place on every page. */
.top { max-width: 1080px; margin: 0 auto; padding: 18px 16px 6px; line-height: normal; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
@media (min-width: 760px) { .top { padding-left: 28px; padding-right: 28px; } }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand span { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 23px; letter-spacing: .005em; white-space: nowrap; }
.top nav { display: flex; gap: 4px; }
.top nav a { padding: 10px 12px; font-weight: 500; font-size: 15px; text-decoration: none; border-radius: 8px; }
.top nav a:hover { text-decoration: underline; }
@media (max-width: 420px) { .brand span { font-size: 20px; } .top nav a { padding: 10px 8px; } }

h1 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: clamp(34px, 6vw, 52px); line-height: 1.06; letter-spacing: -0.01em; color: var(--navy); margin-top: 30px; text-wrap: balance; }
.updated { margin-top: 10px; color: var(--muted); font-size: 14.5px; }
h2 { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 28px; line-height: 1.15; color: var(--navy); margin: 44px 0 10px; }
h3 { font-size: 16px; font-weight: 600; margin: 22px 0 4px; }
p, ul { margin-top: 12px; max-width: 68ch; text-wrap: pretty; }
ul { padding-left: 22px; }
li { margin-top: 6px; }
li::marker { color: var(--gold-d); }
.short { margin-top: 26px; padding: 4px 22px 14px; border: 1px solid var(--line); border-radius: 12px; }
.short h2 { margin-top: 18px; font-size: 24px; }

footer { margin: 72px 0 0; padding: 22px 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); }
footer a { text-decoration: none; color: var(--muted); }
footer a:hover { color: var(--navy); text-decoration: underline; }
