Two short missed field goals combined with a fourth-and-10 conversion turned a 12-point fourth-quarter lead into a Stanford win.