html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.features-overview-page {
  background: #fbfdfb;
}

.features-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.features-overview-hero {
  padding: 58px 0 66px;
  background:
    radial-gradient(circle at 78% 24%, rgba(22, 163, 74, .11), transparent 30%),
    linear-gradient(135deg, #f7fbf8 0%, #eef8f1 58%, #fffaf0 100%);
}

.feature-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.feature-breadcrumb a {
  color: #14532d;
}

.feature-kicker,
.feature-section-label {
  margin: 0 0 12px;
  color: #b58526;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.features-overview-hero h1 {
  max-width: 850px;
  margin: 0;
  color: #111827;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .98;
  letter-spacing: 0;
}

.feature-lede {
  max-width: 790px;
  margin: 24px 0 0;
  color: #42514a;
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.55;
}

.feature-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.feature-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid #0c7a43;
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
}

.feature-btn:hover {
  text-decoration: none;
}

.feature-btn-primary {
  background: #0c7a43;
  color: #fff;
  box-shadow: 0 14px 32px rgba(12, 122, 67, .2);
}

.feature-btn-secondary {
  color: #0c7a43;
  background: rgba(255, 255, 255, .65);
}

.feature-overview-section {
  padding: 66px 0;
}

.feature-section-tinted {
  background: #f2f8f4;
}

.feature-overview-section h2,
.features-demo-cta h2 {
  max-width: 760px;
  margin: 0 0 28px;
  color: #111827;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
  letter-spacing: 0;
}

.feature-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 24px;
  background: #fff;
  border: 1px solid #dfe7e2;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .05);
}

.feature-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  color: #0c7a43;
  background: #ecfdf3;
  border: 1px solid rgba(12, 122, 67, .14);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.feature-card h3 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 20px;
  line-height: 1.2;
}

.feature-card p {
  margin: 0 0 20px;
  color: #55635b;
  line-height: 1.62;
}

.feature-card a,
.feature-muted-link {
  margin-top: auto;
  color: #0c7a43;
  font-weight: 850;
}

.feature-muted-link {
  color: #8a6a2a;
}

.features-demo-cta {
  padding: 72px 0;
  background: #0b2b1b;
  color: rgba(255, 255, 255, .72);
}

.features-demo-cta .feature-section-label {
  color: #4ade80;
}

.features-demo-cta h2 {
  color: #fff;
}

.features-demo-cta p {
  max-width: 720px;
  margin: -10px 0 0;
  color: rgba(255, 255, 255, .68);
  font-size: 18px;
  line-height: 1.7;
}

.features-demo-cta .feature-btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .08);
}

@media (max-width: 1100px) {
  .feature-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .features-shell {
    width: min(100% - 36px, 1180px);
  }

  .features-overview-hero {
    padding: 42px 0 52px;
  }

  .features-overview-hero h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .feature-card-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }
}

@media (max-width: 600px) {
  .announce-inner span:not(.announce-pill) {
    min-width: 0;
    max-width: calc(100vw - 96px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    text-align: center;
    white-space: normal;
  }

  .content {
    overflow-wrap: anywhere;
  }

  .feature-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .feature-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .nav-inner {
    gap: 8px;
  }

  .nav-logo {
    min-width: 0;
  }

  .nav-logo img {
    width: 126px;
  }

  .nav-actions {
    flex: 0 0 auto;
    margin-left: auto;
  }

  .nav-cta {
    padding: 9px 11px;
  }

  .nav-toggle {
    flex: 0 0 auto;
    margin-left: 0;
  }
}
