A new extinct reptile species has shed light on how our earliest ancestors became top predators by modifying their teeth in response to environmental instability around 300 million years ago.