Render Flow - Media-based dark mode strategy
[Load HTML] -> [Load Tailwind CSS] -> [Detect prefers-color-scheme media query] -> [Apply dark mode styles if matches] -> [Render page with correct colors]
The browser loads the HTML and Tailwind CSS, then checks the user's system preference for dark mode using the prefers-color-scheme media query. If dark mode is preferred, Tailwind applies the dark styles automatically before rendering the page.