/* ============================================================
   SPACING, RADII, SHADOWS, MOTION  — Code Wiz
   Rounded, friendly, screen-first. Generous radii echo Frank's
   soft form; shadows are soft & blue-tinted, never harsh gray.
   ============================================================ */

:root {
  /* ---- Spacing scale (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:  2.5rem;   /* 40 */
  --space-8:  3rem;     /* 48 */
  --space-10: 4rem;     /* 64 */
  --space-12: 5rem;     /* 80 */
  --space-16: 7rem;     /* 112 */

  /* Section rhythm */
  --section-y:      var(--space-12);
  --container-max:  1200px;
  --container-pad:  var(--space-6);

  /* ---- Border radius (friendly, rounded) ---- */
  --radius-xs:   6px;
  --radius-sm:   10px;
  --radius-md:   16px;   /* default card / input */
  --radius-lg:   24px;   /* large feature cards */
  --radius-xl:   32px;
  --radius-pill: 999px;  /* CTA buttons, tags, location chips */
  --radius-circle: 50%;  /* icon badges, photo circles */

  /* ---- Shadows (soft, blue-tinted) ---- */
  --shadow-xs:  0 1px 2px rgba(4, 26, 113, 0.06);
  --shadow-sm:  0 2px 8px rgba(4, 26, 113, 0.08);
  --shadow-md:  0 8px 24px rgba(4, 26, 113, 0.10);
  --shadow-lg:  0 16px 40px rgba(4, 26, 113, 0.14);
  --shadow-card: 0 10px 30px rgba(4, 26, 113, 0.09);
  /* Playful "lifted" CTA shadow in brand orange */
  --shadow-cta: 0 6px 16px rgba(255, 159, 28, 0.35);

  /* ---- Motion ---- */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1); /* @kind other */
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1); /* @kind other */
  --dur-fast:   140ms; /* @kind other */
  --dur-med:    240ms; /* @kind other */
  --dur-slow:   400ms; /* @kind other */

  /* ---- Z layers ---- */
  --z-base: 1; /* @kind other */
  --z-sticky: 100; /* @kind other */
  --z-overlay: 500; /* @kind other */
  --z-modal: 1000; /* @kind other */
}
