/* Generated from site/src/styles/pages/legal.css by wordpress/tools/sync-theme-assets.mjs – edit the source, not this copy. */
/* Legal notice & privacy page (prototype/Legal.dc.html) */

/* Grey page header: breadcrumb, title, intro. */
.legal-head { background: var(--bg-soft); }
.legal-head__inner { max-width: var(--container-outer); margin-inline: auto; padding: clamp(40px, 5vw, 72px) var(--gutter); }
.legal-head__title { margin: 0 0 12px; font: 700 clamp(2.25rem, 4.5vw, 4rem)/1 var(--font); }

/* Sticky contents list beside the text. */
.legal-body { max-width: var(--container-outer); margin-inline: auto; padding: clamp(48px, 6vw, 88px) var(--gutter); display: flex; flex-wrap: wrap; gap: clamp(32px, 4vw, 64px); align-items: flex-start; }
/* content-box: flex-basis excludes the border and padding, as in the prototype. */
.legal-toc { box-sizing: content-box; flex: 1 1 220px; min-width: 0; position: sticky; top: 104px; border-left: 3px solid var(--red); padding-left: 20px; display: flex; flex-direction: column; gap: 12px; }
.legal-toc__label { margin: 0 0 4px; font: 700 var(--fs-small)/1 var(--font); letter-spacing: .1em; color: var(--muted); }
.legal-toc a { font: 400 var(--fs-body)/1.3 var(--font); color: var(--ink); text-decoration: none; }
.legal-toc a:hover { color: var(--red); }
.legal-content { flex: 3 1 480px; min-width: 0; max-width: 76ch; display: flex; flex-direction: column; gap: clamp(36px, 4vw, 56px); }

/* Sections; anchors land below the sticky header. */
.legal-section { scroll-margin-top: calc(var(--header-h) + 24px); }
.legal-section__title { margin: 0 0 16px; font: 700 clamp(1.625rem, 2.6vw, 2.25rem)/1.05 var(--font); }
.legal-subtitle { margin: 24px 0 10px; font: 700 1.375rem/1.1 var(--font); }
.legal-text { margin: 0 0 14px; font: 400 1.0625rem/1.65 var(--font); color: var(--text); }
.legal-text:last-child { margin-bottom: 0; }
.legal-dl { margin: 0 0 14px; display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; font: 400 1.0625rem/1.5 var(--font); color: var(--text); }
.legal-dl dt { font-weight: 700; color: var(--ink); }
.legal-dl dd { margin: 0; }
/* Smallest phones: stack term/value so long addresses and emails fit. */
@media (max-width: 359px) { .legal-dl { grid-template-columns: minmax(0, 1fr); row-gap: 4px; } .legal-dl dd { overflow-wrap: anywhere; margin-bottom: 8px; } }
/* Smaller variant of the global placeholder note. */
.legal-section .placeholder-note { font: 400 var(--fs-ui)/1.6 var(--font); padding: 16px; }
