the wedding contract had been a fifty-page beast of a document , and one of its many stipulations made her betrothal legally binding if either she or her fiance died before the actual wedding ceremony .