/* ===== Inter — self-hosted font asset declaration (PBI SM-16 / 5204) =========
   ui-shell-chrome.md §13 is the governing text. This file carries ONLY the
   @font-face declarations that bind the two woff2 files in wwwroot/fonts/ to the
   family name; the STACK that the app renders in is declared once on :root in
   app.css, and the --rr-text-* scale lives there too.

   Why the @font-face blocks are here and not in app.css: §13 requires app.css to
   carry exactly ONE `font-family` declaration — the stack — so that "how many
   stacks does the app have?" is answerable by counting. An @font-face
   `font-family` descriptor is not a stack (it NAMES the family being defined),
   but it is indistinguishable from one to a reader or a grep, which is how the
   app ended up with two stacks in the first place. Keeping the asset binding in
   its own file keeps that count honest and puts the declaration next to the
   files it declares.

   Self-hosted, never a CDN — see §13 for the reason (this is a PWA; a CDN font is
   absent offline and absent from the precache). Do not "simplify" this to a
   Google Fonts <link>.

   font-display: swap — first paint renders in the fallback rather than blocking
   on the font, and index.html preloads both files so the swap is imperceptible on
   a warm cache. `size-adjust` is deliberately NOT set: Inter's metrics are close
   enough to the system fallbacks that the swap does not reflow, and a wrong
   size-adjust is worse than none.

   Provenance, licence, and the exact build recipe: wwwroot/fonts/README.md. */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/inter-latin-400.woff2') format('woff2');
    /* Latin subset only (§13) — the range Google's own latin subset covers, which
       is the range the shipped file contains. Declaring it lets the browser skip
       the download entirely for a page of non-Latin text. */
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/inter-latin-500.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
