.mt-pricing-page {
  --mt-pricing-purple: #7139d1;
  --mt-pricing-ink: #141020;
  background: #f9f8fd;
  color: var(--mt-pricing-ink);
  font-family: "Poppins", sans-serif;
  overflow: hidden;
}

.mt-pricing-main {
  min-height: 100vh;
  padding-top: 78px;
  background: #ffffff;
}

.mt-pricing-hero {
  align-items: center;
  background:
    url('../images/pricing/hero-cloud-left.png') left -20px center / clamp(470px, 34vw, 690px) auto no-repeat,
    url('../images/pricing/hero-cloud-right.png') right -20px center / clamp(490px, 35vw, 720px) auto no-repeat;
  display: flex;
  min-height: 455px;
  padding: 74px 24px 64px;
  position: relative;
  text-align: center;
}

.mt-pricing-hero::before,
.mt-pricing-hero::after {
  background: rgba(166, 140, 224, .16);
  border-radius: 50%;
  content: "";
  filter: blur(44px);
  height: 210px;
  pointer-events: none;
  position: absolute;
  width: 210px;
}

.mt-pricing-hero::before { left: 8%; top: 24%; }
.mt-pricing-hero::after { bottom: 4%; right: 8%; }

.mt-pricing-hero__inner {
  margin: 0 auto;
  max-width: 1480px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.mt-pricing-trial-pill {
  background: linear-gradient(90deg, #eadcf7, #e5d8f4);
  border-radius: 999px;
  color: var(--mt-pricing-purple);
  display: inline-flex;
  font-size: clamp(14px, 1.25vw, 20px);
  font-weight: 600;
  gap: 7px;
  line-height: 1.3;
  margin: 0 0 31px;
  padding: 12px 30px;
}

.mt-pricing-hero h1 {
  color: #050505;
  font-size: clamp(40px, 4.45vw, 72px);
  font-weight: 600;
  letter-spacing: -2.8px;
  line-height: 1.12;
  margin: 0 auto;
}

.mt-pricing-hero h1 span { color: var(--mt-pricing-purple); }

.mt-pricing-hero__copy {
  color: #3d3942;
  font-size: clamp(17px, 1.55vw, 25px);
  font-weight: 400;
  line-height: 1.55;
  margin: 31px auto 0;
}

.mt-pricing-plans {
  padding: 86px 24px 102px;
  position: relative;
}

.mt-pricing-plans__glow {
  background: radial-gradient(circle, rgba(125, 53, 205, .28), transparent 68%);
  filter: blur(22px);
  height: 420px;
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: 16%;
  transform: translateX(-50%);
  width: min(95vw, 1480px);
}

.mt-pricing-grid {
  background:
    radial-gradient(circle at 82% 2%, rgba(167, 74, 207, .42), transparent 27%),
    radial-gradient(circle at 8% 92%, rgba(138, 42, 191, .36), transparent 25%),
    #16072c;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 40px;
  box-shadow: 0 30px 90px rgba(53, 14, 88, .18);
  display: grid;
  gap: clamp(34px, 5.8vw, 92px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1510px;
  padding: clamp(70px, 6vw, 102px) clamp(50px, 7vw, 112px);
  position: relative;
}

.mt-price-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .05));
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 43px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 22px 44px rgba(5, 0, 22, .20);
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 835px;
  overflow: hidden;
  padding: 22px;
}

