.legal-page {
  background: #f4f8f9;
  color: #102d3f;
}

.legal-main {
  min-height: 58vh;
}

.legal-wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

body.legal-page main > section.legal-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 10vw, 132px) 0 clamp(92px, 12vw, 150px);
  background:
    radial-gradient(circle at 88% 18%, rgba(43, 181, 188, .28), transparent 34%),
    linear-gradient(135deg, #052641 0%, #074d6b 58%, #0d7483 100%);
  color: #fff;
}

body.legal-page .legal-hero::after {
  content: '';
  position: absolute;
  right: -7%;
  bottom: -72px;
  width: min(520px, 58vw);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  box-shadow: 0 0 0 54px rgba(255, 255, 255, .035), 0 0 0 108px rgba(255, 255, 255, .025);
  pointer-events: none;
}

.legal-kicker {
  margin: 0 0 14px;
  color: #9ee7e3;
  font-family: 'Montserrat', sans-serif;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

body.legal-page .legal-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.15rem, 5.5vw, 4.7rem);
  line-height: 1.04;
  letter-spacing: -.035em;
}

body.legal-page main > section.legal-content {
  position: relative;
  z-index: 2;
  padding: 0 0 clamp(72px, 9vw, 112px);
  background: #f4f8f9;
}

.legal-content .legal-wrap {
  display: flex;
  justify-content: center;
}

.legal-card {
  width: min(100%, 900px);
  max-width: 900px;
  margin: clamp(-58px, -6vw, -42px) auto 0;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(7, 77, 107, .12);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(4, 38, 65, .13);
  text-align: center;
}

.legal-card p {
  margin: 0;
  margin-inline: auto;
  max-width: 760px;
  color: #27485a;
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  line-height: 1.85;
}

.legal-card p + p {
  margin-top: 1.45em;
  padding-top: 1.45em;
  border-top: 1px solid #dce9ec;
}

.legal-card a {
  color: #076784;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(7, 103, 132, .3);
  text-underline-offset: .2em;
}

.legal-card a:hover {
  text-decoration-color: currentColor;
}

@media (max-width: 640px) {
  .legal-wrap {
    width: min(100% - 28px, 1120px);
  }

  body.legal-page main > section.legal-hero {
    padding-block: 62px 92px;
  }

  .legal-card {
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .legal-card a {
    scroll-behavior: auto;
  }
}
