The social determinants of health framework primarily argues that health outcomes are most strongly shaped by: