Nanophasic biodegradation enhances the durability and biocompatibility of magnesium alloys for the next-generation vascular stents.