/*
 * The Lumen product's one type family, Switzer, served from this site.
 * Loaded by the root layout only when NEXT_PUBLIC_SUPANOVA_PRODUCT_UI=lumen.
 * See README.md here.
 *
 * The shared font variables from app/globals.css (the live app's Halyard and
 * General Sans) point at Switzer too, so every surface the product renders,
 * including pages and dialogs built on the live app's classes, sets in
 * Switzer only. `:root:root` outranks the globals' `:root` in any load order.
 */

@font-face { font-family: "Switzer"; src: url("./switzer-light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("./switzer-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("./switzer-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("./switzer-semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root:root {
  --font-display: "Switzer", ui-sans-serif, system-ui, sans-serif;
  --font-text: "Switzer", ui-sans-serif, system-ui, sans-serif;
  --font-micro: "Switzer", ui-sans-serif, system-ui, sans-serif;
}

/* The wallet's sign-in and signing dialogs (Privy) set in Switzer too, whatever their own styles set. */
[id^="headlessui-dialog-panel-"]:is(.privy-light, .privy-dark),
[id^="headlessui-dialog-panel-"]:is(.privy-light, .privy-dark) * {
  font-family: "Switzer", ui-sans-serif, system-ui, sans-serif;
}
