/* Feature pages: listing, detail, breadcrumb. Uses the tokens from style.css. */

/* Breadcrumb */
.breadcrumb { margin-bottom: 18px; font-size: 0.85rem; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li { color: var(--slate); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumb a { color: var(--slate); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 500; }

.page-hero .hero-cta-row { margin-top: 24px; }

/* Features list: ledger rows, heading is a link, Read more beside it */
.feature-index { border-top: 1px solid var(--line); }
.feature-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.feature-row h2 { font-size: 1.35rem; margin: 0 0 6px; }
.feature-row h2 a { color: var(--ink); }
.feature-row h2 a:hover { color: var(--brass-deep); text-decoration: underline; }
.feature-row p { margin: 0; max-width: 62ch; }
.feature-row .btn { white-space: nowrap; }
main.container .btn-ghost{ color:#FFF; background:#2e356c; }
main.container .btn-ghost:home{ color:#FFF; background:#FF356c; }

.wrap p{color:#000;}
.wrap h2{color:#2f7fa6;}

/* How it works */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.steps li {
  counter-increment: step;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 26px;
}
.steps li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 14px;
}
.steps h3 { font-size: 1.1rem; margin-bottom: 6px; }
.steps p { margin: 0; font-size: 0.95rem; }

/* Longer text */
.prose p { max-width: 68ch; font-size: 1.02rem; }

/* More features */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.related-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.related-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.related-card h3 a { color: var(--ink); }
.related-card h3 a:hover { color: var(--brass-deep); text-decoration: underline; }
.related-card p { font-size: 0.95rem; flex: 1; }

@media (max-width: 700px) {
  .feature-row { grid-template-columns: 1fr; gap: 14px; }
  .feature-row .btn { justify-self: start; }
}
