We solved it completely unorthodox and just gave away the stair gate. :D
Babies / children go through different phases, and for the first few months you don’t need to stress because they’re not mobile yet. When crawling starts, you’ll quickly reach the point where you either a) have to supervise them in your immediate vicinity, or b) have to keep them within a "Safe Space," like a bigger playpen or something similar.
I didn’t like the idea of the playpen at all until we had a child. Then we got one fairly quickly because the child didn’t find it so "prison-like" as we adults did – ours always loved it, happily played inside, and often even fell asleep there.
We never missed the classic stair gate because, in the hallway, there were so many things that weren’t childproof anyway that we either stayed close to the child or the child had no access to the hallway.
When he got older, we eventually installed a pressure-mounted gate on his room door. We secured the room so he could safely stay and play there alone, and the gate in the door made sure he didn’t get to the stairs or other rooms that weren’t child-friendly. But that is a pretty special case since our son played autonomously quite early and was generally never very clingy. That’s not necessarily typical, from what I hear from friends.
But that’s just food for thought, it doesn’t have to fit with your plans.