A founder's guide to technical due diligence. What investors and acquirers look for in your codebase, team, and architecture before they commit capital.