/* ============================================================
   Jungle Systems — Spacing, Radius, Elevation, Motion
   ------------------------------------------------------------
   4px base grid. The brand is squared and precise (small radii,
   crisp 1px borders, restrained shadows on warm paper).
   ============================================================ */

:root {
  /* ---- Spacing (4px grid) --------------------------------- */
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 48px;
  --space-10: 64px;
  --space-11: 80px;
  --space-12: 96px;
  --space-13: 128px;

  /* ---- Radius (restrained, squared brand) ----------------- */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-2xl: 16px;
  --radius-pill: 999px;

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

  /* ---- Elevation (cool, low, paper-friendly) -------------- */
  --shadow-xs: 0 1px 1px rgba(15, 26, 28, 0.04);
  --shadow-sm: 0 1px 2px rgba(15, 26, 28, 0.06), 0 1px 1px rgba(15, 26, 28, 0.04);
  --shadow-md: 0 4px 10px -2px rgba(15, 26, 28, 0.08), 0 2px 4px -2px rgba(15, 26, 28, 0.06);
  --shadow-lg: 0 12px 28px -6px rgba(15, 26, 28, 0.12), 0 4px 8px -4px rgba(15, 26, 28, 0.06);
  --shadow-xl: 0 24px 48px -12px rgba(12, 69, 79, 0.18);
  --shadow-focus: var(--ring);

  /* ---- Layout -------------------------------------------- */
  --container-max: 1200px;
  --container-narrow: 720px;
  --sidebar-width: 256px;
  --topbar-height: 60px;

  /* ---- Motion -------------------------------------------- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);     /* @kind other */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);  /* @kind other */
  --duration-fast: 120ms;   /* @kind other */
  --duration-base: 180ms;   /* @kind other */
  --duration-slow: 280ms;   /* @kind other */
}
