import './HowItWorks.css' const steps = [ { step: '01', title: 'Generate your API key', desc: 'Sign up free, create an API key in the dashboard. It works immediately — no quota forms, no approval process.', code: 'x-api-key: fr_live_sk_xxxxxxxx', color: '#f97316', }, { step: '02', title: 'POST your drivers & routes', desc: 'Send your drivers (with wellness data) and routes (with constraints) in one JSON payload. Any language, any stack.', code: 'POST /v1/allocate\n{ drivers: [...], routes: [...] }', color: '#3b82f6', }, { step: '03', title: 'Get fair allocations + explanations', desc: 'Receive optimized assignments with Gini fairness index, per-driver wellness scores, carbon estimates, and plain-English explanations.', code: '{ gini_index: 0.12, grade: "A",\n explanation: "..." }', color: '#10b981', }, ] export default function HowItWorks() { return (
How it works

From integration to fair routes in minutes

No ML team, no weeks of setup. Add fairness-aware routing to any logistics platform with 3 steps.

{steps.map((s, i) => (
{s.step}
{i < steps.length - 1 && (
)}

{s.title}

{s.desc}

{s.code}
))}
) }