/* ============================================================
   FEATURES — detail cards, one per item in RT_FEATURES.
   Each card has id="feature-{slug}" so the hero nodes and the
   nav dropdown can both scroll straight to it.
   ============================================================ */

.rt-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.rt-feature-card {
  scroll-margin-top: 96px; /* keeps the fixed navbar from covering the card when scrolled to */
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.5s ease, border-color 0.5s ease;
}

.rt-feature-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--lavender);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rt-feature-card-icon svg { width: 22px; height: 22px; color: var(--violet); }

.rt-feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-body);
}

.rt-feature-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(27, 16, 48, 0.65);
}

/* Brief highlight pulse when a feature is reached via click —
   confirms to the visitor "this is the one you selected." */
.rt-feature-card.rt-highlight {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 162, 76, 0.18);
}

@media (max-width: 900px) {
  .rt-features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .rt-features-grid { grid-template-columns: 1fr; }
}
