html {
  scroll-behavior: smooth;
}

body.xp-home-cinematic {
  --xp-bg: #040814;
  --xp-panel: rgba(8, 14, 28, 0.72);
  --xp-panel-strong: rgba(8, 14, 28, 0.9);
  --xp-border: rgba(104, 161, 255, 0.16);
  --xp-border-strong: rgba(124, 182, 255, 0.28);
  --xp-text: #f5f8ff;
  --xp-text-soft: #bed0ee;
  --xp-text-faint: #7d93ba;
  --xp-accent: #4c7cff;
  --xp-accent-bright: #58d3ff;
  --xp-accent-soft: rgba(88, 211, 255, 0.16);
  --xp-success: #6de5c5;
  color: var(--xp-text);
  font-family: "Manrope", "Poppins", system-ui, sans-serif;
  background:
    radial-gradient(1280px 720px at 90% -10%, rgba(58, 110, 255, 0.16), transparent 56%),
    radial-gradient(920px 560px at 10% 16%, rgba(30, 182, 255, 0.09), transparent 52%),
    linear-gradient(180deg, #030711 0%, #050b16 42%, #02050d 100%);
}

body.xp-home-cinematic .topbar {
  position: fixed;
  top: 18px;
  left: 24px;
  right: 24px;
  z-index: 120;
  width: auto;
  padding: 14px 16px;
  border-radius: 28px;
  background: rgba(5, 11, 24, 0.62);
  border: 1px solid rgba(108, 156, 255, 0.14);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

body.xp-home-cinematic .brand {
  gap: 0.8rem;
  color: #ffffff;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.06rem;
}

body.xp-home-cinematic .brand-logo {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 8px 22px rgba(73, 133, 255, 0.34));
}

body.xp-home-cinematic .topbar-compact-mode {
  justify-content: space-between;
}

body.xp-home-cinematic .topbar-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

body.xp-home-cinematic .topbar-hero-cta,
.xp-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease;
}

body.xp-home-cinematic .topbar-hero-cta {
  color: #ffffff;
  background: rgba(9, 17, 34, 0.58);
  border-color: rgba(112, 160, 255, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02), 0 16px 34px rgba(0, 0, 0, 0.24);
}

body.xp-home-cinematic .topbar-hero-cta:hover,
.xp-home-btn:hover {
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
}

body.xp-home-cinematic .nav-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  border: 1px solid rgba(108, 156, 255, 0.2);
  background: rgba(9, 17, 34, 0.72);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

body.xp-home-cinematic .nav-menu-toggle span {
  width: 22px;
  height: 2px;
  background: #edf4ff;
}

body.xp-home-cinematic .nav-right {
  position: absolute;
  top: calc(100% + 16px);
  right: 0;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 48px));
  padding: 16px;
  border-radius: 26px;
  background: rgba(6, 13, 29, 0.96);
  border: 1px solid rgba(108, 156, 255, 0.14);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.44);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

body.xp-home-cinematic .topbar[data-nav-open="true"] .nav-right {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

body.xp-home-cinematic .nav-item {
  width: 100%;
  justify-content: flex-start;
  padding: 13px 14px;
  border-radius: 18px;
  border: 1px solid rgba(108, 156, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: #d7e7ff;
}

body.xp-home-cinematic .nav-item:hover,
body.xp-home-cinematic .nav-item.active {
  background: rgba(46, 96, 220, 0.18);
  border-color: rgba(108, 156, 255, 0.2);
}

body.xp-home-cinematic .nav-item.nav-cta {
  background: linear-gradient(180deg, rgba(47, 116, 255, 0.16), rgba(9, 17, 34, 0.72));
}

.xp-home-shell {
  position: relative;
  z-index: 1;
  overflow: clip;
}

.xp-home-hero {
  position: relative;
  min-height: 100svh;
  padding: 136px 0 86px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(840px 460px at 74% 18%, rgba(72, 131, 255, 0.18), transparent 58%),
    linear-gradient(180deg, rgba(2, 6, 16, 0.84), rgba(2, 6, 16, 0.54) 48%, rgba(2, 6, 16, 0.9) 100%);
}

.xp-home-video-wrap,
.xp-home-video,
#xpHeroCanvas,
.xp-home-veil,
.xp-home-noise {
  position: absolute;
  inset: 0;
}

.xp-home-video-wrap {
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.xp-home-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  opacity: var(--xp-video-opacity, 0.84);
  filter: saturate(1.14) contrast(1.06) brightness(var(--xp-video-brightness, 0.78));
}

#xpHeroCanvas {
  z-index: 1;
  width: 100%;
  height: 100%;
}

.xp-home-veil {
  z-index: 2;
  opacity: 0.9;
  background:
    linear-gradient(
      90deg,
      rgb(3 8 18 / calc(var(--xp-overlay-strength, 0.46) + 0.22)) 0%,
      rgb(3 8 18 / calc(var(--xp-overlay-strength, 0.46) + 0.12)) 30%,
      rgb(3 8 18 / calc(var(--xp-overlay-strength, 0.46) - 0.14)) 66%,
      rgb(3 8 18 / 0.14) 100%
    ),
    linear-gradient(
      180deg,
      rgb(3 8 18 / 0.18) 0%,
      rgb(3 8 18 / 0.02) 18%,
      rgb(3 8 18 / calc(var(--xp-overlay-strength, 0.46) + 0.12)) 100%
    );
}

.xp-home-noise {
  z-index: 3;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 128px 128px;
  mask-image: radial-gradient(circle at center, black 28%, transparent 92%);
}

.xp-home-hero-shell,
.xp-journey-intro,
.xp-journey,
.xp-final-cta {
  position: relative;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.xp-home-hero-shell {
  z-index: 4;
}

.xp-home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: 44px;
  align-items: center;
}

.xp-home-copy {
  position: relative;
  padding: 28px 0 12px;
  max-width: 640px;
}

.xp-home-kicker-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.xp-home-kicker,
.xp-section-kicker,
.xp-stage-mini-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(126, 170, 255, 0.16);
  background: rgba(10, 17, 34, 0.5);
  color: #dfe8ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.xp-home-motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(84, 186, 255, 0.18);
  background: rgba(6, 23, 35, 0.62);
  color: #f1f7ff;
  font-weight: 700;
  cursor: pointer;
}

