Continuum-mediated dark matter–baryon scattering