/* BAKai design tokens — single source, every asset imports this */


:root {
  /* Colors */
  --bg: #111827;
  --ink: #f3f4f6;
  --muted: #9ca3af;
  --honey: #EDE0B3;
  --deep-gold: #BAA56F;
  --deep-gold-muted: rgba(186, 165, 111, 0.14);
  
  /* Accents */
  --accent-grounded: #e5e7eb;
  --accent-gap: #E45572;
  --user-ink: var(--honey); /* colours the user byline */
  --accent-grounded-muted: #374151;
  --accent-gap-muted: rgba(228, 85, 114, 0.14);
  --accent-focus: var(--deep-gold);
  
  /* UI Elements */
  --border: #374151;
  
  /* Typography */
  --font-ui: "Readex Pro", "Nunito", -apple-system, BlinkMacSystemFont, sans-serif;
  --font: "Cascadia Code", monospace;
  --font-voice: "Cascadia Code", monospace;
  --font-logo: "Cascadia Code", monospace;
  --font-heading: "Cascadia Code", monospace;
  --font-shine: "Cascadia Code", monospace;
  --font-display: "Readex Pro", "Nunito", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-code: "Cascadia Code", ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  
  /* Spacing (4px base scale) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --radius-card: var(--radius-lg);
  
  /* Layout */
  --maxwidth: 44rem;
  
  --surface: rgba(255, 255, 255, 0.05);
  --invert-bg: #f3f4f6;
  --invert-ink: #111827;
}

/* Hover & Highlight States */
::selection {
  background-color: var(--invert-bg);
  color: var(--invert-ink);
}



body.light {
  --bg: #ffffff;
  --ink: #111827;
  --muted: #6b7280;
  --accent-grounded: #111827;
  --accent-gap: #E45572;
  --user-ink: #9A7B2F;
  --accent-focus: #9A7B2F;
  --accent-grounded-muted: #e5e7eb;
  --accent-gap-muted: rgba(228, 85, 114, 0.10);
  --deep-gold-muted: rgba(186, 165, 111, 0.18);
  --border: #e5e7eb;
  --surface: rgba(0, 0, 0, 0.04);
  --invert-bg: #111827;
  --invert-ink: #ffffff;
}
