/* Shared typography: bold Nunito headings and comfortably spaced body text. */
body {
  font-family: "Nunito", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

/* Repeated scope keeps these rules above existing component heading rules. */
#root h1, #root h2, #root h3, #root h4, #root h5, #root h6 {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: normal;
}

#root h1 em, #root h2 em, #root h3 em {
  font-style: normal;
  font-weight: inherit;
}

#root .reference-site main h1 {
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 800;
}

#root .reference-site main h2 {
  font-size: clamp(28px, 3.3vw, 40px);
}

#root .reference-site main h3 {
  font-size: clamp(20px, 2vw, 24px);
}

#root .reference-site main p,
#root .reference-site main li {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: normal;
}

#root .reference-site .ref-kicker {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
}

#root .reference-site .ref-pill,
#root .reference-site .ref-text-link {
  font-weight: 600;
  letter-spacing: normal;
}

#root .ref-nav a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: normal;
}

#root .footer-col h3, #root .footer-contact h3 {
  font-size: 24px;
}

@media (max-width: 640px) {
  #root .reference-site main h1 { font-size: clamp(32px, 8.5vw, 42px); }
  #root .reference-site .ref-kicker { font-size: 12px; }
}
