/*
 * Inter, served from this host instead of https://rsms.me/inter/inter.css.
 *
 * The upstream stylesheet is a render blocking request to a third party that
 * measured between 0.5 s and 2 s, which delayed the first paint of every page.
 * It also meant every visitor's IP address was sent to that host.
 *
 * Only the variable font is declared here. Tailwind's --font-sans in
 * webroot/css/input.css asks for the family "Inter var", and the upstream
 * stylesheet's ~18 static weight files were never downloaded by any browser
 * that supports variable fonts (all of them since 2018). Browsers without that
 * support fall through to the next family in --font-sans, i.e. the system sans.
 *
 * Font files: webroot/font/InterVariable*.woff2, Inter 4.1 (SIL Open Font
 * License 1.1). Update them together with this file.
 */
@font-face {
  font-family: 'Inter var';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../font/InterVariable.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter var';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('../font/InterVariable-Italic.woff2') format('woff2');
}

/*
 * The upstream stylesheet also exposed the family as "InterVariable". Kept as an
 * alias so any markup or CSS still naming it keeps working.
 */
@font-face {
  font-family: InterVariable;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../font/InterVariable.woff2') format('woff2');
}

@font-face {
  font-family: InterVariable;
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('../font/InterVariable-Italic.woff2') format('woff2');
}
