:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --border: #dde1e6;
  --text: #1a1d21;
  --text-muted: #5b6270;
  --accent: #7a1f2b;
  --radius: 10px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15171a;
    --surface: #1f2226;
    --border: #33373d;
    --text: #eef0f2;
    --text-muted: #9aa1ac;
    --accent: #e2626f;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

header.top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

h1 {
  font-size: 1.5rem;
  margin: 0 0 4px;
}

.updated {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0 0 32px;
}

nav.legal-links a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
}

nav.legal-links a:hover {
  text-decoration: underline;
}

h2 {
  font-size: 1.1rem;
  margin: 32px 0 8px;
}

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

.notice {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin: 24px 0;
}

a {
  color: var(--accent);
}

footer {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}
