/* EPDS — Spacing, radius, borders, shadow/elevation, motion, grid, z-index.
   Engineering-restrained: 4px base grid, small radii, tight shadows, quick motion. */
:root {
  /* ---- Spacing (4px base) ---- */
  --space-0: 0;      --space-1: 2px;   --space-2: 4px;   --space-3: 8px;
  --space-4: 12px;   --space-5: 16px;  --space-6: 20px;  --space-7: 24px;
  --space-8: 32px;   --space-9: 40px;  --space-10: 48px; --space-11: 64px;
  --space-12: 80px;  --space-13: 96px; --space-14: 128px;

  /* ---- Radius (hardware-panel feel: minimal rounding) ---- */
  --radius-0: 0;     --radius-sm: 2px; --radius-md: 4px; --radius-lg: 6px;
  --radius-xl: 10px; --radius-pill: 999px;

  /* ---- Borders (hairlines do the structural work) ---- */
  --border-width: 1px;
  --border-width-strong: 2px;
  --border-line: var(--border-width) solid var(--border-default);
  --border-line-subtle: var(--border-width) solid var(--border-subtle);

  /* ---- Elevation / shadow (subtle, cool, never glowy) ---- */
  --shadow-0: none;
  --shadow-1: 0 1px 2px rgba(13,15,19,.06), 0 0 0 1px rgba(13,15,19,.04);
  --shadow-2: 0 2px 6px rgba(13,15,19,.08), 0 0 0 1px rgba(13,15,19,.05);
  --shadow-3: 0 8px 24px rgba(13,15,19,.12), 0 0 0 1px rgba(13,15,19,.05);
  --shadow-focus: 0 0 0 3px rgba(31,111,224,.35);

  /* ---- Motion (functional, fast, no bounce) ---- */
  --ease-standard: cubic-bezier(.2,0,.2,1); /* @kind other */
  --ease-entrance: cubic-bezier(0,0,.2,1);  /* @kind other */
  --ease-exit: cubic-bezier(.4,0,1,1);       /* @kind other */
  --dur-instant: 80ms;  /* @kind other */
  --dur-fast: 140ms;    /* @kind other */
  --dur-base: 220ms;    /* @kind other */
  --dur-slow: 360ms;    /* @kind other */

  /* ---- Grid ---- */
  --grid-columns: 12;         /* @kind other */
  --grid-gutter: 24px;        /* @kind spacing */
  --grid-margin: 32px;        /* @kind spacing */
  --container-max: 1280px;    /* @kind other */
  --container-wide: 1600px;   /* @kind other */

  /* ---- Z-index ---- */
  --z-base: 0;      /* @kind other */
  --z-raised: 10;   /* @kind other */
  --z-sticky: 100;  /* @kind other */
  --z-drawer: 400;  /* @kind other */
  --z-overlay: 500; /* @kind other */
  --z-modal: 600;   /* @kind other */
  --z-toast: 700;   /* @kind other */
  --z-tooltip: 800; /* @kind other */
}
