/*
 * PAPER's three faces, self-hosted. All SIL Open Font License 1.1 / Apache 2.0,
 * and all the files Google Fonts serves — downloaded once and bundled rather
 * than fetched at run time: this ships as an offline Android APK, where a
 * render-blocking external stylesheet means no text on a cold start without a
 * network, and a request to a font CDN on every launch (IP + timestamp) from a
 * finance app that asks no consent. The CSP is 'self' for the same reason.
 *
 *   Assistant              the brand face — every word. Variable, 200–800.
 *   Rubik                  the plain face — every figure. Variable, 300–900.
 *   Material Symbols Rounded   the icon face. A SUBSET: only the glyphs
 *                          src/components/icons.jsx names, with the FILL axis
 *                          (0 → 1) kept and opsz 24 / wght 400 / GRAD 0 fixed.
 *                          Adding an icon means re-downloading the subset —
 *                          the recipe is in icons.jsx.
 *
 * One file per subset: a variable font covers its whole weight axis.
 */

@font-face {
  font-family: 'Assistant';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/assistant-hebrew.woff2') format('woff2-variations');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

@font-face {
  font-family: 'Assistant';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/assistant-latin.woff2') format('woff2-variations');
  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: 'Rubik';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('/fonts/rubik-hebrew.woff2') format('woff2-variations');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('/fonts/rubik-latin.woff2') format('woff2-variations');
  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;
}

/* `block`, not `swap`: an icon's fallback is its ligature NAME as text. */
@font-face {
  font-family: 'Material Symbols Rounded';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('/fonts/material-symbols-rounded.woff2') format('woff2');
}
