:root {
  --motion-fast: 160ms;
  --motion-base: 360ms;
  --motion-slow: 760ms;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-fluid: cubic-bezier(0.22, 0.61, 0.36, 1);
  --focus-ring: #ffe79b;
  --cyan: #4fd8ff;
}

html {
  scroll-padding-top: calc(var(--header) + 1rem);
}

[id] {
  scroll-margin-top: calc(var(--header) + 1rem);
}

:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
}

.hero {
  --spot-x: 70%;
  --spot-y: 36%;
  min-height: max(780px, 100svh);
  padding: calc(var(--header) + 4.5rem) 0 6.7rem;
  isolation: isolate;
  background:
    radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(36, 111, 255, 0.22), transparent 24%),
    radial-gradient(circle at 18% 14%, rgba(212, 175, 55, 0.12), transparent 26%),
    linear-gradient(140deg, #030814 0%, #071228 44%, #0a1b38 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.hero::before {
  width: 34rem;
  height: 34rem;
  right: -14rem;
  top: 10%;
  border-radius: 50%;
  border: 1px solid rgba(79, 216, 255, 0.16);
  box-shadow: 0 0 100px rgba(31, 117, 255, 0.12), inset 0 0 80px rgba(212, 175, 55, 0.08);
}

.hero::after {
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 96px 100%;
  mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 70%, transparent);
  opacity: 0.35;
}

.hero-motion,
.hero__mesh {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-motion {
  z-index: -2;
  opacity: 0.9;
}

.hero__mesh {
  z-index: -1;
  inset: 44% -15% -25%;
  width: 130%;
  height: 70%;
  background-image:
    linear-gradient(rgba(106, 160, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(106, 160, 255, 0.12) 1px, transparent 1px);
  background-size: 54px 54px;
  transform: perspective(520px) rotateX(66deg) translateY(20%);
  transform-origin: center top;
  mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
  opacity: 0.38;
}

.hero__glow {
  inset: 18% 22% auto auto;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 134, 255, 0.24), rgba(212, 175, 55, 0.08) 38%, transparent 68%);
  filter: blur(12px);
  animation: hero-breathe 7s ease-in-out infinite alternate;
}

.hero__grid {
  z-index: 2;
  grid-template-columns: minmax(0, 0.92fr) minmax(540px, 1.08fr);
  gap: clamp(2.5rem, 5vw, 5rem);
}

.hero__copy {
  position: relative;
  z-index: 4;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.15rem;
  padding: 0.48rem 0.78rem;
  border: 1px solid rgba(79, 216, 255, 0.22);
  border-radius: 999px;
  background: rgba(8, 25, 54, 0.64);
  color: #b9dfff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.hero__eyebrow span,
.hero__signal-dot,
.hero-console__brand i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(79, 216, 255, 0.1), 0 0 18px rgba(79, 216, 255, 0.7);
  animation: signal-pulse 2s ease-in-out infinite;
}

.hero__brand {
  margin-bottom: 0.55rem;
  color: #fff;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 5.6vw, 5.3rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.hero h1 span {
  display: inline-block;
  color: transparent;
  background: linear-gradient(110deg, #fff0b3 0%, var(--gold-bright) 36%, #fff 50%, var(--gold) 64%, #ffe79b 100%);
  background-size: 240% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  animation: gold-sweep 6s ease-in-out infinite;
}

.hero__lead {
  max-width: 35rem;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  color: rgba(226, 237, 255, 0.78);
}

.hero__actions .btn {
  position: relative;
  overflow: hidden;
  min-width: 150px;
}

.hero__actions .btn::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(105deg, transparent 36%, rgba(255,255,255,0.44) 50%, transparent 64%);
  transform: translateX(-140%);
  transition: transform 650ms var(--ease-out-expo);
}

.hero__actions .btn:hover::after {
  transform: translateX(140%);
}

.hero__signal {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.35rem;
  padding: 0.58rem 0.75rem;
  border-left: 1px solid rgba(79, 216, 255, 0.34);
  color: #a9bedf;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

.hero__signal strong {
  color: #fff;
  font-size: 0.78rem;
}

.hero__stage {
  position: relative;
  min-height: 590px;
  display: grid;
  place-items: center;
  perspective: 1500px;
  transform-style: preserve-3d;
}

.hero-console {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  width: min(580px, 100%);
  padding: 0.75rem;
  border: 1px solid rgba(127, 177, 255, 0.24);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(20, 43, 83, 0.82), rgba(4, 13, 31, 0.94));
  box-shadow: 0 48px 100px rgba(0,0,0,0.52), 0 0 0 1px rgba(255,255,255,0.035) inset, 0 0 70px rgba(42, 119, 255, 0.14);
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateZ(0);
  transform-style: preserve-3d;
  transition: transform 70ms linear, border-color var(--motion-base) ease, box-shadow var(--motion-base) ease;
  will-change: transform;
}

.hero-console:hover {
  border-color: rgba(240, 215, 140, 0.42);
  box-shadow: 0 52px 110px rgba(0,0,0,0.58), 0 0 80px rgba(212, 175, 55, 0.12), 0 0 60px rgba(42, 119, 255, 0.2);
}

.hero-console::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255,255,255,0.16), transparent 22%, transparent 70%, rgba(79,216,255,0.08));
  pointer-events: none;
  transform: translateZ(18px);
}

.hero-console__topbar,
.hero-console__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0.45rem 0.75rem;
  color: #a9bedf;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-console__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #eaf3ff;
}

.hero-console__brand i {
  display: inline-block;
  width: 0.42rem;
  height: 0.42rem;
}

.hero-console__secure {
  color: var(--gold-bright);
}

.hero-console__footer {
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem 1.35rem;
  padding: 0.75rem 0.4rem 0.2rem;
  color: rgba(185, 210, 246, 0.58);
}

.hero-console .device__bezel {
  overflow: hidden;
  aspect-ratio: 1.36 / 1;
  padding: 0;
  border-radius: 17px;
  background: #f6f8fc;
  border-color: rgba(255,255,255,0.2);
  transform: translateZ(22px);
}

.hero-console .device__bezel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: inherit;
}

.device__scan {
  position: absolute;
  inset: -30% 0 auto;
  height: 38%;
  background: linear-gradient(to bottom, transparent, rgba(79,216,255,0.09), rgba(255,255,255,0.16), transparent);
  mix-blend-mode: screen;
  animation: scan-dashboard 5.6s ease-in-out infinite;
  pointer-events: none;
}

.hero-metric {
  position: absolute;
  z-index: 5;
  display: grid;
  gap: 0.12rem;
  min-width: 150px;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(140, 184, 255, 0.22);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(14, 35, 71, 0.88), rgba(5, 16, 37, 0.94));
  box-shadow: 0 18px 48px rgba(0,0,0,0.36), inset 0 1px rgba(255,255,255,0.06);
  backdrop-filter: blur(14px);
  transform: translate3d(var(--depth-x, 0), var(--depth-y, 0), 70px);
  animation: metric-float 5s ease-in-out infinite;
}

.hero-metric span,
.hero-metric small {
  color: #94abd0;
  font-size: 0.65rem;
}

.hero-metric strong {
  color: #fff;
  font-size: 0.9rem;
}

