/* =========================================================
   Neuro Solutions: Manufacturers
   ========================================================= */

.mfg {
  --mfg-ink: #1a1a1c;
  --mfg-muted: rgba(26, 26, 28, 0.62);
  --mfg-faint: rgba(26, 26, 28, 0.44);
  --mfg-line: rgba(26, 26, 28, 0.1);
  --mfg-blue: #3c5294;
  --mfg-cyan: #83e7ee;
  --mfg-teal: #0e7490;
  --mfg-amber: #b45309;
  --mfg-dark-ink: #f4f7fb;
  --mfg-dark-muted: rgba(222, 230, 241, 0.72);
  --mfg-dark-faint: rgba(222, 230, 241, 0.46);
  --mfg-soft: var(--color-background-3, #f4f5f8);
  --mfg-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

.mfg :where(p) {
  margin: 0;
}

:where(.mfg-panel, .mfg-lesson__meta) p {
  color: inherit;
}

.mfg-band {
  padding-inline: 20px;
}

.mfg-shell {
  max-width: 1880px;
  margin-inline: auto;
  border-radius: 24px;
}

@media (min-width: 1280px) {
  .mfg-shell {
    border-radius: 32px;
  }
}

.mfg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.8125rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mfg-blue);
}

.mfg-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mfg-teal);
  box-shadow: 0 0 0 4px rgba(14, 116, 144, 0.12);
}

.mfg-eyebrow--dark {
  color: var(--mfg-cyan);
}

.mfg-eyebrow--dark::before {
  background: var(--mfg-cyan);
  box-shadow: 0 0 0 4px rgba(131, 231, 238, 0.14);
}

.mfg-h2 {
  margin: 0;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--mfg-ink);
  text-wrap: balance;
}

.mfg-h2--dark {
  color: var(--mfg-dark-ink);
}

.mfg-lede {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--mfg-muted);
  text-wrap: pretty;
}

.mfg-lede--dark {
  color: var(--mfg-dark-muted);
}

.mfg-pill {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(60, 82, 148, 0.08);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--mfg-blue);
}

.mfg-pill--teal {
  background: rgba(14, 116, 144, 0.1);
  color: var(--mfg-teal);
}

.mfg-kicker {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mfg-teal);
}

/* =========================================================
   Hero
   ========================================================= */
.mfg-hero-section {
  padding: 0 20px;
}

@media (max-width: 767px) {
  .mfg-hero-section {
    padding-inline: 0;
  }
}

.mfg-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 1880px;
  margin-inline: auto;
  overflow: hidden;
  isolation: isolate;
  padding: 124px 0 32px;
  border-radius: 0 0 24px 24px;
  background:
    radial-gradient(90% 32% at 85% 10%, rgba(30, 44, 74, 0.7), transparent 70%),
    #131417;
  color: var(--mfg-dark-ink);
}

.mfg-hero :where(p) {
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.mfg-hero__scene {
  position: relative;
  order: 2;
  margin: 36px 0 0;
}

.mfg-hero__media {
  position: relative;
  width: 132%;
  margin-left: -16%;
  aspect-ratio: 1220 / 570;
}

.mfg-hero__media::after {
  content: "";
  position: absolute;
  inset: -1px 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, #131417, rgba(19, 20, 23, 0)) top / 100% 18% no-repeat,
    linear-gradient(0deg, #131417, rgba(19, 20, 23, 0)) bottom / 100% 26% no-repeat;
}

.mfg-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.06) brightness(1.12);
  animation: mfg-drift 24s ease-in-out infinite alternate;
  transform-origin: 60% 55%;
}

.mfg-hero__wire {
  display: none;
}

.mfg-hero__inner {
  display: contents;
}

.mfg-hero__copy {
  position: relative;
  z-index: 2;
  order: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 620px;
  margin-inline: 20px;
}

.mfg-hero__eyebrow {
  font-size: 0.8125rem;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mfg-cyan);
}

.mfg-hero__h1 {
  margin: 0;
  font-size: clamp(2.375rem, 1rem + 3.3vw, 4.25rem);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--mfg-dark-ink);
  text-wrap: balance;
}

.mfg-hero__h1 span {
  display: block;
}

.mfg-hero__h1 span + span {
  color: rgba(244, 247, 251, 0.58);
}

.mfg-hero__lead {
  max-width: 33rem;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--mfg-dark-muted);
  text-wrap: pretty;
}

.mfg-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 8px;
}

.mfg-hero__ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 4px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--mfg-dark-ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  transition: border-color 0.3s ease, gap 0.3s var(--mfg-ease);
}

.mfg-hero__ghost::after {
  content: "↓";
}

.mfg-hero__ghost:hover {
  gap: 12px;
  color: var(--mfg-dark-ink);
  border-color: var(--mfg-cyan);
}

/* Hotspots on the machine */
.mfg-spot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
}