.xp-home-motion-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #48e2c2;
  box-shadow: 0 0 0 6px rgba(72, 226, 194, 0.16), 0 0 24px rgba(72, 226, 194, 0.4);
}

.xp-home-motion-toggle[aria-pressed="false"] .xp-home-motion-dot {
  background: #6f87b8;
  box-shadow: 0 0 0 6px rgba(111, 135, 184, 0.16);
}

.xp-home-copy h1 {
  margin: 0;
  max-width: 7.8ch;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(3rem, 5.9vw, 5.7rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.xp-home-copy h1 span,
.xp-home-copy h1 em {
  display: block;
}

.xp-home-copy h1 em {
  color: var(--xp-accent);
  font-style: normal;
}

.xp-home-lead {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--xp-text-soft);
  font-size: clamp(1.08rem, 1.8vw, 1.34rem);
  line-height: 1.72;
}

.xp-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.xp-home-btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #3568ff 0%, #4cbcff 100%);
  box-shadow: 0 18px 40px rgba(44, 105, 255, 0.32);
}

.xp-home-btn-primary:hover {
  box-shadow: 0 22px 44px rgba(44, 105, 255, 0.38);
}

.xp-home-btn-secondary {
  color: #f3f7ff;
  border-color: rgba(116, 164, 255, 0.24);
  background: rgba(8, 15, 31, 0.6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.xp-home-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.xp-home-proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 18px;
  background: rgba(8, 15, 31, 0.7);
  border: 1px solid rgba(110, 157, 255, 0.12);
  color: #dce8fb;
}

.xp-home-proof-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(56, 116, 255, 0.16);
}

.xp-home-proof-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.xp-home-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: end;
  align-content: start;
  gap: 18px;
  min-height: 0;
  max-width: 428px;
  margin-left: auto;
  padding: 24px 0 24px 12px;
}

.xp-home-stage::before {
  content: "";
  position: absolute;
  inset: 10% 8% 8% 14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 129, 255, 0.22) 0%, rgba(61, 129, 255, 0) 68%);
  filter: blur(12px);
}

.xp-home-stage-visual,
.xp-home-stage-panel {
  position: relative;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(12, 20, 39, 0.8), rgba(7, 14, 29, 0.92));
  border: 1px solid rgba(122, 167, 255, 0.16);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  overflow: hidden;
  transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0);
  transition: transform 0.24s ease;
}

.xp-home-stage-visual {
  order: 2;
  width: min(100%, 380px);
  justify-self: end;
  align-self: center;
}

.xp-home-stage-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.xp-home-stage-panel {
  order: 1;
  position: relative;
  z-index: 2;
  width: min(100%, 428px);
  max-width: 428px;
  padding: 28px 26px 24px;
  backdrop-filter: blur(16px) saturate(140%);
}

.xp-home-stage-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.xp-home-stage-status {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(37, 168, 111, 0.18);
  border: 1px solid rgba(109, 229, 197, 0.16);
  color: #dffff1;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.xp-home-stage-panel strong {
  display: block;
  font-size: clamp(1.6rem, 2vw, 2rem);
  line-height: 1.18;
}

