/* =========================================================
   Filtary typeface — system faces, no downloads
   ------------------------------------------------------------
   Owner decision: the console renders in the OS best face.
   No @font-face, no woff2, no CDN, no render-blocking request.

   Order is load-bearing: system-ui resolves per OS (Segoe UI on
   Windows, San Francisco on macOS, Roboto on Android). Arabic
   falls through per platform: Segoe UI covers Arabic on
   Windows, Tahoma is the guaranteed Windows Arabic face, Geeza
   Pro covers macOS, Noto Sans Arabic covers Linux/Android where
   present. Nothing below may name a face that needs a download.

   Weight carries the hierarchy (connected RTL script ignores
   letter-spacing), and system faces serve every weight 100–900
   natively, so the ramp below is always real.
   ========================================================= */

:root {
  --font-body: system-ui, "Segoe UI Variable Text", "Segoe UI", Tahoma, "Geeza Pro", "Noto Sans Arabic", Arial, sans-serif;
  --font-display: system-ui, "Segoe UI Variable Display", "Segoe UI", Tahoma, "Geeza Pro", "Noto Sans Arabic", Arial, sans-serif;

  /* Real weights. Components read these instead of hard-coding a
     number, so the scale stays one decision in one place. */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;
}

/* System faces need no synthesis guard: there is nothing to
   synthesize from. Kept explicit so a future @font-face cannot
   sneak back without this file saying so. */
html {
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body,
button,
input,
select,
textarea,
label,
legend,
th {
  font-family: var(--font-body);
}
