#plans {
  padding-top: clamp(34px, 5vw, 65px);
}

#plans .section-heading {
  margin-bottom: 24px;
}

.billing-switch {
  position: relative;
  display: flex;
  width: fit-content;
  gap: 4px;
  margin: 0 auto;
  padding: 4px;
  border: 1px solid #a87add44;
  border-radius: 12px;
  background: #17111e;
}

.billing-switch :is(legend, input) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.billing-switch label {
  padding: 9px 18px;
  border-radius: 8px;
  color: #c9bfd6;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.billing-switch input:checked + label {
  background: #c49af764;
  color: #fff7fe;
}

.billing-switch input:focus-visible + label {
  outline: 2px solid #d6b5ff;
  outline-offset: 2px;
}

.hosting-plan-note {
  margin: 9px 0 32px;
  color: #c0b4cf;
  font-size: 12px;
  text-align: center;
}

.hosting-plan-group {
  max-width: 950px;
  margin-inline: auto;
  scroll-margin-top: 90px;
}

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

.hosting-plan-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px 20px;
  margin-bottom: 13px;
}

.hosting-plan-heading h3,
.lifetime-plan h3 {
  margin: 0;
  font-size: clamp(19px, 2.4vw, 25px);
  letter-spacing: -.025em;
}

.hosting-plan-heading .plain-action {
  margin: 0;
  font-size: 13px;
}

.hosting-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.hosting-plan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(17px, 2.6vw, 27px);
  border: 1px solid #36293f;
  border-radius: 17px;
  background: radial-gradient(ellipse at top right, #5932782e, transparent 62%), #16111c;
}

.hosting-plan h4 {
  margin: 0 0 5px;
  color: #fff5ff;
  font-size: 18px;
  letter-spacing: -.015em;
}

.hosting-plan-description {
  margin: 0 0 13px;
  color: #c6b8d1;
  font-size: 13px;
  line-height: 1.5;
}

.hosting-plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
  color: #cabbd6;
  font-size: 13px;
}

.hosting-plan-price strong {
  color: #f8edff;
  font-size: clamp(28px, 4vw, 41px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}

.hosting-plan-term {
  margin: 5px 0 12px;
  color: #c9b7d8;
  font-size: 12px;
}

.hosting-plan-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 7px;
  margin: 0 0 13px;
  padding: 0;
  list-style: none;
}

.hosting-plan-specs li {
  padding: 4px 7px;
  border: 1px solid #e3c4ff25;
  border-radius: 6px;
  background: #ceabf90a;
  color: #e4d7ed;
  font-size: 12px;
}

.hosting-plan-range {
  margin: 0 0 14px;
  color: #c9b9d5;
  font-size: 12px;
}

.hosting-plan-range strong {
  margin-left: 4px;
  color: #e8d6fb;
}

.hosting-plan .plan-action {
  width: 100%;
  margin-top: auto;
}

.lifetime-plan,
.hosting-benchmark {
  max-width: 950px;
  margin: 19px auto 0;
}

.lifetime-plan {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 17px 20px;
  border: 1px solid #a972d748;
  border-radius: 14px;
  background: #1a1324;
}

.lifetime-plan h3 {
  font-size: 17px;
}

.lifetime-plan p,
.hosting-benchmark p {
  margin: 4px 0 0;
  color: #c4b8d0;
  font-size: 13px;
  line-height: 1.55;
}

.lifetime-plan .plan-action {
  min-width: 140px;
}

.hosting-benchmark {
  color: #ddcaed;
}

.hosting-benchmark summary {
  width: fit-content;
  padding-block: 5px;
  cursor: pointer;
  font-size: 13px;
}

.hosting-benchmark p {
  margin-top: 7px;
}

.hosting-benchmark a,
#lifetime-support a {
  color: #dfbaff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 510px) {
  .hosting-plan-grid { grid-template-columns: 1fr; gap: 10px; }
  .hosting-plan-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .hosting-plan-group + .hosting-plan-group { margin-top: 25px; }
  .lifetime-plan { align-items: flex-start; flex-direction: column; }
}
