Digital cognitive behavioral therapy designed to curb insomnia during pregnancy reduces postpartum depression, researchers report.