/* The terms and privacy pages: plain static pages at the site's root, so they open signed
   in or out and without the app. The same colors and fonts as the app (web/src/styles.css),
   dark by default and light when the phone asks for it. */

:root {
  color-scheme: dark;
  --bg: #0b0b0c;
  --surface: #111113;
  --border: #262629;
  --text: #f3f3f4;
  --muted: #a0a0a7;
  --accent: #8f7dff;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #f4f4f6;
    --surface: #ffffff;
    --border: #dcdce2;
    --text: #0b0b0c;
    --muted: #5b5b64;
    --accent: #5b45e0;
  }
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); }
a { color: var(--accent); }

.top { border-bottom: 1px solid var(--border); background: var(--surface); }
.top .wrap { display: flex; align-items: center; gap: 10px; padding-top: 12px; padding-bottom: 12px; }
.home { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: 0.02em; }
.home img { width: 30px; height: 30px; }
.home .on-light { display: none; }
@media (prefers-color-scheme: light) {
  .home .on-dark { display: none; }
  .home .on-light { display: block; }
}

.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
main.wrap { padding-top: 28px; padding-bottom: 48px; }
h1 { font-size: 32px; line-height: 1.2; margin: 0 0 6px; font-stretch: 68%; font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; }
.lede { color: var(--muted); margin: 0 0 20px; }
.toc { border: 1px solid var(--border); border-radius: 8px; background: var(--surface); padding: 12px 16px; margin: 0 0 28px; font-size: 14px; }
.toc b { display: block; margin-bottom: 4px; }
.toc ul { margin: 0; padding-left: 18px; columns: 2; column-gap: 24px; }
@media (max-width: 520px) { .toc ul { columns: 1; } }
h2 { font-size: 19px; line-height: 1.3; margin: 28px 0 6px; }
p, li { margin: 0 0 10px; }
section ul { padding-left: 20px; }
footer { border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }
footer .wrap { padding-top: 16px; padding-bottom: 24px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
