Guanine bases in DNA G-quadruplex adopt nonplanar geometries owing to solvation and base pairing.