Ancient rocks reveal when rivers began pouring nutrients into the sea