.conversion-hero {
  position: relative;
  min-height: min(100svh, 720px);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 86% 54%, rgb(164 36 54 / 9%), transparent 34%),
    linear-gradient(108deg, #fffefe 0%, #fffefe 57%, #fcf7f8 100%);
  isolation: isolate;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgb(164 36 54 / 7%);
  background: rgb(255 254 254 / 76%);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: grid;
  min-height: 82px;
  grid-template-columns: 220px 1fr auto;
  gap: 32px;
  align-items: center;
}

.site-header__brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
}

.site-header__brand img {
  display: block;
  width: 154px;
  height: auto;
}

.site-header__nav {
  display: flex;
  justify-content: center;
  gap: clamp(28px, 3.7vw, 58px);
}

.site-header__nav a,
.site-header__cta {
  color: var(--snd-ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}

.site-header__nav a {
  position: relative;
  padding-block: 8px;
}

.site-header__nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--snd-bordeaux);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-header__nav a:hover::after,
.site-header__nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header__cta {
  display: inline-flex;
  padding: 10px 0;
  border: 0;
  color: var(--snd-bordeaux);
  background: transparent;
  cursor: pointer;
  gap: 9px;
  align-items: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-header__menu {
  display: none;
}

.site-header__nav-cta,
.site-header__backdrop {
  display: none;
}

.conversion-hero__texture {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: url("https://cdn.prod.website-files.com/689af01563721e10886cd67c/6a3cf38660cddb5bc22808d1_05368971a21f12a4ff32dbe0d95dbf52_1440%20px%20_%20landing%20page.avif");
  background-position: right center;
  background-repeat: no-repeat;
  background-size: auto 100%;
  opacity: 0.32;
}

.conversion-hero__container {
  display: grid;
  min-height: min(100svh, 720px);
  padding-top: 118px;
  padding-bottom: 20px;
  grid-template-columns: minmax(0, 812px) minmax(360px, 1fr);
  gap: clamp(18px, 2.2vw, 32px);
  align-items: start;
}

.conversion-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 812px;
  text-align: left;
  transform: none;
}

.conversion-hero__label {
  display: inline-flex;
  max-width: 650px;
  margin: 0 0 22px;
  color: var(--snd-bordeaux);
  gap: 10px;
  align-items: center;
  font-family: var(--snd-font-label);
  font-size: 14px;
  letter-spacing: 0.035em;
  line-height: 1.4;
  text-transform: uppercase;
}

