:root {
  --journey-cyan: #18bdd5;
  --journey-ink: #07090c;
  --journey-panel: #0d1218;
  --journey-line: rgba(255, 255, 255, .12);
}

body.has-guide-journey {
  background: #eef1f4;
}

body.has-guide-journey .floating-widgets {
  bottom: 7rem !important;
}

body.has-guide-journey #chatbot-cta.ens-chat-prompt.chatbot-cta-fixed {
  display: none !important;
}

.has-guide-journey .guide-nav {
  min-height: 4.75rem;
  padding: 0 clamp(1rem, 2.2vw, 2.25rem);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: rgba(5, 8, 12, .96);
  box-shadow: 0 10px 32px rgba(0, 0, 0, .15);
  backdrop-filter: blur(14px) saturate(125%);
}

.has-guide-journey .guide-nav__inner {
  width: 100%;
  max-width: 1280px;
  min-height: 4.75rem;
}

.has-guide-journey .guide-hero {
  min-height: 0;
  padding-top: 4.75rem;
}

.has-guide-journey .guide-hero__grid {
  width: min(1180px, calc(100% - 2rem));
  min-height: 15.5rem;
  grid-template-columns: minmax(0, 1fr);
  padding: 3rem 0 2.25rem;
}

.has-guide-journey .guide-hero__grid > div:first-child {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(19rem, .72fr);
  column-gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
}

.has-guide-journey .guide-kicker,
.has-guide-journey .guide-hero h1 {
  grid-column: 1;
}

.has-guide-journey .guide-hero h1 {
  max-width: 900px;
  font-size: clamp(2.7rem, 5.1vw, 5.25rem) !important;
  line-height: .92 !important;
}

.has-guide-journey .guide-hero__lead {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  margin: 0;
  font-size: 1rem;
}

.has-guide-journey .guide-actions {
  grid-column: 2;
  margin-top: 1rem;
}

.has-guide-journey .guide-actions .guide-button {
  min-height: 2.75rem;
  padding: .65rem 1rem;
}

.journey-shell {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 2rem));
  min-height: 39rem;
  display: grid;
  grid-template-columns: minmax(15rem, .32fr) minmax(0, 1fr);
  gap: .9rem;
  margin: 1rem auto 2rem;
  scroll-margin-top: 5rem;
}

.journey-shell .guide-hero__card {
  min-width: 0;
  align-self: stretch;
  padding: 1.25rem;
  border-color: var(--journey-line);
  border-radius: 1.4rem;
  background: var(--journey-panel);
  color: #fff;
  box-shadow: 0 24px 70px rgba(7, 12, 18, .14);
  backdrop-filter: none;
}

.journey-shell .guide-hero__card h2 {
  max-width: 12ch;
  margin: .6rem 0 1rem;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
}

.journey-offer {
  margin: 0 0 .9rem;
  padding: .7rem .75rem;
  border: 1px solid rgba(24, 189, 213, .28);
  border-radius: .8rem;
  background: rgba(24, 189, 213, .08);
  color: #d7f8fc;
  font-size: .72rem;
  font-weight: 650;
  line-height: 1.4;
}

.journey-shell .guide-hero__card ol {
  gap: .4rem;
}

.journey-shell .guide-hero__card li {
  display: block;
}

