/*
 * How It Works
 *
 * Core geometry is derived from the authoritative 1440 px desktop and
 * 402 px mobile Figma nodes. All visible copy remains owned by ACF.
 */

.octops-hiw-section,
.octops-hiw-disclaimer {
  --octops-hiw-card: var(--octops-panel);
  --octops-hiw-panel: #eef4ff;
  --octops-hiw-rule: var(--octops-border);
  --octops-hiw-muted: var(--octops-text-muted);
  --octops-hiw-soft: #71717a;
  --octops-hiw-blue: #0957c3;
  --octops-hiw-blue-soft: #3371f4;
  --octops-hiw-green: #116932;

  color: var(--octops-text);
  font-family: var(--octops-font-body);
}

html[data-theme="dark"] .octops-hiw-section,
html[data-theme="dark"] .octops-hiw-disclaimer {
  --octops-hiw-panel: #181f2b;
  --octops-hiw-soft: #71717a;
  --octops-hiw-blue: #76a0f8;
  --octops-hiw-blue-soft: #3371f4;
  --octops-hiw-green: #86efac;
}

.octops-hiw-container {
  max-width: 1328px;
}

.octops-hiw-section ul,
.octops-hiw-section ol {
  list-style: none;
  margin-block: 0;
  padding-left: 0;
}

.octops-hiw-intro {
  margin-inline: auto;
  min-height: 180px;
  width: 100%;
}

.octops-hiw-intro__title {
  letter-spacing: -0.15px;
  margin: 12px 0 0;
  width: 100%;
}

.octops-hiw-intro__description {
  margin: 12px auto 0;
  max-width: 986px;
  width: 100%;
}

/* Hero */
.octops-hiw-hero {
  isolation: isolate;
  padding-block: 60px;
  position: relative;
}

.octops-hiw-hero__inner {
  align-items: center;
  display: grid;
  gap: 64px;
  grid-template-columns: 642px 574px;
  position: relative;
  z-index: 1;
}

.octops-hiw-hero__copy {
  display: flex;
  flex-direction: column;
  min-height: 322px;
  min-width: 0;
}

.octops-hiw-hero__eyebrow {
  align-self: flex-start;
}

.octops-hiw-hero__title {
  color: var(--octops-text);
  font-family: var(--octops-font-heading);
  font-size: 48px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 60px;
  margin: 12px 0 0;
  max-width: 642px;
}

.octops-hiw-hero__description {
  color: var(--octops-text);
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  margin: 12px 0 0;
  max-width: 642px;
}

.octops-hiw-hero__link {
  align-self: flex-start;
  font-family: var(--octops-font-body);
  font-weight: 500;
  margin-top: 12px;
  min-width: 184px;
}

.octops-hiw-hero-visual {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-width: 0;
  width: 574px;
}

.octops-hiw-hero-visual:only-child {
  grid-column: 1 / -1;
  justify-self: center;
}

.octops-hiw-hero-visual__diagram {
  display: block;
  height: 144px;
  max-width: 100%;
  overflow: visible;
  width: 478px;
}

.octops-hiw-hero-visual__benefits-scroll {
  height: 108.7px;
  max-width: 100%;
  overflow: hidden;
  width: 574px;
}

.octops-hiw-hero-visual__benefits {
  height: 108.7px;
  position: relative;
  width: 574px;
}

.octops-hiw-hero-visual__benefit {
  align-items: center;
  background: var(--octops-hiw-card);
  border: 1px solid var(--octops-hiw-rule);
  border-radius: 9999px;
  color: var(--octops-hiw-green);
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  gap: 8px;
  height: 28px;
  justify-content: center;
  line-height: 16px;
  padding: 6px 22px;
  position: absolute;
  white-space: nowrap;
}

.octops-hiw-hero-visual__benefit:nth-child(1) {
  left: 60.5px;
  top: 8.7px;
  width: 235px;
}

