Because I'm preparing more documents nowadays, I have worked a bit on:
https://alex.corcoles.net/notes/tech/document-formats
I would recommend many different systems depending on requirements.
Playing with Typst, I've learnt that styling documents is quite complex and that there are issues with internationalization (such as using commas for decimal numbers!).
I don't even have time to play with all promising systems, but it would be nice to write my "ideal" system.