.pricing-page {
  --pricing-section-gap: clamp(28px, 4vw, 56px);
}

.pricing-intro {
  padding-bottom: 0;
}

.pricing-intro h1 {
  margin-block: 13px 0;
}

.pricing-intro .lead {
  margin-block-start: 12px;
}

.pricing-table {
  margin-block-start: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.pricing-table caption {
  background: var(--panel);
}

.pricing-table th[scope="row"] {
  font-weight: 600;
}

.pricing-table td .price-unit {
  font-weight: 600;
}

.pricing-table-note {
  margin-block: 12px 0;
  font-size: var(--size-small);
}

.pricing-choices {
  margin-block: var(--pricing-section-gap) 0;
}

.pricing-choice + .pricing-choice:not([hidden]) {
  margin-block-start: var(--pricing-section-gap);
}

.pricing-measure {
  max-inline-size: 74ch;
}

.pricing-choice .plan-card > div:not(.plan-head) p + p {
  margin-block-start: 10px;
  color: var(--muted);
}

.pricing-choice .btn,
.pricing-page .cta-row .btn {
  flex-shrink: 0;
}

.pricing-choice .btn-primary {
  background-color: var(--accent-dark);
}

.pricing-choice .btn-primary:hover {
  background-color: var(--text);
}

.pricing-page .pricing-section {
  margin-block-start: var(--pricing-section-gap);
  border-block-start: 1px solid var(--border);
  padding-top: var(--pricing-section-gap);
  padding-bottom: 0;
}

.pricing-page .pricing-section:last-child {
  padding-bottom: var(--section-space);
}

.pricing-inclusions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-inclusions p {
  margin: 0;
}

.pricing-inclusions a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: .2em;
}

.pricing-section :is(.prose, .steps) > :last-child {
  margin-block-end: 0;
}

@media (max-width: 768px) {
  .pricing-page .help-section {
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .pricing-table {
    border: 0;
    box-shadow: none;
  }

  .pricing-table caption {
    padding-inline: 0;
    background: var(--clear);
  }

  .pricing-table th[scope="row"] {
    background: var(--panel-2);
  }

  .pricing-table tbody tr:last-child {
    margin-block-end: 0;
  }

  .pricing-inclusions {
    grid-template-columns: minmax(0, 1fr);
  }
}