/* ============================================
   NYThrive Design System v1 — Tokens
   ============================================ */

:root {
  /* ── Brand Colors ── */
  --brand-navy: #0f1f3a;
  --brand-navy-light: #1a365d;
  --brand-navy-muted: #2d4a6f;
  --brand-teal: #0d7377;
  --brand-teal-light: #14a085;
  --brand-teal-muted: #e6f4f4;
  --brand-amber: #d97706;
  --brand-amber-light: #f59e0b;
  --brand-amber-muted: #fef3c7;

  /* ── Neutral Colors ── */
  --neutral-900: #0f172a;
  --neutral-800: #1e293b;
  --neutral-700: #334155;
  --neutral-600: #475569;
  --neutral-500: #64748b;
  --neutral-400: #94a3b8;
  --neutral-300: #cbd5e1;
  --neutral-200: #e2e8f0;
  --neutral-100: #f1f5f9;
  --neutral-50: #f8fafc;

  /* ── Semantic Colors ── */
  --color-primary: var(--brand-navy);
  --color-primary-light: var(--brand-navy-light);
  --color-primary-muted: var(--brand-navy-muted);
  --color-accent: var(--brand-teal);
  --color-accent-light: var(--brand-teal-light);
  --color-accent-muted: var(--brand-teal-muted);
  --color-warm: var(--brand-amber);
  --color-warm-light: var(--brand-amber-light);
  --color-warm-muted: var(--brand-amber-muted);

  --color-text: var(--neutral-800);
  --color-text-secondary: var(--neutral-600);
  --color-text-tertiary: var(--neutral-500);
  --color-text-inverse: #ffffff;

  --color-bg: #ffffff;
  --color-bg-subtle: var(--neutral-50);
  --color-bg-muted: var(--neutral-100);
  --color-bg-inverse: var(--brand-navy);

  --color-border: var(--neutral-200);
  --color-border-subtle: var(--neutral-100);

  /* ── Core Badge Colors ── */
  --badge-core-bg: #dcfce7;
  --badge-core-text: #166534;
  --badge-core-border: #bbf7d0;

  /* ── Adjacent Badge Colors ── */
  --badge-adjacent-bg: #fef9c3;
  --badge-adjacent-text: #854d0e;
  --badge-adjacent-border: #fde68a;

  /* ── Typography ── */
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-serif: Georgia, 'Times New Roman', serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;

  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;

  /* ── 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-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1200px;
  --container-2xl: 1400px;

  --max-content: var(--container-xl);
  --max-prose: 65ch;

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

  /* ── Shadows ── */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.07), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);

  /* ── Transitions ── */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;

  /* ── Z-Index Scale ── */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 300;
  --z-popover: 400;
}
