.nc-thanks__panel,
.nc-payment__section,
.nc-payment__cta {
  width: min(100%, 900px);
  margin-right: auto;
  margin-left: auto;
  border: 1px solid var(--nc-content-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 9px 22px rgb(65 45 20 / 7%);
}

.nc-thanks__panel {
  padding: clamp(28px, 6vw, 58px);
  text-align: center;
}

.nc-thanks__panel h2 {
  margin-top: 0;
  color: var(--nc-content-ink);
  font-size: clamp(24px, 3vw, 34px);
}

.nc-thanks__panel p {
  line-height: 2;
}

.nc-payment__hero {
  display: block;
  width: min(100%, 980px);
  margin: 0 auto;
}

.nc-payment__hero img,
.nc-payment__steps img {
  display: block;
  width: 100%;
  height: auto;
}

.nc-payment__lead {
  width: min(100%, 860px);
  margin: 30px auto;
  font-size: 17px;
  line-height: 2;
  text-align: center;
}

.nc-payment__nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 900px);
  margin: 0 auto 36px;
}

.nc-payment__nav a,
.nc-payment__external {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--nc-content-orange);
  color: #fff;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.nc-payment__section {
  margin-top: 24px;
  padding: clamp(24px, 5vw, 46px);
  scroll-margin-top: 90px;
}

.nc-payment__section h2,
.nc-payment__cta h2 {
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--nc-content-orange);
  color: var(--nc-content-ink);
}

.nc-payment__section p {
  line-height: 1.9;
}

.nc-payment__row {
  display: grid;
  grid-template-columns: 128px 1fr;
  align-items: center;
  gap: 28px;
}

.nc-payment__row > img {
  width: 128px;
  height: 128px;
  object-fit: contain;
}

.nc-payment__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
}

.nc-payment__logos img {
  width: auto;
  max-width: 140px;
  height: auto;
}

.nc-payment__steps {
  display: block;
  margin: 30px 0;
}

.nc-payment__steps--mobile {
  display: none;
}

.nc-payment__notes,
.nc-payment__section small {
  color: #70645a;
  font-size: 13px;
  line-height: 1.8;
}

.nc-payment__external {
  width: min(100%, 360px);
  margin: 28px auto 0;
}

.nc-payment__cta {
  margin-top: 36px;
  padding: clamp(26px, 5vw, 42px);
  text-align: center;
}

@media (max-width: 599px) {
  .nc-payment__lead {
    font-size: 15px;
    text-align: left;
  }

  .nc-payment__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nc-payment__row {
    grid-template-columns: 1fr;
  }

  .nc-payment__row > img {
    margin: 0 auto;
  }

  .nc-payment__steps--desktop {
    display: none;
  }

  .nc-payment__steps--mobile {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
