/* Privacy and terms pages: same colours as the app, light and dark. */
:root {
  color-scheme: light dark;
  --bg: #f6f8fb;
  --fg: #0f172a;
  --muted: #64748b;
  --card: #ffffff;
  --border: #e2e8f0;
  --brand: #2563eb;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0b1220; --fg: #e2e8f0; --muted: #94a3b8; --card: #111a2e; --border: #1e293b; --brand: #60a5fa; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
main { max-width: 720px; margin: 0 auto; padding: 20px 16px 48px; }
header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
header a:first-child { font-weight: 700; letter-spacing: 0.04em; color: var(--fg); text-decoration: none; }
a { color: var(--brand); }
h1 { margin: 24px 0 4px; font-size: 1.7rem; letter-spacing: -0.01em; }
h2 { margin: 28px 0 8px; font-size: 1.15rem; }
.muted { color: var(--muted); margin-top: 0; }
ul { padding-left: 22px; }
li { margin: 6px 0; }
table { width: 100%; border-collapse: collapse; margin: 8px 0; background: var(--card); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
th { width: 32%; font-weight: 600; }
tr:last-child th, tr:last-child td { border-bottom: 0; }
footer { margin-top: 36px; padding-top: 12px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.9rem; }
@media (max-width: 520px) {
  table, tbody, tr, th, td { display: block; width: 100%; }
  th { border-bottom: 0; padding-bottom: 0; }
}