.mfg-spot i {
  position: absolute;
  left: -7px;
  top: -7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(7, 11, 16, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.55);
  transition: border-color 0.5s ease, background 0.5s ease, transform 0.5s var(--mfg-ease);
}

.mfg-spot i::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid var(--mfg-cyan);
  opacity: 0;
}

.mfg-spot em {
  position: absolute;
  left: 14px;
  top: -13px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(7, 11, 16, 0.72);
  border: 1px solid rgba(131, 231, 238, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  white-space: nowrap;
  color: var(--mfg-dark-ink);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.5s ease, transform 0.5s var(--mfg-ease);
}

.mfg-spot.is-active i {
  background: var(--mfg-cyan);
  border-color: #fff;
  transform: scale(1.1);
}

.mfg-hero.is-auto .mfg-spot.is-active i::after {
  animation: mfg-echo 2.4s ease-out infinite;
}

.mfg-spot.is-active em {
  opacity: 1;
  transform: none;
}

@media (max-width: 1023px) {
  .mfg-spot--flip em {
    left: auto;
    right: 14px;
    transform: translateX(4px);
  }
}

/* Knowledge trace card */
.mfg-trace {
  position: relative;
  z-index: 3;
  order: 3;
  margin: -6% 20px 0;
}

.mfg-trace__card {
  overflow: hidden;
  border-radius: 18px;
  background: rgba(12, 18, 27, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.mfg-trace__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
}

.mfg-trace__asset {
  font-weight: 600;
  color: var(--mfg-dark-ink);
}

.mfg-trace__parts {
  display: grid;
  justify-items: end;
}

.mfg-trace__parts b {
  grid-area: 1 / 1;
  font-weight: 500;
  white-space: nowrap;
  color: var(--mfg-cyan);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mfg-trace__parts b.is-active {
  opacity: 1;
}

.mfg-trace__sets {
  display: grid;
  padding: 16px 16px 6px;
}

.mfg-trace__set {
  grid-area: 1 / 1;
  align-self: start;
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  visibility: hidden;
}

.mfg-trace__set::before {
  content: "";
  position: absolute;
  left: 5.5px;
  top: 8px;
  bottom: 22px;
  width: 1px;
  background: linear-gradient(180deg, var(--mfg-cyan), rgba(131, 231, 238, 0.15));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.6s var(--mfg-ease) 0.2s;
}

.mfg-trace__set.is-active {
  visibility: visible;
}

.mfg-trace__set.is-active::before {
  transform: none;
}

.mfg-trace__set li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 0 14px 26px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s var(--mfg-ease);
}

.mfg-trace__set.is-active li {
  opacity: 1;
  transform: none;
  transition-duration: 0.6s;
  transition-delay: calc(0.25s + var(--i) * 0.7s);
}

.mfg-trace__node {
  position: absolute;
  left: 0;
  top: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0c121b;
  border: 2px solid var(--mfg-cyan);
}

.mfg-trace__set li:last-child .mfg-trace__node {
  background: var(--mfg-cyan);
}

.mfg-trace__set small {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mfg-dark-faint);
}

.mfg-trace__set p {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--mfg-dark-muted);
}

.mfg-trace__set p b {
  font-weight: 600;
  color: var(--mfg-dark-ink);
}

.mfg-trace__arrow {
  color: var(--mfg-cyan);
}

.mfg-trace__note {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mfg-dark-faint);
}

@media (min-width: 640px) {
  .mfg-trace {
    width: min(380px, 70%);
    margin: -10% 20px 0 auto;
  }

  .mfg-hero__media {
    width: 112%;
    margin-left: -6%;
  }
}

@media (min-width: 1024px) {
  .mfg-hero {
    display: block;
    min-height: clamp(760px, calc(100svh - 12px), 980px);
    padding: 0;
    border-radius: 0 0 32px 32px;
    background:
      radial-gradient(60% 60% at 70% 60%, rgba(30, 44, 74, 0.85), transparent 70%),
      #131417;
  }

  .mfg-hero__scene {
    position: absolute;
    inset: 0;
    z-index: 0;
    margin: 0;
    pointer-events: none;
  }

  .mfg-hero__media {
    position: absolute;
    right: -2%;
    bottom: 15%;
    width: 80%;
    margin: 0;
  }

  .mfg-hero__media::after {
    display: none;
  }

  .mfg-hero__media img {
    -webkit-mask-image:
      linear-gradient(90deg, transparent 0%, #000 34%),
      linear-gradient(180deg, transparent 0%, #000 18%, #000 84%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(90deg, transparent 0%, #000 34%),
      linear-gradient(180deg, transparent 0%, #000 18%, #000 84%, transparent 100%);
    mask-composite: intersect;
  }

  .mfg-hero__wire {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
  }

  .mfg-hero__wire path {
    fill: none;
    stroke: rgba(131, 231, 238, 0.55);
    stroke-width: 1.2;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 0.9s var(--mfg-ease);
  }

  .mfg-hero__wire path.is-drawn {
    stroke-dashoffset: 0;
  }

  .mfg-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    min-height: inherit;
    padding-top: 140px;
    padding-bottom: 36px;
  }

  .mfg-hero__copy {
    margin: 0;
  }

  .mfg-trace {
    align-self: end;
    width: auto;
    margin: 0;
  }
}

@media (min-width: 1440px) {
  .mfg-hero__inner {
    grid-template-columns: minmax(0, 1fr) 380px;
  }
}

/* =========================================================
   The challenge
   ========================================================= */
.mfg-why {
  padding: 96px 0 104px;
}

.mfg-why__grid {
  display: grid;
  gap: 48px;
}

.mfg-why__intro .mfg-lede {
  max-width: 560px;
  margin-top: 20px;
}

.mfg-why__media {
  position: relative;
  margin: 36px 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 24px;
  background: #0d1117;
}

.mfg-why__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 30%;
  transition: transform 1.4s var(--mfg-ease);
}

.mfg-why__media:hover img {
  transform: scale(1.03);
}

.mfg-why__media figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mfg-why__who {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--mfg-ink);
}

