.pricing-hero {
  position: relative;
  overflow-x: clip;
  background: var(--color-canvas);
}

.pricing-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--color-line);
  content: "";
}

.pricing-hero-inner {
  display: grid;
  min-height: 540px;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.7fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.pricing-hero-copy h1 {
  margin-top: 1.2rem;
  color: var(--color-brand);
}

.pricing-hero-copy .lead {
  margin-bottom: 1.75rem;
}

.pricing-hero-actions {
  margin-top: 1.25rem;
}

.pricing-check-card {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  overflow: hidden;
  border-radius: var(--radius-large);
  background: var(--color-panel);
  box-shadow: var(--shadow-float);
}

.pricing-check-card::before {
  position: absolute;
  top: -72px;
  right: -72px;
  width: 176px;
  height: 176px;
  border: 2px solid var(--color-brand-bright);
  border-radius: var(--radius-pill);
  content: "";
  opacity: 0.28;
}

.pricing-check-card::after {
  position: absolute;
  top: -38px;
  right: -38px;
  width: 110px;
  height: 110px;
  border: 1px solid var(--color-brand);
  border-radius: var(--radius-pill);
  content: "";
  opacity: 0.32;
}

.pricing-check-code,
.payment-step-code {
  color: var(--color-brand);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.pricing-check-card h2 {
  position: relative;
  z-index: 1;
  margin-top: 0.7rem;
  font-size: clamp(28px, 4vw, 40px);
}

.pricing-check-list {
  position: relative;
  z-index: 1;
  display: grid;
  margin: 1.5rem 0 0;
  gap: 0;
}

.pricing-check-list div {
  display: grid;
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--color-line);
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 1rem;
}

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

.pricing-check-list dt {
  color: var(--color-muted);
  font-size: 0.86rem;
}

.pricing-check-list dd {
  margin: 0;
  color: var(--color-brand-deep);
  font-weight: 750;
  text-align: right;
}

.pricing-selector,
.pricing-compare,
.pricing-faq {
  background: var(--color-panel);
}

.pricing-section-head {
  display: grid;
  margin-bottom: 2.25rem;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
  align-items: end;
  gap: 2rem;
}

.pricing-section-head > p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.pricing-panel-intro {
  max-width: 52rem;
  margin-bottom: 1.5rem;
}

.pricing-panel-intro h3 {
  margin-bottom: 0.5rem;
}

.pricing-panel-intro p {
  color: var(--color-muted);
}

.plan-summary {
  min-height: 7.2rem;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.pricing-included {
  background: var(--color-canvas);
}

.included-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: stretch;
  gap: 1.25rem;
}

.included-primary {
  display: flex;
  min-height: 100%;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius-large);
  background: var(--color-brand-deep);
  color: var(--color-white);
  flex-direction: column;
  justify-content: flex-end;
}

.included-primary svg {
  width: 72px;
  height: 72px;
  margin-bottom: auto;
  fill: none;
  stroke: var(--color-stage-end);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.included-primary h3 {
  margin-top: 3rem;
  color: var(--color-white);
}

.included-primary p {
  margin-bottom: 0;
  color: var(--color-stage-end);
}

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

.included-list article {
  padding: 1.5rem;
  border-radius: var(--radius-medium);
  background: var(--color-panel);
}

.included-list h3 {
  font-size: 1.15rem;
}

.included-list p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.compare-table-wrap {
  border: 1px solid var(--color-line);
  background: var(--color-canvas);
  box-shadow: var(--shadow-card);
}

.compare-table {
  min-width: 1180px;
}

.compare-table th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
}

.compare-table thead th:first-child {
  z-index: 3;
  background: var(--color-brand-deep);
}

.compare-table tbody th:first-child {
  background: var(--color-canvas);
}

.compare-table tbody tr:nth-child(even) th:first-child {
  background: var(--color-panel);
}

.pricing-payment {
  background: var(--color-canvas);
}

.payment-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.48fr) minmax(0, 1.52fr);
  gap: 2rem;
}

.payment-methods {
  display: flex;
  padding: 1.5rem;
  border-radius: var(--radius-large);
  background: var(--color-brand-deep);
  align-content: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.payment-chip {
  display: inline-flex;
  min-height: 44px;
  padding: 0.55rem 1rem;
  border: 1px solid var(--color-brand);
  border-radius: var(--radius-pill);
  background: var(--color-brand);
  color: var(--color-white);
  align-items: center;
  font-weight: 750;
}

.payment-procedure {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.payment-procedure article {
  padding: 1.5rem;
  border-radius: var(--radius-medium);
  background: var(--color-panel);
}

.payment-procedure h3 {
  margin-top: 0.55rem;
  font-size: 1.2rem;
}

.payment-procedure p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.pricing-refund {
  padding-top: 0;
}

.refund-panel {
  display: grid;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius-large);
  background: var(--color-panel-strong);
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
}

.refund-mark {
  display: grid;
  width: 82px;
  height: 82px;
  border-radius: var(--radius-pill);
  background: var(--color-canvas);
  color: var(--color-success);
  place-items: center;
}

.refund-mark svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.refund-copy h2 {
  margin-bottom: 0.7rem;
}

.refund-copy p:not(.eyebrow) {
  color: var(--color-muted);
}

.refund-copy p:last-child {
  margin-bottom: 0;
}

.pricing-faq-head {
  margin-bottom: 2rem;
}

.pricing-faq-head .lead {
  margin-bottom: 0;
}

.end-promo {
  margin-block: 0;
}

@media (max-width: 900px) {
  .pricing-hero-inner,
  .pricing-section-head,
  .included-layout,
  .payment-layout {
    grid-template-columns: 1fr;
  }

  .pricing-hero-inner {
    min-height: auto;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .pricing-section-head {
    align-items: start;
    gap: 0.75rem;
  }

  .pricing-section-head > p {
    max-width: 48rem;
  }

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

  .refund-panel > .btn {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 700px) {
  .included-list,
  .payment-procedure {
    grid-template-columns: 1fr;
  }

  .plan-summary {
    min-height: 0;
  }

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

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

  .refund-mark {
    width: 68px;
    height: 68px;
  }
}

@media (max-width: 480px) {
  .pricing-check-list div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .pricing-check-list dd {
    text-align: left;
  }

  .payment-methods {
    align-items: stretch;
    flex-direction: column;
  }

  .payment-chip {
    width: 100%;
    justify-content: center;
  }
}