/**
 * micaonline Design Tokens
 * Change brand here — everything inherits.
 */
:root {
  /* ── Brand Colours (from logo) ── */
  --clr-orange:        #E8590C;
  --clr-orange-dark:   #C04A08;
  --clr-orange-light:  #FDE8DC;
  --clr-blue:          #1A4E8A;
  --clr-blue-dark:     #103263;
  --clr-blue-light:    #D6E6F7;
  --clr-yellow:        #F5B800;
  --clr-yellow-dark:   #C49200;
  --clr-yellow-light:  #FEF6D6;

  /* ── Neutrals ── */
  --clr-white:         #FFFFFF;
  --clr-bg:            #F7F5F2;
  --clr-surface:       #EDEBE6;
  --clr-border:        #E0DDD6;
  --clr-text:          #1A1A1A;
  --clr-text-muted:    #6B6B6B;
  --clr-text-light:    #9A9A9A;

  /* ── Semantic ── */
  --clr-success:       #1A7A4A;
  --clr-success-bg:    #D4EDDA;
  --clr-error:         #C0392B;
  --clr-error-bg:      #FAE0DE;
  --clr-warning:       #856404;
  --clr-warning-bg:    #FFF3CD;

  /* ── Typography ── */
  --font-sans:         'Inter', 'DM Sans', -apple-system, sans-serif;
  --font-display:      'Sora', 'DM Sans', sans-serif;
  --font-size-xs:      0.75rem;   /* 12px */
  --font-size-sm:      0.875rem;  /* 14px */
  --font-size-base:    1rem;      /* 16px */
  --font-size-lg:      1.125rem;  /* 18px */
  --font-size-xl:      1.25rem;   /* 20px */
  --font-size-2xl:     1.5rem;    /* 24px */
  --font-size-3xl:     1.875rem;  /* 30px */
  --font-size-4xl:     2.25rem;   /* 36px */

  /* ── Spacing (8px grid) ── */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;

  /* ── Radii ── */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-full: 9999px;

  /* ── Shadows ── */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:  0 4px 12px rgba(0,0,0,.10), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:  0 8px 24px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);

  /* ── Layout ── */
  --header-height:     64px;
  --sidebar-width:     280px;
  --container-max:     1320px;
  --container-padding: var(--space-6);

  /* ── Transitions ── */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;

  /* ── Z-index ── */
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-overlay:  300;
  --z-modal:    400;
  --z-toast:    500;
}