.mfg-why__who i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mfg-blue);
}

.mfg-why__who--new i {
  background: transparent;
  border: 1.5px solid var(--mfg-blue);
}

.mfg-why__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--mfg-line);
}

.mfg-why__item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  padding: 26px 0;
  border-bottom: 1px solid var(--mfg-line);
}

.mfg-why__num {
  padding-top: 4px;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--mfg-teal);
}

.mfg-why__item h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--mfg-ink);
  transition: color 0.3s ease;
}

.mfg-why__item p {
  max-width: 520px;
  font-size: 0.9875rem;
  line-height: 1.55;
  color: var(--mfg-muted);
}

.mfg-why__item:hover h3 {
  color: var(--mfg-blue);
}

@media (min-width: 1024px) {
  .mfg-why {
    padding: 136px 0 128px;
  }

  .mfg-why__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    align-items: start;
    gap: 80px;
  }

  .mfg-why__list {
    margin-top: 44px;
  }

  .mfg-why__item {
    padding: 30px 0;
  }
}

/* =========================================================
   One connected system
   ========================================================= */
.mfg-sys {
  padding: 72px 0 56px;
  background: var(--mfg-soft);
}

.mfg-sys__head {
  display: grid;
  gap: 20px;
  margin-bottom: 40px;
}

.mfg-sys__rail {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 8px;
  margin: 0 -20px 28px;
  padding: 0 20px 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.mfg-sys__rail::-webkit-scrollbar {
  display: none;
}

.mfg-sys__track {
  display: none;
}

.mfg-sys__tab {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  padding: 12px 14px 14px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.mfg-sys__tab::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--mfg-blue);
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
}

.mfg-sys__tab:hover {
  background: rgba(255, 255, 255, 0.6);
}

.mfg-sys__tab[aria-selected="true"] {
  background: #fff;
  border-color: rgba(26, 26, 28, 0.06);
  box-shadow: 0 10px 24px -18px rgba(15, 23, 42, 0.4);
}

.mfg-sys.is-auto .mfg-sys__tab[aria-selected="true"]::after {
  opacity: 1;
  animation: mfg-fill var(--mfg-sys-ms, 7000ms) linear forwards;
}

.mfg-sys.is-paused .mfg-sys__tab::after {
  animation-play-state: paused !important;
}

.mfg-sys__tab:focus-visible {
  outline: 2px solid var(--mfg-blue);
  outline-offset: 2px;
}

.mfg-sys__dot {
  position: relative;
  z-index: 1;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(26, 26, 28, 0.14);
  font-size: 12px;
  font-weight: 600;
  color: var(--mfg-faint);
  transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}

.mfg-sys__tab.is-done .mfg-sys__dot {
  border-color: rgba(60, 82, 148, 0.45);
  color: var(--mfg-blue);
}

.mfg-sys__tab[aria-selected="true"] .mfg-sys__dot {
  background: var(--mfg-blue);
  border-color: var(--mfg-blue);
  color: #fff;
}

.mfg-sys__verb {
  font-size: 15px;
  font-weight: 600;
  color: var(--mfg-ink);
}

.mfg-sys__product {
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--mfg-faint);
}

.mfg-sys__stage {
  position: relative;
}

.mfg-sys__view {
  display: grid;
  gap: 28px;
  animation: mfg-view-in 0.55s var(--mfg-ease);
}

.mfg-sys__view[hidden] {
  display: none;
}

.mfg-sys__count {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mfg-teal);
}

.mfg-sys__title {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--mfg-ink);
  text-wrap: balance;
}

.mfg-sys__body {
  max-width: 460px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--mfg-muted);
}

.mfg-sys__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(26, 26, 28, 0.25);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--mfg-ink);
  transition: gap 0.3s var(--mfg-ease), border-color 0.3s ease;
}

.mfg-sys__link::after {
  content: "→";
}

