Playing around with an idea: responsive code.
The build script creates up to 5 versions of each code sample, and a container query displays the right one.
Brotli means the filesize overhead is very small.
Live demo: https://jakearchibald.com/2026/css-custom-property-compute-time/