/* Privacy, terms, cookies and accessibility. Night hero, then the sky climbs to day behind the paper sheet. */

/* Extra sky keys inside a long section: invisible, zero-size markers the sky engine reads. */
.sky-key { position: absolute; left: 0; width: 0; height: 0; pointer-events: none; }

/* Emphasis stays upright everywhere: weight carries it, never slant. */
em, i, cite, dfn { font-style: normal; }
.prose em, .prose i { font-weight: 650; }

/* Short hero: eyebrow, title, one-line summary, status line. */
.legal-hero { min-height: auto; padding-block: 8.5rem clamp(2.5rem, 6vh, 4rem); }
.legal-hero .page-hero__grid { grid-template-columns: minmax(0, 1fr); }
.legal-hero .page-hero__text { max-width: 52rem; }
.legal-hero h1 { font-size: clamp(2.6rem, min(10cqi, 11vh), 5.25rem); }
.legal-hero .lede { max-width: 52ch; }
.legal-hero .meta { padding-top: 1rem; border-top: 1px solid rgb(242 239 230 / 18%); max-width: 40rem; }
.legal-hero .meta strong { font-weight: 650; color: var(--ivory); }
@media (max-width: 760px) { .legal-hero { padding-top: 6.5rem; } }

/* The text on a paper sheet, with an optional table of contents on its own paper panel,
   so both read while the sky behind them moves from first light to day. */
.legal-body { padding-block: 1rem clamp(5rem, 12vh, 8rem); }
.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr); }
.legal-layout .sheet { max-width: 52rem; min-width: 0; border: 1px solid rgb(9 24 50 / 10%); }
.legal-layout--toc { grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.legal-toc { position: sticky; top: 6.5rem; padding: clamp(1.1rem, 2vw, 1.4rem); border-radius: var(--radius-card); background: var(--paper); color: var(--paper-fg); border: 1px solid rgb(9 24 50 / 10%); font-size: var(--step-caption); }
.rail-label { margin-bottom: .6rem; font-size: var(--step-micro); font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.legal-toc a { color: var(--paper-fg); text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; text-decoration-color: var(--accent-text); text-underline-offset: .2em; }
@media (max-width: 900px) {
  .legal-layout--toc { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .legal-toc { position: static; }
}

.legal-layout .prose > h2:first-child { margin-top: 0; }
.legal-layout .prose h2, .closer[id] { scroll-margin-top: 6rem; }
.legal-layout .prose .eyebrow { margin-top: 2.6em; }
.legal-layout .prose > .eyebrow:first-child { margin-top: 0; }
.legal-layout .prose .eyebrow + h2 { margin-top: .55em; }
.legal-layout .prose strong { font-weight: 650; }
.legal-next { margin-top: clamp(2rem, 5vh, 3rem); }
/* The button can come into view while the sky is still blue, so it carries a light edge. */
.legal-next .btn { box-shadow: 0 0 0 1px rgb(242 239 230 / 40%); }

/* Inline links in the closing band. */
.cta-band p a { color: var(--paper-fg); text-decoration-color: var(--accent-text); text-underline-offset: .2em; }
