/* Legal-page presentation layered on top of the shared corporate styles. */

.legal-page .legal-hero {
  position: relative;
  overflow: hidden;
  padding: 174px 0 92px;
  background: #071f35;
}

.legal-page .site-header .button-header {
  grid-column: 3;
  justify-self: end;
}

.legal-page .legal-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, #009c82 0 18%, transparent 18%);
  content: "";
}

.legal-page .legal-hero-inner,
.legal-page .legal-content {
  width: var(--content);
  margin-right: auto;
  margin-left: auto;
}

.legal-page .legal-hero h1 {
  margin: 22px 0 0;
  color: #fff;
  font-size: clamp(44px, 5vw, 66px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0;
}

.legal-page .legal-content {
  max-width: 820px;
  padding: 92px 0 112px;
}

.legal-page .legal-section + .legal-section {
  margin-top: 72px;
  padding-top: 72px;
  border-top: 1px solid #d5dfe4;
}

.legal-page .legal-section h2 {
  margin: 0 0 28px;
  color: #071f35;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
}

.legal-page .legal-section h3 {
  margin: 0 0 16px;
  color: #071f35;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
}

.legal-page .legal-section p,
.legal-page .legal-section address {
  margin: 0;
  color: #516276;
  font-size: 17px;
  font-style: normal;
  line-height: 1.75;
}

.legal-page .legal-section p + p,
.legal-page .legal-company address + p {
  margin-top: 22px;
}

.legal-page .legal-section strong {
  color: #071f35;
  font-weight: 600;
}

.legal-page .legal-section a {
  color: #007c69;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.legal-page .legal-section a:hover,
.legal-page .legal-section a:focus-visible {
  color: #071f35;
}

.legal-page .legal-disclaimer > section + section {
  margin-top: 46px;
}

.legal-page .site-footer a[aria-current="page"] {
  color: #71d5c3;
}

@media (max-width: 900px) {
  .legal-page .legal-hero-inner,
  .legal-page .legal-content {
    width: calc(100% - 48px);
  }
}

@media (max-width: 640px) {
  .legal-page .legal-hero {
    padding: 128px 0 68px;
  }

  .legal-page .legal-hero-inner,
  .legal-page .legal-content {
    width: calc(100% - 40px);
  }

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

  .legal-page .legal-content {
    padding: 66px 0 80px;
  }

  .legal-page .legal-section + .legal-section {
    margin-top: 54px;
    padding-top: 54px;
  }

  .legal-page .legal-section h2 {
    font-size: 28px;
  }

  .legal-page .legal-section h3 {
    font-size: 19px;
  }

  .legal-page .legal-section p,
  .legal-page .legal-section address {
    font-size: 16px;
    line-height: 1.7;
  }
}
