The breezy hit became one of soft rock’s defining summer songs after being written in just half an hour.