When and where did life gain a foothold on the early Earth, and how did it survive in such a hostile environment?