The Fefferman–Szegő metric and applications