/* ------------------------------------------------------------------ */
/*  خطوط منصة بيتي — مستضافة ذاتياً (تعمل فوراً وبدون إنترنت)             */
/*  Rubik  → العناوين والقوائم والأزرار (بنية الواجهة)                    */
/*  Zain   → نصوص القراءة وباقي العناصر                                  */
/* ------------------------------------------------------------------ */

/* ---------------------------- Rubik ---------------------------- */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/Rubik-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/Rubik-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/Rubik-SemiBold.woff2') format('woff2');
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/Rubik-Bold.woff2') format('woff2');
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/Rubik-ExtraBold.woff2') format('woff2');
}
/* Rubik لا يوفّر وزن 900 — نربطه بأقرب وزن متاح (ExtraBold) لمنع سقوط
   العناوين الثقيلة (fontWeight: 900) إلى الخط الافتراضي للمتصفح. */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/fonts/Rubik-ExtraBold.woff2') format('woff2');
}

/* ---------------------------- Zain ----------------------------- */
@font-face {
  font-family: 'Zain';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/Zain-Light.woff2') format('woff2');
}
@font-face {
  font-family: 'Zain';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/Zain-Regular.woff2') format('woff2');
}
/* Zain لا يوفّر وزنَي 500/600 — نربطهما بأقرب وزن (Bold) لتفادي التخليق الصناعي */
@font-face {
  font-family: 'Zain';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/Zain-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Zain';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/Zain-Bold.woff2') format('woff2');
}
@font-face {
  font-family: 'Zain';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/Zain-Bold.woff2') format('woff2');
}
@font-face {
  font-family: 'Zain';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/Zain-ExtraBold.woff2') format('woff2');
}
/* Zain لا يوفّر وزن 900 — نربطه بأقرب وزن متاح (ExtraBold) لنفس السبب أعلاه. */
@font-face {
  font-family: 'Zain';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/fonts/Zain-ExtraBold.woff2') format('woff2');
}
