The Democratic candidate benefited from incompetence, complacency, and an election without Trump's name on the ballot.