*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "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: 0 1.25rem;
}

.site-header {
  background: #111827;
  color: #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
}

.branding {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-dot {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #a5b4fc, #4f46e5);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.brand-tagline {
  font-size: 0.75rem;
  color: #9ca3af;
}

.nav {
  display: flex;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.nav a {
  color: #e5e7eb;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
}

.nav a.active,
.nav a:hover {
  background: rgba(249, 250, 251, 0.12);
}

.site-main {
  padding-bottom: 3rem;
}

.hero {
  padding: 3rem 0 2.5rem;
  background: radial-gradient(circle at top left, #eef2ff, #f9fafb 40%);
}

.hero h1 {
  font-size: clamp(2rem, 3vw, 2.4rem);
  margin-bottom: 0.75rem;
}

.hero p {
  max-width: 40rem;
  line-height: 1.6;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.hero-meta h2 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.hero-meta ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.95rem;
}

.section,
.section-muted {
  padding: 2.5rem 0;
}

.section-muted {
  background: #f3f4f6;
}

.page-header {
  padding: 2.5rem 0 1.5rem;
  background: #f9fafb;
}

.page-header h1 {
  margin-bottom: 0.5rem;
}

.page-header p {
  max-width: 40rem;
  line-height: 1.6;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

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

.card {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  border: 1px solid #e5e7eb;
}

.card h2 {
  margin-top: 0;
}

.button-primary {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  background: #2563eb;
  color: #f9fafb;
  font-weight: 500;
  border: none;
}

.button-primary:hover {
  text-decoration: none;
  background: #1d4ed8;
}

.note {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 0.75rem;
}

.center {
  text-align: center;
}

.site-footer {
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
  padding: 1.25rem 0 1.75rem;
  font-size: 0.85rem;
  color: #6b7280;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

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

  .nav {
    flex-wrap: wrap;
  }

  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
