/* Brand @font-face rules — a STATIC stylesheet, deliberately outside the bundler.
 *
 * WHY THIS FILE EXISTS AT ALL. Until 2026-08-16 these faces were wired through
 * next/font, and globals.css consumed the generated variables as
 * `--font-sans: var(--font-sans), …` — a SELF-REFERENTIAL custom property, i.e. a
 * dependency cycle, which computes to guaranteed-invalid. Every element fell
 * through to next/font's metric-matched fallback, declared literally as
 * `src: local(Arial)`. The whole site rendered in Arial for weeks while the
 * .woff2 files returned 200, `document.fonts` said `loaded`, and computed styles
 * still said "playfair" — only rasterised pixels showed it.
 *
 * WHY NOT IN globals.css. The bundler is free to split app CSS into route
 * chunks, and an @font-face that lands in a chunk a route does not load simply
 * never applies. A plain <link> to a file in public/ always loads, and its
 * absolute /fonts/ URLs cannot be rewritten or reordered by any build step.
 *
 * WHY THESE PARTICULAR FILES. The previous frontend/fonts/*.woff2 were verified
 * (CDP CSS.getPlatformFontsForNode) NOT to load in Chrome — the wordmark fell to
 * Georgia-BoldItalic and body text to the system UI font, both close enough to
 * the intended face to survive a glance. Every file below is one that was
 * verified to rasterise:
 *   Inter, Playfair  -> the extension's own files (extension/fonts), the exact
 *                       bytes the popup uses, so popup and site are identical.
 *   Outfit, Fraunces -> downloaded from Google Fonts (v2 css2 API).
 * unicode-ranges are Google's, so Polish diacritics come from the latin-ext cut.
 *
 * To refresh a face: replace the file here AND verify it actually rasterises —
 * `document.fonts` reporting `loaded` is NOT sufficient evidence.
 */

/* ---- Inter (body) ---- */
@font-face {
  font-family: BMGSans;
  src: url('/fonts/inter-latin.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  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: BMGSans;
  src: url('/fonts/inter-latin-ext.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  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;
}

/* ---- Outfit (headings) ---- */
@font-face {
  font-family: BMGHeading;
  src: url('/fonts/outfit-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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: BMGHeading;
  src: url('/fonts/outfit-latin-ext.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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;
}

/* ---- Playfair Display (wordmark + hero italics) ----
   The wordmark face: the EXTENSION's static Bold Italic, byte-identical to the
   popup's. The variable italic cut that shipped before did not load at all. */
@font-face {
  font-family: BMGDisplay;
  src: url('/fonts/playfair-italic-latin.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
  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: BMGDisplay;
  src: url('/fonts/playfair-italic-latin-ext.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
  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;
}

/* ---- Fraunces (marquee/stripe text only) ---- */
@font-face {
  font-family: BMGSlider;
  src: url('/fonts/fraunces-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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: BMGSlider;
  src: url('/fonts/fraunces-latin-ext.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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: BMGSlider;
  src: url('/fonts/fraunces-latin-italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  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: BMGSlider;
  src: url('/fonts/fraunces-latin-ext-italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  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;
}
