/* Legal pages — hero, table-of-contents, and the small set of components
   these pages need beyond what article-body/callout (blocks.css) and the
   shared design system already provide. Loaded only by the seven legal
   pages, so nothing existing changes. Deliberately no animation beyond the
   plain color/opacity transitions the rest of the site already uses on
   links — legal content should read as calm system documentation, not a
   showcase (see the brief's "never louder than the main website"). */

.legal-hero{padding:150px clamp(20px,5vw,80px) 60px;max-width:1440px;margin:0 auto}
.legal-hero__eyebrow{margin-bottom:22px}
.legal-hero__title{font-weight:300;font-size:var(--size-display-2);line-height:1;letter-spacing:-.035em;max-width:16ch;margin-bottom:18px}
.legal-hero__dek{font-size:17px;line-height:1.58;color:#A8A5B0;max-width:52ch;margin:0}
.legal-meta{display:flex;flex-wrap:wrap;gap:8px 28px;margin-top:28px;padding-top:20px;border-top:1px solid rgba(243,240,232,.12);font-family:var(--font-mono);font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:rgba(168,165,176,.5)}
.legal-meta strong{color:#A8A5B0;font-weight:400}

.legal-layout{max-width:1440px;margin:0 auto;padding:36px clamp(20px,5vw,80px) clamp(100px,14vh,180px);display:grid;grid-template-columns:240px minmax(0,1fr);gap:64px;align-items:start}

.legal-toc{position:sticky;top:100px}
.legal-toc summary{font-family:var(--font-mono);font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:rgba(168,165,176,.5);cursor:pointer;list-style:none;padding-bottom:10px;border-bottom:1px solid rgba(243,240,232,.12);margin-bottom:14px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.legal-toc summary::-webkit-details-marker{display:none}
.legal-toc summary::after{content:'\2304';font-size:12px;transition:transform 200ms ease}
.legal-toc[open] summary::after{transform:rotate(180deg)}
.legal-toc nav{display:flex;flex-direction:column;gap:2px}
.legal-toc a{display:block;padding:7px 0;font-size:13px;line-height:1.3;color:rgba(168,165,176,.6);border-bottom:none;transition:color 200ms ease}
.legal-toc a:hover,.legal-toc a:focus-visible{color:#F3F0E8}

.legal-content{min-width:0;display:flex;flex-direction:column;gap:56px}
.legal-section__heading{font-weight:400;font-size:clamp(1.3rem,1.9vw,1.6rem);line-height:1.2;letter-spacing:-.025em;color:#F3F0E8;margin:0 0 20px;scroll-margin-top:100px}

.legal-contact-card{display:flex;flex-direction:column;gap:2px;padding:26px 28px;border:1px solid rgba(243,240,232,.12);background:rgba(243,240,232,.02)}
.legal-contact-card dt{font-family:var(--font-mono);font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:rgba(168,165,176,.45);margin-top:16px}
.legal-contact-card dt:first-child{margin-top:0}
.legal-contact-card dd{margin:4px 0 0;color:#F3F0E8;font-size:15px}
.legal-contact-card dd a{color:#B08FE0}

.legal-table{width:100%;border-collapse:collapse;margin:0 0 26px;font-size:14px}
.legal-table th,.legal-table td{text-align:left;padding:12px 16px 12px 0;border-bottom:1px solid rgba(243,240,232,.1);vertical-align:top}
.legal-table th{font-family:var(--font-mono);font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:rgba(168,165,176,.5);font-weight:400}
.legal-table td{color:#A8A5B0;line-height:1.5}

@media (max-width:900px){
  .legal-layout{grid-template-columns:1fr;gap:36px}
  .legal-toc{position:static;top:auto}
}

@media (prefers-reduced-motion:reduce){
  .legal-toc summary::after,.legal-toc a{transition:none}
}

/* Links inside running text are underlined, not told apart by colour alone (WCAG 1.4.1). */
.legal-content p a,.legal-content li a,.legal-content td a{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
