.how-work-page {
  --atlas-navy: #0d1938;
  --atlas-blue: #2864f0;
  --atlas-text: var(--text-medium, #586985);
  color: var(--atlas-text);
  font-family: inherit;
  overflow: hidden;
}

.how-work-page *,
.how-work-page *::before,
.how-work-page *::after {
  box-sizing: border-box;
}

.how-work-hero {
  background: #dcecff;
  height: clamp(240px, 24vw, 390px);
  overflow: hidden;
  position: relative;
}

.how-work-hero::before,
.how-work-hero::after {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  content: '';
  height: 520px;
  position: absolute;
  right: 6%;
  top: -250px;
  width: 520px;
}

.how-work-hero::after {
  height: 390px;
  right: 10%;
  top: -184px;
  width: 390px;
}

.how-work-hero__inner {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(330px, 0.78fr) minmax(520px, 1.22fr);
  height: 100%;
  position: relative;
  z-index: 1;
}

.how-work-hero__copy {
  padding-inline-start: 4px;
}

.how-work-hero h1 {
  color: var(--atlas-navy);
  font-family: inherit;
  font-size: clamp(48px, 5.5vw, 80px);
  font-weight: 700;
  letter-spacing: -2.5px;
  line-height: 1.08;
  margin: 0;
  max-width: 560px;
}

.how-work-hero__art {
  align-items: center;
  align-self: stretch;
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.how-work-hero__art svg {
  height: 100%;
  max-height: 390px;
  overflow: visible;
  width: min(100%, 760px);
}

.hero-art__orbits,
.hero-art__streams,
.hero-art__learning {
  fill: none;
  stroke: rgba(40, 100, 240, 0.36);
  stroke-linecap: round;
  stroke-width: 1.5;
}

.hero-art__orbits circle:nth-child(2) { stroke: rgba(13, 25, 56, 0.3); stroke-width: 2; }
.hero-art__orbits circle:nth-child(3) { stroke: rgba(255, 255, 255, 0.9); }
.hero-art__streams { stroke: rgba(40, 100, 240, 0.44); stroke-dasharray: 3 5; }
.hero-art__input-nodes rect { fill: rgba(255, 255, 255, 0.75); stroke: rgba(255, 255, 255, 0.95); }
.hero-art__input-nodes path,
.hero-art__input-nodes circle { fill: none; stroke: #2864f0; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.hero-art__engine circle { fill: rgba(255, 255, 255, 0.72); stroke: #2864f0; stroke-width: 2.5; }
.hero-art__engine circle:first-child { fill: rgba(40, 100, 240, 0.08); stroke: rgba(13, 25, 56, 0.44); stroke-width: 5; }
.hero-art__engine path { fill: none; stroke: #0d1938; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.5; }
.hero-art__data-nodes circle { fill: #2864f0; stroke: #fff; stroke-width: 3; }
.hero-art__data-nodes circle:nth-child(3n) { fill: #ffb66c; }
.hero-art__match circle { fill: rgba(255, 255, 255, 0.72); stroke: #2864f0; stroke-width: 2; }
.hero-art__match circle:nth-child(2) { fill: rgba(255, 182, 108, 0.22); stroke: #ff9d3d; }
.hero-art__match circle:nth-child(3) { fill: #ffb66c; stroke: #fff; stroke-width: 5; }
.hero-art__match path { fill: none; stroke: #0d1938; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.5; }
.hero-art__learning { stroke: #0d1938; stroke-width: 2; }

.how-work-content {
  padding: 64px 0 0;
}

.how-work-intro {
  max-width: 100%;
  width: 100%;
}

.how-work-eyebrow {
  color: var(--atlas-blue) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 2.4px;
  line-height: 1.4 !important;
  margin: 0 0 12px !important;
}

.how-work-intro h2 {
  color: var(--atlas-navy);
  font-family: inherit;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.22;
  margin: 0 0 24px;
}

.how-work-intro > p:not(.how-work-eyebrow) {
  color: var(--atlas-text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0 0 14px;
  white-space: nowrap;
}

.hyperloop {
  height: 900px;
  margin-bottom: 25px;
  margin-left: 0;
  margin-top: 48px;
  position: relative;
  transform: none;
  width: 100%;
}

.hyperloop__canvas {
  height: 100%;
  inset: 0;
  overflow: visible;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.hyperloop__mobile-track { display: none; }
.hyperloop__track-base,
.hyperloop__track,
.hyperloop__track-highlight {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.hyperloop__track-base { stroke: #dbe6fb; stroke-width: 18; }
.hyperloop__track { stroke: url(#hyperloop-track-gradient); stroke-width: 10; }
.hyperloop__track-highlight {
  animation: hyperloop-flow 8s linear infinite;
  stroke: rgba(255, 255, 255, 0.9);
  stroke-dasharray: 6 46;
  stroke-width: 3;
}
.hyperloop__connectors { fill: none; stroke: #8eafea; stroke-linecap: round; stroke-width: 3; }
.hyperloop__junctions { fill: #fff; stroke: var(--atlas-blue); stroke-width: 4; }
.hyperloop__arrows path {
  fill: none;
  stroke: #1745b5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.hyperloop__stages {
  height: 100%;
  inset: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  z-index: 2;
}
.hyperloop-stage { inset: 0; pointer-events: none; position: absolute; }
.hyperloop-stage__node,
.hyperloop-stage__card { pointer-events: auto; position: absolute; }
.hyperloop-stage__node {
  align-items: center;
  background: #fff;
  border: 4px solid var(--atlas-blue);
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(13, 25, 56, 0.14);
  display: flex;
  height: 82px;
  justify-content: center;
  transform: translate(-50%, -50%);
  width: 82px;
  z-index: 4;
}
.hyperloop-stage__node .how-work-icon {
  align-items: center;
  color: var(--atlas-blue);
  display: inline-flex;
  height: 35px;
  justify-content: center;
  width: 35px;
}
.how-work-icon svg {
  fill: none;
  height: 28px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 28px;
}
.hyperloop-stage__number {
  background: var(--atlas-blue);
  border: 2px solid #fff;
  border-radius: 999px;
  bottom: -6px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  left: 50%;
  letter-spacing: .5px;
  line-height: 22px;
  min-width: 30px;
  position: absolute;
  text-align: center;
  transform: translateX(-50%);
}
.hyperloop-stage__card {
  background: #fff;
  border: 1px solid #e1e8f4;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(13, 25, 56, 0.06);
  height: 200px;
  outline: none;
  padding: 20px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  width: calc(20% - 18px);
}
.hyperloop-stage__card:hover,
.hyperloop-stage__card:focus-visible {
  border-color: #b9ccf1;
  box-shadow: 0 16px 36px rgba(13, 25, 56, 0.1);
  transform: translateY(-3px);
}
.hyperloop-stage__card:focus-visible { outline: 3px solid rgba(40, 100, 240, .32); outline-offset: 3px; }
.hyperloop-stage__card h4 { color: var(--atlas-navy); font-family: inherit; font-size: 18px; font-weight: 700; line-height: 1.3; margin: 0 0 8px; }
.hyperloop-stage__card p { color: var(--atlas-text); font-family: inherit; font-size: 14px; line-height: 1.55; margin: 0; }

.hyperloop-stage--1 .hyperloop-stage__node { left: 10%; top: 47.78%; }
.hyperloop-stage--2 .hyperloop-stage__node { left: 18.75%; top: 31.67%; }
.hyperloop-stage--3 .hyperloop-stage__node { left: 31.25%; top: 33.33%; }
.hyperloop-stage--4 .hyperloop-stage__node { left: 38.33%; top: 41.67%; }
.hyperloop-stage--5 .hyperloop-stage__node { left: 69.17%; top: 31.11%; }
.hyperloop-stage--6 .hyperloop-stage__node { left: 90%; top: 47.78%; }
.hyperloop-stage--7 .hyperloop-stage__node { left: 81.67%; top: 63.89%; }
.hyperloop-stage--8 .hyperloop-stage__node { left: 69.17%; top: 62.22%; }
.hyperloop-stage--9 .hyperloop-stage__node { left: 61.67%; top: 55%; }
.hyperloop-stage--10 .hyperloop-stage__node { left: 30.83%; top: 63.89%; }

.hyperloop-stage--1 .hyperloop-stage__card,
.hyperloop-stage--6 .hyperloop-stage__card { left: 0; }
.hyperloop-stage--2 .hyperloop-stage__card,
.hyperloop-stage--7 .hyperloop-stage__card { left: 20%; }
.hyperloop-stage--3 .hyperloop-stage__card,
.hyperloop-stage--8 .hyperloop-stage__card { left: 40%; }
.hyperloop-stage--4 .hyperloop-stage__card,
.hyperloop-stage--9 .hyperloop-stage__card { left: 60%; }
.hyperloop-stage--5 .hyperloop-stage__card,
.hyperloop-stage--10 .hyperloop-stage__card { left: 80%; }
.hyperloop-stage--1 .hyperloop-stage__card,
.hyperloop-stage--2 .hyperloop-stage__card,
.hyperloop-stage--3 .hyperloop-stage__card,
.hyperloop-stage--4 .hyperloop-stage__card,
.hyperloop-stage--5 .hyperloop-stage__card { top: 0; }
.hyperloop-stage--6 .hyperloop-stage__card,
.hyperloop-stage--7 .hyperloop-stage__card,
.hyperloop-stage--8 .hyperloop-stage__card,
.hyperloop-stage--9 .hyperloop-stage__card,
.hyperloop-stage--10 .hyperloop-stage__card { bottom: 0; }

.hyperloop-stage--learning .hyperloop-stage__node { border-color: #1745b5; box-shadow: 0 0 0 9px rgba(40, 100, 240, .12), 0 12px 30px rgba(13, 25, 56, .18); height: 90px; width: 90px; }
.hyperloop-stage--learning .hyperloop-stage__card { background: #f6f9ff; border-color: #cddcf7; border-top: 4px solid var(--atlas-blue); padding-top: 17px; }

.hyperloop-stage__card,
.hyperloop-stage--learning .hyperloop-stage__card {
  align-items: center;
  background: #fff;
  border: 2px solid #cddcf7;
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(13, 25, 56, .1);
  display: flex;
  flex-direction: column;
  height: 140px;
  justify-content: flex-start;
  padding: 18px 22px;
  text-align: center;
  transform: translate(-50%, -50%);
  width: 240px;
}
.hyperloop-stage__card:hover,
.hyperloop-stage__card:focus-visible { transform: translate(-50%, -51%); }
.hyperloop-stage__node,
.hyperloop-stage--learning .hyperloop-stage__node {
  align-items: center;
  background: #fff;
  border: 4px solid var(--atlas-blue);
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(13, 25, 56, .14);
  display: flex;
  height: 72px;
  justify-content: center;
  position: absolute;
  transform: translate(-50%, -50%);
  width: 72px;
  z-index: 4;
}
.hyperloop-stage--learning .hyperloop-stage__node { height: 80px; width: 80px; }
.hyperloop-stage__node .how-work-icon { height: 34px; width: 34px; }
.hyperloop-stage__node .how-work-icon svg { height: 27px; width: 27px; }
.hyperloop-stage__number {
  bottom: -8px;
  left: 50%;
  line-height: 22px;
  min-width: 30px;
  position: absolute;
  transform: translateX(-50%);
}
.hyperloop-stage__card h4 { font-size: 18px; margin: 0 0 10px; }
.hyperloop-stage__card p { font-size: 13px; line-height: 1.48; }
.hyperloop-stage--learning .hyperloop-stage__card {
  box-shadow: 0 0 0 9px rgba(40, 100, 240, .1), 0 14px 34px rgba(13, 25, 56, .14);
}

.hyperloop-stage--1 .hyperloop-stage__node { left: 50%; top: 23.33%; }
.hyperloop-stage--2 .hyperloop-stage__node { left: 61.75%; top: 28.44%; }
.hyperloop-stage--3 .hyperloop-stage__node { left: 69%; top: 41.78%; }
.hyperloop-stage--4 .hyperloop-stage__node { left: 69%; top: 58.22%; }
.hyperloop-stage--5 .hyperloop-stage__node { left: 61.75%; top: 71.56%; }
.hyperloop-stage--6 .hyperloop-stage__node { left: 50%; top: 76.67%; }
.hyperloop-stage--7 .hyperloop-stage__node { left: 38.25%; top: 71.56%; }
.hyperloop-stage--8 .hyperloop-stage__node { left: 31%; top: 58.22%; }
.hyperloop-stage--9 .hyperloop-stage__node { left: 31%; top: 41.78%; }
.hyperloop-stage--10 .hyperloop-stage__node { left: 38.25%; top: 28.44%; }

.hyperloop-stage--1 .hyperloop-stage__card { left: 50%; top: 8.33%; }
.hyperloop-stage--2 .hyperloop-stage__card { left: 75%; top: 12.22%; }
.hyperloop-stage--3 .hyperloop-stage__card { left: 89.17%; top: 36.67%; }
.hyperloop-stage--4 .hyperloop-stage__card { height: 150px; left: 89.17%; top: 63.33%; }
.hyperloop-stage--5 .hyperloop-stage__card { height: 150px; left: 75%; top: 87.78%; }
.hyperloop-stage--6 .hyperloop-stage__card { left: 50%; top: 91.67%; }
.hyperloop-stage--7 .hyperloop-stage__card { left: 25%; top: 87.78%; }
.hyperloop-stage--8 .hyperloop-stage__card { height: 125px; left: 10.83%; top: 63.33%; }
.hyperloop-stage--9 .hyperloop-stage__card { height: 155px; left: 10.83%; top: 36.67%; }
.hyperloop-stage--10 .hyperloop-stage__card { bottom: auto; height: 175px; left: 25%; top: 12.22%; }

.hyperloop__center {
  background: #fff;
  border: 1px solid #dbe6fb;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(13, 25, 56, .1);
  left: 50%;
  padding: 16px 18px;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 24px 28px;
  width: 340px;
  z-index: 3;
}
.hyperloop__center strong { color: var(--atlas-navy); display: block; font-size: 22px; line-height: 1.3; }
.hyperloop__center span { color: var(--atlas-blue); display: block; font-size: 13px; font-weight: 600; line-height: 1.45; margin-top: 7px; }

@keyframes hyperloop-flow { to { stroke-dashoffset: -260; } }

.about-network-cta {
  padding: 64px 0 72px;
}

.about-network-cta-inner {
  align-items: center;
  background: radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.18), transparent 24%), linear-gradient(120deg, #163d9e 0%, #2864f0 58%, #5b8cff 100%);
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(40, 100, 240, 0.2);
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  padding: 46px 54px;
  position: relative;
}

.about-network-cta-inner::after {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  content: '';
  height: 240px;
  position: absolute;
  right: -70px;
  top: -105px;
  width: 240px;
}

.about-network-cta h2 {
  color: #fff;
  font-family: inherit;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  margin: 0;
  position: relative;
  z-index: 1;
}

.about-network-cta .btn {
  background: #fff;
  border: 2px solid #fff;
  color: #1745b5;
  flex: 0 0 auto;
  font-weight: 700;
  margin-inline-start: 28px;
  position: relative;
  z-index: 1;
}

.about-network-cta .btn:hover {
  background: transparent;
  color: #fff;
}

.about-network-cta .btn:focus-visible {
  outline: 3px solid #0d1938;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .hyperloop__track-highlight { animation: none; }
  .hyperloop-stage__card { transition: none; }
}
