/* ============================================
   HOME / LANDING PAGE STYLES
   Only used on the landing page (base.html)
   Depends on common.css being loaded first
   ============================================ */

/* --- Hero section (big welcome banner) --- */
.hero {
  text-align: center;
  padding: 96px 24px;
}

.hero h1 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  max-width: 640px;
  margin: 0 auto;
}

.hero p {
  font-size: 18px;
  color: #5c6b54;
  margin-top: 20px;
  max-width: 512px;
  margin-left: auto;
  margin-right: auto;
}

/* Adds spacing above the call-to-action button inside the hero */
.hero .btn {
  margin-top: 32px;
}

/* --- Features section (3 cards below the hero) --- */
.features {
  padding: 0 24px 96px;
}

/* Responsive grid: cards wrap automatically based on available width */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.feature-card {
  background-color: #fff;
  border: 1px solid #c8d6c0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  color: #5c6b54;
  font-size: 15px;
}

/* --- Responsive adjustments for small screens --- */
@media (max-width: 640px) {
  .hero {
    padding: 64px 24px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }
}