/* Shared styles for the legal pages (terms, privacy). Dark theme matches
   the app; intentionally minimal — no JS, no tracking. */
:root {
  --bg: #0F0F1A;
  --surface: #1E1E2E;
  --border: #2a2a3a;
  --text: #ffffff;
  --muted: #8a8a9a;
  --dim: #6a6a7a;
  --accent: #F43F5E;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Inter, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  padding: 32px 20px 64px;
}
main {
  max-width: 720px;
  margin: 0 auto;
}
header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 24px;
}
header a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}
header a:hover { color: var(--text); }
h1 {
  font-size: 28px;
  font-weight: 800;
  margin: 12px 0 4px;
}
.updated {
  color: var(--dim);
  font-size: 13px;
  margin: 0;
}
h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 8px;
}
h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 20px 0 4px;
  color: var(--muted);
}
p, li {
  color: var(--text);
}
.muted, .muted * {
  color: var(--muted);
}
ul {
  padding-left: 20px;
}
li {
  margin: 4px 0;
}
a {
  color: var(--accent);
}
code {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
}
footer {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--dim);
  font-size: 13px;
}
