Proceedings of the National Academy of Sciences, Volume 123, Issue 45, November 2026. SignificanceSleep is one of the most widespread behaviors in the animal kingdom, yet its origins and functions remain poorly understood because experimental evidence comes almost entirely from vertebrates and a few laboratory model species. We provide a …