.mfg-sys__link:hover {
  gap: 12px;
  border-color: var(--mfg-blue);
}

.mfg-sys__next {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 420px;
  margin-top: 32px;
  padding: 14px 16px;
  border-left: 2px solid var(--mfg-teal);
  border-radius: 0 12px 12px 0;
  background: rgba(14, 116, 144, 0.06);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--mfg-ink);
}

.mfg-sys__next span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mfg-teal);
}

.mfg-sys__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  padding: 24px 16px;
  border-radius: 22px;
  background:
    radial-gradient(70% 70% at 70% 20%, rgba(60, 82, 148, 0.12), transparent 70%),
    linear-gradient(180deg, #e7ebf2, #dde3ec);
}

.mfg-sys__caption {
  margin-top: 16px;
  font-size: 12px;
  color: var(--mfg-faint);
}

@media (min-width: 768px) {
  .mfg-sys {
    padding: 104px 0 80px;
  }
}

@media (min-width: 1024px) {
  .mfg-sys {
    padding: 128px 0 96px;
  }

  .mfg-sys__head {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: end;
    gap: 64px;
    margin-bottom: 56px;
  }

  .mfg-sys__rail {
    grid-auto-flow: initial;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin: 0 0 32px;
    padding: 0;
    overflow: visible;
  }

  .mfg-sys__track {
    position: absolute;
    left: calc(100% / 12);
    right: calc(100% / 12);
    top: -18px;
    display: block;
    height: 2px;
    border-radius: 2px;
    background: rgba(26, 26, 28, 0.08);
  }

  .mfg-sys__track span {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--mfg-blue), var(--mfg-teal));
    transform: scaleX(var(--progress, 0));
    transform-origin: left;
    transition: transform 0.8s var(--mfg-ease);
  }

  .mfg-sys__view {
    grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr);
    align-items: center;
    gap: 56px;
  }

  .mfg-sys__visual {
    min-height: 500px;
    padding: 40px;
  }
}

/* Shared panel */
.mfg-panel {
  width: 100%;
  max-width: 580px;
  padding: 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 60px -28px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(26, 26, 28, 0.04);
  color: var(--mfg-ink);
}

.mfg-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.mfg-panel__head p {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12.5px;
  color: var(--mfg-faint);
}

.mfg-panel__head b {
  font-size: 16px;
  font-weight: 600;
  color: var(--mfg-ink);
}

.mfg-panel__h {
  margin-top: 4px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.mfg-panel__meta {
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--mfg-faint);
}

.mfg-panel__foot {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--mfg-line);
  font-size: 12px;
  color: var(--mfg-faint);
}

/* Understand: deterioration pathway */
.mfg-path {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mfg-path li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f5f7fa;
  border: 1px solid rgba(26, 26, 28, 0.06);
  animation: mfg-rise 0.5s var(--mfg-ease) both;
}

.mfg-path li:nth-child(2) { animation-delay: 0.12s; }
.mfg-path li:nth-child(3) { animation-delay: 0.24s; }
.mfg-path li:nth-child(4) { animation-delay: 0.36s; }

.mfg-path small {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mfg-faint);
}

.mfg-path b {
  font-size: 13.5px;
  line-height: 1.35;
  font-weight: 600;
}

.mfg-path .is-fail {
  background: rgba(220, 38, 38, 0.06);
  border-color: rgba(220, 38, 38, 0.18);
}

.mfg-path .is-fail small {
  color: #b91c1c;
}

.mfg-window {
  display: flex;
  height: 30px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 600;
}

.mfg-window span {
  display: flex;
  align-items: center;
  padding: 0 12px;
  white-space: nowrap;
}

.mfg-window__prevent {
  flex: 0 0 72%;
  background: rgba(14, 116, 144, 0.12);
  color: var(--mfg-teal);
}

.mfg-window__late {
  flex: 1;
  background: rgba(220, 38, 38, 0.08);
  color: #b91c1c;
}

.mfg-actions {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.mfg-actions li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--mfg-ink);
}

.mfg-actions i {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(14, 116, 144, 0.12);
}

.mfg-actions i::after {
  content: "";
  position: absolute;
  left: 5.5px;
  top: 5px;
  width: 7px;
  height: 4px;
  border-left: 1.6px solid var(--mfg-teal);
  border-bottom: 1.6px solid var(--mfg-teal);
  transform: rotate(-45deg);
}

@media (min-width: 640px) {
  .mfg-path {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .mfg-path li:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -15px;
    top: 50%;
    font-size: 13px;
    color: var(--mfg-faint);
    transform: translateY(-50%);
  }
}

/* Capture */
.mfg-capture {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 600px;
}

.mfg-capture__phone {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border-radius: 26px;
  border: 6px solid #0b0f15;
  background: #0b0f15;
  box-shadow: 0 30px 60px -24px rgba(15, 23, 42, 0.55);
}

