#site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.marketing-header {
  border-bottom: 1px solid #e6e8f0;
  background: rgba(247, 248, 251, 0.86);
  backdrop-filter: blur(12px);
}

.marketing-header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), 1180px);
  height: 72px;
  margin-inline: auto;
}

.marketing-brand {
  display: flex;
  align-items: center;
  width: 96px;
  min-width: 96px;
}

.marketing-brand img {
  display: block;
  width: 100%;
  height: auto;
  color: #141a33;
}

.marketing-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #3b4262;
  font-size: 15px;
  font-weight: 500;
}

.marketing-links a {
  position: relative;
  color: inherit;
  text-decoration: none;
}

.marketing-links a:hover,
.marketing-links a.is-active {
  color: #141a33;
}

.marketing-links a.is-active::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  width: 5px;
  height: 5px;
  margin-inline: auto;
  border-radius: 50%;
  background: #3e8e5e;
  content: "";
}

.marketing-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.marketing-button {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.marketing-button-secondary {
  border: 1.5px solid #e6e8f0;
  background: #fff;
  color: #141a33;
}

.marketing-button-secondary:hover {
  border-color: #141a33;
}

.marketing-button-primary {
  border: 1.5px solid #141a33;
  background: #141a33;
  color: #fff;
}

.marketing-button-primary:hover {
  border-color: #262e55;
  background: #262e55;
}

.marketing-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: #141a33;
  font: inherit;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 1050px) {
  .marketing-links {
    display: none;
  }

  .marketing-links.open {
    position: absolute;
    top: 72px;
    right: -20px;
    left: -20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px;
    border-bottom: 1px solid #e6e8f0;
    background: #fff;
    box-shadow: 0 18px 30px -24px rgba(20, 26, 51, 0.45);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
  }

  .marketing-links.open a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 10px 0;
  }

  .marketing-links a.is-active::after {
    display: none;
  }

  .marketing-menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 680px) {
  .marketing-button-secondary {
    display: none;
  }
}

@media (max-width: 400px) {
  .marketing-header-inner {
    width: calc(100% - 24px);
  }

  .marketing-brand {
    width: 86px;
    min-width: 86px;
  }

  .marketing-actions {
    gap: 6px;
  }

  .marketing-button-primary {
    padding-inline: 13px;
    font-size: 13px;
  }

  .marketing-links.open {
    right: -12px;
    left: -12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marketing-button {
    transition: none;
  }
}
