/*
 * Self-hosted typography for offline-first PWA + Capacitor native builds.
 *
 * Replaces Google Fonts CDN <link>s. Files live alongside this stylesheet
 * so Workbox precaches them (globPatterns includes woff2). On a cold,
 * never-online install the variable Material Symbols font is already on
 * disk, so MIcon ligatures render glyphs instead of falling through to
 * raw text like "document_scanner".
 *
 * Subset: latin only. The app UI is English / Tagalog, both pure ASCII
 * Latin. Add latin-ext / cyrillic later if marketplace listings surface
 * the need.
 *
 * Material Symbols Rounded:
 *   - font-display: block — hide for up to 3s rather than flash the
 *     ligature word (handled in tandem with the .fonts-loaded gate in
 *     index.css).
 *   - Variable axes opsz/wght/FILL/GRAD are preserved; MIcon.tsx drives
 *     them via font-variation-settings.
 */

@font-face {
  font-family: "Material Symbols Rounded";
  font-style: normal;
  font-weight: 100 700;
  font-display: block;
  src: url("/fonts/material-symbols-rounded.woff2") format("woff2-variations");
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/fonts/fraunces.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;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("/fonts/manrope.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;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/fonts/jetbrains-mono.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;
}
