/* "Three Steps" section heading (light bg) | prefix: sh | .sh in index.html */

.sh {
   --sh-cyan: #19d3ff;
   --sh-blue: #3b5bff;
   --sh-violet: #7c3aed;
   --sh-magenta: #d946ef;
   position: relative;
   z-index: 2;
   max-width: 1080px;
   margin: 0 auto 70px;
   text-align: center;
   font-family: 'Inter', 'Poppins', sans-serif;
}

/* soft glow behind the heading */
.sh::before {
   content: "";
   position: absolute;
   top: -60px;
   left: 50%;
   z-index: -1;
   width: 620px;
   max-width: 100%;
   height: 260px;
   transform: translateX(-50%);
   border-radius: 50%;
   background: radial-gradient(closest-side, rgba(124, 58, 237, .16), rgba(25, 211, 255, .1) 60%, transparent);
   filter: blur(30px);
}

.sh__title {
   margin: 0;
   font-weight: 800;
   letter-spacing: -.04em;
   line-height: 1.08;
   color: #0f1330;
}

.sh__l1 {
   display: block;
   font-size: clamp(30px, 5vw, 64px);
}

.sh__l2 {
   display: block;
   margin-top: 8px;
   font-size: clamp(24px, 3.6vw, 46px);
   color: #2a2f52;
}

.sh__l1 em {
   display: inline-block;
   font-family: 'Instrument Serif', Georgia, serif;
   font-style: italic;
   font-weight: 400;
   font-size: 1.2em;
   letter-spacing: -.01em;
   line-height: 1;
   padding: 0 .08em .06em;
   background: linear-gradient(100deg, var(--sh-cyan), var(--sh-blue) 40%, var(--sh-violet) 72%, var(--sh-magenta));
   -webkit-background-clip: text;
   background-clip: text;
   color: transparent;
}

/* hand-drawn swash under "Teaches Itself" */
.sh__swash {
   position: relative;
   display: inline-block;
   white-space: nowrap;
   background: linear-gradient(100deg, var(--sh-blue), var(--sh-violet) 60%, var(--sh-magenta));
   -webkit-background-clip: text;
   background-clip: text;
   color: transparent;
}

.sh__swash::after {
   content: "";
   position: absolute;
   left: 1%;
   right: 0;
   bottom: -.26em;
   height: .24em;
   background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g'%3E%3Cstop offset='0' stop-color='%2319d3ff'/%3E%3Cstop offset='.5' stop-color='%237c3aed'/%3E%3Cstop offset='1' stop-color='%23d946ef'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M4 15C90 5 200 3 296 10' stroke='url(%23g)' stroke-width='6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

.sh__divider {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 14px;
   margin-top: 42px;
}

.sh__divider span {
   width: 90px;
   height: 2px;
   border-radius: 2px;
   background: linear-gradient(90deg, transparent, var(--sh-violet));
}

.sh__divider span:last-child {
   transform: scaleX(-1);
}

.sh__divider i {
   font-style: normal;
   font-size: 18px;
   background: linear-gradient(135deg, var(--sh-cyan), var(--sh-violet), var(--sh-magenta));
   -webkit-background-clip: text;
   background-clip: text;
   color: transparent;
}

@media (max-width: 575px) {
   .sh {
      margin-bottom: 50px;
   }

   .sh__swash {
      white-space: normal;
   }

   .sh__divider {
      margin-top: 34px;
   }
}
