* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
  background: #f9fafb;
}

a { color: #2563eb; text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem;
}

.site-header {
  background: #111827;
  color: #f9fafb;
}
.site-header .logo a {
  color: #f9fafb;
  text-decoration: none;
}
.site-header nav a {
  margin-left: 1rem;
  color: #e5e7eb;
  font-size: 0.95rem;
}
.site-header nav a:hover {
  color: #ffffff;
}

.hero {
  padding: 2.5rem 0 1.5rem;
}
.hero h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.hero p {
  max-width: 40rem;
}
.hero-ctas { margin-top: 1.25rem; }

.btn {
  display: inline-block;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  font-size: 0.95rem;
  background: #ffffff;
  color: #111827;
  text-decoration: none;
  margin-right: 0.75rem;
}
.btn.primary {
  background: #2563eb;
  color: white;
  border-color: #2563eb;
}
.btn:hover {
  filter: brightness(0.96);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.card {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: 0 1px 3px rgba(15,23,42,0.08);
}
.card h4 { margin-top: 0; }

.site-footer {
  margin-top: 2rem;
  padding: 1rem 0 1.5rem;
  border-top: 1px solid #e5e7eb;
  font-size: 0.85rem;
  color: #6b7280;
}

main section { margin-bottom: 2rem; }

@media (max-width: 640px) {
  .site-header .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .site-header nav {
    margin-top: 0.5rem;
  }
}
