:root {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1c1c1c;
  background-color: #f9f7ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.5rem, 5vw, 3.5rem);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid #ece7fe;
}

.navbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 1.05rem;
}

.navbar__logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.navbar__links {
  display: inline-flex;
  gap: 1.75rem;
  font-weight: 500;
}

.navbar__link {
  color: #5b28ff;
  transition: color 0.2s ease;
}

.navbar__link:hover {
  color: #3715b1;
}

.hero {
  display: flex;
  justify-content: center;
  padding: clamp(4rem, 12vw, 8rem) clamp(1.5rem, 6vw, 4rem);
}

.hero__content {
  max-width: 720px;
  text-align: center;
}

.hero__badge {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #5b28ff;
  background: rgba(91, 40, 255, 0.08);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero__title {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  color: #4c16de;
  letter-spacing: -0.03em;
}

.hero__description {
  margin: 1rem auto 2rem;
  max-width: 640px;
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: #45297b;
  line-height: 1.6;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 2.5rem;
  background: linear-gradient(120deg, #6d3bff, #a169ff);
  color: #fff;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(109, 59, 255, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(109, 59, 255, 0.24);
}

.posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
  width: min(100%, 960px);
  margin: 0 auto clamp(3rem, 10vw, 4.5rem);
  padding: 0 clamp(1.5rem, 6vw, 2.5rem);
}

.post-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: 0 12px 40px rgba(76, 22, 222, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid rgba(91, 40, 255, 0.08);
}

.post-card__title {
  font-size: 1.3rem;
  margin: 0;
  color: #361150;
}

.post-card__excerpt {
  margin: 0;
  line-height: 1.6;
  color: #5a3c8d;
}

.post-card__link {
  margin-top: auto;
  font-weight: 600;
  color: #5b28ff;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease;
}

.post-card__link:hover {
  color: #3715b1;
}

.footer {
  margin-top: auto;
  padding: 2rem;
  text-align: center;
  color: #6a5f87;
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .navbar {
    flex-direction: column;
    gap: 0.75rem;
  }

  .navbar__links {
    gap: 1rem;
  }

  .hero__content {
    text-align: left;
  }
}

