.pricing-page {
  background: #fcfaf4;
}

.pricing-page main > section {
  width: 100%;
}

.pricing-plans-section {
  height: 1362px;
  border-bottom: 1px solid #e9eaeb;
  background: #fcfaf4;
}

.pricing-intro,
.pricing-comparison-heading,
.pricing-perks-inner {
  width: min(calc(100% - 96px), 1632px);
  margin: 0 auto;
  border-right: 1px solid #e9eaeb;
  border-left: 1px solid #e9eaeb;
}

.pricing-intro {
  display: flex;
  height: 432px;
  align-items: flex-start;
  justify-content: center;
  padding-top: 94px;
}

.pricing-intro-inner {
  display: flex;
  width: min(100%, 1024px);
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.pricing-intro h1,
.pricing-comparison-heading h2,
.pricing-transfer h2,
.pricing-perks-inner h2 {
  font-size: 60px;
  line-height: 72px;
  font-weight: 500;
  letter-spacing: -1.2px;
}

.pricing-intro h1 {
  max-width: 742px;
}

.pricing-intro p,
.pricing-comparison-heading > p,
.pricing-perks-inner > p {
  max-width: 768px;
  color: #414651;
  font-size: 20px;
  line-height: 30px;
}

.pricing-intro p {
  margin-top: 16px;
}

.billing-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 6px;
  overflow: hidden;
  border: 1px solid #e9eaeb;
  border-radius: 6px;
  background: #faf6ec;
}

.billing-toggle button {
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #0f2040;
  font: 500 18px/24px "Plus Jakarta Sans", sans-serif;
  cursor: pointer;
  white-space: nowrap;
}

.billing-toggle button.active {
  background: #0f2040;
  color: #f5f6fa;
}

.pricing-tier-grid {
  display: grid;
  width: min(calc(100% - 96px), 1632px);
  height: 878px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #e9eaeb;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto 1fr;
}

.pricing-tier-card {
  display: grid;
  min-width: 0;
  border-left: 1px solid #e9eaeb;
  background: #faf6ec;
  grid-row: span 2;
  grid-template-rows: subgrid;
}

.pricing-tier-card:first-child {
  border-left: 0;
}

.tier-header {
  display: flex;
  height: auto;
  min-height: 334px;
  align-items: stretch;
  flex-direction: column;
  gap: 32px;
  padding: 32px;
  border-bottom: 1px solid #e9eaeb;
}

.tier-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tier-copy h2 {
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
}

.tier-copy > p {
  color: #414651;
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
}

.tier-price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.tier-price strong {
  color: #181d27;
  font-size: 60px;
  line-height: 72px;
  font-weight: 600;
  letter-spacing: -1.2px;
  white-space: nowrap;
}

.tier-price span {
  padding-bottom: 8px;
  color: #535862;
  font-size: 18px;
  line-height: 24px;
}

.tier-copy small {
  color: #a4a7ae;
  font-size: 12px;
  line-height: 18px;
}

.tier-header .button {
  width: 100%;
  margin-top: auto;
}

.tier-features {
  padding: 32px 32px 40px;
}

.tier-features h3 {
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
}

.tier-features ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 18px;
  line-height: 24px;
}

.tier-features li::before {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  background: url("assets/pricing-check.svg") center / 24px 24px no-repeat;
  content: "";
}

.pricing-transfer {
  height: auto;
  background: #ee6818;
  color: #fff;
}

.pricing-transfer-inner {
  display: grid;
  width: min(calc(100% - 96px), 1632px);
  min-height: 481px;
  align-items: center;
  margin: 0 auto;
  padding: 72px 0;
  grid-template-columns: minmax(0, 1fr) 574px;
  gap: 48px;
}

.pricing-transfer-copy {
  max-width: 1106px;
}

.pricing-transfer-copy h2 {
  max-width: 745px;
}

