.plans {
  max-width: 990px;
  margin-inline: auto;
}

.plans .pricing-heading h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1.13;
  margin-bottom: 0.4em;
}

.plans .pricing-heading p {
  margin-inline: auto;
  max-width: 62ch;
}

.plans .price-card {
  min-width: 0;
}

.plans .price-card h2 {
  margin: 0 0 0.65rem;
}

.plans .price-card ul {
  margin: 1.25rem 0 1.5rem;
}

.plans .price-card li {
  margin: 0.7rem 0;
  font-size: 1rem;
  line-height: 1.45;
}

.plans .plan-status {
  background-color: var(--raised);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  margin: 1rem 0;
  padding: 0.75rem 1rem;
}

.plans .plan-offers {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.plans .plan-offer {
  border-block-start: 1px solid var(--line);
  padding-top: 0.75rem;
}

.plans .plan-offer-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.65rem;
  margin: 0 0 0.65rem;
}

.plans .plan-offer-price strong {
  color: var(--text);
  font-size: 1.75rem;
}

.plans .button.full,
.plans button.full {
  width: 100%;
  min-height: 44px;
  white-space: normal;
  text-align: center;
}

.plans .plan-table {
  width: 100%;
  table-layout: fixed;
  white-space: normal;
  border: 1px solid var(--line);
  background-color: var(--surface);
  color: var(--text);
}

.plans .plan-table caption {
  margin-bottom: 0.75rem;
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 700;
  text-align: left;
}

.plans .plan-feature-column {
  width: 42%;
}

.plans .plan-table th,
.plans .plan-table td {
  padding: 0.75rem;
  text-align: start;
  vertical-align: top;
  font-size: 0.95rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.plans .plan-table th {
  color: var(--text);
  letter-spacing: normal;
  text-transform: none;
}

.plans .plan-table thead th,
.plans .plan-group {
  background-color: var(--raised);
}

.plans .plan-detail {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.88em;
  font-weight: normal;
}

@media (max-width: 520px) {
  .plans .pricing-heading p {
    margin-inline: 0;
  }

  .plans .price-card {
    padding: 1.15rem;
  }

  .plans .plan-table th,
  .plans .plan-table td {
    padding: 0.5rem;
    font-size: 0.9rem;
  }
}
