/* The privacy policy and terms pages (plain static pages, no app bundle). Tokens match base.css. */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f4;
  --text: #1c1917;
  --text-muted: #6b6560;
  --border: #e7e5e4;
  --accent: #dc2626;
  color-scheme: light;
  font-family: system-ui, -apple-system, 'Hiragino Sans', 'Noto Sans JP', 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
:root[data-theme='dark'] {
  --bg: #1c1b1a;
  --bg-soft: #262524;
  --text: #f2f0ee;
  --text-muted: #a8a29e;
  --border: #3a3836;
  --accent: #f87171;
  color-scheme: dark;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}
header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}
.home img {
  width: 24px;
  height: 24px;
}
nav.langs {
  display: flex;
  gap: 4px;
}
nav.langs a {
  padding: 2px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 14px;
  text-decoration: none;
}
nav.langs a[aria-current='true'] {
  border-color: var(--accent);
  color: var(--text);
}
h1 {
  margin: 28px 0 4px;
  font-size: 1.6rem;
  line-height: 1.3;
}
h2 {
  margin: 28px 0 6px;
  font-size: 1.1rem;
}
.updated {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 14px;
}
a {
  color: var(--accent);
}
ul {
  padding-left: 1.3em;
}
li + li {
  margin-top: 4px;
}
section[lang] + section[lang] {
  margin-top: 48px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
/* With JavaScript only the chosen language is shown (legal.js); without it, all three are. */
.one-lang section[lang]:not(.on) {
  display: none;
}
.one-lang section[lang] + section[lang] {
  margin-top: 0;
  border-top: 0;
}
footer {
  margin-top: 48px;
  color: var(--text-muted);
  font-size: 14px;
}
