/* Floating glass menu used on the home page and legal pages */
.t1-nav-wrap {
  position: sticky;
  top: 14px;
  z-index: 120;
  display: flex;
  justify-content: center;
  padding: 14px 24px 0;
}

.t1-nav {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(1200px, 100%);
  padding: 10px 10px 10px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.098);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  font-family: 'Inter', system-ui, sans-serif;
}

.t1-nav__logo {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  line-height: 1;
}

.t1-nav__logo img {
  width: 24px;
  height: 24px;
  display: block;
}

.t1-nav__logo-text {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 32, "wght" 400;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
}

.t1-nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-width: 0;
}

.t1-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.t1-nav__link:hover {
  color: #fff;
}

.t1-nav__link svg {
  width: 11px;
  height: 11px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  opacity: 0.8;
}

.t1-nav__actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.t1-nav__login,
.t1-nav__demo,
.t1-nav__menu-btn {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 550;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
  font-family: inherit;
  cursor: pointer;
}

.t1-nav__login:hover,
.t1-nav__demo:hover,
.t1-nav__menu-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.75);
}

.t1-nav__menu-btn {
  display: none;
  gap: 5px;
}

.t1-nav__menu-btn svg {
  width: 11px;
  height: 11px;
  opacity: 0.85;
  transition: transform 0.15s ease;
}

.t1-nav.is-mobile-open .t1-nav__menu-btn svg {
  transform: rotate(180deg);
}

.t1-nav .topa-kb-menu__trigger {
  padding-right: 0;
}

.t1-nav__trial {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 650;
  color: #241741;
  text-decoration: none;
  white-space: nowrap;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #fff;
  transition: background 0.15s ease;
}

.t1-nav__trial:hover {
  background: #ece6ff;
  border-color: #ece6ff;
}

.t1-nav__mobile-panel {
  display: none;
}

@media (max-width: 960px) {
  .t1-nav-wrap {
    top: 12px;
    padding: 12px 16px 0;
  }

  .t1-nav {
    grid-template-columns: auto 1fr;
    width: min(1200px, 100%);
    padding: 8px 8px 8px 14px;
    border-radius: 14px;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .t1-nav__logo {
    gap: 6px;
  }

  .t1-nav__logo img {
    width: 20px;
    height: 20px;
  }

  .t1-nav__logo-text {
    font-size: 17px;
  }

  .t1-nav__links {
    display: none;
  }

  .t1-nav__login,
  .t1-nav__demo {
    display: none;
  }

  .t1-nav__actions {
    gap: 6px;
  }

  .t1-nav__menu-btn {
    display: inline-flex;
    font-size: 12px;
    padding: 7px 13px;
  }

  .t1-nav__trial {
    font-size: 12px;
    padding: 8px 14px;
  }

  .t1-nav__mobile-panel {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    gap: 2px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .t1-nav.is-mobile-open .t1-nav__mobile-panel {
    display: flex;
  }

  .t1-nav__mobile-panel[hidden] {
    display: none !important;
  }

  .t1-nav__mobile-link {
    display: flex;
    align-items: center;
    padding: 10px 8px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-size: 13px;
    font-weight: 550;
    transition: background 0.15s ease;
  }

  .t1-nav__mobile-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
  }
}
