:root {
  --navy: #10136B;
  --muted: #5B6290;
  --accent: #F0336B;
  --bg: #FFF8F0;
  --card: #FFFFFF;
  --line: #E8E9F2;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --navy: #DDE0FF;
    --muted: #A9AFD6;
    --accent: #FF6F96;
    --bg: #14152B;
    --card: #1D1F3A;
    --line: #33365A;
  }
}
:root[data-theme="dark"] {
  --navy: #DDE0FF;
  --muted: #A9AFD6;
  --accent: #FF6F96;
  --bg: #14152B;
  --card: #1D1F3A;
  --line: #33365A;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--navy);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); }
h1, h2 { line-height: 1.25; }
.muted { color: var(--muted); font-size: .9rem; }

.site-header, main, .site-footer { max-width: 760px; margin: 0 auto; padding: 0 16px; }
.site-header { padding-top: 16px; }
body[data-page="index"] .site-header { display: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font-weight: 700; font-size: 1.25rem; }
main { padding-bottom: 32px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 8px 24px 24px; margin-top: 24px; }
.prose h1 { font-size: 1.6rem; margin: 16px 0 4px; }
.prose h2 { font-size: 1.1rem; margin: 24px 0 4px; }
.prose ul, .prose ol { padding-left: 20px; }

.hero { text-align: center; padding: 40px 0 8px; }
.hero-brand { display: inline-flex; align-items: center; gap: 12px; }
.hero-brand span { font-size: clamp(2.6rem, 11vw, 4rem); font-weight: 800; letter-spacing: -.02em; }
.hero-logo { width: clamp(110px, 30vw, 140px); }
.hero h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); margin: 12px 0 8px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; margin: 0 auto 16px; }
.play-badge { display: inline-block; }
.play-badge img { width: 200px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 32px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; text-align: center; }
.feature img { width: 64px; }
.feature h2 { font-size: 1.1rem; margin: 8px 0 4px; }
.feature p { margin: 0; color: var(--muted); }

.privacy-callout h2 { font-size: 1.25rem; }

.mascots { text-align: center; margin-top: 40px; }
.mascots h2 { font-size: 1.4rem; margin-bottom: 4px; }
.mascots p { color: var(--muted); }
.inline-icon { width: 28px; vertical-align: middle; }
.mascot-row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.mascot-row figure { margin: 0; width: min(200px, 42vw); }
.mascot-row figcaption { font-weight: 700; }

.closing { text-align: center; margin-top: 32px; }
.closing p { font-weight: 600; }

.site-footer { border-top: 1px solid var(--line); padding-top: 16px; padding-bottom: 32px; text-align: center; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.site-footer nav a { color: var(--navy); font-weight: 600; text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }
body[data-page="index"] a[data-nav="index"],
body[data-page="privacy"] a[data-nav="privacy"],
body[data-page="delete-account"] a[data-nav="delete-account"] { color: var(--accent); }
.languages { margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; }
.languages a { color: var(--muted); }
.languages a[aria-current] { color: var(--navy); font-weight: 600; text-decoration: none; }
