Having children when it's least risky (before 30) should be possible without career suicide. To accomplish that, government must mandate more generous maternity leave policies. Companies aren't going to be nice by themselves. They have competitors to undercut and work to be done.
I'm not very familiar with mandated maternity leave rules in the US, but I believe it's less generous than in other developed countries, similar to how vacation time is not mandated in the US. For reference, mandated minimum in the EU is 4 weeks of paid vacation per year.
What I'm saying is, good for you that you found a decent employer, but most employers are not that nice, and have no reason to be, given current regulations.
I'd suggest familiarizing yourself with Henry Ford.
Also, there are tonnes of stupid companies in Vancouver that want you to work insane hours, by law they don't even have to pay the tech industry overtime, yet every company that tries to pull this shit ends up with the shittiest developers imaginable.
What about Henry Ford? Capitalist ideology in general, or something relevant to maternity leaves?
Your Vancouver companies story just shows why such benefits must be mandated. Then "shittiest developers" wouldn't be a problem, because the benefits they're apparently flocking to would be the same everywhere.