/* ============================================================
   Fonts — Material 3 Expressive
   ------------------------------------------------------------
   The real brand fonts are now self-hosted (see font-faces.css):
   Google Sans (brand, variable) and Google Sans Text (plain). The
   variable axes (wght / opsz / GRAD) drive expressive weight/motion
   feedback. Roboto and Roboto Mono stay on the Google Fonts CDN as
   fallbacks / the monospace role — the user did not upload those and
   CDN delivery is fine.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400&family=Roboto+Mono:wght@400;500;700&display=swap');

:root {
  /* Family aliases — swap these to retheme the whole system */
  --md-ref-typeface-brand: "Google Sans Flex", "Google Sans", "Roboto", system-ui, sans-serif;
  --md-ref-typeface-plain: "Google Sans Text", "Roboto", system-ui, sans-serif;
  --md-ref-typeface-mono: "Roboto Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Variable-axis defaults for expressive feedback */
  --md-ref-typeface-weight-regular: 400;
  --md-ref-typeface-weight-medium: 500;
  --md-ref-typeface-weight-bold: 700;

  /* The kit stores type-scale weights as named font families
     ("Regular"/"Medium"/"SemiBold"). Those families are self-hosted
     for fidelity, but the .md-typescale-* classes consume these as
     CSS font-weight, so map them to numeric weights here (this
     override sits after fig-tokens.css in the import order). */
  --static-weight-regular: 400;
  --static-weight-medium: 500;
  --static-weight-bold: 600; /* kit "SemiBold" */
}
