Add to this that any reference to "switched capacitors" is actually turning the situation from a DC to a type of AC, though possibly with a strange waveform.
Take it further - any time-varying feature would involve capacitor charging and discharging - so not DC.
Real capacitors may well have "some" leakage, but maybe as high as several Giga-Ohms, and the real possibly that more will leak across a bit of old fingerprint reacting with humidity than gets through the dielectric insulation. A true capacitor having finite conductors and physical size will show some inductance also. There will be a self-resonant frequency, and maybe another for a series mode equivalent. Model it fully, and a capacitor is a little L C R network.
To get instant precision voltage division for DC, you need the Real part of the component impedance to be there - the RESISTIVE part.
Apply AC, and resistors STILL give you a division - and it is still an AC version keeping up with the applied AC.
With only pure capacitors there, you can have precision voltage division only with AC. It uses the REACTIVE part of the component impedance.
We won't bother right now to go too deep into complex numbers way of expressing impedance, but think [REAL PART resistive ] + j*[REACTIVE PART capacitive ]
The reactive part for a capacitor depends on frequency. Look it up to find Xc=1/j*(2*pi()*Frequency*Capacitance),and the "j" down there ends up giving it a minus sign.
The lower the frequency, the bigger Xc it gets, until at ZERO frequency, we have arrived at DC, and the impedance is infinite!
(Except for the few electrons that leak over the old fingerprint, or find their way through the insulation)!
Good capacitors holding DC might discharge more from incoming cosmic radiation than from insulation leak, but you find that some circuits that involve extremely high impedances (like pH meters) might use PCB boards made of glass, or alumina, or ceramic loaded PTFE, and amplifier inputs surrounded by grounded "guard rings". This is where one starts thinking of currents as a few tens of million electrons instead of microamps!
Good to remember is that reactive components (capacitors and inductors) are only there temporarily while things are CHANGING! They truly disappear once a steady state (DC) is reached. They re-appear again the instant you try to change (discharge), and of course, AC is a case of "continuously changing".