Curvature measures and the sub-Riemannian Gauss-Bonnet theorem | Synapse