What's gone wrong with democracy

Why has it run into trouble, and what can be done to revive it?