Animated GIF to WebP: smaller files, same loop

Animated WebP is typically 5–10× smaller than the same GIF with no visible quality loss. Here's why, and how to convert (or get it automatically).