Replace direct localStorage.getItem/setItem/removeItem with the centralized storage module which provides versioned keys, automatic JSON serialization, SSR safety, and error handling.