/* ───────────────────────────────────────────────────────────────
   Freedcamp — Spacing, radius, shadow & motion tokens
   Tight 4px-based spacing for a dense productivity UI. Shadows are
   soft and blue-tinted (rgba(26,36,71,…)); radii are small (5–12px).
   ─────────────────────────────────────────────────────────────── */
:root {
  /* Spacing scale (4px base) */
  --space-0: 0;
  --space-1: 2px;
  --space-2: 4px;
  --space-3: 8px;
  --space-4: 12px;
  --space-5: 16px;
  --space-6: 20px;
  --space-7: 24px;
  --space-8: 32px;
  --space-9: 40px;
  --space-10: 48px;
  --space-12: 64px;

  /* Radius — small and friendly */
  --radius-xs: 4px;
  --radius-sm: 5px; /* cards, list rows */
  --radius-md: 8px; /* inputs, buttons */
  --radius-lg: 10px;
  --radius-xl: 12px; /* large buttons, popovers */
  --radius-2xl: 16px;
  --radius-pill: 999px; /* tags, badges, avatars */

  /* Shadows — soft, blue-tinted (26,36,71) */
  --shadow-xs: 1px 2px 4px 0 rgba(26, 36, 71, 0.04);
  --shadow-sm: 0 2px 6px 0 rgba(26, 36, 71, 0.07);
  --shadow-md: 0 4px 16px 0 rgba(26, 36, 71, 0.08);
  --shadow-lg: 0 12px 32px -4px rgba(26, 36, 71, 0.14);
  --shadow-popover: 0 8px 28px -6px rgba(26, 36, 71, 0.18);
  /* Inset hairline used on resting buttons / inputs */
  --ring-border: inset 0 0 0 1px var(--border-subtle);

  /* Focus ring */
  --focus-ring: 0 0 0 3px rgba(74, 134, 247, 0.25);

  /* Motion */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1); /* @kind other */
  --ease-out: cubic-bezier(0, 0, 0.2, 1); /* @kind other */
  --dur-fast: 120ms; /* @kind other */
  --dur-base: 180ms; /* @kind other */
  --dur-slow: 260ms; /* @kind other */

  /* Layout constants */
  --sidebar-rail-w: 80px; /* @kind spacing */
  --topbar-h: 56px; /* @kind spacing */
}
