.asn2txt-page {
  --asn2txt-border: #cbd8e7;
  --asn2txt-caption: #485b70;
  --asn2txt-accent: #4550a7;
  --asn2txt-shadow: 0 18px 44px rgba(10, 23, 40, .09);
}

.asn2txt-hero {
  padding-bottom: clamp(72px, 8vw, 112px);
}

.asn2txt-hero::after {
  z-index: 0;
  pointer-events: none;
}

.asn2txt-hero .container {
  position: relative;
  z-index: 1;
}

.asn2txt-hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, .88fr) minmax(470px, 1.12fr);
  gap: clamp(48px, 7vw, 96px);
}

.asn2txt-hero-copy {
  min-width: 0;
}

.asn2txt-hero-copy h1 {
  font-size: clamp(3.4rem, 6vw, 5.5rem);
}

.asn2txt-hero-copy .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.asn2txt-figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--asn2txt-border);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--asn2txt-shadow);
}

.asn2txt-image-stage,
.asn2txt-window-stage {
  display: grid;
  padding: clamp(22px, 4vw, 42px);
  place-items: center;
  background: #f7f8fb;
}

.asn2txt-image-stage img {
  display: block;
  width: min(100%, 495px);
  height: auto;
}

.asn2txt-window-stage img {
  display: block;
  width: min(100%, 571px);
  height: auto;
}

.asn2txt-figure figcaption {
  min-height: 68px;
  padding: 18px 22px;
  border-top: 1px solid var(--asn2txt-border);
  color: var(--asn2txt-caption);
  font-size: .92rem;
  line-height: 1.55;
}

.asn2txt-overview-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, .84fr) minmax(460px, 1.16fr);
  gap: clamp(54px, 8vw, 110px);
}

.asn2txt-overview-copy {
  max-width: 620px;
}

.asn2txt-window-figure {
  max-width: 620px;
}

.asn2txt-step-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  list-style: none;
}

.asn2txt-step-list > li {
  min-width: 0;
}

.asn2txt-step-list > li:last-child {
  grid-column: 1 / -1;
  width: calc(50% - 15px);
  justify-self: center;
}

.asn2txt-step-figure {
  height: 100%;
}

.asn2txt-step-figure .asn2txt-window-stage {
  min-height: 560px;
  align-items: start;
}

.asn2txt-step-figure img {
  max-height: 650px;
  object-fit: contain;
}

.asn2txt-step-figure figcaption {
  display: flex;
  min-height: 104px;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}

.asn2txt-step-figure figcaption strong {
  color: var(--navy-950);
  font-size: 1.08rem;
}

.asn2txt-step-figure figcaption strong span {
  margin-right: 8px;
  color: var(--asn2txt-accent);
  font-size: .78rem;
  letter-spacing: .1em;
}

@media (max-width: 980px) {
  .asn2txt-hero-grid,
  .asn2txt-overview-grid {
    grid-template-columns: 1fr;
  }

  .asn2txt-hero-copy,
  .asn2txt-overview-copy {
    max-width: 720px;
  }

  .asn2txt-figure-hero,
  .asn2txt-window-figure {
    max-width: 700px;
  }
}

@media (max-width: 700px) {
  .asn2txt-step-list {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .asn2txt-step-list > li:last-child {
    grid-column: auto;
    width: auto;
  }

  .asn2txt-step-figure .asn2txt-window-stage {
    min-height: auto;
  }
}

@media (max-width: 430px) {
  .asn2txt-hero-copy h1 {
    font-size: clamp(2.75rem, 15vw, 4rem);
  }

  .asn2txt-hero-copy .hero-actions {
    flex-direction: column;
  }

  .asn2txt-hero-copy .button {
    width: 100%;
  }

  .asn2txt-figure {
    border-radius: 15px;
  }

  .asn2txt-image-stage,
  .asn2txt-window-stage {
    padding: 18px 12px;
  }

  .asn2txt-figure figcaption {
    padding: 15px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .asn2txt-page *,
  .asn2txt-page *::before,
  .asn2txt-page *::after {
    scroll-behavior: auto;
  }
}
