Playing with ballad clichés, the Californian concocted one of the wittiest pop tunes of the late 2000s.