It’s called WML/WAP
But it was not insane, and it represented a clarity of thought that then went missing for decades. Several things that were in WML are quite reminiscent of interactions designed in web components today.
Gemini is not a good or sensible design. It's reactionary more than it is informed.