/* Shared styles for the plain text pages (privacy, contact). Same design tokens as index.html: Radix Slate, Newsreader + Geist, light and dark. */
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("/fonts/newsreader-latin-v26.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/fonts/geist-latin-v5.woff2") format("woff2"); }
@font-face { font-family: "Newsreader Fallback"; src: local("Georgia"); size-adjust: 94%; ascent-override: 92%; descent-override: 25%; }
@font-face { font-family: "Geist Fallback"; src: local("Arial"); size-adjust: 102%; ascent-override: 92%; descent-override: 22%; }

:root {
  --bg: #fcfcfd; --line: #d9d9e0; --text: #1c2024; --muted: #60646c; --link: #0d74ce; --focus: #5eb1ef;
  --display: "Newsreader", "Newsreader Fallback", Georgia, serif;
  --ui: "Geist", "Geist Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) { :root { --bg: #111113; --line: #363a3f; --text: #edeef0; --muted: #b0b4ba; --link: #70b8ff; --focus: #2870bd; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.65 var(--ui); -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 44rem; margin: 0 auto; padding: 0 1.25rem; }
header { border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; max-width: 75rem; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; font: 500 1.125rem/1 var(--display); letter-spacing: -0.01em; color: var(--text); text-decoration: none; }
.back { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.875rem; font-weight: 500; color: var(--text); text-decoration: none; }
.back:hover { text-decoration: underline; }

main { padding: 3.5rem 0 4.5rem; }
h1 { margin: 0 0 0.5rem; font: 400 clamp(2.125rem, 1.4rem + 3vw, 3rem)/1.08 var(--display); letter-spacing: -0.025em; text-wrap: balance; }
h2 { margin: 2.5rem 0 0.5rem; font: 400 1.5rem/1.2 var(--display); letter-spacing: -0.01em; }
p, ul { margin: 0 0 1rem; max-width: 62ch; text-wrap: pretty; }
ul { padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; }
.updated { color: var(--muted); font-size: 0.875rem; }
.lead { font-size: 1.1875rem; color: var(--text); }

footer { border-top: 1px solid var(--line); padding: 2rem 0 3rem; font-size: 0.875rem; color: var(--muted); }
footer .wrap { max-width: 75rem; display: grid; gap: 0.5rem; }
footer a { display: inline-block; margin-right: 1rem; padding: 0.5rem 0; }
