1. Platform Security Architecture
- Static Edge Delivery: All HTML, CSS, and assets deploy cleanly to Cloudflare Pages behind mandatory HTTPS, TLS encryption, DDoS mitigation, and strict security headers (_headers: X-Content-Type-Options, X-Frame-Options, Referrer-Policy, Permissions-Policy).
- Bot-Verified Inquiry Handling (/api/inquiry): Form submissions enforce server-side Cloudflare Turnstile siteverify, hostname & action allowlists, honeypot traps, sanitized HTML escaping, private Service Binding to an isolated internal Email Worker, and encrypted D1 storage.
- SSRF-Hardened Public MCP Server (/api/mcp): inspect_website_readiness blocks loopback, IPv4/IPv6 private ranges, link-local cloud metadata IPs, non-HTTP(S) schemes, and embedded credentials.
- Public Source Safety: Production secrets (such as TURNSTILE_SECRET and EMAIL_SERVICE_TOKEN) live strictly in encrypted Cloudflare Pages/Worker secrets — never committed to GitHub.