Three-body scattering and quantization conditions from S-matrix unitarity | Synapse