/* Plan Bright Partners — Design Tokens */
/* Palette: warm cream surfaces, orange primary, deep teal secondary — matches new logo */

:root,
[data-theme='light'] {
  /* Surfaces */
  --color-bg: #f8f6f1;
  --color-surface: #faf9f5;
  --color-surface-2: #ffffff;
  --color-surface-offset: #f0ede5;
  --color-surface-offset-2: #e8e4db;
  --color-divider: #ddd9d0;
  --color-border: #ccc8bf;

  /* Text */
  --color-text: #00283c;
  --color-text-muted: #3a5a6a;
  --color-text-faint: #8aaab8;
  --color-text-inverse: #f8f6f1;

  /* Primary — Logo Orange */
  --color-primary: #f07800;
  --color-primary-hover: #d46500;
  --color-primary-active: #b35500;
  --color-primary-highlight: #fef3e6;
  --color-primary-mid: #f08600;

  /* Teal secondary — from logo mark */
  --color-teal: #005064;
  --color-teal-hover: #003c50;
  --color-teal-active: #00283c;
  --color-teal-highlight: #e0f0f5;
  --color-teal-mid: #006478;
  /* Section accent backgrounds */
  --color-navy: #e8f5f6;
  --color-navy-mid: #d0ecee;
  --color-navy-light: #b8e3e7;
  --color-section-teal: #005064;
  --color-section-teal-mid: #003c50;

  /* Accent — Teal (secondary calls to action) */
  --color-amber: #f07800;
  --color-amber-bright: #f08600;
  --color-amber-hover: #d46500;
  --color-amber-highlight: #fef3e6;

  /* Success */
  --color-success: #005064;
  --color-success-highlight: #e0f0f5;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-interactive: 220ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 40, 60, 0.07);
  --shadow-md: 0 4px 16px rgba(0, 40, 60, 0.11);
  --shadow-lg: 0 12px 40px rgba(0, 40, 60, 0.14);
  --shadow-xl: 0 24px 60px rgba(0, 40, 60, 0.18);

  /* Type scale — fluid */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.82rem + 0.28vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.65vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.3rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 4.5rem);

  /* 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 */
  --content-narrow: 640px;
  --content-default: 1000px;
  --content-wide: 1240px;

  /* Fonts */
  --font-display: 'Instrument Serif', 'Georgia', serif;
  --font-body: 'General Sans', 'Inter', -apple-system, sans-serif;
}
