How confidence in health care systems affects mobility and compliance during the COVID-19 pandemic