/* Legal pages */
.legal-site-header {
  position: relative;
  background: #04070d;
}

.legal-page {
  background: var(--cream);
  color: var(--ink);
}

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 56px;
  background: radial-gradient(circle at 70% 0%, rgba(23,199,197,.15), transparent 32%), radial-gradient(circle at 12% 18%, rgba(255,78,181,.10), transparent 28%), #05080f;
  color: var(--white);
}

.legal-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.45) 1px, transparent 1px), radial-gradient(var(--yellow) 1px, transparent 1px), radial-gradient(var(--teal) 1px, transparent 1px);
  background-size: 150px 150px, 180px 180px, 210px 210px;
  background-position: 0 0, 80px 42px, 30px 90px;
  opacity: .2;
  pointer-events: none;
}

.legal-hero-shell {
  position: relative;
  z-index: 1;
  max-width: 920px;
  text-align: center;
}

.legal-hero h1 {
  margin: 10px 0 18px;
  font: 800 clamp(58px, 8vw, 112px)/.9 Barlow Condensed, Arial Narrow, sans-serif;
  text-transform: uppercase;
  letter-spacing: -.035em;
}

.legal-hero p:not(.section-script) {
  max-width: 700px;
  margin: 0 auto;
  color: #fff;
  font-size: 21px;
  line-height: 1.5;
  font-weight: 600;
}

.legal-content-section {
  padding: 64px 0 76px;
}

.legal-content-shell {
  max-width: 900px;
}

.legal-card {
  padding: clamp(28px, 5vw, 58px);
  background: #fffaf1;
  border: 2px solid rgba(0,0,0,.08);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,.08);
}

.legal-card h2 {
  margin: 38px 0 12px;
  font: 800 34px/.95 Barlow Condensed, sans-serif;
  text-transform: uppercase;
  letter-spacing: -.015em;
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  font-size: 18px;
  line-height: 1.65;
}

.legal-card p {
  margin: 0 0 18px;
}

.legal-card ul {
  margin: 0 0 22px;
  padding-left: 1.25rem;
}

.legal-card a {
  color: #007f83;
  font-weight: 800;
  text-underline-offset: 4px;
}

.legal-updated {
  display: inline-block;
  margin: 0 0 32px;
  padding: 9px 13px;
  background: #05080f;
  color: var(--white);
  border-radius: 999px;
  font-size: 15px !important;
  line-height: 1 !important;
  font-weight: 800;
}

.legal-updated span {
  color: var(--yellow);
}

@media (max-width: 760px) {
  .legal-hero {
    padding: 42px 0 38px;
  }

  .legal-hero h1 {
    font-size: 54px;
  }

  .legal-hero p:not(.section-script) {
    font-size: 17px;
  }

  .legal-content-section {
    padding: 34px 0 46px;
  }

  .legal-card {
    padding: 24px 20px;
    border-radius: 14px;
  }

  .legal-card h2 {
    font-size: 27px;
  }

  .legal-card p,
  .legal-card li {
    font-size: 16px;
    line-height: 1.55;
  }
}
