You can address points 1 and 3 via (s)css modules.
But point 2 and 4 stand.
But point 2 and 4 stand.
(eg: `margin-left: var(--page-margin);`)
The main issue I still see with CSS variables is IDE support and static validation. With my CSS written in typescript I know that every variable I’ve imported works statically.