The younger you are, the less retirement security you’re likely to have, as employers accelerate efforts to shed costly pensions and replace them with alternatives that make workers shoulder more of the risk and responsibility.