Toggles and persists light/dark mode using Provider All state is managed reactively with Provider, so UI widgets automatically rebuild when data changes.