/* Facet — design tokens. Motion studio, dark. OKLCH throughout. */
:root {
  /* Surfaces — cool graphite-black studio (film-grade neutral, not brand-tinted) */
  --bg:        oklch(0.175 0.005 275);
  --surface:   oklch(0.215 0.006 275);
  --surface-2: oklch(0.245 0.007 275);
  --surface-3: oklch(0.305 0.010 275);
  --line:      oklch(1 0 0 / 0.09);
  --line-2:    oklch(1 0 0 / 0.15);

  /* Text */
  --ink:    oklch(0.975 0.004 255);
  --muted:  oklch(0.74 0.012 255);
  --faint:  oklch(0.66 0.012 275);

  /* Creative Workbench: pearl and soft lilac against neutral graphite.
     Dark ink stays legible across the restrained primary-button gradient. */
  --primary:      oklch(0.84 0.09 298);        /* soft lilac */
  --primary-deep: oklch(0.50 0.19 264);        /* deep indigo, gradient stop / hover shading */
  --primary-ink:  oklch(0.15 0.03 290);        /* dark ink for text on primary/gradient fills */
  --accent:       oklch(0.94 0.018 265);       /* pearl */
  --accent-deep:  oklch(0.50 0.20 344);        /* deep magenta, gradient stop */
  --accent-2:     oklch(0.66 0.196 12);        /* coral, unchanged — destructive/semantic only */
  --accent-3:     oklch(0.78 0.135 195);       /* teal, ambient aurora only */

  --gradient-brand: linear-gradient(125deg, oklch(0.88 0.04 250), var(--primary) 58%, var(--accent));
  --gradient-brand-deep: linear-gradient(135deg, var(--primary-deep), var(--accent-deep));

  /* Glow tints */
  --glow-green: oklch(0.84 0.09 298 / 0.10);  /* legacy token name */
  --glow-warm:  oklch(0.94 0.018 265 / 0.08);

  /* Type */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", var(--font-sans);
  --font-mono: "Space Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-full: 999px;

  /* Spacing rhythm */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --sp-9: 96px; --sp-10: 128px;

  /* Shadows */
  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.4);
  --shadow-md: 0 8px 30px oklch(0 0 0 / 0.45);
  --shadow-lg: 0 24px 70px oklch(0 0 0 / 0.55);

  /* Motion */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 160ms;
  --dur-mid:  240ms;
  --dur-slow: 420ms;

  /* Z-scale */
  --z-nav: 100;
  --z-panel: 200;
  --z-modal-backdrop: 300;
  --z-modal: 310;
  --z-toast: 400;
}
