/* ============================================================
   Yost Labs — Spacing, radii, sizing tokens
   4px base grid.
   ============================================================ */

:root {
  /* ---- Spacing scale (4px base) ---- */
  --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-12: 6rem;    /* 96 */
  --space-16: 8rem;    /* 128 */

  /* ---- Border radii ---- */
  --radius-none: 0;
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-pill: 999px;
  --radius-circle: 50%;

  /* ---- Container widths ---- */
  --container-sm: 640px;
  --container-md: 880px;
  --container-lg: 1120px;
  --container-xl: 1320px;

  /* ---- Control heights ---- */
  --control-sm: 32px;
  --control-md: 40px;
  --control-lg: 48px;

  /* ---- Z-index ---- */
  --z-base: 1;          /* @kind other */
  --z-dropdown: 100;    /* @kind other */
  --z-sticky: 200;      /* @kind other */
  --z-overlay: 800;     /* @kind other */
  --z-modal: 1000;      /* @kind other */
  --z-toast: 1100;      /* @kind other */
}
