html { scroll-behavior: auto; }

.legal-page-body { background: var(--paper); }
.legal-page { overflow: hidden; }

.legal-hero { position: relative; display: grid; min-height: 58vh; align-items: end; padding: 8rem 2.5rem 5rem; overflow: hidden; color: white; background: var(--ink); }
.legal-hero::before { position: absolute; inset: -4%; background: url('https://cdn.prod.website-files.com/67c08ea22d8c948740e1cae0/69ebbface543146a78b88a0c_explosion_web.avif') center/cover; opacity: .42; content: ''; }
.legal-hero::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,17,17,.12), rgba(17,17,17,.5)); content: ''; }
.legal-hero-inner { position: relative; z-index: 1; display: grid; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 2rem; }
.legal-kicker { margin-bottom: 1.5rem; font: 12px/1.35 GeistMono, Inconsolata, monospace; letter-spacing: .04em; text-transform: uppercase; }
.legal-hero h1 { font: 400 clamp(5rem, 15vw, 13rem)/.82 Inter, Arial, sans-serif; letter-spacing: -.09em; }
.legal-hero-intro { justify-self: start; width: 100%; max-width: 27rem; padding-bottom: .4rem; font: 16px/1.45 Inter, Arial, sans-serif; }

.legal-content { display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(0, 2fr); align-items: start; gap: 2rem; padding: 7rem 2.5rem 10rem; color: var(--ink); background: var(--paper); }
.legal-aside { position: sticky; top: 2rem; font: 12px/1.35 GeistMono, Inconsolata, monospace; text-transform: uppercase; }
.legal-aside span { display: block; margin-top: .75rem; color: #777; text-transform: none; }
.legal-copy { width: 100%; max-width: 52rem; }
.legal-copy h2 { margin-bottom: 3rem; font: 400 clamp(2rem, 4vw, 3.5rem)/1 Inter, Arial, sans-serif; letter-spacing: -.06em; }
.legal-copy section { margin-top: 4rem; }
.legal-copy section:first-of-type { margin-top: 0; }
.legal-copy h3 { margin-bottom: 1.25rem; font: 400 16px/1.35 GeistMono, Inconsolata, monospace; text-transform: uppercase; }
.legal-copy h4 { margin: 2rem 0 .75rem; font: 700 14px/1.4 Inter, Arial, sans-serif; }
.legal-copy p, .legal-copy li { font: 16px/1.5 Inter, Arial, sans-serif; }
.legal-copy p + p { margin-top: 1rem; }
.legal-copy ul { display: grid; gap: .7rem; margin: 1.25rem 0; padding-left: 1.25rem; }
.legal-copy li::marker { color: var(--red); }
.legal-copy a { text-decoration: underline; text-underline-offset: .2rem; }
.legal-copy a:hover { color: var(--red); }
.legal-copy strong { font-weight: 700; }
.legal-card { display: grid; gap: .65rem; max-width: 30rem; margin-top: 1.5rem; padding: 1.5rem; border-radius: 1rem; background: white; }
.legal-card strong { font: 700 14px/1.35 Inconsolata, monospace; text-transform: uppercase; }
.legal-card address, .legal-card p { font: 14px/1.5 Inter, Arial, sans-serif; font-style: normal; }
.legal-card p { margin: 0; }
.legal-notes { padding-top: 1rem; border-top: 1px solid var(--line); }
.legal-notes h2 { margin-bottom: 2.5rem; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.legal-notes h3 + p { margin-bottom: 2.5rem; }

@media (prefers-reduced-motion: reduce) {
  .legal-hero::before { transform: none; }
}

@media (max-width: 767px) {
  .legal-hero { min-height: 70vh; padding: 7rem 1rem 3rem; }
  .legal-hero-inner { display: block; }
  .legal-kicker { margin-bottom: 1.25rem; }
  .legal-hero h1 { font-size: clamp(5rem, 24vw, 8rem); }
  .legal-hero-intro { max-width: 20rem; margin-top: 3rem; padding: 0; font-size: 15px; }
  .legal-content { display: block; padding: 5rem 1rem 7rem; }
  .legal-aside { position: static; margin-bottom: 3rem; }
  .legal-copy h2 { margin-bottom: 2.5rem; font-size: clamp(2rem, 10vw, 3rem); }
  .legal-copy section { margin-top: 3.5rem; }
  .legal-copy h3 { font-size: 14px; }
  .legal-copy p, .legal-copy li { font-size: 15px; }
  .legal-card { padding: 1.25rem; }
  .legal-notes h2 { font-size: clamp(1.8rem, 8vw, 2.5rem); }
}
