/* The full-width wash calms the shared ribbon behind the offers. */
#plans .saas-pricing-offers {
  --offer-ink: #25303b;
  --offer-muted: #4c5864;
  position: relative;
  isolation: isolate;
  color: var(--offer-ink);
}

#plans .saas-pricing-offers::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -26px 0 -30px;
  border-image: linear-gradient(transparent, #f8f9fbf7 26px, #f8f9fbfa calc(100% - 20px), transparent) 1 fill / 0 / 0 100vw;
  pointer-events: none;
}

#plans .saas-pricing-heading {
  margin: 0 0 clamp(24px, 2.7vw, 36px);
  max-width: 940px;
}

#plans .saas-pricing-heading h2 {
  margin: 0 0 12px;
  color: var(--offer-ink);
  text-wrap: balance;
}

#plans .saas-pricing-intro {
  color: var(--offer-muted);
  margin: 0;
  max-width: 740px;
  font-size: 16px;
  line-height: 1.6;
}

#plans .saas-pricing-offers .cx-metallic-pro {
  color: #4d5054;
  background: none;
  -webkit-text-fill-color: currentColor;
  font-weight: 680;
  letter-spacing: .033em;
}

@supports (background-clip: text) {
  #plans .saas-pricing-offers .cx-metallic-pro {
    background: linear-gradient(167deg, #636568 0%, #656769 22%, #494c51 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

#plans .saas-plan-grid { gap: clamp(12px, 1.25vw, 20px); }

#plans .saas-plan {
  --plan-inset: clamp(18px, 1.7vw, 25px);
  --plan-radius: 17px;
  padding: clamp(21px, 1.85vw, 27px) var(--plan-inset) 0;
  border: 1px solid #cbd3dc;
  border-radius: var(--plan-radius);
  background: linear-gradient(158deg, #fff 5%, #f8fafb 55%, #edf1f5);
  box-shadow: inset 0 1px #fff, 0 7px 18px -12px #36495d44;
  backdrop-filter: none;
}

#plans .saas-plan-pro {
  background: linear-gradient(152deg, #fcfdfe 4%, #f1f5f8 35%, #e1e8ee 100%);
  border-color: #a4b1bd;
  box-shadow: inset 0 1px #fff, inset 0 -1px #c3cfda66, 0 9px 20px -13px #36495d63;
}

#plans .saas-plan h3 {
  color: var(--offer-ink);
  margin: 0 0 5px;
  font-size: 23px;
  line-height: 1.18;
  font-weight: 550;
}

#plans .saas-seats {
  color: var(--offer-muted);
  font-size: 13px;
  line-height: 1.35;
  margin: 0 0 18px;
}

#plans .saas-price {
  color: var(--offer-ink);
  font-size: clamp(36px, 3.1vw, 48px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.053em;
  font-variant-numeric: lining-nums tabular-nums;
  margin: 0 0 11px;
}

#plans .saas-price span {
  color: var(--offer-muted);
  font-size: 13px;
  margin-left: 3px;
}

#plans .saas-plan-copy {
  color: var(--offer-muted);
  font-size: 13px;
  line-height: 1.55;
  min-height: 0;
  margin: 0 0 19px;
}

#plans .saas-enterprise .saas-button {
  min-height: 44px;
  padding: 9px 20px;
  border: 1px solid #7d8a97;
  border-radius: 999px;
  color: #2c3a48;
  background: #f9fbfc;
  box-shadow: none;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  filter: none;
  transition: border-color 140ms ease, box-shadow 140ms ease;
  text-decoration: none;
}

#plans .saas-enterprise .saas-button::after { content: none; }

#plans .saas-enterprise .saas-button:hover {
  border-color: #586a7c;
  background: #eaf0f5;
  box-shadow: inset 0 1px #fff, 0 2px 5px #33485e19;
}

#plans .saas-plan-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-sizing: border-box;
  min-height: 59px;
  margin: auto calc(-1 * var(--plan-inset)) 0;
  padding: 10px var(--plan-inset);
  border: 0;
  border-radius: 0 0 calc(var(--plan-radius) - 1px) calc(var(--plan-radius) - 1px);
  background: transparent;
  color: #304252;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 140ms ease, color 140ms ease;
}

#plans .saas-plan-action:hover {
  background-color: #24354408;
  color: #1e3040;
}

#plans .saas-plan-arrow {
  position: relative;
  flex: 0 0 14px;
  height: 14px;
}

#plans .saas-plan-arrow::before,
#plans .saas-plan-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 2px;
}

#plans .saas-plan-arrow::before {
  width: 10px;
  border-top: 1.5px solid currentColor;
  transform: translateY(-50%);
}

#plans .saas-plan-arrow::after {
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 1.5px 1.5px 0 0;
  transform: translateY(-50%) rotate(45deg);
}

#plans .saas-pricing-offers a:focus-visible {
  outline: 2px solid #3c556d;
  outline-offset: 3px;
}

#plans .saas-pricing-offers .saas-plan-action:focus-visible { outline-offset: -4px; }

#plans .saas-pricing-details {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 9px 24px;
  margin-top: 17px;
}

#plans .saas-billing-note { color: var(--offer-muted); margin: 0; }

#plans .saas-pricing-details .saas-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  color: #354654;
  font-weight: 600;
  text-decoration: none;
}

#plans .saas-pricing-details .saas-text-link::after {
  content: "";
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(-45deg);
}

#plans .saas-pricing-details .saas-text-link:hover {
  color: #1e2b38;
  background: #e8edf2;
  border-radius: 4px;
}

#plans .saas-enterprise {
  margin: 19px 0 40px;
  padding: 16px clamp(16px, 1.7vw, 25px);
  gap: 12px 22px;
  align-items: center;
  border: 1px solid #c4cfd9;
  border-radius: 15px;
  box-shadow: inset 0 1px #fff;
  background: linear-gradient(#fcfdfe, #f2f5f7);
}

#plans .saas-enterprise h3 {
  color: var(--offer-ink);
  margin: 0 0 3px;
  font-weight: 550;
}

#plans .saas-enterprise p {
  color: var(--offer-muted);
  margin: 0;
  line-height: 1.5;
}

#plans .saas-enterprise > p {
  font-size: 14px;
  font-weight: 550;
}

@media (max-width: 767px) {
  #plans .saas-enterprise { display: grid; grid-template-columns: 1fr auto; }
  #plans .saas-enterprise > div { grid-column: 1 / -1; }
  #plans .saas-enterprise > p { align-self: center; }
}

@media (max-width: 480px) {
  #plans .saas-seats { margin-bottom: 15px; }
  #plans .saas-plan-copy { margin-bottom: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  #plans .saas-enterprise .saas-button,
  #plans .saas-plan-action { transition: none; }
}

@media (forced-colors: active), (prefers-contrast: more) {
  #plans .saas-pricing-offers .cx-metallic-pro {
    background: none;
    -webkit-text-fill-color: currentColor;
  }
}

@media (forced-colors: active) {
  #plans .saas-pricing-offers .cx-metallic-pro {
    color: CanvasText;
    -webkit-text-fill-color: CanvasText;
  }
}
