To complicate things further, based on your criteria - I would look for a gravel bike. Wonderful on roads and non-technical trails. A dual suspension mountain bike is heavy and pushing one of those around on the streets is zero fun. You might like the burly look but you won’t appreciate what a drag they are on light trails and pavement. When the mountain bike craze first started, every couple ran out to Walmart or wherever and picked one up. They rode them a few times and then permanently garaged them, because when not used for their intended purpose - steep, technical, rocky, drops and fording creeks, they are just a drag.
Unless you plan to go full tilt into mountain biking - and not plan on street riding, to reconsider and find a nice used gravel bike.
__________________
Road 🚴🏾♂️ & Mountain 🚵🏾♂️