Get this product for free on Gumroad.
This is a geometry nodes nodegroup that allows to have even thickness at the corners of curves.

The default Curve to Mesh node in Blender doesn't take even thickness of the corners into account, this node scales them according to make everything have the same thickness.