/* Extend the existing Reed-Mark plan layout with per-user pricing. */
.page-pricing .price-plan {
  scroll-margin-top: 110px;
}
.page-pricing .plan-price strong {
  font-size: clamp(38px, 3.6vw, 52px);
  letter-spacing: -1.8px;
  font-variant-numeric: tabular-nums;
}
.page-pricing .plan-seats {
  margin-bottom: 8px;
}
.page-pricing .plan-extra {
  min-height: 44px;
  margin: 0 0 24px;
  color: var(--rm-forest);
  font-size: 14px;
  line-height: 1.5;
}
.team-estimator {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  margin-top: 52px;
  padding-block: 34px;
  border-top: 1px solid var(--rm-line);
  border-bottom: 1px solid var(--rm-line);
}
.team-estimator h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 2.4vw, 34px);
  letter-spacing: -1px;
}
.team-estimator-intro > p {
  margin: 0 0 22px;
  color: var(--rm-muted);
}
.team-estimator label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 15px;
}
.team-estimator input {
  display: block;
  width: 120px;
  min-height: 52px;
  padding: 10px 14px;
  border: 1px solid var(--rm-forest);
  border-radius: 6px;
  background: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 22px;
  color: var(--rm-ink);
}
.team-estimator input:focus-visible {
  outline: 3px solid var(--rm-orange);
  outline-offset: 3px;
}
.team-estimator .estimator-help {
  font-size: 13px;
  line-height: 1.6;
  color: var(--rm-muted);
  margin: 12px 0 0;
}
.team-estimator .estimator-error {
  font-size: 14px;
  margin: 10px 0 0;
  color: #a02515;
}
.estimate-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.plan-estimate {
  min-width: 0;
  border-top: 3px solid var(--rm-forest);
  padding-top: 18px;
}
.plan-estimate h3 {
  font-size: 18px;
  margin: 0 0 12px;
}
.plan-estimate > p {
  margin: 0;
  line-height: 1.5;
}
.plan-estimate output {
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 800;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.plan-estimate > p > span {
  display: block;
  color: var(--rm-muted);
  font-size: 13px;
}
.plan-estimate .estimate-calculation {
  margin-top: 13px;
  font-size: 13px;
  color: var(--rm-muted);
}
.estimate-guidance {
  margin: 22px 0 0;
  color: var(--rm-forest);
  font-size: 15px;
  font-weight: 700;
}
.pricing-addons {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}
.pricing-addons h2 {
  margin: 0 0 18px;
}
.pricing-addons > div > p {
  max-width: 440px;
  color: var(--rm-muted);
}
.pricing-addons dl {
  margin: 0;
}
.pricing-addons dl > div {
  padding: 22px 0;
  border-top: 1px solid var(--rm-line);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 18px;
}
.pricing-addons dt {
  font-weight: 700;
  font-size: 16px;
}
.pricing-addons dd {
  margin: 0;
  font-size: 15px;
}
.pricing-addons dd p {
  margin: 9px 0 0;
  color: var(--rm-muted);
  font-size: 14px;
}
.pricing-addons .text-link {
  display: inline-block;
  margin-top: 10px;
  padding-block: 12px;
  min-height: 44px;
  font-size: 14px;
}
@media (max-width: 800px) {
  .team-estimator,
  .pricing-addons {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .team-estimator {
    margin-top: 34px;
  }
  .page-pricing .plan-price strong {
    font-size: 48px;
  }
}
@media (max-width: 400px) {
  .estimate-comparison {
    gap: 18px;
  }
  .pricing-addons dl > div {
    grid-template-columns: 1fr;
    gap: 9px;
  }
}