.hero-metric--sales {
  left: -5%;
  top: 8%;
}

.hero-metric--stock {
  right: -4%;
  bottom: 12%;
  animation-delay: -1.7s;
}

.hero-metric--control {
  left: 6%;
  bottom: 4%;
  display: flex;
  align-items: center;
  min-width: 0;
  animation-delay: -3s;
}

.hero-metric__pulse {
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  background: #38e69a;
  box-shadow: 0 0 14px rgba(56, 230, 154, 0.8);
}

.hero__orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(79, 216, 255, 0.14);
  border-radius: 50%;
  transform: rotateX(68deg) rotateZ(-12deg);
  animation: orbit-spin 18s linear infinite;
}

.hero__orbit--one {
  width: 112%;
  aspect-ratio: 1;
}

.hero__orbit--two {
  width: 84%;
  aspect-ratio: 1;
  border-color: rgba(212, 175, 55, 0.12);
  animation-direction: reverse;
  animation-duration: 24s;
}

.hero__rail {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  padding: 0.95rem 0;
  border-top: 1px solid rgba(106, 160, 255, 0.12);
  border-bottom: 1px solid rgba(106, 160, 255, 0.08);
  background: rgba(3, 10, 23, 0.58);
  backdrop-filter: blur(12px);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.hero__rail-track {
  display: flex;
  width: max-content;
  animation: rail-flow 30s linear infinite;
}

.hero__rail span {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  margin-right: 2.8rem;
  color: #93a9cc;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__rail span::before {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(212,175,55,0.62);
}

.module,
.finance-card,
.benefit,
.audience-item,
.role {
  transition: transform var(--motion-base) var(--ease-out-expo), border-color var(--motion-base) ease, box-shadow var(--motion-base) ease;
}

.module:hover,
.finance-card:hover,
.benefit:hover,
.audience-item:hover,
.role:hover {
  transform: translateY(-7px);
  border-color: rgba(212, 175, 55, 0.36);
  box-shadow: 0 24px 55px rgba(0,0,0,0.28), 0 0 34px rgba(42,119,255,0.08);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Interactive system explorer */
.explorer {
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-height: 100svh;
  padding-block: clamp(6rem, 9vw, 9rem);
  background:
    radial-gradient(circle at 50% 42%, rgba(45, 120, 255, 0.2), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(79, 216, 255, 0.1), transparent 24%),
    linear-gradient(180deg, #050d1c 0%, #07152d 48%, #050d1c 100%);
}

.explorer::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(107, 157, 232, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 157, 232, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, #000, transparent 72%);
}

.explorer__head {
  max-width: 60rem;
  margin: 0 auto clamp(2.6rem, 5vw, 4.5rem);
  text-align: center;
}

.explorer__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: #9edfff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.explorer__eyebrow::before {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(79, 216, 255, 0.72);
}

.explorer__head h2 {
  max-width: 16ch;
  margin: 0 auto 1rem;
  color: #f5f8ff;
  font-size: clamp(2.7rem, 5.8vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.explorer__head h2 span {
  color: transparent;
  background: linear-gradient(110deg, var(--cyan), #a8d8ff 42%, var(--gold-bright) 78%, #fff0ae);
  background-clip: text;
  -webkit-background-clip: text;
}

.explorer__head > p:last-child {
  max-width: 42rem;
  margin: 0 auto;
  color: #9fb3d3;
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.7;
}

.explorer__shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  max-width: 1240px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(126, 173, 243, 0.2);
  border-radius: 32px;
  background: rgba(5, 16, 37, 0.84);
  box-shadow: 0 48px 130px rgba(0, 0, 0, 0.48), 0 0 80px rgba(45, 120, 255, 0.1);
  backdrop-filter: blur(22px);
}

.explorer__tabs {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem;
  border-right: 1px solid rgba(124, 167, 232, 0.14);
  background: linear-gradient(180deg, rgba(19, 43, 82, 0.72), rgba(5, 16, 37, 0.88));
}

.explorer__tab {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 64px;
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid transparent;
  border-radius: 15px;
  background: transparent;
  color: #94a9ca;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: color var(--motion-fast) ease, background var(--motion-base) ease, border-color var(--motion-base) ease, transform var(--motion-fast) ease;
}

.explorer__tab:hover {
  color: #eef5ff;
  background: rgba(40, 83, 146, 0.22);
  transform: translateX(3px);
}

.explorer__tab[aria-selected="true"] {
  color: #fff;
  border-color: rgba(79, 216, 255, 0.24);
  background: linear-gradient(120deg, rgba(40, 97, 181, 0.38), rgba(18, 49, 94, 0.34));
  box-shadow: inset 3px 0 var(--cyan), 0 12px 28px rgba(0, 0, 0, 0.18);
}

.explorer__tab span {
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: 0.67rem;
}

.explorer__tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
}

.explorer.is-autoplay .explorer__tab[aria-selected="true"]::after {
  animation: explorer-progress 6.4s linear forwards;
}

.explorer.is-cycle-paused .explorer__tab[aria-selected="true"]::after {
  animation-play-state: paused;
}

.explorer__workspace {
  --explorer-tilt-x: 0deg;
  --explorer-tilt-y: 0deg;
  min-width: 0;
  background: linear-gradient(145deg, rgba(11, 30, 62, 0.76), rgba(3, 12, 29, 0.94));
}

.explorer__toolbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 52px;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid rgba(124, 167, 232, 0.14);
  color: #91a8ca;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.explorer__dots {
  display: flex;
  gap: 0.35rem;
}

.explorer__dots i {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #476086;
}

.explorer__dots i:nth-child(1) { background: var(--gold); }
.explorer__dots i:nth-child(2) { background: var(--cyan); }

.explorer__connected {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #9fb7d8;
}

.explorer__connected i {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #38e69a;
  box-shadow: 0 0 12px rgba(56, 230, 154, 0.7);
}

.explorer__content {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 0;
  min-height: 600px;
}

.explorer__media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  align-self: stretch;
  margin: 1.2rem 0 1.2rem 1.2rem;
  border: 1px solid rgba(126, 173, 243, 0.2);
  border-radius: 22px;
  background: #f5f7fb;
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.35);
  transform: perspective(1500px) rotateX(var(--explorer-tilt-x)) rotateY(var(--explorer-tilt-y));
  transform-style: preserve-3d;
  transition: transform 70ms linear, opacity var(--motion-fast) ease;
  will-change: transform;
}

.explorer__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.24), transparent 22%, transparent 72%, rgba(79, 216, 255, 0.1));
  pointer-events: none;
}

.explorer__media img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  object-position: top center;
  transition: opacity var(--motion-fast) ease, transform 460ms var(--ease-out-expo), filter var(--motion-fast) ease;
}

.explorer__scan {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: -25%;
  height: 22%;
  background: linear-gradient(to bottom, transparent, rgba(79, 216, 255, 0.11), rgba(255, 255, 255, 0.2), transparent);
  mix-blend-mode: screen;
  pointer-events: none;
}

.explorer.is-inview .explorer__scan {
  animation: explorer-scan 5.8s ease-in-out infinite;
}

.explorer__detail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.6rem, 3vw, 3rem);
  transition: opacity var(--motion-fast) ease, transform 460ms var(--ease-out-expo), filter var(--motion-fast) ease;
}

