Cosmology meets condensed matter