Charting the landscape of modified gravity