A single typo, a routine maintenance error, or a targeted attack can plunge millions into darkness.