How crypto exchanges work: order books, matching engines, CEX vs DEX, custody, fees, and KYC regulation explained.