/* Demolion Studio — design tokens */
:root {
  /* Surfaces */
  --bg-0: #05060b;
  --bg-1: #0b0d16;
  --bg-2: #11141f;
  --bg-3: #181c2b;
  --surface: rgba(22, 26, 40, 0.72);
  --surface-raised: rgba(28, 32, 50, 0.82);
  --surface-hi: rgba(38, 43, 64, 0.92);
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);

  /* Brand */
  --brand: #8b5cf6;
  --brand-2: #ec4899;
  --brand-3: #22d3ee;
  --accent: #f59e0b;
  --grad-brand: linear-gradient(135deg, #8b5cf6 0%, #ec4899 55%, #f59e0b 100%);
  --grad-cyan: linear-gradient(135deg, #22d3ee, #8b5cf6);
  --grad-subtle: linear-gradient(180deg, rgba(139,92,246,0.12), rgba(236,72,153,0.04));

  /* Text */
  --text: #f1f3fa;
  --text-muted: #8b92a8;
  --text-dim: #565b73;

  /* Status */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;

  /* Radii */
  --r-sm: 6px;
  --r: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Shadows */
  --sh-sm: 0 2px 8px rgba(0,0,0,0.32);
  --sh: 0 8px 28px rgba(0,0,0,0.42), 0 2px 6px rgba(0,0,0,0.2);
  --sh-lg: 0 24px 60px rgba(0,0,0,0.6), 0 4px 14px rgba(0,0,0,0.34);
  --sh-glow: 0 0 40px rgba(139,92,246,0.28);

  /* Spacing */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px;
  --s-5: 20px; --s-6: 24px; --s-8: 32px; --s-10: 40px;

  /* Fonts */
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Outfit", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 120ms;
  --dur: 220ms;
  --dur-slow: 380ms;

  /* Layout */
  --sidebar-w: 280px;
  --inspector-w: 360px;
  --topbar-h: 64px;
  --timeline-h: 280px;
}

/* Mobile overrides */
@media (max-width: 960px) {
  :root {
    --sidebar-w: 100%;
    --inspector-w: 100%;
    --topbar-h: 56px;
  }
}
