:root {
  --primary: #005cf0;
  --primary-dark: #001038;
  --accent: #20b850;
  --bg: #f8fafc;
  --text: #0f172a;
  --text-secondary: #475569;
  --line: #dbe4ef;
  --brand: #005cf0;
  --brand-dark: #001038;
  --ink: #0f172a;
  --muted: #475569;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(219, 228, 239, 0.85);
  background: rgba(248, 250, 252, 0.94);
  backdrop-filter: blur(18px);
}

.nav {
  position: relative;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.site-logo {
  display: block;
  width: auto;
  height: 46px;
  max-width: min(310px, 52vw);
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 760;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: #edf4ff;
  color: var(--primary);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.button-primary,
.button {
  background-color: var(--primary);
}

.eyebrow,
.category {
  border-color: rgba(32, 184, 80, 0.28);
  background: rgba(32, 184, 80, 0.1);
  color: #137239;
}

.pill,
.tag {
  background: #edf4ff;
  color: var(--primary-dark);
}

@media (max-width: 920px) {
  .site-header {
    min-height: 72px;
  }

  .nav {
    min-height: 72px;
    flex-direction: row !important;
    align-items: center !important;
    padding: 0 !important;
  }

  .site-logo {
    height: 40px;
    max-width: min(250px, 64vw);
  }

  .nav-toggle {
    display: grid;
    flex: 0 0 auto;
    align-self: center;
    margin-left: auto;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.1);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    justify-content: flex-start;
    min-height: 44px;
    width: 100%;
  }
}

@media (max-width: 420px) {
  .site-logo {
    height: 36px;
    max-width: 235px;
  }
}
