Tackling the gateways-CO2 problem: New insights into Earth’s greenhouse-icehouse transition