/* ============================================================
   Neat Design System — Spacing, Radius, Shadow, Motion
   ============================================================ */

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

  /* ---- Layout ----------------------------------------------- */
  --container-max: 1400px;
  --container-pad: 24px;
  --section-gap: 80px;

  /* ---- Radius ----------------------------------------------- */
  --radius-xs: 3px; /* tags, small chips */
  --radius-sm: 5px; /* buttons, inputs */
  --radius-md: 8px; /* menu tiles */
  --radius-lg: 10px; /* panels */
  --radius-xl: 15px; /* feature cards */
  --radius-2xl: 20px;
  --radius-pill: 999px; /* pills, toggles */
  --radius-circle: 50%;

  /* ---- Borders ---------------------------------------------- */
  --border-width: 1px;
  --border-accent: 2px; /* table top rule, focus inset */

  /* ---- Shadows (soft, ambient — civic restraint) ------------ */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 0 8px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 0 10px rgba(0, 0, 0, 0.10);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.10);
  --shadow-lg: 8px 8px 14px rgba(0, 0, 0, 0.10);
  --shadow-header: 0 4px 4px rgba(0, 0, 0, 0.15);
  --shadow-pop: 0 0 12px rgba(0, 0, 0, 0.15);

  /* ---- Motion ----------------------------------------------- */
  --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1); /* @kind other */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1); /* @kind other */
  --dur-fast: 150ms; /* @kind other */
  --dur: 200ms; /* @kind other */
  --dur-slow: 300ms; /* @kind other */
  --transition: 200ms var(--ease-out); /* @kind other */

  /* ---- Z-index ---------------------------------------------- */
  --z-header: 50; /* @kind other */
  --z-sticky: 60; /* @kind other */
  --z-overlay: 90; /* @kind other */
  --z-modal: 100; /* @kind other */
  --z-toast: 120; /* @kind other */
}
