NASA's next-generation space telescope, the Habitable Worlds Observatory, aims to detect signs of life on distant planets in the 2040s. But its revolutionary optics could also crack fundamental mysteries of dark energy, galaxy formation, and cosmic expansion.