/* Chrysalis AI — Spacing, radii, shadows, motion, layout */

:root {
  /* ── Spacing (4px base) ─────────────────────────────── */
  --space-0:  0;
  --space-1:  0.25rem;  /* 4  */
  --space-2:  0.5rem;   /* 8  */
  --space-3:  0.75rem;  /* 12 */
  --space-4:  1rem;     /* 16 */
  --space-5:  1.5rem;   /* 24 */
  --space-6:  2rem;     /* 32 */
  --space-7:  3rem;     /* 48 */
  --space-8:  4rem;     /* 64 */
  --space-9:  6rem;     /* 96 */

  /* ── Radii — soft, pill-friendly (matches the badge glyphs) ── */
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   18px;
  --radius-xl:   26px;
  --radius-2xl:  36px;
  --radius-pill: 999px;

  /* ── Shadows — warm, low, diffuse (never blue/gray) ── */
  --shadow-xs:  0 1px 2px rgba(30, 50, 39, 0.06);
  --shadow-sm:  0 2px 6px rgba(30, 50, 39, 0.08);
  --shadow-md:  0 8px 20px -6px rgba(30, 50, 39, 0.14);
  --shadow-lg:  0 18px 40px -12px rgba(30, 50, 39, 0.22);
  --shadow-accent: 0 8px 22px -8px rgba(206, 107, 46, 0.45);
  --shadow-inset: inset 0 1px 2px rgba(30, 50, 39, 0.08);

  /* ── Motion — calm, no bounce ── */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1); /* @kind other */
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1); /* @kind other */
  --dur-fast:   120ms; /* @kind other */
  --dur-med:    220ms; /* @kind other */
  --dur-slow:   380ms; /* @kind other */

  /* ── Layout ── */
  --container:   1200px;
  --container-narrow: 760px;
  --ring-width: 3px;
}
