Different class shares should be illegal.
Shares, whether in one class or many, are packages of claims against the company, not really ownership of the company in the simple sense. That’s fairly fundamental to the corporate form as distinct from, say, partnerships.