/* ==========================================================================
   Blend — Spacing, radii, borders, shadows, motion
   --------------------------------------------------------------------------
   8px base grid. Blend uses generous whitespace, confident block radii, and
   soft neutral shadows (no coloured glows). Motion is quick and friendly —
   short eases, the occasional gentle overshoot, never slow or floaty.
   ========================================================================== */

:root {
  /* ---- Spacing (8px grid; 4px half-step) ------------------------------- */
  --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 */
  --space-10: 8rem;     /* 128 */

  /* ---- Radii — Blend's corners are soft but not pill-round ------------- */
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   12px;   /* default card / input */
  --radius-lg:   18px;
  --radius-xl:   28px;   /* feature cards, media */
  --radius-pill: 999px;  /* buttons, chips, badges */
  --radius-full: 50%;

  /* ---- Borders --------------------------------------------------------- */
  --border-width:       1px;
  --border-width-thick: 2px;
  --border-hairline:    1px solid var(--border-subtle);

  /* ---- Shadows — neutral, soft, layered ------------------------------- */
  --shadow-xs: 0 1px 2px rgba(27, 27, 46, 0.06);
  --shadow-sm: 0 2px 6px rgba(27, 27, 46, 0.08);
  --shadow-md: 0 6px 18px rgba(27, 27, 46, 0.10);
  --shadow-lg: 0 16px 40px rgba(27, 27, 46, 0.14);
  --shadow-xl: 0 28px 70px rgba(27, 27, 46, 0.18);

  /* ---- Motion ---------------------------------------------------------- */
  --ease-standard: cubic-bezier(0.2, 0.0, 0.1, 1); /* @kind other */
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1); /* @kind other */
  /* gentle overshoot */
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1); /* @kind other */
  --dur-fast:   120ms; /* @kind other */
  --dur-base:   200ms; /* @kind other */
  --dur-slow:   320ms; /* @kind other */

  /* ---- Layout ---------------------------------------------------------- */
  --container-max: 1200px;
  --container-pad: var(--space-5);
}
