Build an exit-intent offer modal with Tailwind CSS: a centered dialog with a discount code, a one-line reason to stay, an email field with a claim button, and a quiet 'no thanks' link. Trigger it once per session when the pointer leaves the top of the viewport, trap focus inside the dialog while open, close on Escape and backdrop click, and never show it again after a claim. Keep the copy short — this interrupts, so earn the attention.
提示词保持英文原文——直接粘贴进 Claude、Cursor、v0 或任何 AI 编程工具即可使用。