/* =====================================================================
   Legal pages (/privacy/, /terms/) — styles used ONLY on these pages.
   Shared styles (colours, buttons, nav, footer) are in /assets/css/site.css.
   Every colour is a site variable, so dark and light mode both work.

   Page sections and their class names:
     • Heading .......... .legal-hero, .legal-h
     • Legal text ....... .legal-body, .prose (headings, paragraphs, lists, links)
   ===================================================================== */
/* Draft banner (shown while a page has legalDraft: true in its front matter) */
.legal-draft{margin:32px 0 0;padding:14px 18px;border-radius:12px;border:1px solid var(--warmline);background:var(--warmbg);color:var(--text);font-size:16px;line-height:1.5}
.legal-draft strong{font-weight:600}
.legal-hero{padding:96px 0 0}
.legal-h{font-size:clamp(48px,7vw,96px);line-height:.95;letter-spacing:-.05em;font-weight:300;margin:0;color:var(--text)}
.legal-body{padding:48px 0 120px}

/* Legal text: comfortable line length, site fonts and colours */
.prose{max-width:68ch;font-size:17px;line-height:1.7;color:var(--text2);overflow-wrap:break-word}
.prose > :first-child{margin-top:0}
.prose p,.prose ul,.prose ol{margin:0 0 1em}
.prose h2{font-size:clamp(24px,2.4vw,30px);line-height:1.2;letter-spacing:-.02em;font-weight:500;color:var(--text);margin:2em 0 .6em}
.prose h3{font-size:20px;line-height:1.3;letter-spacing:-.01em;font-weight:500;color:var(--text);margin:1.5em 0 .4em}
.prose strong{color:var(--text);font-weight:600}
.prose em{color:var(--text3)}
.prose a{color:var(--accent);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.prose a:hover{text-decoration-thickness:2px}
.prose ul,.prose ol{padding-left:1.4em}
.prose li{margin:.35em 0}
.prose li::marker{color:var(--accent)}

/* Phones */
@media (max-width:720px){
  .legal-hero{padding-top:64px}
  .legal-body{padding:32px 0 96px}
  .prose{font-size:16px}
}
