/**
 * Home Features Block Styles
 */

.home-features {
  position: relative;
}

/* Eyebrow / Subtitle */
.home-features .mm-eyebrow {
  font-family: var(--mm-mono, 'IBM Plex Mono', monospace);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin: 0;
  color: var(--mm-teal, #0F7173);
}

/* Heading */
.home-features .mm-h2 {
  font-family: var(--mm-head, 'Space Grotesk', sans-serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-size: clamp(1.9rem, 4vw, 3rem);
  color: var(--mm-ink, #18181B);
  margin: 12px 0 0;
}

/* Description / Lede */
.home-features .mm-lede {
  color: var(--mm-muted, #6B7280);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 620px;
  margin: 20px 0 0;
}

/* 3-Column Grid */
.home-features .mm-grid-3 {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  margin-top: 48px;
}

@media (min-width: 640px) {
  .home-features .mm-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .home-features .mm-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Feature Cards */
.home-features .mm-card.mm-feature {
  background: #ffffff;
  border: 1px solid var(--mm-line, #E8E8E4);
  border-radius: 18px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-features .mm-card.mm-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
  border-color: rgba(15, 113, 115, 0.3);
}

.home-features .mm-feature .mm-h4 {
  font-family: var(--mm-head, 'Space Grotesk', sans-serif);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--mm-ink, #18181B);
  margin: 0 0 10px 0;
}

.home-features .mm-feature .mm-muted {
  font-family: var(--mm-body, 'Instrument Sans', sans-serif);
  color: var(--mm-muted, #6B7280);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .home-features .mm-grid-3 {
    margin-top: 36px;
    gap: 18px;
  }

  .home-features .mm-card.mm-feature {
    padding: 24px 20px;
  }

  .home-features .mm-feature .mm-h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  .home-features .mm-feature .mm-muted {
    font-size: 0.9rem;
  }
}
