Annual Boden Lecture: Contract Design and the Goldilocks Problem