.pricing-hero {
  overflow-x: clip;
  background:
    linear-gradient(180deg, var(--color-accent-05), var(--color-accent-10)),
    var(--color-paper);
}

.pricing-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .72fr);
  align-items: center;
  gap: 64px;
}

.pricing-hero__copy {
  min-width: 0;
}

.pricing-hero h1 {
  max-width: 760px;
  margin-top: 18px;
}

.pricing-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.pricing-hero .trust-row {
  justify-content: flex-start;
  margin-top: 20px;
}

.pricing-ledger {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-window);
  background: var(--color-surface);
  box-shadow: var(--shadow-window), inset 0 1px 0 var(--color-highlight);
}

.pricing-ledger::before {
  position: absolute;
  top: -34px;
  right: -20px;
  width: 132px;
  height: 76px;
  transform: rotate(-8deg);
  border: 3px solid var(--color-sand);
  border-radius: 50%;
  content: "";
  opacity: .65;
  pointer-events: none;
}

.pricing-ledger__head {
  position: relative;
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--color-line);
  background: var(--color-surface-warm);
  padding: 14px 18px;
  font-weight: 750;
}

.pricing-ledger__list {
  display: grid;
  padding: 8px 18px;
}

.pricing-ledger__list div {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 16px;
  border-bottom: 1px solid var(--color-line);
  padding: 13px 0;
}

.pricing-ledger__list div:last-child {
  border-bottom: 0;
}

.pricing-ledger__list dt {
  color: var(--color-muted);
}

.pricing-ledger__list dd {
  overflow-wrap: anywhere;
  font-weight: 700;
  text-align: right;
}

.pricing-ledger__note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 18px 18px;
  border-radius: var(--radius-medium);
  background: var(--color-success-12);
  padding: 12px;
  color: var(--color-success);
  font-size: 13px;
  font-weight: 650;
}

.pricing-ledger__mark {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  flex: 0 0 24px;
  border-radius: 50%;
  background: var(--color-success);
  color: var(--color-white);
}

.pricing-jump {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 820px;
}

.pricing-jump__item {
  display: flex;
  min-width: 0;
  min-height: 76px;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: inset 0 1px 0 var(--color-highlight);
  padding: 14px 20px;
  transition: transform var(--motion-fast) ease, border-color var(--motion-fast) ease, background-color var(--motion-fast) ease;
}

.pricing-jump__item:hover,
.pricing-jump__item.is-current {
  transform: translateY(-2px);
  border-color: var(--color-accent);
  background: var(--color-accent-05);
}

.pricing-jump__item strong {
  font-family: var(--font-display);
  font-size: 18px;
}

.pricing-jump__item span {
  color: var(--color-muted);
  font-size: 13px;
}

.pricing-section {
  background: var(--color-surface-warm);
}

.plan-card__description {
  margin-top: 18px;
  color: var(--color-muted);
}

.monthly-rule,
.compare-note {
  margin-top: 28px;
}

.traffic-section {
  background: var(--color-paper);
}

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

.traffic-pack-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-large);
  background: var(--color-surface);
  box-shadow: inset 0 1px 0 var(--color-highlight), var(--shadow-card);
  padding: 28px;
}

.traffic-pack-card--accent {
  border-color: var(--color-indigo);
  background: linear-gradient(180deg, var(--color-surface), var(--color-indigo-12));
}

.traffic-pack-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.traffic-pack-card__amount {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 750;
}

.traffic-pack-card__price {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
}

.traffic-pack-card__rule {
  margin-top: 8px;
  color: var(--color-indigo);
  font-size: 13px;
  font-weight: 700;
}

.traffic-pack-card > p:last-of-type {
  margin-top: 18px;
  color: var(--color-muted);
}

.traffic-pack-card .btn {
  width: 100%;
  margin-top: 26px;
}

.traffic-explainer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 28px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  background: var(--color-line);
}

.traffic-explainer > div {
  min-width: 0;
  background: var(--color-surface-warm);
  padding: 26px;
}

.traffic-explainer h3 {
  font-size: 20px;
}

.traffic-explainer p {
  margin-top: 10px;
  color: var(--color-muted);
}

.included-section {
  background: var(--color-surface);
}

.included-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 18px;
}

.included-card {
  min-width: 0;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-large);
  background: var(--color-surface-warm);
  padding: 26px;
}

