/* M3 Expressive motion: springs (stiffness / damping) converted to linear() easing. */
:root {
  --md-sys-motion-spring-fast-spatial: linear(0, 0.0201, 0.0708, 0.1405, 0.2204, 0.3042, 0.3876, 0.4675, 0.5419, 0.61, 0.671, 0.725, 0.7721, 0.8128, 0.8475, 0.877, 0.9016, 0.9221, 0.9391, 0.9529, 0.964, 0.973, 0.9801, 0.9857, 0.9901, 0.9934, 0.9959, 0.9978, 1);
  --md-sys-motion-spring-fast-spatial-duration: 160ms;
  --md-sys-motion-spring-default-spatial: linear(0, 0.0191, 0.0674, 0.1342, 0.2112, 0.2925, 0.3739, 0.4523, 0.526, 0.5936, 0.6548, 0.7092, 0.7571, 0.7988, 0.8347, 0.8653, 0.8912, 0.913, 0.931, 0.9459, 0.9581, 0.968, 0.976, 0.9823, 0.9873, 0.9912, 0.9942, 0.9965, 1);
  --md-sys-motion-spring-default-spatial-duration: 220ms;
  --md-sys-motion-spring-slow-spatial: linear(0, 0.0195, 0.0688, 0.1368, 0.215, 0.2973, 0.3795, 0.4586, 0.5326, 0.6004, 0.6615, 0.7158, 0.7634, 0.8047, 0.8401, 0.8702, 0.8956, 0.9168, 0.9344, 0.9489, 0.9606, 0.9702, 0.9778, 0.9838, 0.9885, 0.9922, 0.9949, 0.997, 1);
  --md-sys-motion-spring-slow-spatial-duration: 340ms;
  --md-sys-motion-spring-fast-effects: linear(0, 0.0388, 0.1273, 0.2366, 0.3492, 0.4558, 0.5517, 0.635, 0.7056, 0.7645, 0.8128, 0.8521, 0.8837, 0.9089, 0.929, 0.9448, 0.9572, 0.9669, 0.9745, 0.9804, 0.9849, 0.9885, 0.9912, 0.9933, 0.9949, 0.9961, 0.997, 0.9977, 1);
  --md-sys-motion-spring-fast-effects-duration: 140ms;
  --md-sys-motion-spring-default-effects: linear(0, 0.0402, 0.1314, 0.2432, 0.3579, 0.4658, 0.5622, 0.6454, 0.7156, 0.7737, 0.8212, 0.8595, 0.8902, 0.9145, 0.9337, 0.9488, 0.9605, 0.9697, 0.9768, 0.9822, 0.9864, 0.9897, 0.9921, 0.994, 0.9955, 0.9966, 0.9974, 0.998, 1);
  --md-sys-motion-spring-default-effects-duration: 220ms;
  --md-sys-motion-spring-slow-effects: linear(0, 0.0376, 0.1239, 0.2309, 0.3418, 0.4473, 0.5426, 0.6258, 0.6968, 0.7563, 0.8054, 0.8454, 0.8779, 0.9039, 0.9247, 0.9411, 0.9542, 0.9644, 0.9724, 0.9787, 0.9835, 0.9873, 0.9902, 0.9925, 0.9943, 0.9956, 0.9966, 0.9974, 1);
  --md-sys-motion-spring-slow-effects-duration: 300ms;

  /* Classic M3 curves and durations (short transitions, opacity, color) */
  --md-sys-motion-easing-standard: cubic-bezier(0.2, 0, 0, 1);
  --md-sys-motion-easing-emphasized-decelerate: cubic-bezier(0.05, 0.7, 0.1, 1);
  --md-sys-motion-easing-emphasized-accelerate: cubic-bezier(0.3, 0, 0.8, 0.15);
  --md-sys-motion-duration-short2: 100ms;
  --md-sys-motion-duration-short4: 200ms;
  --md-sys-motion-duration-medium2: 300ms;
  --md-sys-motion-duration-medium4: 400ms;
  --md-sys-motion-duration-long2: 500ms;
}
@media (prefers-reduced-motion: reduce) {
  :root {
    --md-sys-motion-duration-short2: 0.01ms; --md-sys-motion-duration-short4: 0.01ms;
    --md-sys-motion-duration-medium2: 0.01ms; --md-sys-motion-duration-medium4: 0.01ms;
    --md-sys-motion-duration-long2: 0.01ms;
    --md-sys-motion-spring-fast-spatial-duration: 0.01ms;
    --md-sys-motion-spring-default-spatial-duration: 0.01ms;
    --md-sys-motion-spring-slow-spatial-duration: 0.01ms;
    --md-sys-motion-spring-fast-effects-duration: 0.01ms;
    --md-sys-motion-spring-default-effects-duration: 0.01ms;
    --md-sys-motion-spring-slow-effects-duration: 0.01ms;
  }
}
