The one surprising thing that can make every marriage work: logic