/* Structured privacy and disclaimer pages. */
.legal-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, #eaf6f6, #d7eeee);
}

.legal-hero::after {
  position: absolute;
  top: -120px;
  right: max(3vw, 40px);
  width: 310px;
  height: 310px;
  border: 50px solid rgba(39, 103, 124, .09);
  border-radius: 50%;
  content: '';
}

.legal-hero .shell {
  position: relative;
  z-index: 1;
}

.legal-updated {
  display: inline-flex;
  margin: 0 !important;
  padding: 8px 11px;
  border: 1px solid #b8d6d7;
  border-radius: 99px;
  color: var(--blue) !important;
  background: rgba(255, 255, 255, .48);
  font: 600 11px 'Lexend', sans-serif;
  letter-spacing: .3px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 720px);
  justify-content: center;
  gap: 76px;
}

.legal-nav {
  position: sticky;
  top: 100px;
  align-self: start;
  display: grid;
  gap: 3px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(11, 32, 48, .05);
}

.legal-nav > p {
  margin: 1px 8px 9px;
  color: var(--orange);
  font: 600 10px 'Lexend', sans-serif;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.legal-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 9px;
  border-radius: 5px;
  color: var(--ink-soft);
  font: 600 12px/1.35 'Lexend', sans-serif;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.legal-nav a b {
  color: var(--orange);
  font-size: 10px;
}

.legal-nav a:hover,
.legal-nav a:focus-visible {
  color: var(--blue);
  background: var(--sky);
  transform: translateX(3px);
}

.legal-content {
  display: grid;
  gap: 0;
}

.legal-content section {
  position: relative;
  scroll-margin-top: 118px;
  padding: 0 0 54px 69px;
}

.legal-content section + section {
  padding-top: 54px;
  border-top: 1px solid var(--line);
}

.legal-number {
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font: 600 12px 'Lexend', sans-serif;
}

.legal-content h2 {
  margin: 0;
  font: 600 clamp(28px, 3vw, 40px)/1.15 'Lexend', sans-serif;
  letter-spacing: -1.6px;
}

.legal-content p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.legal-note {
  margin-top: 24px;
  padding: 18px 19px;
  border-left: 4px solid var(--orange);
  background: var(--sand);
}

.legal-note strong {
  color: var(--blue);
  font: 600 13px 'Lexend', sans-serif;
}

.legal-note p {
  margin-top: 5px !important;
  font-size: 15px !important;
}

.legal-content .button {
  margin-top: 26px;
}

/* Footer links: an underlined, high-contrast lift that works with mouse and touch. */
.site-footer :is(a, .footer-base a) {
  transition: color 180ms ease, transform 180ms ease, text-decoration-color 180ms ease;
}

.site-footer :is(a, .footer-base a):hover,
.site-footer :is(a, .footer-base a):focus-visible,
.site-footer :is(a, .footer-base a):active {
  color: #fff;
  text-decoration-color: var(--orange);
  transform: translateX(3px);
}

.site-footer .footer-brand:hover,
.site-footer .footer-brand:focus-visible,
.site-footer .footer-brand:active {
  color: #fff;
  transform: translateY(-2px);
}

.footer-base .leadpro-credit:hover,
.footer-base .leadpro-credit:focus-visible,
.footer-base .leadpro-credit:active {
  color: #ffb28d !important;
}

@media (max-width: 720px) {
  .legal-hero::after {
    right: -104px;
    width: 240px;
    height: 240px;
    border-width: 38px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .legal-nav {
    position: static;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }

  .legal-nav > p {
    grid-column: 1 / -1;
  }

  .legal-nav a {
    min-height: 62px;
    padding: 9px;
    font-size: 11px;
  }

  .legal-content section,
  .legal-content section + section {
    padding: 39px 0 39px 56px;
  }

  .legal-content section:first-child {
    padding-top: 0;
  }

  .legal-number {
    width: 35px;
    height: 35px;
    font-size: 10px;
  }

  .legal-content p:not(.eyebrow) {
    font-size: 17px;
  }
}
