/* Legal pages (privacy, contact and legal notice). Builds on strll.css: same nav, footer, tokens.
   Navy title band like the magazine cover, then one readable text column on --bg.
   Sections are separated by a navy line, not by cards (DESIGN.md: flat, max two levels). */

.legal-head { background: var(--ink); color: #fff; padding: calc(var(--nav-h, 72px) + var(--space-6)) 0 var(--space-6); }
.legal-kicker { margin: 0; font-size: var(--fs-14); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mint); }
.legal-head h1 { color: #fff; font-size: clamp(2.5rem, 6vw, var(--fs-64)); font-weight: 800; line-height: 1.02; margin: var(--space-2) 0 var(--space-2); max-width: 16ch; }
.legal-lede { margin: 0; max-width: 52ch; font-size: var(--fs-19); line-height: 1.5; color: rgba(255, 255, 255, 0.88); }

/* padding-top/bottom only: the shorthand would wipe the .container side padding */
.legal-body { padding-top: var(--space-6); padding-bottom: var(--space-7); }
.legal-text { max-width: 70ch; }
/* Override the global section padding from strll.css (96 to 128 px is for landing sections) */
.legal-text section { padding: var(--space-3) 0 0; margin-top: var(--space-5); border-top: 1px solid var(--ink); }
.legal-text section:first-child { margin-top: 0; }
.legal-text h2 { font-size: var(--fs-24); margin: 0 0 var(--space-2); scroll-margin-top: calc(var(--nav-h, 72px) + var(--space-2)); }
.legal-text h3 { font-size: var(--fs-19); margin: var(--space-4) 0 var(--space-1); }
.legal-text p, .legal-text li { font-size: var(--fs-16); line-height: 1.65; }
.legal-text p { margin: 0 0 var(--space-2); }
.legal-text ul { margin: 0 0 var(--space-2); padding-left: 1.25em; }
.legal-text li { margin-bottom: var(--space-1); }
.legal-text a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal-text a:hover { text-decoration-thickness: 2px; }
.legal-text address { font-style: normal; margin: 0 0 var(--space-2); line-height: 1.65; }
.legal-meta { color: var(--ink-muted); }

/* Table of contents for the privacy policy */
.legal-toc { margin: 0 0 var(--space-5); padding: 0; list-style: none; columns: 2; column-gap: var(--space-4); }
.legal-toc li { margin: 0 0 var(--space-1); break-inside: avoid; }
.legal-toc a { color: var(--ink); text-decoration: none; font-weight: 600; }
.legal-toc a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Contact: the e-mail address is the one action on the page */
.legal-mail { display: inline-block; margin: var(--space-1) 0 var(--space-2); font-family: var(--font-display); font-size: var(--fs-32); font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 6px; overflow-wrap: anywhere; }

@media (max-width: 720px) {
  .legal-toc { columns: 1; }
  .legal-mail { font-size: var(--fs-24); }
}

/* .btn sets display and would override the hidden attribute (confirmation page button). */
.legal-text [hidden] { display: none; }
