/*
 * Self-hosted Inter (rsms/inter, OFL-1.1), the @pine-ds system typeface.
 *
 * Loaded OUTSIDE the Bun bundle on purpose: index.html links this sheet
 * directly (a static public/ asset) and the woff2 sits beside it under
 * public/fonts/. If this @font-face went through the app's bundled CSS, Bun's
 * CSS bundler would inline the woff2 as a `data:` URI once it drops below the
 * bundler's asset-inline size threshold — which the Latin subset (~76 KB) now
 * does. The strict CSP blocks that: `font-src 'self'` has no `data:` lane
 * (unlike img-src), so an inlined font would simply fail to load. Served from
 * public/ it stays an external, same-origin file that also CAN be preloaded
 * (see the <link rel="preload"> in index.html). This mirrors the Drive /
 * Calendar / Pass product apps, which load their fonts the same way and for
 * the same CSP reason.
 *
 * Subset: the Latin coverage Pine's chrome paints (Latin-1 + Latin Extended-A
 * + the UI punctuation/arrow/math glyphs), with the `wght` axis kept fully
 * variable 100-900 and the unused `opsz` axis pinned to its default — built by
 * scripts/build-inter-subset.sh. Non-Latin user text falls back to the system
 * stack that --font-sans already lists behind Inter (the iCloud/Gmail model).
 *
 * `font-display: swap` paints immediately in the system fallback and swaps
 * Inter in when it arrives; with the preload the swap lands in the first frame
 * on a warm network, so there is no late-swap reflow.
 */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/InterVariable.woff2") format("woff2");
}
