CSS Custom Properties (variables) allow you to define reusable values with the -- prefix and access them using the var() function. They reduce repetition and make theme switching easy. Define variables on :root (the <html> element) for global availability. Variables are inherited by descendants and can be overridden for specific components. Unlike SASS $variables, CSS variables are live in the browser — they can be modified at runtime using JavaScript (element.style.setProperty('--color', 'red')) without any build step. CSS variables accept fallback values: var(--primary, #0047AB) uses #0047AB if --primary is not defined. They can reference other variables and be used in calc() expressions. Advantages Easy theme switching (dark/light mode with prefers-color-scheme), reduces repetition…