/* ==========================================================================
   Design tokens — Al Nasser Tax & Financial Consulting (taxnas.com)
   One token set drives both the Arabic (RTL) and English (LTR) builds.
   ========================================================================== */

:root {
  /* Color — modern emerald / teal / warm-neutral identity */
  --color-emerald-900: #123c36;   /* Deep Emerald — headings, footer, dark CTA */
  --color-emerald-700: #187c68;   /* Emerald — primary buttons, links, active states */
  --color-emerald-600: #136357;   /* Emerald hover/pressed */
  --color-teal-500: #2fa58f;      /* Fresh Teal — icons, highlights, hover accents */
  --color-sage-100: #e7f1ed;      /* Soft Sage — icon tiles, feature/stat backgrounds */
  --color-sage-line: #b9d7cf;     /* Sage line — timeline connector */
  --color-ivory: #faf9f5;         /* Warm Ivory — hero / alternate section backgrounds */
  --color-white: #ffffff;
  --color-gray-200: #dce6e2;      /* Border */
  --color-gray-300: #c7d5d0;
  --color-text-muted-raw: #61716d;/* Secondary text */
  --color-ink: #17302c;           /* Main text */

  --color-bg: var(--color-white);
  --color-bg-alt: var(--color-ivory);
  --color-bg-sage: var(--color-sage-100);
  --color-surface: var(--color-white);
  --color-border: var(--color-gray-200);
  --color-text: var(--color-ink);
  --color-text-muted: var(--color-text-muted-raw);
  --color-text-inverse: var(--color-white);
  --color-brand: var(--color-emerald-900);
  --color-brand-strong: var(--color-emerald-900);
  --color-accent: var(--color-emerald-700);
  --color-accent-strong: var(--color-emerald-600);
  --color-teal: var(--color-teal-500);
  --color-cta-desc: #d9e7e3;
  --color-footer-muted: #bfd4cf;
  --color-focus: #187c68;

  /* Typography */
  --font-en: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-ar: "Tajawal", "Tahoma", system-ui, sans-serif;

  --fs-h1: clamp(1.9rem, 1.4rem + 2.2vw, 3.4rem);
  --fs-h2: clamp(1.5rem, 1.2rem + 1.4vw, 2.4rem);
  --fs-h3: clamp(1.15rem, 1.05rem + 0.5vw, 1.5rem);
  --fs-lead: clamp(1rem, 0.94rem + 0.3vw, 1.2rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.8rem;

  --lh-tight: 1.2;
  --lh-normal: 1.55;
  --lh-loose: 1.8;

  /* Spacing (4px scale) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  --container-max: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(18, 60, 54, 0.04);
  --shadow-sm: 0 2px 6px rgba(18, 60, 54, 0.06);
  --shadow-md: 0 10px 28px rgba(18, 60, 54, 0.08);
  --shadow-lg: 0 24px 56px rgba(18, 60, 54, 0.13);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 160ms;
  --dur-med: 320ms;
  --dur-slow: 560ms;

  --header-h: 76px;
}

@media (max-width: 640px) {
  :root {
    --header-h: 64px;
  }
}
