/**
 This file contains the styles for the pricing new page.
 It is extracted from ChatBot's pricing page, because HelpDesk doesn't use similar design system.
 This will be deleted soon, once we have extracted common pricing page for all static pages.
*/

:root {
  --pricing-purple-100: #eee8ff;
  --pricing-purple-50: #faf8ff;
  --pricing-text-secondary: #29292f;
  --pricing-text-muted: #62626d;
  --pricing-border-light: #e2e2e4;
  --pricing-limit-purple: #734dbb;
}

/* Product label badge (t__label component) */
.t__label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 12px 2px 2px;
  border-radius: 40px;
  width: fit-content;
  text-align: center;
  color: var(--color-black-900, #0f0f10);
}

.t__label span {
  margin-top: 1px;
}

.t__label-img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Mobile-only link (hidden when sidebar appears at 88rem) */
.pricing-new__mobile-link {
  display: flex;
}

@media (min-width: 88rem) {
  .pricing-new__mobile-link {
    display: none;
  }
}

/* Header: centered mobile, flex-row at 88rem */
.pricing-new__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.pricing-new__header-billing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Billing Toggle */
.pricing-new__billing-toggle {
  padding: 1px;
  border-color: #e7e7e7;
}

.pricing-new__billing-button {
  height: 36px;
  border-radius: 9px;
  padding: 7px 16px 5px;
  font-size: 1rem;
  line-height: 1.5rem;
  background: transparent;
  color: #939393;
  font-weight: 400;
}

.pricing-new__billing-button--active {
  background: white;
  color: #333;
  font-weight: 500;
  box-shadow:
    0 5px 1px 0 rgba(0, 0, 0, 0),
    0 3px 1px 0 rgba(0, 0, 0, 0.01),
    0 2px 1px 0 rgba(0, 0, 0, 0.05),
    0 1px 1px 0 rgba(0, 0, 0, 0.09);
}

.pricing-new__discount-text {
  color: #00a449;
  line-height: 18px;
}

/* Main layout: column on mobile, row with sidebar at 88rem */
.pricing-new__layout {
  display: flex;
  flex-direction: column;
}

@media (min-width: 88rem) {
  .pricing-new__layout {
    flex-direction: row;
    align-items: flex-start;
  }
}

/* Sidebar: hidden below 88rem */
.pricing-new__sidebar {
  display: none;
}

@media (min-width: 88rem) {
  .pricing-new__sidebar {
    display: block;
    flex: 0 0 auto;
  }
}

/* Cards wrapper: no overflow mobile, contain scroll at 42rem+ */
.pricing-new__cards-wrapper {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  justify-content: center;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 42rem) {
  .pricing-new__cards-wrapper {
    justify-content: flex-start;
  }
}

@media (min-width: 66rem) {
  .pricing-new__cards-wrapper {
    justify-content: center;
  }
}

/* Pricing Cards: responsive single-col mobile, 3-col grid at 42rem */

.pricing-new__cards-list {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-self: center;
  max-width: 64rem;
}

@media (min-width: 42rem) {
  .pricing-new__cards-list {
    grid-template-columns: repeat(3, 320px);
    width: max-content;
    gap: 2rem;
    margin: 0 auto;
    padding: 0 1rem;
    max-width: none;
  }

  .pricing-new__cards-list > li {
    padding: 2.25rem 0;
  }
}

@media (min-width: 88rem) {
  .pricing-new__cards-list {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }
}

/* Pricing Card */
.pricing-new__card--featured-wrapper {
  padding: 10px 3px 3px;
  background:
    linear-gradient(
      90deg,
      rgba(116, 0, 223, 0.2) 0%,
      rgba(185, 154, 255, 0.2) 100%
    ),
    #fff;
  border: 1px solid #eee8ff;
  border-radius: 20px 20px 22px 22px;
  box-shadow:
    0 233px 65px 0 rgba(0, 0, 0, 0),
    0 149px 60px 0 rgba(0, 0, 0, 0),
    0 84px 50px 0 rgba(0, 0, 0, 0.01),
    0 37px 37px 0 rgba(0, 0, 0, 0.02),
    0 9px 21px 0 rgba(0, 0, 0, 0.03);
}

.pricing-new__card-badge {
  line-height: 18px;
  letter-spacing: 2px;
}

