How a cap table works — shares, options, SAFEs, and dilution — with worked examples from incorporation through Series A.