/* The privacy notice and terms (/privacy, /terms). Standalone: no app script,
   no web fonts, readable without JavaScript. Light by default, dark when the
   system asks for it. */
:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #1f2933;      /* 14.9:1 on --surface */
  --muted: #52606d;     /* 6.4:1 */
  --accent: #4f46e5;    /* 6.3:1 */
  --border: #d9e2ec;
  --note-bg: #eef0fe;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --surface: #131a2e;
    --text: #e6edf3;     /* 14.6:1 */
    --muted: #a8b3c2;    /* 8.1:1 */
    --accent: #a5b4fc;   /* 8.9:1 */
    --border: #2a3550;
    --note-bg: #16233a;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  padding: 32px 16px 64px;
}
main { max-width: 820px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 32px clamp(18px, 5vw, 48px); }
header { border-bottom: 1px solid var(--border); margin-bottom: 24px; padding-bottom: 16px; }
h1 { font-size: 1.9rem; line-height: 1.25; margin: 0 0 6px; }
h2 { font-size: 1.25rem; margin: 32px 0 10px; }
h3 { font-size: 1.05rem; margin: 20px 0 6px; }
p, li { max-width: 72ch; }
a { color: var(--accent); text-underline-offset: 2px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
.meta { color: var(--muted); margin: 0; }
.note { background: var(--note-bg); border-left: 4px solid var(--accent); padding: 12px 16px; border-radius: 6px; margin: 16px 0; }
.toc { columns: 2 16rem; padding-left: 1.2rem; }
.table-wrap { overflow-x: auto; margin: 12px 0; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.95rem; }
th, td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: var(--note-bg); }
footer { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.9rem; }
caption { text-align: left; padding-bottom: 6px; }
