/* Shared by both pages. Plain CSS, no build step, no external font: the site has to be
   hostable by dropping the folder anywhere, and a privacy policy that pulls a font from
   a third-party CDN would contradict itself on the first request.
   Colours follow the app: parchment and ink by day, night and gold after dark. */
:root {
  color-scheme: light dark;
  --ink: #1f1b2e;
  --ink-soft: #5d566e;
  --bg: #f7f2e8;
  --rule: #e2d9c6;
  --accent: #8a6420;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #ece3cf;
    --ink-soft: #a79f8f;
    --bg: #15132a;
    --rule: #34304a;
    --accent: #d9b35c;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 2.5rem 1.25rem 5rem;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

main { max-width: 42rem; margin: 0 auto; }

h1 { font-family: "New York", "Iowan Old Style", Georgia, serif; font-size: 1.85rem; line-height: 1.25; margin: 0 0 .25rem; }
h2 { font-size: 1.2rem; margin: 2.5rem 0 .5rem; }
h3 { font-size: 1rem; margin: 1.75rem 0 .35rem; }

.meta { color: var(--ink-soft); font-size: .9rem; margin: 0 0 2rem; }
.lead { font-size: 1.05rem; }

ul { padding-left: 1.2rem; }
li { margin: .35rem 0; }

hr { border: 0; border-top: 1px solid var(--rule); margin: 4rem 0 3rem; }

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

.switch { margin: 0 0 2.5rem; font-size: .9rem; line-height: 2; }
.switch a { margin-right: 1rem; white-space: nowrap; }

strong { font-weight: 600; }
