/* Shared styling for the standalone legal/policy pages (terms, privacy,
   delete-account). These are served as plain static files and must render
   without the app bundle or a session, so this is deliberately self-contained
   and mirrors the app's palette rather than importing from it. */
:root {
  --ink: #1f2430; --ink-soft: #5a6473; --ink-faint: #8b95a5;
  --paper: #faf7f2; --surface: #fff; --line: rgba(0, 0, 0, 0.12);
  --accent: #b8791f; --danger: #c0392b;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef1f6; --ink-soft: #c7cdd8; --ink-faint: #8a93a3;
    --paper: #0a0e16; --surface: #141b28; --line: rgba(255, 255, 255, 0.09);
    --accent: #f7c078;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0; padding: 2.5rem 1.25rem 4rem;
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  background: var(--paper); color: var(--ink);
}
main { max-width: 44rem; margin: 0 auto; }
h1 { font-family: var(--serif); font-size: 1.9rem; line-height: 1.2; margin: 0 0 0.4rem; }
h2 { font-family: var(--serif); font-size: 1.15rem; margin: 2.2rem 0 0.6rem; }
h3 { font-size: 0.95rem; margin: 1.4rem 0 0.4rem; }
.lede { color: var(--ink-soft); margin: 0 0 0.5rem; }
.updated { color: var(--ink-faint); font-size: 0.85rem; margin: 0 0 2rem; }
ol, ul { padding-left: 1.25rem; }
li { margin: 0.35rem 0; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 1rem 1.25rem; margin: 1rem 0;
}
.warn { border-color: rgba(192, 57, 43, 0.35); }
.warn strong { color: var(--danger); }
table { border-collapse: collapse; width: 100%; font-size: 0.92rem; margin: 0.8rem 0; }
th, td { text-align: left; padding: 0.55rem 0.5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink-faint); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
a { color: var(--accent); }
code { background: var(--surface); border: 1px solid var(--line); border-radius: 5px; padding: 0.1em 0.35em; font-size: 0.9em; }
footer { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--ink-faint); font-size: 0.86rem; }
footer a { margin-right: 1rem; }
/* Unfilled details that must be completed before launch — deliberately loud. */
.todo {
  background: rgba(192, 57, 43, 0.1); border: 1px dashed var(--danger);
  color: var(--danger); border-radius: 5px; padding: 0.05em 0.4em;
  font-weight: 700; font-size: 0.9em;
}
