Non-perturbative quantum geometry