/* Layout for the legal pages (privacy.html, terms.html). */
.legal-hero { padding: 72px 0 32px; border-bottom: 1px solid var(--border); }
/* The hero's .container inherits base.css's 1200px while .legal-body is 820px
   centred, so above 1200px the title sat ~190px left of every paragraph under
   it. Match the body, and the two read as one column. */
.legal-hero .container { max-width: 820px; padding-left: 24px; padding-right: 24px; }
.legal-hero h1 { font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 800; color: var(--text-bright); letter-spacing: -0.02em; margin-bottom: 12px; }
.legal-hero .updated { color: var(--text-muted); font-size: 0.95rem; }
.legal-body { max-width: 820px; margin: 0 auto; padding: 48px 24px 96px; }
.legal-body h2 { font-size: 1.4rem; font-weight: 700; color: var(--text-bright); margin: 40px 0 14px; letter-spacing: -0.01em; }
.legal-body h3 { font-size: 1.08rem; font-weight: 600; color: var(--text-bright); margin: 28px 0 10px; }
.legal-body p, .legal-body li { color: var(--text); line-height: 1.75; }
.legal-body p { margin-bottom: 14px; }
.legal-body ul, .legal-body ol { margin: 0 0 18px 22px; }
.legal-body li { margin-bottom: 8px; }
.legal-body a { color: var(--accent-light); }
/* display:block so a wide table scrolls inside itself rather than widening
   the page; width:100% then applies to the block, not to a table box. */
.legal-body table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; margin: 18px 0 24px; font-size: 0.93rem; }
.legal-body th, .legal-body td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal-body th { background: var(--surface); color: var(--text-bright); font-weight: 600; }
.legal-body strong { color: var(--text-bright); }
