/* ============================================================
   NUMA — Spacing, sizing, radii, layout
   8px base rhythm with a few half-steps.
   ============================================================ */

:root {
  /* Spacing scale */
  --space-0:  0;
  --space-1:  0.25rem;  /* 4 */
  --space-2:  0.5rem;   /* 8 */
  --space-3:  0.75rem;  /* 12 */
  --space-4:  1rem;     /* 16 */
  --space-5:  1.5rem;   /* 24 */
  --space-6:  2rem;     /* 32 */
  --space-7:  2.5rem;   /* 40 */
  --space-8:  3rem;     /* 48 */
  --space-9:  4rem;     /* 64 */
  --space-10: 5rem;     /* 80 */
  --space-11: 6.5rem;   /* 104 */
  --space-12: 8rem;     /* 128 */

  /* Radii — soft but architectural, never pill-everything */
  --radius-xs:  4px;
  --radius-sm:  7px;
  --radius-md:  11px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-2xl: 32px;
  --radius-pill:999px;
  --radius-card:var(--radius-lg);

  /* Containers */
  --container-sm: 40rem;   /* 640 */
  --container-md: 52rem;   /* 832 */
  --container-lg: 68rem;   /* 1088 */
  --container-xl: 80rem;   /* 1280 */
  --gutter:       clamp(1.25rem, 0.5rem + 3vw, 3rem);  /* @kind spacing */

  /* Control sizing */
  --control-h-sm: 34px;
  --control-h-md: 42px;
  --control-h-lg: 52px;

  /* Z-index ladder */
  --z-base:    0;     /* @kind other */
  --z-raised:  10;    /* @kind other */
  --z-sticky:  100;   /* @kind other */
  --z-overlay: 1000;  /* @kind other */
  --z-modal:   1100;  /* @kind other */
  --z-toast:   1200;  /* @kind other */
}
