/* Shared styles for the FoxReDial legal pages (tos/, privacy/) and the landing page. */
:root {
  --bg: #f3f5ef;
  --surface: #ffffff;
  --ink: #1d2420;
  --muted: #5b655f;
  --line: #d9ded5;
  --accent: #2563eb;
  --on-accent: #ffffff;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14181d;
    --surface: #1c2229;
    --ink: #e6e9ec;
    --muted: #9aa4ad;
    --line: #2e3640;
    --accent: #7aa7ff;
    --on-accent: #0b1220;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
main.doc {
  max-width: 760px;
  margin: 40px auto;
  padding: 32px 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
@media (max-width: 720px) {
  main.doc { margin: 0; padding: 24px 16px; border: 0; border-radius: 0; }
}
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 4px; }
h2 { font-size: 1.2rem; margin: 2em 0 0.4em; }
.meta { color: var(--muted); margin: 0 0 24px; }
a { color: var(--accent); }
nav { margin-bottom: 24px; font-size: 0.95rem; }
nav a { margin-right: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 8px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
code { font-size: 0.9em; overflow-wrap: anywhere; }
footer { margin-top: 40px; color: var(--muted); font-size: 0.9rem; }
