/* ManyMath brand font declarations.
   Paths assume this file lives at <site>/assets/brand/tokens/fonts.css
   with fonts at <site>/assets/brand/fonts/ (adjust ../fonts/ if your
   layout differs). Each face uses font-display: swap to show text
   immediately in a system fallback (see fallbacks.css).
   Licenses: Latin Modern = GUST/LPPL (fonts/latinmodern/GUST-FONT-LICENSE.txt),
   Inter & JetBrains Mono = SIL OFL 1.1. */

/* --- Display serif: Latin Modern Roman --- */
@font-face {
  font-family: "Latin Modern Roman";
  src: url("../fonts/latinmodern/lmroman10-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Latin Modern Roman";
  src: url("../fonts/latinmodern/lmroman10-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Latin Modern Roman";
  src: url("../fonts/latinmodern/lmroman10-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Latin Modern Roman";
  src: url("../fonts/latinmodern/lmroman10-bolditalic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* --- UI sans: Inter (variable) --- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter/inter-var-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* --- Code: JetBrains Mono (variable) --- */
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono/jetbrains-mono-var.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono/jetbrains-mono-var-italic.woff2") format("woff2");
  font-weight: 100 800;
  font-style: italic;
  font-display: swap;
}