.octops-hiw-hero-visual__benefit:nth-child(2) {
  left: 303.5px;
  top: 8.7px;
  width: 210px;
}

.octops-hiw-hero-visual__benefit:nth-child(3) {
  left: 77.5px;
  top: 44.7px;
  width: 211px;
}

.octops-hiw-hero-visual__benefit:nth-child(4) {
  left: 296.5px;
  top: 44.7px;
  width: 200px;
}

.octops-hiw-hero-visual__benefit:nth-child(5) {
  left: 194.5px;
  top: 80.7px;
  width: 185px;
}

.octops-hiw-hero-visual__benefit:nth-child(n + 6) {
  left: auto;
  margin-right: 8px;
  position: relative;
  top: 116.7px;
  width: auto;
}

@media (min-width: 641px) {
  .octops-hiw-hero-visual__benefits-scroll.has-extra-benefits {
    height: auto;
    overflow: visible;
  }

  .has-extra-benefits .octops-hiw-hero-visual__benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    height: auto;
    justify-content: center;
  }

  .has-extra-benefits .octops-hiw-hero-visual__benefit:nth-child(n) {
    left: auto;
    position: static;
    top: auto;
    width: auto;
  }
}

.octops-hiw-hero-visual__benefit-icon {
  background: currentColor;
  flex: 0 0 16px;
  height: 16px;
  -webkit-mask: url("../images/features/hero/check.svg") center / contain
    no-repeat;
  mask: url("../images/features/hero/check.svg") center / contain no-repeat;
  width: 16px;
}

/* Disclaimer */
.octops-hiw-disclaimer {
  color: var(--octops-hiw-soft);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  margin-inline: auto;
  max-width: 986px;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 2px;
  width: calc(100% - 48px);
}

/* Preserve the section rhythm when either optional Divider row is removed. */
.octops-hiw-hero + .octops-hiw-disclaimer,
.octops-hiw-disclaimer + .octops-hiw-deployment {
  margin-top: 80px;
}

.octops-hiw-disclaimer p {
  margin: 0;
}

.octops-hiw-disclaimer__mobile {
  display: none;
}

/* Alternating deployment journey */
.octops-hiw-deployment__track {
  --octops-hiw-deployment-progress: 0;
  --octops-hiw-deployment-line-width: 2px;
  --octops-hiw-deployment-marker-neutral: #a1a1aa;

  margin-top: 40px !important;
  padding-top: 41.2px !important;
  position: relative;
}

@media (min-width: 769px) {
  .octops-hiw-deployment__track--canonical-five {
    min-height: 1968.68px;
  }
}

.octops-hiw-deployment__track::before {
  background: var(--octops-hiw-rule);
  bottom: 0;
  content: "";
  left: calc(50% - (var(--octops-hiw-deployment-line-width) / 2));
  position: absolute;
  top: 41.2px;
  width: var(--octops-hiw-deployment-line-width);
}

