/* Pricing page — V4 editorial cards. */
.pricing-main {
  background: var(--surface);
}

.pricing-head {
  background:
    radial-gradient(ellipse 780px 350px at 84% 0%, #eaf8f4 0, transparent 78%),
    #fff;
  padding: 89px 0 45px;
}

.pricing-head .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pricing-head .eyebrow {
  justify-content: center;
}

.pricing-head h1 {
  font-size: clamp(44px, 5vw, 66px);
  max-width: 910px;
  margin: 20px 0 15px;
  letter-spacing: -.055em;
}

.pricing-head h1 em {
  font-style: normal;
  color: var(--teal);
}

.pricing-head p {
  font-size: 18px;
  color: #64798a;
  max-width: 690px;
  margin: 0 auto;
  line-height: 1.68;
}

.price-intro-meta {
  margin-top: 24px;
  color: #3f6259;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
}

.price-intro-meta .cs-icon {
  color: var(--teal);
  width: 16px;
  height: 16px;
}

.price-intro-meta span {
  display: block;
  width: 1px;
  height: 13px;
  background: #c4dcd7;
  margin: 0 13px;
}

.pricing-plans {
  padding: 25px 0 81px;
}

.pricing-plans > .container {
  text-align: center;
}

/* Monthly / annual switch — only the Pro card changes; the two free tiers read
   the same either way, so the control sits above the whole grid. */
.billing-switch {
  display: inline-flex;
  gap: 3px;
  padding: 4px;
  margin: 0 auto 27px;
  background: #eef3f4;
  border: 1px solid #e0e8ea;
  border-radius: 999px;
}

.billing-switch button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: none;
  padding: 9px 18px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #5f7686;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
}

.billing-switch button:hover {
  color: var(--ink);
}

.billing-switch button.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 7px rgba(16, 43, 61, .10);
}

.billing-save {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .01em;
  color: #0b6f5f;
  background: #d9f2ea;
  border-radius: 20px;
  padding: 3px 8px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  text-align: left;
}

