/* Selawik — Microsoft's open-source metric-compatible replacement for Segoe UI.
   Source: https://github.com/microsoft/Selawik (SIL OFL 1.1), binaries via
   https://github.com/fontfen/selawik. Segoe UI itself is a licensed system font
   (pre-installed on Windows/Microsoft 365) and cannot be redistributed here, so
   Selawik is the self-hosted fallback for non-Windows preview. On Windows the
   font-stack below always prefers real Segoe UI. */

@font-face {
  font-family: "Selawik";
  src: url("../assets/fonts/Selawik-Regular.woff") format("woff"),
       url("../assets/fonts/Selawik-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Selawik";
  src: url("../assets/fonts/Selawik-Bold.woff") format("woff"),
       url("../assets/fonts/Selawik-Bold.ttf") format("truetype");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

/* Cascadia Mono — self-hosted from user-uploaded files (replaces the
   previous CDN placeholder for --font-mono). */
@font-face {
  font-family: "Cascadia Mono";
  src: url("../assets/fonts/CascadiaMono-ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cascadia Mono";
  src: url("../assets/fonts/CascadiaMono-ExtraLightItalic.ttf") format("truetype");
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Cascadia Mono";
  src: url("../assets/fonts/CascadiaMono-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cascadia Mono";
  src: url("../assets/fonts/CascadiaMono-LightItalic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Cascadia Mono";
  src: url("../assets/fonts/CascadiaMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cascadia Mono";
  src: url("../assets/fonts/CascadiaMono-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Cascadia Mono";
  src: url("../assets/fonts/CascadiaMono-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cascadia Mono";
  src: url("../assets/fonts/CascadiaMono-MediumItalic.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Cascadia Mono";
  src: url("../assets/fonts/CascadiaMono-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cascadia Mono";
  src: url("../assets/fonts/CascadiaMono-SemiBoldItalic.ttf") format("truetype");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Cascadia Mono";
  src: url("../assets/fonts/CascadiaMono-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cascadia Mono";
  src: url("../assets/fonts/CascadiaMono-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