.explorer__module-label {
  margin: 0 0 0.75rem;
  color: var(--gold-bright);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.explorer__detail h3 {
  margin: 0 0 0.9rem;
  color: #f5f8ff;
  font-size: clamp(1.7rem, 2.7vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.explorer__detail > p:not(.explorer__module-label) {
  margin: 0;
  color: #9fb2d0;
  line-height: 1.7;
}

.explorer__detail ul {
  display: grid;
  gap: 0.65rem;
  margin: 1.4rem 0 1.7rem;
}

.explorer__detail li {
  position: relative;
  padding-left: 1.35rem;
  color: #cfdbed;
  font-size: 0.9rem;
  font-weight: 600;
}

.explorer__detail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(79, 216, 255, 0.55);
}

.explorer__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.explorer__arrows {
  display: flex;
  gap: 0.5rem;
}

.explorer__arrows button,
.explorer__autoplay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  border: 1px solid rgba(126, 173, 243, 0.24);
  border-radius: 13px;
  background: rgba(15, 39, 77, 0.72);
  color: #eaf3ff;
  font: inherit;
  cursor: pointer;
  transition: transform var(--motion-fast) ease, border-color var(--motion-fast) ease, background var(--motion-fast) ease;
}

.explorer__arrows button:hover,
.explorer__autoplay:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 216, 255, 0.5);
  background: rgba(28, 69, 127, 0.78);
}

.explorer__arrows button:active,
.explorer__autoplay:active {
  transform: translateY(0) scale(0.96);
}

.explorer__arrows svg,
.explorer__autoplay svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.explorer__autoplay {
  gap: 0.5rem;
  padding-inline: 0.85rem;
  color: #adc2df;
  font-size: 0.72rem;
  font-weight: 700;
}

.explorer__play-icon,
.explorer__autoplay[aria-pressed="false"] .explorer__pause-icon {
  display: none;
}

.explorer__autoplay[aria-pressed="false"] .explorer__play-icon {
  display: block;
}

.explorer__link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 48px;
  padding: 0.75rem 0.95rem;
  border: 1px solid rgba(212, 175, 55, 0.26);
  border-radius: 13px;
  color: var(--gold-bright);
  font-size: 0.82rem;
  font-weight: 800;
  transition: color var(--motion-fast) ease, background var(--motion-fast) ease, border-color var(--motion-fast) ease;
}

.explorer__link:hover {
  color: #fff4c9;
  border-color: rgba(212, 175, 55, 0.55);
  background: rgba(212, 175, 55, 0.08);
}

.explorer__workspace.is-changing .explorer__media img,
.explorer__workspace.is-changing .explorer__detail {
  opacity: 0;
  transform: translate3d(var(--explorer-shift, 14px), 4px, 0) scale(0.992);
  filter: blur(1.5px);
}

.explorer__workspace:not(.is-changing) .explorer__media img,
.explorer__workspace:not(.is-changing) .explorer__detail {
  transform: translate3d(0, 0, 0) scale(1);
}

@keyframes explorer-progress {
  to { transform: scaleX(1); }
}

@keyframes explorer-scan {
  0%, 12% { transform: translateY(-60%); opacity: 0; }
  28%, 70% { opacity: 0.72; }
  88%, 100% { transform: translateY(580%); opacity: 0; }
}

/* Full-page motion story */
.page-progress {
  position: fixed;
  z-index: 120;
  top: var(--header);
  right: 0;
  bottom: 0;
  width: 3px;
  background: rgba(125, 161, 218, 0.08);
  pointer-events: none;
}

.page-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, var(--cyan), #4d83ff 58%, var(--gold-bright));
  box-shadow: 0 0 16px rgba(79, 216, 255, 0.62);
  transform: scaleY(var(--page-progress, 0));
  transform-origin: top;
  will-change: transform;
}

.chapter-status {
  position: fixed;
  z-index: 70;
  left: 1.25rem;
  bottom: 1.25rem;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(126, 173, 245, 0.16);
  border-radius: 999px;
  background: rgba(3, 11, 26, 0.72);
  color: #8ea8d2;
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
  pointer-events: none;
  opacity: var(--chapter-opacity, 0);
  transform: translateY(calc((1 - var(--chapter-opacity, 0)) * 12px));
  transition: opacity var(--motion-base) ease, transform var(--motion-base) var(--ease-out-expo);
}

.chapter-status__index {
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 800;
}

.chapter-status__name {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

main {
  overflow: clip;
  background: #050d1c;
}

.section[data-chapter] {
  --chapter-glow: rgba(45, 120, 255, 0.14);
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-height: min(880px, 92svh);
  padding-block: clamp(6rem, 9vw, 9rem);
  background:
    radial-gradient(circle at 84% 48%, var(--chapter-glow), transparent 31%),
    linear-gradient(145deg, #050d1c 0%, #08162f 52%, #0a1d3d 100%);
}

.section[data-chapter]:nth-of-type(even) {
  background:
    radial-gradient(circle at 14% 48%, var(--chapter-glow), transparent 30%),
    linear-gradient(215deg, #050d1c 0%, #091831 52%, #0b2144 100%);
}

.section[data-chapter]::before {
  content: attr(data-chapter);
  position: absolute;
  z-index: 2;
  top: clamp(2rem, 4vw, 3.5rem);
  left: max(1.25rem, calc((100vw - var(--container, 1180px)) / 2));
  color: rgba(158, 188, 231, 0.52);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section[data-chapter]::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(44rem, 72vw);
  aspect-ratio: 1;
  right: -28rem;
  top: 10%;
  border: 1px solid rgba(79, 216, 255, 0.09);
  border-radius: 50%;
  box-shadow: inset 0 0 90px rgba(45, 120, 255, 0.05), 0 0 90px rgba(45, 120, 255, 0.04);
  opacity: 0.28;
  transform: scale(0.86);
  transition: opacity 1s ease, transform 1.4s var(--ease-out-expo);
  pointer-events: none;
}

.section[data-chapter]:nth-of-type(even)::after {
  right: auto;
  left: -28rem;
}

.section[data-chapter].is-active::after {
  opacity: 0.82;
  transform: scale(1);
}

.section[data-chapter] > .shell {
  position: relative;
  z-index: 2;
}

.section[data-chapter] .section__head {
  max-width: 72rem;
  margin: 0 0 clamp(2.7rem, 5vw, 4.8rem);
  text-align: left;
}

.section[data-chapter] .section__head::before {
  content: "";
  display: block;
  width: 4.5rem;
  height: 2px;
  margin-bottom: 1.25rem;
  background: linear-gradient(90deg, var(--cyan), var(--gold), transparent);
  box-shadow: 0 0 16px rgba(79, 216, 255, 0.35);
  transform: scaleX(0.28);
  transform-origin: left;
  transition: transform 900ms var(--ease-out-expo);
}

.section[data-chapter] .section__head.is-in::before {
  transform: scaleX(1);
}

.section[data-chapter] .section__head h2,
.dashboard__copy h2,
.feature__copy h2,
.reports__copy h2,
.contact__copy h2 {
  max-width: 17ch;
  font-size: clamp(2.35rem, 4.7vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.section[data-chapter] .section__head p,
.dashboard__copy p,
.feature__copy p,
.reports__copy p,
.contact__copy p {
  max-width: 42rem;
  color: #a9bad5;
  font-size: clamp(1rem, 1.25vw, 1.13rem);
  line-height: 1.75;
}

.problem {
  --chapter-glow: rgba(79, 216, 255, 0.1);
}

.problem__layout {
  position: relative;
  align-items: stretch;
  perspective: 1300px;
}

.problem__layout::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 22%;
  right: 22%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, rgba(102, 131, 177, 0.06), var(--cyan), var(--gold), rgba(212, 175, 55, 0.06));
  box-shadow: 0 0 20px rgba(79, 216, 255, 0.24);
}

.problem__col {
  position: relative;
  overflow: hidden;
  min-height: 32rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-color: rgba(115, 151, 208, 0.16);
  background: linear-gradient(145deg, rgba(20, 40, 76, 0.68), rgba(6, 18, 40, 0.9));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  transform: rotateY(3deg);
  transform-origin: right center;
}

.problem__col::after {
  content: "";
  position: absolute;
  inset: auto -30% -55% 20%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 123, 164, 0.14), transparent 70%);
  pointer-events: none;
}

.problem__col--ok {
  border-color: rgba(79, 216, 255, 0.24);
  background: linear-gradient(145deg, rgba(11, 48, 91, 0.82), rgba(6, 20, 45, 0.94));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28), 0 0 48px rgba(45, 120, 255, 0.1);
  transform: rotateY(-3deg);
  transform-origin: left center;
}