.conversion-hero__info {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

.conversion-hero__title {
  max-width: 812px;
  margin: 0;
  color: var(--snd-ink);
  font-size: clamp(46px, 3.55vw, 52px);
  font-weight: 500;
  letter-spacing: -0.047em;
  line-height: 1.1;
}

.conversion-hero__title-line {
  display: block;
}

.conversion-hero__title-line--second {
  margin-top: 4px;
  white-space: nowrap;
}

.conversion-hero__accent {
  display: inline-block;
  margin: -.06em -.14em -.065em -.04em;
  padding: .12em .14em .13em .04em;
  font-size: 1.12em;
  letter-spacing: -0.043em;
  line-height: 1.12;
  text-transform: none;
  vertical-align: -.035em;
}

.conversion-hero__text {
  max-width: 730px;
  margin: 22px 0 20px;
  color: var(--snd-ink-soft);
  font-size: 16px;
  line-height: 1.52;
}

.conversion-hero__text strong {
  color: var(--snd-ink);
  font-weight: 600;
}

.conversion-hero__cta {
  width: min(100%, 390px);
  min-width: 0;
  justify-content: flex-start;
}

.conversion-hero__cta-icon {
  display: block;
  padding: 0;
  overflow: visible;
}

.btn-star-path,
.btn-star-icon {
  transform-box: fill-box;
  transform-origin: center;
}

.is-star-animating .btn-star-path {
  animation: snd-star-flight 1s cubic-bezier(.45, 0, .2, 1) both;
}

.is-star-animating .btn-star-icon {
  animation: snd-star-flex 1s cubic-bezier(.45, 0, .2, 1) both;
  transform-origin: 50% 100%;
}

.conversion-hero__trust {
  display: flex;
  max-width: 760px;
  margin: 14px 0 0;
  padding: 0;
  color: var(--snd-muted);
  gap: 9px 18px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
  line-height: 1.35;
  list-style: none;
}

.conversion-hero__trust li {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.conversion-hero__trust-icon {
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 1px dashed rgb(164 36 54 / 42%);
  border-radius: 50%;
  color: var(--snd-bordeaux);
  background: rgb(255 254 254 / 78%);
  place-items: center;
  font-size: 10px;
  font-weight: 600;
}

.conversion-hero__visual {
  position: relative;
  align-self: end;
  min-height: min(71svh, 660px);
  transform: translateY(-14px);
}

.conversion-hero__halo {
  position: absolute;
  z-index: -1;
  top: 3%;
  right: -32%;
  bottom: 8%;
  left: -26%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 54% 50%, rgb(164 36 54 / 13%) 0, rgb(164 36 54 / 6%) 36%, transparent 69%);
  filter: blur(15px);
}

.conversion-hero__halo::before,
.conversion-hero__halo::after {
  display: none;
}

.conversion-hero__portrait-frame {
  position: absolute;
  inset: auto -14% 0 -22%;
  height: min(72svh, 665px);
  overflow: visible;
}

.conversion-hero__portrait {
  position: absolute;
  right: -2%;
  bottom: -21%;
  display: block;
  width: auto;
  height: 118%;
  max-width: none;
  filter: drop-shadow(0 26px 34px rgb(62 18 28 / 13%));
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 60%, rgb(0 0 0 / 82%) 65%, rgb(0 0 0 / 28%) 71%, transparent 78%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 60%, rgb(0 0 0 / 82%) 65%, rgb(0 0 0 / 28%) 71%, transparent 78%);
}

.conversion-hero__portrait-fade {
  position: absolute;
  z-index: 2;
  right: -34%;
  bottom: -48px;
  left: -34%;
  height: 210px;
  background: linear-gradient(to bottom, transparent 0%, rgb(255 254 254 / 18%) 38%, rgb(255 254 254 / 72%) 78%, #fffefe 100%);
  filter: blur(28px);
  pointer-events: none;
}

.conversion-hero__person-label {
  position: absolute;
  z-index: 3;
  right: 5%;
  bottom: 17%;
  display: flex;
  min-width: 264px;
  padding: 9px 15px 9px 9px;
  border: 1px solid rgb(255 255 255 / 66%);
  border-radius: 18px;
  background: linear-gradient(120deg, rgb(255 255 255 / 68%) 0%, rgb(255 254 254 / 48%) 52%, rgb(232 225 227 / 40%) 100%);
  box-shadow:
    0 18px 42px rgb(72 46 51 / 16%),
    inset 0 1px 0 rgb(255 255 255 / 78%),
    inset 0 -1px 0 rgb(255 255 255 / 18%);
  gap: 10px;
  align-items: center;
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  backdrop-filter: blur(22px) saturate(145%);
}

.conversion-hero__person-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  padding: 5px;
  border-radius: 10px;
  color: var(--snd-paper);
  background: linear-gradient(145deg, var(--snd-bordeaux), var(--snd-red));
  box-shadow: inset 0 0 14px rgb(255 255 255 / 16%);
}

.conversion-hero__person-copy {
  display: flex;
  flex-direction: column;
}

.conversion-hero__person-copy strong {
  color: var(--snd-ink);
  font-family: var(--snd-font-body);
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.2;
}

.conversion-hero__person-copy small {
  margin-top: 3px;
  color: var(--snd-muted);
  font-family: var(--snd-font-body);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
}

.conversion-hero__anchor {
  position: absolute;
  bottom: 0;
}

.chapter-cue--hero {
  position: absolute;
  z-index: 8;
  right: 50%;
  bottom: 14px;
  transform: translateX(50%);
}

@media (max-width: 1040px) {
  .site-header__inner {
    grid-template-columns: 180px 1fr auto;
    gap: 18px;
  }

  .site-header__nav {
    gap: 24px;
  }

  .conversion-hero__container {
    grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr);
    gap: 24px;
  }

  .conversion-hero__title {
    font-size: clamp(40px, 4.5vw, 46px);
  }

  .conversion-hero__text {
    font-size: 16px;
  }
}

