/* ============================================================
   Axiom — Spacing & Layout Tokens
   ============================================================ */

:root {
  /* ── Base spacing scale (4px grid) ───────────────────── */
  --space-0:   0px;
  --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;
  --space-32:  128px;
  --space-40:  160px;

  /* ── Border radii ─────────────────────────────────────── */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-2xl:  24px;
  --radius-full: 9999px;
  --radius-hex:  4px; /* Axiom uses sharp angles, subtle rounding */

  /* ── Shadows ──────────────────────────────────────────── */
  --shadow-sm:   0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md:   0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg:   0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-xl:   0 16px 64px rgba(0, 0, 0, 0.7);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.06);

  /* ── Layout ───────────────────────────────────────────── */
  --container-sm:   640px;
  --container-md:   768px;
  --container-lg:   1024px;
  --container-xl:   1280px;
  --container-2xl:  1440px;
  --container-pad:  var(--space-6);

  /* ── Motion ───────────────────────────────────────────── */
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1); /* @kind other */
  --ease-in-out:  cubic-bezier(0.4, 0, 0.2, 1); /* @kind other */
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1); /* @kind other */
  --duration-fast:   120ms; /* @kind other */
  --duration-base:   200ms; /* @kind other */
  --duration-slow:   350ms; /* @kind other */
  --duration-slower: 500ms; /* @kind other */

  /* ── Z-index scale ────────────────────────────────────── */
  --z-base:    0; /* @kind other */
  --z-raised:  10; /* @kind other */
  --z-dropdown: 100; /* @kind other */
  --z-sticky:  200; /* @kind other */
  --z-modal:   300; /* @kind other */
  --z-toast:   400; /* @kind other */
  --z-tooltip: 500; /* @kind other */
}
