:root {
  --blue: #005bbb;
  --dark-blue: #003d58;
  --teal: #007b80;
  --purple: #4b006e;
  --purple-dark: #470a68;
  --text: #05051f;
  --footer-line: linear-gradient(90deg, #4b006e, #005bbb);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

strong {
  color: var(--purple-dark);
  font-weight: 700;
}

.section-inner {
  width: min(100% - 48px, 820px);
  margin: 0 auto;
}

.section-inner.narrow {
  width: min(100% - 48px, 720px);
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 33px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--purple);
  color: #fff;
  font-size: .80rem;
  font-weight: 650;
}

.accent-underline {
  display: inline;
  background-image: linear-gradient(
    90deg,
    #00a8e8 0%,
    #00a8e8 62%,
    rgba(0, 168, 232, 0.18) 100%
  );
  background-repeat: no-repeat;
  background-size: 100% 6px;
  background-position: 0 86%;
}

/* ================================
   HERO
================================ */

.tcx-hero {
  position: relative;
  min-height: 386px;
  background: linear-gradient(90deg, #4b006e 0%, #1f3d9d 100%);
  color: #fff;
  overflow: visible;
}

.tcx-hero-inner {
  position: relative;
  width: min(100% - 220px, 1280px);
  min-height: 386px;
  margin: 0 auto;
}

.tcx-hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 140px;
}

.eyebrow {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 24px;
}

.tcx-hero h1 {
  font-size: 53px;
  line-height: 1.28;
  font-weight: 400;
  margin: 0;
  max-width: 680px;
}

.hero-collage {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-img {
  position: absolute;
  display: block;
  object-fit: cover;
}

.hero-img-top {
  top: 86px;
  right: 64px;
  width: 370px;
  height: 190px;
}

.hero-img-main {
  top: 330px;
  right: 258px;
  width: 380px;
  height: 238px;
}

.hero-img-small {
  top: 350px;
  right: 0;
  width: 218px;
  height: 112px;
}

.shape {
  position: absolute;
  display: block;
}

.shape-cyan {
  top: 242px;
  right: 365px;
  width: 132px;
  height: 62px;
  background: #00a8e8;
}

.shape-purple {
  top: 132px;
  right: 0;
  width: 80px;
  height: 36px;
  background: var(--purple);
}

.shape-blue {
  top: 454px;
  right: -18px;
  width: 100px;
  height: 46px;
  background: var(--blue);
}

/* ================================
   OUTCOMES
================================ */

.outcomes {
  padding: 280px 24px 80px;
}

.outcomes h2 {
  color: var(--blue);
  font-size: 42px;
  line-height: 1.18;
  font-weight: 400;
  margin: 0 0 30px;
}

.outcomes p {
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 22px;
}

.outcomes a {
  color: var(--blue);
}

.outcomes ul {
  padding-left: 22px;
  margin: 0 0 22px;
}

.outcomes li {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 14px;
}

.naviconnects-placeholder {
  width: min(100%, 430px);
  margin: 88px 0 0 30px;
  display: block;
  border: 0;
  border-radius: 0;
}

.naviconnects-logo {
  width: 100%;
  max-width: 430px;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ================================
   ECOSYSTEM
================================ */

.ecosystem {
  padding: 40px 24px 100px;
}

.ecosystem-list {
  display: grid;
  gap: 86px;
}

.ecosystem-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 58px;
  align-items: start;
}

.ecosystem-item img {
  width: 118px;
  height: 118px;
  object-fit: contain;
}

.ecosystem-item h3 {
  color: var(--purple-dark);
  font-size: 27px;
  line-height: 1.25;
  font-weight: 400;
  margin: 0 0 22px;
}

.ecosystem-item ul {
  padding-left: 22px;
  margin: 0;
  color: var(--purple-dark);
}

.ecosystem-item li {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 13px;
}

/* ================================
   GUIDE
================================ */

.guide-section {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: #fff;
}

.guide-bg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 275px;
  background: #e6e6e6;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 0;
}

.guide-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 48% 52%;
  align-items: center;
  min-height: 520px;
}

.guide-image {
  height: 405px;
  background-image: url("/images/TransformingCX/TransformingCXGuide.png");
  background-size: cover;
  background-position: center;
  border-bottom: 6px solid #00a8e8;
}

.guide-copy {
  padding: 60px 80px;
}

.guide-copy h2 {
  font-size: 42px;
  line-height: 1.22;
  font-weight: 400;
  color: #25272d;
  margin: 0 0 34px;
}

/* ================================
   DX SECTION
================================ */

.dx-section {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: #fff;
}

.dx-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 300px;
  height: 325px;
  background: #e6e6e6;
  clip-path: polygon(0 12%, 100% 100%, 100% 0);
  z-index: 0;
}

.dx-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 50% 50%;
  align-items: start;
  min-height: 720px;
}

.dx-copy {
  padding: 90px 54px 120px 112px;
}

.dx-copy h2 {
  font-size: 43px;
  line-height: 1.18;
  font-weight: 400;
  color: #25272d;
  margin: 0 0 30px;
}

.dx-copy p,
.dx-copy li {
  font-size: 15px;
  line-height: 1.5;
}

.dx-copy p {
  max-width: 520px;
  margin: 0 0 22px;
}

.dx-copy a:not(.pill-btn) {
  color: var(--blue);
}

.dx-copy ul {
  padding-left: 22px;
  margin: 0 0 22px;
}

.dx-copy li {
  margin-bottom: 13px;
}

