Scrape-off layer (SOL) power width scaling and correlation between SOL and pedestal gradients across L, I and H-mode plasmas at ASDEX Upgrade