.mfg-capture__phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mfg-capture__rec {
  position: absolute;
  left: 10px;
  top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
}

.mfg-capture__rec i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  animation: mfg-blink 1.6s ease-in-out infinite;
}

.mfg-capture__caption {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 10px;
  padding: 7px 9px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.6);
  font-size: 11px;
  line-height: 1.4;
  color: #fff;
}

.mfg-capsteps {
  display: grid;
  gap: 6px;
  margin: 14px 0 16px;
  padding: 0;
  list-style: none;
  counter-reset: cap;
}

.mfg-capsteps li {
  position: relative;
  padding: 8px 10px 8px 34px;
  border-radius: 10px;
  background: #f5f7fa;
  font-size: 13px;
  line-height: 1.4;
  color: var(--mfg-faint);
  counter-increment: cap;
}

.mfg-capsteps li::before {
  content: counter(cap);
  position: absolute;
  left: 9px;
  top: 8px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e5e9ef;
  font-size: 10px;
  font-weight: 700;
  color: var(--mfg-muted);
}

.mfg-capsteps .is-done {
  color: var(--mfg-ink);
}

.mfg-capsteps .is-done::before {
  background: #dcfce7;
  color: #15803d;
}

.mfg-capsteps .is-current {
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--mfg-blue);
  color: var(--mfg-ink);
  font-weight: 500;
}

.mfg-capsteps .is-current::before {
  background: var(--mfg-blue);
  color: #fff;
}

/* Organize: knowledge map */
.mfg-search {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--mfg-line);
  font-size: 12px;
  white-space: nowrap;
  color: var(--mfg-faint);
}

@media (max-width: 639px) {
  .mfg-search {
    display: none;
  }
}

.mfg-map {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mfg-map li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f5f7fa;
  border: 1px solid transparent;
  animation: mfg-rise 0.5s var(--mfg-ease) both;
}

.mfg-map li:nth-child(2) { animation-delay: 0.1s; }
.mfg-map li:nth-child(3) { animation-delay: 0.2s; }
.mfg-map li:nth-child(4) { animation-delay: 0.3s; }

.mfg-map b {
  font-size: 14px;
  font-weight: 600;
}

.mfg-map span {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mfg-map em {
  padding: 2px 9px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--mfg-line);
  font-size: 12px;
  font-style: normal;
  color: var(--mfg-muted);
}

.mfg-map .is-focus {
  background: #fff;
  border-color: rgba(60, 82, 148, 0.35);
  box-shadow: 0 0 0 3px rgba(60, 82, 148, 0.08);
}

.mfg-map .is-gap {
  border-style: dashed;
  border-color: rgba(180, 83, 9, 0.35);
  background: rgba(245, 158, 11, 0.05);
}

.mfg-map .mfg-gap,
.mfg-gaps b {
  color: var(--mfg-amber);
}

.mfg-map em.mfg-gap {
  border-color: rgba(180, 83, 9, 0.3);
  background: rgba(245, 158, 11, 0.08);
}

@media (min-width: 640px) {
  .mfg-map li {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    align-items: center;
  }
}

/* Train: lesson */
.mfg-lesson {
  position: relative;
  display: grid;
  gap: 18px;
  width: 100%;
  max-width: 560px;
}

.mfg-lesson__screen {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1258 / 980;
  border-radius: 16px;
  border: 6px solid #0b0f15;
  background: #0b0f15;
  box-shadow: 0 30px 60px -24px rgba(15, 23, 42, 0.55);
}

.mfg-lesson__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.mfg-lesson__meta {
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(26, 26, 28, 0.04);
}

.mfg-lesson__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.mfg-lesson__chips li {
  padding: 3px 10px;
  border-radius: 999px;
  background: #f1f4f8;
  font-size: 12px;
  color: var(--mfg-muted);
}

@media (min-width: 1024px) {
  .mfg-lesson {
    margin: 0 48px 24px 0;
  }

  .mfg-lesson__meta {
    position: absolute;
    right: -48px;
    bottom: -24px;
    width: 270px;
    box-shadow: 0 24px 48px -20px rgba(15, 23, 42, 0.4);
  }
}

/* Support: chat */
.mfg-chat__q {
  margin-left: auto;
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 16px 16px 4px 16px;
  background: var(--mfg-blue);
  font-size: 14px;
  line-height: 1.45;
  color: #fff;
}

.mfg-chat__a {
  max-width: 94%;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 16px 16px 16px 4px;
  background: #f5f7fa;
  animation: mfg-rise 0.6s var(--mfg-ease) 0.25s both;
}

.mfg-chat__a p {
  font-size: 14px;
  line-height: 1.55;
}

.mfg-chat__src {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 10px 6px 0 0;
  padding: 3px 10px 3px 4px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--mfg-line);
  font-size: 12px;
  color: var(--mfg-muted);
}

.mfg-chat__src em {
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(14, 116, 144, 0.1);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 600;
  color: var(--mfg-teal);
}

