/* ============================================================
   NEO DIAMOND — Spacing, radii & layout tokens
   4px base grid. Generous Apple-style corner radii.
   ============================================================ */

: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.25rem;  /* 20 */
  --space-6:  1.5rem;   /* 24 */
  --space-8:  2rem;     /* 32 */
  --space-10: 2.5rem;   /* 40 */
  --space-12: 3rem;     /* 48 */
  --space-16: 4rem;     /* 64 */
  --space-20: 5rem;     /* 80 */
  --space-24: 6rem;     /* 96 */
  --space-32: 8rem;     /* 128 */

  /* Corner radii — soft, rounded, Apple-like */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-3xl: 40px;
  --radius-pill: 999px;
  --radius-circle: 50%;

  /* Control sizing */
  --control-height-sm: 36px; /* @kind spacing */
  --control-height-md: 44px;   /* @kind spacing */
  --control-height-lg: 54px; /* @kind spacing */

  /* Layout */
  --container-sm: 640px;
  --container-md: 900px;
  --container-lg: 1180px;
  --container-xl: 1320px;
  --gutter: var(--space-6);

  /* Z-index ladder */
  --z-base: 0; /* @kind other */
  --z-sticky: 100; /* @kind other */
  --z-overlay: 800; /* @kind other */
  --z-modal: 900; /* @kind other */
  --z-toast: 1000; /* @kind other */
}
