A legal-tech startup picked crowdfunding over venture capital — and raised more than $4 million. Here's how.