.snav {
  position: sticky;
  top: 0;
  z-index: 50;
  line-height: 1.3;
  background: rgba(247, 248, 250, 0.88);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-family:
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
.snav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 64px;
  gap: 14px;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 3vw, 32px);
}
.snav__links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13.5px;
  font-weight: 500;
  color: #2a2e38;
}
.snav__link {
  position: relative;
  padding: 6px 0;
  color: #2a2e38;
  text-decoration: none;
  transition: color 0.18s ease;
}
.snav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: #4f6ef7;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.snav__link:hover {
  color: #4f6ef7;
}
.snav__link:hover::after {
  transform: scaleX(1);
}
.sbrand {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.8px;
  color: #0b0d12;
  line-height: 1;
  text-decoration: none;
}
.snav__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.snav__ghost {
  font-size: 13px;
  font-weight: 600;
  color: #2a2e38;
  padding: 8px 4px;
  text-decoration: none;
}
.snav__ghost:hover {
  color: #4f6ef7;
}
.snav .sbtn {
  font-family: "Plus Jakarta Sans", sans-serif;
}
.sbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}
/* Base button matches the hero precisely - nothing else re-sizes it. */
.sbtn--primary {
  background: #0b0d12;
  color: #fff;
  padding: 18px 34px;
  font-size: 17px;
}
.sbtn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -12px rgba(11, 13, 18, 0.5);
}
.sbtn--ghost {
  background: transparent;
  color: #0b0d12;
  padding: 18px 34px;
  font-size: 17px;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
}
/* The header CTA is the one deliberate compact button, so it fits the 64px bar. */
.snav .sbtn--primary {
  padding: 10px 20px;
  font-size: 13.5px;
}
.sbtn--ghost:hover {
  border-color: #0b0d12;
  background: rgba(0, 0, 0, 0.04);
}
.snav__toggle {
  display: none;
  padding: 0;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  color: #0b0d12;
  cursor: pointer;
}
.smnav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px clamp(20px, 5vw, 40px) 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.smnav a {
  font-size: 15px;
  font-weight: 500;
  color: #2a2e38;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  text-decoration: none;
}
.smnav .sbtn {
  width: 100%;
  margin-top: 10px;
}
.smnav .sbtn--primary {
  padding: 14px 20px;
  font-size: 15px;
  color: #fff;
}
.smnav.snav-open {
  display: flex;
}

.snav .snav__toggle:hover {
  background: #f0f1f4;
  transform: none;
}
.snav .snav__toggle:active {
  transform: none;
}
@media (max-width: 860px) {
  .snav__links {
    display: none;
  }
  .snav__toggle {
    display: inline-flex;
  }
  .snav__ghost {
    display: none;
  }
  .snav__inner {
    grid-template-columns: auto 1fr auto;
  }
  .sbrand {
    justify-content: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  .snav *,
  .snav *::after {
    transition: none !important;
  }
}
