Create an scalable UI

You can make margins with percentages by using anchor points.
In the inspector: Anchor Preset → Custom → Anchor Points
Make sure to set anchor offsets to 0.

The anchor points are only usable if the card is not a direct child of a container, but you can still use them inside a container with a node structure like this:
SomeContainer - Control - Card
where the expand setting is enabled for the control node.