.pricing-hero {
  position: relative;
  max-width: 100%;
  overflow-x: clip;
  isolation: isolate;
  padding-top: 88px;
  padding-bottom: 88px;
}

.pricing-hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(52% 82% at 84% 12%, var(--accent-10), transparent 72%),
    radial-gradient(34% 58% at 5% 95%, var(--lime-06), transparent 74%),
    linear-gradient(180deg, var(--color-bg), var(--color-panel-soft));
  content: "";
}

.pricing-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(var(--ink-05) .6px, transparent .8px) 0 0 / 5px 5px;
  content: "";
  opacity: .6;
  pointer-events: none;
}

.pricing-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, .85fr);
  align-items: center;
  gap: 72px;
}

.pricing-hero__copy {
  min-width: 0;
}

.pricing-hero h1 {
  max-width: 690px;
  margin-top: 22px;
  font-size: clamp(52px, 5vw, 66px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
}

.pricing-hero__lede {
  max-width: 650px;
  margin-top: 20px;
  color: var(--color-muted);
  font-size: 18px;
  line-height: 1.75;
}

.pricing-hero__actions {
  margin-bottom: 22px;
}

.pricing-summary {
  position: relative;
  min-width: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-panel);
  box-shadow: var(--shadow-panel);
}

.pricing-summary__chrome {
  display: grid;
  min-height: 46px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding-inline: 18px;
  border-bottom: 1px solid var(--color-border);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  color: var(--color-muted);
  background: linear-gradient(180deg, var(--white-70), transparent);
  font-size: 12px;
}

.pricing-summary__chrome strong {
  color: var(--color-text);
  text-align: center;
}

.pricing-summary__chrome > :last-child {
  justify-self: end;
}

.pricing-summary__dots {
  display: flex;
  gap: 6px;
}

.pricing-summary__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.pricing-summary__dots i:nth-child(1) {
  background: var(--color-dot-gray);
}

.pricing-summary__dots i:nth-child(2) {
  background: var(--color-dot-beige);
}

.pricing-summary__dots i:nth-child(3) {
  background: var(--color-accent);
}

.pricing-summary__body {
  padding: 30px;
}

.pricing-summary__lead {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--color-panel-soft);
  box-shadow: inset 0 1px 0 var(--white-70);
}

.pricing-summary__lead > span {
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
}

.pricing-summary__lead strong {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 9px;
  font-size: 42px;
  line-height: 1;
}

.pricing-summary__lead strong small {
  color: var(--color-muted);
  font-family: var(--font-body);
  font-size: 14px;
}

.pricing-summary__lead p {
  margin-top: 14px;
  color: var(--color-muted);
  font-size: 13px;
}

.pricing-summary__facts {
  display: grid;
  gap: 0;
  margin-top: 20px;
}

.pricing-summary__facts div {
  display: grid;
  grid-template-columns: minmax(90px, .55fr) minmax(0, 1.45fr);
  gap: 16px;
  padding-block: 13px;
  border-bottom: 1px dashed var(--color-border);
}

.pricing-summary__facts div:last-child {
  border-bottom: 0;
}

.pricing-summary__facts dt {
  color: var(--color-muted);
  font-size: 13px;
}

.pricing-summary__facts dd {
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 750;
  text-align: right;
}

.pricing-summary__bolt {
  position: absolute;
  right: -18px;
  bottom: -18px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid var(--accent-20);
  border-radius: var(--radius-lg);
  color: var(--color-white);
  background: var(--color-accent);
  box-shadow: var(--shadow-pill), inset 0 1px 0 var(--lime-50);
}

.pricing-tabs > .tabs {
  margin-bottom: 26px;
}

.pricing-intro {
  display: grid;
  grid-template-columns: minmax(220px, .55fr) minmax(0, 1.45fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 26px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-panel-soft);
}

.pricing-intro h3 {
  font-size: 20px;
}

.pricing-intro p,
.plan-description {
  color: var(--color-muted);
}

.plan-description {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.72;
}

.pricing-note {
  margin-top: 24px;
}

.pricing-included {
  background:
    radial-gradient(48% 70% at 100% 0%, var(--accent-08), transparent 72%),
    var(--color-panel-soft);
}

