Three decades of data shows how changes in education, employment and family life are reshaping women’s financial lives.