A written agreement specifying the terms and conditions of a mortgage.