Orbital stability of compact three-planet systems. III. The role of three-body resonances | Synapse