A 30-year-old primigravida at 32 weeks gestation presents with a 1-day history of headache, visual disturbances (flashing lights), and epigastric pain. Her blood pressure is 165/110 mmHg. Urinalysis shows 3+ proteinuria. What is the most important initial step in her management in the acute setting?