.octops-hiw-deployment__track::after {
  background: linear-gradient(180deg, #6aa6ff 0%, #2f7df0 62%, #ffc181 100%);
  bottom: 0;
  content: "";
  left: calc(50% - (var(--octops-hiw-deployment-line-width) / 2));
  pointer-events: none;
  position: absolute;
  top: 41.2px;
  transform: scaleY(var(--octops-hiw-deployment-progress));
  transform-origin: center top;
  width: var(--octops-hiw-deployment-line-width);
  will-change: transform;
  z-index: 1;
}

.octops-hiw-deployment__stage {
  box-sizing: border-box;
  margin-left: 0;
  min-height: 380px;
  position: relative;
  width: 50%;
}

@media (min-width: 769px) {
  /* The rail and marker are outside this reversible content reveal. */
  .is-hiw-deployment-enhanced .octops-hiw-deployment__stage > article {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 600ms cubic-bezier(0.165, 0.84, 0.44, 1),
      transform 600ms cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  .is-hiw-deployment-enhanced
    .octops-hiw-deployment__stage.is-revealed
    > article {
    opacity: 1;
    transform: translateY(0);
  }
}

.octops-hiw-deployment__stage:nth-child(even) {
  margin-left: 50%;
}

.octops-hiw-deployment__stage:nth-child(1) {
  min-height: 405.3px;
}
.octops-hiw-deployment__stage:nth-child(2) {
  min-height: 374.65px;
}
.octops-hiw-deployment__stage:nth-child(3) {
  min-height: 351.35px;
}
.octops-hiw-deployment__stage:nth-child(4) {
  min-height: 375.81px;
}
.octops-hiw-deployment__stage:nth-child(5) {
  min-height: 420.37px;
}

.octops-hiw-deployment__stage article {
  box-sizing: border-box;
  padding: 0 48px 27px 0;
  position: relative;
}

.octops-hiw-deployment__stage:nth-child(odd) article {
  text-align: right;
}

.octops-hiw-deployment__stage:first-child article {
  padding-bottom: 52px;
}

.octops-hiw-deployment__stage:nth-child(2) article {
  padding-bottom: 26.25px;
}

.octops-hiw-deployment__stage:nth-child(even) article {
  padding-left: 48px;
  padding-right: 0;
}

.octops-hiw-deployment__stage:nth-child(4) article {
  padding-right: 0;
}

.octops-hiw-deployment__marker {
  background: var(--octops-bg);
  border: 2px solid var(--octops-hiw-deployment-marker-neutral);
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--octops-bg);
  height: 15.2px;
  position: absolute;
  right: 0;
  top: 0;
  transform: translateX(50%);
  width: 15.2px;
  z-index: 2;
}

html[data-theme="dark"] .octops-hiw-deployment__track::before {
  background: #e4e4e7;
}

.octops-hiw-deployment__stage:nth-child(even) .octops-hiw-deployment__marker {
  left: 0;
  right: auto;
  transform: translateX(-50%);
}

.octops-hiw-deployment__stage.is-active .octops-hiw-deployment__marker {
  border-color: var(--octops-hiw-blue-soft);
}

html[data-theme="dark"]
  .octops-hiw-deployment__stage.is-active
  .octops-hiw-deployment__marker {
  border-color: #76a0f8;
}

.octops-hiw-deployment__period {
  color: #27272a;
  display: flex;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 400;
  gap: 8px;
  align-items: center;
  line-height: 16px;
  margin: 0;
}

.octops-hiw-deployment__stage:nth-child(odd) .octops-hiw-deployment__period {
  justify-content: flex-end;
}

html[data-theme="dark"] .octops-hiw-deployment__period {
  color: #76a0f8;
}

.octops-hiw-deployment__period::before {
  background: currentColor;
  content: "";
  flex: 0 0 16px;
  height: 16px;
  -webkit-mask: url("../images/how-it-works/later/icon-clock.svg") center / 16px
    16px no-repeat;
  mask: url("../images/how-it-works/later/icon-clock.svg") center / 16px 16px
    no-repeat;
  width: 16px;
}

.octops-hiw-deployment__stage-title {
  color: var(--octops-text);
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 30px;
  margin: 10px 0 0;
}

.octops-hiw-deployment__stage-description {
  color: var(--octops-text);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  margin: 10px 0 0;
}

.octops-hiw-deployment__detail {
  background: var(--octops-hiw-card);
  border: 1px solid var(--octops-hiw-rule);
  border-radius: 14px;
  color: var(--octops-text);
  margin-top: 24px;
  padding: 25px;
  text-align: left;
}

.octops-hiw-deployment__detail-label {
  color: #a1a1aa;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  margin: 0;
}

.octops-hiw-deployment__bullets {
  display: grid;
  gap: 8px;
  margin-top: 8px !important;
}

.octops-hiw-deployment__bullets li,
.octops-hiw-cycle__duties li {
  align-items: flex-start;
  color: var(--octops-hiw-muted);
  display: flex;
  font-size: 16px;
  font-weight: 400;
  gap: 12px;
  line-height: 24px;
}

.octops-hiw-deployment__bullets li {
  color: var(--octops-hiw-muted);
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  gap: 8px;
  line-height: 20.8px;
}

.octops-hiw-deployment__bullets > li > span:first-child {
  background: var(--octops-hiw-blue);
  border-radius: 9999px;
  flex: 0 0 5px;
  height: 5px;
  margin-top: 7.9px;
  width: 5px;
}

.octops-hiw-deployment__dots {
  display: none;
}

/* Improvement cycle */
.octops-hiw-cycle {
  margin-top: 80px;
}

.octops-hiw-cycle__tabs {
  display: grid;
  gap: var(--octops-grid-gap);
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 40px;
  min-height: 100px;
}

.octops-hiw-cycle__tab {
  align-items: flex-start;
  background: var(--octops-hiw-card);
  border: 1px solid var(--octops-hiw-rule);
  border-radius: 16px;
  color: var(--octops-text);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 98px;
  justify-content: center;
  min-width: 0;
  padding: 25px;
  text-align: left;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.octops-hiw-cycle__tab[aria-selected="true"] {
  background:
    linear-gradient(var(--octops-hiw-panel), var(--octops-hiw-panel))
      padding-box,
    linear-gradient(90deg, #afceff, #ffd496) border-box;
  border: 2px solid transparent;
  height: 100px;
  padding: 24px;
}

.octops-hiw-cycle__tab:is(:hover, :focus-visible) {
  border-color: var(--octops-hiw-blue-soft);
}

.octops-hiw-cycle__tab-label {
  color: #000000;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

html[data-theme="dark"] .octops-hiw-cycle__tab-label {
  color: #fafafa;
}

.octops-hiw-cycle__tab-title {
  font-family: var(--octops-font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  margin-top: 4px;
}

.octops-hiw-cycle__panels {
  margin: 40px auto 0;
  max-width: 1120px;
}

.octops-hiw-cycle__panel {
  background: var(--octops-hiw-card);
  border: 1px solid var(--octops-hiw-rule);
  border-radius: 16px;
  color: var(--octops-text);
  min-height: 0;
  padding: 25px;
}

.octops-hiw-cycle__panel[hidden] {
  display: none;
}

.octops-hiw-cycle__panel-eyebrow {
  color: var(--octops-hiw-blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 16px;
  margin: 0;
  text-transform: uppercase;
}

.octops-hiw-cycle__panel-heading {
  color: var(--octops-text);
  font-family: var(--octops-font-body);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 35.2px;
  margin: 8px 0 0;
}

.octops-hiw-cycle__panel-description {
  color: var(--octops-text);
  font-size: 15px;
  line-height: 24px;
  margin: 15.8px 0 0;
}

.octops-hiw-cycle__duties {
  background: #fafafa;
  border-radius: 14px;
  margin-top: 8px;
  padding: 25.8px 20px 16px;
}

html[data-theme="dark"] .octops-hiw-cycle__duties {
  background: #0d1624;
}

.octops-hiw-cycle__duties-label {
  color: var(--octops-hiw-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  margin: 0;
}

.octops-hiw-cycle__duties ul {
  display: grid;
  gap: 8px;
  margin-top: 10px !important;
}

.octops-hiw-cycle__duties li {
  align-items: center;
  color: var(--octops-text);
  font-size: 14px;
  gap: 4px;
  line-height: 20px;
}

.octops-hiw-cycle__duties li > span:first-child {
  background: var(--octops-hiw-blue);
  border-radius: 9999px;
  flex: 0 0 5px;
  height: 5px;
  width: 5px;
}

@media (min-width: 769px) {
  /* Multirow tabs share each row's height so selected borders cannot add
	 * visible space beyond the collection gap. Keep six-step rows unchanged. */
  .octops-hiw-cycle__tabs:has(> .octops-hiw-cycle__tab:nth-child(7))
    > .octops-hiw-cycle__tab {
    height: auto;
    min-height: 100px;
  }

  .octops-hiw-cycle__panel:nth-child(1) {
    min-height: 417.6px;
  }
  .octops-hiw-cycle__panel:nth-child(2) {
    min-height: 349.6px;
  }
  .octops-hiw-cycle__panel:nth-child(3) {
    min-height: 325.6px;
  }
  .octops-hiw-cycle__panel:nth-child(4) {
    min-height: 321.6px;
  }
  .octops-hiw-cycle__panel:nth-child(5) {
    min-height: 325.6px;
  }
  .octops-hiw-cycle__panel:nth-child(6) {
    min-height: 273.6px;
  }
}

/* Verified two-second Figma motion cohort. */
.octops-hiw-motion-camera-body,
.octops-hiw-motion-edge-body,
.octops-hiw-motion-bar,
.octops-hiw-motion-status {
  transform-box: fill-box;
  transform-origin: center;
}

.octops-hiw-motion-line,
.octops-hiw-motion-camera-lens,
.octops-hiw-motion-edge-glyph,
.octops-hiw-motion-status {
  opacity: 1;
}

.octops-hiw-hero-visual.is-hiw-motion-active .octops-hiw-motion-camera-body {
  animation: octops-hiw-camera-body 2s linear infinite;
}

.octops-hiw-hero-visual.is-hiw-motion-active .octops-hiw-motion-camera-lens {
  animation: octops-hiw-camera-lens 2s linear infinite;
}

.octops-hiw-hero-visual.is-hiw-motion-active .octops-hiw-motion-line--left {
  animation: octops-hiw-line-left 2s linear infinite;
}

.octops-hiw-hero-visual.is-hiw-motion-active .octops-hiw-motion-edge-body {
  animation: octops-hiw-edge-body 2s linear infinite;
}

.octops-hiw-hero-visual.is-hiw-motion-active .octops-hiw-motion-edge-glyph {
  animation: octops-hiw-edge-glyph 2s linear infinite;
}

.octops-hiw-hero-visual.is-hiw-motion-active .octops-hiw-motion-line--right {
  animation: octops-hiw-line-right 2s linear infinite;
}

.octops-hiw-hero-visual.is-hiw-motion-active .octops-hiw-motion-bar--one {
  animation: octops-hiw-bar-one 2s linear infinite;
}

.octops-hiw-hero-visual.is-hiw-motion-active .octops-hiw-motion-bar--two {
  animation: octops-hiw-bar-two 2s linear infinite;
}

.octops-hiw-hero-visual.is-hiw-motion-active .octops-hiw-motion-bar--three {
  animation: octops-hiw-bar-three 2s linear infinite;
}

.octops-hiw-hero-visual.is-hiw-motion-active .octops-hiw-motion-status {
  animation: octops-hiw-status 2s linear infinite;
}

@keyframes octops-hiw-camera-body {
  0% {
    animation-timing-function: ease-in-out;
    transform: scale(1);
  }
  30% {
    animation-timing-function: ease-in-out;
    transform: scale(1.05);
  }
  60%,
  100% {
    transform: scale(1);
  }
}

@keyframes octops-hiw-camera-lens {
  0% {
    animation-timing-function: ease-in-out;
    opacity: 1;
  }
  25% {
    animation-timing-function: ease-in-out;
    opacity: 0.5;
  }
  50%,
  100% {
    opacity: 1;
  }
}

@keyframes octops-hiw-line-left {
  0% {
    animation-timing-function: ease-out;
    opacity: 0;
  }
  20%,
  70% {
    opacity: 1;
  }
  70% {
    animation-timing-function: ease-in-out;
  }
  90%,
  100% {
    opacity: 0;
  }
}

@keyframes octops-hiw-edge-body {
  0%,
  40% {
    animation-timing-function: ease-in-out;
    transform: scale(1);
  }
  65% {
    animation-timing-function: ease-in-out;
    transform: scale(1.05);
  }
  90%,
  100% {
    transform: scale(1);
  }
}

@keyframes octops-hiw-edge-glyph {
  0% {
    animation-timing-function: ease-in-out;
    opacity: 1;
  }
  50% {
    animation-timing-function: ease-in-out;
    opacity: 0.4;
  }
  100% {
    opacity: 1;
  }
}

@keyframes octops-hiw-line-right {
  0%,
  30% {
    animation-timing-function: ease-out;
    opacity: 0;
  }
  50%,
  80% {
    opacity: 1;
  }
  80% {
    animation-timing-function: ease-in-out;
  }
  100% {
    opacity: 0;
  }
}

@keyframes octops-hiw-bar-one {
  0% {
    animation-timing-function: ease-out;
    transform: scale(1, 0.3);
  }
  30%,
  80% {
    transform: scale(1);
  }
  80% {
    animation-timing-function: ease-in-out;
  }
  100% {
    transform: scale(1, 0.3);
  }
}

@keyframes octops-hiw-bar-two {
  0%,
  10% {
    animation-timing-function: ease-out;
    transform: scale(1, 0.3);
  }
  40%,
  85% {
    transform: scale(1);
  }
  85% {
    animation-timing-function: ease-in-out;
  }
  100% {
    transform: scale(1, 0.3);
  }
}

@keyframes octops-hiw-bar-three {
  0%,
  20% {
    animation-timing-function: ease-out;
    transform: scale(1, 0.3);
  }
  50%,
  90% {
    transform: scale(1);
  }
  90% {
    animation-timing-function: ease-in-out;
  }
  100% {
    transform: scale(1, 0.3);
  }
}

@keyframes octops-hiw-status {
  0% {
    animation-timing-function: ease-in-out;
    opacity: 0.4;
    transform: scale(0.8);
  }
  40%,
  75% {
    opacity: 1;
    transform: scale(1);
  }
  75% {
    animation-timing-function: ease-in-out;
  }
  100% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

@media (max-width: 1311px) {
  .octops-hiw-hero__inner {
    gap: clamp(40px, 4.444vw, 64px);
    grid-template-columns: minmax(0, 642fr) minmax(0, 574fr);
  }
}

@media (max-width: 1000px) {
  .octops-hiw-hero__inner {
    gap: 40px;
    grid-template-columns: minmax(0, 1fr);
  }

  .octops-hiw-hero__copy {
    min-height: 0;
  }

  .octops-hiw-hero__link {
    margin-top: 40px;
  }

  .octops-hiw-hero-visual {
    justify-self: center;
  }
}

@media (max-width: 768px) {
  .octops-hiw-container {
    padding-inline: 16px;
  }

  .octops-hiw-intro {
    min-height: 0;
  }

  .octops-hiw-deployment__track {
    --octops-hiw-deployment-mobile-rail-left: 50%;
    --octops-hiw-deployment-mobile-rail-width: 0px;

    background: none;
    display: flex;
    gap: 40px;
    min-height: 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    padding: 25.2px 0 0 !important;
    scroll-padding-inline: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .octops-hiw-deployment__track::-webkit-scrollbar,
  .octops-hiw-cycle__tabs::-webkit-scrollbar {
    display: none;
  }

  .octops-hiw-deployment__track::before {
    bottom: auto;
    display: block;
    height: var(--octops-hiw-deployment-line-width);
    left: var(--octops-hiw-deployment-mobile-rail-left);
    top: calc(8px - (var(--octops-hiw-deployment-line-width) / 2));
    width: var(--octops-hiw-deployment-mobile-rail-width);
  }

  .octops-hiw-deployment__track::after {
    bottom: auto;
    display: block;
    height: var(--octops-hiw-deployment-line-width);
    left: var(--octops-hiw-deployment-mobile-rail-left);
    top: calc(8px - (var(--octops-hiw-deployment-line-width) / 2));
    transform: scaleX(var(--octops-hiw-deployment-progress));
    transform-origin: left center;
    width: var(--octops-hiw-deployment-mobile-rail-width);
  }

  .octops-hiw-deployment__stage,
  .octops-hiw-deployment__stage:nth-child(n) {
    align-self: flex-start;
    flex: 0 0 100%;
    margin-left: 0;
    min-height: 435px;
    scroll-snap-align: center;
    width: auto;
  }

  .is-hiw-deployment-enhanced .octops-hiw-deployment__stage article > * {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 600ms cubic-bezier(0.165, 0.84, 0.44, 1),
      transform 600ms cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  .is-hiw-deployment-enhanced
    .octops-hiw-deployment__stage.is-revealed
    article
    > * {
    opacity: 1;
    transform: translateY(0);
  }

  .octops-hiw-deployment__stage article,
  .octops-hiw-deployment__stage:nth-child(even) article,
  .octops-hiw-deployment__stage:nth-child(odd) article,
  .octops-hiw-deployment__stage:first-child article {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 435px;
    padding: 0;
    text-align: left;
  }

  .octops-hiw-deployment__stage:nth-child(n) .octops-hiw-deployment__marker {
    background: var(--octops-bg);
    border-color: var(--octops-hiw-deployment-marker-neutral);
    box-shadow: none;
    display: block;
    left: 50%;
    right: auto;
    /* Stage starts at 25.2px; both marker and 2px rail center at 8px. */
    top: -17.2px;
    transform: translate(-50%, -50%);
  }

  .octops-hiw-deployment__stage:nth-child(n).is-active
    .octops-hiw-deployment__marker {
    border-color: var(--octops-hiw-blue-soft);
  }

  html[data-theme="dark"]
    .octops-hiw-deployment__stage:nth-child(n).is-active
    .octops-hiw-deployment__marker {
    border-color: #76a0f8;
  }

  .octops-hiw-deployment__stage:nth-child(n) .octops-hiw-deployment__period {
    font-size: 12px;
    font-weight: 400;
    justify-content: center;
    line-height: 16px;
  }

  .octops-hiw-deployment__period::before {
    flex-basis: 16px;
    height: 16px;
    -webkit-mask-size: 16px 16px;
    mask-size: 16px 16px;
    width: 16px;
  }

  .octops-hiw-deployment__stage-title,
  .octops-hiw-deployment__stage-description,
  .octops-hiw-deployment__detail {
    width: 100%;
  }

  .octops-hiw-deployment__stage-title {
    margin-top: 12.49px;
  }

  .octops-hiw-deployment__stage-description {
    color: var(--octops-text);
    margin-top: 10px;
  }

  .octops-hiw-deployment__detail {
    margin-top: 10px;
    padding: 23px 21px 17px;
  }

  .octops-hiw-deployment__detail-label {
    color: var(--octops-hiw-soft);
    font-weight: 400;
  }

  .octops-hiw-deployment__dots {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 8px;
  }

  .octops-hiw-deployment__dots button {
    background: #f4f4f5;
    border: 0;
    border-radius: 9999px;
    cursor: pointer;
    height: 10px;
    padding: 0;
    transition: background-color 180ms ease;
    width: 10px;
  }

  .octops-hiw-deployment__dots button[aria-current="true"] {
    background: #111111;
    width: 10px;
  }

  .octops-hiw-cycle__tabs {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .octops-hiw-cycle__tab {
    flex: 0 0 193.333px;
    scroll-snap-align: start;
  }

  .octops-hiw-cycle__panels {
    margin-top: 40px;
  }

  .octops-hiw-cycle__panel {
    min-height: 0;
    padding: 25px;
  }

  .octops-hiw-cycle__panel:first-child {
    min-height: 627.6px;
  }

  .octops-hiw-cycle__duties-label {
    font-family: Menlo, Monaco, Consolas, monospace;
    font-size: 11px;
    letter-spacing: 0.88px;
    line-height: 17.6px;
    text-transform: uppercase;
  }

  .octops-hiw-cycle__duties li {
    font-size: 12px;
    line-height: 16px;
  }
}

@media (max-width: 640px) {
  .octops-hiw-hero {
    padding-bottom: 80px;
    padding-top: 48px;
  }

  .octops-hiw-hero__inner {
    gap: 40px;
  }

  .octops-hiw-hero__copy {
    align-items: center;
    text-align: center;
  }

  .octops-hiw-hero__eyebrow {
    align-self: center;
  }

  .octops-hiw-hero__title {
    font-size: 36px;
    line-height: 44px;
    margin-top: 12px;
    max-width: 370px;
  }

  .octops-hiw-hero__description {
    font-size: 20px;
    line-height: 30px;
    margin-top: 12px;
    max-width: 370px;
  }

  .octops-hiw-hero__link {
    align-self: center;
    margin-top: 40px;
    min-width: 169px;
  }

  .octops-hiw-hero-visual {
    gap: 40px;
    max-width: none;
    width: 100%;
  }

  .octops-hiw-hero-visual__diagram {
    height: auto;
    margin-inline: auto;
    width: 370px;
  }

  .octops-hiw-hero-visual__benefits-scroll {
    -webkit-overflow-scrolling: touch;
    height: 28px;
    margin-right: -16px;
    max-width: none;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 0;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    width: calc(100% + 16px);
  }

  .octops-hiw-hero-visual__benefits-scroll::-webkit-scrollbar {
    display: none;
  }

  .octops-hiw-hero-visual__benefits {
    display: flex;
    gap: 14px;
    height: 28px;
    position: static;
    width: max-content;
  }

  .octops-hiw-hero-visual__benefit:nth-child(n) {
    display: inline-flex;
    flex: 0 0 auto;
    left: auto;
    position: static;
    scroll-snap-align: start;
    top: auto;
    width: auto;
  }

  .octops-hiw-hero-visual__benefit:nth-child(1) {
    min-width: 235px;
  }
  .octops-hiw-hero-visual__benefit:nth-child(2) {
    min-width: 210px;
  }
  .octops-hiw-hero-visual__benefit:nth-child(3) {
    min-width: 211px;
  }
  .octops-hiw-hero-visual__benefit:nth-child(4) {
    min-width: 240px;
  }
  .octops-hiw-hero-visual__benefit:nth-child(5) {
    min-width: 185px;
  }

  .octops-hiw-disclaimer {
    font-size: 18px;
    line-height: 28px;
    position: relative;
    text-decoration: none;
    width: calc(100% - 32px);
    z-index: 1;
  }

  .octops-hiw-disclaimer__desktop {
    display: none;
  }

  .octops-hiw-disclaimer__mobile {
    display: block;
  }

  .octops-hiw-cycle .octops-hiw-intro__description {
    max-width: 350px;
  }

  .octops-hiw-deployment__stage-title {
    font-size: 20px;
    line-height: 30px;
  }
}

html[data-theme="dark"]
  .octops-hiw-deployment__dots
  button[aria-current="true"] {
  background: #fafafa;
}

@media (prefers-reduced-motion: reduce) {
  .octops-hiw-section *,
  .octops-hiw-section *::before,
  .octops-hiw-section *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .octops-hiw-motion-camera-body,
  .octops-hiw-motion-edge-body,
  .octops-hiw-motion-bar,
  .octops-hiw-motion-status {
    transform: scale(1) !important;
  }

  .octops-hiw-motion-line,
  .octops-hiw-motion-camera-lens,
  .octops-hiw-motion-edge-glyph,
  .octops-hiw-motion-status {
    opacity: 1 !important;
  }
}