.problem__mark {
  position: relative;
  border-radius: 50%;
  box-shadow: 0 0 0 12px rgba(79, 216, 255, 0.025), 0 0 58px rgba(79, 216, 255, 0.15);
}

.problem__mark::before,
.problem__mark::after {
  content: "";
  position: absolute;
  inset: -1rem;
  border: 1px solid rgba(79, 216, 255, 0.17);
  border-radius: 50%;
  animation: bridge-orbit 8s linear infinite;
}

.problem__mark::after {
  inset: -2rem;
  border-color: rgba(212, 175, 55, 0.12);
  animation-direction: reverse;
  animation-duration: 12s;
}

.modules {
  --chapter-glow: rgba(45, 120, 255, 0.18);
}

.module-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: module;
}

.module {
  --card-x: 50%;
  --card-y: 50%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 13.5rem;
  grid-column: span 4;
  padding: clamp(1.35rem, 2.5vw, 2rem);
  border-color: rgba(114, 158, 225, 0.16);
  background: linear-gradient(145deg, rgba(20, 45, 87, 0.76), rgba(5, 17, 39, 0.94));
  counter-increment: module;
}

.module:nth-child(1),
.module:nth-child(8) { grid-column: span 5; }
.module:nth-child(2),
.module:nth-child(7) { grid-column: span 3; }

.module::before,
.finance-card::before,
.audience-item::before,
.benefit::before,
.role::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle 260px at var(--card-x, 50%) var(--card-y, 50%), rgba(79, 216, 255, 0.16), transparent 66%);
  opacity: 0;
  transition: opacity var(--motion-base) ease;
  pointer-events: none;
}

.module:hover::before,
.finance-card:hover::before,
.audience-item:hover::before,
.benefit:hover::before,
.role:hover::after {
  opacity: 1;
}

.module::after {
  content: "0" counter(module);
  position: absolute;
  right: 1rem;
  top: 0.8rem;
  color: rgba(145, 176, 224, 0.24);
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 800;
}

.module img,
.module__icon {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.28));
}

.module h3 {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
}

.dashboard,
.feature,
.reports {
  --chapter-glow: rgba(49, 118, 255, 0.18);
}

.dashboard__grid,
.feature__grid,
.reports__grid {
  min-height: min(720px, 78svh);
  gap: clamp(2.5rem, 6vw, 6rem);
}

.dashboard__grid,
.reports__grid {
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
}

.feature__grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.feature__grid--reverse {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.dashboard__copy,
.feature__copy,
.reports__copy,
.contact__copy {
  position: relative;
  z-index: 4;
}

.shot {
  --media-shift: 0px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 28px;
  border-color: rgba(127, 174, 245, 0.24);
  background: linear-gradient(145deg, rgba(21, 48, 91, 0.82), rgba(3, 12, 29, 0.96));
  box-shadow: 0 45px 110px rgba(0, 0, 0, 0.46), 0 0 70px rgba(45, 120, 255, 0.1);
  transition: transform 800ms var(--ease-out-expo), border-color var(--motion-base) ease, box-shadow var(--motion-base) ease;
  will-change: transform;
}

.shot::before {
  content: "KEDWINSYS / LIVE";
  position: absolute;
  z-index: 2;
  top: 0.7rem;
  left: 0.85rem;
  padding: 0.38rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(2, 10, 24, 0.75);
  color: #b7cae8;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  backdrop-filter: blur(10px);
}

.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.13), transparent 18%, transparent 76%, rgba(79, 216, 255, 0.08));
  pointer-events: none;
}

.shot img {
  min-height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: translate3d(0, var(--media-shift), 0) scale(1.035);
  transition: transform 180ms linear;
  will-change: transform;
}

.dashboard .shot,
.feature--alt .shot {
  transform: perspective(1450px) rotateY(-5deg) rotateX(1.5deg);
}

.feature:not(.feature--alt) .shot,
.reports .shot {
  transform: perspective(1450px) rotateY(5deg) rotateX(1.5deg);
}

.dashboard .shot:hover,
.feature .shot:hover,
.reports .shot:hover {
  transform: perspective(1450px) rotateY(0deg) rotateX(0deg) translateY(-6px);
  border-color: rgba(212, 175, 55, 0.36);
  box-shadow: 0 55px 130px rgba(0, 0, 0, 0.52), 0 0 80px rgba(79, 216, 255, 0.12);
}

.pill-list li {
  position: relative;
  overflow: hidden;
  background: rgba(12, 33, 68, 0.76);
  border-color: rgba(212, 175, 55, 0.2);
  color: #f2d980;
  transition: transform var(--motion-fast) ease, background var(--motion-fast) ease, border-color var(--motion-fast) ease;
}

.pill-list li:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 216, 255, 0.36);
  background: rgba(18, 51, 99, 0.88);
}

.finance {
  --chapter-glow: rgba(212, 175, 55, 0.11);
}

.finance__grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.2rem;
}

.finance-card {
  --card-x: 50%;
  --card-y: 50%;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 25rem;
  grid-column: span 6;
  border-color: rgba(119, 161, 224, 0.17);
  background: linear-gradient(145deg, rgba(20, 44, 84, 0.82), rgba(4, 15, 35, 0.96));
}

.finance-card:nth-child(1),
.finance-card:nth-child(4) { grid-column: span 7; }
.finance-card:nth-child(2),
.finance-card:nth-child(3) { grid-column: span 5; }

.finance-card img,
.finance-card__stat {
  aspect-ratio: auto;
  height: 18rem;
}

.finance-card img {
  transition: transform 700ms var(--ease-out-expo), filter 700ms ease;
}

.finance-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.02);
}

