/* ==========================================================================
   Investi-gator — "How it works" sections (#passive + the numbered steps)

   Scope: the passive-scanning highlight panel, the mock feed inside it
   (rows, avatars, detection badges), and the three numbered step cards.
   Requires main.css (design tokens + section shell) to be loaded first.
   ========================================================================== */

/* Passive-scanning highlight panel --------------------------------------- */
.highlight {
  background: linear-gradient(135deg, var(--bg-soft), var(--card));
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}

@media (max-width: 720px) {
  .highlight { grid-template-columns: 1fr; padding: 28px; }
}

.highlight h2 { margin-top: 0; }

.highlight-body {
  margin: 0;
  color: var(--text-dim);
}

/* Mock feed -------------------------------------------------------------- */
.pulse-demo {
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 18px;
  font-size: 0.9rem;
}

.post-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--card-border);
}

.post-row:last-child { border-bottom: none; }

.post-meta { flex: 1; min-width: 0; }

.post-meta .line {
  height: 8px;
  border-radius: 4px;
  background: var(--card-border);
  margin: 4px 0;
}

.post-meta .line.short { width: 55%; }

/* Numbered steps --------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
}

.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 26px;
}

.step .num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent-glow);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 14px;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
}

.step p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.95rem;
}
