SPF evaluation can trigger at most 10 DNS lookups (include:, a:, mx:, ptr:, exists: each count). Exceeding 10 lookups causes a PermError. Modern email service providers often chain several includes together, making it easy to hit this limit. Use SPF flattening tools or ip4:/ip6: mechanisms instead of includes where possible.
All questions