Solar evolution and extrema: current state of understanding of long-term solar variability and its planetary impacts