/* legal.css: the five legal pages (privacy policy, terms, US state notice, privacy choices, privacy request).
   One layout, measured from the live Framer pages: a cream page, the "Legal & Privacy" menu on the left
   (desktop: pinned beside the text; below 1200px: stacked above it), then the document.
   Desktop from 1200px wide; tablet and phone share one layout, as live. */

.legal-page { position: relative; background: #faf9f4; color: #000; }

/* ---------- Left menu ---------- */
.legal-menu { position: absolute; z-index: 1; top: 80px; left: 40px; width: 260px; padding: 20px; display: flex; flex-direction: column; gap: 20px; }
.legal-menu-title { font: 600 14px/1.2em var(--mono); color: var(--gold); }
.legal-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.legal-menu li { font: 500 16px/1.2em var(--ui); }
.legal-menu a { font: 500 16px/1.2em var(--ui); color: #000; }
.legal-menu a:hover, .legal-menu a[aria-current="page"] { color: var(--gold); }

/* ---------- The document ---------- */
.legal-content { max-width: 1200px; margin: 0 auto; padding: 80px 40px 80px 340px; display: flex; flex-direction: column; align-items: flex-start; gap: 40px; }
.legal-content > * { width: 100%; }
.legal-page h1 { font: 600 48px/1.15em "Inter Display", var(--ui); }
.legal-doc p, .legal-doc h2, .legal-doc li, .legal-page h1, .legal-table p { white-space: pre-wrap; word-wrap: break-word; word-break: break-word; }
.legal-doc p, .legal-doc li, .legal-table p { font: 400 16px/1.7em var(--ui); }
.legal-doc h2 { font: 600 24px/1.3em "Inter Display", var(--ui); }
.legal-doc > * + * { margin-top: 20px; }     /* Framer's 20px paragraph spacing */
.legal-doc ul, .legal-doc ol { margin-bottom: 0; padding: 0; list-style: none; position: relative; }
.legal-doc li { position: relative; padding-inline-start: 2ch; }
.legal-doc ul > li::before { content: "•"; position: absolute; inset-inline-start: 0; }
.legal-page strong { font-weight: 700; }
.legal-doc a { color: inherit; }
.legal-doc a:hover { color: var(--cyan); }

/* ---------- Retention tables (privacy policy): outlined box, one ruled row per data type ---------- */
.legal-table { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px; }
.legal-table::after, .legal-table .row::after { content: ""; position: absolute; inset: 0; pointer-events: none; border: 0 solid #000; }
.legal-table::after { border-width: 1px; }      /* drawn over the box, as Framer does: takes no room */
.legal-table .row { position: relative; display: grid; grid-template-columns: repeat(2, minmax(50px, 1fr)); gap: 20px; padding: 20px; }
.legal-table .row::after { border-bottom-width: 1px; }
.legal-table .th { font-weight: 600; }

/* ---------- Yellow e-mail button ---------- */
.legal-button { width: auto !important; display: block; padding: 10px 20px; border-radius: 10px; background: var(--gold); white-space: pre; font: 600 14px/1.2em var(--ui); color: #000; }

/* Live's footer is 329.984375px tall (384.984375px on phones), not 330/385: matters when it starts on a half pixel. */
.legal-page ~ .site-footer { height: 368.984375px; }   /* +39px for the screenings row (11 Nov 2026; +55px on phones) */

/* Live's legal pages have no "Cookie Settings" button under the footer (every other page does). */
.legal-page ~ .cookie-settings { display: none; }

/* ---------- Tablet and phone (below 1200px): menu above the text ---------- */
@media (max-width: 1199.98px) {
  .legal-menu { position: relative; top: auto; left: auto; width: 100%; padding: 40px; }
  .legal-content { padding: 40px 20px; }
  .legal-page h1 { font-size: 36px; }
  .legal-table .row { display: flex; flex-direction: column; align-items: flex-start; }
  .legal-table .row > div { width: 100%; }
}
@media (max-width: 809.98px) {
  .legal-page ~ .site-footer { height: 439.984375px; }
}
