/*
 * Inter v4.1 (variable build) — self-hosted from /fonts/inter/.
 * Mirrors the @font-face declarations rsms.me serves at
 * https://rsms.me/inter/inter.css, minus the older "Inter var" /
 * static "Inter" / "InterDisplay" families we don't reference.
 *
 * Bundling these locally drops the third-party `style-src` / `font-src`
 * allowance for `rsms.me` from our CSP, removes one external request
 * per cold visit, and pins the bytes against any future change at
 * the CDN (deterministic deploys).
 *
 * `font-feature-settings` block at the bottom enables the same
 * stylistic sets (cv11) and contextual alternates as rsms.me's
 * default. Match `font-feature-settings` in global.css if a future
 * tweak demands ss01 etc.
 */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter/InterVariable.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter/InterVariable-Italic.woff2") format("woff2");
}

/* Inter v4 uses the contextual-alternates feature (`calt`) and the
 * curved-r alternate (`cv11`) by default in rsms.me's CSS. Mirror
 * them here so the rendered text matches pixel-for-pixel. */
:root {
  font-feature-settings: "cv11", "calt";
}
