A 48-year-old obese woman with type 2 diabetes has persistently elevated ALT and ultrasound showing fatty infiltration of the liver. Viral hepatitis screen is negative. Which is the most important first-line management for her non-alcoholic fatty liver disease (NAFLD)?