Gasoline still drives household budgets, but energy efficiency and renewables have reduced the economy’s overall reliance on petroleum.