.finance-card__stat {
  flex: 1;
  background:
    radial-gradient(circle at 74% 26%, rgba(79, 216, 255, 0.18), transparent 26%),
    linear-gradient(145deg, #07162f, #142d58 58%, rgba(212, 175, 55, 0.28));
}

.roles {
  --chapter-glow: rgba(79, 216, 255, 0.12);
}

.role-grid {
  position: relative;
  gap: 1.25rem;
  counter-reset: role;
}

.role-grid::before {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  top: 2.1rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--gold), transparent);
  box-shadow: 0 0 18px rgba(79, 216, 255, 0.32);
}

.role {
  --card-x: 50%;
  --card-y: 50%;
  position: relative;
  isolation: isolate;
  min-height: 17rem;
  padding: 6.1rem 2rem 2rem;
  border-color: rgba(116, 158, 221, 0.18);
  background: linear-gradient(145deg, rgba(20, 45, 87, 0.78), rgba(5, 16, 37, 0.96));
  counter-increment: role;
}

.role::before {
  content: "0" counter(role);
  position: absolute;
  z-index: 2;
  top: 1.1rem;
  left: 50%;
  display: grid;
  place-items: center;
  width: 3.8rem;
  height: 3.8rem;
  border: 1px solid rgba(79, 216, 255, 0.28);
  border-radius: 50%;
  background: #071830;
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 0 0 9px rgba(79, 216, 255, 0.035), 0 0 26px rgba(79, 216, 255, 0.14);
  transform: translateX(-50%);
}

.reports .check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.2rem 1rem;
}

.audience {
  --chapter-glow: rgba(45, 120, 255, 0.15);
}

.audience-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.audience-item {
  --card-x: 50%;
  --card-y: 50%;
  position: relative;
  isolation: isolate;
  min-height: 12.5rem;
  grid-column: span 4;
  padding: 2rem;
  border-color: rgba(115, 158, 222, 0.16);
  background: linear-gradient(145deg, rgba(20, 45, 87, 0.76), rgba(5, 17, 39, 0.94));
}

.audience-item:nth-child(1),
.audience-item:nth-child(5) { grid-column: span 5; }
.audience-item:nth-child(2),
.audience-item:nth-child(4) { grid-column: span 3; }
.audience-item:last-child { grid-column: span 12; min-height: 9rem; }

.audience-item h3 {
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
}

.benefits {
  --chapter-glow: rgba(212, 175, 55, 0.14);
}

.benefit-grid {
  counter-reset: benefit;
}

.benefit {
  --card-x: 50%;
  --card-y: 50%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 14rem;
  padding: 2rem;
  border-color: rgba(212, 175, 55, 0.2);
  background: linear-gradient(145deg, rgba(33, 48, 79, 0.7), rgba(6, 18, 40, 0.9));
  counter-increment: benefit;
}

.benefit::after {
  content: "0" counter(benefit);
  position: absolute;
  right: 1rem;
  bottom: -0.55rem;
  color: rgba(212, 175, 55, 0.1);
  font-family: var(--display);
  font-size: 5.2rem;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.benefit h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
}

.route-builder {
  --chapter-glow: rgba(79, 216, 255, 0.14);
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 48%, rgba(45, 120, 255, 0.13), transparent 27%),
    radial-gradient(circle at 88% 62%, rgba(212, 175, 55, 0.08), transparent 25%),
    #050f22;
}

.route-builder__head {
  max-width: 66rem !important;
}

.route-builder__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  color: #9fc3e8 !important;
  font-size: 0.68rem !important;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.route-builder__eyebrow span {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(79, 216, 255, 0.08), 0 0 18px rgba(79, 216, 255, 0.65);
}

.route-builder__head h2 span {
  color: transparent;
  background: linear-gradient(105deg, var(--cyan), #83cfff 42%, var(--gold-bright) 82%);
  background-clip: text;
  -webkit-background-clip: text;
}

.route-builder__selector {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  max-width: 1240px;
  margin: 0 auto 1rem;
  padding: 0.55rem;
  border: 1px solid rgba(124, 168, 235, 0.18);
  border-radius: 20px;
  background: rgba(5, 17, 39, 0.72);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.route-builder__tab {
  position: relative;
  overflow: hidden;
  min-height: 62px;
  padding: 0.75rem 1rem;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: #9fb2cf;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 750;
  cursor: pointer;
  touch-action: manipulation;
  transition: color var(--motion-fast) ease, border-color var(--motion-base) ease, background var(--motion-base) ease, transform var(--motion-fast) ease;
}

.route-builder__tab:active {
  transform: translateY(0) scale(0.98);
}

.route-builder__tab span {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--gold-bright);
  font-size: 0.59rem;
  letter-spacing: 0.14em;
}

.route-builder__tab:hover {
  color: #f4f8ff;
  background: rgba(36, 76, 137, 0.22);
  transform: translateY(-2px);
}

.route-builder__tab[aria-selected="true"] {
  color: #fff;
  border-color: rgba(79, 216, 255, 0.33);
  background: linear-gradient(135deg, rgba(43, 103, 192, 0.4), rgba(12, 42, 85, 0.54));
  box-shadow: 0 13px 30px rgba(0, 0, 0, 0.22), inset 0 -2px var(--cyan);
}

.route-builder__panel {
  --route-shift: 16px;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(330px, 0.82fr) minmax(0, 1.18fr);
  min-height: 610px;
  max-width: 1240px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(124, 168, 235, 0.22);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(17, 42, 81, 0.88), rgba(3, 13, 32, 0.97));
  box-shadow: 0 48px 125px rgba(0, 0, 0, 0.46), 0 0 80px rgba(45, 120, 255, 0.09);
}

.route-builder__panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(100, 155, 235, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 155, 235, 0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, #000, transparent 58%);
}

.route-builder__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 4.2rem);
}

.route-builder__label {
  margin: 0 0 0.75rem;
  color: var(--gold-bright);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.17em;
}

.route-builder__copy h3 {
  max-width: 12ch;
  margin: 0 0 1rem;
  color: #f6f9ff;
  font-size: clamp(2rem, 3.4vw, 3.7rem);
  line-height: 1.01;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.route-builder__copy > p:not(.route-builder__label) {
  max-width: 35rem;
  margin: 0;
  color: #9fb3d1;
  line-height: 1.7;
}

.route-builder__flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 2rem 0;
}

.route-builder__flow::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 1.18rem;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), #5f8eff, var(--gold));
  box-shadow: 0 0 15px rgba(79, 216, 255, 0.35);
}

.route-builder__flow li {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 0.22rem;
  min-width: 0;
  color: #eaf2ff;
}

.route-builder__flow li > span {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 0.45rem;
  border: 1px solid rgba(79, 216, 255, 0.34);
  border-radius: 50%;
  background: #091b38;
  color: var(--gold-bright);
  font-size: 0.58rem;
  font-weight: 850;
  box-shadow: 0 0 0 6px rgba(8, 26, 53, 0.92), 0 0 22px rgba(79, 216, 255, 0.16);
}

