:root {
  --zippy-nav-bg: rgba(15, 19, 26, 0.98);
  --zippy-nav-border: rgba(255, 255, 255, 0.08);
  --zippy-nav-text: #f8fafc;
  --zippy-nav-muted: #94a3b8;
  --zippy-nav-accent: #7bb063;
}

.site-header,
.site-header *,
.site-header *::before,
.site-header *::after {
  box-sizing: border-box;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  width: 100%;
  height: 84px;
  min-height: 84px;
  padding: 20px 0 !important;
  background: #07090e !important;
  border-bottom: 0 !important;
  backdrop-filter: none !important;
  font-family: "Inter", sans-serif;
  transition: background-color 0.3s ease, border-color 0.3s ease,
    backdrop-filter 0.3s ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(15, 19, 26, 0.75);
  border-bottom: 1px solid var(--zippy-nav-border);
  opacity: 0;
  display: none !important;
  backdrop-filter: none !important;
  transition: opacity 0.3s ease;
}

.site-header.is-scrolled {
  background: #07090e !important;
  border-bottom: 0 !important;
  backdrop-filter: none !important;
}

.site-header.is-scrolled::before {
  opacity: 0;
}

.site-header .nav-shell {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100% !important;
  max-width: 1200px !important;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 auto;
  padding: 0 24px !important;
  box-sizing: border-box;
}

.site-header .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  height: auto;
  padding: 0;
  color: var(--zippy-nav-text);
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 28.8px;
  letter-spacing: -0.5px;
  text-decoration: none;
}

.site-header .brand img {
  display: block;
  flex: 0 0 40px;
  width: 40px !important;
  height: 40px !important;
  border-radius: 8px;
  object-fit: contain;
}

.site-header .brand-copy {
  display: inline-flex;
  flex-direction: column;
  line-height: 28.8px;
}

.site-header .brand-copy > span {
  line-height: 28.8px;
}

.site-header .brand-copy small {
  margin-top: -4px;
  color: var(--zippy-nav-accent);
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 1px;
}

.site-header .desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 44px;
}

.site-header .nav-link {
  position: relative;
  display: block;
  padding: 0;
  color: var(--zippy-nav-muted);
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-header .nav-link:hover,
.site-header .nav-link[aria-current="page"] {
  color: var(--zippy-nav-text);
}

.site-header .nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--zippy-nav-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.site-header .nav-link:hover::after,
.site-header .nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-header .contact-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 20px;
  border-radius: 8px;
  background: var(--zippy-nav-accent);
  color: #07090e;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 22.4px;
  text-decoration: none;
}

.site-header .mobile-toggle {
  display: none !important;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--zippy-nav-text);
  cursor: pointer;
  touch-action: manipulation;
}

.site-header .mobile-toggle:focus-visible,
.site-header .mobile-panel a:focus-visible {
  outline: 2px solid var(--zippy-nav-accent);
  outline-offset: 3px;
}

.site-header .mobile-panel {
  position: fixed;
  inset: 80px 0 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  padding: 20px 24px max(24px, env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  isolation: isolate;
  background: #0f131a !important;
  border-bottom: 1px solid var(--zippy-nav-border);
  backdrop-filter: none !important;
}

.site-header .mobile-panel[hidden] {
  display: none !important;
}

.site-header .mobile-panel nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  max-width: none;
  margin: 0;
}

.site-header .mobile-panel a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 4px;
  border-bottom: 1px solid var(--zippy-nav-border);
  color: var(--zippy-nav-muted);
  font-family: "Inter", sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 27.2px;
  text-decoration: none;
  touch-action: manipulation;
}

.site-header .mobile-panel a:hover,
.site-header .mobile-panel a[aria-current="page"] {
  color: var(--zippy-nav-text);
}

.site-header .mobile-panel .contact-cta {
  min-height: 48px;
  margin-top: 16px;
  padding: 12px 28px;
  border-bottom: 0;
  color: #07090e;
  font-size: 15px;
  font-weight: 600;
  line-height: 24px;
  text-align: center;
}

.article-page .site-header + main {
  padding-top: 84px;
}

@media (max-width: 768px) {
  .site-header .desktop-nav {
    display: none !important;
  }

  .site-header .mobile-toggle {
    display: flex !important;
  }

  .article-grid > .article {
    min-width: 0;
  }

  .article picture,
  .article img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .article .specs {
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 480px) {
  .site-header .nav-shell {
    padding-right: 18px !important;
    padding-left: 18px !important;
  }
}

@media (min-width: 769px) {
  .site-header .desktop-nav {
    display: flex !important;
  }

  .site-header .mobile-toggle,
  .site-header .mobile-panel {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header .nav-link,
  .site-header .nav-link::after {
    transition: none;
  }
}
