/* The two published documents. Deliberately plain: no app chrome, no scripts, readable on a phone
   and printable. Colours come from variables.css so the pages follow the site's light/dark tokens. */
body.legal {
  margin: 0;
  background: var(--bg-primary, #0a0a0b);
  color: var(--text-primary, #e4e4e7);
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
  line-height: 1.6;
}
.legal-header {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid var(--border-primary, #27272a);
  font-size: 0.9rem;
}
.legal-header a { color: var(--text-secondary, #a1a1aa); text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .legal-header a:hover { color: var(--text-primary, #e4e4e7); }
}
.legal-main { max-width: 46rem; margin: 0 auto; padding: 1.5rem 1.2rem 4rem; }
.legal-main h1 { font-size: 1.5rem; margin: 0 0 1rem; }
.legal-main h2 { font-size: 1.15rem; margin: 2rem 0 0.6rem; }
.legal-main h3 { font-size: 1rem; margin: 1.4rem 0 0.4rem; }
.legal-main p, .legal-main li { color: var(--text-secondary, #a1a1aa); }
.legal-main strong { color: var(--text-primary, #e4e4e7); }
.legal-main code {
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 0.85em; padding: 0.1em 0.3em; border-radius: 4px;
  background: var(--bg-secondary, #18181b);
}
.legal-main blockquote {
  margin: 1rem 0; padding: 0.7rem 1rem;
  border-left: 3px solid var(--border-primary, #27272a);
  background: var(--bg-secondary, #18181b);
}
.legal-main blockquote p { margin: 0.3rem 0; }
/* Tables carry the retention periods and the processor list — the two things a reader checks. */
.table-wrap { overflow-x: auto; margin: 1rem 0; }
.legal-main table { border-collapse: collapse; width: 100%; font-size: 0.9rem; }
.legal-main th, .legal-main td {
  text-align: left; vertical-align: top; padding: 0.5rem 0.6rem;
  border-bottom: 1px solid var(--border-primary, #27272a);
}
.legal-main th { color: var(--text-primary, #e4e4e7); font-weight: 600; }
/* A blank the operator has not filled in. Loud on purpose: a draft that reads like a finished
   document is how an unfinished promise gets published. */
.legal-main mark.todo {
  background: rgba(234, 179, 8, 0.18);
  color: var(--accent-warning, #eab308);
  border: 1px dashed currentColor; border-radius: 4px;
  padding: 0 0.25rem; font-style: italic;
}
.draft-banner {
  margin: 0 0 1.5rem; padding: 0.7rem 1rem; border-radius: 8px;
  border: 1px solid var(--accent-warning, #eab308);
  background: color-mix(in srgb, var(--accent-warning, #eab308) 12%, transparent);
  color: var(--accent-warning, #eab308);
  font-size: 0.9rem;
}
/* No light-mode override here on purpose. variables.css defines the dark palette on :root and the
   light one under [data-theme="light"], which the app sets from the user's saved choice. A media
   query that repainted only the body — as the first version of this file did — left the page white
   with the quote blocks still dark, because those read the tokens. The pages follow the same tokens
   as everything else, and a reader arriving without the app's stored preference sees the dark
   palette, which is the default this product ships. */
