A 29-year-old primigravida at 35 weeks gestation presents with severe headache, visual disturbances, and epigastric pain. BP is 170/112 mm Hg, and urinalysis shows 3+ protein. Platelets are 85,000/microL, AST is 120 U/L, and fetus is viable with reassuring tracing. What is the most appropriate management?