.route-builder__flow strong {
  overflow: hidden;
  max-width: 100%;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-builder__flow small {
  color: #7f96b9;
  font-size: 0.65rem;
  line-height: 1.35;
}

.route-builder__cta {
  align-self: flex-start;
  gap: 1.4rem;
  min-height: 52px;
  touch-action: manipulation;
}

.route-builder__cta span {
  font-size: 1.1rem;
  transition: transform var(--motion-fast) ease;
}

.route-builder__cta:hover span {
  transform: translateX(4px);
}

.route-builder__visual {
  position: relative;
  align-self: center;
  min-width: 0;
  margin: 1.3rem 1.3rem 1.3rem 0;
  overflow: hidden;
  border: 1px solid rgba(122, 169, 238, 0.24);
  border-radius: 24px;
  background: #07162e;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.42);
  transform: perspective(1600px) rotateY(-3deg) rotateX(1deg) translateZ(0);
  transform-origin: left center;
  transition: transform 650ms var(--ease-out-expo), border-color var(--motion-base) ease;
}

.route-builder__visual:hover {
  border-color: rgba(79, 216, 255, 0.38);
  transform: perspective(1600px) rotateY(-1deg) rotateX(0) translateY(-4px);
}

.route-builder__visual-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 48px;
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid rgba(124, 168, 235, 0.16);
  color: #849abd;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.route-builder__visual-top > span {
  display: flex;
  gap: 0.28rem;
}

.route-builder__visual-top > span i {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: #486185;
}

.route-builder__visual-top > span i:first-child { background: var(--gold); }
.route-builder__visual-top > span i:nth-child(2) { background: var(--cyan); }

.route-builder__visual-top em {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #93a9ca;
  font-style: normal;
}

.route-builder__visual-top em i {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #38e69a;
  box-shadow: 0 0 12px rgba(56, 230, 154, 0.65);
}

.route-builder__screen {
  position: relative;
  min-height: 455px;
  background: #f4f6fa;
}

.route-builder__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,0.18), transparent 24%, transparent 72%, rgba(79,216,255,0.08));
  pointer-events: none;
}

.route-builder__screen img {
  width: 100%;
  height: 100%;
  min-height: 455px;
  object-fit: cover;
  object-position: top center;
  transition: opacity var(--motion-fast) ease, transform 520ms var(--ease-out-expo), filter var(--motion-fast) ease;
}

.route-builder__signal {
  position: absolute;
  z-index: 4;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  gap: 0.35rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid rgba(79, 216, 255, 0.18);
  border-radius: 999px;
  background: rgba(3, 13, 31, 0.76);
  backdrop-filter: blur(12px);
}

.route-builder__signal span {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--cyan);
  animation: route-signal 1.5s ease-in-out infinite;
}

.route-builder__signal span:nth-child(2) { animation-delay: 140ms; }
.route-builder__signal span:nth-child(3) { animation-delay: 280ms; }

.route-builder__copy > *,
.route-builder__visual {
  transition: opacity 150ms ease, transform 220ms var(--ease-fluid), filter 150ms ease, border-color var(--motion-base) ease;
}

.route-builder__panel.is-changing .route-builder__copy > * {
  opacity: 0;
  filter: blur(1px);
  transform: translate3d(var(--route-shift), 4px, 0);
}

.route-builder__panel.is-changing .route-builder__visual {
  opacity: 0.25;
  filter: saturate(0.6);
  transform: perspective(1600px) rotateY(-3deg) translate3d(calc(0px - var(--route-shift)), 0, 0) scale(0.992);
}

.route-builder__panel:not(.is-changing) .route-builder__copy > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 260ms ease, transform 520ms var(--ease-out-expo), filter 220ms ease;
}

@keyframes route-signal {
  0%, 100% { opacity: 0.34; transform: scale(0.72); }
  50% { opacity: 1; transform: scale(1); }
}

.steps {
  --chapter-glow: rgba(79, 216, 255, 0.12);
}

.steps__list {
  position: relative;
  gap: 1.15rem;
  padding-top: 2.8rem;
}

.steps__list::before {
  content: "";
  position: absolute;
  top: 1.05rem;
  left: 9%;
  right: 9%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), #4e84ff 48%, var(--gold));
  box-shadow: 0 0 18px rgba(79, 216, 255, 0.28);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease-out-expo) 180ms;
}

.steps__list.is-in::before {
  transform: scaleX(1);
}

.steps__list li {
  min-height: 15rem;
  padding: 2rem 1.5rem 1.5rem;
  border-color: rgba(114, 158, 224, 0.17);
  background: linear-gradient(145deg, rgba(20, 44, 84, 0.8), rgba(5, 16, 37, 0.96));
}

.steps__list li span {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  margin: -3.45rem 0 1.7rem;
  border: 1px solid rgba(79, 216, 255, 0.3);
  border-radius: 50%;
  background: #071830;
  box-shadow: 0 0 0 8px #081a35, 0 0 30px rgba(79, 216, 255, 0.18);
}

.cta {
  position: relative;
  z-index: 3;
  margin: -2.5rem 0 0;
  padding: 0;
  background: #050d1c;
}

.cta__row {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 24rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: 34px;
  border-color: rgba(212, 175, 55, 0.3);
  background:
    radial-gradient(circle at 82% 24%, rgba(79, 216, 255, 0.18), transparent 27%),
    linear-gradient(125deg, #081731 0%, #122b54 52%, #09152b 100%);
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.48), 0 0 70px rgba(45, 120, 255, 0.1);
}

.cta__row::before,
.cta__row::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 44rem;
  height: 14rem;
  right: -8rem;
  border: 1px solid rgba(79, 216, 255, 0.2);
  border-radius: 50%;
  transform: rotate(-18deg);
  animation: cta-wave 8s ease-in-out infinite alternate;
}

.cta__row::after {
  width: 36rem;
  right: -2rem;
  border-color: rgba(212, 175, 55, 0.15);
  animation-delay: -3s;
}

.cta__copy h2 {
  max-width: 13ch;
  font-size: clamp(2.3rem, 4vw, 4.2rem);
  letter-spacing: -0.05em;
}

.cta__actions .btn {
  min-height: 52px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

.contact {
  --chapter-glow: rgba(212, 175, 55, 0.1);
  min-height: auto !important;
}

.contact__grid {
  gap: clamp(2.5rem, 6vw, 6rem);
}

.contact__panel {
  position: relative;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border-color: rgba(124, 168, 235, 0.2);
  background: linear-gradient(145deg, rgba(20, 44, 84, 0.84), rgba(4, 15, 35, 0.96));
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.38), 0 0 60px rgba(45, 120, 255, 0.08);
}

.field input,
.field textarea {
  border-color: rgba(125, 166, 226, 0.2);
  background: rgba(2, 11, 27, 0.72);
}

.field input:hover,
.field textarea:hover {
  border-color: rgba(79, 216, 255, 0.28);
}

.footer {
  margin-top: 0;
  background:
    radial-gradient(circle at 70% 0, rgba(45, 120, 255, 0.1), transparent 28%),
    #030814;
}

.module-grid[data-reveal] > *,
.finance__grid[data-reveal] > *,
.role-grid[data-reveal] > *,
.audience-grid[data-reveal] > *,
.benefit-grid[data-reveal] > *,
.steps__list[data-reveal] > * {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transition: opacity 520ms ease, transform 650ms var(--ease-out-expo);
}

