/* Privacy policy and terms: plain, readable documents in Bill Book's colors */
:root {
  --bg: #f4f3ee;
  --paper: #ffffff;
  --text: #17201b;
  --muted: #5d6a62;
  --line: #e2e3dd;
  --accent: #1f6f4a;
  --accent-soft: #e6f1ea;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111613;
    --paper: #18201c;
    --text: #e8eee9;
    --muted: #9aa8a0;
    --line: #2b352f;
    --accent: #5fc493;
    --accent-soft: #1d2e25;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
.wrap { max-width: 780px; margin: 0 auto; padding: 32px 20px 64px; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #1f6f4a; color: #fff; font-weight: 800; }
.top nav { display: flex; gap: 16px; font-size: .92rem; }
.top nav a[aria-current="page"] { color: var(--text); font-weight: 600; text-decoration: none; }
.doc { padding: 36px 40px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
h1 { margin: 0 0 6px; font-size: clamp(1.7rem, 4vw, 2.2rem); line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
.meta { margin: 0 0 24px; color: var(--muted); font-size: .92rem; }
h2 { margin: 36px 0 10px; padding-top: 4px; font-size: 1.25rem; line-height: 1.3; scroll-margin-top: 16px; }
h3 { margin: 22px 0 6px; font-size: 1.02rem; }
p, ul { margin: 0 0 14px; }
ul { padding-left: 22px; }
li + li { margin-top: 4px; }
.toc { margin: 0 0 8px; padding: 16px 20px; border-radius: 10px; background: var(--accent-soft); }
.toc strong { display: block; margin-bottom: 6px; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.toc ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 28px; font-size: .95rem; }
.callout { margin: 0 0 16px; padding: 14px 18px; border-left: 4px solid var(--accent); border-radius: 0 10px 10px 0; background: var(--accent-soft); }
.callout p:last-child { margin-bottom: 0; }
.foot { margin-top: 24px; color: var(--muted); font-size: .88rem; text-align: center; }
@media (max-width: 640px) {
  .doc { padding: 24px 20px; }
  .toc ol { columns: 1; }
}
@media print {
  body { background: #fff; color: #000; }
  .top nav, .foot { display: none; }
  .doc { border: 0; padding: 0; }
}
