The boundary between Canada and the United States — which carves a 5,525-mile path through remote and wild terrain, including forests, plains, mountains and tundra — was nearly invisible.