/*
 * Self-hosted Inter — subset of the rsms.me distribution.
 *
 * We previously pulled inter.css from https://rsms.me to dodge having
 * to ship the font binaries; Phase 6 tightens the CSP enough that
 * any third-party origin is a friction point (font-src 'self' is
 * the simpler rule, and avoids a single-point-of-failure on the
 * external CDN).
 *
 * The font files themselves are *not* committed here. The deploy
 * script downloads them into web/public/inter/ during the build,
 * which keeps the binary footprint out of git while still landing
 * a same-origin asset for the browser. The relevant URLs are listed
 * in deploy/fetch-fonts.ps1 (rsms.me's variable distribution under
 * Inter-3.19) so a clean clone just runs that script and rebuilds.
 *
 * In dev, if the files are missing, the browser falls through to
 * the system stack defined in the body @font-face declaration —
 * the layout still renders, only the typography drifts.
 */

@font-face {
    font-family: "Inter var";
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    src: url("./InterVariable.woff2?v=4.0") format("woff2");
}

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

:root {
    font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Helvetica, Arial, sans-serif;
    font-feature-settings: "cv11", "ss01";
}
