Soil health contributes to variations in crop production and nitrogen use efficiency