On the morning of Nov. 8, 2016, many Americans went to bed confident that Hillary Clinton would be elected the nation’s first female president.

Their confidence was driven, in no small part, by a pervasive message that Clinton was ahead