Render Flow - Declaring variables
Parse CSS file
Identify :root selector
Read --variable declarations
Store variables in CSSOM
Apply variables where used
Render styles with variable values
The browser reads the CSS, finds variable declarations inside selectors like :root, stores them, and then replaces variable uses with their values during rendering.