.pricing-transfer-copy > p {
  max-width: 768px;
  margin-top: 16px;
  font-size: 20px;
  line-height: 30px;
}

.pricing-transfer-copy .actions {
  margin-top: 38px;
  gap: 16px;
}

.savings-card {
  height: auto;
  align-self: center;
  padding: 32px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 25%);
  border-radius: 16px;
  background: rgb(255 255 255 / 15%);
  backdrop-filter: blur(12px);
}

.savings-card > div {
  display: flex;
  min-height: 59px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgb(255 255 255 / 30%);
  font-size: 15px;
  line-height: 20px;
}

.savings-card > div:first-child {
  min-height: 39px;
  align-items: flex-start;
}

.savings-card > div:last-child {
  border-bottom: 0;
}

.savings-card strong {
  font-weight: 400;
}

.savings-card .savings-total {
  align-items: flex-start;
  padding-top: 20px;
  font-weight: 700;
}

.savings-card .savings-total strong {
  font-weight: 700;
}

.pricing-comparison {
  height: 1866px;
  border: 1px solid #e9eaeb;
  background: #fcfaf4;
}

.pricing-comparison-heading {
  display: flex;
  height: 397px;
  align-items: center;
  flex-direction: column;
  padding-top: 94px;
  text-align: center;
}

.pricing-comparison-heading h2 {
  margin-top: 16px;
}

.pricing-comparison-heading > p {
  margin-top: 16px;
}

.pricing-table-wrap {
  width: min(calc(100% - 96px), 1632px);
  margin: 0 auto;
  overflow: visible;
  border: 1px solid #e9eaeb;
}

.pricing-table {
  width: 100%;
  height: auto;
  border-collapse: collapse;
  table-layout: fixed;
  color: #181d27;
}

.pricing-table .feature-column {
  width: 279px;
}

.pricing-table th,
.pricing-table td {
  height: 78px;
  padding: 0 24px;
  border: 0;
  border-top: 1px solid #e9eaeb;
  color: #181d27;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  text-align: center;
}

.pricing-table th:first-child {
  width: 279px;
  color: #181d27;
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  text-align: left;
}

.pricing-table thead th {
  height: 118px;
  border-top: 1px solid #e9eaeb;
}

.pricing-table thead th:not(:first-child) {
  padding: 20px 24px;
}

.pricing-table thead strong,
.pricing-table thead small,
.pricing-table thead em {
  display: block;
  font-style: normal;
}

.pricing-table thead strong {
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
}

.pricing-table thead small {
  font-size: 12px;
  line-height: 18px;
}