.dx-image {
  height: 405px;
  margin-top: 90px;
  background-image: url("/images/TransformingCX/TransformingCXDX.webp");
  background-size: cover;
  background-position: center;
  border-bottom: 6px solid #00a8e8;
}

/* ================================
   IMAGE-ONLY ANIMATIONS
================================ */

.js-enabled .hero-img,
.js-enabled .shape,
.js-enabled .naviconnects-logo,
.js-enabled .ecosystem-item img,
.js-enabled .guide-image,
.js-enabled .dx-image {
  opacity: 0;
}

.is-visible .hero-img,
.is-visible .shape,
.is-visible .guide-image,
.js-enabled .naviconnects-logo,
.is-visible .dx-image {
  animation: imageSlideInRight 900ms ease-out both;
}

.is-visible .hero-img-main {
  animation-delay: 120ms;
}

.is-visible .hero-img-small {
  animation-delay: 220ms;
}

.is-visible .shape-cyan {
  animation-delay: 80ms;
}

.is-visible .shape-purple {
  animation-delay: 160ms;
}

.is-visible .shape-blue {
  animation-delay: 260ms;
}

.is-visible .naviconnects-placeholder,
.is-visible .ecosystem-item img {
  animation: imagePopIn 700ms ease-out both;
}

.ecosystem-item.is-visible img {
  animation: imagePopIn 700ms ease-out both;
}

@keyframes imageSlideInRight {
  from {
    opacity: 0;
    transform: translateX(70px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes imagePopIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(.94);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ================================
   RESPONSIVE: TABLET
================================ */

@media (max-width: 1100px) {
  .tcx-hero-inner {
    width: min(100% - 80px, 1280px);
  }

  .tcx-hero h1 {
    font-size: 46px;
  }

  .hero-img-top {
    right: 20px;
    width: 320px;
  }

  .hero-img-main {
    right: 190px;
    width: 340px;
  }

  .hero-img-small {
    width: 190px;
  }

  .dx-copy {
    padding-left: 64px;
  }
}

/* ================================
   RESPONSIVE: MOBILE
================================ */

@media (max-width: 900px) {
  .tcx-hero {
    min-height: auto;
    overflow: hidden;
  }

  .tcx-hero-inner {
    width: 100%;
    min-height: 620px;
    padding: 0 14px;
  }

  .tcx-hero-copy {
    padding-top: 64px;
  }

  .eyebrow {
    font-size: 15px;
    margin-bottom: 16px;
  }

  .tcx-hero h1 {
    font-size: 36px;
    line-height: 1.25;
    max-width: 420px;
  }

  .accent-underline {
    background-size: 100% 4px;
    background-position: 0 84%;
  }

  .hero-collage {
    position: relative;
    height: 420px;
    margin-top: 70px;
  }

  .hero-img-top {
    top: 0;
    right: 38px;
    width: 270px;
    height: 138px;
    z-index: 3;
  }

  .hero-img-main {
    top: 178px;
    left: 0;
    right: auto;
    width: 292px;
    height: 176px;
    z-index: 3;
  }

  .hero-img-small {
    top: 196px;
    right: 0;
    width: 130px;
    height: 82px;
    z-index: 4;
  }

  .shape-cyan {
    top: 112px;
    left: 102px;
    right: auto;
    width: 96px;
    height: 46px;
    z-index: 2;
  }

  .shape-purple {
    top: 32px;
    right: 0;
    width: 52px;
    height: 26px;
    z-index: 1;
  }

  .shape-blue {
    top: 274px;
    right: 0;
    width: 64px;
    height: 36px;
    z-index: 2;
  }

  .outcomes {
    padding: 72px 24px 64px;
  }

  .outcomes h2,
  .guide-copy h2,
  .dx-copy h2 {
    font-size: 34px;
  }

  .naviconnects-placeholder {
    margin: 56px auto 0;
    height: 92px;
    font-size: 32px;
  }

  .ecosystem {
    padding: 36px 24px 80px;
  }

  .ecosystem-list {
    gap: 64px;
  }

  .ecosystem-item {
    grid-template-columns: 88px 1fr;
    gap: 32px;
  }

  .ecosystem-item img {
    width: 86px;
    height: 86px;
  }

  .ecosystem-item h3 {
    font-size: 24px;
  }

  .guide-inner,
  .dx-inner {
    grid-template-columns: 1fr;
  }

  .guide-section,
  .guide-inner,
  .dx-section,
  .dx-inner {
    min-height: auto;
  }

  .guide-image {
    height: 300px;
  }

  .guide-copy {
    padding: 56px 28px 88px;
  }

  .guide-bg {
    height: 260px;
  }

  .dx-copy {
    padding: 70px 28px 42px;
  }

  .dx-image {
    height: 300px;
    margin-top: 0;
  }

  .dx-bg {
    top: 430px;
    height: 300px;
  }
}

/* ================================
   RESPONSIVE: SMALL MOBILE
================================ */

@media (max-width: 560px) {
  .section-inner,
  .section-inner.narrow {
    width: min(100% - 40px, 420px);
  }

  .tcx-hero-inner {
    min-height: 620px;
  }

  .tcx-hero h1 {
    font-size: 30px;
  }

  .hero-collage {
    height: 420px;
  }

  .outcomes h2,
  .guide-copy h2,
  .dx-copy h2 {
    font-size: 30px;
  }

  .ecosystem-item {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ecosystem-item img {
    width: 88px;
    height: 88px;
  }

  .ecosystem-item h3 {
    font-size: 22px;
  }

  .guide-image,
  .dx-image {
    height: 240px;
  }

  .naviconnects-placeholder {
    font-size: 26px;
  }
}