/* MIRAI — Spacing & Radius
   4px base grid. Restrained radii (4–16px, cards sit at 8): flat surfaces and structured
   dividers over soft rounded containers. Full-pill is reserved for badges/tags/chips,
   never for cards or containers. */

:root {
  /* ---- Spacing scale (4px base) ---- */
  --space-0:   0;
  --space-px:  1px;
  --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 */

  /* ---- Radius (restrained) ---- */
  --radius-xs:   4px;    /* checkboxes, small controls */
  --radius-sm:   6px;    /* buttons, tags */
  --radius-md:   8px;    /* inputs, selects, cards — the default */
  --radius-lg:   12px;   /* large panels */
  --radius-xl:   16px;   /* modals — the ceiling */
  --radius-pill: 999px;  /* badges / chips / toggles only */
  --radius-round: 50%;   /* avatars / icon dots */

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