.included-layout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.included-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-panel);
  box-shadow: var(--shadow-soft);
}

.included-card--wide {
  display: grid;
  grid-column: span 2;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

.included-card__icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: var(--radius-sm);
  color: var(--color-accent);
  background: var(--color-panel-soft);
}

.included-card h3 {
  margin-top: 18px;
  font-size: 19px;
}

.included-card--wide h3 {
  margin-top: 0;
}

.included-card p {
  margin-top: 10px;
  color: var(--color-muted);
  font-size: 14px;
}

.choice-guide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.choice-guide h3 {
  font-size: 21px;
}

.choice-guide p {
  margin-top: 12px;
  color: var(--color-muted);
}

.payment-section {
  background:
    radial-gradient(44% 80% at 0 100%, var(--lime-06), transparent 74%),
    var(--color-panel-soft);
}

.payment-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(420px, 1.2fr);
  align-items: start;
  gap: 64px;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.payment-chip {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding-inline: 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  color: var(--color-text);
  background: var(--color-panel);
  box-shadow: 0 1px 2px var(--ink-05);
  font-weight: 750;
}

.payment-steps {
  display: grid;
  gap: 12px;
}

.payment-steps article {
  display: grid;
  min-width: 0;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-panel);
  box-shadow: var(--shadow-soft);
}

.payment-steps__marker {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: var(--radius-sm);
  color: var(--color-accent);
  background: var(--accent-08);
}

.payment-steps h3 {
  font-size: 19px;
}

.payment-steps p {
  margin-top: 7px;
  color: var(--color-muted);
  font-size: 14px;
}

.refund-panel {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 28px;
  padding: 38px;
  border: 1px solid var(--accent-20);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(52% 150% at 100% 0%, var(--accent-10), transparent 72%),
    var(--color-panel);
  box-shadow: var(--shadow-panel);
}

.refund-panel__icon {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: var(--radius-lg);
  color: var(--color-white);
  background: var(--color-accent);
  box-shadow: inset 0 1px 0 var(--lime-50), var(--shadow-pill);
}

.refund-panel h2 {
  margin-top: 15px;
  font-size: clamp(30px, 3.5vw, 44px);
}

.refund-panel p {
  margin-top: 14px;
  color: var(--color-muted);
}

.refund-panel a {
  color: var(--color-accent);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--accent-40);
  text-underline-offset: 3px;
}

@media (max-width: 1020px) {
  .pricing-hero__grid,
  .payment-layout {
    grid-template-columns: 1fr;
  }

  .pricing-summary {
    max-width: 700px;
  }

  .included-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .payment-layout {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .pricing-hero {
    padding-top: 62px;
    padding-bottom: 70px;
  }

  .pricing-hero__grid {
    gap: 44px;
  }

  .pricing-hero h1 {
    font-size: clamp(34px, 9vw, 40px);
  }

  .pricing-summary__bolt {
    right: 14px;
    bottom: -22px;
  }

  .pricing-intro,
  .choice-guide {
    grid-template-columns: 1fr;
  }

  .included-layout {
    grid-template-columns: 1fr;
  }

  .included-card--wide {
    grid-column: auto;
  }

  .refund-panel {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .refund-panel__icon {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 640px) {
  .pricing-hero {
    padding-top: 44px;
    padding-bottom: 58px;
  }

  .pricing-hero__lede {
    font-size: 16px;
  }

  .pricing-summary__body {
    padding: 18px;
  }

  .pricing-summary__lead {
    padding: 19px;
  }

  .pricing-summary__lead strong {
    font-size: 34px;
  }

  .pricing-summary__facts div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .pricing-summary__facts dd {
    text-align: left;
  }

  .pricing-summary__bolt {
    display: none;
  }

  .pricing-intro,
  .included-card,
  .payment-steps article {
    padding: 20px;
  }

  .included-card--wide {
    grid-template-columns: 1fr;
  }

  .payment-steps article {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
  }

  .payment-steps__marker {
    width: 42px;
    height: 42px;
  }

  .refund-panel {
    padding: 24px 20px;
  }
}