/* =====================================================================
   SSFeatures Brand Fonts
   Version 1.3 · November 9, 2026
   Companion to brand-tokens.css and brand.md §8.

   Metropolis, the only typeface, in the three weights the type scale uses,
   as WOFF2 (every browser the product supports reads it; the OTF fallback
   was dropped in 1.3).

   Each surface serves the fonts from its own origin: the URLs below are
   relative, so a consumer copies this file into its build output with a
   `fonts/` folder beside it holding the three files from
   SSFeaturesAssets/assets/brand/fonts/ (the dashboard's Angular assets, the
   Keycloak theme's build-theme-assets). A font from another origin needs a
   CORS rule on its host; a font from the page's own needs nothing. Never a
   third-party font service. The transactional emails are the one exception:
   a mail client has no origin of ours, so they point at the CDN themselves.

   Nothing commits a copy of this file or the fonts (check:brand-copies).
   Preload the regular weight (`fonts/metropolis-regular.woff2`, same
   origin, with crossorigin) on pages that show text above the fold.
   `font-display: swap` keeps text readable while a file arrives.
   ===================================================================== */

@font-face {
  font-family: "Metropolis";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/metropolis-regular.woff2") format("woff2");
}

@font-face {
  font-family: "Metropolis";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/metropolis-semibold.woff2") format("woff2");
}

@font-face {
  font-family: "Metropolis";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/metropolis-bold.woff2") format("woff2");
}