.mfg-chat__input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--mfg-line);
  font-size: 13px;
  color: var(--mfg-faint);
}

.mfg-chat__input i {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--mfg-blue);
}

.mfg-chat__input i::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 1.75px solid #fff;
  border-left: 1.75px solid #fff;
  transform: translate(-50%, -25%) rotate(45deg);
}

/* Readiness */
.mfg-crew {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mfg-crew li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f5f7fa;
  font-size: 14px;
}

.mfg-crew b {
  font-weight: 600;
}

.mfg-crew em {
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--mfg-muted);
}

.mfg-crew__dots {
  display: flex;
  gap: 6px;
}

.mfg-crew__dots i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e2e7ee;
  animation: mfg-pop 0.4s var(--mfg-ease) both;
}

.mfg-crew__dots i:nth-child(2) { animation-delay: 0.05s; }
.mfg-crew__dots i:nth-child(3) { animation-delay: 0.1s; }
.mfg-crew__dots i:nth-child(4) { animation-delay: 0.15s; }
.mfg-crew__dots i:nth-child(5) { animation-delay: 0.2s; }
.mfg-crew__dots i:nth-child(6) { animation-delay: 0.25s; }

.mfg-crew__dots .is-ok {
  background: #22c55e;
}

.mfg-crew__dots .is-mid {
  background: #f59e0b;
}

.mfg-kicker--gap {
  margin: 18px 0 8px;
  color: var(--mfg-amber);
}

.mfg-gaps {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mfg-gaps li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px dashed rgba(180, 83, 9, 0.35);
  background: rgba(245, 158, 11, 0.05);
  font-size: 13.5px;
  color: var(--mfg-ink);
}

.mfg-gaps b {
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 479px) {
  .mfg-capture {
    grid-template-columns: 1fr;
  }

  .mfg-capture__phone {
    width: 62%;
    margin-inline: auto;
  }

  .mfg-crew li {
    grid-template-columns: 1fr auto;
  }

  .mfg-crew__dots {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

/* =========================================================
   What changes for your operation
   ========================================================= */
.mfg-gain {
  padding: 104px 0;
}

.mfg-gain__grid {
  display: grid;
  gap: 48px;
}

.mfg-gain__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  background: #0d1117;
}

.mfg-gain__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}

.mfg-gain__media figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 60px 24px 22px;
  background: linear-gradient(180deg, transparent, rgba(7, 11, 16, 0.78));
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.35;
  color: #fff;
}

.mfg-gain__main .mfg-lede {
  max-width: 560px;
  margin-top: 18px;
}

.mfg-gain__list {
  display: grid;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.mfg-gain__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 0 28px;
  border-top: 1px solid var(--mfg-line);
}

.mfg-gain__num {
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--mfg-teal);
}

.mfg-gain__item h3 {
  margin: 0;
  font-size: 1.1875rem;
  line-height: 1.3;
  font-weight: 500;
  color: var(--mfg-ink);
}

.mfg-gain__item p {
  max-width: 400px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--mfg-muted);
}

.mfg-gain__for {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.mfg-gain__for em {
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid var(--mfg-line);
  font-size: 11.5px;
  font-style: normal;
  font-weight: 500;
  color: var(--mfg-muted);
  transition: border-color 0.3s ease, color 0.3s ease;
}

.mfg-gain__item:hover .mfg-gain__for em {
  border-color: rgba(60, 82, 148, 0.35);
  color: var(--mfg-blue);
}

@media (min-width: 768px) {
  .mfg-gain__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
  }
}

@media (min-width: 1024px) {
  .mfg-gain {
    padding: 136px 0 128px;
  }

  .mfg-gain__grid {
    grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr);
    align-items: start;
    gap: 72px;
  }

  .mfg-gain__aside {
    position: sticky;
    top: 112px;
  }

  .mfg-gain__media {
    aspect-ratio: 3 / 4;
  }
}

/* =========================================================
   Every shift
   ========================================================= */
.mfg-shift {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 80px 0 64px;
  background: #131417;
  color: var(--mfg-dark-ink);
}

.mfg-shift__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: saturate(0.6);
}

.mfg-shift::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(19, 20, 23, 0.92) 0%, rgba(19, 20, 23, 0.7) 45%, rgba(19, 20, 23, 0.95) 100%),
    radial-gradient(50% 50% at 80% 20%, rgba(60, 82, 148, 0.35), transparent 70%);
}

.mfg-shift__head {
  max-width: 720px;
  margin-bottom: 48px;
}

.mfg-shift__head .mfg-lede {
  margin-top: 18px;
}

.mfg-day__moments {
  display: grid;
  gap: 12px;
}

