/* Main-cut additions: solver pipeline, build ledger, value chips, testimonials */

/* ---- solution: pipeline ---- */
.pipe-head {
  margin-top: 30px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
.pipeline {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
}
.pipe-node {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  animation: pipeIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes pipeIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .pipe-node { animation: none; }
}
.pipe-rail {
  position: relative;
  display: flex;
  justify-content: center;
}
.pipe-rail::before {
  content: "";
  position: absolute;
  top: 6px; bottom: -6px;
  width: 2px;
  background: rgba(148, 168, 205, 0.18);
}
.pipe-node:last-child .pipe-rail::before { bottom: auto; height: 6px; }
.pipe-dot {
  position: relative;
  z-index: 1;
  width: 12px; height: 12px;
  margin-top: 4px;
  border-radius: 99px;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(38, 201, 242, 0.7);
}
.pipe-node:last-child .pipe-dot {
  background: var(--pink);
  box-shadow: 0 0 14px rgba(245, 132, 238, 0.8);
}
.pipe-body { padding-bottom: 18px; }
.pipe-node:last-child .pipe-body { padding-bottom: 0; }
.pipe-t {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.pipe-i {
  font-size: 11px;
  font-weight: 800;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}
.pipe-d {
  margin-top: 3px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 52ch;
}

/* ---- solution: build ledger ---- */
.build-ledger {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 26px;
}
.ledger-cell {
  background: rgba(16, 26, 48, 0.72);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 14px 12px 14px;
}
.ledger-cell .v {
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--pink);
  font-variant-numeric: tabular-nums;
}
.ledger-cell .l {
  margin-top: 4px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--muted);
}
@media (max-width: 540px) {
  .build-ledger { grid-template-columns: 1fr 1fr; }
}

/* ---- solution: value chips ---- */
.value-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.vchip {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 8px 14px;
  background: rgba(16, 26, 48, 0.6);
}
.vchip strong { color: var(--cyan); font-weight: 800; margin-right: 5px; }

/* ---- proven engine (Symmio) step ---- */
.chart-counter .cc-num.money {
  font-size: clamp(26px, 6vw, 48px);
  color: var(--cyan);
  text-shadow: 0 0 40px rgba(38, 201, 242, 0.3);
}
.cl-item.cl-vibe {
  color: var(--ink);
  font-weight: 800;
}
.exact-figure {
  margin-top: 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  display: inline-block;
  background: rgba(16, 26, 48, 0.6);
}

/* ---- action bar: back button + paginator ---- */
.action-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.btn.back-btn {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 13.5px;
  border-radius: 10px;
}
.btn.back-btn:disabled { opacity: 0.3; }

/* ---- testimonials ---- */
.testi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}
.testi-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(16, 26, 48, 0.72);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  animation: testiIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.testi-card.featured {
  grid-column: 1 / -1;
  border-color: rgba(38, 201, 242, 0.4);
  background:
    radial-gradient(420px 200px at 12% 0%, rgba(38, 201, 242, 0.1), transparent 70%),
    rgba(16, 26, 48, 0.8);
}
@keyframes testiIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .testi-card { animation: none; }
}
.t-quote {
  font-size: 14.5px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--ink);
  text-wrap: pretty;
  white-space: pre-line;
}
.testi-card.featured .t-quote {
  font-size: clamp(16px, 3vw, 19px);
  font-weight: 600;
}
.t-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.t-avatar {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  border-radius: 99px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.t-id {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.t-who { font-size: 13px; font-weight: 800; color: var(--ink); }
.t-tag { font-size: 11.5px; font-weight: 600; color: var(--faint); }
.t-check {
  margin-left: auto;
  flex: 0 0 auto;
  width: 20px; height: 20px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--bg);
  background: var(--green);
  border-radius: 99px;
  box-shadow: 0 0 10px rgba(111, 227, 165, 0.5);
}
@media (max-width: 540px) {
  .testi-grid { grid-template-columns: 1fr; }
}
