/* ==========================================================================
   Reaction Axis — Design System Tokens
   ========================================================================== */

:root {
  /* Brand Palette (extracted from official Reaction Axis logo) */
  --brand-navy: #004B87;
  --brand-navy-dark: #003561;
  --brand-navy-soft: #EBF4FB;
  --brand-cyan: #18C8E8;
  --brand-cyan-dark: #0284C7;
  --brand-cyan-soft: #E0F7FC;
  --brand-amber: #F59E0B;
  --brand-amber-soft: #FEF3C7;
  --brand-emerald: #10B981;
  --brand-emerald-soft: #D1FAE5;
  --brand-rose: #F43F5E;
  --brand-rose-soft: #FFE4E6;

  /* Light Workbench Surfaces — Native Windows Neutral Gray System */
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f7f7f7;
  --hover: #f3f3f3;
  --bg-subtle: var(--surface-2);
  --bg-muted: var(--hover);
  --bg-card: var(--surface);
  --text: #1b1b1b;
  --muted: #616161;
  --text-muted: var(--muted);
  --text-faint: #767676;
  --border: #e5e5e5;
  --border-strong: #cccccc;

  /* Dark Studio Surfaces (Workbench Preview & Publication Gallery) */
  --bg-studio: #0B1220;
  --bg-studio-elevated: #0F172A;
  --bg-studio-card: #111C30;
  --bg-studio-border: #1E2E4A;
  --studio-text: #F1F5F9;
  --studio-muted: #94A3B8;
  --studio-faint: #64748B;

  /* Typography — local high-clarity stack (no external font CDN blocking) */
  --font-sans: "Inter", "Segoe UI Variable Text", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Mono", "Consolas", "SFMono-Regular", monospace;

  /* Layout & Sizing */
  --container-max: 1200px;
  --header-height: 68px;

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-pill: 9999px;

  /* Shadows (Neutral, zero blue-gray cast) */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 28px -6px rgba(0, 0, 0, 0.08), 0 4px 10px -4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 24px 56px -12px rgba(0, 0, 0, 0.14), 0 8px 20px -8px rgba(0, 0, 0, 0.06);
  --shadow-studio: 0 30px 70px -15px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(24, 200, 232, 0.12);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 150ms;
  --dur-base: 220ms;

  /* Z-index Layers */
  --z-header: 40;
  --z-drawer: 45;
  --z-lightbox: 60;
  --z-toast: 80;
}
