Pelosi attack shocks country on edge about democracy threats