Geometry for the accelerating universe