/* Minimal pricing: one headline above two plans, within a laptop viewport. */
#pricing {
  background: #000;
}

#pricing .ambient-pricing {
  display: none;
}

#pricing .pricing-heading p,
#pricing .pricing-heading .section-label {
  display: none;
}

#pricing .pricing-footnote {
  margin: 18px auto 0;
  text-align: center;
  font-size: 10px;
  line-height: 1.7;
  color: #8e8796;
}

/* One floating surface grows from its compact label into the full note. */
#pricing .plan-standard .plan-heading {
  position: relative;
  padding-bottom: 28px;
}
.price-negotiation {
  --expanded-width: 268px;
  --negotiation-height: 185px;
  position: absolute;
  z-index: 4;
  top: -4px;
  right: -43px;
  width: 172px;
  height: 44px;
  text-align: left;
  overflow-anchor: none;
  translate: 0 var(--card-parallax, 0px);
  rotate: 6deg;
  transform-origin: 85% 25%;
  transition: width .52s cubic-bezier(.22,1,.36,1), height .52s cubic-bezier(.22,1,.36,1), rotate .52s cubic-bezier(.22,1,.36,1), right .52s cubic-bezier(.22,1,.36,1);
  will-change: translate;
}
.price-negotiation-surface {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid #dcffe6b3;
  border-radius: 12px;
  background: linear-gradient(125deg, #d3f8df, #bdebd0);
  box-shadow: 0 10px 28px #0005, inset 0 1px 0 #ffffff70;
  animation: price-sticker-float 7s ease-in-out infinite;
}
.price-negotiation.is-open {
  width: var(--expanded-width);
  height: var(--negotiation-height);
  rotate: 0deg;
}
.price-negotiation.is-open .price-negotiation-surface { animation-play-state: paused; }
.price-negotiation-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #163c2e;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.3;
  white-space: nowrap;
}
.price-negotiation-trigger svg {
  flex: none;
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transition: rotate .4s;
}
.price-negotiation.is-open .price-negotiation-trigger svg { rotate: 45deg; }
.price-negotiation-trigger:focus-visible { outline: 2px solid #37664a; outline-offset: -5px; }
.price-negotiation-panel {
  position: absolute;
  top: 42px;
  left: 0;
  width: calc(var(--expanded-width) - 2px);
  opacity: 0;
  translate: 0 7px;
  visibility: hidden;
  transition: opacity .18s, translate .35s, visibility 0s .4s;
  pointer-events: none;
}
.price-negotiation.is-open .price-negotiation-panel {
  opacity: 1;
  translate: 0 0;
  visibility: visible;
  transition: opacity .3s .14s, translate .4s .1s, visibility 0s;
  pointer-events: auto;
}
.price-negotiation-body { padding: 0 15px 15px; }
.price-negotiation-body p {
  color: #345444;
  font-size: 12px;
  line-height: 1.65;
}
.price-negotiation-body a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 40px;
  margin-top: 13px;
  padding: 10px 12px;
  border: 1px solid #174f3a;
  border-radius: 8px;
  background: #163e2e;
  color: #f2fff6;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.5;
  transition: background .2s, box-shadow .2s;
}
.price-negotiation-body a svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.price-negotiation-body a:hover { background: #22573f; box-shadow: 0 4px 12px #123d2926; }
.price-negotiation-body a:focus-visible { outline: 2px solid #37664a; outline-offset: 3px; }
@keyframes price-sticker-float {
  0%, 100% { transform: translateY(0) rotate(-.7deg); }
  50% { transform: translateY(-5px) rotate(.7deg); }
}
@media (min-width: 1150px) {
  .price-negotiation.is-open { right: -139px; }
}
@media (max-width: 900px) {
  .price-negotiation { right: -14px; top: -6px; }
}
@media (max-width: 650px) {
  #pricing .plan-standard .plan-heading { padding-top: 48px; padding-bottom: 0; }
  .price-negotiation { --expanded-width: min(260px, calc(100vw - 80px)); top: -12px; right: -3px; width: 166px; rotate: 5deg; }
  .price-negotiation-trigger { font-size: 10.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .price-negotiation { translate: none; rotate: 0deg; will-change: auto; }
  .price-negotiation-surface { animation: none; }
}

@media (min-width: 901px) {
  #pricing {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100svh;
    padding: 105px 6% 24px;
    scroll-margin-top: -100px;
  }

  #pricing .pricing-heading {
    width: 100%;
    text-align: center;
  }

  #pricing .pricing-heading h2 {
    font-size: clamp(26px, 2.45vw, 36px);
    line-height: 1.2;
    letter-spacing: -.045em;
    font-weight: 500;
  }

  #pricing .plans {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 850px;
    gap: 48px;
    margin: 25px auto 0;
    align-items: center;
  }

  #pricing .plan-trial {
    padding: 26px 25px;
  }

  #pricing .plan-content {
    padding: 26px 27px 24px;
  }

  #pricing .plan-name {
    font-size: 19px;
  }

  #pricing .price {
    margin-top: 14px;
  }

  #pricing .price strong {
    font-size: clamp(56px, 7svh, 66px);
  }

  #pricing .currency {
    font-size: 26px;
  }

  #pricing .period {
    font-size: 12px;
  }

  #pricing .plan-heading > p {
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.6;
  }

  #pricing .plan-features {
    gap: 11px;
    margin: 24px 0;
  }

  #pricing .plan-features > li {
    font-size: 13px;
    line-height: 1.55;
    padding-left: 20px;
  }

  #pricing .plan .button {
    min-height: 46px;
    padding: 13px 17px;
    font-size: 12px;
  }

  #pricing .plan > small,
  #pricing .plan-content > small {
    margin-top: 11px;
    font-size: 9px;
    line-height: 1.65;
  }
}

@media (min-width: 901px) and (max-height: 740px) {
  #pricing {
    padding-top: 100px;
    padding-bottom: 18px;
  }

  #pricing .pricing-heading h2 {
    font-size: 28px;
  }

  #pricing .plans {
    margin-top: 18px;
  }

  #pricing .plan-content,
  #pricing .plan-trial {
    padding-top: 21px;
    padding-bottom: 21px;
  }

  #pricing .price strong {
    font-size: 54px;
  }

  #pricing .plan-features {
    gap: 9px;
    margin: 21px 0;
  }

  #pricing .pricing-footnote {
    margin-top: 12px;
  }
}
