@import url("./common.css");

.hi-pipeline {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 720px) {
  .hi-pipeline {
    grid-template-columns: 1fr 1fr;
  }
}

.hi-pipeline__stage {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  background: #1a1b26;
  color: #e4e4eb;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hi-pipeline__stage h2 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.75rem;
  color: #9aa0b4;
}

.hi-pipeline__pre {
  margin: 0;
  font-size: 0.6875rem;
  line-height: 1.45;
  word-break: break-all;
  white-space: pre-wrap;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

.hi-demo-figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
}

.hi-demo-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hi-demo-caption {
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.hi-note {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 62ch;
}

.demo-hint {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--muted);
}
