/* ==========================================================================
   variables.css — Design tokens & CSS custom properties
   ========================================================================== */

:root {

  /* --- Color Palette --- */
  --color-steel:    #33658a;   /* primary blue — links, interactive */
  --color-sky:      #86bbd8;   /* light blue accent */
  --color-olive:    #acb666;   /* green-gold — badges, labels, accents */
  --color-navy:     #2f4858;   /* dark surfaces, headings */
  --color-forest:   #455139;   /* CTA buttons, logo "WISE" */
  --color-cream:    #f7f9ef;   /* page background, light surfaces */

  /* Derived / utility */
  --color-white:    #ffffff;
  --color-black:    #111111;
  --color-text:     #2a2a2a;
  --color-text-muted: #5a6370;
  --color-border:   rgba(47, 72, 88, 0.12);
  --color-border-strong: rgba(47, 72, 88, 0.25);

  /* Status colors (app-specific) */
  --color-success:  #4a7c59;
  --color-warning:  #c9882a;
  --color-danger:   #b94040;
  --color-info:     var(--color-steel);
  --color-success-bg: rgba(74, 124, 89, 0.1);
  --color-warning-bg: rgba(201, 136, 42, 0.1);
  --color-danger-bg:  rgba(185, 64, 64, 0.1);
  --color-info-bg:    rgba(51, 101, 138, 0.1);

  /* --- Typography --- */
  --font-display:   'Playfair Display', Georgia, serif;
  --font-body:      'DM Sans', system-ui, sans-serif;
  --font-mono:      'DM Mono', 'Courier New', monospace;

  /* Type scale */
  --text-xs:    0.75rem;    /* 12px */
  --text-sm:    0.875rem;   /* 14px */
  --text-base:  1rem;       /* 16px */
  --text-md:    1.125rem;   /* 18px */
  --text-lg:    1.25rem;    /* 20px */
  --text-xl:    1.5rem;     /* 24px */
  --text-2xl:   1.875rem;   /* 30px */
  --text-3xl:   2.25rem;    /* 36px */
  --text-4xl:   3rem;       /* 48px */
  --text-5xl:   3.75rem;    /* 60px */
  --text-6xl:   4.5rem;     /* 72px */

  /* --- Spacing --- */
  --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;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* --- Layout --- */
  --container-sm:   640px;
  --container-md:   768px;
  --container-lg:   1024px;
  --container-xl:   1200px;
  --container-2xl:  1400px;

  /* App layout (app-specific) */
  --sidebar-width:        240px;
  --sidebar-width-collapsed: 64px;
  --topbar-height:        60px;
  --content-max-width:    1100px;

  /* --- Border Radius --- */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  20px;
  --radius-full: 9999px;

  /* --- Shadows --- */
  --shadow-sm:  0 1px 3px rgba(47, 72, 88, 0.08), 0 1px 2px rgba(47, 72, 88, 0.06);
  --shadow-md:  0 4px 16px rgba(47, 72, 88, 0.10), 0 2px 6px rgba(47, 72, 88, 0.06);
  --shadow-lg:  0 10px 32px rgba(47, 72, 88, 0.14), 0 4px 12px rgba(47, 72, 88, 0.08);
  --shadow-xl:  0 20px 48px rgba(47, 72, 88, 0.18);

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

  /* --- Z-index --- */
  --z-base:    0;
  --z-raised:  10;
  --z-overlay: 100;
  --z-nav:     200;
  --z-modal:   300;
  --z-toast:   400;

  /* --- Nav (public site compat) --- */
  --nav-height: 94px;
}