.price-card {
  background: var(--surface);
  border: 1px solid #e1e9e9;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(18, 49, 59, .045);
  padding: 31px 29px 27px;
  min-height: 530px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card.featured {
  border: 1.5px solid #128a7c;
  box-shadow: 0 18px 55px rgba(9, 118, 105, .14);
  background: linear-gradient(177deg, #f7fdfb 0%, #fff 48%);
}

.price-popular {
  position: absolute;
  right: 25px;
  top: -14px;
  border-radius: 20px;
  background: var(--teal);
  color: white;
  font-size: 11px;
  letter-spacing: .02em;
  padding: 6px 13px;
  font-weight: 800;
}

.price-icon {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: #e9f7f3;
  color: var(--teal);
  display: grid;
  place-items: center;
  margin-bottom: 21px;
}

.price-icon .cs-icon {
  width: 23px;
  height: 23px;
}

.price-title {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.04em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-desc {
  color: #667b8b;
  font-size: 13px;
  min-height: 45px;
  margin: 10px 0 18px;
}

.price-amount {
  font-size: 48px;
  letter-spacing: -.055em;
  line-height: 1;
  font-weight: 800;
  color: var(--ink);
}

.price-amount span {
  font-size: 13px;
  font-weight: 600;
  color: #5f7381;
  letter-spacing: 0;
}

.price-undisclosed {
  font-size: 27px;
  letter-spacing: -.035em;
  padding: 10px 0 11px;
}

.price-soon {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  color: #526a78;
  background: #edf2f3;
  padding: 5px 9px;
  border-radius: 20px;
  white-space: nowrap;
}

.price-allowance {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: #f5f9fa;
  border-radius: 10px;
  padding: 15px 17px;
  margin-top: 23px;
}

.featured .price-allowance {
  background: #e7f7f2;
}

.price-allowance strong {
  font-size: 18px;
  color: #143747;
}

.price-allowance span {
  font-size: 12px;
  color: #5f7381;
}

.price-features {
  padding: 21px 0 16px;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #3d5868;
}

.price-features .cs-icon {
  width: 16px;
  height: 16px;
  color: #0e8a75;
  margin-top: 2px;
}

.price-cta {
  width: 100%;
  margin-top: auto;
  min-height: 45px;
  gap: 8px;
}

.price-unavailable {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e0e7ea;
  background: #f4f7f8;
  color: #64767f;
  font-size: 13px;
  font-weight: 800;
  border-radius: 9px;
  cursor: default;
}

.pricing-disclaimer {
  text-align: center;
  max-width: 800px;
  margin: 23px auto 0;
  font-size: 12px;
  color: #5f7180;
}

.pricing-lower {
  background: #f3f7f8;
  padding: 86px 0 100px;
}

.pricing-lower-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 100px;
}

.pricing-lower h2 {
  font-size: 39px;
  max-width: 390px;
  margin: 15px 0;
}

.pricing-lower-grid>div:first-child>p {
  color: #5f7686;
  font-size: 15px;
  line-height: 1.75;
  max-width: 380px;
}

.price-faq h3 {
  font-size: 17px;
  letter-spacing: -.025em;
  margin: 0 0 5px;
}

.price-faq p {
  font-size: 13px;
  color: #5f7686;
  line-height: 1.7;
  border-bottom: 1px solid #dce5e9;
  padding-bottom: 19px;
  margin: 0 0 24px;
}

.price-faq p:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.pricing-end h2 {
  font-size: 39px;
}

@media (max-width: 1040px) {
  .pricing-cards {
    gap: 12px;
  }
  .price-card {
    padding: 27px 20px;
    min-height: 555px;
  }
  .price-title {
    font-size: 21px;
  }
  .pricing-lower-grid {
    gap: 45px;
  }
}

@media (max-width: 780px) {
  .pricing-head {
    padding: 64px 0 30px;
  }
  .pricing-head h1 {
    font-size: 42px;
  }
  .pricing-head p {
    font-size: 15px;
  }
  .price-intro-meta {
    font-size: 11px;
    gap: 7px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .price-intro-meta span {
    margin: 0 3px;
  }
  .pricing-plans {
    padding-bottom: 57px;
  }
  .pricing-cards {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .price-card {
    min-height: 0;
    padding: 28px;
  }
  .price-cta {
    margin-top: 17px;
  }
  .price-features {
    padding-bottom: 12px;
  }
  .pricing-lower {
    padding: 61px 0;
  }
  .pricing-lower-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .pricing-lower h2 {
    font-size: 32px;
  }
}

/* Pro is a real, priced tier; only its checkout is still being wired. */
.price-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .01em;
  color: #0b6f5f;
  background: #d9f2ea;
  padding: 5px 9px;
  border-radius: 20px;
  white-space: nowrap;
}

/* Sits under the amount so the three cards keep the same vertical rhythm. */
.price-note {
  margin: 9px 0 0;
  font-size: 12px;
  color: #60778a;
  min-height: 16px;
}

/* The Pro card carries one extra line above its button. It takes over the
   auto margin so all three CTAs still sit on the same baseline. */
.price-fineprint {
  margin: auto 0 0;
  padding-top: 14px;
  font-size: 11px;
  line-height: 1.5;
  color: #6c8090;
  text-align: center;
}

.price-card.paid .price-cta {
  margin-top: 10px;
}

/* Interval swap: the template ships both Pro price lines; the switch decides
   which one is on screen, so nothing reflows on toggle. */
[data-billing-interval="monthly"] [data-price="annual"],
[data-billing-interval="monthly"] [data-price-note="annual"],
[data-billing-interval="annual"] [data-price="monthly"],
[data-billing-interval="annual"] [data-price-note="monthly"] {
  display: none;
}

@media (max-width: 780px) {
  .billing-switch {
    margin-bottom: 22px;
  }
  .billing-switch button {
    padding: 8px 14px;
    font-size: 12px;
  }
}
