Representatives from 195 nations have committed to halving carbon emissions by 2035, marking the most ambitious environmental pledge in history.