/* The privacy policy, terms and account deletion pages (privacy.html, terms.html, delete-account.html). */
:root {
  color-scheme: light;
  --page: #f4f4f1;
  --surface-1: #fcfcfb;
  --line: #e2e1dc;
  --text-primary: #0b0b0b;
  --text-secondary: #52514e;
  --text-muted: #7a7974;
  --accent: #8a6700;
  --critical: #c22f2f;
  --good: #0a840a;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --page: #121211;
    --surface-1: #1a1a19;
    --line: #33332f;
    --text-primary: #ffffff;
    --text-secondary: #c3c2b7;
    --text-muted: #8f8e86;
    --accent: #ead44c;
    --critical: #f06a6a;
    --good: #4cc44c;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #121211;
  --surface-1: #1a1a19;
  --line: #33332f;
  --text-primary: #ffffff;
  --text-secondary: #c3c2b7;
  --text-muted: #8f8e86;
  --accent: #ead44c;
  --critical: #f06a6a;
  --good: #4cc44c;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--page); color: var(--text-primary);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
main { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
h1 { font-size: 28px; line-height: 1.2; margin: 0 0 6px; }
h2 { font-size: 19px; margin: 32px 0 8px; }
.meta { color: var(--text-muted); font-size: 14px; margin: 0 0 24px; }
p, li { color: var(--text-secondary); }
li { margin: 4px 0; }
strong { color: var(--text-primary); }
a { color: var(--accent); }
table { border-collapse: collapse; width: 100%; font-size: 14px; margin: 8px 0; }
th, td { text-align: left; vertical-align: top; padding: 8px; border-bottom: 1px solid var(--line); color: var(--text-secondary); }
th { color: var(--text-primary); font-weight: 600; }
.tablewrap { overflow-x: auto; }
.card { background: var(--surface-1); border: 1px solid var(--line); border-radius: 10px; padding: 20px; margin: 20px 0; }
button, input {
  font: inherit; color: var(--text-primary); background: var(--surface-1); border: 1px solid var(--line);
  border-radius: 8px; padding: 10px 14px; min-height: 44px;
}
button { cursor: pointer; }
button.primary { background: var(--text-primary); color: var(--surface-1); border-color: var(--text-primary); }
button.danger { background: var(--critical); color: #fff; border-color: var(--critical); }
button:disabled { opacity: .5; cursor: default; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 12px 0; }
.row input { flex: 1 1 220px; min-width: 0; }
.err { color: var(--critical); }
.ok { color: var(--good); }
.hidden { display: none !important; }
footer { color: var(--text-muted); font-size: 13px; margin-top: 48px; border-top: 1px solid var(--line); padding-top: 16px; }
