- )}
- {/* Overlay is mounted only once the section is pinned/activated, so its
- content (intro hint, header, story cards) can never be seen during the
- approach ("before"), where the sticky sits at the top of the tall
- section just off the previous workflow's seam. */}
- {pinState !== "before" && (
-
- {/* Persistent header: what this is + where we are in the workflow */}
-
-
- MileTruth Routing Engine
-
-
-
-
-
- Scroll to see how every shipment is planned
- ↓
-
-
- {/* STEP 01 — Generate Routes (card anchored LEFT) */}
-
-
- {STRATEGIES.map((s, i) => (
- {s}
- ))}
-
- 6 different ways to move all 59 orders — generated in milliseconds.
-
-
- {/* STEP 02 — Check Constraints (card anchored CENTER) */}
-
-
- {CONSTRAINT_LIST.map((c) => (
- -
- {c.icon}
- {c.label}
- {c.note}
-
- ))}
-
- 59/59 fulfilled vs 34/59 when battery limits are ignored
-
-
- {/* STEP 03 — Score & Compare (card anchored RIGHT) */}
-
-
- {STRATEGY_SCORES.map((s) => (
- -
- {s.name}{s.win && WINNER}
-
- {s.score}
-
- ))}
-
-
-
- {/* STEP 04 — Guarantee On-Time (card anchored LEFT) */}
-
-
- ⏱️ On-time only
- ✕ Late plan → dropped
-
- We only keep plans that hit every promised arrival window.
-
-
- {/* STEP 05 — Pick & Dispatch (card anchored CENTER, hero) */}
-
- ✓ Multi-Trip selected — lowest cost, zero delays
-
- EV Bikes
- Autos
- Cargo Trucks
-
-
-
- {/* STEP 06 — Results: KPI cards */}
-
-
-
- /59
- Orders Fulfilled
-
-
- 0
- SLA Misses
-
-
- %
- Cost Saved
-
-
-
-
-
- MileTruth
-
-
-