/* Argon's typefaces, self-hosted.

   Geist and Geist Mono ship with the app rather than loading from a font CDN,
   for the same reason sync is opt-in: a local-first app should not phone a
   third party to render its own text. Files come from the `geist` npm package
   (v1.7.2, SIL Open Font License) — see LICENSE.txt alongside the woff2s in
   /fonts. To update, pull the package again and replace the files; nothing here
   needs to change.

   These are the *variable* faces, which is what makes the 450 weight real. The
   static instances only carry 400/500/600/700, so 450 snaps to 500 on them —
   and 450 is what `.mono-title` is built on.

   Browsers fetch a @font-face file only when a glyph actually needs it, so the
   italic face costs nothing until italic text renders. Mono italic is
   deliberately absent: its only use is a style-guide code-comment token, which
   is not worth 77KB — it synthesises a slant instead.

   This file is a shared foundation like argon-color-foundations.css: the app,
   Quick Capture, and the public pages all import it, so the stacks stay in one
   place. */

@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-sans-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-sans-italic-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/geist-mono-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* `system-ui` carries the fallback on every platform that matters —
     -apple-system is the WebKit spelling and BlinkMacSystemFont the legacy
     Blink one, both kept so the fallback holds in older engines. The former
     stack also named "SF Pro Text", "SF Pro Display" and "Inter", none of which
     resolve as family names, so they were dropped. */
  --font-sans:
    "Geist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, sans-serif;
  --font-mono:
    "Geist Mono", ui-monospace, "SF Mono", "SFMono-Regular", Menlo, monospace;
}
