.plan-guidance {
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 660px;
}

.plan-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.plan-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid #dcd8e6;
  border-radius: 18px;
  background: #fff;
}

.plan-summary.is-featured {
  border: 2px solid var(--violet);
  background: #f8f5ff;
  padding: 27px;
}

.plan-summary h3 {
  font-size: 21px;
  letter-spacing: -.025em;
}

.plan-summary-price {
  margin-top: 18px;
  font-size: 40px;
  letter-spacing: -.04em;
  font-weight: 600;
}

.plan-summary-price small {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0;
  font-weight: 400;
  margin-left: 4px;
}

.plan-summary ul {
  padding-left: 20px;
  margin: 20px 0 26px;
  color: #53505c;
  font-size: 14px;
  line-height: 1.7;
}

.plan-summary li + li {
  margin-top: 7px;
}

.plan-overview-action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: auto;
  width: 100%;
  padding-inline: 26px;
  border: 1px solid var(--violet);
  border-radius: 10px;
  background: var(--violet);
  color: #fff;
  font-size: 14px;
  font-weight: 550;
}

.plan-overview-action:hover {
  box-shadow: 0 0 0 3px #6440eb20;
}

.plan-details {
  border: 1px solid #dcd8e6;
  border-radius: 14px;
  background: #fff;
  padding: 0 20px;
}

.plan-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 550;
  list-style: none;
}

.plan-details > summary::-webkit-details-marker {
  display: none;
}

.plan-details > summary span {
  font-size: 24px;
}

.plan-details[open] > summary span {
  transform: rotate(45deg);
}

.plan-details .price-table-wrap {
  margin-bottom: 20px;
}

.price-table thead a {
  min-height: 44px;
}

.plan-details .price-scroll-hint {
  margin-top: 8px;
}

@media (max-width: 800px) {
  .plan-overview {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .plan-summary {
    padding: 24px;
  }
  .plan-summary.is-featured {
    padding: 23px;
  }
  .plan-details {
    padding-inline: 14px;
  }
  .plan-details .price-table th:first-child {
    position: sticky;
    left: 0;
    background: #fff;
    box-shadow: 1px 0 #ddd;
  }
}

@media (max-width: 520px) {
  .plan-details .price-table {
    min-width: 640px;
    table-layout: fixed;
  }
  .plan-details .price-table th,
  .plan-details .price-table td {
    padding-inline: 12px;
  }
  .plan-details .price-table thead th {
    width: auto;
  }
  .plan-details .price-table thead th:first-child {
    width: 140px;
    vertical-align: top;
  }
  .plan-details .price-table th:first-child {
    position: static;
    box-shadow: none;
  }
  .plan-details .price-table .featured b {
    flex-direction: column;
    align-items: flex-start;
  }
  .plan-details .price-table thead strong {
    font-size: 32px;
  }
}
