/* The site's plain pages - privacy, changelog, licence. Read before the app has run
   anything, so they carry their own small stylesheet rather than styles.css, and use
   the same colour tokens so they match the app, light or dark. */
:root {
  color-scheme: light dark;
  --bg: #f3f5fa; --surface: #ffffff; --line: #dde3ee;
  --ink: #16203a; --ink-2: #5b6784; --accent: #2f5bd6;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0b1224; --surface: #131c33; --line: #27324f;
          --ink: #eef2fb; --ink-2: #a6b1cc; --accent: #6d93ff; }
}
* { box-sizing: border-box; }
/* The same guard as styles.css: a rule's own `display` beats the [hidden] attribute,
   which bit the app five times by Nov 2026. Nothing here uses [hidden] yet. */
[hidden] { display: none !important; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
main { max-width: 680px; margin: 0 auto; padding: 28px 16px 56px; }
.back { display: inline-block; margin-bottom: 18px; color: var(--accent); text-decoration: none; font-weight: 600; }
.back:hover, a:hover { text-decoration: underline; }
h1 { font-size: 1.7rem; line-height: 1.2; margin: 0 0 6px; letter-spacing: -.01em; }
.lede { margin: 0 0 22px; color: var(--ink-2); font-size: 1.05rem; }
h2 { font-size: 1.15rem; margin: 30px 0 8px; }
h3 { font-size: 1rem; margin: 22px 0 6px; }
p, li { margin: 0 0 10px; }
ul { padding-left: 1.2em; }
a { color: var(--accent); }
code { font-size: .92em; padding: 1px 5px; border-radius: 5px; background: var(--surface); border: 1px solid var(--line); }
hr { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }
table { width: 100%; border-collapse: collapse; margin: 8px 0 14px; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); }
th { color: var(--ink-2); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin: 14px 0; }
.card p:last-child { margin-bottom: 0; }
.muted { color: var(--ink-2); font-size: .9rem; }
pre.plain {
  white-space: pre-wrap; overflow-wrap: anywhere;
  margin: 0; padding: 16px 18px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line);
  font: 14px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* The changelog's feed link (tools/render_pages.py). */
.feed { margin: 4px 0 18px; font-size: 14px; color: var(--ink-2, #5b6784); }
