We propose a class of wave functions that provide a unified description of antiferromagnetism and d-wave superconductivity in (doped) Mott insulators. The wave function has a Jastrow form and prohibits double occupancies. In the absence of holes, the wave function describes antiferromagnetism accurately. Off diagonal long range order develops at finite doping and the superconducting order parameter has d-wave symmetry. We also show how nodal quasiparticles and neutral spin excitations can be constructed from this wave function.