.module-grid[data-reveal].is-in > *,
.finance__grid[data-reveal].is-in > *,
.role-grid[data-reveal].is-in > *,
.audience-grid[data-reveal].is-in > *,
.benefit-grid[data-reveal].is-in > *,
.steps__list[data-reveal].is-in > * {
  opacity: 1;
  transform: none;
}

.module-grid.is-in > :nth-child(2),
.finance__grid.is-in > :nth-child(2),
.role-grid.is-in > :nth-child(2),
.audience-grid.is-in > :nth-child(2),
.benefit-grid.is-in > :nth-child(2),
.steps__list.is-in > :nth-child(2) { transition-delay: 60ms; }

.module-grid.is-in > :nth-child(3),
.finance__grid.is-in > :nth-child(3),
.role-grid.is-in > :nth-child(3),
.audience-grid.is-in > :nth-child(3),
.benefit-grid.is-in > :nth-child(3),
.steps__list.is-in > :nth-child(3) { transition-delay: 120ms; }

.module-grid.is-in > :nth-child(4),
.finance__grid.is-in > :nth-child(4),
.audience-grid.is-in > :nth-child(4),
.benefit-grid.is-in > :nth-child(4),
.steps__list.is-in > :nth-child(4) { transition-delay: 180ms; }

.module-grid.is-in > :nth-child(5),
.audience-grid.is-in > :nth-child(5),
.benefit-grid.is-in > :nth-child(5) { transition-delay: 240ms; }

.module-grid.is-in > :nth-child(6),
.audience-grid.is-in > :nth-child(6),
.benefit-grid.is-in > :nth-child(6) { transition-delay: 300ms; }

.module-grid.is-in > :nth-child(7),
.audience-grid.is-in > :nth-child(7) { transition-delay: 360ms; }

.module-grid.is-in > :nth-child(8) { transition-delay: 420ms; }
.module-grid.is-in > :nth-child(9) { transition-delay: 480ms; }

@keyframes hero-breathe {
  to { transform: scale(1.12) translate3d(-2%, 2%, 0); opacity: 0.72; }
}

@keyframes signal-pulse {
  50% { opacity: 0.55; transform: scale(0.72); }
}

@keyframes gold-sweep {
  0%, 24% { background-position: 100% 0; }
  68%, 100% { background-position: 0 0; }
}

@keyframes scan-dashboard {
  0%, 15% { transform: translateY(-35%); opacity: 0; }
  34%, 70% { opacity: 0.8; }
  86%, 100% { transform: translateY(360%); opacity: 0; }
}

@keyframes metric-float {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -12px; }
}

@keyframes orbit-spin {
  to { transform: rotateX(68deg) rotateZ(348deg); }
}

@keyframes rail-flow {
  to { transform: translateX(-50%); }
}

@keyframes bridge-orbit {
  to { transform: rotate(360deg); }
}

@keyframes cta-wave {
  from { transform: rotate(-18deg) translate3d(-2%, -8%, 0) scale(0.94); }
  to { transform: rotate(-12deg) translate3d(4%, 10%, 0) scale(1.08); }
}

@media (max-width: 1180px) {
  .hero__grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(470px, 1.08fr);
    gap: 2rem;
  }
  .hero-metric--sales { left: 0; }
  .hero-metric--stock { right: 0; }
  .chapter-status { display: none; }
  .section[data-chapter]::before {
    left: max(1.25rem, calc((100vw - 92vw) / 2));
  }
}

@media (max-width: 1024px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--header) + 3.2rem);
  }
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__copy {
    max-width: 720px;
  }
  .hero h1 {
    max-width: 10ch;
  }
  .hero__stage {
    width: min(690px, 100%);
    min-height: 590px;
    margin-inline: auto;
  }
  .section[data-chapter] {
    min-height: auto;
  }
  .section[data-chapter] .section__head {
    max-width: 46rem;
  }
  .problem__layout::before,
  .role-grid::before {
    display: none;
  }
  .problem__col,
  .problem__col--ok {
    min-height: auto;
    transform: none;
  }
  .problem__bridge {
    min-height: 8rem;
  }
  .module-grid,
  .finance__grid,
  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .module,
  .module:nth-child(n),
  .finance-card,
  .finance-card:nth-child(n),
  .audience-item,
  .audience-item:nth-child(n) {
    grid-column: auto;
  }
  .audience-item:last-child {
    grid-column: 1 / -1;
  }
  .dashboard__grid,
  .feature__grid,
  .feature__grid--reverse,
  .reports__grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .dashboard__copy,
  .feature__copy,
  .reports__copy {
    max-width: 46rem;
  }
  .dashboard .shot,
  .feature .shot,
  .reports .shot {
    width: min(780px, 100%);
    margin-inline: auto;
    transform: perspective(1400px) rotateX(1deg) rotateY(-2deg);
  }
  .feature:not(.feature--alt) .shot,
  .reports .shot {
    transform: perspective(1400px) rotateX(1deg) rotateY(2deg);
  }
  .finance-card {
    min-height: 22rem;
  }
  .role {
    padding-top: 5.5rem;
  }
  .explorer__shell {
    grid-template-columns: 1fr;
  }
  .explorer__tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid rgba(124, 167, 232, 0.14);
  }
  .explorer__tab:hover {
    transform: translateY(-2px);
  }
  .explorer__content {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    min-height: 540px;
  }
  .route-builder__selector {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .route-builder__panel {
    grid-template-columns: 1fr;
  }
  .route-builder__copy {
    padding-bottom: 1.5rem;
  }
  .route-builder__visual {
    width: calc(100% - 2.6rem);
    margin: 0 1.3rem 1.3rem;
    transform: none;
  }
  .route-builder__visual:hover {
    transform: translateY(-3px);
  }
}

