In an approach based on the nonlinear Riccati-type differential equation for the ratio of the level population amplitudes, rather than on the optical Bloch equations, we describe the response of a two-level system to a few--cycle light pulse of intensity from the regime of extreme nonlinear optics, i.e., when the Rabi and transition frequencies are comparable. Emphasis is put on the dependence of the spectra of the scattered light on the carrier--envelope phase, duration and strength of both resonant and off-resonant pulses.