With the advent of CSS variables (custom properties) and calc functions, it would be useful to be able to access the iterator directly for computation and design.
A pure CSS approach may look something like this:
:nth-child(1) { --n: 1 }
:nth-child(2) { --n: 2 }
:nth-child(3) { --n: 3 }