/* ==========================================================================
   Analytics & AI · 6 — Predictive models
   "Questions as the hero": a roadmap shouldn't show finished UI, so each
   model's question is the big line:
       Predictive models  [Roadmap]
       Because your data is already connected, …
       ──────────────────────────────────────────────────────────────
       Credit scoring
       Will this applicant repay?                      ◌ In development
       ──────────────────────────────────────────────────────────────
       …
   Hover: the row's question warms to the accent and its dashed ring turns.
   Prefixed .pm- and scoped to .pm.
   ========================================================================== */

.pm {
  padding: clamp(72px, 9vw, 120px) var(--page-px);
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.pm-inner { max-width: var(--container); margin: 0 auto; }
.pm-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.pm-title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: var(--fs-section-title); font-weight: 600; line-height: 1.12; letter-spacing: -0.03em; }
.pm-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text-secondary);
  border: 1px dashed var(--border-strong);
  border-radius: 99px;
}
.pm-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; }
.pm-sub { max-width: 640px; font-size: var(--fs-section-sub); line-height: 1.6; color: var(--text-secondary); }

.pm-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--border-strong); }
.pm-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "name st" "q st";
  align-items: center;
  column-gap: 32px;
  row-gap: 6px;
  padding: clamp(22px, 2.6vw, 30px) 4px;
  border-bottom: 1px solid var(--border);
}
.pm-name { grid-area: name; font-size: 13px; font-weight: 600; color: var(--accent-text); }
.pm-q {
  grid-area: q;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  text-wrap: balance;
  transition: color 0.3s ease;
}
.pm-st { grid-area: st; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; white-space: nowrap; color: var(--text-muted); }
.pm-ring { width: 16px; height: 16px; border: 1.5px dashed currentColor; border-radius: 50%; transition: color 0.3s ease; }
.pm-row:hover .pm-q { color: var(--accent-text); }
.pm-row:hover .pm-st { color: var(--text-secondary); }
.pm-row:hover .pm-ring { color: var(--accent); animation: pm-turn 2.4s linear infinite; }
@keyframes pm-turn { to { transform: rotate(360deg); } }

@media (max-width: 640px) {
  .pm-row { grid-template-columns: minmax(0, 1fr); grid-template-areas: "name" "q" "st"; }
  .pm-st { margin-top: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .pm-row:hover .pm-ring { animation: none; }
}
