.nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 14px;
  color: rgb(148 163 184);
  font-size: 0.875rem;
  transition: 0.22s ease;
}

.nav-link:hover {
  color: rgb(241 245 249);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link-active {
  color: rgb(241 245 249);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.18);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 14px;
  font-size: 0.875rem;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.95), rgba(56, 189, 248, 0.95));
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.28);
  transition: 0.22s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(14, 165, 233, 0.34);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--kp-text);
  margin: 4px auto;
  border-radius: 999px;
}

.section {
  padding: 40px 0 30px;
}

.compact-top {
  padding-top: 18px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  margin: 8px 0 0;
  line-height: 1.04;
}

.section-head p {
  max-width: 580px;
  color: var(--kp-muted);
  line-height: 1.7;
}

@media (max-width: 1100px) {
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--kp-shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav-link,
  .nav-cta {
    width: 100%;
  }
}