:root {
  /* Mirrors PALETTES.light in src/constants/theme.ts */
  --bg: #f4f4f7;
  --surface: #ffffff;
  --border: #ececf1;
  --text: #1c1b22;
  --text2: #5a5a66;
  --muted: #6f6f7d;
  --accent: #e0975a;
  --accent-press: #c97f3f;
  --accent-soft: #f7eee2;
}

/* Same dark block as style.css. Legal pages get read in bed more than the
   landing page does. */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12121a;
    --surface: #1b1b25;
    --border: #2a2a38;
    --text: #f2f2f7;
    --text2: #a9a9ba;
    --muted: #8b8b9e;
    --accent-soft: #2a2118;
    --accent-press: #e8a972;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 40px 24px 80px;
  background:
    radial-gradient(70% 40% at 50% 0%, var(--accent-soft) 0%, transparent 65%),
    var(--bg);
  color: var(--text);
  /* System stack, no webfont: see the note in style.css. */
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  font-size: 15.5px;
}
.doc {
  max-width: 720px;
  margin: 0 auto;
}
.head {
  margin-bottom: 8px;
}
h1 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}
h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 34px 0 10px;
}
.updated {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 28px;
}
p,
li {
  color: var(--text2);
}
strong {
  color: var(--text);
  font-weight: 600;
}
a {
  color: var(--accent-press);
}
ul {
  padding-left: 20px;
}
li {
  margin: 6px 0;
}
.note {
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}
.back {
  display: inline-block;
  margin-top: 40px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}
.back:hover {
  color: var(--accent-press);
}
