Distinguish an offer from an invitation to treat, and explain why the distinction determines the moment and terms of a contract.