.payment-help {
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
}

.payment-help::before {
  content: none;
}

.payment-help__card {
  /* Hand placement controls for the payment-help block */
  --payment-help-media-right: clamp(1rem, 4vw, 4rem);
  --payment-help-media-width: clamp(17.5rem, 30vw, 24rem);
  --payment-help-media-height: clamp(13.5rem, 24vw, 19rem);
  --payment-help-media-shift-y: -40%;
  --payment-help-hand-right: clamp(-1.75rem, -1vw, 0.5rem);
  --payment-help-hand-top: clamp(-3rem, -3.8vw, -1.25rem);
  --payment-help-hand-width: clamp(27rem, 44vw, 34rem);
  --payment-help-hand-rotate: 8deg;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(28rem, 38vw, 33rem);
  padding: clamp(2rem, 4vw, 4rem);
  border-radius: clamp(1.75rem, 3vw, 2.5rem);
  overflow: hidden;
  background: linear-gradient(160deg, rgba(38, 37, 39, 0.92), rgba(21, 20, 23, 0.98) 48%, rgba(15, 15, 18, 1));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28);
}

.payment-help__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 38%);
  pointer-events: none;
}

.payment-help__copy,
.payment-help__media {
  position: relative;
}

.payment-help__copy {
  z-index: 2;
}

.payment-help__media {
  z-index: 1;
}

.payment-help__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 36rem);
  max-width: 36rem;
  text-align: center;
}

.payment-help__label {
  display: inline-flex;
  margin-bottom: 1rem;
}

.payment-help__title {
  margin: 0;
  color: var(--on-surface-bright);
  font-size: clamp(2.5rem, 4vw, 4.6rem);
  line-height: 0.98;
  max-width: none;
  margin-inline: auto;
}

.payment-help__title-line {
  display: block;
}

.payment-help__text {
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 0.4vw + 0.95rem, 1.14rem);
  line-height: 1.55;
  max-width: 27rem;
  margin-inline: auto;
}

.payment-help__cta {
  margin-top: 1.9rem;
  min-width: min(100%, 18rem);
  margin-inline: auto;
}

.payment-help__media {
  position: absolute;
  top: 50%;
  right: var(--payment-help-media-right);
  width: var(--payment-help-media-width);
  height: var(--payment-help-media-height);
  transform: translateY(var(--payment-help-media-shift-y));
  overflow: visible;
  pointer-events: none;
}

.payment-help__hand {
  position: absolute;
  right: var(--payment-help-hand-right);
  top: var(--payment-help-hand-top);
  width: var(--payment-help-hand-width);
  max-width: none;
  height: auto;
  display: block;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%, 0 40%);
  transform: rotate(var(--payment-help-hand-rotate));
  transform-origin: 82% 34%;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.22));
}

@media (max-width: 1023px) {
  .payment-help__card {
    --payment-help-media-right: 0.5rem;
    --payment-help-media-width: clamp(13rem, 24vw, 17rem);
    --payment-help-media-height: clamp(11rem, 20vw, 14rem);
    --payment-help-hand-right: -0.5rem;
    --payment-help-hand-top: -1.4rem;
    --payment-help-hand-width: clamp(19rem, 34vw, 24rem);
    --payment-help-hand-rotate: 7deg;
    min-height: auto;
  }

  .payment-help__copy {
    width: min(100%, 36rem);
  }
}

@media (max-width: 767px) {
  .payment-help {
    padding-top: 2rem;
  }

  .payment-help__card {
    justify-content: center;
    padding: 1.5rem;
    border-radius: 1.5rem;
    min-height: auto;
  }

  .payment-help__title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .payment-help__text {
    margin-top: 1rem;
  }

  .payment-help__cta {
    width: 100%;
  }

  .payment-help__media {
    display: none;
  }

  .payment-help__copy {
    width: 100%;
    max-width: 30rem;
  }
}
