Title: An economic theory of democracy