/* Shared by terms.html and privacy.html. Same tokens as index.php, trimmed to
   what a long read needs: one column, comfortable measure, the pole stripe. */
:root {
  --paper: #f3f4f7; --surface: #ffffff; --ink: #14161c; --muted: #555b6b;
  --line: #d8dbe3; --accent: #2a43d1; --pole: #cf3434; --fill: #fff1a8;
  --f-display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0e1015; --surface: #161922; --ink: #eef0f5; --muted: #9ba1b2;
    --line: #2a2f3c; --accent: #8193ff; --pole: #ff6a6a; --fill: #5a4a00;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0e1015; --surface: #161922; --ink: #eef0f5; --muted: #9ba1b2;
  --line: #2a2f3c; --accent: #8193ff; --pole: #ff6a6a; --fill: #5a4a00;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap {
  max-width: 760px; margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.top { background: var(--surface); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: baseline; gap: 10px; min-height: 64px; padding-block: 18px; }
.top a { color: var(--ink); text-decoration: none; display: flex; align-items: baseline; gap: 10px; }
.top b { font-family: var(--f-display); font-weight: 900; font-stretch: 125%; font-size: 1.35rem; }
.top span { font-size: 0.875rem; color: var(--muted); }
.pole {
  height: 10px;
  background: repeating-linear-gradient(-45deg,
    var(--pole) 0 14px, var(--surface) 14px 28px, var(--accent) 28px 42px, var(--surface) 42px 56px);
}
main { padding-block: 48px 72px; }
h1 { font-family: var(--f-display); font-weight: 900; font-stretch: 112%; font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); line-height: 1.05; margin: 0 0 8px; text-wrap: balance; }
.updated { font-family: var(--f-mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 32px; }
h2 { font-family: var(--f-display); font-weight: 800; font-stretch: 110%; font-size: 1.3rem; line-height: 1.2; margin: 40px 0 10px; text-wrap: balance; }
p, ul { margin: 0 0 14px; }
ul { padding-left: 1.3em; }
li + li { margin-top: 6px; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; margin: 0 0 14px; }
.table { overflow-x: auto; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
th { font-weight: 600; }
/* Facts the owner has to supply before upload. Loud on purpose: if one slips
   through to the live site it is obvious, and `grep CHANGE-ME` finds them all. */
mark.fill { background: var(--fill); color: var(--ink); padding: 0 4px; border-radius: 3px; }
footer { border-top: 1px solid var(--line); padding-block: 32px; color: var(--muted); font-size: 0.875rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer nav { display: flex; gap: 18px; }
