The Ravens gained 338 yards and scored in all three phases, but two lost fumbles helped Carolina stay within four points at halftime