:root {
  --ink: #243548;
  --muted: #566778;
  --paper: #fffdf8;
  --sky: #dff3ff;
  --blue: #2776a5;
  --blue-dark: #185476;
  --green: #8fcf9e;
  --green-light: #cce9b9;
  --yellow: #ffd76a;
  --coral: #f28b72;
  --purple: #8e79c6;
  --shadow: 0 8px 22px rgb(43 73 91 / 10%);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-rounded, "Nunito", "Avenir Next", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

.hero {
  position: relative;
  min-height: 25rem;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 4.5rem 1.25rem 7rem;
  text-align: center;
  background:
    radial-gradient(circle at 12% 20%, rgb(255 255 255 / 80%) 0 1.8rem, transparent 1.9rem),
    radial-gradient(circle at 88% 28%, rgb(255 255 255 / 65%) 0 2.6rem, transparent 2.7rem),
    linear-gradient(180deg, #caedff 0%, var(--sky) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 53rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgb(255 255 255 / 75%);
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1.25rem;
  color: var(--blue-dark);
  font-size: clamp(2.35rem, 7vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h1 span {
  color: #a63f54;
}

.intro {
  max-width: 37rem;
  margin: 0 auto;
  color: #38556b;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 650;
}

.hero__music span {
  position: absolute;
  z-index: 1;
  color: rgb(39 118 165 / 35%);
  font-weight: 900;
  line-height: 1;
  transform: rotate(-12deg);
}

.hero__music span:nth-child(1) {
  top: 22%;
  left: 8%;
  font-size: clamp(2.5rem, 7vw, 5rem);
}

.hero__music span:nth-child(2) {
  top: 13%;
  right: 9%;
  color: rgb(166 63 84 / 28%);
  font-size: clamp(3rem, 8vw, 6rem);
  transform: rotate(10deg);
}

.hero__music span:nth-child(3) {
  right: 21%;
  bottom: 23%;
  color: rgb(142 121 198 / 32%);
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.hills,
.hills::before,
.hills::after {
  position: absolute;
  left: -10%;
  bottom: -5.5rem;
  width: 70%;
  height: 12rem;
  border-radius: 50% 50% 0 0;
  background: var(--green-light);
}

.hills::before,
.hills::after {
  content: "";
}

.hills::before {
  left: 65%;
  bottom: -1rem;
  width: 95%;
  background: var(--green);
}

.hills::after {
  left: 115%;
  bottom: 0.75rem;
  width: 75%;
  background: #b5dda4;
}

main {
  position: relative;
  z-index: 3;
  width: min(100% - 2rem, 58rem);
  margin: -3.5rem auto 0;
}

.song-section {
  padding: clamp(1.35rem, 4vw, 2.5rem);
  border: 1px solid #e5e8e3;
  border-radius: 1.75rem;
  background: rgb(255 255 255 / 97%);
  box-shadow: var(--shadow);
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-heading__icon {
  flex: 0 0 auto;
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  border-radius: 1rem;
  color: #713f82;
  background: #eee8ff;
  font-size: 1.75rem;
}

h2 {
  margin-bottom: 0.15rem;
  color: var(--blue-dark);
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  line-height: 1.15;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
}

.song-list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: songs;
}

.song-list li {
  counter-increment: songs;
}

.song-list a {
  display: grid;
  grid-template-columns: 3.1rem 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 5.4rem;
  padding: 0.9rem 1.1rem 0.9rem 0.9rem;
  border: 2px solid transparent;
  border-radius: 1.2rem;
  color: var(--ink);
  background: #f5f9fb;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.song-list a::before {
  content: counter(songs);
  display: grid;
  width: 3.1rem;
  height: 3.1rem;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 1.15rem;
  font-weight: 850;
}

.song-list li:nth-child(3n + 2) a::before {
  background: #b84f64;
}

.song-list li:nth-child(3n) a::before {
  background: #7863ad;
}

.song-list a:hover {
  border-color: #aed7e8;
  box-shadow: 0 7px 14px rgb(43 73 91 / 10%);
  transform: translateY(-2px);
}

.song-list a:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: 3px;
}

.song-name {
  font-size: clamp(1.08rem, 3vw, 1.32rem);
  font-weight: 800;
}

.open-label {
  color: var(--blue-dark);
  font-size: 0.93rem;
  font-weight: 750;
  white-space: nowrap;
}

.open-label span {
  display: inline-block;
  margin-left: 0.2rem;
  font-size: 1.25rem;
  transition: transform 150ms ease;
}

.song-list a:hover .open-label span {
  transform: translateX(3px);
}

footer {
  padding: 2.5rem 1rem 3rem;
  color: var(--muted);
  text-align: center;
  font-size: 0.95rem;
  font-weight: 650;
}

footer p {
  margin-bottom: 0;
}

@media (max-width: 37rem) {
  .hero {
    min-height: 23rem;
    padding-top: 3.75rem;
  }

  .section-heading {
    align-items: flex-start;
  }

  .section-heading__icon {
    width: 3rem;
    height: 3rem;
  }

  .song-list a {
    grid-template-columns: 2.75rem 1fr;
    gap: 0.8rem;
    min-height: 4.9rem;
    padding: 0.75rem;
  }

  .song-list a::before {
    width: 2.75rem;
    height: 2.75rem;
  }

  .open-label {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .song-list a,
  .open-label span {
    transition: none;
  }
}