.mt-price-card__summary {
  background: linear-gradient(110deg, #7136d9 0%, #26113e 100%);
  border-radius: 35px;
  min-height: 290px;
  padding: 38px 37px;
}

.mt-price-card--yearly .mt-price-card__summary {
  background: linear-gradient(110deg, #c862dc 0%, #24113e 100%);
}

.mt-price-card__eyebrow-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.mt-price-card__eyebrow {
  color: rgba(255, 255, 255, .66);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 2px;
  margin: 0;
  text-transform: uppercase;
}

.mt-price-badge {
  border-radius: 999px;
  color: #17121c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1;
  padding: 8px 12px;
  text-transform: uppercase;
}

.mt-price-badge--recommended { background: #f4fb48; }
.mt-price-badge--value { background: #76f05c; }

.mt-price-card__price-row {
  align-items: baseline;
  display: flex;
  margin-top: 10px;
}

.mt-price-card__price-row strong {
  font-size: clamp(58px, 5vw, 82px);
  font-weight: 500;
  letter-spacing: -4px;
  line-height: 1;
}

.mt-price-card__price-row span {
  color: rgba(255, 255, 255, .68);
  font-size: clamp(18px, 1.55vw, 26px);
  font-style: italic;
  margin-left: 7px;
}

.mt-price-card__lead {
  color: rgba(255, 255, 255, .94);
  font-size: clamp(16px, 1.35vw, 22px);
  font-weight: 600;
  line-height: 1.45;
  margin: 36px 0 0;
}

.mt-price-card__body {
  flex: 1;
  padding: 42px 35px 25px;
}

.mt-price-card__includes {
  color: rgba(255, 255, 255, .75);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 21px;
}

.mt-price-features {
  display: grid;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mt-price-features li {
  color: rgba(255, 255, 255, .74);
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.45;
  padding-left: 33px;
  position: relative;
}

.mt-price-features li::before {
  color: #c894ff;
  content: "✓";
  font-size: 22px;
  font-weight: 800;
  left: 0;
  line-height: 1;
  position: absolute;
  top: 1px;
}

.mt-price-card__footer {
  align-items: center;
  display: flex;
  flex-direction: column;
  padding: 0 35px 18px;
}

.mt-pricing-page .eb-btn-cta {
  align-items: center;
  background: linear-gradient(94deg, #7239d1 0%, #f741eb 100.42%);
  border: 0;
  border-radius: 999px;
  color: #fff;
  display: flex;
  font-size: clamp(17px, 1.25vw, 21px);
  font-weight: 600;
  height: 68px;
  justify-content: center;
  overflow: hidden;
  padding: 0 9px;
  position: relative;
  text-decoration: none;
  transition: background .45s ease, filter .45s ease, transform .45s ease;
  white-space: nowrap;
}

.mt-pricing-page .eb-btn-cta__text {
  flex: 1;
  padding-left: 16px;
  padding-right: 72px;
  text-align: center;
  transition: color .45s ease, padding-left .45s ease, padding-right .45s ease;
  z-index: 1;
}

.mt-pricing-page .eb-btn-cta__icon {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  transition: right .45s cubic-bezier(.4, 0, .2, 1), left .45s cubic-bezier(.4, 0, .2, 1);
  z-index: 1;
}

.mt-pricing-page .eb-btn-cta__icon svg {
  height: 52px;
  width: 52px;
}

.mt-pricing-page .eb-btn-cta:hover {
  background: #fff;
  color: #f0f;
  filter: drop-shadow(0 0 18px rgba(127, 0, 255, .45));
  transform: translateY(-2px);
}

.mt-pricing-page .eb-btn-cta:hover .eb-btn-cta__text {
  color: #f0f;
  padding-left: 72px;
  padding-right: 16px;
}

.mt-pricing-page .eb-btn-cta:hover .eb-btn-cta__icon {
  /* Slide the arrow all the way to the left end by animating the SAME
     property (right). Switching to left/auto can't be transitioned. */
  right: calc(100% - 52px - 8px);
}

.mt-pricing-page .eb-btn-cta:hover .eb-btn-cta__icon path,
.mt-pricing-page .eb-btn-cta:hover .eb-btn-cta__icon rect {
  stroke: #f0f;
}

/* Tactile press + keyboard focus feedback (complements the hover animation) */
.mt-pricing-page .eb-btn-cta:active {
  transform: translateY(0) scale(.985);
  transition-duration: .12s;
}

.mt-pricing-page .eb-btn-cta:focus-visible {
  outline: 3px solid #c894ff;
  outline-offset: 3px;
}

/* Monthly plan CTA uses a neutral grey fill (hover still flips to white) */
.mt-pricing-page .mt-price-card--monthly .eb-btn-cta {
  background: #727272;
}

.mt-pricing-page .mt-price-card--monthly .eb-btn-cta:hover {
  background: #fff;
}

.mt-price-card__footer p {
  color: rgba(255, 255, 255, .66);
  font-size: 13px;
  margin: 12px 0 0;
  text-align: center;
}

.mt-included {
  padding: clamp(90px, 9vw, 150px) 24px;
}

.mt-included__inner {
  display: grid;
  gap: clamp(52px, 6vw, 100px);
  grid-template-columns: minmax(280px, .82fr) minmax(0, 2.18fr);
  margin: 0 auto;
  max-width: 1510px;
}

.mt-included__intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 815px;
  padding: 6px 0 2px;
}

.mt-included__intro h2 {
  color: #050505;
  font-size: clamp(48px, 4.1vw, 68px);
  font-weight: 400;
  letter-spacing: -2.5px;
  line-height: 1.13;
  margin: 0;
}

.mt-included__intro h2 strong { font-weight: 600; }

.mt-included__rule {
  background: #7139d1;
  border-radius: 999px;
  display: block;
  height: 9px;
  margin-top: 82px;
  width: 118px;
}

.mt-included__intro > p {
  color: #6a686b;
  font-size: clamp(18px, 1.25vw, 22px);
  line-height: 1.55;
  margin: 0;
  max-width: 390px;
}

.mt-included__mosaic {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: 300px 166px 300px;
}

.mt-included-shot,
.mt-included-card {
  border-radius: 27px;
  margin: 0;
  overflow: hidden;
}

.mt-included-shot {
  background: #f4f0ff;
}

.mt-included-shot img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.mt-included-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px 26px;
  position: relative;
}

.mt-included-card::before {
  background: rgba(255, 255, 255, .16);
  border-radius: 34px;
  content: "";
  height: 255px;
  position: absolute;
  right: -112px;
  top: -66px;
  transform: rotate(34deg);
  width: 180px;
}

.mt-included-card h3 {
  color: #06050a;
  font-size: clamp(27px, 2vw, 34px);
  font-weight: 600;
  letter-spacing: -1px;
  margin: 0 0 24px;
  position: relative;
}

.mt-included-card p {
  color: #17121d;
  font-size: clamp(15px, 1.12vw, 18px);
  line-height: 1.36;
  margin: 0;
  position: relative;
}

.mt-included-card--productivity {
  background: #d9caf7;
  grid-column: 1;
  grid-row: 2 / 4;
}

.mt-included-card--gamification {
  background: #edd1fa;
  grid-column: 2;
  grid-row: 1 / 3;
}

.mt-included-card--collaboration {
  background: #c8c7f6;
  grid-column: 3;
  grid-row: 2 / 4;
}

.mt-included-shot--productivity { grid-column: 1; grid-row: 1; }
.mt-included-shot--gamification { grid-column: 2; grid-row: 3; }
.mt-included-shot--collaboration { grid-column: 3; grid-row: 1; }

.mt-audience {
  padding: clamp(92px, 9vw, 150px) 24px clamp(105px, 10vw, 165px);
}

.mt-audience__inner {
  margin: 0 auto;
  max-width: 1510px;
}

.mt-audience__header {
  margin: 0 auto clamp(58px, 6vw, 92px);
  text-align: center;
}

.mt-audience__header > p {
  color: #242126;
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 600;
  letter-spacing: 5px;
  margin: 0 0 35px;
  text-transform: uppercase;
}

.mt-audience__header h2 {
  color: #7139d1;
  font-size: clamp(43px, 4.3vw, 68px);
  font-weight: 400;
  letter-spacing: -2px;
  line-height: 1.15;
  margin: 0;
}

.mt-audience__header h2 strong { font-weight: 600; }

.mt-audience__grid {
  display: grid;
  gap: 38px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mt-audience-column {
  display: grid;
  gap: 35px;
  grid-template-rows: 238px minmax(385px, auto);
}

.mt-audience-banner {
  background: linear-gradient(105deg, #7139d1 0%, #140823 58%, #010103 100%);
  border: 1px solid rgba(113, 57, 209, .55);
  border-radius: 19px;
  color: #fff;
  overflow: hidden;
  position: relative;
}

.mt-audience-banner h3 {
  color: #fff;
  font-size: clamp(29px, 2.4vw, 40px);
  font-weight: 600;
  left: 9.5%;
  letter-spacing: -1px;
  line-height: 1.2;
  margin: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}

.mt-audience-banner--individual > img {
  bottom: 0;
  height: 94%;
  object-fit: contain;
  position: absolute;
  right: 7%;
  width: 34%;
  z-index: 2;
}

.mt-audience-team {
  bottom: 0;
  height: 100%;
  position: absolute;
  right: 2%;
  width: 48%;
}

.mt-audience-team img {
  bottom: 0;
  object-fit: contain;
  object-position: center bottom;
  position: absolute;
}

.mt-audience-team__left {
  height: 96%;
  left: -8%;
  width: 88%;
  z-index: 1;
}

.mt-audience-team__right {
  height: 94%;
  right: -2%;
  width: 64%;
  z-index: 1;
}

.mt-audience-team__center {
  height: 96%;
  left: 20%;
  width: 64%;
  z-index: 2;
}

.mt-audience-copy {
  background: #f8f5ff;
  border: 1.5px solid #c7a6ff;
  border-radius: 19px;
  padding: clamp(44px, 4vw, 68px) clamp(42px, 4.4vw, 70px);
}

.mt-audience-copy > p {
  color: #4e4a54;
  font-size: clamp(16px, 1.25vw, 20px);
  font-style: italic;
  line-height: 1.45;
  margin: 0 0 39px;
}

.mt-audience-copy ul {
  color: #2f2b34;
  display: grid;
  font-size: clamp(15px, 1.15vw, 18px);
  font-weight: 500;
  gap: 12px;
  line-height: 1.35;
  margin: 0;
  padding-left: 27px;
}

.mt-workflow {
  padding: 48px 24px 108px;
}

.mt-workflow__panel {
  background: #17092E;
  border-radius: 46px;
  box-sizing: border-box;
  color: #fff;
  margin: 0 auto;
  max-width: 1510px;
  min-height: 790px;
  overflow: hidden;
  padding: clamp(72px, 6vw, 104px) clamp(48px, 7vw, 108px) 100px;
}

.mt-workflow__header {
  align-items: start;
  display: grid;
  gap: 60px;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  margin-bottom: 104px;
}

.mt-workflow__header h2 {
  color: #fff;
  font-size: clamp(42px, 4vw, 60px);
  font-weight: 400;
  letter-spacing: -1.8px;
  line-height: 1.2;
  margin: 0;
}

.mt-workflow__header h2 strong { font-weight: 600; }

.mt-workflow__header p {
  color: #d5c2f4;
  font-size: clamp(19px, 1.55vw, 25px);
  line-height: 1.35;
  margin: 4px 0 0;
  text-align: end;
}

.mt-workflow__cards {
  --mt-workflow-card-gap: 30px;
  display: flex;
  gap: var(--mt-workflow-card-gap);
  overflow-x: auto;
  overflow-y: hidden !important;
  overscroll-behavior-inline: contain;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.mt-workflow__cards::-webkit-scrollbar {
  display: none;
}

.mt-workflow-card {
  background: #51515133;
  border: 1px solid rgba(213, 194, 244, .35);
  border-radius: 46px;
  box-sizing: border-box;
  /* Show 3 full cards + a half "peek" of the 4th to hint the scroll (matches Figma) */
  flex: 0 0 calc((100% - 3 * var(--mt-workflow-card-gap)) / 3.2);
  min-height: 385px;
  padding: 54px 42px 45px;
  scroll-snap-align: start;
}

.mt-workflow-card img {
  display: block;
  height: 82px;
  margin: 0 0 35px;
  object-fit: contain;
  object-position: left center;
  width: 82px;
}

.mt-workflow-card h3 {
  color: #fff;
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 25px;
}

.mt-workflow-card p {
  color: #fff;
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.4;
  margin: 0;
}

.mt-pricing-final-cta {
  background:
    url('../images/pricing/cta-cloud-background.png') center / cover no-repeat;
  padding: 90px 24px 112px;
}

.mt-pricing-final-cta__panel {
  align-items: center;
  background: rgba(238, 229, 251, .82);
  border-radius: 180px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  max-width: 1510px;
  min-height: 410px;
  overflow: hidden;
  padding: 62px 180px;
  position: relative;
}

.mt-pricing-final-cta__content {
  align-items: center;
  display: flex;
  flex-direction: column;
  position: relative;
  text-align: center;
  z-index: 2;
}

.mt-pricing-final-cta__content h2 {
  color: #7139d1;
  font-size: clamp(38px, 3.6vw, 57px);
  font-weight: 600;
  letter-spacing: -1.7px;
  line-height: 1.16;
  margin: 0 0 25px;
}

.mt-pricing-final-cta__content > p {
  color: #37323c;
  font-size: clamp(18px, 1.55vw, 25px);
  line-height: 1.4;
  margin: 0 0 25px;
}

.mt-pricing-final-cta .eb-btn-cta {
  font-size: clamp(19px, 1.65vw, 27px);
  height: 84px;
  max-width: 475px;
  width: 100%;
}

.mt-pricing-final-cta .eb-btn-cta__icon svg {
  height: 66px;
  width: 66px;
}

/* The icon here is 66px (not the base 52px), so the hover slide must match —
   otherwise the arrow ring is pushed past the pill edge and clipped. */
.mt-pricing-final-cta .eb-btn-cta:hover .eb-btn-cta__icon {
  right: calc(100% - 66px - 8px);
}

.mt-pricing-final-cta__ruby {
  height: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(66px, 5.2vw, 92px);
  z-index: 1;
}

.mt-pricing-final-cta__ruby--left { left: 7.5%; }
.mt-pricing-final-cta__ruby--right { right: 7.5%; }

.mt-pricing-faq {
  background-image: url('../images/pricing/faq-cloud-bottom-right.png');
  background-position: right -120px bottom -110px;
  background-repeat: no-repeat;
  background-size: clamp(380px, 27vw, 470px) auto;
  overflow: hidden;
  padding: 76px 24px 130px;
  position: relative;
}

.mt-pricing-faq::before {
  background: url('../images/pricing/faq-cloud-left.png') center / contain no-repeat;
  content: "";
  aspect-ratio: 1200 / 1047;
  left: -285px;
  pointer-events: none;
  position: absolute;
  top: 245px;
  width: clamp(570px, 43vw, 720px);
  z-index: 0;
}

.mt-pricing-faq::after {
  aspect-ratio: 836 / 1400;
  background: url('../images/pricing/faq-cloud-lower-left.png') center / contain no-repeat;
  bottom: -115px;
  content: "";
  left: -115px;
  pointer-events: none;
  position: absolute;
  width: clamp(380px, 27vw, 470px);
  z-index: 0;
}

.mt-pricing-faq__inner {
  margin: 0 auto;
  max-width: 1265px;
  position: relative;
  z-index: 1;
}

.mt-pricing-faq__header {
  margin: 0 0 118px;
  text-align: center;
}

.mt-pricing-faq__header h2 {
  color: #050505;
  font-size: clamp(43px, 4.2vw, 65px);
  font-weight: 400;
  letter-spacing: -2px;
  line-height: 1.08;
  margin: 0;
}

.mt-pricing-faq__header strong {
  color: #7139d1;
  font-weight: 600;
}

.mt-pricing-faq__list {
  display: grid;
  gap: 7px;
}

.mt-pricing-faq__item {
  border: 1px solid transparent;
  border-radius: 8px;
  color: #141020;
  overflow: hidden;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.mt-pricing-faq__item[open] {
  background: rgba(239, 237, 255, .86);
  border-color: #a678ff;
  box-shadow: 0 10px 28px rgba(111, 57, 209, .06);
}

.mt-pricing-faq__item summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-size: clamp(17px, 1.35vw, 21px);
  font-weight: 500;
  justify-content: space-between;
  line-height: 1.4;
  list-style: none;
  min-height: 91px;
  padding: 18px 23px;
}

.mt-pricing-faq__item summary::-webkit-details-marker { display: none; }

.mt-pricing-faq__chevron {
  border-bottom: 2px solid #141020;
  border-right: 2px solid #141020;
  display: block;
  flex: 0 0 auto;
  height: 8px;
  margin: -5px 4px 0 30px;
  transform: rotate(45deg);
  transition: transform .25s ease, margin .25s ease;
  width: 8px;
}

.mt-pricing-faq__item[open] .mt-pricing-faq__chevron {
  margin-top: 5px;
  transform: rotate(225deg);
}

.mt-pricing-faq__item > p {
  color: #4f4958;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.55;
  margin: -9px 65px 0 23px;
  padding: 0 0 27px;
}

/* Light realm: keep the first FAQ visually selected until another item opens. */
.mt-pricing-page:not(.mt-pricing-page--retro):not(.mt-pricing-page--futuristic)
  .mt-pricing-faq__list:not(:has(.mt-pricing-faq__item[open]))
  .mt-pricing-faq__item:first-child {
  background: rgba(239, 237, 255, .86);
  border-color: #a678ff;
  box-shadow: 0 10px 28px rgba(111, 57, 209, .06);
}

@media (max-width: 1600px) {
  .mt-pricing-final-cta {
    background-image: url('../images/pricing/cta-cloud-background.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
  }
}

@media (max-width: 1050px) {
  .mt-pricing-grid { gap: 28px; padding: 48px 30px; }
  .mt-price-card { min-height: 780px; }
  .mt-price-card__summary { padding: 30px 26px; }
  .mt-price-card__body { padding: 34px 24px 22px; }
  .mt-price-card__footer { padding-left: 20px; padding-right: 20px; }
  .mt-included__inner { gap: 40px; grid-template-columns: 280px minmax(0, 1fr); }
  .mt-included__mosaic { gap: 16px; grid-template-rows: 240px 144px 240px; }
  .mt-included-card { padding: 26px 18px; }
  .mt-included-card h3 { font-size: 24px; }
  .mt-included-card p { font-size: 14px; }
  .mt-audience-column { grid-template-rows: 210px minmax(390px, auto); }
  .mt-audience-banner h3 { left: 7%; }
  .mt-audience-copy { padding: 42px 34px; }
  .mt-workflow__panel { padding-left: 50px; padding-right: 50px; }
  .mt-workflow__header { gap: 30px; grid-template-columns: 1fr 1fr; margin-bottom: 72px; }
  .mt-workflow__cards { --mt-workflow-card-gap: 18px; }
  .mt-workflow-card { border-radius: 34px; flex-basis: calc((100% - 3 * var(--mt-workflow-card-gap)) / 3.2); min-height: 350px; padding: 40px 26px; }
  .mt-pricing-final-cta__panel { min-height: 360px; padding: 55px 125px; }
  .mt-pricing-final-cta__ruby--left { left: 5%; }
  .mt-pricing-final-cta__ruby--right { right: 5%; }
  .mt-pricing-faq__header { margin-bottom: 85px; }
}

@media (max-width: 820px) {
  .mt-pricing-main { padding-top: 68px; }
  .mt-pricing-hero {
    background-position: left -80px center, right -90px center;
    background-size: 450px auto, 480px auto;
    min-height: 430px;
    padding: 65px 20px 55px;
  }
  .mt-pricing-hero h1 { letter-spacing: -1.5px; }
  .mt-pricing-desktop-break { display: none; }
  .mt-pricing-plans { padding: 54px 16px 70px; }
  .mt-pricing-grid { grid-template-columns: 1fr; max-width: 650px; }
  .mt-price-card { min-height: 760px; }
  .mt-included { padding: 70px 18px; }
  .mt-included__inner { grid-template-columns: 1fr; }
  .mt-included__intro { gap: 50px; min-height: 0; }
  .mt-included__rule { margin-top: 34px; }
  .mt-included__intro > p { max-width: 580px; }
  .mt-included__mosaic { grid-template-rows: 235px 139px 235px; }
  .mt-audience { padding: 76px 18px 90px; }
  .mt-audience__grid { gap: 28px; grid-template-columns: 1fr; }
  .mt-audience-column { gap: 24px; grid-template-rows: 230px auto; }
  .mt-audience-copy { min-height: 350px; }
  .mt-workflow { padding: 24px 18px 80px; }
  .mt-workflow__panel { border-radius: 34px; min-height: 0; padding: 64px 30px; }
  .mt-workflow__header { grid-template-columns: 1fr; margin-bottom: 55px; }
  .mt-workflow__header p { text-align: left; }
  .mt-workflow__desktop-break { display: none; }
  .mt-workflow__cards { grid-template-columns: 1fr; }
  .mt-workflow-card { flex-basis: min(82vw, 380px); min-height: 320px; }
  .mt-pricing-final-cta {
    padding: 70px 18px 85px;
  }
  .mt-pricing-final-cta__panel { border-radius: 90px; min-height: 390px; padding: 65px 80px; }
  .mt-pricing-final-cta__ruby { width: 58px; }
  .mt-pricing-final-cta__ruby--left { left: 4%; }
  .mt-pricing-final-cta__ruby--right { right: 4%; }
  .mt-pricing-faq { padding: 65px 18px 90px; }
  .mt-pricing-faq__header { margin-bottom: 65px; }
  .mt-pricing-faq__item summary { min-height: 82px; }
}

/* Tablet: keep Monthly and Yearly compact and fully visible side-by-side. */
@media (min-width: 521px) and (max-width: 820px) {
  .mt-pricing-plans {
    padding: 44px 12px 62px;
  }

  .mt-pricing-grid {
    border-radius: 26px;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
    padding: 20px 12px;
  }

  .mt-price-card {
    border-radius: 24px;
    min-height: 620px;
    padding: 10px;
  }

  .mt-price-card__summary {
    border-radius: 20px;
    min-height: 190px;
    padding: 20px 16px;
  }

  .mt-price-card__eyebrow {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .mt-price-badge {
    font-size: 7px;
    letter-spacing: .5px;
    padding: 6px 8px;
  }

  .mt-price-card__price-row strong {
    font-size: 43px;
    letter-spacing: -2px;
  }

  .mt-price-card__price-row span {
    font-size: 12px;
    margin-left: 4px;
  }

  .mt-price-card__lead {
    font-size: 13px;
    margin-top: 22px;
  }

  .mt-price-card__body {
    padding: 24px 14px 16px;
  }

  .mt-price-card__includes {
    font-size: 12px;
    margin-bottom: 15px;
  }

  .mt-price-features {
    gap: 10px;
  }

  .mt-price-features li {
    font-size: 11px;
    padding-left: 20px;
  }

  .mt-price-features li::before {
    font-size: 15px;
  }

  .mt-price-card__footer {
    padding: 0 10px 12px;
  }

  .mt-price-card__footer .eb-btn-cta {
    font-size: 12px;
    height: 48px;
    width: 100%;
  }

  .mt-price-card__footer .eb-btn-cta__text {
    padding-left: 8px;
    padding-right: 44px;
  }

  .mt-price-card__footer .eb-btn-cta__icon {
    right: 6px;
  }

  .mt-price-card__footer .eb-btn-cta__icon svg {
    height: 36px;
    width: 36px;
  }

  .mt-price-card__footer p {
    font-size: 9px;
    margin-top: 8px;
  }

  .mt-audience {
    padding: 58px 12px 70px;
  }

  .mt-audience__header {
    margin-bottom: 42px;
  }

  .mt-audience__header > p {
    font-size: 13px;
    letter-spacing: 3px;
    margin-bottom: 18px;
  }

  .mt-audience__header h2 {
    font-size: 34px;
    letter-spacing: -1px;
  }

  .mt-audience__grid {
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mt-audience-column {
    gap: 12px;
    grid-template-rows: 150px minmax(290px, auto);
    min-width: 0;
  }

  .mt-audience-banner {
    border-radius: 14px;
    min-width: 0;
  }

  .mt-audience-banner h3 {
    font-size: 19px;
    left: 6%;
    line-height: 1.12;
    max-width: 52%;
  }

  .mt-audience-banner--individual > img {
    height: 92%;
    right: 1%;
    width: 41%;
  }

  .mt-audience-team {
    right: 0;
    width: 56%;
  }

  .mt-audience-copy {
    min-height: 0;
    padding: 24px 18px;
  }

  .mt-audience-copy > p {
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 16px;
  }

  .mt-audience-copy ul {
    font-size: 11px;
    gap: 7px;
    line-height: 1.3;
    padding-left: 18px;
  }

  .mt-workflow {
    padding: 24px 12px 64px;
  }

  .mt-workflow__panel {
    border-radius: 28px;
    padding: 44px 24px 36px;
  }

  .mt-workflow__header {
    gap: 22px;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    margin-bottom: 38px;
  }

  .mt-workflow__header h2 {
    font-size: 32px;
    letter-spacing: -1px;
  }

  .mt-workflow__header p {
    font-size: 14px;
    line-height: 1.4;
    text-align: right;
  }

  .mt-workflow__cards {
    --mt-workflow-card-gap: 12px;
  }

  .mt-workflow-card {
    border-radius: 22px;
    flex-basis: calc((100% - var(--mt-workflow-card-gap)) / 2);
    min-height: 265px;
    min-width: 0;
    padding: 28px 20px 24px;
  }

  .mt-workflow-card img {
    height: 54px;
    margin-bottom: 22px;
    width: 54px;
  }

  .mt-workflow-card h3 {
    font-size: 18px;
    margin-bottom: 14px;
  }

  .mt-workflow-card p {
    font-size: 13px;
    line-height: 1.4;
  }
}

@media (max-width: 520px) {
  .mt-pricing-trial-pill { padding: 10px 17px; }
  .mt-pricing-hero {
    background-position: left -125px bottom -30px, right -140px top -15px;
    background-size: 380px auto, 400px auto;
  }
  .mt-pricing-hero h1 { font-size: 39px; }
  .mt-pricing-hero__copy { font-size: 16px; }
  .mt-pricing-plans { padding: 34px 10px 52px; }
  .mt-pricing-grid {
    border-radius: 24px;
    gap: 18px;
    grid-template-columns: 1fr;
    padding: 14px 10px;
  }
  .mt-price-card { border-radius: 22px; min-height: 0; padding: 8px; }
  .mt-price-card__summary { border-radius: 18px; min-height: 180px; padding: 18px 14px; }
  .mt-price-card__eyebrow { font-size: 11px; letter-spacing: 1px; }
  .mt-price-badge { font-size: 7px; letter-spacing: .5px; padding: 6px 8px; }
  .mt-price-card__price-row strong { font-size: 40px; letter-spacing: -2px; }
  .mt-price-card__price-row span { font-size: 12px; margin-left: 4px; }
  .mt-price-card__lead { font-size: 12px; line-height: 1.35; margin-top: 18px; }
  .mt-price-card__body { min-height: 0; padding: 20px 14px 16px; }
  .mt-price-card__includes { font-size: 12px; margin-bottom: 12px; }
  .mt-price-features { gap: 8px; }
  .mt-price-features li { font-size: 11px; line-height: 1.3; padding-left: 18px; }
  .mt-price-features li::before { font-size: 14px; }
  .mt-price-card__footer { padding: 0 8px 12px; }
  .mt-pricing-page .eb-btn-cta { font-size: 12px; height: 46px; width: 100%; }
  .mt-pricing-page .eb-btn-cta__text { padding-left: 8px; padding-right: 42px; }
  .mt-pricing-page .eb-btn-cta__icon { right: 5px; }
  .mt-pricing-page .eb-btn-cta__icon svg { height: 36px; width: 36px; }
  .mt-price-card__footer p { font-size: 9px; margin-top: 7px; }
  .mt-included__intro h2 { font-size: 46px; }
  .mt-included__mosaic { display: flex; flex-direction: column; }
  .mt-included-shot { height: 270px; }
  .mt-included-card { min-height: 360px; padding: 30px 24px; }
  .mt-included-card h3 { font-size: 28px; }
  .mt-included-card p { font-size: 16px; }
  .mt-included-shot--productivity { order: 1; }
  .mt-included-card--productivity { order: 2; }
  .mt-included-card--gamification { order: 3; }
  .mt-included-shot--gamification { order: 4; }
  .mt-included-shot--collaboration { order: 5; }
  .mt-included-card--collaboration { order: 6; }
  .mt-audience__header > p { letter-spacing: 3px; margin-bottom: 24px; }
  .mt-audience__header h2 { font-size: 42px; }
  .mt-audience-column { grid-template-rows: 200px auto; }
  .mt-audience-banner h3 { font-size: 27px; left: 7%; }
  .mt-audience-banner--individual > img { bottom: 0; height: 90%; right: 2%; width: 38%; }
  .mt-audience-team { right: 1%; width: 54%; }
  .mt-audience-copy { min-height: 0; padding: 35px 25px; }
  .mt-audience-copy > p { font-size: 16px; margin-bottom: 28px; }
  .mt-audience-copy ul { font-size: 15px; }
  .mt-workflow__panel { padding: 48px 18px 24px; }
  .mt-workflow__header h2 { font-size: 38px; }
  .mt-workflow__header p { font-size: 17px; }
  .mt-workflow-card { border-radius: 28px; min-height: 285px; padding: 34px 25px; }
  .mt-workflow-card img { height: 68px; margin-bottom: 27px; width: 68px; }
  .mt-workflow-card h3 { font-size: 25px; margin-bottom: 18px; }
  .mt-workflow-card p { font-size: 17px; }
  .mt-pricing-final-cta {
    padding: 50px 14px 65px;
  }
  /* Extra top room so the gems sit above the heading instead of on it */
  .mt-pricing-final-cta__panel { border-radius: 55px; min-height: 390px; padding: 82px 24px 55px; }
  .mt-pricing-final-cta__content h2 { font-size: 34px; }
  .mt-pricing-final-cta__content > p { font-size: 16px; margin-bottom: 30px; }
  /* Pin gems to the top corners (no vertical centering) so they clear the text */
  .mt-pricing-final-cta__ruby { opacity: .5; top: 26px; transform: none; width: 46px; }
  .mt-pricing-final-cta__ruby--left { left: 22px; }
  .mt-pricing-final-cta__ruby--right { right: 22px; }
  .mt-pricing-final-cta .eb-btn-cta { font-size: 17px; height: 64px; max-width: 330px; }
  .mt-pricing-final-cta .eb-btn-cta__icon svg { height: 50px; width: 50px; }
  .mt-pricing-final-cta .eb-btn-cta:hover .eb-btn-cta__icon { right: calc(100% - 50px - 8px); }
  .mt-pricing-faq {
    background-position: right -125px bottom -55px;
    background-size: 285px auto;
    padding: 55px 14px 72px;
  }
  .mt-pricing-faq::before {
    left: -185px;
    top: 170px;
    width: 390px;
  }
  .mt-pricing-faq::after {
    bottom: -65px;
    left: -125px;
    width: 285px;
  }
  .mt-pricing-faq__header { margin-bottom: 48px; }
  .mt-pricing-faq__header h2 { font-size: 39px; }
  .mt-pricing-faq__list { gap: 5px; }
  .mt-pricing-faq__item summary { font-size: 16px; min-height: 74px; padding: 15px 17px; }
  .mt-pricing-faq__chevron { margin-left: 18px; }
  .mt-pricing-faq__item > p { font-size: 14px; margin-left: 17px; margin-right: 45px; padding-bottom: 22px; }
}

@media (max-width: 360px) {
  .mt-pricing-final-cta {
    padding: 40px 10px 52px;
  }

  .mt-pricing-final-cta__panel {
    border-radius: 42px;
    min-height: 370px;
    padding: 72px 16px 46px;
  }

  .mt-pricing-final-cta__content h2 { font-size: 30px; }
  .mt-pricing-final-cta__content > p { font-size: 15px; }
  .mt-pricing-final-cta__ruby { top: 22px; width: 40px; }
  .mt-pricing-final-cta__ruby--left { left: 16px; }
  .mt-pricing-final-cta__ruby--right { right: 16px; }
  .mt-pricing-final-cta .eb-btn-cta { font-size: 15px; }
}

/* ==========================================================================
   Scroll-reveal animations
   Elements marked [data-reveal] fade + rise into view as they scroll in.
   - Hidden state only applies once JS has flagged <html> with .mt-reveal-on
     (so no-JS / failed-JS users always see content).
   - Fully disabled under prefers-reduced-motion.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  html.mt-reveal-on .mt-pricing-page [data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition:
      opacity .7s ease,
      transform .8s cubic-bezier(.22, 1, .36, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
  }

  html.mt-reveal-on .mt-pricing-page [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }

  /* --- staggered cascades within groups --- */

  /* Hero */
  .mt-pricing-hero__inner > *:nth-child(2) { --reveal-delay: 90ms; }
  .mt-pricing-hero__inner > *:nth-child(3) { --reveal-delay: 180ms; }

  /* Pricing cards */
  .mt-pricing-grid > .mt-price-card:nth-child(2) { --reveal-delay: 120ms; }

  /* "Everything included" intro + mosaic */
  .mt-included__intro > *:nth-child(2) { --reveal-delay: 120ms; }
  .mt-included__mosaic > *:nth-child(2) { --reveal-delay: 70ms; }
  .mt-included__mosaic > *:nth-child(3) { --reveal-delay: 140ms; }
  .mt-included__mosaic > *:nth-child(4) { --reveal-delay: 210ms; }
  .mt-included__mosaic > *:nth-child(5) { --reveal-delay: 280ms; }
  .mt-included__mosaic > *:nth-child(6) { --reveal-delay: 350ms; }

  /* Audience columns */
  .mt-audience__grid > .mt-audience-column:nth-child(2) { --reveal-delay: 130ms; }

  /* Workflow cards */
  .mt-workflow__cards > .mt-workflow-card:nth-child(2) { --reveal-delay: 90ms; }
  .mt-workflow__cards > .mt-workflow-card:nth-child(3) { --reveal-delay: 180ms; }
  .mt-workflow__cards > .mt-workflow-card:nth-child(4) { --reveal-delay: 270ms; }

  /* FAQ items */
  .mt-pricing-faq__list > .mt-pricing-faq__item:nth-child(2) { --reveal-delay: 50ms; }
  .mt-pricing-faq__list > .mt-pricing-faq__item:nth-child(3) { --reveal-delay: 100ms; }
  .mt-pricing-faq__list > .mt-pricing-faq__item:nth-child(4) { --reveal-delay: 150ms; }
  .mt-pricing-faq__list > .mt-pricing-faq__item:nth-child(5) { --reveal-delay: 200ms; }
  .mt-pricing-faq__list > .mt-pricing-faq__item:nth-child(n+6) { --reveal-delay: 240ms; }
}
