.marketing-header {
  color: #172750;
  background: #f5f1ee;
  font: 650 14px/1.3 "Instrument Sans", sans-serif;
}

.marketing-header a { text-decoration: none; }

.marketing-header-announcement,
.marketing-header-announcement a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.marketing-header-announcement {
  min-height: 40px;
  padding: 8px 16px;
  background: #074c9b;
  color: #fff;
  text-align: center;
}

.marketing-header-new {
  padding: 3px 10px;
  border-radius: 999px;
  background: #003879;
  font-size: 11px;
  letter-spacing: .06em;
}

.marketing-header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  width: min(calc(100% - 64px), 1220px);
  min-height: 80px;
  margin-inline: auto;
}

.marketing-header-logo { display: flex; flex: none; align-items: center; min-height: 44px; }
.marketing-header-logo img { width: 103px; height: auto; }

.marketing-header-language {
  display: flex;
  flex: none;
  align-items: center;
  width: 96px;
  height: 44px;
  padding: 4px;
  border: 1px solid #dedde7;
  border-radius: 24px;
  background: #f2f1f7;
  font-size: 12px;
  color: #514b66;
}

.marketing-header-language span {
  flex: 1;
  padding: 9px 0;
  border-radius: 20px;
  text-align: center;
}

.marketing-header-language .current { background: #6957cf; color: #fff; }

.marketing-header-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 20px;
}

.marketing-header-links a { display: flex; align-items: center; min-height: 44px; white-space: nowrap; }
.marketing-header nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

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

.marketing-header-signin,
.marketing-header-signup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 2px solid #9c9a98;
  border-radius: 10px;
  color: #363636;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.marketing-header-signup {
  border-color: #1724bd;
  background: #1724bd;
  color: #fff;
  box-shadow: 0 12px 18px #5635ce45;
}

.marketing-header-signin span + span,
.marketing-header-menu { display: none; }

@media (max-width: 1000px) {
  .marketing-header-inner { width: min(calc(100% - 24px), 520px); min-height: 64px; justify-content: center; gap: 8px; }
  .marketing-header-links,
  .marketing-header-actions .marketing-header-signup,
  .marketing-header-signin span:first-child { display: none; }

  .marketing-header-logo img { width: 93px; }
  .marketing-header-signin span + span,
  .marketing-header-menu { display: block; }

  .marketing-header-signin { min-height: 44px; font-size: 13px; padding: 0; border: 0; }

  .marketing-header-menu summary {
    display: grid;
    place-items: center;
    cursor: pointer;
    width: 44px;
    height: 44px;
    list-style: none;
  }

  .marketing-header-menu summary::-webkit-details-marker { display: none; }

  .marketing-header-menu summary span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    box-shadow: 0 -6px currentColor, 0 6px currentColor;
  }

  .marketing-header-menu nav {
    display: grid;
    position: absolute;
    z-index: 5;
    top: 100%;
    left: 0;
    right: 0;
    padding: 12px 16px 16px;
    border: 1px solid #dedde7;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 30px #1727501c;
  }

  .marketing-header-menu nav a { display: flex; align-items: center; min-height: 44px; }
  .marketing-header-menu nav .marketing-header-signup { justify-self: start; margin-top: 8px; }
  .marketing-header-menu [aria-current="page"] { color: #154fdb; }
  .marketing-header-announcement { font-size: 12px; }
}