.included-card:nth-child(n + 4) {
  background: var(--color-paper);
}

.included-card h3 {
  margin-top: 18px;
  font-size: 22px;
}

.included-card p {
  margin-top: 12px;
  color: var(--color-muted);
}

.compare-section {
  background: linear-gradient(180deg, var(--color-paper), var(--color-accent-05));
}

.payment-section {
  background: var(--color-surface-warm);
}

.payment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, .72fr);
  align-items: start;
  gap: 48px;
}

.payment-copy {
  min-width: 0;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.payment-methods span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  padding-inline: 18px;
  font-weight: 700;
}

.payment-steps {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.payment-steps article {
  display: flex;
  min-width: 0;
  gap: 16px;
  border-top: 1px solid var(--color-line);
  padding-top: 18px;
}

.payment-steps__marker {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  flex: 0 0 36px;
  border-radius: 50%;
  background: var(--color-ink);
  color: var(--color-white);
  font-family: var(--font-mono);
  font-weight: 750;
}

.payment-steps h3 {
  font-size: 19px;
}

.payment-steps p {
  margin-top: 6px;
  color: var(--color-muted);
}

.payment-receipt {
  min-width: 0;
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-window);
  background: var(--color-surface);
  box-shadow: var(--shadow-float);
  padding: 24px;
}

.payment-receipt__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 16px;
}

.payment-receipt ul {
  display: grid;
  margin-top: 8px;
  list-style: none;
}

.payment-receipt li {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--color-line);
  padding: 13px 0;
}

.payment-receipt li span {
  flex: 0 0 auto;
  color: var(--color-muted);
}

.payment-receipt li strong {
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: right;
}

.payment-receipt > p {
  margin-top: 18px;
  color: var(--color-muted);
}

.payment-receipt .btn {
  width: 100%;
  margin-top: 20px;
}

.refund-section {
  background: var(--color-paper);
}

.refund-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-large);
  background: var(--color-success-12);
  box-shadow: inset 0 1px 0 var(--color-highlight);
  padding: 34px;
}

.refund-panel__seal {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  flex: 0 0 64px;
  border-radius: 50%;
  background: var(--color-success);
  color: var(--color-white);
}

.refund-panel__seal svg {
  width: 32px;
  height: 32px;
}

.refund-panel__copy {
  min-width: 0;
}

.refund-panel__copy h2 {
  font-size: clamp(30px, 4vw, 44px);
}

.refund-panel__copy p {
  margin-top: 12px;
  color: var(--color-muted);
}

.faq-section {
  background: var(--color-surface);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, .66fr) minmax(0, 1.34fr);
  align-items: start;
  gap: 54px;
}

.faq-layout .section-heading {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  margin-bottom: 0;
}

@media (max-width: 960px) {
  .pricing-hero__layout,
  .payment-layout {
    grid-template-columns: 1fr;
  }

  .pricing-hero__layout {
    gap: 38px;
  }

  .pricing-ledger {
    max-width: 680px;
  }

  .traffic-pack-grid {
    grid-template-columns: 1fr;
  }

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

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .faq-layout .section-heading {
    position: static;
  }
}

@media (max-width: 768px) {
  .pricing-jump,
  .traffic-explainer,
  .included-grid {
    grid-template-columns: 1fr;
  }

  .refund-panel {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .refund-panel .btn {
    grid-column: 1 / -1;
    width: max-content;
  }
}

@media (max-width: 640px) {
  .pricing-hero__actions {
    width: 100%;
    flex-direction: column;
  }

  .pricing-hero__actions .btn {
    width: 100%;
  }

  .pricing-hero .trust-row {
    justify-content: flex-start;
  }

  .pricing-ledger__head,
  .traffic-pack-card__top,
  .payment-receipt__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .pricing-ledger__list div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .pricing-ledger__list dd {
    text-align: left;
  }

  .traffic-pack-card,
  .included-card {
    padding: 22px;
  }

  .payment-receipt {
    padding: 20px;
  }

  .payment-receipt li {
    flex-direction: column;
    gap: 3px;
  }

  .payment-receipt li strong {
    text-align: left;
  }

  .refund-panel {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .refund-panel__seal {
    width: 52px;
    height: 52px;
  }

  .refund-panel .btn {
    grid-column: auto;
    width: 100%;
  }
}