/*
  fonts.css: the only stylesheet allowed to name a font family (design/README.md, rule 10), and only the
  two in design/tokens.json: "Bricolage Grotesque" (display, 800) and "DM Sans" (body, 400, 500, 700).

  The four files are the latin subset from the npm packages @fontsource/bricolage-grotesque 5.3.0 and
  @fontsource/dm-sans 5.3.0, under the SIL Open Font License 1.1 (the licence texts are beside the files in
  wwwroot/fonts/; design/README.md, "Fonts", records the versions). Every URL is on the site's own origin.
  The tests and check-usage.py fail if a rule names a file that is absent, or a file is present that no
  rule uses. The system-font stack in the tokens remains the fallback while a file loads.
*/

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-800.woff2") format("woff2");
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dm-sans-400.woff2") format("woff2");
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/dm-sans-500.woff2") format("woff2");
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/dm-sans-700.woff2") format("woff2");
}
