SMS dit: Social capital, diversity, and the welfare state