@media (max-width: 900px) {
  .conversion-hero {
    min-height: auto;
    background: linear-gradient(180deg, #fffefe 0%, #fffefe 62%, #faf1f3 100%);
  }

  .conversion-hero__texture {
    background-position: 74% bottom;
    background-size: auto 72%;
    opacity: 0.22;
  }

  .site-header {
    position: relative;
  }

  .site-header__inner {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 70px;
    justify-content: space-between;
    gap: 18px;
  }

  .site-header__brand img {
    width: 132px;
  }

  .site-header__cta {
    display: none;
  }

  .site-header__menu {
    position: relative;
    z-index: 2;
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgb(164 36 54 / 14%);
    border-radius: 10px;
    color: var(--snd-bordeaux);
    background: rgb(255 254 254 / 82%);
    cursor: pointer;
    place-content: center;
    gap: 6px;
  }

  .site-header__menu span {
    display: block;
    width: 19px;
    height: 1.5px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .site-header__menu[aria-expanded="true"] span:first-child {
    transform: translateY(3.75px) rotate(45deg);
  }

  .site-header__menu[aria-expanded="true"] span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
  }

  .site-header__nav {
    position: absolute;
    z-index: 1;
    top: calc(100% - 1px);
    right: 16px;
    left: 16px;
    display: flex;
    padding: 12px;
    border: 1px solid rgb(164 36 54 / 10%);
    border-radius: 0 0 14px 14px;
    background: #fffefe;
    box-shadow: 0 18px 36px rgb(72 46 51 / 10%);
    flex-direction: column;
    gap: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-header__nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header__nav a {
    padding: 11px 10px;
  }

  .site-header__nav-cta {
    display: inline-flex;
    width: 100%;
    margin-top: 10px;
    padding: 14px 16px;
    border: 0;
    border-radius: 10px;
    color: #fffefe;
    background: var(--snd-bordeaux);
    box-shadow: 0 12px 24px rgb(164 36 54 / 20%);
    cursor: pointer;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-family: var(--snd-font-body);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
  }

  .site-header__nav-cta span {
    font-size: 18px;
    font-weight: 400;
  }

  .site-header__backdrop {
    position: fixed;
    z-index: 19;
    top: 70px;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    background: rgb(255 254 254 / 24%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
  }

  .mobile-menu-open .site-header__backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .conversion-hero__container {
    display: flex;
    min-height: auto;
    padding: 32px 20px 0;
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }

  .conversion-hero__copy {
    max-width: none;
    transform: none;
  }

  .conversion-hero__label {
    margin-bottom: 18px;
    font-size: 11px;
    line-height: 1.4;
  }

  .conversion-hero__title {
    max-width: 590px;
    font-size: clamp(25px, 6.65vw, 30px);
    letter-spacing: -0.038em;
    line-height: 1.04;
  }

  .conversion-hero__title-line--second {
    margin-top: 3px;
    white-space: normal;
  }

  .conversion-hero__text {
    margin: 20px 0 22px;
    font-size: 15px;
    line-height: 1.52;
  }

  .conversion-hero__cta {
    width: 100%;
    min-width: 0;
    padding-right: 14px;
    font-size: 15px;
  }

  .conversion-hero__trust {
    max-width: 620px;
    margin-top: 13px;
  }

  .conversion-hero__visual {
    width: min(100%, 470px);
    min-height: 420px;
    margin-inline: auto;
    transform: none;
  }

  .conversion-hero__halo {
    top: 5%;
    right: -3%;
    width: 105%;
  }

  .conversion-hero__portrait-frame {
    inset: auto -9% 0 -9%;
    height: 410px;
  }

  .conversion-hero__portrait {
    right: 3%;
    bottom: -19%;
    height: 126%;
  }

  .conversion-hero__portrait-fade {
    right: -20%;
    bottom: -42px;
    left: -20%;
    height: 180px;
  }

  .conversion-hero__person-label {
    right: 5%;
    bottom: 10%;
    min-width: 225px;
  }

  .conversion-hero__person-copy strong {
    font-size: 14px;
  }

  .chapter-cue--hero {
    position: relative;
    right: auto;
    bottom: auto;
    display: flex;
    width: fit-content;
    max-width: calc(100% - 36px);
    margin: -10px auto 20px;
    transform: none;
  }
}

@media (max-width: 390px) {
  .conversion-hero__container {
    padding-inline: 18px;
  }

  .conversion-hero__title {
    font-size: clamp(23px, 6.65vw, 26px);
  }

  .conversion-hero__visual {
    min-height: 390px;
  }

  .conversion-hero__portrait-frame {
    height: 380px;
  }

  .conversion-hero__trust {
    display: grid;
    gap: 7px;
  }
}

@keyframes snd-star-flight {
  0% {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
  }

  12% {
    opacity: 1;
    transform: translateX(0) rotate(-15deg);
  }

  58% {
    opacity: 0;
    transform: translateX(35px) rotate(100deg);
  }

  59% {
    opacity: 1;
    transform: translateX(-35px) rotate(-100deg);
  }

  100% {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
  }
}

@keyframes snd-star-flex {
  0%, 100% {
    transform: scaleY(1) rotate(0deg);
  }

  12%, 35% {
    transform: scaleY(1.1) rotate(-10deg);
  }

  58% {
    transform: scaleY(1) rotate(0deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .snd-cta {
    transition: none;
  }

  .btn-star-path,
  .btn-star-icon {
    animation: none !important;
  }
}

/* Optional hero table of contents. Activate with ?hero=toc. */
.conversion-hero__toc {
  position: relative;
  min-height: min(68svh, 590px);
  padding: 20px;
  background: center / 100% 100% no-repeat url("./assets/snd-card-frame.avif");
  align-self: end;
}

.conversion-hero__toc-inner {
  display: flex;
  height: 100%;
  min-height: min(62svh, 540px);
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid rgb(164 36 54 / 9%);
  border-radius: 22px;
  background:
    linear-gradient(142deg, rgb(255 255 255 / 94%), rgb(251 242 244 / 88%)),
    center / cover no-repeat url("./assets/snd-card-texture.avif");
  box-shadow: 0 22px 60px rgb(72 46 51 / 10%);
  flex-direction: column;
  justify-content: center;
}

.conversion-hero__toc-label {
  margin: 0 0 14px;
  color: var(--snd-bordeaux);
  font-family: var(--snd-font-label);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.conversion-hero__toc-title {
  max-width: 420px;
  margin: 0 0 24px;
  color: var(--snd-ink);
  font-size: clamp(23px, 2.1vw, 31px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.18;
}

.conversion-hero__toc ol {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.conversion-hero__toc li {
  border-top: 1px solid rgb(164 36 54 / 10%);
}

.conversion-hero__toc li:last-child {
  border-bottom: 1px solid rgb(164 36 54 / 10%);
}

.conversion-hero__toc a {
  display: grid;
  padding: 11px 0;
  color: var(--snd-ink-soft);
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.conversion-hero__toc a span {
  color: var(--snd-bordeaux);
  font-family: var(--snd-font-label);
  font-size: 10px;
  letter-spacing: .05em;
}

.conversion-hero__toc a:hover,
.conversion-hero__toc a:focus-visible {
  color: var(--snd-bordeaux);
  transform: translateX(4px);
}

.conversion-hero__toc-note {
  margin: 18px 0 0;
  color: var(--snd-muted);
  font-size: 10px;
  line-height: 1.45;
}

.hero-toc-variant .conversion-hero__visual {
  display: none;
}

.hero-toc-variant .conversion-hero__toc {
  display: block;
}

@media (max-width: 900px) {
  .conversion-hero__toc {
    width: min(100%, 620px);
    min-height: 0;
    margin: 0 auto 28px;
    align-self: auto;
  }

  .conversion-hero__toc-inner {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .conversion-hero__toc {
    padding: 12px;
  }

  .conversion-hero__toc-inner {
    padding: 26px 22px;
    border-radius: 16px;
  }

  .conversion-hero__toc-title {
    font-size: 24px;
  }
}
