/**
 * design-tokens.css — single source of truth for all CSS custom properties.
 * Every other stylesheet imports values from here; nothing is hard-coded elsewhere.
 */

:root {
  /* ─── Brand Colors ──────────────────────────────────────────────────────── */
  --color-navy:         #1A2F4C;
  --color-teal:         #4A88B3;
  --color-rose:         #C27A8B;
  --color-cream:        #F8F7F3;
  --color-white:        #FFFFFF;
  --color-text:         #2C3E50;
  --color-text-muted:   #6B7280;
  --color-border:       #E2E0D8;
  --color-placeholder:  #A0A09A;

  /* Ribbon accent colors mapped to webinar order */
  --color-ribbon-1: var(--color-navy);
  --color-ribbon-2: var(--color-rose);
  --color-ribbon-3: var(--color-teal);

  /* ─── Spacing (4px grid) ────────────────────────────────────────────────── */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;

  /* ─── Border Radius ─────────────────────────────────────────────────────── */
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     16px;
  --radius-xl:     24px;
  --radius-pill:   50px;
  --radius-circle: 50%;

  /* ─── Shadows ────────────────────────────────────────────────────────────── */
  --shadow-xs:    0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-sm:    0 4px 12px rgba(0, 0, 0, 0.07);
  --shadow-md:    0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg:    0 16px 40px rgba(0, 0, 0, 0.10);
  --shadow-focus: 0 0 0 3px rgba(74, 136, 179, 0.35);

  /* ─── Z-Index Scale ──────────────────────────────────────────────────────── */
  --z-base:     0;
  --z-raised:   10;
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-overlay:  500;
  --z-modal:    600;
  --z-toast:    900;

  /* ─── Transitions ────────────────────────────────────────────────────────── */
  --transition-fast:        150ms ease;
  --transition-base:        250ms ease;
  --transition-slow:        400ms ease;
  --transition-certificate: 600ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ─── Typography ─────────────────────────────────────────────────────────── */
  --font-sans:  'Montserrat', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', 'Lora', Georgia, serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  2rem;
  --text-4xl:  2.5rem;
  --text-5xl:  3.5rem;

  --leading-tight:   1.2;
  --leading-normal:  1.6;
  --leading-relaxed: 1.75;

  /* ─── Layout ─────────────────────────────────────────────────────────────── */
  --container-max: 1200px;
  --nav-height:    64px;
}
