.eightfig .workflow-screens {
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(0, 264px));
  align-items: start;
  gap: clamp(1.25rem, 4vw, 2.5rem);
  max-width: 600px;
  margin: 1.75rem auto 0;
}

.eightfig .mobile-art {
  margin: 0;
}

.eightfig .screen {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: #f2f2f2;
}

.eightfig .screen img,
.eightfig .screen .image-preview-trigger {
  display: block;
  width: 100%;
  height: auto;
}

.eightfig .screen img {
  border: 0;
  border-radius: 0;
}

.eightfig .screen .image-preview-trigger:focus-visible {
  outline-offset: -4px;
}

.eightfig .mobile-art figcaption {
  margin-top: .75rem;
}

@media (max-width: 640px) {
  .eightfig .workflow-screens {
    grid-template-columns: minmax(0, 264px);
  }
}

.eightfig .dashboard-walkthrough {
  display: grid;
  gap: 2rem;
}

.dashboard-live-copy {
  display: none;
}

.dashboard-steps {
  display: grid;
  gap: clamp(3rem, 7vw, 6rem);
}

.dashboard-step .mobile-art {
  width: min(100%, 264px);
  margin: 1.25rem auto 0;
}

@media (min-width: 52rem) and (min-height: 36rem) and (prefers-reduced-motion: no-preference) {
  .eightfig .dashboard-walkthrough[data-step] {
    grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
    align-items: start;
    gap: clamp(2rem, 7vw, 6rem);
  }

  .dashboard-walkthrough[data-step] .dashboard-intro {
    position: sticky;
    top: clamp(7rem, 22vh, 12rem);
  }

  .dashboard-walkthrough[data-step] .dashboard-live-copy {
    display: grid;
    margin-top: 1.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
  }

  .dashboard-live-copy > div {
    grid-area: 1 / 1;
    opacity: 0;
    transform: translateY(.45rem);
    transition: opacity 220ms ease, transform 260ms ease;
  }

  .dashboard-walkthrough[data-step="sales"] [data-copy="sales"],
  .dashboard-walkthrough[data-step="supply"] [data-copy="supply"] {
    opacity: 1;
    transform: translateY(0);
  }

  .dashboard-walkthrough[data-step] .dashboard-step-copy {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .dashboard-walkthrough[data-step] .dashboard-step .mobile-art {
    margin-top: 0;
  }

  .dashboard-walkthrough[data-step] .dashboard-step {
    transition: opacity 250ms ease, transform 280ms ease;
  }

  .dashboard-walkthrough[data-step="sales"] [data-screen="supply"] {
    opacity: .78;
    transform: translateY(.75rem);
  }
}

.eightfig .linelab-export { margin: 1.75rem auto 0; max-width: 47rem; }
.eightfig .linelab-export .mobile-art { margin: 0; }
.eightfig .linelab-export .screen { border: 0; border-radius: 0; background: transparent; }

.eightfig .linelab-export figcaption {
  width: 31.12%; /* 375 px phone within the centered 1205 px export */
  margin-inline: auto;
  overflow-wrap: break-word;
}

@media (min-width: 52rem) {
  .eightfig .screenshot-trio .workflow-screens {
    max-width: 54rem;
  }
}

.eightfig .freight-quote-walkthrough {
  display: grid;
  gap: 1.75rem;
  margin-top: clamp(2.5rem, 6vw, 5rem);
  padding-top: clamp(1.5rem, 4vw, 3rem);
  border-top: 1px solid var(--border);
}

.eightfig .freight-quote-walkthrough .mobile-art {
  width: min(100%, 300px);
  margin: 0 auto;
}

@media (min-width: 52rem) and (min-height: 36rem) and (prefers-reduced-motion: no-preference) {
  .eightfig .freight-quote-walkthrough {
    grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
    align-items: start;
    gap: clamp(2rem, 7vw, 6rem);
  }

  .eightfig .freight-quote-copy {
    position: sticky;
    top: clamp(7rem, 22vh, 12rem);
  }
}
