/* ============================================================
   Solutions / What Nyckel Does
   Layered on top of homepage-redesign.css — reuses .hp-section,
   .hp-section-label, .hp-section-title, .hp-cta-btn so these
   pages sit on the same visual system as the homepage.
   ============================================================ */

.sol-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.sol-container-narrow {
  max-width: 680px;
}

/* ── CTA rows ───────────────────────────────────────────── */
.sol-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.sol-cta-row-center {
  margin-top: 28px;
}

.sol-cta-secondary {
  font-size: 0.78rem;
  font-weight: 600;
  color: #1e5c97;
  text-decoration: none;
}

.sol-cta-secondary:hover {
  color: #155082;
  text-decoration: underline;
}

/* ── "The work this replaces" ───────────────────────────── */
.sol-examples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 44px 0 0;
}

.sol-example {
  background: #fafafa;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 22px 20px;
}

.sol-example-quote {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #374151;
  font-style: italic;
}

.sol-body-note {
  font-size: 0.8rem;
  line-height: 1.65;
  color: #4b5563;
  max-width: 640px;
  margin: 32px auto 0;
  text-align: center;
}

/* ── Steps ──────────────────────────────────────────────── */
.sol-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 44px;
}

/* Four-item variant: 2×2 reads better than four cramped columns */
.sol-steps--four {
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 40px;
}

.sol-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #1e5c97;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.sol-step-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.sol-step-body {
  font-size: 0.78rem;
  line-height: 1.6;
  color: #4b5563;
}

/* ── Compare grid ───────────────────────────────────────── */
.sol-compare {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 44px;
}

.sol-compare-item {
  border-left: 3px solid #1e5c97;
  padding: 4px 0 4px 16px;
}

.sol-compare-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 6px;
}

.sol-compare-body {
  font-size: 0.78rem;
  line-height: 1.6;
  color: #4b5563;
}

.sol-honest {
  margin-top: 36px;
  background: #fffaf0;
  border: 1px solid #f0dfc0;
  border-radius: 10px;
  padding: 18px 20px;
  font-size: 0.78rem;
  line-height: 1.6;
  color: #4b5563;
}

.sol-honest strong {
  color: #1a1a2e;
}

/* ── Lead statement (the one claim a section is built around) ── */
.sol-lead {
  margin-top: 44px;
  background: #fff;
  border: 1px solid #d7e3f0;
  border-left: 4px solid #1e5c97;
  border-radius: 10px;
  padding: 24px 26px;
}

.sol-lead-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.35;
  margin-bottom: 10px;
}

.sol-lead-body {
  font-size: 0.82rem;
  line-height: 1.65;
  color: #4b5563;
}

.sol-lead + .sol-compare {
  margin-top: 20px;
}

/* ── Answer shapes ──────────────────────────────────────── */
.sol-shapes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 44px;
}

.sol-shape {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 22px 20px;
}

.sol-shape-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.sol-shape-body {
  font-size: 0.78rem;
  line-height: 1.6;
  color: #4b5563;
}

/* ── Use case blocks (/solutions/) ──────────────────────── */
.sol-usecase {
  padding: 38px 0;
  border-bottom: 1px solid #e5e7eb;
  scroll-margin-top: 90px;
}

.sol-usecase:first-child {
  padding-top: 8px;
}

.sol-usecase:last-child {
  border-bottom: none;
}

.sol-usecase-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
  line-height: 1.25;
}

.sol-usecase-lede {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #1e5c97;
  font-weight: 500;
  margin-bottom: 16px;
  max-width: 700px;
}

.sol-usecase-body {
  font-size: 0.8rem;
  line-height: 1.7;
  color: #4b5563;
  max-width: 700px;
  margin-bottom: 18px;
}

.sol-usecase-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.sol-usecase-links a {
  font-size: 0.76rem;
  font-weight: 600;
  color: #1e5c97;
  text-decoration: none;
}

.sol-usecase-links a:hover {
  color: #155082;
  text-decoration: underline;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .sol-examples,
  .sol-steps,
  .sol-steps--four,
  .sol-compare,
  .sol-shapes {
    grid-template-columns: 1fr;
  }

  .sol-usecase-title {
    font-size: 1.1rem;
  }

  .sol-cta-row {
    gap: 14px;
  }
}

/* ── Use-case page chrome ───────────────────────────────── */
.sol-crumb {
  color: inherit;
  text-decoration: none;
}

.sol-crumb:hover {
  color: #1e5c97;
  text-decoration: underline;
}

.sol-usecase-title a {
  color: inherit;
  text-decoration: none;
}

.sol-usecase-title a:hover {
  color: #1e5c97;
  text-decoration: none;
}

.sol-link-lead {
  font-weight: 700 !important;
}

/* Related links read as a list, not a run-on row. */
.sol-usecase-links--stack {
  flex-direction: column;
  gap: 10px;
  margin: 28px 0 8px;
}

/* ── Story figures (console screenshots that carry an argument) ── */
.sol-figure {
  margin: 40px 0 0;
}

.sol-figure img {
  display: block;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
}

.sol-figure-caption {
  font-size: 0.8rem;
  line-height: 1.65;
  color: #4b5563;
  max-width: 680px;
  margin: 22px auto 0;
  text-align: center;
}

.sol-figure-caption a {
  color: #1e5c97;
  font-weight: 600;
  text-decoration: none;
}

.sol-figure-caption a:hover {
  text-decoration: underline;
}
