.header-actions-main {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(16, 32, 51, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  padding: 3px;
}

.lang-switch button {
  min-width: 34px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: #102033;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  padding: 0 8px;
}

.lang-switch button.is-active {
  display: none;
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(16, 32, 51, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.76);
  cursor: pointer;
  padding: 0;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #102033;
  content: "";
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.site-header.is-menu-open .menu-toggle span {
  background: transparent;
}

.site-header.is-menu-open .menu-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.is-menu-open .menu-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

.story-nav {
  display: none;
}

.menu-claim-button {
  display: none;
}

.claim-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(16, 32, 51, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  color: #102033;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  padding: 9px 14px;
  white-space: nowrap;
}

.claim-button:hover {
  background: #fff;
}

.header-nav .menu-claim-button {
  display: none;
}

.claim-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 21, 38, 0.42);
  backdrop-filter: blur(8px);
  padding: 20px;
}

.claim-modal.is-open {
  display: flex;
}

.claim-dialog {
  position: relative;
  width: min(478px, 100%);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 26px 90px rgba(7, 21, 42, 0.26);
  padding: 28px;
}

.claim-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #f1f5f9;
  color: #102033;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.claim-kicker {
  margin: 0;
  color: #08745e;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.claim-dialog h2 {
  margin: 18px 44px 0 0;
  color: #102033;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.02;
}

.claim-call {
  display: inline-flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  border-radius: 12px;
  background: #145cff;
  color: #fff;
  font-size: 22px;
  font-weight: 950;
  text-decoration: none;
}

.claim-note {
  margin: 14px 0 0;
  color: #5b7085;
  font-size: 15px;
  line-height: 1.45;
  text-align: center;
}

body.claim-lock {
  overflow: hidden;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .site-header .header-nav {
    display: none;
  }

  .site-header.is-menu-open .header-nav {
    position: fixed;
    z-index: 80;
    top: 62px;
    left: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: calc(100dvh - 84px);
    overflow-y: auto;
    border: 1px solid rgba(16, 32, 51, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 20px 54px rgba(16, 32, 51, 0.16);
    backdrop-filter: blur(18px);
    padding: 8px;
  }

  .site-header.is-menu-open .header-nav a {
    display: flex;
    min-height: 42px;
    align-items: center;
    border-radius: 10px;
    color: #102033;
    font-size: 15px;
    font-weight: 850;
    padding: 10px 12px;
  }

  .site-header.is-menu-open .header-nav .menu-claim-button {
    position: static;
    display: flex;
    width: 100%;
    min-height: 44px;
    margin-top: 4px;
    border: 0;
    background: #102033;
    color: #fff;
    box-shadow: none;
  }

  .site-header.is-menu-open .header-nav a:hover {
    background: #f1f5f9;
  }

  .header-actions-main .claim-button,
  .header-actions .claim-button {
    display: none;
  }

  .header-actions-main,
  .header-actions {
    display: flex;
    margin-left: auto;
  }

  .header-actions .lang-switch {
    flex: 0 0 auto;
    border-radius: 9px;
    padding: 2px;
  }

  .header-actions .lang-switch button {
    min-width: 28px;
    height: 28px;
    border-radius: 7px;
    font-size: 11px;
    padding: 0 6px;
  }

  .product-page .header-actions {
    margin-right: 4px;
  }

  .product-page .header-actions .lang-switch {
    padding: 2px;
  }

  .product-page .header-actions .lang-switch button {
    min-width: 32px;
    padding: 0 8px;
  }

  .header-actions .header-docs,
  .header-actions .header-cta {
    display: none;
  }

  .header-actions-main .header-action {
    display: none;
  }
}

@media (max-width: 620px) {
  .claim-dialog {
    padding: 22px;
  }

  .lang-switch {
    margin-left: auto;
  }

  .lang-switch button {
    min-width: 31px;
    height: 28px;
    font-size: 11px;
    padding: 0 7px;
  }

  .site-header.is-menu-open .header-nav {
    top: 58px;
  }

  .site-header.is-menu-open .header-nav .menu-claim-button {
    max-width: none;
    font-size: 14px;
    padding: 10px 12px;
  }
}
