body[data-page="pricing"] {
  --pricing-ink: #08152f;
  --pricing-muted: #65738b;
  --pricing-line: #dbe3ef;
  --pricing-blue: #0d5bea;
  --pricing-blue-dark: #0847bd;
  --pricing-violet: #6d28d9;
  --pricing-violet-soft: #f5f1ff;
  --pricing-green: #079447;
  --pricing-green-soft: #effaf3;
  margin: 0;
  background: #fffdfa;
  color: var(--pricing-ink);
}

.pricing-page {
  width: min(calc(100% - 48px), 1600px);
  max-width: none;
  margin: 0 auto;
  padding: 18px 0 64px;
}

.pricing-hero {
  max-width: 980px;
  margin: 0 auto 14px;
  text-align: center;
}

.pricing-eyebrow {
  display: none;
}

.pricing-hero h1 {
  margin: 0;
  color: var(--pricing-ink);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 950;
  letter-spacing: -.045em;
  line-height: 1.12;
}

.pricing-hero>p:last-child {
  margin: 8px 0 0;
  color: var(--pricing-muted);
  font-size: 17px;
  line-height: 1.6;
}

.pricing-page .purchase-panel {
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.pricing-page .purchase-panel .pricing-tabs {
  width: min(100%, 620px);
  height: 54px;
  margin: 0 auto;
  padding: 3px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  border: 1px solid #cdd8e7;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(28, 54, 91, .04);
}

.pricing-page .purchase-panel .pricing-tabs button {
  position: relative;
  height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #22324d;
  font: 850 17px/1 inherit;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.pricing-page .purchase-panel .pricing-tabs button:after {
  display: none;
}

.pricing-page .purchase-panel .pricing-tabs button img {
  width: 21px;
  height: 21px;
  opacity: .8;
}

.pricing-page .purchase-panel .pricing-tabs button.active {
  background: var(--pricing-blue);
  color: #fff;
  box-shadow: 0 5px 14px rgba(13, 91, 234, .2);
}

.pricing-page .purchase-panel .pricing-tabs button.active img {
  filter: brightness(0) invert(1);
  opacity: 1;
}

.pricing-page .purchase-panel .pricing-tabs button:focus-visible {
  outline: 3px solid rgba(13, 91, 234, .24);
  outline-offset: 3px;
}

.pricing-mode-help {
  margin: 7px auto 16px;
  color: #56657d;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.pricing-page .purchase-content {
  padding: 0;
}

.pricing-page .purchase-heading {
  min-height: 24px;
  margin: 0 0 6px;
  justify-content: center;
}

.pricing-page .purchase-heading h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.pricing-page .preview-hint {
  color: #7a879b;
  font-size: 12px;
  font-weight: 750;
  text-align: center;
}

.pricing-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.pricing-card-grid.is-points {
  width: min(100%, 1120px);
  margin: 0 auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pricing-card {
  position: relative;
  min-width: 0;
  min-height: 668px;
  padding: 0;
  display: flex;
  gap: 0;
  flex-direction: column;
  border: 1px solid var(--pricing-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(25, 47, 82, .055);
  cursor: default;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.pricing-card.is-selected {
  border: 2px solid var(--pricing-blue);
  box-shadow: 0 16px 34px rgba(13, 91, 234, .13);
  transform: translateY(-4px);
}

.pricing-card.plan-row.is-selected {
  padding: 0;
}

.pricing-card.plan-row.is-previewed:not(.is-selected) {
  border-color: var(--pricing-violet);
  background: #fdfcff;
  box-shadow: 0 18px 36px rgba(109, 40, 217, .14);
  transform: translateY(-8px);
}

.pricing-card-grid.is-previewing .pricing-card.is-selected:not(.is-previewed) {
  box-shadow: 0 8px 20px rgba(13, 91, 234, .08);
}

.pricing-card:focus-within {
  outline: 3px solid rgba(13, 91, 234, .2);
  outline-offset: 3px;
}

.pricing-card-select {
  min-width: 0;
  height: 100%;
  padding: 22px 19px 14px;
  display: flex;
  flex: 1;
  flex-direction: column;
  cursor: pointer;
}

.pricing-card-select input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.pricing-card-ribbon,
.pricing-card-badge,
.card-preview-badge {
  position: absolute;
  z-index: 2;
  top: -15px;
  left: 50%;
  min-height: 30px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  transform: translateX(-50%);
}

.pricing-card-ribbon {
  background: var(--pricing-blue);
}

.pricing-card-badge {
  left: auto;
  right: 14px;
  padding: 0 9px;
  border-radius: 7px;
  background: #eee8ff;
  color: var(--pricing-violet);
  transform: none;
}

.card-preview-badge {
  display: none;
  background: var(--pricing-violet);
}

.pricing-card.is-previewed .card-preview-badge {
  display: inline-flex;
}

.pricing-card-icon {
  width: 46px;
  height: 46px;
  margin: 2px auto 10px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pricing-violet-soft);
}

.pricing-card-icon img {
  width: 24px;
  height: 24px;
  filter: invert(26%) sepia(90%) saturate(3797%) hue-rotate(252deg) brightness(86%) contrast(96%);
}

.pricing-card h3 {
  margin: 0;
  color: #263858;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.02em;
  text-align: center;
  text-wrap: balance;
}

.pricing-card.is-selected h3 {
  color: var(--pricing-blue);
}

.pricing-card-audience {
  min-height: 40px;
  margin: 7px 0 0;
  color: #6b778b;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
  text-align: center;
  text-wrap: pretty;
}

.pricing-card-price {
  min-height: 58px;
  margin: 13px 0 0;
  color: var(--pricing-ink);
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.pricing-card-price strong {
  font-size: 36px;
  font-weight: 950;
  letter-spacing: -.045em;
  line-height: 1;
}

.pricing-card-price small {
  margin-left: 3px;
  color: #35445d;
  font-size: 13px;
  font-weight: 750;
}

.pricing-card-total,
.pricing-card-points,
.pricing-card-saving,
.pricing-card-value {
  display: block;
  text-align: center;
}

.pricing-card-total {
  margin-top: 4px;
  color: #24344e;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}

.pricing-card-points {
  margin-top: 7px;
  color: #263952;
  font-size: 15px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.pricing-card-saving {
  min-height: 18px;
  margin-top: 6px;
  color: #52627a;
  font-size: 11.5px;
  font-weight: 750;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}

.pricing-card-value {
  margin-top: 3px;
  color: var(--pricing-violet);
  font-size: 11.5px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.pricing-card-action {
  width: 100%;
  min-height: 48px;
  margin: 16px 0 6px;
  padding: 0 12px;
  border: 1px solid #7c55ed;
  border-radius: 11px;
  background: #fff;
  color: var(--pricing-violet);
  font-family: inherit;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.3;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}

.pricing-card-footer {
  padding: 0 19px 18px;
}

.pricing-card-footer .pricing-card-action {
  box-sizing: border-box;
  margin: 0 0 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
}

.pricing-card-action:hover,
.pricing-card.is-selected .pricing-card-action {
  border-color: var(--pricing-blue);
  background: var(--pricing-blue);
  color: #fff;
}

.pricing-card-action:active {
  transform: translateY(1px);
}

.pricing-card-action:focus-visible {
  outline: 3px solid rgba(13, 91, 234, .25);
  outline-offset: 3px;
}

.pricing-card-term {
  min-height: 34px;
  color: #66748a;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-wrap: pretty;
}

.plan-benefit-groups {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e3e8f1;
}

.plan-benefit-group+.plan-benefit-group {
  margin-top: 10px;
}

.plan-benefit-group h4 {
  margin: 0 0 7px;
  padding: 6px 9px;
  border-radius: 8px;
  background: #f4f7fb;
  color: #354967;
  font-size: 12.5px;
  font-weight: 900;
  line-height: 1.4;
  text-wrap: balance;
}

.pricing-card.is-selected .plan-benefit-group h4 {
  background: #eef4ff;
  color: var(--pricing-blue-dark);
}

.plan-benefit-group ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 5px;
  list-style: none;
}

.plan-benefit-group li {
  min-width: 0;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  color: #23334d;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
  text-wrap: pretty;
}

.plan-benefit-group li img {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  filter: invert(27%) sepia(84%) saturate(4194%) hue-rotate(250deg) brightness(87%) contrast(100%);
}

.pricing-card-note {
  margin: auto 0 0;
  padding-top: 12px;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
}

.pricing-card.free-plan {
  align-self: stretch;
  border-color: #92d2ad;
  background: #fff;
  box-shadow: 0 8px 24px rgba(7, 148, 71, .04);
}

.pricing-card.free-plan .pricing-card-select {
  cursor: default;
}

.pricing-card.free-plan .pricing-card-ribbon {
  background: var(--pricing-green);
}

.pricing-card.free-plan .pricing-card-icon {
  background: var(--pricing-green-soft);
}

.pricing-card.free-plan .plan-benefit-group h4 {
  background: #f1faf5;
}

.pricing-card.free-plan .pricing-card-icon img,
.pricing-card.free-plan .plan-benefit-group li img {
  filter: invert(43%) sepia(80%) saturate(1102%) hue-rotate(104deg) brightness(86%) contrast(99%);
}

.pricing-card.free-plan h3,
.pricing-card.free-plan .plan-benefit-group h4 {
  color: var(--pricing-green);
}

.pricing-card.free-plan .pricing-card-action {
  border-color: var(--pricing-green);
  background: var(--pricing-green);
  color: #fff;
}

.pricing-card.free-plan .is-locked {
  color: #78869a;
}

.pricing-card.free-plan .is-locked img {
  filter: none;
  opacity: .45;
}

.pricing-card.points-plan {
  min-height: 540px;
}

.pricing-card.points-plan .pricing-card-icon {
  margin-top: 10px;
}

.pricing-card.points-plan .plan-benefit-groups {
  margin-top: 16px;
}

.pricing-card.points-plan.is-selected {
  border-color: var(--pricing-blue);
}

.pricing-card-grid>.pricing-state {
  grid-column: 1/-1;
  padding: 48px 0;
  color: var(--pricing-muted);
  text-align: center;
}

.pricing-live-region,
.pricing-page .purchase-value,
.pricing-page .pricing-buy {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.pricing-page .compact-credit-notice {
  width: min(100%, 900px);
  margin: 18px auto 0;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px 20px;
  border: 1px solid #cbd9ed;
  border-radius: 13px;
  background: #fff;
  color: #53627a;
  font-size: 11px;
  line-height: 1.45;
}

.pricing-page .compact-credit-notice[hidden] {
  display: none;
}

.pricing-page .compact-credit-notice strong {
  grid-column: 1/-1;
  color: #164f9e;
  font-size: 13px;
  text-align: center;
}

.pricing-page .purchase-trust {
  margin: 12px auto 0;
  color: #66748a;
  font-size: 11px;
  font-weight: 700;
}

.pricing-assist {
  width: min(100%, 1220px);
  margin: 18px auto 0;
  padding: 13px 20px;
  display: grid;
  grid-template-columns: auto minmax(220px, auto) minmax(230px, 1fr) auto;
  gap: 16px;
  align-items: center;
  border: 1px solid #c8d8ed;
  border-radius: 14px;
  background: #fff;
}

.pricing-assist>img {
  width: 33px;
  height: 33px;
  padding: 8px;
  border-radius: 50%;
  background: var(--pricing-violet-soft);
  filter: invert(27%) sepia(84%) saturate(4194%) hue-rotate(250deg) brightness(87%) contrast(100%);
}

.pricing-assist h2 {
  margin: 0;
  color: var(--pricing-ink);
  font-size: 16px;
}

.pricing-assist p {
  margin: 3px 0 0;
  color: var(--pricing-muted);
  font-size: 11px;
}

.pricing-assist button {
  min-height: 42px;
  padding: 0 18px;
  justify-self: start;
  border: 1px solid var(--pricing-violet);
  border-radius: 9px;
  background: #fff;
  color: var(--pricing-violet);
  font: 850 13px/1 inherit;
  cursor: pointer;
}

.pricing-assist button:hover {
  background: var(--pricing-violet);
  color: #fff;
}

.pricing-assist>span {
  color: #53627a;
  font-size: 11px;
  font-weight: 750;
  text-align: right;
}

.pricing-facts {
  width: min(100%, 900px);
  margin: 12px auto 0;
  padding: 11px 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #dde4ee;
  border-radius: 12px;
  background: #fff;
}

.pricing-facts span {
  min-height: 25px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #35445c;
  font-size: 11px;
  font-weight: 750;
  text-align: center;
}

.pricing-facts span+span {
  border-left: 1px solid #dbe2ec;
}

.pricing-facts img {
  width: 18px;
  height: 18px;
}

.pricing-page .payment-options {
  width: min(100%, 760px);
  margin: 18px auto 0;
  padding: 0;
  border: 1px solid #dde5ef;
  border-radius: 12px;
  background: #fff;
}

.pricing-page .payment-options summary {
  padding: 13px 16px;
  color: #4b5c75;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.pricing-page .payment-options .payment-profile-bar {
  margin: 0;
  padding: 0 14px 14px;
}

.pricing-page .payment-options .market-notice {
  margin: 0 14px 14px;
}

.pricing-page .agreement {
  margin-top: 12px;
}

.estimator-layer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  padding: 24px;
  align-items: center;
  justify-content: center;
  background: rgba(8, 21, 47, .68);
}

.estimator-layer.open {
  display: flex;
}

.estimator-box {
  width: min(100%, 610px);
  padding: 26px;
  border: 1px solid #dbe3ef;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(8, 21, 47, .25);
}

.estimator-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.estimator-head p {
  margin: 0 0 5px;
  color: var(--pricing-violet);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .05em;
}

.estimator-head h2 {
  margin: 0;
  color: var(--pricing-ink);
  font-size: 25px;
}

.estimator-head button {
  width: 36px;
  height: 36px;
  border: 1px solid #dbe3ef;
  border-radius: 50%;
  background: #fff;
  color: #53627a;
  font-size: 22px;
  cursor: pointer;
}

.estimator-form {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.estimator-form label {
  display: grid;
  gap: 7px;
  color: #34445d;
  font-size: 12px;
  font-weight: 800;
}

.estimator-form label:last-child {
  grid-column: 1/-1;
}

.estimator-form select,
.estimator-form input {
  width: 100%;
  min-height: 46px;
  box-sizing: border-box;
  padding: 0 12px;
  border: 1px solid #cbd7e7;
  border-radius: 9px;
  background: #fff;
  color: #17243a;
  font: 650 14px/1 inherit;
}

.estimator-result {
  margin-top: 17px;
  padding: 16px;
  border: 1px solid #c8d8f2;
  border-radius: 12px;
  background: #f6f9ff;
  text-align: center;
}

.estimator-result span,
.estimator-result strong,
.estimator-result p {
  display: block;
}

.estimator-result span {
  color: #68768b;
  font-size: 11px;
  font-weight: 750;
}

.estimator-result strong {
  margin-top: 4px;
  color: var(--pricing-blue);
  font-size: 30px;
  line-height: 1.15;
}

.estimator-result p {
  margin: 6px 0 0;
  color: #33445f;
  font-size: 13px;
  font-weight: 750;
}

.estimator-note {
  margin: 12px 0 0;
  color: #7b8798;
  font-size: 11px;
  line-height: 1.55;
}

.estimator-apply {
  width: 100%;
  min-height: 48px;
  margin-top: 16px;
  border: 0;
  border-radius: 10px;
  background: var(--pricing-blue);
  color: #fff;
  font: 900 15px/1 inherit;
  cursor: pointer;
}

@media (max-width: 1180px) {
  .pricing-page {
    width: min(calc(100% - 36px), 1040px);
  }

  .pricing-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .pricing-card-grid.is-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-card {
    min-height: 650px;
  }

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

  .pricing-assist>span {
    grid-column: 2/-1;
    text-align: left;
  }
}

@media (max-width: 780px) {
  .pricing-page {
    width: min(calc(100% - 28px), 680px);
    padding-top: 24px;
  }

  .pricing-hero {
    text-align: left;
  }

  .pricing-hero h1 {
    font-size: 34px;
  }

  .pricing-hero>p:last-child {
    font-size: 14px;
  }

  .pricing-page .purchase-panel .pricing-tabs {
    width: 100%;
  }

  .pricing-card-grid,
  .pricing-card-grid.is-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-card {
    min-height: 670px;
  }

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

  .pricing-assist button,
  .pricing-assist>span {
    grid-column: 1/-1;
    justify-self: stretch;
    text-align: center;
  }

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

  .pricing-facts span+span {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #dbe2ec;
    border-left: 0;
  }

  .pricing-page .compact-credit-notice {
    grid-template-columns: 1fr;
  }

  .estimator-form {
    grid-template-columns: 1fr;
  }

  .estimator-form label:last-child {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .pricing-page .purchase-panel .pricing-tabs button {
    padding-inline: 10px;
    font-size: 14px;
  }

  .pricing-card-grid,
  .pricing-card-grid.is-points {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    min-height: auto;
  }

  .pricing-card-select {
    padding: 24px 21px 17px;
  }

  .plan-benefit-group li {
    font-size: 12.5px;
  }

  .estimator-layer {
    padding: 12px;
    align-items: flex-end;
  }

  .estimator-box {
    max-height: 90dvh;
    overflow: auto;
    padding: 22px 18px;
  }
}

@media (hover: none), (pointer: coarse) {
  .pricing-card.plan-row.is-previewed:not(.is-selected) {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pricing-card,
  .pricing-card-action,
  .pricing-page .purchase-panel .pricing-tabs button {
    transition: none !important;
  }
}
