/* =========================================================
   HULUL — Design Tokens (official brand identity)
   Colors: #f8fafc · #54e0c5 · #14056b · #f2bf04
   Fonts : Hacen Tunisia Bold (Arabic) · Myriad Pro (English)
   ========================================================= */

/* ---------------------------------------------------------
   Brand fonts (self-hosted, assets/fonts/*.woff2)
   - Hacen Tunisia covers ARABIC characters only (unicode-range), so any
     English word or Latin digit inside Arabic text falls through to Myriad Pro,
     as the brand guide asks (Arabic = Hacen Tunisia, English = Myriad Pro).
   - Myriad Pro files are subset to Latin to keep them small.
   - When a page is opened as file:///, Chrome blocks these URLs; the <head> script then
     loads assets/css/fonts-file.css (same fonts inlined, built by tools/build.py).
   --------------------------------------------------------- */
@font-face { font-family: "Hacen Tunisia"; font-style: normal; font-weight: 100 300; font-display: swap;
  src: url("../fonts/HacenTunisia-Light.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+060C, U+061B, U+061F; }
@font-face { font-family: "Hacen Tunisia"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("../fonts/HacenTunisia-Regular.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+060C, U+061B, U+061F; }
@font-face { font-family: "Hacen Tunisia"; font-style: normal; font-weight: 600 900; font-display: swap;
  src: url("../fonts/HacenTunisia-Bold.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+060C, U+061B, U+061F; }

@font-face { font-family: "Myriad Pro"; font-style: normal; font-weight: 100 300; font-display: swap;
  src: url("../fonts/MyriadPro-Light.woff2") format("woff2"); }
@font-face { font-family: "Myriad Pro"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("../fonts/MyriadPro-Regular.woff2") format("woff2"); }
@font-face { font-family: "Myriad Pro"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/MyriadPro-Semibold.woff2") format("woff2"); }
@font-face { font-family: "Myriad Pro"; font-style: normal; font-weight: 700 900; font-display: swap;
  src: url("../fonts/MyriadPro-Bold.woff2") format("woff2"); }

:root {
  /* ---- Brand core ---- */
  --brand-snow:   #f8fafc;   /* background / light surfaces */
  --brand-mint:   #54e0c5;   /* primary accent, highlights, glows */
  --brand-indigo: #14056b;   /* primary brand / dark surfaces / text */
  --brand-sun:    #f2bf04;   /* CTA, emphasis — use sparingly */

  /* ---- Derived scales (tints/shades of the brand colors) ---- */
  --indigo-950: #0a0238;
  --indigo-900: #0f0452;
  --indigo-800: #14056b;
  --indigo-700: #24158a;
  --indigo-600: #3a2bb0;
  --indigo-200: #c9c4ef;
  --indigo-100: #e7e4fa;
  --indigo-50:  #f3f1fd;

  --mint-700: #1f9e86;
  --mint-500: #54e0c5;
  --mint-300: #98ecdc;
  --mint-100: #dcf9f3;

  --sun-600: #c99c00;
  --sun-500: #f2bf04;
  --sun-100: #fdf3cc;

  --ink:        #14056b;
  --ink-soft:   #4a4378;
  --ink-muted:  #7c7799;
  --line:       #e4e2f0;
  --line-dark:  rgba(248, 250, 252, .12);
  --surface:    #ffffff;
  --bg:         #f8fafc;

  /* ---- Typography ---- */
  --font-ar: "Hacen Tunisia", "Myriad Pro", "Segoe UI", Tahoma, sans-serif;
  --font-en: "Myriad Pro", "Segoe UI", Arial, sans-serif;

  --fs-display: clamp(44px, 6.4vw, 92px);
  --fs-h1: clamp(36px, 4.4vw, 64px);
  --fs-h2: clamp(30px, 3.4vw, 48px);
  --fs-h3: clamp(22px, 2vw, 28px);
  --fs-h4: 20px;
  --fs-body-lg: 19px;
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-micro: 12px;

  /* ---- Radius / spacing / shadow ---- */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;

  --space-section: clamp(56px, 6.2vw, 96px);
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 40px);

  --shadow-sm: 0 2px 8px rgba(20, 5, 107, .06);
  --shadow-md: 0 12px 32px -8px rgba(20, 5, 107, .14);
  --shadow-lg: 0 32px 64px -16px rgba(20, 5, 107, .25);
  --glow-mint: 0 0 0 1px rgba(84, 224, 197, .35), 0 18px 50px -10px rgba(84, 224, 197, .45);

  --ease: cubic-bezier(.2, .7, .2, 1);
}
