Primordial black holes and secondary gravitational waves from ultraslow roll and punctuated inflation | Synapse