When parents gain the right to work from home, children do better in school, and the effects show up in outcomes that shape later opportunities.