.pricing-new__card--featured-inner {
  margin-top: 7px;
  background: linear-gradient(180deg, #faf8ff 0%, #fff 18.54%);
  border-radius: 20px;
  box-shadow:
    0 0 6px 0 rgba(0, 0, 0, 0.03),
    0 1px 3px 0 rgba(0, 0, 0, 0.1),
    0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.pricing-new__card--standard {
  margin-top: 35px;
  border-color: var(--pricing-border-light);
  border-radius: 20px;
}

.pricing-new__card-title-row {
  gap: 10px;
}

.pricing-new__card-title {
  font-size: 2rem;
  line-height: 36px;
  letter-spacing: -0.4px;
}

.pricing-new__card-annual-badge {
  color: #82828d;
  line-height: 18px;
}

.pricing-new__card-subtitle {
  font-size: 13px;
  line-height: 18px;
}

.pricing-new__card-subtitle > p {
  margin: 0;
}

.pricing-new__card-price-text {
  color: var(--pricing-text-secondary);
  line-height: 28px;
  letter-spacing: -0.1px;
}

.pricing-new__card-price-unit {
  color: var(--pricing-text-secondary);
  line-height: 24px;
}

.pricing-new__card-features-intro {
  color: var(--pricing-text-secondary);
  line-height: 18px;
}

/* Pricing Feature */
.pricing-feature-tooltip:hover .pricing-feature-text::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  border-bottom: 1.5px dashed #c9c9cd;
  content: "";
}

.pricing-feature-text {
  color: var(--pricing-text-secondary);
  line-height: 1.28;
}

.pricing-new__card-features-link {
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -0.1px;
  color: #29292f;
}

.pricing-new__card-features-link:hover {
  color: #8609ff;
}

/* Pricing Limit */
.pricing-limit-title {
  line-height: 1.286;
}

.pricing-limit-value {
  padding: 0 5px 1px;
  color: var(--pricing-limit-purple);
  line-height: 1.5;
  border: 0.5px solid #c9c9cd;
}

.pricing-limit-track {
  height: 8px;
  background-color: #f5f1fa;
  box-shadow:
    inset 0 1.075px 4.298px 0 rgba(0, 0, 0, 0.06),
    inset 2.149px 1.075px 4.298px 0 rgba(0, 0, 0, 0.03),
    inset 1.075px 1.075px 3.856px 0 rgba(0, 0, 0, 0.05);
}

.pricing-limit-progress {
  background: linear-gradient(275deg, #5431a1 4.9%, #be93ff 94.81%);
}

.pricing-limit-description {
  line-height: 1.333;
}

/* Comparison Table */
.comparison-table {
  --column-width-xs: 70px;
  --column-width-md: 105px;
  --column-width-lg: 170px;
  --column-width-xl: 220px;

  scroll-margin-top: 20px;
}

.comparison-table__sticky-header {
  position: sticky;
  top: 3.75rem;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr repeat(3, var(--column-width-xs));
  padding: 0 0.75rem 0 0.25rem;
}

@media (min-width: 32rem) {
  .comparison-table__sticky-header {
    grid-template-columns: 1fr repeat(3, var(--column-width-md));
    gap: 0.5rem;
    padding: 0 0.75rem;
  }
}

@media (min-width: 48rem) {
  .comparison-table__sticky-header {
    grid-template-columns: 1fr repeat(3, var(--column-width-lg));
  }
}

@media (min-width: 64rem) {
  .comparison-table__sticky-header {
    top: 90px;
    grid-template-columns: 1fr repeat(3, var(--column-width-xl));
  }
}

.comparison-table__sticky-header-title {
  line-height: 1.75rem;
  letter-spacing: -0.1px;
}

@media (min-width: 48rem) {
  .comparison-table__sticky-header-title {
    padding: 1.5rem 0.5rem 1.5rem 0;
  }
}

.comparison-table__plan {
  font-size: 12px;
}

@media (min-width: 48rem) {
  .comparison-table__plan {
    font-size: inherit;
    padding: 1.5rem 1rem;
  }
}

.comparison-table__plan:nth-of-type(3) {
  background: #f6f6f7;
  border-radius: 1rem 1rem 0 0;
}

.comparison-table__item-content {
  padding-inline: 0.2rem;
}

/* Section Title */
.comparison-table__section-title {
  position: sticky;
  top: 98px;
  z-index: 1;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  text-wrap: balance;
  border-radius: 0.5rem;
}

@media (min-width: 32rem) {
  .comparison-table__section-title {
    top: 103px;
  }
}

@media (min-width: 48rem) {
  .comparison-table__section-title {
    top: 112px;
  }
}

@media (min-width: 64rem) {
  .comparison-table__section-title {
    top: 197px;
  }
}

.comparison-table__chevron {
  transition: transform 0.2s;
}

.comparison-table__section:not(:has(.comparison-table__section-content[hidden]))
  .comparison-table__chevron {
  transform: rotate(180deg);
}

.comparison-table__section-content {
  display: grid;
  grid-template-rows: 1fr;
  transition:
    grid-template-rows 0.6s ease,
    padding 0.6s ease;
}

.comparison-table__section-content[hidden] {
  display: grid;
  grid-template-rows: 0fr;
}

/* Group Background Stripe */
.comparison-table__group::before {
  position: absolute;
  top: -1rem;
  z-index: -1;
  right: calc(var(--column-width-xs) + 0.75rem);
  width: var(--column-width-xs);
  height: 100%;
  background: #f6f6f7;
  border-radius: 1rem;
  content: "";
}

@media (min-width: 32rem) {
  .comparison-table__group::before {
    right: calc(var(--column-width-md) + 0.75rem + 0.5rem);
    width: var(--column-width-md);
  }
}

@media (min-width: 48rem) {
  .comparison-table__group::before {
    right: calc(var(--column-width-lg) + 0.75rem + 0.5rem);
    width: var(--column-width-lg);
  }
}

@media (min-width: 64rem) {
  .comparison-table__group::before {
    right: calc(var(--column-width-xl) + 0.75rem + 0.5rem);
    width: var(--column-width-xl);
  }
}

.comparison-table__group-title {
  padding: 0.75rem 0.75rem 0.625rem;
  line-height: 1.286;
  letter-spacing: -0.1px;
}

@media (min-width: 32rem) {
  .comparison-table__group-title {
    font-size: 1.125rem;
    line-height: 1.555;
  }
}

/* Item Row */
.comparison-table__item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr repeat(3, var(--column-width-xs));
  padding: 0.75rem 0.75rem 1rem 0.25rem;
  border-bottom: 1px solid var(--pricing-border-light);
}

@media (min-width: 32rem) {
  .comparison-table__item {
    grid-template-columns: 1fr repeat(3, var(--column-width-md));
    padding: 0.75rem 0.75rem 1rem;
    gap: 0.5rem;
  }
}

@media (min-width: 48rem) {
  .comparison-table__item {
    grid-template-columns: 1fr repeat(3, var(--column-width-lg));
  }
}

@media (min-width: 64rem) {
  .comparison-table__item {
    grid-template-columns: 1fr repeat(3, var(--column-width-xl));
  }
}

.comparison-table__item::before {
  position: absolute;
  top: 0;
  left: 0.25rem;
  z-index: -1;
  width: calc(100% - 0.5rem);
  height: calc(100% - 0.5rem);
  background-color: rgba(246, 246, 247, 0.5);
  visibility: hidden;
  content: "";
}

.comparison-table__item:hover::before {
  visibility: visible;
}

@media (min-width: 52rem) {
  .comparison-table__item--clickable {
    cursor: default;
  }
}

.comparison-table__item-title {
  line-height: 128%;
}

/* Tooltips & Desktop/Mobile */
@media (min-width: 52rem) {
  .comparison-table__tooltip-trigger {
    width: fit-content;
  }

  .comparison-table__item:has(.comparison-table__tooltip-trigger) {
    cursor: default;
  }

  .comparison-table__tooltip-trigger span {
    cursor: default;
  }
}

.comparison-table__item:has(.comparison-table__tooltip-trigger):hover
  .comparison-table__border-bottom {
  border-bottom: 1.5px dashed #c9c9cd;
}

.comparison-table__item:has(.comparison-table__tooltip-trigger):hover
  .comparison-table__coming-soon {
  border-bottom: none !important;
}

.comparison-table__subtitle {
  color: #767680;
  line-height: 1.333;
}

.comparison-table__coming-soon {
  display: inline-block;
  margin: 0.2rem 0.1rem;
  padding: 0.25rem 0.4rem 0.2rem;
  font-size: 0.75rem;
  line-height: 150%;
  background: linear-gradient(
    94deg,
    var(--pricing-purple-100) 0%,
    #ffe9bc 100%
  );
}

.comparison-table__desktop-only {
  display: none;
}

@media (min-width: 52rem) {
  .comparison-table__desktop-only {
    display: flex;
  }

  .comparison-table__item-title
    > .comparison-table__tooltip-trigger:first-child {
    display: none;
  }
}

/* Plan Text */
.comparison-table__plan-text {
  display: none;
  font-size: 0.875rem;
  line-height: 1.4;
  text-align: center;
  text-wrap: balance;
}

@media (min-width: 52rem) {
  .comparison-table__plan-text {
    display: block;
  }
}

.comparison-table__plan-text--pricing {
  display: block;
}

.comparison-table__plan-text--users {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 52rem) {
  .comparison-table__info-icon {
    display: none;
  }
}

/* Dialog */
.comparison-table__dialog::backdrop {
  background: rgb(0 0 0 / 0.5);
}

.comparison-table__dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 25rem;
  max-width: 90%;
  padding: 1.125rem;
  border: none;
  border-radius: 0.75rem;
  outline: none;
  transform: translate(-50%, -50%);
  animation: comparison-table-slideUp 0.3s ease-out;
}