.journey-shell .guide-hero__card li a {
  min-height: 4.45rem;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: .7rem;
  align-items: center;
  padding: .65rem;
  border: 1px solid transparent;
  border-radius: .9rem;
  color: #d5dae0;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.journey-shell .guide-hero__card li a:hover,
.journey-shell .guide-hero__card li a.is-active {
  border-color: rgba(24, 189, 213, .3);
  background: rgba(24, 189, 213, .1);
  color: #fff;
}

.journey-shell .guide-hero__card li a.is-active b {
  border-color: var(--journey-cyan);
  background: var(--journey-cyan);
  color: #041014;
}

.journey-shell .guide-hero__card li div {
  min-width: 0;
}

.journey-shell .guide-hero__card li strong,
.journey-shell .guide-hero__card li span {
  display: block;
}

.journey-shell .guide-hero__card li strong {
  margin-bottom: .2rem;
  font-size: .86rem;
}

.journey-shell .guide-hero__card li span {
  color: #9faab5;
  font-size: .7rem;
  font-weight: 450;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

.journey-workspace {
  min-width: 0;
}

.journey-workspace > .guide-anchor {
  display: none;
}

.journey-stage {
  min-width: 0;
  height: 100%;
  min-height: 39rem;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid #d7dde3;
  border-radius: 1.4rem;
  background: #fff;
  box-shadow: 0 24px 70px rgba(7, 12, 18, .09);
  outline: none;
}

.journey-stage:focus-visible {
  box-shadow: 0 0 0 3px rgba(24, 189, 213, .38), 0 24px 70px rgba(7, 12, 18, .09);
}

.journey-stage__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .85rem 1.1rem;
  border-bottom: 1px solid #e1e5ea;
  background: #f7f9fb;
}

.journey-stage__header > div:first-child {
  min-width: 9rem;
  display: flex;
  align-items: baseline;
  gap: .55rem;
}

.journey-stage__label {
  color: #5d6670;
  font-size: .66rem;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.journey-stage__header strong {
  color: #111820;
  font-size: .76rem;
}

.journey-progress {
  height: .32rem;
  flex: 1;
  overflow: hidden;
  border-radius: 999px;
  background: #dce2e7;
}

.journey-progress span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: var(--journey-cyan);
  transition: width .25s ease;
}

.journey-stage__viewport {
  min-height: 0;
  overflow: hidden;
  touch-action: pan-y;
}

.journey-slide {
  height: 100%;
  max-height: 33rem;
  min-height: 0;
  padding: 0 !important;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scroll-margin-top: 0 !important;
  animation: journey-in .22s ease both;
}

.journey-slide[hidden] {
  display: none !important;
}

.journey-slide > .guide-container {
  width: 100%;
  padding: clamp(1.15rem, 3vw, 2rem);
}

.journey-slide .guide-heading {
  grid-template-columns: minmax(0, 1fr) minmax(13rem, .5fr);
  gap: 1rem;
  margin-bottom: 1rem !important;
  align-items: end;
}

.journey-slide .guide-heading h2 {
  max-width: 16ch;
  margin-top: .25rem;
  font-size: clamp(1.75rem, 3.2vw, 3rem) !important;
  line-height: 1 !important;
  letter-spacing: -.045em !important;
}

.journey-slide .guide-heading p,
.journey-slide .guide-answer,
.journey-slide .guide-card p,
.journey-slide .guide-process p,
.journey-slide .guide-faq p {
  font-size: .82rem;
  line-height: 1.5;
}

.journey-slide .guide-answer {
  margin-bottom: 1rem;
  padding: .75rem .9rem;
}

.journey-slide .guide-measure-card figure {
  height: 14rem;
}

.journey-slide .guide-measure-card > div {
  padding: .9rem 1rem 1rem;
}

.journey-slide .guide-measure-card h3 {
  font-size: 1.25rem;
}

.journey-slide .guide-deep-dive {
  margin-top: .75rem;
}

.journey-slide .guide-deep-dive > summary,
.journey-slide .guide-size-table > summary {
  min-height: 3.25rem;
}

.journey-slide .guide-next,
.journey-slide .guide-design-next {
  display: none;
}

.journey-slide .guide-process,
.journey-slide .guide-design-distribution,
.journey-slide .guide-grid {
  gap: .65rem;
}

.journey-slide .guide-process article,
.journey-slide .guide-card,
.journey-slide .guide-design-distribution article {
  padding: .9rem;
}

.journey-slide .guide-table th,
.journey-slide .guide-table td {
  padding: .65rem .8rem;
}

.journey-slide .guide-media-story {
  grid-template-columns: minmax(13rem, .72fr) minmax(0, 1fr);
}

.journey-slide .guide-media-story__media video {
  height: 18rem;
}

.journey-slide .guide-media-story__copy h3 {
  font-size: 2rem;
}

.journey-stage__footer {
  min-height: 4.25rem;
  display: grid;
  grid-template-columns: minmax(8rem, auto) 1fr minmax(8rem, auto);
  gap: .7rem;
  align-items: center;
  padding: .7rem 1rem;
  border-top: 1px solid #e1e5ea;
  background: #f7f9fb;
}

.journey-stage__footer p,
.journey-assistant {
  margin: 0;
  color: #737d87;
  font-size: .68rem;
  text-align: center;
}

.journey-assistant {
  min-height: 2.75rem;
  padding: .55rem .7rem;
  border: 1px solid rgba(24, 189, 213, .38);
  border-radius: .8rem;
  background: rgba(24, 189, 213, .08);
  color: #086f80;
  font-weight: 750;
  cursor: pointer;
}

.journey-assistant:hover,
.journey-assistant:focus-visible {
  border-color: var(--journey-cyan);
  background: rgba(24, 189, 213, .16);
  color: #044d59;
}

.journey-control {
  min-height: 2.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .65rem .9rem;
  border: 1px solid #ccd3da;
  border-radius: .8rem;
  background: #fff;
  color: #111820;
  font-weight: 750;
  cursor: pointer;
}

.journey-control--next {
  border-color: var(--journey-cyan);
  background: var(--journey-cyan);
  color: #041014;
}

.journey-control--next.is-final {
  min-width: 14rem;
}

.journey-control:disabled {
  opacity: .38;
  cursor: not-allowed;
}

.has-guide-journey main > .guide-section:not([id]) {
  padding: 1rem 0 2rem !important;
  background: transparent;
}

.has-guide-journey main > .guide-section:not([id]) .guide-cta {
  padding: 1.5rem;
  border-radius: 1.25rem;
}

.has-guide-journey main > .guide-section:not([id]) .guide-cta h2 {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
}

@keyframes journey-in {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 1023px) {
  .has-guide-journey .guide-hero__grid > div:first-child {
    grid-template-columns: minmax(0, 1fr) minmax(17rem, .7fr);
  }

  .has-guide-journey .guide-actions {
    display: none;
  }

  .journey-shell {
    grid-template-columns: 14rem minmax(0, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 1320px) {
  body.has-guide-journey .floating-widgets {
    bottom: 11rem !important;
  }

  .has-guide-journey .journey-slide > .guide-container {
    padding-right: 5.25rem;
  }
}

@media (max-width: 767px) {
  .has-guide-journey .guide-hero {
    padding-top: 4rem;
  }

  .has-guide-journey .guide-hero__grid {
    min-height: 0;
    padding: 1.4rem 0 1.25rem;
  }

  .has-guide-journey .guide-hero__grid > div:first-child {
    display: block;
  }

  .has-guide-journey .guide-kicker {
    margin-bottom: .65rem;
    font-size: .62rem;
  }

  .has-guide-journey .guide-hero h1 {
    max-width: 14ch !important;
    font-size: clamp(1.85rem, 9.2vw, 2.55rem) !important;
  }

  .has-guide-journey .guide-hero__lead {
    max-width: 40rem;
    margin-top: .9rem;
    font-size: .9rem;
    line-height: 1.55;
  }

  .journey-shell {
    width: 100%;
    min-height: 0;
    display: block;
    margin: 0 auto 1rem;
    scroll-margin-top: 4rem;
  }

  .journey-shell > .guide-hero__card {
    display: none;
  }

  .journey-workspace > .guide-anchor {
    position: static;
    display: flex;
    justify-content: flex-start;
    gap: .55rem;
    padding: .8rem 1rem;
    border: 0;
    background: #0b0f14;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 1rem;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .journey-workspace > .guide-anchor::-webkit-scrollbar {
    display: none;
  }

  .journey-workspace > .guide-anchor a {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    padding: .55rem .75rem;
    border: 1px solid rgba(255, 255, 255, .13);
    background: #121820;
    color: #b9c2cb;
    scroll-snap-align: center;
  }

  .journey-workspace > .guide-anchor a.is-active {
    border-color: var(--journey-cyan);
    background: rgba(24, 189, 213, .12);
    color: #fff;
  }

  .journey-stage {
    min-height: 0;
    height: auto;
    margin: 0 .85rem;
    overflow: visible;
    border-radius: 1.15rem;
  }

  .journey-stage__viewport {
    width: 100%;
    min-width: 0;
    overflow: visible;
  }

  .journey-stage__header {
    min-height: 3.25rem;
    padding: .8rem 1rem;
  }

  .journey-stage__header > div:first-child {
    min-width: auto;
  }

  .journey-stage__label {
    display: none;
  }

  .journey-slide {
    width: 100%;
    min-width: 0;
    height: auto;
    max-height: none;
    overflow: visible;
    overscroll-behavior: auto;
  }

  .journey-slide > .guide-container {
    width: 100%;
    min-width: 0;
    padding: 1.25rem;
  }

  .journey-slide .guide-heading {
    display: block;
    margin-bottom: 1.1rem !important;
  }

  .journey-slide .guide-heading h2 {
    max-width: 18ch;
    font-size: clamp(1.55rem, 7.3vw, 2rem) !important;
  }

  .journey-slide .guide-heading > p {
    margin-top: .7rem;
  }

  .journey-slide .guide-answer {
    margin-bottom: 1rem;
  }

  .journey-slide .guide-measure-grid,
  .journey-slide .guide-grid,
  .journey-slide .guide-process,
  .journey-slide .guide-design-distribution {
    display: flex !important;
    gap: .85rem;
    padding-bottom: .5rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .journey-slide .guide-measure-grid::-webkit-scrollbar,
  .journey-slide .guide-grid::-webkit-scrollbar,
  .journey-slide .guide-process::-webkit-scrollbar,
  .journey-slide .guide-design-distribution::-webkit-scrollbar {
    display: none;
  }

  .journey-slide .guide-measure-grid > *,
  .journey-slide .guide-grid > *,
  .journey-slide .guide-process > *,
  .journey-slide .guide-design-distribution > * {
    flex: 0 0 86%;
    min-width: 0;
    scroll-snap-align: center;
  }

  .journey-slide .guide-measure-card figure {
    height: 12rem;
  }

  .journey-slide .guide-measure-card[open] summary {
    display: none;
  }

  .journey-slide .guide-measure-card:not([open]) {
    align-self: start;
  }

  .journey-slide .guide-table {
    min-width: 31rem;
  }

  .journey-slide .guide-media-story {
    grid-template-columns: 1fr;
  }

  .journey-slide .guide-media-story__media video {
    height: 15rem;
  }

  .journey-stage__footer {
    position: sticky;
    z-index: 8;
    bottom: 0;
    min-height: 4.5rem;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr) minmax(0, .95fr);
    gap: .55rem;
    padding: .7rem .75rem;
    padding-right: max(.65rem, env(safe-area-inset-right));
  }

  .journey-stage__footer p,
  .journey-assistant {
    font-size: .62rem;
  }

  .journey-assistant {
    min-width: 0;
    padding-inline: .4rem;
  }

  .journey-control {
    min-width: 0;
    min-height: 2.9rem;
    padding: .5rem .4rem;
    font-size: .69rem;
  }

  .journey-control--next.is-final {
    min-width: 0;
    max-width: 11.5rem;
  }

  .has-guide-journey main > .guide-section:not([id]) {
    padding: .75rem .65rem 1.25rem !important;
  }

  .has-guide-journey main > .guide-section:not([id]) .guide-container {
    width: 100%;
  }

  .has-guide-journey main > .guide-section:not([id]) .guide-cta {
    display: block;
    padding: 1rem;
  }

  .has-guide-journey main > .guide-section:not([id]) .guide-cta h2 {
    font-size: 1.45rem;
  }

  .has-guide-journey main > .guide-section:not([id]) .guide-cta p {
    font-size: .8rem;
  }

  .has-guide-journey main > .guide-section:not([id]) .guide-button {
    margin-top: .8rem;
  }

  .has-guide-journey .guide-footer {
    padding-bottom: 5rem;
  }

  body[data-ens-page="guide-design"] .journey-stage {
    height: auto;
  }

  body.has-guide-journey .floating-widgets {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .journey-slide {
    animation: none;
  }

  .journey-progress span {
    transition: none;
  }
}
