/* ============================================================
   Relay 2.0 — Elevation: radii, borders, shadows, motion
   Soft, friendly corners; light realistic shadows (no heavy
   drops). Cards read with a hairline border + subtle lift.
   ============================================================ */

:root {
  /* ---- Corner radii (rounded + friendly) ---- */
  --radius-xs:   4px;
  --radius-sm:   6px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-2xl:  24px;
  --radius-pill: 999px;   /* the baton/track shape */

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

  /* ---- Shadows (cool-neutral, low spread) ---- */
  --shadow-xs:  0 1px 2px rgba(12, 14, 16, 0.06);
  --shadow-sm:  0 1px 2px rgba(12, 14, 16, 0.06), 0 1px 3px rgba(12, 14, 16, 0.08);
  --shadow-md:  0 2px 4px rgba(12, 14, 16, 0.06), 0 4px 12px rgba(12, 14, 16, 0.08);
  --shadow-lg:  0 4px 8px rgba(12, 14, 16, 0.06), 0 12px 28px rgba(12, 14, 16, 0.12);
  --shadow-xl:  0 8px 16px rgba(12, 14, 16, 0.08), 0 24px 56px rgba(12, 14, 16, 0.16);

  /* Brand-tinted glow for primary CTAs on hover */
  --shadow-brand: 0 6px 18px color-mix(in srgb, var(--green-500) 38%, transparent);

  /* ---- Motion ---- */
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);        /* @kind other */
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);     /* @kind other */
  /* subtle pop on press release */
  --ease-spring:   cubic-bezier(0.34, 1.4, 0.5, 1);   /* @kind other */
  --dur-fast:   120ms;  /* @kind other */
  --dur-base:   180ms;  /* @kind other */
  --dur-slow:   280ms;  /* @kind other */
}
