Critical CSS, explained
The rest of the CSS then loads without blocking, so the first paint can arrive sooner. Tools can work out which rules a page needs for a given screen size.
It adds complexity. Inlined CSS is not cached like a separate file, and it must stay in step with the real styles. If it misses a rule, visitors can see a flash of unstyled content.
It does not always help. If your stylesheet is already small, loads fast and is well cached, you may see no gain, so measure before and after.
A simpler first step is often better: remove unused CSS, keep one small file per page type, and load it early.



