/* Shared typography and spacing for the footer policy pages. */
.policy-page main.policy {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 36px) clamp(20px, 4vw, 32px) 24px;
  color: var(--char);
  font: 400 14px/1.4 'DM Sans', Arial, sans-serif;
}

.policy-page .policy h1 {
  max-width: 24ch;
  margin: 0 0 6px;
  font: 400 clamp(28px, 3vw, 40px)/1.35 'Libre Baskerville', Georgia, serif;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.policy-page .policy h2 {
  margin: 10px 0 0;
  font: 700 16px/1.3 'Libre Baskerville', Georgia, serif;
  letter-spacing: -.035em;
}

.policy-page .policy p {
  margin: 0;
}

.policy-page .policy p + p {
  margin-top: 4px;
}

.policy-page .policy a {
  text-underline-offset: 3px;
}

.policy-page .footer-policy-links a[aria-current=page] {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.policy-page .returns-policy {
  container-type: inline-size;
}

.policy-page .returns-policy h1 {
  max-width: none;
  font-size: min(clamp(28px, 3vw, 40px), 4.7cqi);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .policy-page main.policy {
    padding: 18px 16px 16px;
    font-size: 13px;
    line-height: 1.35;
  }

  .policy-page .policy h1 {
    font-size: 24px;
    line-height: 1.2;
  }

  .policy-page .returns-policy h1 {
    font-size: min(24px, 4.7cqi);
  }

  .policy-page .policy h2 {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.25;
  }
}
