/* global React */ // ── Visual mocks: desktop dashboard + LothusApp phone ───────────────────── function DashboardMock() { // Animated SVG chart with two smooth lines + tooltip on hover point const w = 520, h = 120; const pts1 = [10, 28, 18, 42, 36, 30, 58, 70, 52, 84, 68]; const pts2 = [55, 50, 60, 58, 70, 68, 64, 56, 50, 46, 48]; const toPath = (arr) => { const step = w / (arr.length - 1); const norm = (v) => h - (v / 100) * h; let d = `M 0 ${norm(arr[0])}`; for (let i = 1; i < arr.length; i++) { const x0 = (i - 1) * step; const x1 = i * step; const cx0 = x0 + step / 2; const cx1 = x1 - step / 2; d += ` C ${cx0} ${norm(arr[i - 1])}, ${cx1} ${norm(arr[i])}, ${x1} ${norm(arr[i])}`; } return d; }; const areaPath = toPath(pts1) + ` L ${w} ${h} L 0 ${h} Z`; const tooltipX = w * 0.66; const tooltipY = h - (84 / 100) * h; return (