:root {
  --navy: #121348;
  --navy-deep: #090a2c;
  --navy-card: #0e0f3a;
  --navy-dash: #0b0c38;
  --orange: #ff9300;
  --red: #f9363d;
  --cta-from: #fe8d03;
  --cta-to: #f93a3a;
  --purple: #5b39e5;
  --purple-text: #2210c5;
  --peach: #fee1d9;
  --peach-card: #faebe6;
  --green-card: #e8fae6;
  --blue-card: #e6f0fa;
  --sms-max: 1440px;
  --sms-inset: max(calc((100vw - var(--sms-max)) / 2), 0px);
  --hero-design-h: 683px;
  --hero-v-shift: calc(max(0px, 100svh - var(--hero-design-h)) / 2);
  --benefits-design-h: 700px;
  --benefits-v-shift: calc(max(0px, 100svh - var(--benefits-design-h)) / 2);
  --font: "Roboto", sans-serif;
  --display: "Tomato Grotesk", "Roboto", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  background: #fff;
  color: var(--navy);
  font-family: var(--font);
  font-synthesis: none;
  overflow-x: hidden;
  max-width: 100%;
  scroll-behavior: auto;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.page {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: #fff;
}

.glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;
}

.glow-hero-right {
  display: none;
}

.glow-hero-left {
  left: calc(var(--sms-inset) - 520px);
  top: -200px;
  width: 860px;
  height: 860px;
}

.glow-mid {
  width: 980px;
  height: 980px;
  background: radial-gradient(circle, rgba(255, 176, 120, 0.28) 0%, transparent 64%);
}

.glow-faq {
  width: 1100px;
  height: 1100px;
  background: radial-gradient(circle, rgba(255, 176, 120, 0.28) 0%, transparent 64%);
}

.benefits .glow-mid {
  left: calc(var(--sms-inset) - 420px);
  top: calc(40px + var(--benefits-v-shift));
  transform: none;
}

.faq .glow-faq {
  left: calc(var(--sms-inset) + 720px);
  right: auto;
  top: -9px;
  transform: none;
}

main {
  display: block;
  width: 100%;
}

/* ---------- Header ---------- */
.header {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: 130px;
  z-index: 20;
}

.sms-page .sms-nav-menu > .menu-item > a,
.sms-page .sms-nav-menu > .menu-item > a:hover,
.sms-page .sms-nav-menu > .menu-item.is-open > a,
.sms-page .sms-nav-menu > .menu-item > a[aria-expanded="true"] {
  color: #fff;
}

.sms-page .sms-nav-menu .gt-menu-arrow,
.sms-page .sms-nav-menu .nav__chevron {
  filter: brightness(0) invert(1);
  opacity: 1;
}

.logo {
  position: absolute;
  left: calc(var(--sms-inset) + 129px);
  top: 48px;
  width: 164.55px;
  height: 42px;
}

.logo img {
  width: 164.55px;
  height: 52px;
  object-fit: contain;
}

.nav-toggle {
  display: none;
}

.nav {
  position: absolute;
  left: calc(var(--sms-inset) + 432px);
  top: 55px;
  display: flex;
  align-items: center;
  height: 31px;
  z-index: 30;
}

.btn-cta {
  display: flex;
  align-items: center;
  color: #fff;
  background: linear-gradient(90deg, var(--cta-from) 0%, var(--cta-to) 100%);
  white-space: nowrap;
}

.btn-cta--header {
  position: absolute;
  right: calc(var(--sms-inset) + 130px);
  top: 49.38px;
  width: 180px;
  height: 38px;
  border-radius: 18.5px;
  padding: 0 10px 0 16px;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 400;
}

.btn-cta--hero {
  width: 214px;
  height: 45.25px;
  border-radius: 10px;
  padding: 0 10px 0 18px;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 400;
}

.btn-cta__orb {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  flex-shrink: 0;
}

.btn-cta--header .btn-cta__orb {
  width: 29.06px;
  height: 25.14px;
  border-radius: 12.22px;
}

.btn-cta--hero .btn-cta__orb {
  width: 34.55px;
  height: 29.89px;
  border-radius: 12.22px;
}

.btn-cta__orb img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  transform: rotate(45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  width: 100%;
  min-height: max(683px, 100svh);
  z-index: 2;
  background: url("../assets/rcs-header-box.png") no-repeat center / 107% 107%;
  overflow: hidden;
}

.hero__title {
  position: absolute;
  left: calc(var(--sms-inset) + 119px);
  top: calc(180px + var(--hero-v-shift));
  width: 628px;
  height: 192px;
  font-family: var(--display);
  font-size: 48px;
  font-weight: 600;
  line-height: 64px;
  color: #fff;
}

.hero__sub {
  position: absolute;
  left: calc(var(--sms-inset) + 121px);
  top: calc(400px + var(--hero-v-shift));
  width: 507px;
  font-size: 18px;
  font-weight: 400;
  line-height: 119.48%;
  color: #fff;
}

.hero__actions {
  position: absolute;
  left: calc(var(--sms-inset) + 121px);
  top: calc(500px + var(--hero-v-shift));
  display: flex;
  align-items: center;
  gap: 18px;
}

.btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 191px;
  height: 45px;
  border: 1px solid #fff;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  opacity: 1;
}

.hero__pills {
  position: absolute;
  left: calc(var(--sms-inset) + 121px);
  top: calc(600px + var(--hero-v-shift));
  display: flex;
  list-style: none;
  gap: 27px;
}

.hero__pills li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 300;
  line-height: normal;
  color: #fff;
  width: 147px;
}

.hero__pills li:nth-child(2) {
  width: 144px;
}

.hero__pills li:nth-child(3) {
  width: 143px;
}

.hero__pill-icon {
  width: 57px;
  height: 51px;
  border-radius: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero__pill-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.hero__pill-icon--otp {
  background: #eaebff;
}

.hero__pill-icon--global {
  background: #faeee0;
}

.hero__pill-icon--seamless {
  background: #e2fdef;
}

/* Image wrapper — glow on this same div, rises from bottom */
.hero__visual {
  position: absolute;
  right: calc(var(--sms-inset) + 110px);
  top: calc(90px + var(--hero-v-shift));
  width: 643px;
  height: 598px;
  z-index: 1;
  overflow: visible;
  pointer-events: none;
  
}

.hero__visual::before {
  content: none;
}

.hero__visual img {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
  z-index: 1;
  display: block;
}

.hero__notch {
  position: absolute;
  bottom: -70px;
  left: 50%;
  width: 278px;
  height: 85px;
  transform: translateX(-50%) rotate(180deg);
  z-index: 4;
  pointer-events: none;
}

/* ---------- Journey ---------- */
.journey {
  position: relative;
  width: 100%;
  min-height: 1000px;
  margin-top: 100px;
  z-index: 3;
}

.journey__title {
  position: absolute;
  left: calc(var(--sms-inset) + 121px);
  top: 33px;
  width: 500px;
  font-size: 40px;
  font-weight: 600;
  line-height: normal;
  color: var(--navy);
}

.journey__lead {
  position: absolute;
  left: calc(var(--sms-inset) + 628px);
  top: 69px;
  width: 725px;
  font-size: 22px;
  font-weight: 400;
  line-height: normal;
  color: var(--navy);
}

.journey__tabs {
  position: absolute;
  left: calc(var(--sms-inset) + 227px);
  top: 186px;
  width: 986px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.journey__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--navy);
}

.journey__tab img {
  width: 33.29px;
  height: 33.29px;
  object-fit: contain;
}

.journey__tab[data-tab="otp"] img {
  width: 42.16px;
  height: 42.16px;
}

.journey__tab span {
  font-size: 22px;
  font-weight: 400;
  line-height: normal;
  padding: 4px 6px;
  white-space: nowrap;
}

