The margins of US trade