/*
 * Self-hosted variable web fonts (latin subset, woff2). Vendored so the game is
 * truly zero-install / offline-capable and never makes a third-party request —
 * see fonts/Inter-OFL.txt and fonts/SpaceGrotesk-OFL.txt (SIL Open Font License).
 *
 * font-display: swap → text paints immediately in the system fallback, then
 * swaps when the font arrives, so first paint never blocks. Glyphs outside the
 * latin subset (e.g. √ U+221A) fall back per-character to system-ui by design.
 */

/* Inter — UI, stats, and the focal math expression (tabular numerals). */
@font-face {
    font-family:  "Inter";
    font-style:   normal;
    font-weight:  100 900;       /* variable weight axis */
    font-display: swap;
    src:          url("./fonts/inter-latin-var.woff2") format("woff2");
}

/* Space Grotesk — the DIGIT x DASH wordmark only. */
@font-face {
    font-family:  "Space Grotesk";
    font-style:   normal;
    font-weight:  300 700;       /* variable weight axis */
    font-display: swap;
    src:          url("./fonts/space-grotesk-latin-var.woff2") format("woff2");
}
