.pricing-section {
  overflow: hidden;
  padding: 64px 0 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.pricing-heading {
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.55fr);
  align-items: end;
  margin: 0;
  padding: 0 42px 38px;
}

.pricing-heading h2 {
  max-width: 820px;
  font-size: clamp(2.8rem, 5.3vw, 5.8rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.pricing-heading > p {
  max-width: 430px;
  margin: 0 0 8px;
  color: #6f716e;
}

.pricing-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 42px 38px;
}

.pricing-products,
.billing-switch {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border: 1px solid #dedfdb;
  border-radius: 999px;
  background: #fafaf8;
}

.pricing-products span,
.billing-switch button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #8a8b87;
  font: inherit;
  font-size: 0.9rem;
  white-space: nowrap;
}

.pricing-products .is-active,
.billing-switch button.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 3px 14px rgba(17, 18, 17, 0.09);
}

.pricing-products i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: linear-gradient(135deg, #73d6cb, #087e79);
}

.pricing-products span:last-child i {
  background: linear-gradient(135deg, #f3c36c, #ee6e52);
}

.billing-switch button {
  cursor: pointer;
}

.billing-switch strong {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(8, 126, 121, 0.1);
  color: var(--green);
  font-size: 0.72rem;
}

.founding-offer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 42px 20px;
  padding: 12px 16px;
  border: 1px solid rgba(8, 126, 121, 0.2);
  border-radius: 12px;
  background: rgba(8, 126, 121, 0.06);
  color: #545956;
  font-size: 0.84rem;
}

.founding-offer strong {
  color: var(--green);
  white-space: nowrap;
}

.pricing-section .pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #dedfdb;
  border-bottom: 1px solid #dedfdb;
}

.pricing-section .pricing-card {
  display: flex;
  min-width: 0;
  min-height: 740px;
  padding: 20px 24px 26px;
  border: 0;
  border-right: 1px solid #dedfdb;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.pricing-section .pricing-card:first-child {
  border-left: 1px solid #dedfdb;
}

.price-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 292px;
  padding: 25px 24px 22px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 80% 4%, rgba(215, 217, 212, 0.32), transparent 32%),
    #f1f1ee;
  transition: color 240ms ease, transform 240ms ease, box-shadow 240ms ease;
}

.price-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  background:
    radial-gradient(circle at 18% 10%, rgba(74, 157, 208, 0.94), transparent 35%),
    radial-gradient(circle at 82% 84%, rgba(240, 98, 70, 0.96), transparent 39%),
    linear-gradient(140deg, #3976a8, #dd785b 72%);
  background-size: 160% 160%;
  transition: opacity 260ms ease;
}

.price-panel > * {
  position: relative;
  z-index: 1;
}

.pricing-card.is-highlighted .price-panel {
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(40, 61, 72, 0.2);
}

.pricing-card.is-highlighted .price-panel::before {
  opacity: 1;
  animation: pricing-panel-glow 5s ease-in-out infinite alternate;
}

.price-panel h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.plan-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-title-row span {
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  font-size: 0.72rem;
}

.price-offer {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 24px;
  margin-top: auto;
  color: #777873;
  font-size: 0.82rem;
}

.price-offer s {
  text-decoration-thickness: 1px;
}

.price-offer span {
  color: var(--green);
  font-weight: 600;
}

.pricing-card.is-highlighted .price-offer,
.pricing-card.is-highlighted .price-offer span {
  color: rgba(255, 255, 255, 0.82);
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 8px 0 4px;
}

.price-line strong {
  font-size: clamp(2.5rem, 3.6vw, 4.25rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.price-line span {
  color: #6d6f6b;
  font-size: 0.79rem;
}

.pricing-card.is-highlighted .price-line span,
.pricing-card.is-highlighted .price-panel small {
  color: rgba(255, 255, 255, 0.78);
}

.price-panel > small {
  color: #83847f;
  font-size: 0.72rem;
}

.pricing-card.is-highlighted .price-panel > small {
  color: rgba(255, 255, 255, 0.78);
}

@keyframes pricing-panel-glow {
  0% {
    background-position: 0% 20%;
  }
  100% {
    background-position: 100% 80%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pricing-card.is-highlighted .price-panel::before {
    animation: none;
  }
}

.pricing-section .plan-cta {
  width: 100%;
  min-height: 52px;
  margin: 22px 0 34px;
  border: 0;
  border-radius: 999px;
  background: #090a09;
  color: #fff;
  font-weight: 500;
}

.plan-includes {
  min-height: 48px;
  margin: 0;
  padding: 0 0 13px;
  border-bottom: 2px dotted #d4d5d1;
  color: #777873;
  font-size: 0.85rem;
  line-height: 1.45;
}

.pricing-section .pricing-card ul {
  display: grid;
  gap: 0;
  margin: 0;
}

.pricing-section .pricing-card li {
  position: relative;
  padding: 14px 2px 14px 28px;
  border-bottom: 2px dotted #d4d5d1;
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.4;
}

.pricing-section .pricing-card li::before {
  content: "↳";
  top: 14px;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: #858681;
  font-weight: 700;
}

.plan-usage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: auto 0 0;
  padding-top: 22px;
  color: #777873;
  font-size: 0.8rem;
}

.plan-usage strong {
  color: var(--ink);
  font-size: 0.94rem;
  white-space: nowrap;
}

.pricing-footnote {
  margin: 0;
  padding: 18px 42px 22px;
  color: #858681;
  font-size: 0.74rem;
}

[data-pricing][data-period="monthly"] [data-list-price],
[data-pricing][data-period="monthly"] [data-discount] {
  visibility: hidden;
}

@media (max-width: 1120px) {
  .pricing-section {
    overflow-x: auto;
  }

  .pricing-section .pricing-grid {
    min-width: 980px;
  }
}

@media (max-width: 760px) {
  .pricing-section {
    padding-top: 42px;
  }

  .pricing-heading {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 20px 28px;
  }

  .pricing-heading h2 {
    font-size: clamp(2.5rem, 12vw, 4.2rem);
  }

  .pricing-controls {
    align-items: stretch;
    flex-direction: column;
    padding: 0 20px 28px;
  }

  .founding-offer {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    margin: 0 20px 20px;
  }

  .pricing-products,
  .billing-switch {
    width: 100%;
  }

  .pricing-products span,
  .billing-switch button {
    flex: 1;
    justify-content: center;
    padding-inline: 10px;
  }

  .pricing-section .pricing-grid {
    grid-template-columns: repeat(4, minmax(285px, 1fr));
    min-width: 1140px;
  }

  .pricing-section .pricing-card {
    min-height: 690px;
    padding-inline: 14px;
  }

  .price-panel {
    min-height: 270px;
  }

  .pricing-footnote {
    min-width: 100%;
    padding-inline: 20px;
  }
}
