/* Legal pages: a slim night header, then one calm reading column. Same tokens as the start page. */
:root {
  --bg: #f6f5fc; --fg: #17183a; --muted: #57597a; --line: #dfdef1; --accent: #5b4bd6;
  --ph: #8a5a00; --ph-bg: #fff4d6;
  --night: #0c0e2c; --night-fg: #f0efff; --night-muted: #b7b5e0;
  --font-display: "Bricolage", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d0f26; --fg: #ecebff; --muted: #a4a3cc; --line: #262a52; --accent: #a99dff;
    --ph: #e2bb6c; --ph-bg: #261f12; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d0f26; --fg: #ecebff; --muted: #a4a3cc; --line: #262a52; --accent: #a99dff;
  --ph: #e2bb6c; --ph-bg: #261f12; color-scheme: dark;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-text-size-adjust: 100%; overflow-x: clip;
}
.top {
  background: radial-gradient(26rem 12rem at 100% 0%, rgba(138,124,255,0.3), transparent 70%), var(--night);
  color: var(--night-fg);
}
.back { color: var(--night-muted); text-decoration: none; font-size: 0.9rem; display: inline-block; padding-block: 0.3rem; }
.back:hover { color: #ffffff; }
main { padding-block: 2.5rem 3.5rem; }
/* same left edge as the logo, but lines no longer than they read well */
main > * { max-width: 42rem; }
h1, h2 { font-family: var(--font-display); line-height: 1.1; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 8vw, 3rem); font-weight: 800; font-stretch: 85%; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
h2 { font-size: 1.35rem; font-weight: 750; font-stretch: 90%; margin: 2.25rem 0 0.6rem; }
p, ul { margin: 0 0 0.9rem; }
ul { padding-left: 1.2rem; }
li { margin-bottom: 0.3rem; }
a { color: var(--accent); text-underline-offset: 0.15em; }
address { font-style: normal; margin-bottom: 0.9rem; }
.lead { font-size: 1.15rem; }
.muted { color: var(--muted); font-size: 0.92rem; }
.todo {
  border: 1.5px dashed var(--ph); background: var(--ph-bg); color: var(--ph);
  padding: 0.05rem 0.45rem; border-radius: 6px; font-size: 0.92em;
}
a:focus-visible { outline: 3px solid #ff7a6e; outline-offset: 3px; border-radius: 4px; }
