* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-gradient, var(--bg));
  color: var(--fg);
  transition: background 0.3s, color 0.3s;
}









.hero {
  text-align: center;
  margin-bottom: 48px;
}

.hero h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--fg);
}

.hero-subtitle {
  font-size: 16px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}


.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.feature {
  text-align: center;
  padding: 16px;
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.feature h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--fg);
}

.feature p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}


@media (max-width: 768px) {




  .hero h2 {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 14px;
  }


  .features {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Dark-mode only: lighten home cards for better contrast vs page background */
:root[data-theme="dark"] .card {
  background: #2b3541; /* lighter than bg for clear separation */
  border-color: #3a4552;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .card {
    background: #2b3541;
    border-color: #3a4552;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  }
}
