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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  background: #f7f5ef;
  color: #111111;
}

a {
  color: #111111;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* Header */

.site-logo-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-logo {
  height: 32px;
  width: 32px;
  object-fit: cover;
  border-radius: 4px;
}

.site-header {
  border-bottom: 1px solid #d7d5ce;
  background: rgba(247, 245, 239, 0.9);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

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

.site-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #111111;
}

.nav a {
  margin-left: 1rem;
  font-size: 0.95rem;
  color: #333333;
}

.nav a:hover {
  color: #111111;
}

/* Hero */

.hero {
  padding: 5rem 0 3rem;
  background: #f0ede4;
}

.hero h2 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  color: #111111;
}

.hero p {
  max-width: 40rem;
  color: #333333;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 0.5rem;
  background: #111111;
  color: #f7f5ef;
  font-weight: 600;
  text-decoration: none;
}

.btn:hover {
  background: #333333;
}

/* Sections */

.section {
  padding: 3rem 0;
}

.section-alt {
  background: #ffffff;
}

.section h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  color: #111111;
}

/* Cards */

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

.card {
  border-radius: 0.75rem;
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid #d7d5ce;
}

.card h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #111111;
}

.card p {
  margin-bottom: 0.75rem;
  color: #333333;
}

.card-link {
  font-size: 0.9rem;
  color: #111111;
}

/* Footer */

.site-footer {
  border-top: 1px solid #d7d5ce;
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: #333333;
  text-align: center;
  background: #f7f5ef;
}

/* Responsive tweaks */

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

  .nav a {
    margin-left: 0;
    margin-right: 1rem;
  }

  .hero {
    padding-top: 4rem;
  }

  .hero h2 {
    font-size: 1.8rem;
  }
}
