/* ── DOCS INDEX ──
 * Layered on top of /mcp.css and /docs/shared.css.
 * Reuses --teal, --bg, --border, .docs-* and .features-grid/.feature-card from there.
 * Only adds what the index needs: making the feature card an anchor, a brand
 * logo tile, and the "read the guide" arrow row.
 */

/* This page is short — a row of cards — so close the hero/section gap that the
 * longer docs pages need. */
.docs-hero { padding-bottom: 32px; }
.docs-section { padding-top: 32px; }

/* Cards on this page are links, not static tiles */
a.feature-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

a.feature-card:hover .doc-card-arrow {
  color: var(--teal);
}

a.feature-card:hover .doc-card-title {
  color: var(--white);
}

/* Brand / product logo tile — matches .docs-card-logo sizing */
.doc-card-logo {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--bg4);
  border: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--muted2);
  letter-spacing: 0.04em;
}

.doc-card-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.doc-card-title {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  transition: color 0.15s;
}

.doc-card-desc {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--muted2);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 22px;
}

.doc-card-meta {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* Pin the arrow to the bottom so cards of differing text length line up */
.doc-card-arrow {
  margin-top: auto;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted2);
  transition: color 0.15s;
}

/* Three guides now, which is exactly what .features-grid already lays out, so
 * the column override this file used to carry is gone. Only the single-column
 * fallback is still ours. */
@media (max-width: 900px) {
  .docs-index-grid {
    grid-template-columns: 1fr;
  }
}
