.product-next {
  padding: clamp(48px, 6vw, 80px) 0 clamp(32px, 5vw, 56px);
  scroll-margin-top: 86px;
  background: var(--paper);
}

.product-next + .section.close,
.product-next + .section-block.closing {
  padding-top: 0;
}

.connected:has(+ .product-next) {
  padding-bottom: 0;
}

.product-next h2 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 4.2vw, 3.3rem);
}

.product-next-intro {
  max-width: 66ch;
  margin: 0 0 24px;
}

.product-next-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.product-next-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 3.4vw, 44px);
  border-radius: 28px;
}

.product-next-grow { background: #eedcc4; }
.product-next-build { background: #d9e1ea; }
.product-next-flow { background: #dce8df; }

.product-next-card h3 {
  margin: 0 0 10px;
  font-size: 1.4rem;
}

.product-next-card p {
  max-width: 48ch;
  margin: 0 0 20px;
  color: #43546b;
}

.product-next-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: auto;
  padding: 0 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--navy);
  font-size: .85rem;
  font-weight: 800;
  text-decoration: none;
}

.product-next-link:hover {
  background: var(--navy);
  color: #fff;
}

.product-next-link:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

@media (max-width: 680px) {
  .product-next {
    scroll-margin-top: 76px;
  }

  .product-next-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.product-stages {
  display: grid;
  grid-template-columns: auto minmax(8px, 1fr) auto minmax(8px, 1fr) auto;
  align-items: center;
  gap: clamp(4px, 2vw, 24px);
  margin-top: clamp(24px, 4vw, 42px);
  padding: 14px clamp(8px, 3vw, 28px);
  border-radius: 20px;
  background: #121f35;
  color: #fff;
}

.product-stages a,
.product-stages [aria-current] {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 clamp(6px, 1.4vw, 18px);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 850;
  letter-spacing: .06em;
  white-space: nowrap;
}

.product-stages a {
  color: inherit;
  text-underline-offset: .25em;
}

.product-stages a:hover {
  color: #f1b27e;
}

.product-stages a:focus-visible {
  outline: 2px solid #f1b27e;
  outline-offset: 2px;
}

.product-stages [aria-current] {
  background: #f1b27e;
  color: #121f35;
}

.product-stages-line {
  border-top: 1px solid #7a8da5;
}
