/* Hallmark · macrostructure: Stat-Led · tone: utilitarian-medical · anchor hue: blue */

:root {
  /* Brand Clinical Palette (OKLCH with hex fallbacks) */
  --jd-primary: #0b4ea2;
  --jd-primary-dark: #073877;
  --jd-primary-light: #e0f2fe;
  --jd-accent: #f97316;
  --jd-accent-hover: #ea580c;
  --jd-success: #10b981;
  --jd-success-dark: #059669;

  /* Paper / Backgrounds */
  --jd-bg-page: #f8fafc;
  --jd-bg-card: #ffffff;
  --jd-bg-subtle: #f1f5f9;
  --jd-bg-active: #fff7ed;

  /* Text & Ink */
  --jd-text-main: #0f172a;
  --jd-text-muted: #64748b;
  --jd-text-light: #94a3b8;
  --jd-text-inverse: #ffffff;

  /* Borders & Dividers */
  --jd-border-light: #e2e8f0;
  --jd-border-subtle: #f1f5f9;
  --jd-border-focus: #38bdf8;

  /* Elevation Shadows */
  --jd-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --jd-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --jd-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --jd-shadow-card: 0 2px 8px rgba(15, 23, 42, 0.04);
  --jd-shadow-card-hover: 0 12px 24px -4px rgba(15, 23, 42, 0.08);
  --jd-shadow-modal: 0 25px 50px -12px rgba(15, 23, 42, 0.25);

  /* Spacing Scale (4pt base) */
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Border Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Typography */
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 1rem;     /* 16px */
  --text-lg: 1.125rem;   /* 18px */
  --text-xl: 1.25rem;    /* 20px */
  --text-2xl: 1.5rem;    /* 24px */
  --text-3xl: 1.875rem;  /* 30px */
  --text-4xl: 2.25rem;   /* 36px */

  /* Motion & Durations (Strictly under 300ms for responsiveness) */
  --dur-instant: 100ms;
  --dur-fast: 150ms;
  --dur-normal: 220ms;
  --dur-modal: 280ms;

  /* Named Easings */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
}
