The friendly contours of the post–Cold War system have given way to a darker and more challenging environment.