/* Marro Healthcare Initiative — Design Tokens (Phase 5) */

:root {
  /* Brand colors */
  --color-primary: #174F45;
  --color-primary-dark: #103B34;
  --color-primary-mid: #397C68;
  --color-primary-light: #EAF2ED;
  --color-secondary: #D5A85B;
  --color-secondary-light: #F7F0E2;

  /* Surfaces */
  --color-background: #F7F5EF;
  --color-surface: #FFFFFF;
  --color-surface-muted: #F0EEE7;

  /* Text */
  --color-text-primary: #25312F;
  --color-text-secondary: #66736E;
  --color-text-inverse: #FFFFFF;

  /* Borders & states */
  --color-border: #E3E7E1;
  --color-success: #276749;
  --color-warning: #A66A17;
  --color-danger: #A83232;
  --color-focus: #2874C8;

  /* Typography */
  --font-display: "DM Serif Display", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-body: "DM Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --text-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.82rem + 0.2vw, 0.9375rem);
  --text-base: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);
  --text-xl: clamp(1.35rem, 1.2rem + 0.6vw, 1.625rem);
  --text-2xl: clamp(1.75rem, 1.45rem + 1vw, 2.25rem);
  --text-3xl: clamp(2.15rem, 1.7rem + 1.5vw, 3rem);
  --text-4xl: clamp(2.5rem, 1.9rem + 2vw, 3.75rem);

  --leading-tight: 1.2;
  --leading-snug: 1.35;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* 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;

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 720px;
  --header-height: 5.5rem;
  --header-height-mobile: 4.5rem;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(37, 49, 47, 0.06);
  --shadow-md: 0 8px 24px rgba(37, 49, 47, 0.08);
  --shadow-lg: 0 18px 40px rgba(37, 49, 47, 0.12);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 450ms;

  /* Z-index */
  --z-header: 100;
  --z-overlay: 200;
  --z-modal: 300;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --duration-fast: 0ms;
    --duration-base: 0ms;
    --duration-slow: 0ms;
  }
}
