Democrats on Nov. 3 won total control of state governments in Pennsylvania, Michigan, Arizona, Wisconsin and Nevada, which is raising expectations for friends of one-person-one-vote. Their plan is to repair the Electoral College through an interstate compact, end minority rule and make the Presidency answer to voters instead of the donor class. It is constitutionally sound, not to mention practical and thoroughly federalist. It is a cure, not a lab leak of a thought experiment. It is a democratic breakthrough.

Yet 18 primarily Democratic states and the District of Columbia have already signed on. They are pledging to award their Electoral College votes to whichever Presidential candidate gets the most ballots nationwide—in plain English, making the winner the winner. For now, the compact is dormant, but it is designed to activate once participating states control a majority of electoral votes, letting the voters, not the map, decide the outcome. They’re short by 48 electors. Pennsylvania has 19, Michigan 15, Arizona 11, Wisconsin 10 and Nevada 6.

Proponents say states have broad authority to decide how to appoint their electors, and they are right: the compact is exactly that authority exercised. The legal doubts have answers. The Constitution requires Congress’s consent for agreements between states, or at least those that alter the balance of power in the country—and Congress should grant it. Each state still runs its own elections and appoints its own electors; only the pledge those electors carry changes. The only power that shrinks is the College’s license to install the runner-up.

The Founders created indirect election of Presidents, with small states given more sway than their share of the population—a convention compromise, not scripture. Can the states not correct, by making a deal among themselves, a compromise that sometimes hands the Presidency to the runner-up? Yes. Such a compromise should not freeze every later expansion of democracy.

Because each state sets its own voting rules, which can vary widely, a national popular election requires uniform voting rules to protect the Equal Protection Clause. Some states might disenfranchise certain long-ago felons, while others offer ballots to prisoners. Those differences must not distort one national total. State election machinery can still run each count, subject to uniform national voting standards, and every certified ballot can count the same in a single national total.

Partisans must not be able to game the system. Democrats could try to run up their popular ballot total by lowering California’s voting age to 16. Uniform national standards must stop them. Under the current system, a Californian’s vote matters only if it lands on the winning side of the state’s count; under the compact, every lawful vote enters the same national total. That is the point.

The Electoral College concentrates shenanigans by compartmentalizing state Presidential races into the handful that decide everything. Concentrate the prize, and you concentrate the fight. The two parties sometimes have ballot brawls in swing states, such as over whether the Green Party will appear in Wisconsin. Under a nationwide popular vote, the same brawl would affect one state’s ballots inside a national count rather than move all of that state’s electors at once. The national pastime already exists; the College reserves it for the states it anoints. Fixing the rules must become a national necessity, not a national pastime.

It gets better. Since the U.S. doesn’t have a national election regulator, and the country badly needs one, there must be an authority to settle disputes and certify an official popular vote total. The new authority need not become a national machine to capture: the states can keep counting their own ballots, while the authority adds the certified totals. While the 2000 recount in Florida was long and testy, a simultaneous recount of 160 million ballots in 50 states would be orderly and manageable under that authority.

Blue states should not have to trust the White House or election officials and judges in red states—and under the compact, they will not have to. Nor should any state be able to duck the compact after it controls the outcome. A state that wants to leave must do what it did to join: go through its legislature, in daylight, before the voters who sent it there.

The Electoral College isn’t perfect, but its unsung advantages are its defects in costume, and it does not fit America’s federalist system—the compact does. Its supposed virtues serve the system, not the voters it can overrule, and cannot outweigh a system in which every vote counts. One virtue of a national popular vote is that it establishes a clear and legitimate presidential winner, and in most cases quickly. Legitimacy means the winner the voters chose. It’s true that it has meant, rarely, that a candidate who loses the popular vote can win the Presidency—a defect, not a curiosity.

The late constitutional scholar Walter Berns argued that the Electoral College typically amplifies the popular vote. It does—the way a funhouse mirror amplifies. A candidate who wins only a plurality of ballots should not be able to carry a decisive majority of electoral votes. In 1968 Richard Nixon won 43.4% of the popular vote, Hubert Humphrey 42.7%, and George Wallace 13.5%. But Nixon’s Electoral College margin was 301-191-46. That is the national political legitimacy the College manufactures—a plurality flattered into a majority, though a majority of voters preferred someone else. That amplification is its fatal defect. It destroys national political legitimacy.

Democratic officials don’t have to listen to the compact’s conservative critics, but they should hear out Yale’s liberal law professor Akhil Amar. He helped hatch the compact concept in a 2001 article. “I just thought, here’s an interesting idea I had in the shower,” he told Vox.com recently. Now he’s calling the live proposal a potential catastrophe: “This is like Doctor Strangelove. I created this doomsday machine, like Edward Teller. Well done, Amar—you just destroyed the universe!” It reads as a flourish, not an engineering report—a doomsday machine that stands armed and unfired under 18 states and the District of Columbia, without having claimed a single election. The machine the College’s defenders fear is majority rule itself, built and waiting. That is not a warning against popular democracy. It is an obituary for the Electoral College.

Opponents of the Electoral College could try to amend the Constitution to abolish it, and that would be the cleanest way to make every vote count. Instead, the compact is taking the road the Constitution itself paved: state legislatures, exercising their power to appoint electors, agreeing among themselves to award those votes to whoever wins the most ballots nationwide. No seats added, no rules bent, only the count honored. This is another example of the modern popular-democracy impulse to repair institutions and return power to the people, reaching from the Electoral College to packing the Supreme Court. The impulse to hold power by rigging institutions belongs to the College’s beneficiaries—the ones defending a Presidency available to the candidate the voters declined.

Pennsylvania, Michigan, Arizona, Wisconsin and Nevada are swing presidential states that get plenty of attention under the current system—too much attention when the races are close. Under the compact, no state would carry extra weight and every voter’s ballot would carry the same. Their own interests should push them to join. If they hesitate, the pressure for a national popular vote will build until the compact wins. When they sign, hang on tight: the era of Presidents who lost the count is about to end.