/* Shared by terms.html, privacy.html and delete-account.html; no fonts or images are loaded. */
:root {
  color-scheme: light dark;
  --bg: #fbf8f3;
  --text: #1f1a17;
  --muted: #5c534d;
  --rule: #ddd4ca;
  --link: #9a1b38;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1416;
    --text: #efe8e2;
    --muted: #b5aaa3;
    --rule: #3d3134;
    --link: #f08aa2;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 24px 16px 48px;
  background: var(--bg);
  color: var(--text);
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-wrap: break-word;
}

main,
footer {
  max-width: 40rem;
  margin: 0 auto;
}

h1 {
  font-size: 1.6rem;
  line-height: 1.25;
  margin: 0 0 0.25rem;
}

h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.5rem;
}

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

.meta,
.lang-switch {
  color: var(--muted);
  font-size: 0.95rem;
}

section + section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.95rem;
}

footer a {
  margin-right: 1rem;
}
