/**
 * ToX Tweaks design token system
 * Consumed by the app shell and component styles via CSS custom properties.
 */
:root {
  /* Layout */
  --promo-bar-height: 0px;
  --header-offset: 80px;
  --layout-max-width: 80rem;
  --layout-gutter-sm: 1rem;
  --layout-gutter-md: 1.5rem;
  --layout-gutter-lg: 2rem;

  /* Brand palette */
  --color-brand-primary: #bf00ff;
  --color-brand-secondary: #8b5cf6;
  --color-brand-accent: #a855f7;
  --color-brand-accent-deep: #7c3aed;
  --color-brand-pink: #ec4899;
  --color-brand-pink-deep: #db2777;
  --color-brand-lime: #a3e635;
  --color-brand-lime-bright: #bef264;

  /* Surfaces */
  --color-bg-base: #101010;
  --color-bg-elevated: #121212;
  --color-bg-surface: rgb(18, 18, 18);
  --color-bg-overlay: rgba(16, 16, 16, 0.5);
  --color-bg-purple-muted: rgba(88, 28, 135, 0.4);

  /* Text */
  --color-text-primary: #ffffff;
  --color-text-secondary: #9ca3af;
  --color-text-muted: #6b7280;
  --color-text-inverse: #101010;

  /* Borders */
  --color-border-subtle: rgba(255, 255, 255, 0.1);
  --color-border-muted: rgba(255, 255, 255, 0.08);
  --color-border-accent: rgba(168, 85, 247, 0.4);
  --color-border-lime: rgba(190, 242, 100, 0.4);

  /* Scrollbar */
  --color-scrollbar-track: rgba(255, 255, 255, 0.05);
  --color-scrollbar-thumb-start: var(--color-brand-secondary);
  --color-scrollbar-thumb-mid: var(--color-brand-pink);
  --color-scrollbar-glow: rgba(139, 92, 246, 0.3);

  /* Typography */
  --font-family-base: 'Space Grotesk', sans-serif;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --line-height-tight: 1.25;
  --line-height-snug: 1.375;
  --line-height-normal: 1.5;
  --letter-spacing-wide: 0.025em;
  --letter-spacing-wider: 0.05em;

  /* Spacing scale */
  --space-0: 0;
  --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;

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

  /* Shadows */
  --shadow-glow-purple: 0 0 10px var(--color-scrollbar-glow);
  --shadow-glow-purple-lg: 0 0 20px rgba(139, 92, 246, 0.6);
  --shadow-glow-purple-xl: 0 0 25px rgba(139, 92, 246, 0.8);
  --shadow-inset-lime: inset 0 -1px 0 0 rgba(190, 242, 100, 0.35);

  /* Motion */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease-out;
  --transition-shimmer: 700ms ease-out;

  /* Z-index */
  --z-base: 0;
  --z-dropdown: 40;
  --z-header: 50;
  --z-overlay: 55;
  --z-modal: 60;
  --z-toast: 70;
}
