/* Shared styles for the static legal pages (privacy.html, terms.html).
   Self-contained on purpose: no fonts, scripts or trackers from third parties. */
:root {
  --bg: #fbf8f4;
  --text: #1e293b;
  --muted: #475569;
  --accent: #0d9488;
  --rule: #e2e8f0;
  --card: #ffffff;
  --todo-bg: #fef3c7;
  --todo-text: #92400e;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f172a;
    --text: #e2e8f0;
    --muted: #94a3b8;
    --accent: #2dd4bf;
    --rule: #334155;
    --card: #1e293b;
    --todo-bg: #78350f;
    --todo-text: #fde68a;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}
header a.home {
  color: var(--accent);
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
}
h1 {
  font-size: 30px;
  line-height: 1.2;
  margin: 24px 0 4px;
}
h2 {
  font-size: 21px;
  margin: 36px 0 8px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
h3 {
  font-size: 17px;
  margin: 24px 0 4px;
}
p,
li {
  color: var(--text);
}
.meta {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 16px;
}
a {
  color: var(--accent);
}
.callout {
  background: var(--card);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 16px 0;
}
mark.todo {
  background: var(--todo-bg);
  color: var(--todo-text);
  padding: 0 4px;
  border-radius: 4px;
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
  margin: 12px 0;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 8px 10px;
  border-bottom: 1px solid var(--rule);
}
th {
  color: var(--muted);
  font-weight: 600;
}
footer {
  margin-top: 48px;
  color: var(--muted);
  font-size: 14px;
}
