:root {
  --nav-height: 4.5rem;
  --sticky-app-height: 2.75rem;
  --site-header-height: calc(var(--nav-height) + var(--sticky-app-height));
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.site-header nav {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
}

.sticky-app-bar {
  background: linear-gradient(90deg, var(--primary-dark, #1a3a16) 0%, var(--primary, #2d5a27) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 16px rgba(26, 58, 22, 0.15);
}

.sticky-app-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.45rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--sticky-app-height);
}

.sticky-app-bar__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  color: #fff;
  font-size: 0.88rem;
}

.sticky-app-bar__brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  flex-shrink: 0;
}

.sticky-app-bar__label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
  min-width: 0;
}

.sticky-app-bar__label strong {
  font-weight: 700;
  color: #fff;
}

.sticky-app-bar__tagline {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
}

.sticky-app-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff;
  color: var(--primary-dark, #1a3a16);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.sticky-app-bar__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  color: var(--primary-dark, #1a3a16);
}

body.has-site-header .hero {
  padding-top: calc(var(--site-header-height) + 2.5rem);
}

body.has-site-header .page-header {
  padding-top: calc(var(--site-header-height) + 2rem);
}

@media (max-width: 768px) {
  .sticky-app-bar__inner {
    padding: 0.4rem 1rem;
  }

  .sticky-app-bar__tagline {
    display: none;
  }

  .sticky-app-bar__btn {
    padding: 0.45rem 0.85rem;
  }
}
