An analytical theory of CEP-dependent coherence driven by few-cycle pulses