.mfg-moment {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(13, 19, 29, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: left;
  color: var(--mfg-dark-ink);
  cursor: pointer;
  opacity: 0.62;
  transition: opacity 0.5s ease, border-color 0.5s ease, transform 0.6s var(--mfg-ease), background 0.5s ease;
}

.mfg-moment:hover {
  opacity: 0.9;
}

.mfg-moment[aria-pressed="true"] {
  opacity: 1;
  border-color: rgba(131, 231, 238, 0.45);
  background: rgba(16, 25, 38, 0.82);
  transform: translateY(-4px);
}

.mfg-moment:focus-visible {
  outline: 2px solid var(--mfg-cyan);
  outline-offset: 3px;
}

.mfg-moment__time {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mfg-dark-faint);
}

.mfg-moment__time b {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--mfg-dark-ink);
}

.mfg-moment__who {
  margin-top: 6px;
  font-size: 13px;
  color: var(--mfg-cyan);
}

.mfg-moment__title {
  font-size: 1.125rem;
  line-height: 1.35;
  font-weight: 500;
}

.mfg-moment__detail {
  font-size: 14px;
  color: var(--mfg-dark-muted);
}

.mfg-moment__tag {
  margin-top: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--mfg-dark-muted);
}

.mfg-day__clock {
  margin-top: 32px;
}

.mfg-day__bar {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}

.mfg-day__seg {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
  color: var(--mfg-dark-faint);
  transition: background 0.5s ease, color 0.5s ease;
}

.mfg-day__seg b {
  font-size: 13px;
  font-weight: 600;
  color: var(--mfg-dark-muted);
}

.mfg-day__seg.is-active {
  background: rgba(131, 231, 238, 0.1);
  color: var(--mfg-dark-muted);
}

.mfg-day__seg.is-active b {
  color: var(--mfg-cyan);
}

.mfg-day__head {
  position: absolute;
  left: var(--head, 14%);
  top: -10px;
  bottom: -10px;
  width: 2px;
  margin-left: -1px;
  border-radius: 2px;
  background: var(--mfg-cyan);
  box-shadow: 0 0 12px rgba(131, 231, 238, 0.6);
  transition: left 1.2s var(--mfg-ease);
}

.mfg-day__pin {
  position: absolute;
  left: var(--at);
  bottom: -18px;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.mfg-day__hours {
  display: flex;
  justify-content: space-between;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  color: var(--mfg-dark-faint);
}

@media (max-width: 639px) {
  .mfg-day__seg {
    padding: 8px;
    font-size: 10.5px;
  }
}

@media (min-width: 768px) {
  .mfg-shift {
    padding: 112px 0 88px;
  }

  .mfg-day__moments {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .mfg-shift {
    padding: 136px 0 104px;
  }

  .mfg-shift__head {
    margin-bottom: 64px;
  }

  .mfg-moment {
    padding: 24px;
    min-height: 236px;
  }
}

/* =========================================================
   Pilot
   ========================================================= */
.mfg-pilot {
  padding: 104px 0;
}

.mfg-pilot__head {
  max-width: 720px;
  margin-bottom: 48px;
}

.mfg-pilot__head .mfg-lede {
  margin-top: 18px;
}

.mfg-pilot__body {
  display: grid;
  gap: 32px;
}

.mfg-plan {
  padding: 20px;
  border-radius: 24px;
  background: var(--mfg-soft);
}

.mfg-plan__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.mfg-plan__head p {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12.5px;
  color: var(--mfg-faint);
}

.mfg-plan__head b {
  font-size: 16px;
  font-weight: 600;
  color: var(--mfg-ink);
}

.mfg-plan__legend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--mfg-muted);
}

.mfg-plan__legend i {
  width: 10px;
  height: 10px;
  margin-left: 6px;
  border-radius: 3px;
}

.mfg-plan__legend .is-pilot {
  background: var(--mfg-blue);
}

.mfg-plan__legend .is-next {
  border: 1.5px dashed var(--mfg-teal);
}

.mfg-plan__floor {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 16px;
  background:
    linear-gradient(rgba(26, 26, 28, 0.04) 1px, transparent 1px) 0 0 / 100% 28px,
    linear-gradient(90deg, rgba(26, 26, 28, 0.04) 1px, transparent 1px) 0 0 / 28px 100%,
    #fff;
  border: 1px solid var(--mfg-line);
}

.mfg-plan__line {
  position: relative;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(244, 245, 248, 0.85);
  transition: border-color 0.5s ease, background 0.5s ease, opacity 0.5s ease;
}

.mfg-plan__line p {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: var(--mfg-faint);
}

.mfg-plan__line p b {
  font-size: 14px;
  font-weight: 600;
  color: var(--mfg-ink);
}

.mfg-plan__units {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mfg-plan__units::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: rgba(26, 26, 28, 0.1);
}

.mfg-plan__units i {
  position: relative;
  flex: 1;
  max-width: 64px;
  height: 30px;
  border-radius: 7px;
  background: #fff;
  border: 1px solid rgba(26, 26, 28, 0.16);
  transition: background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
  transition-delay: calc(var(--u) * 0.08s);
}

