/* /css/style.css — minimal, lightweight, responsive */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  background: #f8fafc;
  color: #1e293b;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* header */
.site-header {
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  padding: 1rem 0;
  border-bottom: 1px solid #eef2f6;
}

.header-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo a {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: #0f172a;
}

.logo a span {
  font-weight: 300;
  color: #2d7a3a;
  margin-left: 0.1em;
}

.main-nav ul {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  font-size: 1rem;
}

.main-nav a {
  text-decoration: none;
  color: #334155;
  font-weight: 500;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}

.main-nav a:hover,
.main-nav a.active {
  color: #0f172a;
  border-bottom-color: #2d7a3a;
}

/* page content */
.page-content {
  flex: 1;
  padding: 3rem 0;
}

.hero {
  text-align: center;
  padding: 2rem 0 3rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  color: #475569;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  background: #0f172a;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s, transform 0.1s;
  border: none;
  cursor: pointer;
}

.btn.primary {
  background: #1e293b;
}

.btn.primary:hover {
  background: #2d7a3a;
  transform: scale(1.01);
}

/* features */
.features {
  padding: 2rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: white;
  padding: 1.8rem 1.5rem;
  border-radius: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  border: 1px solid #f1f5f9;
  text-align: center;
  transition: box-shadow 0.2s;
}

.feature-card:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.03);
}

.feature-card .icon {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 0.5rem;
}

.feature-card h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: #475569;
  font-size: 0.95rem;
}

/* footer */
.site-footer {
  background: white;
  border-top: 1px solid #eef2f6;
  padding: 1.8rem 0;
  margin-top: auto;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: #64748b;
}

.footer-links {
  display: flex;
  gap: 1.2rem;
}

.footer-links a {
  color: #475569;
  text-decoration: none;
  border-bottom: 1px dotted transparent;
  transition: border-color 0.15s;
}

.footer-links a:hover {
  border-bottom-color: #2d7a3a;
  color: #0f172a;
}

/* responsive */
@media (max-width: 640px) {
  .header-grid {
    flex-direction: column;
    gap: 0.8rem;
  }
  .main-nav ul {
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero {
    padding: 1rem 0 2rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    flex-direction: column;
    text-align: center;
  }
}

/* tiny helper for other pages (consistent) */
.page-title {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.page-sub {
  color: #475569;
  max-width: 600px;
}