Same-origin test: the widget loads from this server and talks to /chat + /lead.
On the live site, set window.CHAT_CONFIG in the theme embed snippet instead.
Click the bubble → tap a quick-action or type a question. On a captured lead, the team gets an
email and a tagged Shopify customer is created. Replies come from brain.py.