function HowItWorks() {
  const steps = [
    { n: 'STEP 01', t: 'Signals In', b: 'Your wearable continuously streams cardiovascular, sleep, breath and motion data — encrypted on-device.' },
    { n: 'STEP 02', t: 'Model Learns', b: 'Veiron Cortex adapts to your baseline, discovering the patterns that define your unique physiology.' },
    { n: 'STEP 03', t: 'CoPilot Guides', b: 'LifeCoPilot surfaces the right nudge at the right moment — not a chat, a quiet presence.' },
    { n: 'STEP 04', t: 'You Evolve', b: 'Every day it understands you better. Every day you move with more clarity.' },
  ];
  return (
    <section id="how">
      <div className="container">
        <div className="section-head reveal">
          <div className="eyebrow">03 / Mechanism</div>
          <div>
            <h2 className="section-title">A loop of<br/><em>learning</em>.</h2>
            <p className="section-lede">
              The system never stops closing the gap between what you are
              and what you're becoming.
            </p>
          </div>
        </div>
        <div className="how-grid reveal">
          {steps.map((s, i) => (
            <div key={i} className="how-step">
              <div style={{position:'absolute', top:20, right:20, fontFamily:'var(--font-mono)', fontSize:36, fontWeight:300, color:'var(--line)', letterSpacing:'-0.04em'}}>
                0{i+1}
              </div>
              <div>
                <div className="how-step-num">{s.n}</div>
                <div className="how-step-title">{s.t}</div>
                <div className="how-step-body">{s.b}</div>
              </div>
              <svg viewBox="0 0 200 40" style={{width:'100%', height:40, color:'var(--accent-cyan)', opacity:0.5}}>
                <path d={`M0,20 ${Array.from({length: 40}, (_, x) => `L${x*5},${20 + Math.sin((x+i*3)*0.4)*8}`).join(' ')}`} fill="none" stroke="currentColor" strokeWidth="1"/>
              </svg>
            </div>
          ))}
        </div>
      </div>
    </section>
  );
}
window.HowItWorks = HowItWorks;
