/* ============================================================================
   Zolzilla — legal document pages (privacy / terms / affiliate-disclosure /
   contact). Static + self-contained by design: an affiliate reviewer or a
   rights holder gets the full document on the first request, no JS.
   Tokens are DESIGN_SYSTEM.md v5 verbatim (same values as index.css @theme).
   Type styles (5, the manifesto cap): H1 27/900 · H2 19/900 · lede 17 ink ·
   body 15/1.75 · meta 13 muted. No cards, no radii — whitespace + 2 hairlines.
   ============================================================================ */
:root {
  --ink: #111827;
  --body: #333d49;
  --muted: #57606c;
  --faint: #9ca3af;
  --line: #e5e7eb;
  --tile: #f3f4f6;
  --tile-soft: #f9fafb;
  --save: #16a34a;
  --save-deep: #15803d;
  --link: #2563eb;
  --measure: 720px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Heebo', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: var(--body);
  background: #fff;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 2px; }
b, strong { font-weight: 700; color: var(--ink); }
/* Latin tokens (emails, paths, URLs) inside RTL text: isolate, never scramble */
.ltr { direction: ltr; unicode-bidi: isolate; }

/* ---- chrome: one narrow document axis, header + footer share the column ---- */
.bar {
  border-bottom: 1px solid var(--line);
}
.bar-inner {
  max-width: var(--measure);
  margin: 0 auto;
  height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.bar img { height: 26px; width: auto; display: block; }
.bar .back { font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.bar .back:hover { color: var(--ink); text-decoration: none; }

main {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 44px 24px 72px;
}

/* ---- the document ---- */
h1 { font-size: 27px; line-height: 1.3; font-weight: 900; color: var(--ink); margin: 0; }
.updated { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 28px 0 4px;
}
h2 { font-size: 19px; line-height: 1.4; font-weight: 900; color: var(--ink); margin: 40px 0 10px; }
p { margin: 0 0 14px; }
.lede { font-size: 17px; line-height: 1.85; color: var(--ink); }
ul, ol { margin: 0 0 14px; padding-inline-start: 22px; }
li { margin: 0 0 8px; }
li::marker { color: var(--faint); }

/* ---- footer: the document set + operator identity ---- */
.foot {
  border-top: 1px solid var(--line);
  background: var(--tile-soft);
}
.foot-inner {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 20px 24px 28px;
}
.docs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 13px;
  font-weight: 700;
}
.docs a { color: var(--body); }
.docs a:hover { color: var(--ink); }
.docs .here { color: var(--ink); font-weight: 900; }
.operator { margin: 12px 0 0; font-size: 12px; color: var(--muted); }

@media (max-width: 480px) {
  main { padding: 32px 18px 56px; }
  h1 { font-size: 24px; }
  .bar-inner { padding: 0 18px; }
  .foot-inner { padding: 18px 18px 26px; }
}
@media print {
  .bar .back, .foot .docs { display: none; }
  body { color: #000; }
  .foot { background: #fff; }
}