.journey__tab.is-active span {
  font-size: 24px;
  font-weight: 600;
  background: linear-gradient(90deg, #ff9300, #f9363d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.journey__body {
  position: absolute;
  left: calc(var(--sms-inset) + 189px);
  top: 180px;
  width: 1068px;
  height: 640px;
}


.journey__phone {
  position: absolute;
  object-fit: contain;
  object-position: center top;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.journey__phone.is-active {
  opacity: 1;
  visibility: visible;
}

/* Left phone — card 1 (Verified Business) */
.journey__phone--a {
  left: -104px;
  top: -77px;
  width: 402px;
  height: 665px;
}

/* Left phone — card 2 (Rich Media) */
.journey__phone--b {
  left: -104px;
  top: -37px;
  width: 402px;
  height: 585px;
}

/* Left phone — card 3 (Interactive Messaging) */
.journey__phone--c {
  left: -104px;
  top: -37px;
  width: 402px;
  height: 585px;
}

.journey__cards {
  position: absolute;
  left: 423px;
  top: 0;
  width: 645px;
  height: 540px;
  display: block;
}

.journey-card {
  position: absolute;
  left: 0;
  width: 645px;
  height: 172px;
  background-color: var(--navy-card);
  background-image: url("../assets/rcs-Group%20450.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 20px;
  overflow: hidden;
  color: #fff;
  will-change: transform;
  transition: transform 0.28s ease-out;
}

.journey-card::after {
  display: none;
}

.journey-card__icon-wrap {
  position: absolute;
  left: 36px;
  top: 36px;
  width: 46px;
  height: 45px;
  border-radius: 50%;
  background: #FF9300;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  flex-shrink: 0;
}

.journey-card__icona {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
  /* Keep white glyph visible on orange circle */
  filter: brightness(0) invert(1);
}

.journey-card__iconb {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
  /* Keep white glyph visible on orange circle */
  filter: brightness(0) invert(1);
}

.journey-card__iconc {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
  /* Keep white glyph visible on orange circle */
  filter: brightness(0) invert(1);
}

.journey-card h3 {
  position: absolute;
  left: 104px;
  top: 43px;
  font-size: 24px;
  font-weight: 600;
  line-height: normal;
  z-index: 1;
}

.journey-card:nth-child(2) h3,
.journey-card:nth-child(3) h3 {
  font-weight: 700;
}

.journey-card p {
  position: absolute;
  left: 36px;
  top: 101px;
  width: 577px;
  font-size: 20px;
  font-weight: 300;
  line-height: normal;
  z-index: 1;
}

.journey-card:nth-child(2) p {
  top: 100px;
  width: 587px;
}

.journey-card:nth-child(3) p {
  top: 100px;
  width: 594px;
}

/* ---------- Scale ---------- */
.scale {
  position: relative;
  width: 100%;
  min-height: 500px;
  margin-top: -160px;
  z-index: 3;
}

.scale__title {
  position: absolute;
  left: calc(var(--sms-inset) + 119px);
  top: 42px;
  width: 518px;
  font-family: var(--display);
  font-size: 40px;
  font-weight: 600;
  line-height: normal;
  color: var(--navy);
}

.scale__title span {
  display: block;
}

.scale__lead {
  position: absolute;
  left: calc(var(--sms-inset) + 790px);
  top: 81px;
  width: 547px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  line-height: normal;
  color: var(--navy);
}

.scale__grid {
  position: absolute;
  left: calc(var(--sms-inset) + 117px);
  top: 181px;
  width: 1194px;
  height: 224px;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 16px;
}

.scale__grid.has-active {
  justify-content: flex-start;
}

.scale-card {
  background: #FEE1D9;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  height: 224px;
  width: auto;
  flex: 1 1 191px;
  cursor: pointer;
  transition:
    flex-basis 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: flex-basis, width;
}

.scale-card--last {
  background: #FEE1D9;
}

.scale-card.is-active {
  flex: 0 0 571px;
  width: 571px;
}

/* Image area */
.scale-card__media {
  position: absolute;
  left: 0;
  top: 28px;
  bottom: 0;
  width: 100%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
}

.scale-card.is-active .scale-card__media {
  width: 284px;
}

.scale-card__media img {
  display: block;
  flex-shrink: 0;
  transition:
    width 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    max-height 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Card 1 — Verified Branding */
.scale-card:first-child .scale-card__media {
  width: 100%;
}

.scale-card:first-child.is-active .scale-card__media {
  width: 260px;
  padding-right: 12px;
  box-sizing: border-box;
}

.scale-card:first-child .scale-card__media img,
.scale-card:first-child.is-active .scale-card__media img {
  width: 100%;
  height: 180px;
  max-height: 196px;
  object-fit: contain;
  object-position: center center;
  transform: none;
}

/* Cards 2–3 — same visual size open/closed */
.scale-card:nth-child(2) .scale-card__media,
.scale-card:nth-child(3) .scale-card__media {
  left: 0;
  width: 100%;
}

.scale-card:nth-child(2).is-active .scale-card__media,
.scale-card:nth-child(3).is-active .scale-card__media {
  width: 284px;
}

.scale-card:nth-child(2) .scale-card__media img,
.scale-card:nth-child(3) .scale-card__media img,
.scale-card:nth-child(2).is-active .scale-card__media img,
.scale-card:nth-child(3).is-active .scale-card__media img {
  width: 100%;
  height: 180px;
  max-height: 196px;
  object-fit: contain;
  object-position: center center;
  border-radius: 0;
}

/* Expanded: fixed-size text slides in (no reflow / size change) */
.scale-card__copy {
  position: absolute;
  left: 268px;
  top: 50%;
  width: 290px;
  transform: translate3d(28px, -50%, 0);
  opacity: 0;
  visibility: hidden;
  border-left: 1px solid rgba(18, 19, 72, 0.35);
  padding-left: 24px;
  box-sizing: border-box;
  z-index: 2;
  pointer-events: none;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.2s,
    opacity 0.35s ease 0.2s,
    visibility 0.35s ease 0.2s;
}

.scale-card:first-child.is-active .scale-card__copy {
  left: 276px;
}

.scale-card.is-active .scale-card__copy {
  transform: translate3d(0, -50%, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.scale-card:not(.is-active) .scale-card__copy {
  transition-delay: 0s;
}

.scale-card__copy h3 {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 10px;
  color: var(--navy);
}

.scale-card__copy p {
  font-size: 19px;
  font-weight: 300;
  line-height: 1.35;
  margin: 0;
  width: 100%;
  color: var(--navy);
}

/* ---------- Benefits ---------- */
.benefits {
  position: relative;
  width: 100%;
  min-height: max(700px, 100svh);
  margin-top: 100px;
  z-index: 3;
  color: #fff;
  overflow: hidden;
  background: url("../assets/rcs-Group%20591.png") no-repeat left top / 100% 100%;
}

.benefits__title {
  position: absolute;
  left: calc(var(--sms-inset) + 120px);
  top: calc(39px + var(--benefits-v-shift));
  width: 520px;
  font-family: var(--display);
  font-size: 40px;
  font-weight: 600;
  line-height: normal;
}

.benefits__lead {
  position: absolute;
  left: calc(var(--sms-inset) + 768px);
  top: calc(73px + var(--benefits-v-shift));
  width: min(616px, calc(100vw - var(--sms-inset) - 768px - 24px));
  max-width: 616px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  line-height: normal;
}

.benefits__grid {
  position: absolute;
  left: calc(var(--sms-inset) + 121px);
  top: calc(183px + var(--benefits-v-shift));
  width: 491px;
  display: grid;
  grid-template-columns: 219px 219px;
  column-gap: 53px;
  row-gap: 48px;
}

.benefit {
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.benefit img {
  width: 55.54px;
  height: 55.73px;
  object-fit: contain;
  margin-bottom: 16px;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.benefit h3 {
  font-size: 25px;
  font-weight: 500;
  line-height: normal;
  margin-bottom: 10px;
  width: 219px;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.benefit p {
  font-size: 12px;
  font-weight: 300;
  line-height: normal;
  width: 211px;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.benefit:not(.is-active) img,
.benefit:not(.is-active) h3,
.benefit:not(.is-active) p {
  opacity: 0.4;
}

.benefit.is-active img,
.benefit.is-active h3,
.benefit.is-active p {
  opacity: 1;
}

.benefit:nth-child(2) h3 {
  width: 160px;
}

.benefit:nth-child(3) p {
  width: 211px;
}

.benefit:nth-child(4) p,
.benefit:nth-child(2) p {
  width: auto;
}

.benefits__visual {
  position: absolute;
  right: calc(var(--sms-inset) + 78px);
  top: calc(186px + var(--benefits-v-shift));
  width: 605px;
  height: 440px;
  background: none;
  border-radius: 15px;
  overflow: hidden;
}

.benefits__visual-frame,
#benefitsVisual {
  position: absolute;
  left: 118px;
  top: 19px;
  width: 337px;
  height: 401px;
  border-radius: 8px;
  overflow: hidden;
  /* background-color: #fff; */
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%;
  background-image: url("../assets/rcs-Card%20Image.png");
}

/* ---------- Why SMS ---------- */
.why {
  position: relative;
  width: 100%;
  min-height: 700px;
  margin-top: 120px;
  z-index: 3;
}

.why__title {
  position: absolute;
  left: calc(var(--sms-inset) + 117px);
  top: 24px;
  width: 507px;
  font-family: var(--display);
  font-size: 36px;
  font-weight: 600;
  line-height: normal;
}

.why__lead {
  position: absolute;
  left: calc(var(--sms-inset) + 900px);
  top: 36px;
  width: 466px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
}

.why__viewport {
  position: absolute;
  left: calc(var(--sms-inset) + 117px);
  top: 140px;
  width: 1206px;
  height: 430px;
  overflow: hidden;
}

.why__cards {
  position: relative;
  left: 0;
  top: 0;
  display: flex;
  gap: 21px;
  width: max-content;
  height: 430px;
  will-change: transform;
}

.why-card {
  width: 438px;
  height: 430px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.why-card__media {
  position: absolute;
  left: 18px;
  top: 16px;
  width: 402px;
  height: 250px;
  border-radius: 18px;
  overflow: hidden;
}

.why-card--peach .why-card__media {
  background: var(--peach-card);
}

.why-card--green .why-card__media {
  background: var(--green-card);
}

.why-card--blue .why-card__media {
  background: var(--blue-card);
}

.why-card__media img {
  display: block;
}

.why-card:nth-child(1) .why-card__media img {
  width: 80%;
  height: 103%;
  object-fit: cover;
  object-position: 12% 10%;
  margin-top: 9px;
  margin-left: -2%;
}

.why-card:nth-child(2) .why-card__media img {
  width: 102%;
  height: 122%;
  object-fit: cover;
  object-position: 62% 18%;
  margin-top: -38px;
}

.why-card:nth-child(3) .why-card__media img {
  width: 100%;
  height: 110%;
  object-fit: contain;
  object-position: center center;
  margin: 0 auto;
}

.why-card:nth-child(4) .why-card__media img {
  width: 85%;
  height: 90%;
  object-fit: cover;
  object-position: 88% 6%;
  margin-top: 25px;
  margin-left: 8%;
}

.why-card h3 {
  position: absolute;
  left: 31px;
  top: 280px;
  font-size: 24px;
  font-weight: 600;
  line-height: normal;
}

.why-card p {
  position: absolute;
  left: 31px;
  top: 318px;
  width: 368px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.35;
}

.why-card--blue h3,
.why-card--blue p {
  width: 384px;
}

.why__pager {
  position: absolute;
  left: calc(var(--sms-inset) + 650px);
  top: 588px;
  width: 131px;
  height: 22px;
  border: 0.4px solid rgba(0, 0, 0, 0.2);
  border-radius: 29px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
}

.why__dot {
  width: 12px;
  height: 12px;
  border-radius: 29px;
  background: #cacaca;
  transition: width 0.35s ease, background 0.35s ease, border-radius 0.35s ease;
}

.why__dot.is-active {
  width: 55px;
  background: linear-gradient(90deg, #ff9300, #f9363d);
}

.funnel__list[hidden] {
  display: none !important;
}

/* ---------- Funnel ---------- */
.funnel {
  position: relative;
  width: 100%;
  min-height: 850px;
  margin-top: 20px;
  z-index: 3;
}

.funnel__title {
  position: absolute;
  left: calc(var(--sms-inset) + 120px);
  top: 37px;
  width: 490px;
  font-family: var(--display);
  font-size: 40px;
  font-weight: 600;
  line-height: normal;
}

.funnel__lead {
  position: absolute;
  left: calc(var(--sms-inset) + 856px);
  top: 71px;
  width: min(780px, calc(100vw - var(--sms-inset) - 657px - 24px));
  max-width: 520px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  line-height: normal;
}

.funnel__tabs {
  position: absolute;
  left: calc(var(--sms-inset) + 174px);
  top: 194px;
  width: 1088px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-bottom: 1px solid rgba(18, 19, 72, 0.18);
}

.funnel__tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px 20px;
  font-size: 25px;
  font-weight: 400;
  color: rgba(18, 19, 72, 0.5);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}

.funnel__tab img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.funnel__tab:not(.is-active) img {
  filter: brightness(0) saturate(100%);
  opacity: 0.5;
}

.funnel__tab.is-active {
  font-weight: 600;
  color: var(--purple);
  border-bottom-color: var(--purple);
}

.funnel__tab.is-active[data-funnel="acquisition"] {
  color: #1D8004;
  border-bottom-color: #1D8004;
}

.funnel__tab.is-active[data-funnel="acquisition"] img {
  filter: brightness(0) saturate(100%) invert(28%) sepia(98%) saturate(1450%) hue-rotate(73deg) brightness(92%) contrast(101%);
  opacity: 1;
}

.funnel__tab.is-active[data-funnel="retention"] {
  color: #A00EC3;
  border-bottom-color: #A00EC3;
}

.funnel__tab.is-active[data-funnel="retention"] img {
  filter: brightness(0) saturate(100%) invert(21%) sepia(98%) saturate(5000%) hue-rotate(280deg) brightness(95%) contrast(101%);
  opacity: 1;
}

.funnel__tab.is-active[data-funnel="engagement"] {
  color: #007BAF;
  border-bottom-color: #007BAF;
}

.funnel__tab.is-active[data-funnel="engagement"] img {
  filter: brightness(0) saturate(100%) invert(34%) sepia(86%) saturate(1152%) hue-rotate(166deg) brightness(93%) contrast(101%);
  opacity: 1;
}

.funnel__panel {
  position: absolute;
  left: calc(var(--sms-inset) + 121px);
  top: 283px;
  width: 1198px;
  height: 461px;
  background: #E0F2FF;
  border-radius: 23px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.funnel__panel.funnel__panel--acquisition {
  background: #F8FCF7;
}

.funnel__panel.funnel__panel--acquisition .funnel__list[data-funnel-list="acquisition"] img {
  background: #E5FFDE;
}

.funnel__panel.funnel__panel--engagement {
  background: #E0F2FF;
}

.funnel__list[data-funnel-list="engagement"]:not([hidden]) h3,
.funnel__list[data-funnel-list="engagement"]:not([hidden]) p {
  color: #007BAF;
}

.funnel__list[data-funnel-list="engagement"]:not([hidden]) img {
  background: #BAE0FF;
}

.funnel__panel.funnel__panel--retention {
  background: #FBF7FC;
}

.funnel__panel.funnel__panel--retention .funnel__list[data-funnel-list="retention"] img {
  background: #F6E1FB;
}

.funnel__list {
  list-style: none;
  width: 518px;
  padding: 26px 0 18px 75px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.funnel__list li {
  display: flex;
  gap: 18px;
}

.funnel__list img {
  width: 40px;
  height: 40px;
  padding: 8px;
  box-sizing: border-box;
  object-fit: contain;
  flex-shrink: 0;
  background: #EBE7FE;
  border-radius: 50%;
}

.funnel__list h3 {
  font-size: 25px;
  font-weight: 600;
  color: var(--purple-text);
  line-height: normal;
  margin-bottom: 7px;
}

.funnel__list p {
  font-size: 17px;
  font-weight: 300;
  line-height: normal;
  width: 333px;
  color: var(--navy);
}

.funnel__list li:nth-child(2) p,
.funnel__list li:nth-child(3) p {
  width: 311px;
}

.funnel__list[data-funnel-list="acquisition"]:not([hidden]) h3,
.funnel__list[data-funnel-list="acquisition"]:not([hidden]) p {
  color: #1D8004;
}

.funnel__list[data-funnel-list="acquisition"]:not([hidden]) img {
  background: #E5FFDE;
}

.funnel__list[data-funnel-list="retention"]:not([hidden]) h3,
.funnel__list[data-funnel-list="retention"]:not([hidden]) p {
  color: #A00EC3;
}

.funnel__list[data-funnel-list="retention"]:not([hidden]) img {
  background: #F6E1FB;
}

.funnel__visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px 12px 0;
}

.funnel__visual img {
  width: 645px;
  height: 405px;
  object-fit: contain;
}

/* ---------- FAQ ---------- */
.faq {
  position: relative;
  width: 100%;
  min-height: 760px;
  margin-top: 39px;
  z-index: 4;
  overflow: hidden;
}

.faq__title {
  position: absolute;
  left: calc(var(--sms-inset) + 123px);
  top: 38px;
  width: 680px;
  font-family: var(--display);
  font-size: 40px;
  font-weight: 600;
  line-height: normal;
}

.faq__lead {
  position: absolute;
  left: calc(var(--sms-inset) + 806px);
  top: 51px;
  width: 513px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  line-height: normal;
}

.faq__visual {
  position: absolute;
  left: calc(var(--sms-inset) + 103px);
  top: 169px;
  width: 553px;
  height: 488px;
}

.faq__visual img {
  width: 553px;
  height: 488px;
  object-fit: contain;
}

.faq__list {
  position: absolute;
  left: calc(var(--sms-inset) + 701px);
  top: 196px;
  width: 631px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.faq-item {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 14px;
  overflow: hidden;
}

.faq-item__btn {
  width: 100%;
  min-height: 77px;
  display: flex;
  align-items: center;
  padding: 0 42px 0 24px;
  text-align: left;
  gap: 16px;
}

.faq-item__btn img {
  width: 32px;
  height: 32px;
  padding: 7px;
  object-fit: contain;
  box-sizing: border-box;
  background: #FFEDD4;
  border-radius: 50%;
  flex-shrink: 0;
}

.faq-item__btn span {
  flex: 1;
  font-size: 20px;
  font-weight: 500;
  color: var(--navy);
  line-height: normal;
}

.faq-item__toggle {
  font-style: normal;
  font-size: 30px;
  font-weight: 500;
  color: var(--orange);
  width: 17px;
  text-align: center;
  line-height: 1;
  flex-shrink: 0;
}

.faq-item.is-open .faq-item__toggle {
  font-size: 35px;
}

.faq-item__body {
  display: none;
  padding: 0 80px 18px 48px;
}

.faq-item.is-open .faq-item__body {
  display: block;
}

.faq-item.is-open .faq-item__btn {
  min-height: 52px;
  padding-top: 22px;
  align-items: flex-start;
}

.faq-item__body p {
  font-size: 13px;
  font-weight: 300;
  line-height: normal;
  color: var(--navy);
  margin-left: 24px;
}

/* ---------- Stats ---------- */
.stats {
  position: relative;
  left: auto;
  width: 1199px;
  max-width: calc(100% - var(--sms-inset) - 118px);
  min-height: 285px;
  margin: 69px 0 -130px calc(var(--sms-inset) + 118px);
  border-radius: 30px;
  background: linear-gradient(305deg, #ffffff 1.85%, #fff6e9 66.53%);
  z-index: 6;
  display: flex;
  align-items: center;
  padding: 0 65px;
}

.stats__copy {
  width: 409px;
  flex-shrink: 0;
}

.stats__copy h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: normal;
  margin-bottom: 25px;
}

.stats__copy p {
  font-size: 17px;
  font-weight: 400;
  line-height: normal;
}

.stats__nums {
  display: flex;
  flex: 1;
  justify-content: space-between;
  text-align: center;
  margin-left: 70px;
}

.stats__nums > div {
  position: relative;
  width: 110px;
  padding: 0 8px;
}

.stats__nums > div:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -18px;
  top: 16px;
  width: 1px;
  height: 62px;
  background: rgba(18, 19, 72, 0.18);
}

.stats__nums strong {
  display: block;
  font-size: 40px;
  font-weight: 500;
  color: var(--red);
  line-height: normal;
  margin-bottom: 6px;
}

.stats__nums > div > span {
  display: block;
  font-size: 17px;
  font-weight: 400;
  color: var(--navy);
  line-height: normal;
}

/* ---------- Footer (legacy class — page uses .gt-footer) ---------- */
.footer {
  position: relative;
  width: 100%;
  background: var(--navy-deep);
  border-radius: 30px 30px 0 0;
  color: #fff;
  z-index: 5;
}

.page > .gt-footer {
  position: relative;
  left: auto;
  top: auto;
  width: 100%;
  max-width: 100%;
  height: auto;
  z-index: 5;
}

.footer::before {
  content: "";
  position: absolute;
  right: -80px;
  top: 40px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(80, 70, 180, 0.45) 0%, transparent 62%);
  pointer-events: none;
}

.footer__logo {
  position: absolute;
  left: 115px;
  top: 225px;
  width: 163px;
  height: 42px;
  z-index: 1;
}

.footer__logo img {
  width: 163px;
  height: 42px;
  object-fit: contain;
}

.footer__blurb {
  position: absolute;
  left: 122px;
  top: 293px;
  width: 322px;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.65;
  z-index: 1;
}

.footer__cta {
  position: absolute;
  left: 122px;
  top: 417px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 35px;
  padding: 4px 18px;
  background: #f9363d;
  border-radius: 37px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  z-index: 1;
}

.footer__cta img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.footer__col {
  position: absolute;
  top: 235px;
  z-index: 1;
}

.footer__col h3,
.footer__social h3,
.footer__contact h3 {
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 21px;
}

.footer__col a {
  display: block;
  font-size: 13px;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 22px;
}

.footer__col--products {
  left: 557px;
}

.footer__col--company {
  left: 708px;
}

.footer__col--resources {
  left: 868px;
}

.footer__social {
  position: absolute;
  right: 120px;
  top: 233px;
  text-align: right;
  z-index: 1;
}

.footer__social h3 {
  margin-bottom: 8px;
}

.footer__social img {
  width: 234px;
  height: 45px;
  object-fit: contain;
  margin-left: auto;
}

.footer__contact {
  position: absolute;
  right: 119px;
  top: 349px;
  text-align: right;
  z-index: 1;
}

.footer__contact h3 {
  margin-bottom: 0;
}

.footer__contact a {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
}

.footer__bottom {
  position: absolute;
  left: 120px;
  top: 502px;
  width: 1200px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  justify-content: space-between;
  padding-top: 36px;
  z-index: 1;
}

.footer__bottom p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.235;
  white-space: pre;
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
  :root {
    --sms-inset: 0px;
    --hero-v-shift: 0px;
    --benefits-v-shift: 0px;
  }

  .page {
    width: 100%;
    overflow: visible;
  }

  .glow {
    display: none;
  }

  .header,
  .hero,
  .journey,
  .scale,
  .benefits,
  .why,
  .funnel,
  .faq,
  .stats,
  .footer,
  .gt-footer {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
  }

  .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    height: 72px;
    background: url("../assets/rcs-header-box.png") no-repeat center / cover;
  }

  .logo,
  .btn-cta--header {
    position: static;
  }

  .logo,
  .logo img {
    width: 132px;
    height: 34px;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    z-index: 30;
  }

  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    margin: 0 auto;
  }

  .nav {
    position: fixed;
    inset: 0 0 auto 0;
    top: 72px;
    left: 0;
    width: 100%;
    height: auto;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 24px 24px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(18, 19, 72, 0.08);
    z-index: 25;
  }

  .nav.is-open {
    display: flex;
  }

  .btn-cta--header {
    display: none;
  }

  .hero,
  .journey,
  .scale,
  .benefits,
  .why,
  .funnel,
  .faq {
    min-height: auto;
    margin-top: 0;
    padding: 40px 20px 8px;
  }

  .hero__title,
  .hero__sub,
  .hero__actions,
  .hero__pills,
  .hero__visual,
  .journey__title,
  .journey__lead,
  .journey__tabs,
  .journey__body,
  .scale__title,
  .scale__lead,
  .scale__grid,
  .benefits__title,
  .benefits__lead,
  .benefits__grid,
  .benefits__visual,
  .why__title,
  .why__lead,
  .why__cards,
  .why__pager,
  .funnel__title,
  .funnel__lead,
  .funnel__tabs,
  .funnel__panel,
  .faq__title,
  .faq__lead,
  .faq__visual,
  .faq__list,
  .footer__logo,
  .footer__blurb,
  .footer__cta,
  .footer__col,
  .footer__social,
  .footer__contact,
  .footer__bottom {
    position: static;
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .hero__title {
    font-size: 34px;
    margin-bottom: 16px;
  }

  .hero__sub {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 28px;
  }

  .btn-cta--hero,
  .btn-outline {
    width: 100%;
  }

  .hero__pills {
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
  }

  .hero__pills li,
  .hero__pills li:nth-child(2),
  .hero__pills li:nth-child(3) {
    width: 100%;
  }

  .hero__visual {
    left: auto;
    top: auto;
    width: 100%;
    height: 360px;
    overflow: hidden;
    position: relative;
  }

  .hero__visual img {
    position: relative;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    object-fit: contain;
  }

  .journey__title,
  .scale__title,
  .benefits__title,
  .why__title,
  .funnel__title,
  .faq__title {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .journey__lead,
  .scale__lead,
  .benefits__lead,
  .why__lead,
  .funnel__lead,
  .faq__lead {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .journey__tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 8px;
    margin-bottom: 24px;
  }

  .journey__tab span,
  .journey__tab.is-active span {
    font-size: 14px;
  }

  .journey__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .journey__phone,
  .journey__phone--a,
  .journey__phone--b,
  .journey__phone--c {
    position: relative;
    left: auto;
    top: auto;
    width: min(320px, 100%);
    height: auto;
    margin: 0 auto;
    opacity: 1;
    visibility: visible;
  }

  .journey__phone:not(.is-active) {
    display: none;
  }

  .journey__cards {
    position: relative;
    left: auto;
    width: 100%;
    gap: 12px;
  }

  .journey-card,
  .journey-card p,
  .journey-card:nth-child(2) p,
  .journey-card:nth-child(3) p {
    width: 100%;
    height: auto;
  }

  .journey-card {
    padding: 24px 20px 20px 20px;
  }

  .journey-card__icon-wrap,
  .journey-card__icon,
  .journey-card h3,
  .journey-card p {
    position: static;
  }

  .journey-card__icon-wrap {
    margin-bottom: 4px;
  }

  .journey-card h3 {
    font-size: 22px;
    margin: 12px 0 8px;
  }

  .journey-card p {
    font-size: 15px;
  }

  .scale__grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: auto;
  }

  .scale-card,
  .scale-card.is-active {
    width: 100%;
    flex-basis: auto;
    height: auto;
    min-height: 200px;
  }

  .scale-card__media,
  .scale-card.is-active .scale-card__media {
    position: relative;
    width: 100%;
    height: 200px;
  }

  .scale-card__media img {
    width: 100%;
    height: 200px;
  }

  .scale-card__copy {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    opacity: 1;
    visibility: visible;
    border-left: 0;
    padding: 18px;
    pointer-events: auto;
  }

  .scale-card__copy p {
    max-width: none;
    width: 100%;
  }

  .benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 20px;
    margin: 24px 0;
  }

  .benefit {
    min-width: 0;
  }

  .benefit h3,
  .benefit p,
  .benefit:nth-child(2) h3,
  .benefit:nth-child(3) h3,
  .benefit:nth-child(3) p,
  .benefit:nth-child(4) p,
  .benefit:nth-child(2) p {
    width: 100%;
    max-width: 100%;
  }

  .benefit h3 {
    font-size: clamp(15px, 4vw, 18px);
    margin-bottom: 6px;
  }

  .benefit p {
    font-size: clamp(11px, 3vw, 13px);
    line-height: 1.45;
  }

  .benefit img {
    width: 44px;
    height: 44px;
  }

  .benefit:not(.is-active) img,
  .benefit:not(.is-active) h3,
  .benefit:not(.is-active) p {
    opacity: 0.4;
  }

  .benefit.is-active img,
  .benefit.is-active h3,
  .benefit.is-active p {
    opacity: 1;
  }

  .benefits {
    background-size: cover;
    background-position: center bottom;
  }

  .benefits__visual {
    height: 280px;
    margin-top: 16px;
  }

  .benefits__visual-frame,
  .benefits__visual img {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
  }

  .why__cards {
    flex-direction: column;
  }

  .why-card,
  .why-card h3,
  .why-card p {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
  }

  .why-card {
    padding-bottom: 24px;
  }

  .why-card__media {
    position: relative;
    left: auto;
    top: auto;
    width: calc(100% - 24px);
    margin: 12px auto 0;
    height: 220px;
  }

  .why-card:nth-child(1) .why-card__media img,
  .why-card:nth-child(2) .why-card__media img,
  .why-card:nth-child(3) .why-card__media img,
  .why-card:nth-child(4) .why-card__media img {
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: center center;
  }

  .why-card h3,
  .why-card p {
    padding: 16px 24px 0;
  }

  .why-card p {
    padding-bottom: 8px;
  }

  .why__pager {
    margin: 20px auto;
  }

  .funnel__tabs {
    flex-direction: column;
    border-bottom: 0;
    gap: 8px;
    margin-bottom: 16px;
  }

  .funnel__tab {
    width: 100%;
    justify-content: center;
    border-bottom: 0;
    padding: 10px;
    border-radius: 10px;
    background: #f7f7fc;
  }

  .funnel__panel {
    flex-direction: column;
    height: auto;
  }

  .funnel__list {
    width: 100%;
    padding: 24px 20px;
    gap: 20px;
  }

  .funnel__list p,
  .funnel__list li:nth-child(2) p,
  .funnel__list li:nth-child(3) p {
    width: 100%;
  }

  .funnel__visual {
    padding: 0 12px 16px;
  }

  .funnel__visual img {
    width: 100%;
    height: auto;
  }

  .faq__visual {
    height: auto;
    margin: 12px 0 20px;
  }

  .faq__visual img {
    width: 100%;
    height: auto;
  }

  .faq__list {
    gap: 10px;
  }

  .faq-item__btn {
    padding: 16px;
    min-height: 64px;
  }

  .faq-item__btn span {
    font-size: 16px;
  }

  .stats {
    left: 16px;
    width: calc(100% - 32px);
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
    margin: 24px 0 -80px;
  }

  .stats__copy {
    width: 100%;
    margin-bottom: 24px;
  }

  .stats__nums {
    width: 100%;
    margin-left: 0;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
  }

  .stats__nums > div:not(:last-child)::after {
    display: none;
  }

  .footer {
    left: 0;
    width: 100%;
    height: auto;
    border-radius: 30px 30px 0 0;
    padding: 120px 20px 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .footer__social,
  .footer__contact {
    text-align: left;
    right: auto;
  }

  .footer__social img {
    margin-left: 0;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 10px;
    padding-top: 20px;
    width: 100%;
  }

  .footer__bottom p {
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 28px;
  }

  .journey-card h3 {
    font-size: 20px;
  }

  .stats__nums strong {
    font-size: 28px;
  }
}

.journey__title,
.journey__lead,
.scale__title,
.scale__lead,
.benefits__title,
.benefits__lead,
.why__title,
.why__lead,
.funnel__title,
.funnel__lead,
.faq__title,
.faq__lead,
.journey__title .gt-word,
.journey__lead .gt-word,
.scale__title .gt-word,
.scale__lead .gt-word,
.benefits__title .gt-word,
.benefits__lead .gt-word,
.why__title .gt-word,
.why__lead .gt-word,
.funnel__title .gt-word,
.funnel__lead .gt-word,
.faq__title .gt-word,
.faq__lead .gt-word {
  font-family: "Tomato Grotesk", sans-serif;
}
