/* ==========================================================================
   Estiva — Typography
   ========================================================================== */

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-body-s);
  line-height: var(--lh-body);
  color: var(--text-primary);
  background-color: var(--bg-page);
  overflow-x: clip;
}

.heading-1 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--fs-h1);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-h1);
}

.heading-2 {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-h2);
}

.heading-2--bold {
  font-weight: 600;
}

.heading-2-serif {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--fs-h2-serif);
  line-height: var(--lh-tight);
  letter-spacing: 0;
  font-synthesis: none;
}

.heading-3 {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-h3);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-h3);
}

.heading-4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--fs-h4);
  line-height: var(--lh-heading);
}

.body-l {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-body-l);
  line-height: var(--lh-body);
}

.body-m {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-body-m);
  line-height: var(--lh-body-m);
}

.body-s {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-body-s);
  line-height: var(--lh-body);
}

.body-s-semi {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--fs-body-s);
  line-height: var(--lh-btn);
}

.body-s--medium {
  font-weight: 500;
}

.caption {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-caption);
  line-height: var(--lh-body);
}

.label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--fs-body-l);
  line-height: var(--lh-btn);
}

.text-white {
  color: var(--text-on-dark);
}

.text-muted {
  color: var(--text-muted);
}
