/* ============================================================
   SPACING, RADIUS, SHADOW & MOTION TOKENS
   4px base unit. Radii are small and precise (Vercel/shadcn
   territory — never pill-shaped except true pills like Badge).
   ============================================================ */

:root {
  /* Spacing scale (4px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Radius */
  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 999px;

  /* Borders */
  --border-width: 1px;

  /* Shadows — subtle, single-layer, low-opacity black. No colored glows. */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06);
  --shadow-focus: 0 0 0 2px var(--bg-page, #fff), 0 0 0 4px var(--gray-1000, #000);

  /* Motion — fast, linear-ish easing, no bounce */
  --ease-standard: cubic-bezier(0.2, 0, 0, 1); /* @kind other */
  --ease-in: cubic-bezier(0.4, 0, 1, 1); /* @kind other */
  --ease-out: cubic-bezier(0, 0, 0.2, 1); /* @kind other */
  --duration-fast: 100ms; /* @kind other */
  --duration-base: 160ms; /* @kind other */
  --duration-slow: 240ms; /* @kind other */

  /* Layout */
  --sidebar-width: 240px;
  --topbar-height: 56px;
  --content-max-width: 1200px;
}
