// landing-icons.jsx — minimal icon set, registered on window.LandingIcons

const I = {};
const mk = (paths, opts = {}) => ({ size = 18, color = 'currentColor', stroke = 1.7, fill = 'none' } = {}) => (
  <svg width={size} height={size} viewBox="0 0 24 24" fill={opts.solid ? color : fill} stroke={opts.solid ? 'none' : color}
       strokeWidth={stroke} strokeLinecap="round" strokeLinejoin="round" style={{ display: 'block' }}>
    {paths}
  </svg>
);

I.arrow = mk(<><path d="M5 12h14"/><path d="M12 5l7 7-7 7"/></>);
I.arrowDown = mk(<><path d="M12 5v14"/><path d="M5 12l7 7 7-7"/></>);
I.check = mk(<path d="M20 6L9 17l-5-5"/>);
I.x = mk(<><path d="M18 6L6 18"/><path d="M6 6l12 12"/></>);
I.shield = mk(<path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/>);
I.lock = mk(<><rect x="3" y="11" width="18" height="11" rx="2"/><path d="M7 11V7a5 5 0 0110 0v4"/></>);
I.zap = mk(<path d="M13 2L3 14h9l-1 8 10-12h-9l1-8z"/>);
I.eye = mk(<><path d="M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7z"/><circle cx="12" cy="12" r="3"/></>);
I.compass = mk(<><circle cx="12" cy="12" r="10"/><path d="M16 8l-2 6-6 2 2-6 6-2z"/></>);
I.sparkles = mk(<><path d="M12 3v3M12 18v3M3 12h3M18 12h3M5.6 5.6l2.1 2.1M16.3 16.3l2.1 2.1M5.6 18.4l2.1-2.1M16.3 7.7l2.1-2.1"/></>);
I.users = mk(<><path d="M17 21v-2a4 4 0 00-4-4H5a4 4 0 00-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M23 21v-2a4 4 0 00-3-3.87"/><path d="M16 3.13a4 4 0 010 7.75"/></>);
I.briefcase = mk(<><rect x="2" y="7" width="20" height="14" rx="2"/><path d="M16 21V5a2 2 0 00-2-2h-4a2 2 0 00-2 2v16"/></>);
I.book = mk(<path d="M4 19.5A2.5 2.5 0 016.5 17H20V2H6.5A2.5 2.5 0 004 4.5v15zM4 19.5A2.5 2.5 0 006.5 22H20v-5"/>);
I.chart = mk(<><path d="M3 3v18h18"/><path d="M7 14l4-4 4 4 5-5"/></>);
I.scale = mk(<><path d="M12 3v18M6 8l-4 8h8L6 8zM18 8l-4 8h8l-4-8z"/></>);
I.git = mk(<><circle cx="6" cy="6" r="3"/><circle cx="6" cy="18" r="3"/><circle cx="18" cy="12" r="3"/><path d="M6 9v6M9 12h6"/></>);
I.user = mk(<><circle cx="12" cy="8" r="4"/><path d="M4 21v-1a8 8 0 0116 0v1"/></>);
I.plus = mk(<><path d="M12 5v14"/><path d="M5 12h14"/></>);
I.clock = mk(<><circle cx="12" cy="12" r="10"/><path d="M12 6v6l4 2"/></>);
I.dot = mk(<circle cx="12" cy="12" r="3"/>, { solid: true });
I.signal = mk(<><path d="M2 20l4-4M2 20l8-8M2 20l12-12M2 20l16-16M2 20l20-20"/></>);
I.layers = mk(<><path d="M12 2l10 6-10 6L2 8l10-6z"/><path d="M2 16l10 6 10-6"/><path d="M2 12l10 6 10-6"/></>);
I.terminal = mk(<><path d="M4 17l6-6-6-6"/><path d="M12 19h8"/></>);
I.api = mk(<><rect x="3" y="3" width="18" height="18" rx="2"/><path d="M9 9h6v6H9z"/></>);

window.LandingIcons = I;
