/* ui-fonts.css -- THE UI TYPEFACE SYSTEM. Hand-maintained, and deliberately a
 * SEPARATE FILE from `caption-fonts.css`.
 *
 * `caption-fonts.css` is GENERATED by `googleFontsUrl()` in
 * `src/lib/caption-fonts.ts` from the caption style tables, and `index.html`
 * says in its own words: "Never hand-edit this href to serve a UI need." This
 * file is how a UI need gets served instead. Editing either one does not touch
 * the other, which is the whole point of the split.
 *
 * ⚠ FIGTREE ALREADY APPEARS IN `caption-fonts.css`, AT WEIGHT 900 ONLY, as a
 * CAPTION face declared by a caption style. That declaration is not reusable
 * here: it is regenerated from the style tables, so a style being retired would
 * silently take the landing page's typeface with it. The two systems declare
 * their own faces even when they name the same family.
 *
 * VARIABLE, NOT SIX STATIC CUTS. Google's `css2` response for
 * `Figtree:wght@400;500;600;700;800;900` returns six `@font-face` blocks that
 * all point at the SAME woff2 per subset -- one variable file covering the
 * whole 300-900 axis. Declaring it once with a `font-weight` RANGE is the same
 * bytes and the honest description of the file; six blocks would imply six
 * downloads that do not exist.
 *
 * SELF-HOSTED, for the reason the caption sheet states at its own top:
 * "so preview/export typography does not depend on a CDN request." A landing
 * page whose type arrives from fonts.gstatic.com renders in a fallback face for
 * the length of a third-party round trip, and does it inside the Playwright run
 * that grades it -- a font-dependent geometry assertion that is green offline
 * and red on a slow network is a flake with a cause nobody will find twice.
 *
 * PROVENANCE. Fetched 2026-08-24 from the URLs below, which came out of the
 * `css2` response above; the local names are readable rather than Google's
 * content hashes so a future reader can tell what these two files are without
 * decompressing them.
 *   latin      https://fonts.gstatic.com/s/figtree/v9/_Xms-HUzqDCFdgfMm4S9DaRvzig.woff2
 *   latin-ext  https://fonts.gstatic.com/s/figtree/v9/_Xms-HUzqDCFdgfMm4q9DaRvziissg.woff2
 * Figtree is SIL Open Font License 1.1 -- bundling it is what the licence is
 * for. The `unicode-range` values are Google's own, kept verbatim: they are the
 * subset boundaries the two files were actually cut on, so inventing tidier
 * ones would make the browser fetch the wrong file for an accented character.
 */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(/fonts/figtree-v9-latin-ext-var.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(/fonts/figtree-v9-latin-var.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;
}
