html {
  scroll-behavior: smooth;
}

body {
  padding-top: 96px !important;
}

.site-nav {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(31, 41, 55, 0.1);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
  box-sizing: border-box;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  left: 0;
  min-height: 72px;
  padding: 12px clamp(14px, 4vw, 48px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 9999;
}

.site-brand {
  align-items: center;
  color: #172033 !important;
  display: inline-flex;
  font-size: 17px;
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0;
  line-height: 1.2;
  min-width: max-content;
  text-decoration: none !important;
}

.site-brand img {
  display: block;
  height: 40px;
  object-fit: contain;
  width: auto;
}

.site-tabs {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.site-tabs a {
  border: 1px solid rgba(31, 41, 55, 0.12);
  border-radius: 8px;
  color: #314155 !important;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  line-height: 1;
  min-height: 38px;
  padding: 12px 14px;
  text-decoration: none !important;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}

.site-tabs a:hover {
  background: #f3f7f4;
  border-color: rgba(34, 139, 78, 0.24);
  color: #16783b !important;
  transform: translateY(-1px);
}

.site-tabs a.is-active {
  background: #1f8f48;
  border-color: #1f8f48;
  color: #ffffff !important;
}

@media (max-width: 760px) {
  body {
    padding-top: 220px !important;
  }

  .site-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .site-tabs {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .site-tabs a {
    min-height: 36px;
    padding: 11px 10px;
    width: 100%;
  }
}
