/* How Escrow Works — Pure Bezier Physics Engine (driven by rAF in px) */
.flow-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.flow-pulse-track {
  position: absolute;
  top: 15px;
  left: 15px;
  right: 0;
  height: 30px;
  pointer-events: none;
  z-index: 3;
}

.kinetic-plane,
.kinetic-package,
.kinetic-payout {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .kinetic-plane,
  .kinetic-package,
  .kinetic-payout {
    display: block;
    position: absolute;
    top: -11px;
    left: -11px;
    width: 22px;
    height: 22px;
    color: #ffffff;
    opacity: 0;
    will-change: transform, opacity;
  }
  .flow-step--1 .dock-pad { opacity: 0.25; }
  .flow-step--4 .check-draw { stroke-dasharray: 20; stroke-dashoffset: 0; }
}

.flow-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  z-index: 1;
}

.flow-head {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.45rem;
  width: fit-content;
}

.flow-icon {
  position: relative;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.66);
  will-change: transform, color;
  transition: color 0.25s ease;
}

.flow-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  overflow: visible;
}

.step-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.78);
  opacity: 0;
  will-change: transform, opacity;
  pointer-events: none;
}

.step-burst {
  position: absolute;
  inset: -7px;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
}

.flow-step:hover .flow-icon {
  color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  .flow-step--1 .dock-plane { opacity: 1 !important; }
}

.flow-num {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
}

.flow-step h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--fg-primary);
}

.flow-step p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--fg-secondary);
}
