/*
 * Self-hosted replacements for the former hosted font families.
 * Montserrat and Lato are distributed under the SIL Open Font License;
 * see ../fonts/README.md in the infrastructure repository.
 */

/* Montserrat has a larger visual footprint than Proxima Nova at the same
 * nominal size. Keep the existing theme proportions while using the local
 * replacement font. */
body {
  font-size: 0.92em;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/lato-regular-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/lato-bold-latin.woff2") format("woff2");
}
