/* QAS type: the Apple website font. SF Pro on iPhone, iPad and Mac (the system font), Inter elsewhere
   (served from /static/fonts, the closest open font to SF Pro), IBM Plex Sans Arabic for Arabic letters.
   The QAS logo keeps Montserrat Alternates (its rules name that font, so nothing here changes it).
   Added to every page by main.py; rules use :where() so any page that chooses its own font still wins. */
@font-face { font-family: 'QAS Inter'; src: url('/static/fonts/Inter-Regular.ttf') format('truetype'); font-weight: 100 449; font-style: normal; font-display: swap; }
@font-face { font-family: 'QAS Inter'; src: url('/static/fonts/Inter-Medium.ttf') format('truetype'); font-weight: 450 549; font-style: normal; font-display: swap; }
@font-face { font-family: 'QAS Inter'; src: url('/static/fonts/Inter-SemiBold.ttf') format('truetype'); font-weight: 550 649; font-style: normal; font-display: swap; }
@font-face { font-family: 'QAS Inter'; src: url('/static/fonts/Inter-Bold.ttf') format('truetype'); font-weight: 650 950; font-style: normal; font-display: swap; }
@font-face { font-family: 'QAS Arabic UI'; src: url('/static/fonts/IBMPlexSansArabic-Regular.ttf') format('truetype'); font-weight: 100 549; font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'QAS Arabic UI'; src: url('/static/fonts/IBMPlexSansArabic-Bold.ttf') format('truetype'); font-weight: 550 950; font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
:root {
    --qas-font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'QAS Inter', 'Inter', 'QAS Arabic UI', 'Helvetica Neue', 'Segoe UI', Roboto, Arial, sans-serif;
}
:where(html) { -webkit-text-size-adjust: 100%; }
:where(body) { font-family: var(--qas-font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-feature-settings: 'cv11', 'ss01'; }
:where(button, input, select, textarea, optgroup) { font-family: inherit; }
