.plans-content {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.plans-intro {
  color: var(--muted);
}

#plans {
  scroll-margin-top: 80px;
}

.plan-table-wrap {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--panel-border);
  border-radius: 22px;
  overflow: hidden;
}

.plan-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  text-align: center;
  font-size: 16px;
  line-height: 1.55;
}

.plan-caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.plan-feature-column {
  width: 44%;
}

.plan-table th,
.plan-table td {
  padding: 16px 20px;
  overflow-wrap: anywhere;
  vertical-align: middle;
}

.plan-table thead th {
  padding-block: 24px;
  font-size: 21px;
  font-weight: 760;
  background: rgb(255 248 238 / 0.04);
}

.plan-table thead th:first-child {
  color: var(--muted);
  font-size: 15px;
  text-align: left;
}

.plan-table tbody th {
  text-align: left;
  font-weight: 580;
}

.plan-table td {
  font-weight: 450;
}

.plan-table tbody tr {
  border-top: 1px solid rgb(255 248 238 / 0.14);
}

.plan-table tr > :last-child {
  background: rgb(255 248 238 / 0.08);
}

.plan-status {
  font-size: 24px;
  font-weight: 650;
  line-height: 1;
}

.plan-status.is-unavailable {
  color: var(--muted);
  font-size: 20px;
  font-weight: 400;
}

.plan-notes {
  width: 100%;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  text-align: left;
}

.plan-notes p {
  font-size: inherit;
  line-height: inherit;
}

.plan-notes p + p {
  margin-top: 4px;
}

@media (max-width: 640px) {
  .panel.plans {
    padding-inline: 12px;
  }

  .plans-content > h2,
  .plans-intro,
  .plan-notes {
    padding-inline: 8px;
  }

  .plan-table {
    font-size: 14px;
  }

  .plan-feature-column {
    width: 40%;
  }

  .plan-table th,
  .plan-table td {
    padding: 14px 8px;
  }

  .plan-table thead th {
    padding-block: 18px;
    font-size: 16px;
  }
}

.plan-group {
  display: grid;
  gap: 24px;
  min-width: 0;
  scroll-margin-top: 80px;
}

.plan-group + .plan-group {
  margin-top: 28px;
}

.plan-group h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.4;
}


@media (max-width: 640px) {
  .plan-group h3 {
    padding-inline: 8px;
    font-size: 21px;
  }
}

/* Opaque cell borders keep each separator continuous over both column fills. */
.plan-group .plan-table {
  border-collapse: separate;
  border-spacing: 0;
}

.plan-group .plan-table tbody tr {
  border: 0;
}

.plan-group .plan-table tbody tr > * {
  border-top: 1px solid #6f778a;
}