@media (max-width: 640px) {
  .hero {
    padding: calc(var(--header) + 2rem) 0 5.5rem;
  }
  .hero::after,
  .hero__orbit--two {
    display: none;
  }
  .hero h1 {
    font-size: clamp(2.65rem, 13vw, 3.8rem);
    max-width: 9ch;
  }
  .hero__eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.11em;
  }
  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero__actions .btn {
    width: 100%;
  }
  .hero__trust {
    gap: 0.65rem 1rem;
  }
  .hero__signal {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .hero__stage {
    min-height: 430px;
    margin-top: 1rem;
  }
  .hero-console {
    width: 96%;
    border-radius: 20px;
  }
  .hero-console__secure,
  .hero-console__footer span:nth-child(even) {
    display: none;
  }
  .hero-console .device__bezel {
    aspect-ratio: 1.08 / 1;
  }
  .hero-metric {
    min-width: 132px;
    padding: 0.68rem 0.75rem;
  }
  .hero-metric--sales {
    top: -4%;
    left: -1%;
  }
  .hero-metric--stock {
    right: -1%;
    bottom: 2%;
  }
  .hero-metric--control {
    display: none;
  }
  .cta__actions {
    min-width: 0;
  }
  .page-progress {
    width: 2px;
  }
  .section[data-chapter] {
    padding-block: 5.5rem;
  }
  .section[data-chapter]::before {
    top: 1.7rem;
    font-size: 0.61rem;
  }
  .section[data-chapter]::after {
    width: 26rem;
    right: -20rem;
  }
  .section[data-chapter]:nth-of-type(even)::after {
    left: -20rem;
  }
  .section[data-chapter] .section__head {
    margin-bottom: 2.3rem;
  }
  .section[data-chapter] .section__head h2,
  .dashboard__copy h2,
  .feature__copy h2,
  .reports__copy h2,
  .contact__copy h2 {
    font-size: clamp(2.15rem, 10vw, 3.15rem);
  }
  .module-grid,
  .finance__grid,
  .audience-grid,
  .benefit-grid,
  .role-grid {
    grid-template-columns: 1fr;
  }
  .audience-item:last-child {
    grid-column: auto;
  }
  .module,
  .audience-item,
  .benefit {
    min-height: 11.5rem;
  }
  .problem__col {
    padding: 1.25rem;
  }
  .problem__bridge {
    min-height: 7rem;
  }
  .problem__mark img {
    width: 88px;
    height: 88px;
  }
  .shot {
    border-radius: 20px;
  }
  .dashboard .shot,
  .feature .shot,
  .feature:not(.feature--alt) .shot,
  .feature--alt .shot,
  .reports .shot,
  .dashboard .shot:hover,
  .feature .shot:hover,
  .feature:not(.feature--alt) .shot:hover,
  .feature--alt .shot:hover,
  .reports .shot:hover {
    transform: none !important;
  }
  .shot::before {
    top: 0.5rem;
    left: 0.55rem;
  }
  .finance-card {
    min-height: 20rem;
  }
  .finance-card img,
  .finance-card__stat {
    height: 15rem;
  }
  .reports .check-list {
    grid-template-columns: 1fr;
  }
  .steps__list {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 0 0 2rem;
  }
  .steps__list::before {
    top: 1rem;
    bottom: 1rem;
    left: 0.45rem;
    right: auto;
    width: 2px;
    height: auto;
    transform: scaleY(0);
    transform-origin: top;
  }
  .steps__list.is-in::before {
    transform: scaleY(1);
  }
  .steps__list li {
    min-height: auto;
    padding: 1.4rem;
  }
  .steps__list li span {
    position: absolute;
    left: -2.95rem;
    top: 1.35rem;
    width: 2rem;
    height: 2rem;
    margin: 0;
    box-shadow: 0 0 0 6px #081a35, 0 0 22px rgba(79, 216, 255, 0.16);
    font-size: 0.68rem;
  }
  .cta {
    margin-top: -1rem;
  }
  .cta__row {
    min-height: 28rem;
    border-radius: 24px;
  }
  .cta__copy h2 {
    font-size: clamp(2.15rem, 10vw, 3rem);
  }
  .cta__actions {
    display: grid;
    width: 100%;
  }
  .cta__actions .btn {
    width: 100%;
  }
  .explorer {
    min-height: auto;
    padding-block: 5.5rem;
  }
  .explorer__head {
    margin-bottom: 2.2rem;
  }
  .explorer__head h2 {
    font-size: clamp(2.45rem, 12vw, 3.4rem);
  }
  .explorer__shell {
    border-radius: 23px;
  }
  .explorer__tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
    padding: 0.6rem;
  }
  .explorer__tab {
    min-height: 56px;
    gap: 0.5rem;
    padding: 0.65rem 0.7rem;
    border-radius: 12px;
    font-size: 0.76rem;
  }
  .explorer__content {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .explorer__toolbar {
    grid-template-columns: 1fr auto;
    min-height: 46px;
    padding-inline: 0.75rem;
  }
  .explorer__dots {
    display: none;
  }
  .explorer__toolbar > span:nth-child(2) {
    justify-self: start;
  }
  .explorer__connected {
    font-size: 0;
  }
  .explorer__connected i {
    width: 0.5rem;
    height: 0.5rem;
  }
  .explorer__media {
    aspect-ratio: 1.12 / 1;
    margin: 0.75rem 0.75rem 0;
    border-radius: 16px;
    transform: none !important;
  }
  .explorer__media img {
    min-height: 0;
    object-fit: cover;
  }
  .explorer__detail {
    padding: 1.35rem;
  }
  .explorer__detail h3 {
    font-size: clamp(1.75rem, 8vw, 2.3rem);
  }
  .explorer__actions {
    align-items: stretch;
    flex-direction: column;
  }
  .explorer__arrows {
    width: 100%;
  }
  .explorer__arrows button {
    flex: 1;
  }
  .explorer__autoplay {
    width: 100%;
  }
  .route-builder__head h2 {
    font-size: clamp(2.3rem, 11vw, 3.35rem) !important;
  }
  .route-builder__selector {
    gap: 0.35rem;
    padding: 0.45rem;
    border-radius: 17px;
  }
  .route-builder__tab {
    min-height: 58px;
    padding: 0.6rem 0.5rem;
    border-radius: 11px;
    font-size: 0.72rem;
  }
  .route-builder__panel {
    min-height: 0;
    border-radius: 23px;
  }
  .route-builder__copy {
    padding: 1.45rem;
  }
  .route-builder__copy h3 {
    font-size: clamp(2rem, 9.5vw, 2.75rem);
  }
  .route-builder__flow {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-block: 1.6rem;
  }
  .route-builder__flow::before {
    top: 1rem;
    bottom: 1rem;
    left: 1.14rem;
    right: auto;
    width: 2px;
    height: auto;
  }
  .route-builder__flow li {
    grid-template-columns: 2.35rem 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.85rem;
    align-items: center;
  }
  .route-builder__flow li > span {
    grid-row: 1 / 3;
    margin: 0;
  }
  .route-builder__flow strong {
    font-size: 0.82rem;
  }
  .route-builder__cta {
    width: 100%;
  }
  .route-builder__visual {
    width: calc(100% - 1.5rem);
    margin: 0 0.75rem 0.75rem;
    border-radius: 17px;
  }
  .route-builder__visual-top {
    grid-template-columns: 1fr auto;
    min-height: 44px;
    padding-inline: 0.7rem;
  }
  .route-builder__visual-top > span {
    display: none;
  }
  .route-builder__visual-top strong {
    justify-self: start;
  }
  .route-builder__visual-top em {
    font-size: 0;
  }
  .route-builder__screen,
  .route-builder__screen img {
    min-height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__glow,
  .hero__eyebrow span,
  .hero__signal-dot,
  .hero-console__brand i,
  .hero h1 span,
  .device__scan,
  .hero-metric,
  .hero__orbit,
  .hero__rail-track,
  .explorer__scan,
  .explorer__tab::after,
  .route-builder__signal span,
  .problem__mark::before,
  .problem__mark::after,
  .cta__row::before,
  .cta__row::after {
    animation: none !important;
  }
  .hero-console,
  .explorer__media,
  .explorer__media img,
  .explorer__detail,
  .route-builder__copy > *,
  .route-builder__visual,
  .route-builder__screen img,
  .module,
  .finance-card,
  .benefit,
  .audience-item,
  .role,
  .shot,
  .shot img,
  .module-grid[data-reveal] > *,
  .finance__grid[data-reveal] > *,
  .role-grid[data-reveal] > *,
  .audience-grid[data-reveal] > *,
  .benefit-grid[data-reveal] > *,
  .steps__list[data-reveal] > * {
    transform: none !important;
    transition-duration: 0.01ms !important;
  }
  .page-progress span {
    transition: none !important;
  }
}
