.footer {
  padding: 22px 20px;
  background: var(--sand);
  color: var(--ink);
  font: 500 14px/1.7 Rounded, sans-serif;
  text-align: center;
}

.footer .wordmark {
  font: 900 italic 24px/1 "Avenir Next", sans-serif;
  letter-spacing: -.065em;
}

.footer .wordmark em {
  margin: 0;
  color: var(--red);
  font-style: inherit;
}

.footer-audience {
  margin: 16px auto 12px;
  text-align: left;
  container-type: inline-size;
}

.footer .footer-audience-copy {
  margin: 0;
  color: var(--muted);
  font: 500 12px/1.6 Rounded, sans-serif;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* The last two sentences need about 387px at the footer's type size. */
@container (width < 387px) {
  .footer-audience-break { display: none; }
}

.footer-legal {
  display: flex;
  justify-content: center;
  column-gap: 12px;
}

.footer-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: .2em;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .footer-legal { column-gap: 10px; }
}

@media (max-width: 360px) {
  .footer { padding-inline: 16px; }
  .footer-legal { column-gap: 8px; }
  .footer .footer-legal a {
    /* Override the home page's shared link size on narrow screens. */
    font-size: clamp(12px, 3.75vw, 14px) !important;
  }
}
