.ledger-cross-sell {
  background:
    radial-gradient(circle at 82% 30%, rgba(233, 30, 140, .09), transparent 30%),
    radial-gradient(circle at 18% 76%, rgba(0, 200, 255, .07), transparent 28%),
    #090911;
}

.cross-sell-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .42fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
}

.cross-sell-copy h2,
.offer-heading h2 {
  margin: 0;
  font-size: clamp(2.6rem, 5.5vw, 5.25rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.cross-sell-copy > p:last-of-type,
.offer-heading > p:last-child {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.78;
}

.cross-sell-copy .hero-actions {
  justify-content: flex-start;
}

.cross-sell-mark {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 200, 255, .2);
  border-radius: 24px;
  background: #030307;
  box-shadow: 0 38px 100px rgba(0, 0, 0, .52), 0 0 55px rgba(0, 200, 255, .045);
}

.cross-sell-mark img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.offer-heading {
  max-width: 880px;
  margin-bottom: 52px;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.offer-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .026), rgba(255, 255, 255, .009));
}

.offer-card-featured {
  border-color: rgba(0, 200, 255, .36);
  background: linear-gradient(145deg, rgba(0, 200, 255, .055), rgba(139, 53, 255, .045), rgba(233, 30, 140, .035));
  box-shadow: 0 30px 90px rgba(0, 0, 0, .32);
}

.offer-badge {
  align-self: flex-start;
  margin: -44px 0 22px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--cyan);
  color: #05050a;
  font: 900 .63rem var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.offer-eyebrow {
  color: var(--cyan);
  font: 800 .68rem var(--font-mono);
  letter-spacing: .11em;
  text-transform: uppercase;
}

.offer-card h3 {
  margin: 13px 0 0;
  font-size: clamp(1.4rem, 2.3vw, 2rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.offer-card > p:not(.offer-eyebrow):not(.offer-price):not(.offer-note) {
  margin: 15px 0 0;
  color: var(--text-secondary);
  line-height: 1.68;
}

.offer-price {
  margin: 25px 0 0;
  color: var(--text-primary);
  font-size: 1.55rem;
  font-weight: 850;
  letter-spacing: -.03em;
}

.offer-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 28px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.offer-card li {
  color: var(--text-secondary);
  font-size: .88rem;
  line-height: 1.55;
}

.offer-card li::before {
  content: "✓";
  margin-right: 9px;
  color: var(--cyan);
}

.offer-card .button {
  width: 100%;
  margin-top: auto;
}

.offer-note {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: .7rem;
  line-height: 1.5;
  text-align: center;
}

.purchase-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 72px 24px;
  background:
    radial-gradient(circle at 20% 15%, rgba(0, 200, 255, .08), transparent 34%),
    radial-gradient(circle at 85% 80%, rgba(233, 30, 140, .07), transparent 30%),
    #07070d;
}

.purchase-card {
  width: min(760px, 100%);
  padding: clamp(30px, 6vw, 62px);
  border: 1px solid rgba(0, 200, 255, .22);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(0, 200, 255, .035), rgba(139, 53, 255, .025), rgba(255, 255, 255, .012));
  box-shadow: 0 38px 110px rgba(0, 0, 0, .5);
}

.purchase-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 850;
  letter-spacing: .1em;
}

.purchase-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.purchase-card h1 {
  margin: 42px 0 0;
  font-size: clamp(2.35rem, 6vw, 4.8rem);
  line-height: .98;
  letter-spacing: -.052em;
}

.purchase-lede {
  margin: 24px 0 0;
  color: var(--text-secondary);
  font-size: 1.04rem;
  line-height: 1.76;
}

.purchase-steps {
  display: grid;
  gap: 17px;
  margin: 30px 0 0;
  padding: 26px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  counter-reset: purchase-step;
}

.purchase-steps li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  color: var(--text-secondary);
  line-height: 1.65;
  counter-increment: purchase-step;
}

.purchase-steps li::before {
  content: counter(purchase-step, decimal-leading-zero);
  color: var(--cyan);
  font: 800 .68rem/1.8 var(--font-mono);
}

.purchase-caveat {
  margin: 24px 0 0;
  color: var(--text-muted);
  font-size: .82rem;
  line-height: 1.65;
}

.purchase-caveat strong {
  color: var(--text-secondary);
}

.purchase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.purchase-support {
  margin: 28px 0 0;
  color: var(--text-muted);
  font-size: .76rem;
  line-height: 1.65;
}

.purchase-support a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .cross-sell-intro {
    grid-template-columns: 1fr;
  }

  .cross-sell-mark {
    width: min(520px, 82%);
    justify-self: center;
  }

  .offer-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .offer-card {
    min-height: 0;
  }

  .offer-badge {
    margin: 0 0 22px;
  }
}

@media (max-width: 720px) {
  .cross-sell-copy {
    text-align: center;
  }

  .cross-sell-copy .hero-actions {
    justify-content: center;
  }

  .cross-sell-mark {
    width: 100%;
  }

  .offer-card {
    padding: 24px;
  }

  .purchase-shell {
    padding: 28px 16px;
  }

  .purchase-card {
    padding: 27px;
    border-radius: 18px;
  }

  .purchase-actions {
    display: grid;
  }
}

/* Native disabled controls keep maintenance purchases unavailable without JavaScript. */
.checkout-maintenance .button:disabled {
  width: 100%;
  min-height: 48px;
  padding: 14px 18px;
  white-space: normal;
  color: var(--text-secondary);
  background: #1a1a2e;
  border: 1px solid var(--border-light);
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}
.checkout-maintenance > p {
  margin: 10px 0 0;
  color: var(--text-secondary);
  font-size: .78rem;
  line-height: 1.6;
  text-align: center;
}
