:root {
  --font-ui: "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Manrope", Inter, ui-sans-serif, system-ui, sans-serif;

  /* RatedCue brand — Signal Point */
  --bg: #0B1020;
  --bg-elevated: #0F1526;
  --surface-1: #12182B;
  --surface-2: #192238;
  --surface-3: #24304B;

  --text-1: #F8FAFC;
  --text-2: #CBD5E1;
  --text-3: #94A3B8;
  --text-inverse: #0B1020;
  --on-brand: #07111F;

  --brand-300: #59DBE8;
  --brand-400: #16C7D9;
  --brand-500: #0FAFC2;
  --brand-600: #087F8C;
  --brand-blue: #0284FF;

  /* Semantic colors: never use these as decorative brand colors. */
  --safe: #22C55E;
  --caution: #F59E0B;
  --danger: #EF4444;
  --info: #94A3B8;

  --border: rgba(226, 232, 240, 0.10);
  --border-strong: rgba(226, 232, 240, 0.18);

  --shadow-sm: 0 8px 24px rgba(2, 8, 23, 0.24);
  --shadow-md: 0 18px 52px rgba(2, 8, 23, 0.34);
  --brand-glow: 0 14px 36px rgba(22, 199, 217, 0.16);
  --focus-ring: #16C7D9;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;

  --container: 72rem;
  --header-height: 4rem;
  --transition-fast: 150ms ease;
  --transition-normal: 240ms ease;

  color-scheme: dark;
}

html[data-theme="light"] {
  --bg: #F7FAFC;
  --bg-elevated: #EEF4F7;
  --surface-1: #FFFFFF;
  --surface-2: #EDF3F7;
  --surface-3: #DDE7EC;

  --text-1: #0B1020;
  --text-2: #334155;
  --text-3: #64748B;
  --text-inverse: #FFFFFF;
  --on-brand: #07111F;

  --brand-300: #16C7D9;
  --brand-400: #087F8C;
  --brand-500: #087F8C;
  --brand-600: #066874;
  --brand-blue: #0275E7;

  --safe: #167C4C;
  --caution: #93690B;
  --danger: #B53B3B;
  --info: #64748B;

  --border: rgba(11, 16, 32, 0.10);
  --border-strong: rgba(11, 16, 32, 0.18);

  --shadow-sm: 0 8px 24px rgba(15, 39, 54, 0.08);
  --shadow-md: 0 18px 52px rgba(15, 39, 54, 0.12);
  --brand-glow: 0 14px 36px rgba(8, 127, 140, 0.12);
  --focus-ring: #087F8C;

  color-scheme: light;
}
