An investment strategy to address biodiversity loss from agricultural expansion