"use client"; import { motion } from "framer-motion"; import { Send, Sparkles, Search } from "lucide-react"; import type { LucideIcon } from "lucide-react"; import { Container } from "@/components/ui/Container"; import { Reveal } from "@/components/ui/Reveal"; import { HOW_IT_WORKS } from "@/lib/constants"; import { EASE_OUT, VIEWPORT } from "@/lib/motion"; import { usePrefersReducedMotion } from "@/lib/useReducedMotion"; const ICONS: Record = { catch: Send, understand: Sparkles, remember: Search, }; export function HowItWorks() { const reduced = usePrefersReducedMotion(); return (

How it works

Three steps. You only ever do the first one.

{HOW_IT_WORKS.map((step, idx) => { const Icon = ICONS[step.key]; return (
0{idx + 1}

{step.title}

{step.body}

); })}
); }