/* Self-hosted webfonts.
 *
 * These used to load from fonts.googleapis.com, which meant every page view --
 * including from students who are minors -- sent their IP address and
 * user-agent to a third party before any of our own code ran. Serving the
 * files ourselves removes that entirely.
 *
 * Inter and Playfair Display are both SIL Open Font License 1.1, which permits
 * redistribution and web embedding. Latin subset only: the service is offered
 * in the United States in English.
 *
 * Both are variable fonts, so one file per family covers every weight -- hence
 * the weight ranges below rather than a file per weight.
 *
 * To refresh: fetch the Google Fonts CSS for the families and weights below
 * with a modern browser user-agent, take the woff2 URL from the `/* latin *​/`
 * block of each family, and overwrite the files in fonts/.
 */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('fonts/Inter.woff2') format('woff2');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/PlayfairDisplay.woff2') format('woff2');
}
