Marriage is replaceable by:
(a) formation of a partnership or llc, where the partnership agreement lays out all terms of construction and dissolution.
(b) grant of full reciprocal power of attorney.
Either make a contract, or assume the contract the state has made for you.
And then fight to ensure that the state enforces your explicit contract rather than the normative one.