/* MileMind motion — mirrors MMAnim in Theme.swift.
   Spring physics for anything the user drives; ease curves for things that
   happen without input. Durations stay under ~600ms; direct UI feedback under
   300ms. Everything respects prefers-reduced-motion.

   CSS can't express SwiftUI spring(response,damping) exactly — these are tuned
   cubic-beziers/durations that read the same. The press/state springs are
   lightly overshooting; ease curves are literal. */

:root {
  /* Press feedback on buttons / tappable cards (scale 0.97). */
  --mm-anim-press: 260ms cubic-bezier(0.34, 1.32, 0.64, 1); /* @kind other */
  /* Crisp state changes — toggles, selection, chips. */
  --mm-anim-snappy: 300ms cubic-bezier(0.32, 1.14, 0.62, 1); /* @kind other */
  /* Live numbers settling / counting up. */
  --mm-anim-number: 520ms cubic-bezier(0.22, 1, 0.36, 1); /* @kind other */
  /* Deliberate drawn elements — the pace-ring stroke. */
  --mm-anim-ring: 820ms cubic-bezier(0.34, 1.2, 0.55, 1); /* @kind other */
  /* Contextual banners sliding in/out. */
  --mm-anim-banner: 400ms cubic-bezier(0.32, 1.1, 0.6, 1); /* @kind other */
  /* Non-interactive content reveals (rows, sections). */
  --mm-anim-appear: 350ms cubic-bezier(0.16, 1, 0.3, 1); /* @kind other */
  /* Chart line/area draw-in. */
  --mm-anim-chart: 600ms cubic-bezier(0.65, 0, 0.35, 1); /* @kind other */

  /* Press scale tokens */
  --mm-press-scale: 0.97; /* @kind other */
  --mm-press-scale-fab: 0.94; /* @kind other */

  /* Per-item stagger delay + cap for list/section reveals */
  --mm-stagger-step: 50ms; /* @kind other */
  --mm-stagger-cap: 5; /* @kind other */
}
