The two-nucleon system at next-to-next-to-next-to-leading order