.pricing-table thead em {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.pricing-table thead th:nth-child(2) em {
  color: #e85c04;
}

.pricing-table .table-section th {
  position: sticky;
  z-index: 4;
  top: 0;
  width: auto;
  height: 64px;
  background: #faf6ec;
  box-shadow: 0 1px 0 #e9eaeb;
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: -0.24px;
}

.pricing-table td img {
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 auto;
}

.pricing-perks-cta {
  height: 488px;
  padding-top: 0;
}

.pricing-perks-inner {
  display: flex;
  height: 433px;
  align-items: center;
  flex-direction: column;
  padding-top: 60px;
  text-align: center;
}

.pricing-perks-inner h2 {
  max-width: 1024px;
  margin-top: 16px;
}

.pricing-perks-inner > p {
  margin-top: 16px;
}

.pricing-perks-inner .button {
  margin-top: 16px;
}

.pricing-faq {
  min-height: 523px;
  background: #0f2040;
}

.pricing-faq .faq-layout {
  width: min(calc(100% - 96px), 1632px);
  min-height: 523px;
  margin: 0 auto;
  padding: 72px 208px 70px;
  border: 1px solid #373a41;
  border-bottom: 0;
  grid-template-columns: 576px 576px;
  gap: 96px;
}

.pricing-faq .faq-layout h2 {
  font-size: 48px;
  line-height: 60px;
  letter-spacing: -0.96px;
}

.pricing-faq .accordion {
  min-width: 0;
}

.pricing-faq .faq-item:last-child {
  padding-bottom: 0;
}

.pricing-page footer {
  overflow: hidden;
}

@media (min-width: 1201px) and (max-width: 1339px) {
  /* Enterprise wraps in this range, so shared plan rows must follow the taller card. */
  .pricing-tier-grid {
    height: auto;
  }
}

@media (max-width: 1200px) {
  .pricing-plans-section,
  .pricing-transfer,
  .pricing-comparison,
  .pricing-perks-cta {
    height: auto;
  }

  .pricing-intro,
  .pricing-comparison-heading,
  .pricing-perks-inner {
    width: calc(100% - 96px);
    height: auto;
    padding: 72px 48px;
  }

  .pricing-tier-grid {
    width: calc(100% - 96px);
    height: auto;
  }

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

  .pricing-transfer-inner {
    width: calc(100% - 96px);
    height: auto;
    padding: 72px 0;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 44%);
  }

  .pricing-transfer-copy h2 {
    font-size: 48px;
    line-height: 60px;
  }

  .savings-card {
    width: 100%;
  }

  .pricing-comparison {
    padding-bottom: 64px;
  }

  .pricing-table-wrap {
    width: calc(100% - 96px);
    overflow-x: auto;
  }

  .pricing-table {
    min-width: 980px;
  }

  .pricing-faq .faq-layout {
    padding-right: 48px;
    padding-left: 48px;
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 761px) and (max-width: 1200px) {
  /* Let section labels stick to the viewport while the tablet table stays fully visible. */
  .pricing-table-wrap {
    overflow: visible;
  }

  .pricing-table {
    min-width: 0;
  }
}

@media (max-width: 760px) {
  .pricing-intro,
  .pricing-comparison-heading,
  .pricing-perks-inner {
    width: 100%;
    padding: 72px 20px;
    border-right: 0;
    border-left: 0;
  }

  .pricing-intro h1,
  .pricing-comparison-heading h2,
  .pricing-perks-inner h2,
  .pricing-transfer-copy h2 {
    font-size: 38px;
    line-height: 48px;
    letter-spacing: -0.76px;
  }

  .pricing-intro p,
  .pricing-comparison-heading > p,
  .pricing-perks-inner > p,
  .pricing-transfer-copy > p {
    font-size: 17px;
    line-height: 26px;
  }

  .billing-toggle {
    width: 100%;
    align-items: stretch;
  }

  .billing-toggle button {
    min-width: 0;
    height: auto;
    flex: 1;
    padding: 12px 10px;
    white-space: normal;
  }

  .pricing-tier-grid {
    width: 100%;
    border-right: 0;
    border-left: 0;
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .pricing-tier-card {
    display: block;
    border-left: 0;
    grid-row: auto;
  }

  .pricing-tier-card + .pricing-tier-card {
    border-top: 1px solid #e9eaeb;
  }

  .tier-header {
    height: auto;
    min-height: 334px;
    padding: 32px 20px;
  }

  .tier-features {
    padding: 32px 20px 40px;
  }

  .tier-price strong {
    font-size: 52px;
    line-height: 64px;
  }

  .pricing-transfer-inner {
    display: block;
    width: 100%;
    padding: 72px 20px;
  }

  .pricing-transfer-copy .actions {
    align-items: stretch;
    flex-direction: column;
    margin-top: 32px;
  }

  .pricing-transfer-copy .button {
    width: 100%;
  }

  .savings-card {
    height: auto;
    margin-top: 48px;
    padding: 24px;
  }

  .savings-card > div {
    gap: 24px;
  }

  .pricing-comparison {
    padding-bottom: 40px;
  }

  .pricing-table-wrap {
    width: 100%;
    overflow: visible;
    border-right: 0;
    border-left: 0;
  }

  .pricing-table {
    min-width: 0;
  }

  .pricing-table .feature-column,
  .pricing-table tr:not(.table-section) > th:first-child {
    width: 44%;
  }

  .pricing-table th,
  .pricing-table td {
    height: 78px;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 12px;
    line-height: 18px;
  }

  .pricing-table tr:not(.table-section) > th:first-child {
    padding-right: 12px;
    padding-left: 16px;
    font-size: 14px;
    line-height: 20px;
  }

  .pricing-table thead th:not(:first-child) {
    padding: 16px 6px;
  }

  .pricing-table thead strong {
    font-size: 18px;
    line-height: 24px;
  }

  .pricing-table .table-section th {
    width: auto;
    padding-right: 20px;
    padding-left: 20px;
    font-size: 20px;
    line-height: 28px;
  }

  .pricing-faq .faq-layout {
    width: 100%;
    min-height: 0;
    padding: 72px 20px;
    border-right: 0;
    border-left: 0;
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .pricing-faq .faq-layout h2 {
    font-size: 42px;
    line-height: 52px;
  }
}

/* ===== Single-plan pricing redesign (v4) ===== */
.pricing-hero {
  position: relative;
  height: 1032px;
  padding: 0;
  background: #fcfaf4;
  box-shadow: inset 0 -1px 0 #e9eaeb;
}
.pricing-hero::before {
  position: absolute;
  top: 0;
  bottom: 1px;
  left: 50%;
  width: min(calc(100% - 96px), 1520px);
  border-right: 1px solid #e9eaeb;
  border-left: 1px solid #e9eaeb;
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}
.pricing-hero-box {
  position: absolute;
  top: 181px;
  left: 50%;
  display: flex;
  width: min(calc(100% - 96px), 1520px);
  height: 710px;
  align-items: flex-start;
  gap: 32px;
  margin: 0;
  overflow: hidden;
  background: #fcfaf4;
  border: 0;
  box-shadow: inset 0 0 0 1px #e9eaeb;
  transform: translateX(-50%);
}
.pricing-hero-copy {
  flex: 0 0 720px;
  max-width: 720px;
  padding: 24px 48px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.pricing-hero-heading {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.pricing-hero-heading h1 {
  font-size: 72px;
  line-height: 90px;
  letter-spacing: -1.44px;
  font-weight: 600;
  color: var(--ink);
}
.pricing-hero-heading p {
  font-size: 20px;
  line-height: 30px;
  color: #717680;
}
.interval-toggle {
  display: inline-flex;
  width: 425px;
  align-self: flex-start;
  gap: 10px;
  padding: 5px;
  background: var(--cream);
  border: 1px solid #e9eaeb;
  border-radius: 6px;
}
.interval-toggle button {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 12px 20px;
  border-radius: 6px;
  font: 500 16px/24px "Plus Jakarta Sans", sans-serif;
  color: #0f2040;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.interval-toggle button.active {
  background: var(--navy);
  color: #f5f6fa;
}

@media (min-width: 1101px) {
  .interval-toggle button[data-interval="2year"] {
    width: 129px;
  }
  .interval-toggle button[data-interval="1year"] {
    width: 126px;
  }
  .interval-toggle button[data-interval="monthly"] {
    width: 138px;
  }
}

.plan-card {
  flex: 1 1 0;
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border-left: 0;
  box-shadow: inset 1px 0 0 #e9eaeb;
}
.plan-card-head {
  padding: 32px;
  border-bottom: 0;
  box-shadow: inset 0 -1px 0 #e9eaeb;
}
.plan-card-title {
  display: flex;
  align-items: center;
  gap: 16px;
}
.plan-card-title h2 {
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  color: var(--ink);
}
.plan-subtitle {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #414651;
}
.plan-price-row {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-top: 16px;
}
.plan-price-row strong {
  font-size: 60px;
  line-height: 72px;
  font-weight: 600;
  letter-spacing: -1.2px;
  color: var(--ink);
}
.plan-price-row span {
  padding-bottom: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #535862;
}
.plan-billing {
  margin-top: 16px;
  font-size: 12px;
  line-height: 18px;
  color: #a4a7ae;
}
.plan-billing s {
  margin-right: 4px;
  color: #a4a7ae;
}
.plan-cta {
  width: 100%;
  margin-top: 32px;
  font-size: 16px;
}
.plan-features {
  list-style: none;
  margin: 0;
  padding: 32px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
}
.plan-features img {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
}

.pricing-transfer-band {
  padding: 80px 48px;
  background: #f5660d;
  color: #fff;
}
.pricing-transfer-band-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: 64px;
  align-items: center;
}
.ptb-copy h2 {
  font-size: 48px;
  line-height: 58px;
  letter-spacing: -0.96px;
  font-weight: 600;
}
.ptb-copy p {
  margin-top: 20px;
  max-width: 520px;
  font-size: 18px;
  line-height: 28px;
  color: rgba(255, 255, 255, 0.88);
}
.ptb-copy .button {
  margin-top: 32px;
}
.ptb-copy .button-primary {
  background: var(--navy);
  color: #fff;
}
.ptb-savings {
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
}
.ptb-savings > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 18px;
}
.ptb-savings > div:last-child {
  border-bottom: 0;
}
.ptb-savings span {
  color: rgba(255, 255, 255, 0.85);
}
.ptb-savings strong {
  font-weight: 600;
}
.ptb-total strong {
  font-size: 18px;
}

.pricing-save {
  padding: 96px 48px;
}
.pricing-save-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.pricing-save-inner h2 {
  margin-top: 16px;
  font-size: 48px;
  line-height: 58px;
  letter-spacing: -0.96px;
  font-weight: 600;
}
.pricing-save-inner p {
  margin-top: 20px;
  font-size: 18px;
  line-height: 28px;
  color: #414651;
}
.pricing-save-inner .button {
  margin-top: 32px;
}

@media (max-width: 1100px) {
  .pricing-hero {
    height: auto;
    padding: 64px 48px;
    box-shadow: none;
  }
  .pricing-hero::before {
    display: none;
  }
  .pricing-hero-box {
    position: relative;
    top: auto;
    left: auto;
    width: min(100%, 1632px);
    height: auto;
    flex-direction: column;
    gap: 0;
    margin: 0 auto;
    transform: none;
  }
  .pricing-hero-copy {
    flex-basis: auto;
    max-width: none;
    width: 100%;
  }
  .plan-card {
    width: 100%;
    box-shadow: inset 0 1px 0 #e9eaeb;
  }
  .pricing-transfer-band-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 760px) {
  .pricing-hero {
    padding: 40px 20px;
  }
  .pricing-hero-copy {
    padding: 24px;
    gap: 32px;
  }
  .pricing-hero-heading h1 {
    font-size: 44px;
    line-height: 52px;
    letter-spacing: -0.5px;
  }
  .pricing-hero-heading p {
    font-size: 18px;
    line-height: 28px;
  }
  .interval-toggle {
    display: flex;
    width: 100%;
  }
  .interval-toggle button {
    flex: 1;
    padding: 12px 8px;
  }
  .plan-price-row strong {
    font-size: 48px;
    line-height: 56px;
  }
  .pricing-transfer-band {
    padding: 56px 20px;
  }
  .ptb-copy h2 {
    font-size: 34px;
    line-height: 42px;
  }
  .pricing-save {
    padding: 64px 20px;
  }
  .pricing-save-inner h2 {
    font-size: 32px;
    line-height: 40px;
  }
}

@media (max-width: 480px) {
  .interval-toggle {
    gap: 2px;
    padding: 4px;
  }
  .interval-toggle button {
    min-width: 0;
    padding: 12px 4px;
    overflow: hidden;
    font-size: 13px;
    line-height: 20px;
    text-overflow: clip;
  }
}
