/* Shared styles for catkeys' static pages (privacy, changelog).
 *
 * Separate file rather than inline <style>, per this repo's frontend conventions — which is also
 * what lets both pages carry a `default-src 'none'` CSP with no 'unsafe-inline' grant. Palette
 * matches landing.css and the vault's app.css so all three read as one product.
 */

:root {
  color-scheme: dark;
  --bg: #0e0f12;
  --fg: #e8e6e3;
  --muted: #9b9894;
  --accent: #7aa2f7;
  --border: #2a2d34;
}

body {
  margin: 0;
  font: 16px/1.65 ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--fg);
}

main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.back { margin: 0 0 2rem; font-size: 0.9rem; }
.back a, .footer a { color: var(--accent); text-decoration: none; }
.back a:hover, .footer a:hover { text-decoration: underline; }

h1 { font-size: 1.7rem; margin: 0 0 1rem; letter-spacing: 0.01em; }

h2 {
  font-size: 1.05rem;
  margin: 2.25rem 0 0.6rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.lede { font-size: 1.05rem; color: var(--fg); margin: 0 0 0.5rem; }

p { margin: 0 0 0.9rem; }
ul { margin: 0 0 0.9rem; padding-left: 1.3rem; }
li { margin: 0 0 0.35rem; }

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

section { margin: 0 0 0.5rem; }

.footer {
  margin: 3rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
}
