A patient with newly diagnosed hypertension has a BP of 148/92 on two separate visits with no end-organ damage or comorbidities.The first-line treatment is: