/* Keepance shared site navigation. Loaded by every page that wants the
 * canonical homepage-style nav (sticky logo + links + CTA).
 */
.keepance-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #E2E8F0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.keepance-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 24px;
}
.keepance-nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.keepance-nav-logo svg {
  height: 28px;
  width: auto;
  display: block;
}
.keepance-nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  flex: 1;
  justify-content: center;
}
.keepance-nav-links a {
  color: #94A3B8;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
.keepance-nav-links a:hover {
  color: #111F35;
}
.keepance-nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: linear-gradient(135deg, #3B82F6 0%, #7C3AED 100%);
  color: white;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}
.keepance-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}
/* Mobile menu — hamburger button + slide-down panel. Hidden on desktop. */
.keepance-nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #111F35;
  flex-shrink: 0;
}
.keepance-nav-burger svg { display: block; width: 24px; height: 24px; }
.keepance-nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #E2E8F0;
  padding: 18px 24px 24px;
  flex-direction: column;
  gap: 14px;
}
.keepance-nav-mobile.is-open { display: flex; }
.keepance-nav-mobile a {
  color: #111F35;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 6px 0;
}
.keepance-nav-mobile .keepance-nav-cta {
  align-self: flex-start;
  margin-top: 6px;
}

@media (max-width: 768px) {
  .keepance-nav-links { display: none; }
  .keepance-nav-inner > .keepance-nav-cta { display: none; }
  .keepance-nav-burger { display: flex; }
}
@media (min-width: 769px) {
  .keepance-nav-mobile { display: none !important; }
}
