/* GovernID self-hosted fonts (decision #45). Geist 1.7.2 (OFL), IBM Plex Sans Arabic / Fontsource 5.3.0 (OFL).
   "Geist" is a composite family: Latin/Cyrillic from Geist, Arabic glyphs from IBM Plex Sans Arabic,
   so every Elementor/Solace rule that names Geist renders Arabic correctly without per-widget overrides. */
/* Geist normal is declared in the same three weight bands as the Arabic faces below; with one 100-900 face
   the browser picks a single face per weight and Latin text falls back to the system font. Same file, one download. */
@font-face { font-family: "Geist"; src: url("geist-variable.woff2") format("woff2"); font-weight: 100 449; font-style: normal; font-display: swap; unicode-range: U+0000-05FF, U+0E3F, U+1D00-1FFF, U+2000-2BFF, U+A700-A7FF, U+F8FF, U+FB00-FB4F; }
@font-face { font-family: "Geist"; src: url("geist-variable.woff2") format("woff2"); font-weight: 450 599; font-style: normal; font-display: swap; unicode-range: U+0000-05FF, U+0E3F, U+1D00-1FFF, U+2000-2BFF, U+A700-A7FF, U+F8FF, U+FB00-FB4F; }
@font-face { font-family: "Geist"; src: url("geist-variable.woff2") format("woff2"); font-weight: 600 900; font-style: normal; font-display: swap; unicode-range: U+0000-05FF, U+0E3F, U+1D00-1FFF, U+2000-2BFF, U+A700-A7FF, U+F8FF, U+FB00-FB4F; }
@font-face {
  font-family: "Geist";
  src: url("geist-italic-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-05FF, U+0E3F, U+1D00-1FFF, U+2000-2BFF, U+A700-A7FF, U+F8FF, U+FB00-FB4F;
}
@font-face { font-family: "Geist"; src: url("ibm-plex-sans-arabic-400.woff2") format("woff2"); font-weight: 100 449; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFE; }
@font-face { font-family: "Geist"; src: url("ibm-plex-sans-arabic-500.woff2") format("woff2"); font-weight: 450 599; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFE; }
@font-face { font-family: "Geist"; src: url("ibm-plex-sans-arabic-700.woff2") format("woff2"); font-weight: 600 900; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFE; }

/* Standalone Arabic family (design system token "arabic"). */
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("ibm-plex-sans-arabic-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("ibm-plex-sans-arabic-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("ibm-plex-sans-arabic-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

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

:root {
  --gid-font-sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gid-font-arabic: "IBM Plex Sans Arabic", "Geist", system-ui, sans-serif;
  --gid-font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Arabic: negative tracking breaks cursive joining; headings get more leading. */
html[lang^="ar"] body,
html[lang^="ar"] body * { letter-spacing: 0 !important; }
html[lang^="ar"] :is(h1, h2, h3, h4, h5, h6, .elementor-heading-title) { line-height: 1.25; }
