/* ===========================================================================
   UGConnect — Spacing, Radius, Elevation & Motion Tokens
   ---------------------------------------------------------------------------
   8pt base grid. Generous radii and soft, low-contrast purple-tinted shadows
   give the warm, friendly, "easy & human" marketplace feel.
   =========================================================================== */

:root {
  /* ---- Spacing scale (8pt grid w/ 4px half-steps) ------------------------ */
  --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-9:   4rem;     /* 64 */
  --space-10:  5rem;     /* 80 */
  --space-12:  7.5rem;   /* 120 */

  /* ---- Radii ------------------------------------------------------------- */
  --radius-xs:   6px;
  --radius-sm:   10px;
  --radius-md:   14px;   /* inputs, small cards */
  --radius-lg:   20px;   /* cards */
  --radius-xl:   28px;   /* feature cards, modals */
  --radius-2xl:  36px;   /* hero / large media */
  --radius-pill: 999px;  /* buttons, chips, avatars */

  /* ---- Border widths ----------------------------------------------------- */
  --border-hairline: 1px;
  --border-thick:    1.5px;

  /* ---- Elevation — soft, purple-tinted, low-spread ----------------------- */
  --shadow-xs:  0 1px 2px rgba(57, 22, 76, 0.06);
  --shadow-sm:  0 2px 8px rgba(57, 22, 76, 0.07);
  --shadow-md:  0 8px 24px rgba(57, 22, 76, 0.10);
  --shadow-lg:  0 18px 48px rgba(57, 22, 76, 0.14);
  --shadow-xl:  0 28px 70px rgba(42, 15, 56, 0.20);
  /* Brand-glow for primary CTAs on hover */
  --shadow-brand: 0 10px 30px rgba(93, 41, 120, 0.32);
  /* Crisp ring used in place of border on elevated cards */
  --ring-card: inset 0 0 0 1px rgba(57, 22, 76, 0.05); /* @kind shadow */

  /* ---- Layout ------------------------------------------------------------ */
  --container-max:   1200px;
  --container-text:  68ch;
  --gutter:          var(--space-5);
  --header-height:   72px;

  /* ---- Motion ------------------------------------------------------------ */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);   /* @kind other */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);   /* @kind other */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);/* @kind other */
  --dur-fast:    120ms;  /* @kind other */
  --dur-base:    220ms;  /* @kind other */
  --dur-slow:    420ms;  /* @kind other */
}
