/*
 * Inter, self-hosted. It used to come from rsms.me, which put a third-party
 * connection (DNS + TLS + a render-blocking stylesheet) on the critical path
 * before a single character could be painted. Same file, same origin, and the
 * browser can start fetching it from the preload in _document.js.
 */
@font-face {
  font-family: 'InterVariable';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/InterVariable.woff2') format('woff2');
}

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

/* rsms.me shipped these as part of inter.css; keep them so the type renders
   with the same optical sizing and features it did before. */
:root {
  font-feature-settings: 'liga' 1, 'calt' 1;
  font-optical-sizing: auto;
}
