/* NEXULIS — Spacing & layout
 * 4px base grid. Tight, data-dense rhythm. Container + radius scales live here.
 */

:root {
  /* 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;

  /* Radii — restrained; engineered, not pillowy */
  --radius-xs:  3px;
  --radius-sm:  5px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  16px;
  --radius-2xl: 24px;
  --radius-pill:999px;

  /* Containers */
  --container-sm:  640px;
  --container-md:  860px;
  --container-lg:  1080px;
  --container-xl:  1280px;
  --container-2xl: 1440px;

  /* Control sizing */
  --control-height-sm: 30px;
  --control-height-md: 38px;
  --control-height-lg: 46px;

  /* Z-index scale */
  --z-base: 0;        /* @kind other */
  --z-sticky: 100;    /* @kind other */
  --z-overlay: 1000;  /* @kind other */
  --z-modal: 1100;    /* @kind other */
  --z-toast: 1200;    /* @kind other */
  --z-tooltip: 1300;  /* @kind other */
}
