I used to be one of those people who'd crash into bed at midnight after scrolling through my phone for an hour, then wake up ...