/* Design Tokens */

:root {
  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.563rem;
  --text-3xl: 1.953rem;
  --text-4xl: 2.441rem;
  --text-5xl: 3.052rem;

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;

  /* Spacing (8px grid) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --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 */
  --max-width: 1200px;
  --content-width: 720px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-micro: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
}

/* Dark theme (studio home) */
[data-theme="dark"] {
  --color-bg: #0E0E10;
  --color-bg-subtle: #18181B;
  --color-bg-muted: #27272A;
  --color-text: #FAFAFA;
  --color-text-secondary: #A1A1AA;
  --color-text-muted: #71717A;
  --color-border: #27272A;
  --color-border-subtle: #1E1E22;
  --color-accent: #8B8BF5;
  --color-accent-hover: #A5A5FF;
  --nav-bg: rgba(14, 14, 16, 0.8);
  --nav-text: #FAFAFA;
  --nav-text-secondary: #A1A1AA;
  --nav-border: #1E1E22;
  --glow-ledgeek: linear-gradient(135deg, rgba(212, 70, 122, 0.12), rgba(46, 158, 151, 0.12));
  --glow-takt: linear-gradient(135deg, rgba(91, 127, 255, 0.12), rgba(52, 199, 89, 0.12));
  --glow-babeat: linear-gradient(135deg, rgba(91, 138, 110, 0.12), rgba(224, 122, 95, 0.12));
}

/* Dark nav shared across ALL app pages */
[data-theme="ledgeek"],
[data-theme="takt"],
[data-theme="babeat"] {
  --nav-bg: rgba(14, 14, 16, 0.8);
  --nav-text: #FAFAFA;
  --nav-text-secondary: #A1A1AA;
  --nav-border: #1E1E22;
}
