/* The Privacy and Terms pages: the site's colours, light or dark, in a readable column. */
:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #1f2328;
  --muted: #5f6670;
  --border: #e2e5e9;
  --link: #a86400;
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #121417;
  --surface: #171a1e;
  --text: #e6e8eb;
  --muted: #9ba3ad;
  --border: #2c3139;
  --link: #f2b33d;
}

* {
  box-sizing: border-box;
}

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

main {
  width: min(100% - 32px, 720px);
  margin: 24px auto 48px;
  padding: 24px 28px 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

h1 {
  margin: 8px 0 0;
  font-size: 1.75rem;
  letter-spacing: -0.015em;
}

h2 {
  margin: 28px 0 6px;
  font-size: 1.125rem;
}

p,
ul {
  margin: 0 0 12px;
}

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

.back,
.updated,
.footer {
  color: var(--muted);
  font-size: 0.9375rem;
}

.lede {
  font-size: 1.0625rem;
  font-weight: 600;
}

.footer {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

@media (max-width: 560px) {
  main {
    margin-top: 12px;
    padding: 18px 18px 20px;
  }
}
