/* AntiGroom hosted pages — privacy, support, terms.
   Self-contained: no external fonts, scripts, or requests of any kind. A page
   that states a privacy position should not itself phone home to a CDN. Palette
   and type character echo the app (lib/theme.ts): serif for reading, one muted
   accent, no state colour. */

:root {
  --bg: #f3efe7;
  --surface: #fbf9f4;
  --ink: #23221c;
  --ink2: #57554c;
  --ink3: #847f72;
  --line: #e1dbce;
  --accent: #7c6540;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131316;
    --surface: #1c1c21;
    --ink: #e7e4dc;
    --ink2: #aeaca3;
    --ink3: #8a887f;
    --line: #2e2e35;
    --accent: #b89b72;
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}

.overline {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink3);
  margin: 0 0 0.75rem;
}

h1 {
  font-size: 1.9rem;
  line-height: 1.2;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--ink);
}

h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 2.25rem 0 0.5rem;
  color: var(--ink);
}

p,
li {
  color: var(--ink2);
  margin: 0.75rem 0;
}

strong {
  color: var(--ink);
  font-weight: 600;
}

.updated {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.85rem;
  color: var(--ink3);
  margin: 0 0 2rem;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.placeholder {
  color: var(--accent);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.9em;
}

nav.footer {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.9rem;
}

nav.footer a {
  color: var(--ink3);
  margin-right: 1.25rem;
}

ul {
  padding-left: 1.25rem;
}
