/* legal.css: /privacy and /terms (web/privacy.html, web/terms.html) on the marketing chrome since
 * 2026-10-24 (docs/UI_UX_OVERHAUL_BRIEF.md). They used their own sheet (a palette, Segoe UI, an
 * old logo bar); now they share the header, footer and frame of every public page (home.css), and
 * the policy is prose in one readable column. Every colour is a whizply.css token, so the pages
 * follow the palette and dark mode like the rest of the site. The wording is untouched. */

.hm-legal .hm-head { margin-bottom: 12px; }
.legal-updated { margin: 14px 0 0; font-size: var(--fs-md); font-weight: 600; color: var(--ink); }
.legal { max-width: 760px; }
.legal .nw { white-space: nowrap; }   /* a pincode never breaks at its hyphen */
.legal h2 { margin: 40px 0 12px; font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: 700; letter-spacing: -.01em; color: var(--ink-heading, var(--ink)); scroll-margin-top: 24px; }
.legal h3 { margin: 28px 0 8px; font-size: var(--fs-lead); line-height: 1.35; font-weight: 700; color: var(--ink); }
.legal p, .legal li { font-size: var(--fs-lead); line-height: 1.7; font-weight: 500; color: var(--ink); }
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { margin: 8px 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal li::marker { color: var(--accent-deep); }
.legal strong, .legal b { font-weight: 700; color: var(--ink); }
.legal a { color: var(--accent-deep); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal code { font-family: var(--font-mono); font-size: .92em; padding: 1px 5px; border-radius: var(--r-xs); background: var(--surface-2); }
.legal pre { margin: 8px 0 16px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-xs); background: var(--surface); color: var(--ink); overflow-x: auto; }
.legal pre code { padding: 0; background: none; font-size: var(--fs-md); line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .legal h2 { margin-top: 32px; }   /* --fs-h2 is 22 on phones, like every public H2 (was 16, the body size) */
  .legal p, .legal li { font-size: var(--fs-md); }
}
