The line of succession is mentioned in three places in the Constitution: in Article II, Section 1, in Section 3 of the 20th Amendment, and in the 25th Amendment.
The 25th Amendment, ratified in 1967, clarified Article II, Section 1: that the Vice President is the direct successor of the President.