Stanford survives against Arizona, wins first national championship since 1992