/* ── Steps and mini vignettes ───────────────────────────────
   The numbered step cards on the download page, and the small UI rows the
   product film reuses. The landing's own steps are in landing-sections.css. */

/* ── Steps ──────────────────────────────────────────────── */

.steps { margin-top: 76px; display: flex; flex-direction: column; gap: 26px; }

.steps-head { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.steps-title { font-size: clamp(24px, 3.2vw, 30px); letter-spacing: -0.03em; }
.steps-note { color: var(--muted); font-size: 15px; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

@media (max-width: 820px) {
  .steps-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; width: 100%; gap: 12px; }
}

.step {
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.step:hover { border-color: var(--line-hi); transform: translateY(-2px); }

.step::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-soft), transparent);
  opacity: 0.7;
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.step-title { font-size: 17px; font-weight: 600; }
.step-body { font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* ── Mini vignettes ───────────────────────────────────────
   Small UI rows the product film's scenes reuse (views/landing-movie*.js). */

/* caret-blink keyframes live in landing-demo.css; the landing sheets always
   load together (index.html), and keyframes are document-global. */
.mini-caret {
  width: 1.5px;
  height: 14px;
  margin-left: 2px;
  background: var(--brand);
  flex: none;
  animation: caret-blink 1.1s steps(1) infinite;
}

.mini-row { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--muted); min-width: 0; }
.mini-row svg { width: 14px; height: 14px; color: var(--subtle); }
.mini-row-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.mini-row-check { color: var(--good); display: grid; place-items: center; flex: none; }
.mini-row-check svg { width: 12px; height: 12px; color: var(--good); stroke-width: 2.6; }

/* One source still indexing: a small indeterminate bar keeps the vignette
   mid-action rather than a finished state. */
.mini-progress {
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: var(--surface-hi);
  overflow: hidden;
  flex: none;
  position: relative;
}

.mini-progress::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 45%;
  border-radius: 2px;
  background: var(--good);
  animation: mini-slide 1.3s ease-in-out infinite alternate;
}

@keyframes mini-slide { to { transform: translateX(122%); } }

.mini-link { display: flex; align-items: center; gap: 9px; min-width: 0; }
.mini-link > svg { width: 14px; height: 14px; color: var(--subtle); }

.mini-link-url {
  flex: 1;
  font-size: 12px;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-live { font-size: 11px; padding: 4px 10px; flex: none; }
