How would you design a robust lane detection system that functions reliably in heavy rain or low-light conditions?