Maybe we need a new cliche: It ain’t over until Carly Fiorina sings. Anyway, it is over — definitively on the Democratic side, almost certainly on the Republican side. And the results couldn’t be more different.

Go back to a year ago. Hillary Clinton and Jeb Bush were seen as the front-runners for their parties’ nods. And now here we are.

But why did Ms. Clinton, despite the most negative media coverage of any candidate in this cycle — yes, worse than Donald Trump’s — go the distance, while the GOP establishment went down to humiliating defeat?

Personalities surely played a role. Say what you like (or dislike) about Ms. Clinton, but she’s resilient under pressure. The basic reason, though, is a fundamental difference between the parties and how they serve their supporters.

Advertise with us

Both parties make promises to their bases. But while the Democratic establishment more or less tries to make good on those promises, the Republican establishment has been playing bait-and-switch for decades. And voters finally rebelled against the con.

First, the Democrats: Their party defines itself as the protector of the poor and middle class, especially of nonwhite voters. Does it fall short of fulfilling this mission? Are its leaders sometimes too close to big-money donors? Of course. Still, if you look at the Obama years, you see real progress toward the party’s goals.

Above all, you have the Affordable Care Act, which has given about 20 million Americans health insurance, with the gains biggest for the poor, minorities and low-wage workers. That’s delivering for the base — and it’s one reason nonwhite voters have overwhelmingly favored Ms. Clinton over a challenger who sometimes seemed to dismiss that achievement.

And these benefits were paid for by having average tax rates on very high incomes rise by about 6 percentage points since 2008.

Maybe Democrats could have done more, but what the party establishment says and what it does are at least roughly aligned.

Advertise with us

Not so among Republicans. Their party has for decades won elections by appealing to racial enmity and cultural anxiety, but its actual policy agenda is dedicated to serving the 1 percent, above all through tax cuts for the rich — which even Republican voters don’t support, while loathing elite ideas like privatizing Social Security.

Donald Trump has been telling the base that it can order a la carte. He has told aggrieved white men they can feed their anger without being forced to swallow supply-side economics. Yes, his actual proposals still offer huge tax cuts for the rich, but his supporters don’t know that. Nor may he — details are not his thing.

Establishment Republicans have tried to counter his appeal by shouting that he isn’t a true conservative. Yes, their voters don’t care.

If there’s a puzzle here, it’s why this didn’t happen sooner. One possible explanation is the decadence of the GOP establishment, which has become ingrown and lost touch. Apparatchiks who have spent their careers inside the bubble of right-wing think tanks and partisan media may suffer from the delusion that their ideology is actually popular with real people. And this has left them hapless in the face of a Trumpian challenge.

More important, however, is the collision between demography and Obama Derangement Syndrome. The elite knows that the party must broaden its appeal as the electorate grows more diverse — that was the conclusion of the GOP’s 2012-election post-mortem. But the base, its hostility amped up to 11 after seven years of an African-American president (who the establishment has done its best to demonize) is having none of it.

Advertise with us

The point is that the divergent nomination outcomes of 2016 aren’t an accident. The Democratic establishment has won because it has, however imperfectly, tried to serve its supporters. The Republican establishment has been routed because it has been playing a con game on its supporters all along, and they’ve finally had enough.

Paul Krugman is a syndicated columnist for The New York Times.