/* ============================================================
   Modern LeanScale — Layout tokens
   Spacing (8pt), generous radii (the modern signature), soft
   layered purple-tinted elevation, frosted glass, motion.
   ============================================================ */

:root {
  /* ---------- Spacing (8pt scale) ---------- */
  --space-0:  0;
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  96px;
  --space-10: 128px;

  /* ---------- Radius (generous — the modern signature) ---------- */
  --radius-xs:   8px;
  --radius-sm:   12px;
  --radius-md:   16px;   /* default card */
  --radius-lg:   24px;
  --radius-xl:   32px;
  --radius-2xl:  44px;
  --radius-pill: 999px;

  /* ---------- Elevation (soft, layered, purple-tinted) ---------- */
  --shadow-xs:  0 1px 2px rgba(74, 26, 102, 0.06);
  --shadow-sm:  0 2px 8px rgba(74, 26, 102, 0.08);
  --shadow-md:  0 8px 24px rgba(74, 26, 102, 0.10), 0 2px 6px rgba(74, 26, 102, 0.06);
  --shadow-lg:  0 18px 48px rgba(74, 26, 102, 0.14), 0 6px 14px rgba(74, 26, 102, 0.08);
  --shadow-xl:  0 32px 80px rgba(74, 26, 102, 0.18), 0 10px 24px rgba(74, 26, 102, 0.10);
  --shadow-glow: 0 0 0 4px rgba(100, 37, 133, 0.14);

  /* ---------- Frosted glass ---------- */
  --glass-bg:     rgba(255, 251, 255, 0.62);
  --glass-bg-dk:  rgba(48, 25, 52, 0.42);
  --glass-border: rgba(255, 255, 255, 0.55);
  --glass-blur:   blur(16px) saturate(1.4); /* @kind other */

  /* ---------- Motion ---------- */
  --ease:     cubic-bezier(0.2, 0.8, 0.2, 1); /* @kind other */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);  /* @kind other */
  --dur:      220ms; /* @kind other */
  --dur-fast: 140ms; /* @kind other */
}
