Depth-dependent extension, two-stage breakup and cratonic underplating at rifted margins