Global markets advance on easing geopolitical tensions, AI optimism