/* ============================================================
   RESILIX — Spacing, radii, shadows, motion
   4px base grid.
   ============================================================ */

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

  /* Radii — rounded, friendly (mascot is soft & bulbous) */
  --radius-xs:   6px;
  --radius-sm:   10px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-pill: 999px;
  --radius-full: 50%;

  /* Shadows — soft, tinted with purple rather than neutral black */
  --shadow-xs:  0 1px 2px rgba(27, 11, 43, 0.06);
  --shadow-sm:  0 2px 8px rgba(27, 11, 43, 0.08);
  --shadow-md:  0 6px 20px rgba(27, 11, 43, 0.10);
  --shadow-lg:  0 16px 40px rgba(27, 11, 43, 0.14);
  --shadow-brand: 0 10px 30px rgba(89, 39, 127, 0.28);
  --shadow-glow:  0 0 32px rgba(245, 214, 78, 0.45);

  /* Motion — gentle, friendly ease; slight overshoot on key moments */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1); /* @kind other */
  --ease-emphasis: cubic-bezier(0.2, 0.8, 0.2, 1); /* @kind other */
  --ease-bounce:   cubic-bezier(0.34, 1.56, 0.64, 1); /* @kind other */
  --dur-fast:   140ms; /* @kind other */
  --dur-base:   220ms; /* @kind other */
  --dur-slow:   380ms; /* @kind other */

  /* Layout */
  --container-max: 1120px;
  --tapsize-min:   44px;
}
