.beginner-hero {
  --beginner-green: #008c95;
  --beginner-deep: #067a80;
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(360px, 600px) minmax(150px, 1fr);
  align-items: center;
  min-height: 430px;
  padding: 48px max(32px, calc((100vw - 1200px) / 2));
  overflow: hidden;
  color: #fff;
  background: linear-gradient(112deg, var(--beginner-green), var(--beginner-deep));
}

.beginner-hero::before,
.beginner-hero::after {
  content: "";
  position: absolute;
  width: 34vw;
  height: 34vw;
  border: 1px solid rgba(187, 255, 243, .18);
  border-radius: 50%;
  pointer-events: none;
}
.beginner-hero::before { top: -24vw; left: -11vw; }
.beginner-hero::after { right: -15vw; bottom: -27vw; }

.beginner-hero__book {
  position: relative;
  z-index: 1;
  min-height: 330px;
  padding: 66px 64px 48px;
  text-align: center;
  border: 5px solid #fff;
  border-radius: 28px 28px 18px 18px;
  box-shadow: inset 14px 0 0 rgba(255, 255, 255, .14), inset -14px 0 0 rgba(255, 255, 255, .08);
}
.beginner-hero__book::after {
  content: "";
  position: absolute;
  top: 34px;
  bottom: 34px;
  left: 50%;
  width: 2px;
  background: rgba(255, 255, 255, .24);
}
.beginner-hero__eyebrow {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 5px 14px;
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .07em;
}
.beginner-hero h1 {
  position: relative;
  z-index: 1;
  margin: 30px 0 12px;
  color: #fff;
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .05em;
}
.beginner-hero p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #cffff6;
  font-size: 15px;
  letter-spacing: .08em;
}
.beginner-hero__spark {
  position: absolute;
  z-index: 1;
  width: 42px;
  height: 42px;
  background: repeating-conic-gradient(from 0deg, #fff 0 8deg, transparent 8deg 45deg);
  -webkit-mask: radial-gradient(circle, transparent 0 40%, #000 42% 100%);
  mask: radial-gradient(circle, transparent 0 40%, #000 42% 100%);
}
.beginner-hero__spark--top { top: 114px; right: 27%; }
.beginner-hero__spark--bottom { bottom: 48px; left: 28%; transform: rotate(20deg); }
.beginner-hero__people {
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(62px, 94px));
  justify-content: center;
  gap: 20px;
}
.beginner-hero__people img {
  width: 100%;
  filter: drop-shadow(0 8px 14px rgba(0, 58, 63, .18));
}
.beginner-hero__people img:last-child { grid-column: 1 / -1; justify-self: center; width: 70%; }
.beginner-hero__people--right { direction: rtl; }

@media (max-width: 767px) {
  .beginner-hero {
    grid-template-columns: 1fr;
    min-height: 370px;
    padding: 34px 20px;
  }
  .beginner-hero__book { min-height: 300px; padding: 56px 26px 38px; border-width: 3px; }
  .beginner-hero__people { display: none; }
  .beginner-hero h1 { margin-top: 25px; font-size: clamp(34px, 10vw, 46px); }
  .beginner-hero__spark--top { top: 94px; right: 12%; }
  .beginner-hero__spark--bottom { bottom: 35px; left: 12%; }
}
/* Button labels contain highlighted <em> words. Keeping the label as a block
   preserves literal spaces around those inline words instead of turning each
   text fragment into a separate flex item. */
.beginner-navigation-wrapper .bginner-button-text {
  display: block;
}
