/* ==========================================================================
   CTA Design System — CSS Custom Properties
   Clinical Training and Supervision Academy
   ========================================================================== */

:root {
  /* --------------------------------------------------------------------------
     Colors
     -------------------------------------------------------------------------- */
  --color-primary: #3266A9;
  --color-primary-dark: #285589;
  --color-primary-light: #4A7FBE;
  --color-navy: #122B51;
  --color-navy-light: #1A3A6B;
  --color-white: #FFFFFF;
  --color-bg-light: #F4F8FF;
  --color-bg-muted: #E8EFF9;
  --color-text-dark: #1A1A2E;
  --color-text-gray: #6B7280;
  --color-text-muted: #9CA3AF;
  --color-success: #16A34A;
  --color-success-light: #DCFCE7;
  --color-border: #D1D9E6;
  --color-border-light: #E5EAF2;
  --color-focus-ring: color-mix(in srgb, var(--color-primary) 15%, transparent);
  --color-white-muted: rgba(255, 255, 255, 0.65);
  --color-white-subtle: rgba(255, 255, 255, 0.75);
  --color-white-faint: rgba(255, 255, 255, 0.5);
  --color-white-border: rgba(255, 255, 255, 0.1);

  /* --------------------------------------------------------------------------
     Typography
     -------------------------------------------------------------------------- */
  --font-family-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-family-body: "Montserrat", system-ui, -apple-system, sans-serif;
  --font-family: var(--font-family-body);
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 700;
  --font-weight-heading: 700;

  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-md: 1.125rem;   /* 18px */
  --font-size-lg: 1.25rem;    /* 20px */
  --font-size-xl: 1.5rem;     /* 24px */
  --font-size-2xl: 1.875rem;  /* 30px */
  --font-size-3xl: 2.25rem;   /* 36px */
  --font-size-4xl: 3rem;      /* 48px */

  --line-height-tight: 1.2;
  --line-height-snug: 1.375;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.625;

  --letter-spacing-tight: -0.02em;
  --letter-spacing-wide: 0.05em;

  /* --------------------------------------------------------------------------
     Spacing Scale
     -------------------------------------------------------------------------- */
  --space-xs: 0.25rem;   /* 4px */
  --space-sm: 0.5rem;    /* 8px */
  --space-md: 1rem;      /* 16px */
  --space-lg: 1.5rem;    /* 24px */
  --space-xl: 2rem;      /* 32px */
  --space-2xl: 3rem;     /* 48px */
  --space-3xl: 4rem;     /* 64px */

  /* --------------------------------------------------------------------------
     Border Radius
     -------------------------------------------------------------------------- */
  --radius-sm: 0px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --radius-xl: 6px;
  --radius-2xl: 6px;
  --radius-full: 4px;

  /* --------------------------------------------------------------------------
     Box Shadows
     -------------------------------------------------------------------------- */
  --shadow-soft: 0 2px 8px color-mix(in srgb, var(--color-navy) 6%, transparent);
  --shadow-medium: 0 4px 16px color-mix(in srgb, var(--color-navy) 10%, transparent);
  --shadow-strong: 0 8px 32px color-mix(in srgb, var(--color-navy) 16%, transparent);
  --shadow-card-hover: 0 12px 40px color-mix(in srgb, var(--color-primary) 15%, transparent);

  /* --------------------------------------------------------------------------
     Layout
     -------------------------------------------------------------------------- */
  --container-max: 1280px;
  --container-padding: var(--space-md);
  --header-height: 80px;

  /* --------------------------------------------------------------------------
     Transitions
     -------------------------------------------------------------------------- */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;

  /* --------------------------------------------------------------------------
     Z-Index Scale
     -------------------------------------------------------------------------- */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
}