.mfg-plan__flag {
  position: absolute;
  right: 10px;
  top: -10px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--mfg-blue);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  color: #fff;
}

.mfg-plan__line:not(.is-pilot) {
  opacity: 0.55;
}

.mfg-plan__line.is-pilot {
  background: #fff;
  border-color: rgba(60, 82, 148, 0.35);
  box-shadow: 0 0 0 4px rgba(60, 82, 148, 0.06);
}

.mfg-plan__line.is-pilot .mfg-plan__units i {
  border-color: rgba(60, 82, 148, 0.5);
}

[data-step="1"] .mfg-plan__line.is-pilot .mfg-plan__units i {
  background:
    linear-gradient(90deg, transparent, rgba(131, 231, 238, 0.55), transparent) -100% 0 / 60% 100% no-repeat,
    rgba(60, 82, 148, 0.1);
  animation: mfg-scan 1.8s ease-in-out infinite;
  animation-delay: calc(var(--u) * 0.15s);
}

[data-step="2"] .mfg-plan__line.is-pilot .mfg-plan__units i,
[data-step="3"] .mfg-plan__line.is-pilot .mfg-plan__units i,
[data-step="4"] .mfg-plan__line.is-pilot .mfg-plan__units i {
  background: var(--mfg-blue);
  border-color: var(--mfg-blue);
}

[data-step="3"] .mfg-plan__line.is-pilot .mfg-plan__units i::after,
[data-step="4"] .mfg-plan__line.is-pilot .mfg-plan__units i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 5px;
  margin: -4px 0 0 -5px;
  border-left: 1.8px solid #fff;
  border-bottom: 1.8px solid #fff;
  transform: rotate(-45deg);
}

[data-step="4"] .mfg-plan__line.is-next {
  opacity: 1;
  background: #fff;
  border: 1.5px dashed var(--mfg-teal);
}

[data-step="4"] .mfg-plan__line.is-next .mfg-plan__units i {
  border-style: dashed;
  border-color: var(--mfg-teal);
  background: rgba(14, 116, 144, 0.06);
}

[data-step="4"] .mfg-plan__line:not(.is-pilot):not(.is-next) {
  opacity: 0.8;
}

.mfg-plan__status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--mfg-ink);
}

.mfg-plan__status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mfg-teal);
  box-shadow: 0 0 0 4px rgba(14, 116, 144, 0.14);
}

.mfg-pilot__steps {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mfg-pilot__step button {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  width: 100%;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.mfg-pilot__step button:hover {
  background: var(--mfg-soft);
}

.mfg-pilot__step button[aria-pressed="true"] {
  background: var(--mfg-soft);
  border-color: rgba(26, 26, 28, 0.06);
}

.mfg-pilot__step button:focus-visible {
  outline: 2px solid var(--mfg-blue);
  outline-offset: 2px;
}

.mfg-pilot__num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(26, 26, 28, 0.16);
  font-size: 13px;
  font-weight: 600;
  color: var(--mfg-faint);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.mfg-pilot__step button[aria-pressed="true"] .mfg-pilot__num {
  background: var(--mfg-blue);
  border-color: var(--mfg-blue);
  color: #fff;
}

.mfg-pilot__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 6px;
}

.mfg-pilot__text b {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--mfg-ink);
}

.mfg-pilot__text span {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--mfg-muted);
}

@media (max-width: 479px) {
  .mfg-plan__line {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .mfg-plan__legend {
    display: none;
  }
}

@media (min-width: 1024px) {
  .mfg-pilot {
    padding: 136px 0 120px;
  }

  .mfg-pilot__head {
    margin-bottom: 64px;
  }

  .mfg-pilot__body {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
    gap: 56px;
  }

  .mfg-plan {
    position: sticky;
    top: 112px;
    padding: 28px;
  }

  .mfg-plan__floor {
    gap: 14px;
    padding: 24px;
  }

  .mfg-plan__line {
    grid-template-columns: 130px minmax(0, 1fr);
    padding: 16px 18px;
  }

  .mfg-plan__units i {
    height: 40px;
  }
}

/* =========================================================
   Keyframes and reduced motion
   ========================================================= */
@keyframes mfg-drift {
  from { transform: scale(1); }
  to { transform: scale(1.05) translateX(-1%); }
}

@keyframes mfg-echo {
  0% { opacity: 0.9; transform: scale(0.8); }
  100% { opacity: 0; transform: scale(2.2); }
}

@keyframes mfg-fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes mfg-view-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@keyframes mfg-rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@keyframes mfg-pop {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: none; }
}

@keyframes mfg-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes mfg-scan {
  from { background-position: -100% 0, 0 0; }
  to { background-position: 200% 0, 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .mfg *,
  .mfg *::before,
  .mfg *::after {
    animation: none !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }

  .mfg-hero__wire path {
    stroke-dashoffset: 0;
  }
}

@media (max-width: 767px) {
  .mfg-hero {
    border-radius: 0;
  }
}