@keyframes comparison-table-slideUp {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 1rem));
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.comparison-table__dialog-content h3 {
  font-size: 1rem;
  line-height: 150%;
  letter-spacing: -0.1px;
}

.comparison-table__dialog-tooltip {
  font-size: 0.75rem;
  line-height: 133%;
  letter-spacing: -0.1px;
  text-wrap: pretty;
}

.comparison-table__dialog-plan:last-of-type {
  padding-bottom: 0;
}

.comparison-table__dialog-plan h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 128%;
  letter-spacing: -0.1px;
  text-transform: capitalize;
}

.comparison-table__dialog-plan p {
  color: #767680;
  font-size: 0.75rem;
  line-height: 133%;
  text-align: left;
}

.comparison-table__dialog-plan-description {
  white-space: nowrap;
}

.comparison-table__dialog-plan img {
  margin-left: 0;
  margin-right: 0;
  width: auto;
}

.comparison-table__dialog-dash {
  color: #c9c9cd;
  font-size: 1rem;
}

.comparison-table__dialog-close {
  padding: 0.625rem 1rem;
  font-family: inherit;
}

.comparison-table__dialog-close:hover {
  background: var(--pricing-text-secondary);
}

.pricing-new__brands-title {
  line-height: 28px;
}

/* Social Proof */
.pricing-new__brands-grid {
  grid-template-columns: repeat(6, 1fr);
  gap: 48px 0;
  justify-items: center;
}

@media (max-width: 48rem) {
  .pricing-new__brands-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 0;
  }

  .pricing-new__brands-grid img {
    max-width: 100%;
    height: auto;
  }
}

/* Testimonial */
.pricing-new__testimonial {
  padding-bottom: 100px;
  color: #1b1b20;
  text-align: center;
}

.pricing-new__testimonial-inner {
  display: flex;
  flex-direction: column;
  max-width: 28rem;
  margin: 0 auto;
  gap: 3.5rem;
  quotes: none;
}

