/* PRIVACY POLICY (legal text pages). Loads after base.css. */

.legal {
  margin-top: 80px;
  color: var(--charcoal);
  background-color: var(--linen);
}

.legal .container {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.legal__content {
  width: min(100% - 3rem, 46rem);
}

.legal__header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--goldenhour);
}

.legal__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.legal__updated {
  margin-top: 0.5rem;
}

.legal section + section {
  margin-top: 2rem;
}

.legal h2 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.legal p {
  font-size: 1.0625rem;
}

.legal p + p {
  margin-top: 0.75rem;
}

.legal__summary {
  font-weight: 500;
}

.legal a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--clementine);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
  /* Long email addresses can't otherwise wrap on narrow phones. */
  overflow-wrap: anywhere;
}

.legal a:hover,
.legal a:focus-visible {
  text-decoration-color: currentColor;
}
