/* privacy.html / terms.html are plain static files (public/, not a Vite
   build entry) so they render without depending on the JS bundle. That
   means they can't reference src/styles.css's hashed, JS-bundled output —
   these tokens mirror body[data-theme="mahogany"] there and must be kept
   in sync with it by hand. */
:root {
  color-scheme: dark;
  --bg: #1a0f08;
  --bg-elevated: #271710;
  --fg: #f4ead4;
  --fg-muted: #b8a583;
  --fg-dim: #928068;
  --accent-bright: #e0b079;
  --border: #3a210f;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

a {
  color: var(--accent-bright);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--fg);
  text-decoration: underline;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 0.5rem;
  font-weight: 600;
  line-height: 1.2;
}

h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--fg);
}

p {
  margin: 0 0 1rem;
  color: var(--fg-muted);
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--fg-muted);
}

li {
  margin-bottom: 0.5rem;
}

.updated {
  color: var(--fg-dim);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.back {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.9375rem;
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0 1.5rem;
}

footer {
  color: var(--fg-dim);
  font-size: 0.875rem;
}

footer a + a {
  margin-left: 1rem;
}
