/* Pipeline: the live queue-processing widget in its own band. Two-column
   split — framing copy + proof points on the left, the widget on the
   right. Lays out directly on the container (same width + edges as the
   hero and every other section); L-brackets frame the corners. The only
   filled card is the white widget, which pops against the page surface. */
.pipeline {
  position: relative;
  padding-block: clamp(1rem, 2vw, 2rem);
}

.pipeline__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(2.5rem, 4vw, 3.25rem);
}

/* --- Copy column ---------------------------------------------------- */

.pipeline__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.pipeline__title {
  margin: 0;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-weight: var(--font-weight-display);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--color-foreground);
}

.pipeline__lede {
  margin: 0;
  max-width: 48ch;
  font-size: var(--fs-lg);
  line-height: 1.45;
  color: var(--color-muted-foreground);
}

.pipeline__points {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  width: 100%;
  display: grid;
  gap: 1rem;
}

.pipeline__point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
}

.pipeline__point-mark {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: color-mix(in oklch, var(--brand-teal) 10%, transparent);
  border: 1px solid color-mix(in oklch, var(--brand-teal) 22%, transparent);
  color: var(--brand-teal);
}

.pipeline__point-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.pipeline__point-title {
  font-size: var(--fs-sm);
  font-weight: var(--font-weight-display);
  letter-spacing: -0.01em;
  line-height: var(--lh-tight);
  color: var(--color-foreground);
}

.pipeline__point-body {
  font-size: var(--fs-sm);
  line-height: var(--lh-snug);
  color: var(--color-muted-foreground);
}

/* --- Widget column -------------------------------------------------- */

.pipeline__viz {
  min-width: 0;
}

/* --- Responsive ----------------------------------------------------- */

@media (max-width: 960px) {
  .pipeline__inner {
    grid-template-columns: 1fr;
    gap: clamp(2rem, 6vw, 2.5rem);
  }
  .pipeline__title {
    max-width: none;
  }
}