.pricing-new__testimonial-inner::before,
.pricing-new__testimonial-inner::after {
  content: none !important;
}

.pricing-new__testimonial-image-container {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 151px;
  margin: 0 auto;
  flex-shrink: 0;
}

.pricing-new__testimonial-photo {
  width: 100%;
  display: flex;
  justify-content: center;
  border-radius: 20px;
}

.pricing-new__testimonial-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0;
}

.pricing-new__testimonial-decor {
  position: absolute;
  bottom: 0;
  left: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 61px;
  height: 61px;
  color: #1b1b20;
  background-color: #f6f5f4;
  border: 1px solid #e2e2e4;
  border-radius: 50%;
  z-index: 1;
  transform: translate(-50%, 50%);
}

.pricing-new__testimonial-decor svg {
  width: 38px;
  height: auto;
}

.pricing-new__testimonial-quote {
  color: #1b1b20;
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.5px;
  text-align: center;
  text-wrap: balance;
}

.pricing-new__testimonial-content {
  gap: 0;
  justify-content: flex-start;
}

.pricing-new__testimonial-author {
  display: block;
  margin-top: 2rem;
  font-size: 1.125rem;
  font-style: normal;
  line-height: 1.555;
  text-align: center;
}

.pricing-new__testimonial-name {
  color: #1b1b20;
  line-height: inherit;
}

.pricing-new__testimonial-role {
  display: block;
  color: #29292f;
  line-height: inherit;
  text-wrap: balance;
}

.pricing-new__testimonial-metric {
  margin-top: 2rem;
}

