/* Styling for the static public pages (about.html, privacy.html).
   ----------------------------------------------------------------------------
   These pages live outside the React bundle on purpose — they must be readable
   by a fetcher that never runs JavaScript — so they cannot import the app's
   design system. The token values below are copied from src/index.css; keep
   them in step if the palette changes. Text first, styling second: everything
   here is presentation, and every page must still read correctly with this
   file missing entirely. */

:root {
  --bg: #f5f6f3;
  --border: #e1e5dc;
  --text: #1a1f18;
  --muted: #5d6558;
  --accent: #15654a;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101310;
    --border: #2c322a;
    --text: #e8ece5;
    --muted: #a1aa9c;
    --accent: #58c295;
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
  max-width: 34rem;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

h1 {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

h2 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 2rem 0 0.75rem;
}

p,
li {
  margin: 0 0 0.75rem;
}

.lede {
  color: var(--muted);
  margin-bottom: 2rem;
}

ul {
  padding-left: 1.25rem;
}

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

footer {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  text-align: center;
}