.xp-home-stage-panel p {
  margin: 16px 0 0;
  color: var(--xp-text-soft);
  font-size: 1rem;
  line-height: 1.72;
}

.xp-home-stage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.xp-home-stage-tags span,
.xp-home-stage-tags a,
.xp-step-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(110, 157, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #deebff;
  font-weight: 700;
}

.xp-home-stage-tags a {
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.xp-home-stage-tags a:hover {
  color: #ffffff;
  border-color: rgba(130, 186, 255, 0.26);
  background: rgba(76, 124, 255, 0.12);
  transform: translateY(-1px);
}

.xp-journey-intro {
  padding: 34px 0 22px;
}

.xp-section-head {
  max-width: 760px;
}

.xp-section-head h2,
.xp-journey-copy h2,
.xp-final-cta h2 {
  margin: 18px 0 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(2rem, 3vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.xp-section-head p,
.xp-journey-copy p,
.xp-final-cta p,
.xp-journey-rail-head p,
.xp-journey-marker-copy small {
  margin: 16px 0 0;
  color: var(--xp-text-soft);
  font-size: 1.02rem;
  line-height: 1.72;
}

.xp-vital-band {
  margin-top: 28px;
  padding: 28px 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(8, 14, 28, 0.78), rgba(6, 12, 24, 0.92));
  border: 1px solid rgba(110, 157, 255, 0.12);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.22);
}

.xp-vital-band-svg {
  display: block;
  width: 100%;
  height: 90px;
}

.xp-vital-band-back,
.xp-vital-band-front {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.xp-vital-band-back {
  stroke: rgba(119, 159, 255, 0.2);
  stroke-width: 6;
}

.xp-vital-band-front {
  stroke: #6ed1ff;
  stroke-width: 5;
  stroke-dasharray: 16 10 180 10;
  animation: xpVitalPulse 8s linear infinite;
  filter: drop-shadow(0 0 18px rgba(88, 211, 255, 0.48));
}

body[data-motion="paused"] .xp-vital-band-front {
  animation-play-state: paused;
}

.xp-journey {
  padding: 24px 0 120px;
}

.xp-journey-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 38px;
  align-items: start;
}

.xp-journey-rail {
  position: sticky;
  top: 120px;
  padding: 28px 24px 28px 28px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(8, 14, 28, 0.78), rgba(6, 12, 24, 0.94));
  border: 1px solid rgba(110, 157, 255, 0.12);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.24);
}

.xp-journey-rail::before,
.xp-journey-rail::after {
  content: "";
  position: absolute;
  left: 35px;
  top: 128px;
  width: 2px;
  height: calc(100% - 160px);
  border-radius: 999px;
}

.xp-journey-rail::before {
  background: linear-gradient(180deg, rgba(88, 211, 255, 0.12), rgba(124, 131, 255, 0.22));
}

.xp-journey-rail::after {
  background: linear-gradient(180deg, #58d3ff 0%, #4c7cff 54%, #8a7bff 100%);
  box-shadow: 0 0 26px rgba(88, 211, 255, 0.45);
  transform-origin: top center;
  transform: scaleY(var(--journey-progress, 0));
}

.xp-journey-rail-head {
  position: relative;
  padding-left: 24px;
}

.xp-journey-markers {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.xp-journey-marker {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding-left: 0;
  opacity: 0.55;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.xp-journey-marker.is-active,
.xp-journey-marker.is-past {
  opacity: 1;
}

.xp-journey-marker.is-active {
  transform: translateX(4px);
}

.xp-journey-dot {
  position: relative;
  display: inline-flex;
  width: 16px;
  height: 16px;
  margin-top: 12px;
  border-radius: 50%;
  border: 1px solid rgba(125, 179, 255, 0.34);
  background: rgba(9, 17, 34, 0.9);
  box-shadow: 0 0 0 5px rgba(76, 124, 255, 0.08);
}

.xp-journey-marker.is-past .xp-journey-dot,
.xp-journey-marker.is-active .xp-journey-dot {
  background: linear-gradient(135deg, #58d3ff, #4c7cff);
}

.xp-journey-marker.is-active .xp-journey-dot::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid rgba(88, 211, 255, 0.42);
  animation: xpMarkerPulse 1.8s ease infinite;
}

.xp-journey-marker-copy strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.35;
}

.xp-journey-marker-copy small {
  display: block;
  font-size: 0.92rem;
}

.xp-journey-steps {
  display: grid;
  gap: 28px;
}

.xp-journey-step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(380px, 1fr);
  gap: 32px;
  align-items: center;
  padding: 32px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(10, 18, 36, 0.86), rgba(6, 12, 24, 0.96));
  border: 1px solid rgba(110, 157, 255, 0.12);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  scroll-margin-top: 126px;
}

.xp-journey-step::before {
  content: "";
  position: absolute;
  inset: auto -8% -22% auto;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 124, 255, 0.18) 0%, rgba(76, 124, 255, 0) 70%);
  pointer-events: none;
}

.xp-journey-step.is-active {
  border-color: rgba(122, 178, 255, 0.24);
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(88, 211, 255, 0.08);
}

.xp-journey-step.is-reverse .xp-journey-copy {
  order: 2;
}

.xp-journey-step.is-reverse .xp-journey-visual {
  order: 1;
}

.xp-journey-copy {
  position: relative;
  z-index: 1;
}

.xp-journey-visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(118, 170, 255, 0.16);
  background: rgba(7, 14, 28, 0.74);
  transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0);
  transition: transform 0.24s ease;
}

.xp-journey-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.xp-step-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.xp-final-cta {
  margin-bottom: 112px;
  padding: 42px;
  border-radius: 36px;
  background:
    radial-gradient(600px 320px at 92% 8%, rgba(88, 211, 255, 0.12), transparent 58%),
    linear-gradient(180deg, rgba(8, 15, 31, 0.84), rgba(7, 13, 26, 0.96));
  border: 1px solid rgba(110, 157, 255, 0.12);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.28);
}

.xp-final-cta p {
  max-width: 780px;
}

.xp-final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

body[data-motion="paused"] .xp-home-stage-visual,
body[data-motion="paused"] .xp-home-stage-panel,
body[data-motion="paused"] .xp-journey-visual {
  transform: translate3d(0, 0, 0);
}

@keyframes xpVitalPulse {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: -420;
  }
}

@keyframes xpMarkerPulse {
  0% {
    opacity: 0.8;
    transform: scale(0.88);
  }

  70% {
    opacity: 0;
    transform: scale(1.28);
  }

  100% {
    opacity: 0;
    transform: scale(1.28);
  }
}

@media (max-width: 1180px) {
  .xp-home-hero-grid,
  .xp-journey-grid {
    grid-template-columns: 1fr;
  }

  .xp-home-stage {
    max-width: 440px;
    gap: 18px;
    padding: 10px 0 0;
  }

  .xp-home-stage-visual {
    width: min(100%, 360px);
  }

  .xp-home-stage-panel {
    width: 100%;
    max-width: none;
  }

  .xp-journey-rail {
    top: 100px;
  }
}

@media (max-width: 960px) {
  body.xp-home-cinematic .topbar {
    top: 12px;
    left: 14px;
    right: 14px;
    padding: 12px 14px;
    border-radius: 24px;
  }

  body.xp-home-cinematic .topbar-hero-cta {
    display: none;
  }

  .xp-home-hero,
  .xp-journey,
  .xp-final-cta {
    width: min(100%, calc(100% - 28px));
  }

  .xp-home-hero {
    padding-top: 118px;
  }

  .xp-home-copy h1 {
    max-width: 8.6ch;
    font-size: clamp(2.7rem, 12vw, 4.8rem);
  }

  .xp-home-proof-pill,
  .xp-home-stage-tags span,
  .xp-step-chips span {
    min-height: 38px;
    font-size: 0.92rem;
  }

  .xp-journey-rail {
    position: relative;
    top: auto;
  }

  .xp-home-stage {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: none;
    margin-left: 0;
  }

  .xp-home-stage-panel,
  .xp-home-stage-visual {
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }

  .xp-journey-rail::before,
  .xp-journey-rail::after {
    left: 26px;
    top: 122px;
    height: calc(100% - 154px);
  }

  .xp-journey-step {
    grid-template-columns: 1fr;
  }

  .xp-journey-step.is-reverse .xp-journey-copy,
  .xp-journey-step.is-reverse .xp-journey-visual {
    order: initial;
  }
}

@media (max-width: 640px) {
  .xp-home-hero-shell,
  .xp-journey-intro,
  .xp-journey,
  .xp-final-cta {
    width: min(100%, calc(100% - 24px));
  }

  .xp-home-kicker-row,
  .xp-home-actions,
  .xp-final-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .xp-home-btn,
  body.xp-home-cinematic .nav-menu-toggle {
    min-height: 54px;
  }

  .xp-home-proof-row,
  .xp-home-stage-tags,
  .xp-step-chips {
    gap: 8px;
  }

  .xp-home-stage-panel,
  .xp-journey-step,
  .xp-final-cta,
  .xp-vital-band {
    padding: 24px 20px;
  }

  .xp-home-stage-panel strong,
  .xp-section-head h2,
  .xp-journey-copy h2,
  .xp-final-cta h2 {
    font-size: clamp(1.7rem, 7vw, 2.5rem);
  }

  .xp-journey-marker {
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 12px;
  }
}
