The world’s earliest four-legged animals had a body that helped deter painful acid buildup.