/* MadaHub UI System — tokens derived from the active brand charter v1.5. */
:root {
  color-scheme: light;
  --font-heading: Poppins, Arial, sans-serif;
  --font-body: Inter, Arial, sans-serif;
  --color-brand-turquoise: #0AB0C8;
  --color-brand-coral: #FC5336;
  --color-brand-blue: #0E4074;
  --color-brand-green: #2E9F67;
  --color-bg: #FFFFFF;
  --color-bg-secondary: #F7FAFC;
  --color-surface: #FFFFFF;
  --color-border: #D7E0E8;
  --color-border-control: #6D8EAB;
  --color-heading: #132238;
  --color-text: #26374A;
  --color-text-secondary: #536277;
  --color-link: #087A88;
  --color-focus: #099AAF;
  --color-success: #1E7A4D;
  --color-error: #C53922;
  --color-warning: #8A5A00;
  --radius-control: 8px;
  --radius-card: 12px;
  --radius-button: 10px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --content-width: 1200px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --color-bg: #0B1623;
  --color-bg-secondary: #101E2D;
  --color-surface: #162638;
  --color-border: #33485C;
  --color-border-control: #55799A;
  --color-heading: #F7FAFC;
  --color-text: #F7FAFC;
  --color-text-secondary: #B7C2D0;
  --color-link: #5DE1EF;
  --color-focus: #42D3E5;
  --color-success: #63D49A;
  --color-error: #FF8B78;
  --color-warning: #FFD17A;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