.pricing-new__testimonial-metric-value {
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

@media (max-width: 48rem) {
  .pricing-new__testimonial {
    padding-bottom: 120px;
  }

  .pricing-new__testimonial-inner {
    align-items: center;
    gap: 3.5rem;
    text-align: center;
  }

  .pricing-new__testimonial-image-container {
    max-width: 151px;
    margin: 0 auto;
  }

  .pricing-new__testimonial-decor {
    background-color: #f6f5f4;
    border: 1px solid #e2e2e4;
    bottom: 0;
    transform: translate(-50%, 50%);
  }

  .pricing-new__testimonial-quote {
    margin-top: 0;
  }

  .pricing-new__testimonial-content {
    align-items: center;
  }

  .pricing-new__testimonial-author {
    margin-top: 2rem;
  }

  .pricing-new__testimonial-metric {
    max-width: 30rem;
    margin-inline: auto;
  }

  .pricing-new__testimonial-metric-label {
    text-wrap: balance;
  }
}

@media (min-width: 48rem) {
  .pricing-new__testimonial-inner {
    max-width: 32rem;
  }

  .pricing-new__testimonial-image-container {
    max-width: 285px;
  }
}

@media (min-width: 64rem) {
  .pricing-new__testimonial {
    padding-bottom: 200px;
  }

  .pricing-new__testimonial-inner {
    flex-direction: row;
    align-items: stretch;
    max-width: 70rem;
    gap: 8rem;
  }

  .pricing-new__testimonial-content {
    align-self: stretch;
    justify-content: space-between;
  }

  .pricing-new__testimonial-image-container {
    align-self: flex-start;
    max-width: 300px;
    margin: 0;
  }

  .pricing-new__testimonial-decor {
    top: 0;
    right: 0;
    bottom: auto;
    left: auto;
    width: auto;
    height: auto;
    background-color: transparent;
    border: none;
    transform: translate(calc(100% + 2rem), 0);
  }

  .pricing-new__testimonial-decor svg {
    width: 64px;
    height: auto;
  }

  .pricing-new__testimonial-quote {
    margin-top: 0;
    font-size: 2rem;
    line-height: 1.125;
    text-align: left;
  }

  .pricing-new__testimonial-author {
    margin-top: 1.5rem;
    text-align: left;
  }

  .pricing-new__testimonial-metric {
    margin-top: 0;
  }
}

@media (min-width: 75rem) {
  .pricing-new__testimonial-author {
    margin-top: 3rem;
  }

  .pricing-new__testimonial-role {
    display: inline-block;
  }

  .pricing-new__testimonial-role::before {
    content: "|";
    margin-inline: 0.5rem;
  }
}

/* Support & Partner */
.pricing-new__support-partner {
  padding: 80px 0 120px;
}

@media (min-width: 50rem) {
  .pricing-new__support-partner-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pricing-new__support-card-btn:hover {
  background-color: #f6f6f7;
}

@media (max-width: 50rem) {
  .pricing-new__support-partner {
    padding: 64px 0 80px;
  }

  .pricing-new__support-card {
    max-width: 544px;
    margin: 0 auto;
    width: 100%;
  }
}

.pricing-new__card-price {
  color: var(--pricing-text-secondary);
  font-size: 28px;
  line-height: 28px;
  letter-spacing: -0.1px;
  font-weight: 500;
}

@media (min-width: 64rem) {
  .pricing-new__card-price {
    font-size: 32px;
    line-height: 32px;
  }

  .pricing-new__card-price-text {
    line-height: 32px;
  }
}

/* Signup CTA */
.pricing-new__signup-cta {
  padding: 128px 0 200px;
}

.pricing-new__signup-cta-title {
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: -2px;
}

input[type="email"].pricing-new__signup-cta-input {
  width: 379px;
  height: 60px;
  padding: 4px 16px;
  font-size: 18px;
  font-family: inherit;
  line-height: 28px;
  letter-spacing: -0.1px;
  color: #1b1b20;
  background: #fff;
  border: 1px solid #4e4e58;
  border-radius: 8px;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}

@media (max-width: 48rem) {
  .pricing-new__signup-cta {
    padding: 80px 0 120px;
  }

  .pricing-new__signup-cta-title {
    font-size: 1.75rem;
    line-height: 1.15;
    letter-spacing: -0.5px;
    font-weight: 500;
    text-align: center;
  }

  .pricing-new__signup-cta-form {
    flex-direction: column;
    width: 100%;
  }

  input[type="email"].pricing-new__signup-cta-input {
    width: 100%;
  }

  .pricing-new__signup-cta-btn {
    width: 100%;
  }

  .pricing-new__signup-cta-benefits {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
}

/* =========================================================
   Testimonial With Data
   ========================================================= */

.twd__image-wrapper {
  max-width: 300px;
  max-height: 300px;
}

.twd__image-wrapper > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.twd__decor {
  width: 61px;
  height: 61px;
  color: #1b1b20;
  background-color: #f6f5f4;
  border: 1px solid #e2e2e4;
  border-radius: 50%;
  transform: translateY(-100%);
  margin-inline: auto;
}

.twd__decor > svg {
  width: 38px;
  height: auto;
}

.twd__avatar {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: cover;
}

@media (min-width: 32rem) {
  .twd__image-wrapper {
    max-width: 550px;
  }
}

@media (min-width: 48rem) {
  .twd__avatar {
    width: 4rem;
    height: 4rem;
  }
}

@media (min-width: 64rem) {
  .twd__image-wrapper {
    max-width: 300px;
    flex-shrink: 0;
    margin-inline: 0;
  }

  .twd__decor {
    width: fit-content;
    height: auto;
    background-color: transparent;
    border: none;
    border-radius: 0;
    transform: translateY(0);
    margin-inline: 0;
  }

  .twd__decor > svg {
    width: auto;
    height: 48px;
  }

  .twd__stats-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =========================================================
   Prefooter CTA
   ========================================================= */
.pricing-new__prefooter-cta {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* ============================================================
   Pricing Calculator
   ============================================================ */

.pricing-calculator__section-heading {
  margin: 0 0 0.75rem;
  color: var(--color-black-800);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 2rem;
  letter-spacing: -0.1px;
}

.pricing-calculator__usage-summary {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

@media (min-width: 56.25rem) {
  .pricing-calculator__usage-summary {
    margin-bottom: 4rem;
  }
}

.pricing-calculator__usage-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.pricing-calculator__pricing-breakdown {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.pricing-calculator__breakdown-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pricing-calculator__breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  color: var(--color-black-800);
  font-size: 0.875rem;
  line-height: 1.125rem;
  gap: 1.5rem;
}

.pricing-calculator__breakdown-extras {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pricing-calculator__total-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pricing-calculator__total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  gap: 1.5rem;
}

.pricing-calculator__total-label,
.pricing-calculator__total-value {
  color: var(--color-black-800);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 2rem;
  letter-spacing: -0.1px;
}

.pricing-calculator__plan-content {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.pricing-calculator__container {
  grid-template-columns: 1fr;
}

@media (min-width: 56.25rem) {
  .pricing-calculator__container {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    justify-content: space-between;
    align-items: start;
    gap: 2.125rem;
  }
}

.pricing-calculator__sliders {
  box-sizing: border-box;
}

@media (min-width: 56.25rem) {
  .pricing-calculator__sliders {
    width: 100%;
    min-width: 0;
  }
}

@media (min-width: 56.25rem) {
  .pricing-calculator__plan-display {
    width: 100%;
    min-width: 0;
    justify-self: end;
  }
}

.pricing-calculator__plan-display {
  background: #f5f1fa;
}

/* Slider item */

.pricing-calculator__slider-label {
  line-height: 1.75rem;
  letter-spacing: -0.0063rem;
}

.pricing-calculator__tooltip-text {
  position: relative;
  display: inline-block;
}

.pricing-calculator__tooltip-trigger:hover
  .pricing-calculator__tooltip-text::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  border-bottom: 1.5px dashed #c9c9cd;
  content: "";
}

.pricing-calculator__value-badge {
  color: var(--pricing-limit-purple);
  line-height: 1.125rem;
  padding: 0.45rem 0.35rem 0.3rem;
}

/* Slider track + fill + input */

.pricing-calculator__slider-track-wrapper {
  --thumb-size: 2rem;
  --track-height: 1.125rem;
  --slider-progress: 0%;

  position: relative;
  height: var(--thumb-size);
  margin-bottom: 0.125rem;
}

.pricing-calculator__slider-track-wrapper::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: var(--track-height);
  background: var(--color-purple-50);
  border-radius: 1rem;
  transform: translateY(-50%);
  content: "";
  pointer-events: none;
}

.pricing-calculator__slider-track-wrapper::before {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 1;
  width: var(--slider-progress);
  height: var(--track-height);
  background: linear-gradient(220deg, #5431a1 4.9%, #be93ff 94.81%);
  border-radius: 1rem 0 0 1rem;
  box-shadow:
    0 0.91px 3.642px 0 rgb(255 255 255 / 0.15) inset,
    0 -0.91px 3.642px 0 rgb(113 113 113 / 0.15) inset;
  transform: translateY(-50%);
  content: "";
  pointer-events: none;
}

.pricing-calculator__range {
  position: absolute;
  top: 0;
  left: -5px;
  z-index: 2;
  width: calc(100% + 10px);
  height: 100%;
  background: transparent;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  display: block;
  cursor: pointer;
}

.pricing-calculator__range::-webkit-slider-runnable-track {
  height: var(--track-height);
  background: transparent;
  border-radius: 1rem;
  -webkit-appearance: none;
}

.pricing-calculator__range::-moz-range-track {
  height: var(--track-height);
  background: transparent;
  border-radius: 1rem;
}

.pricing-calculator__range::-moz-range-progress {
  height: var(--track-height);
  background: linear-gradient(220deg, #5431a1 4.9%, #be93ff 94.81%);
  border-radius: 1rem 0 0 1rem;
  box-shadow:
    0 0.91px 3.642px 0 rgb(255 255 255 / 0.15) inset,
    0 -0.91px 3.642px 0 rgb(113 113 113 / 0.15) inset;
}

.pricing-calculator__range::-webkit-slider-thumb {
  position: relative;
  z-index: 3;
  width: var(--thumb-size);
  height: var(--thumb-size);
  margin-top: calc((var(--track-height) - var(--thumb-size)) / 2);
  background: #ae84f0;
  border: 4px solid var(--color-white);
  border-radius: 50%;
  -webkit-appearance: none;
  appearance: none;
}

.pricing-calculator__range::-moz-range-thumb {
  width: calc(var(--thumb-size) - 8px);
  height: calc(var(--thumb-size) - 8px);
  background: #ae84f0;
  border: 4px solid var(--color-white);
  border-radius: 50%;
}

.pricing-calculator__range:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px rgb(84 49 161 / 0.28);
}

.pricing-calculator__range:focus-visible::-moz-range-thumb {
  box-shadow: 0 0 0 3px rgb(84 49 161 / 0.28);
}

.pricing-calculator__slider-range-labels {
  line-height: 1rem;
}

/* Plan card */

.pricing-calculator__plan-card {
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    filter 0.3s ease;
  padding: 2rem 1.5rem;
}

@media (min-width: 70rem) {
  .pricing-calculator__plan-card {
    padding: 3rem;
  }
}

.pricing-calculator__plan-card--exit {
  opacity: 0;
  transform: translateY(-10px);
  filter: blur(4px);
  transition-duration: 0.15s;
}

.pricing-calculator__plan-card--enter {
  opacity: 0;
  transform: translateY(10px);
  filter: blur(4px);
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .pricing-calculator__plan-card {
    transition: none;
  }

  .pricing-calculator__plan-card--exit,
  .pricing-calculator__plan-card--enter {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

.pricing-calculator__plan-info {
  width: 9.375rem;
}

.pricing-calculator__plan-name {
  font-size: 2rem;
  line-height: 2.25rem;
  letter-spacing: -0.025rem;
}

.pricing-calculator__plan-desc {
  line-height: 1.125rem;
  max-width: 9.375rem;
}

.pricing-calculator__price-standard[hidden],
.pricing-calculator__price-custom[hidden] {
  display: none;
}

.pricing-calculator__price-val {
  font-size: 2rem;
  line-height: 2.25rem;
  letter-spacing: -0.025rem;
}

.pricing-calculator__price-custom .pricing-calculator__price-val {
  font-size: 1.5rem;
  line-height: 1.75rem;
  letter-spacing: -0.0063rem;
}

.pricing-calculator__price-meta {
  line-height: 1.125rem;
}

.pricing-calculator__plan-divider,
.pricing-calculator__breakdown-divider,
.pricing-calculator__total-divider {
  width: 100%;
  height: 1px;
}

.pricing-calculator__plan-summary {
  line-height: 1.5rem;
  margin-bottom: 1.5rem;
  max-width: 34rem;
}

.pricing-calculator__plan-summary > br {
  display: none;
}

.pricing-calculator__plan-summary > p {
  margin: 0;
}

.pricing-calculator__plan-limits
  > .pricing-calculator__limit-item
  > .pricing-calculator__limit-row {
  padding-bottom: 0;
}

.pricing-calculator__plan-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 1.5rem;
  row-gap: 0.125rem;
  margin-bottom: 1.5rem;
}

.pricing-calculator__plan-top .pricing-calculator__plan-name {
  grid-column: 1;
  grid-row: 1;
}

.pricing-calculator__plan-top .pricing-calculator__plan-desc {
  grid-column: 1;
  grid-row: 2;
}

.pricing-calculator__plan-top .pricing-calculator__price-row {
  display: contents;
}

.pricing-calculator__plan-top .pricing-calculator__price-standard:not([hidden]),
.pricing-calculator__plan-top .pricing-calculator__price-custom:not([hidden]) {
  display: contents;
}

.pricing-calculator__plan-top .pricing-calculator__price-val {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  text-align: right;
}

.pricing-calculator__plan-top .pricing-calculator__price-meta {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  text-align: right;
}

.pricing-calculator__plan-limits {
  margin-bottom: 0.75rem;
}

.pricing-calculator__extra-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.pricing-calculator__extra-label {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  color: var(--color-black-900);
  font-size: 0.875rem;
  line-height: 1.25rem;
  background-color: var(--color-purple-50);
  border: 1px solid var(--color-purple-100);
  border-radius: 6.25rem;
  cursor: default;
}

.pricing-calculator__limit-label {
  font-size: 0.875rem;
  line-height: 1.125rem;
}

.pricing-calculator__limit-value {
  padding: 0 0.3125rem 0.0625rem;
  color: #734dbb;
  font-family: "Roboto Mono", monospace;
  font-size: 0.75rem;
  line-height: 1.125rem;
  background: #fff;
  border: 0.5px solid var(--color-black-100);
  border-radius: 0.25rem;
}

/* Calculator summary */
.calc-summary > p {
  margin: 0.75rem 0 0;
  color: var(--color-black-700, #62626d);
  font-size: 1.125rem;
  line-height: 1.5rem;
}

@media (min-width: 36rem) {
  .calc-summary {
    max-width: 36rem;
  }
}

@media (min-width: 56.25rem) {
  .pricing-calculator__extra-labels {
    margin-bottom: 0;
  }
}

@media (min-width: 62.5rem) {
  .pricing-calculator__plan-summary {
    max-width: none;
  }

  .pricing-calculator__plan-summary > br {
    display: block;
  }
}

.pricing-new__compliance-badges img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

/* ============================================================
   Utility classes ported from chatbot's bold-frontend
   (u-text-p*, u-gap-*, u-mt-*, u-mb-* etc. missing in HD)
   ============================================================ */

/* Logo grid image fix — desktop */
.pricing-new__brands-grid img {
  width: auto;
  max-width: 140px;
  height: 48px;
  object-fit: contain;
}

/* Logo ticker — mobile marquee animation (no display:block — u-block class handles it) */
.pricing-new__brands-ticker {
  overflow: hidden;
  margin-left: -1rem;
  margin-right: -1rem;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.brands-ticker__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: brands-ticker 50s linear infinite;
}

.brands-ticker__item {
  flex-shrink: 0;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.brands-ticker__item img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

@keyframes brands-ticker {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  to {
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
  }
}

/**
 This file contains the styles for the pricing new page.
 It is extracted from ChatBot's pricing page, because HelpDesk doesn't use similar design system.
 This will be deleted soon, once we have extracted common pricing page for all static pages.
*/

/* Typography scale — exact chatbot values */
.u-text-p1 {
  font-size: 2.2628rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

@media screen and (min-width: 36rem) {
  .u-text-p1 {
    font-size: calc(0.1899rem + 5.758vw);
  }
}

@media screen and (min-width: 64rem) {
  .u-text-p1 {
    font-size: 4.5084rem;
  }
}

.u-text-p2 {
  font-size: 1.9676rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

@media screen and (min-width: 36rem) {
  .u-text-p2 {
    font-size: calc(0.6312rem + 3.7124vw);
  }
}

@media screen and (min-width: 64rem) {
  .u-text-p2 {
    font-size: 3.4155rem;
  }
}

.u-text-p3 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.u-text-p4 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.u-text-p5 {
  font-size: 1.25rem;
  font-weight: normal;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.u-text-p6 {
  font-size: 1.125rem;
  font-weight: normal;
  line-height: 1.55;
}

.u-text-p6-bold {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.55;
}

.u-text-p7 {
  font-size: 1rem;
  font-weight: normal;
  line-height: 1.5;
}

.u-text-p7-bold {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

.u-text-p8 {
  font-size: 0.875rem;
  font-weight: normal;
  line-height: 1.5;
}

.u-text-p8-bold {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
}

.u-text-p9 {
  font-size: 0.75rem;
  font-weight: normal;
  line-height: 1.4;
}

.u-text-p9-bold {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
}

/* Gap utilities */
.u-gap-3xs {
  gap: 0.25rem !important;
}

.u-gap-2xs {
  gap: 0.375rem !important;
}

.u-gap-xs {
  gap: 0.5rem !important;
}

.u-gap-sm {
  gap: 0.75rem !important;
}

.u-gap-md {
  gap: 1rem !important;
}

.u-gap-lg {
  gap: 1.5rem !important;
}

.u-gap-xl {
  gap: 2rem !important;
}

.u-gap-2xl {
  gap: 3rem !important;
}

.u-gap-3xl {
  gap: 4rem !important;
}

/* Margin utilities */
.u-m-0 {
  margin: 0 !important;
}

.u-mt-0 {
  margin-top: 0 !important;
}

.u-mb-0 {
  margin-bottom: 0 !important;
}

.u-mt-3xs {
  margin-top: 0.25rem !important;
}

.u-mb-3xs {
  margin-bottom: 0.25rem !important;
}

.u-mt-2xs {
  margin-top: 0.375rem !important;
}

.u-mb-2xs {
  margin-bottom: 0.375rem !important;
}

.u-mt-xs {
  margin-top: 0.5rem !important;
}

.u-mb-xs {
  margin-bottom: 0.5rem !important;
}

.u-mt-sm {
  margin-top: 0.75rem !important;
}

.u-mb-sm {
  margin-bottom: 0.75rem !important;
}

.u-mt-md {
  margin-top: 1rem !important;
}

.u-mb-md {
  margin-bottom: 1rem !important;
}

.u-mt-lg {
  margin-top: 1.5rem !important;
}

.u-mb-lg {
  margin-bottom: 1.5rem !important;
}

.u-mt-xl {
  margin-top: 2rem !important;
}

.u-mb-xl {
  margin-bottom: 2rem !important;
}

.u-mt-2xl {
  margin-top: 3rem !important;
}

.u-mb-2xl {
  margin-bottom: 3rem !important;
}

.u-mt-3xl {
  margin-top: 4rem !important;
}

.u-mb-3xl {
  margin-bottom: 4rem !important;
}

.u-mt-2 {
  margin-top: 0.5rem !important;
}

.u-mt-4 {
  margin-top: 1rem !important;
}

.u-mt-10 {
  margin-top: 2.5rem !important;
}

.u-mb-2 {
  margin-bottom: 0.5rem !important;
}

.u-mb-3 {
  margin-bottom: 0.75rem !important;
}

.u-mb-4 {
  margin-bottom: 1rem !important;
}

.u-mb-6 {
  margin-bottom: 1.5rem !important;
}

.u-mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

.u-my-0 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.u-my-lg {
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

/* Padding utilities */
.u-p-0 {
  padding: 0 !important;
}

.u-p-3xs {
  padding: 0.25rem !important;
}

.u-p-xs {
  padding: 0.5rem !important;
}

.u-p-sm {
  padding: 0.75rem !important;
}

.u-p-xl {
  padding: 2rem !important;
}

.u-pt-2 {
  padding-top: 0.5rem !important;
}

.u-pt-4 {
  padding-top: 1rem !important;
}

.u-pb-4 {
  padding-bottom: 1rem !important;
}

.u-pb-lg {
  padding-bottom: 1.5rem !important;
}

.u-pb-xl {
  padding-bottom: 2rem !important;
}

/* Text color */
.u-text-gray-100 {
  color: #1b1b20 !important;
}

.u-text-gray-400 {
  color: #767581 !important;
}

.u-text-gray-600 {
  color: #a3a3ac !important;
}

.u-text-white {
  color: #fff !important;
}

/* Font weight */
.u-font-medium {
  font-weight: 500 !important;
}

.u-font-bold {
  font-weight: bold !important;
}

.u-text-balance {
  text-wrap: balance;
}

/* Responsive flex overrides — must live in styles.css (loads after main.css) to win cascade */
@media (min-width: 64rem) {
  .lg\:u-flex-row {
    flex-direction: row !important;
  }

  .lg\:u-flex {
    display: flex !important;
  }

  .lg\:u-flex-col {
    flex-direction: column !important;
  }

  .lg\:u-justify-between {
    justify-content: space-between !important;
  }

  .lg\:u-items-stretch {
    align-items: stretch !important;
  }

  .lg\:u-text-left {
    text-align: left !important;
  }

  .lg\:u-hidden {
    display: none !important;
  }

  .lg\:u-block {
    display: block !important;
  }

  .lg\:u-inline {
    display: inline !important;
  }

  .lg\:u-grid {
    display: grid !important;
  }
}

/* List reset */
.u-list-none {
  list-style: none !important;
  padding-left: 0 !important;
}

/* Testimonial section: ensure visible light-gray background */
section.b--u-bg-black-25,
.b--u-bg-black-25 {
  background-color: #f5f5f6 !important;
}

/* cite: remove browser italic */
.u-not-italic {
  font-style: normal;
}

/* Border radius */
.u-rounded-md {
  border-radius: 0.75rem !important;
}

.u-rounded-lg {
  border-radius: 1rem !important;
}

.u-rounded-sl {
  border-radius: 1rem !important;
}

/* Image utilities */
.u-aspect-square {
  aspect-ratio: 1 / 1;
}

.u-object-cover {
  object-fit: cover;
  display: block;
  width: 100%;
  height: 100%;
}

.u-maxw-300 {
  max-width: 300px;
}

/* Blockquote utility */
.u-quotes-none {
  quotes: none;
}

/* Testimonial quote-mark badge — absolutely positioned over bottom of photo */
.testimonial-decor {
  position: absolute;
  bottom: 0;
  left: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 61px;
  height: 61px;
  background-color: #f6f5f4;
  border: 1px solid #e2e2e4;
  border-radius: 50%;
  transform: translate(-50%, 50%);
  z-index: 1;
}

.testimonial-decor svg {
  width: 38px;
  height: auto;
}

@media (min-width: 64rem) {
  .testimonial-decor {
    display: none;
  }
}

/* Button variants missing from helpdesk bundle */
.c-btn.v--light-outline {
  background-color: #fff;
  border-color: #d4d4d7;
  color: #0f0f10;
}

.c-btn.v--light-outline:hover {
  background-color: #fff;
  border-color: #0f0f10;
  color: #0f0f10;
}

.c-btn.v--md {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

/* Responsive gap */
@media (min-width: 64rem) {
  .lg\:u-gap-xl {
    gap: 2rem !important;
  }
}

/* Border */
.u-border {
  border: 1px solid #e2e2e4 !important;
}

/* Background */
.u-bg-white {
  background-color: #fff !important;
}

/* Calculator section wrapper border-radius */
section.pricing-calculator {
  border-radius: 1.5rem;
  overflow: hidden;
  padding: 2rem 1.5rem;
}

@media (min-width: 56.25rem) {
  section.pricing-calculator {
    padding: 3rem;
  }
}
