Text this: Heterogeneous environmental regulation, common prosperity and green innovation