[hidden] { display: none !important; }

.industry-nav {
  position: relative;
  color: #d4deec;
  font-size: .93rem;
  font-weight: 600;
}

.industry-nav > summary {
  display: flex;
  align-items: center;
  gap: .6rem;
  list-style: none;
  min-height: 44px;
  cursor: pointer;
  border-radius: 5px;
}

.industry-nav > summary::-webkit-details-marker { display: none; }
.industry-nav > summary::after {
  content: "";
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  width: 6px;
  height: 6px;
  transform: translateY(-2px) rotate(45deg);
}
.industry-nav[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.industry-nav > summary:hover,
.industry-nav > summary.industry-nav-current,
.industry-nav[open] > summary { color: #8cd9ff; }

.industry-nav-panel {
  position: absolute;
  z-index: 4;
  top: calc(100% + 2px);
  left: -14px;
  width: min(290px, calc(100vw - 40px));
  border: 1px solid #294768;
  border-radius: 11px;
  background: #0b1c32;
  padding: 7px;
  box-shadow: 0 18px 56px #020a17aa;
}
.industry-nav-panel ul { margin: 0; padding: 0; list-style: none; }
.nav-links .industry-nav-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 6px 11px;
  color: #dce9f8;
  border-radius: 6px;
}
.nav-links .industry-nav-panel a:hover,
.nav-links .industry-nav-panel a[aria-current="page"] { background: #112d4b; color: #94ddff; }
.nav-links .industry-nav-panel .industry-nav-all {
  border-top: 1px solid #28435f;
  border-radius: 0 0 6px 6px;
  margin-top: 4px;
  color: #91d7ff;
}

:where(.industry-nav summary, .analytics-preferences button, .analytics-link):focus-visible {
  outline: 2px solid #84d7ff;
  outline-offset: 3px;
}

.analytics-preferences {
  position: fixed;
  z-index: 90;
  inset: auto auto 18px 18px;
  width: min(520px, calc(100% - 36px));
  color: #f5f8ff;
  border: 1px solid #335775;
  border-radius: 12px;
  background: #0a1b30;
  padding: 14px 16px;
  box-shadow: 0 12px 42px #020a17b3;
}
.analytics-preferences p { margin: 3px 0 10px; color: #aabdd4; font-size: .86rem; }
.analytics-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.analytics-actions button {
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid #365675;
  border-radius: 6px;
  background: #142c49;
  color: #f5f8ff;
  cursor: pointer;
  font: inherit;
  font-size: .86rem;
  font-weight: 600;
}
.analytics-actions button:hover { background: #1b3c61; }
.analytics-link {
  min-height: 44px;
  padding: 0;
  background: none;
  color: inherit;
  border: 0;
  text-decoration: underline;
  text-underline-offset: .18em;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 880px) {
  .industry-nav-panel { position: static; width: 100%; margin-bottom: 4px; box-shadow: none; }
  .industry-nav > summary { justify-content: space-between; }
  html:not(.has-marketing-js) .nav .menu-btn { display: none; }
  html:not(.has-marketing-js) .nav .nav-links {
    display: flex;
    position: static;
    grid-column: 1 / -1;
    width: 100%;
  }
}

/* Make room for Industries in the tablet header while leaving the home hero intact. */
@media (min-width: 761px) and (max-width: 880px) {
  .ob-home .nav { grid-template-columns: 1fr auto; min-height: 76px; }
  .ob-home .menu-btn { display: grid; place-items: center; }
  .ob-home .nav-links {
    position: absolute;
    top: 74px;
    left: 10px;
    right: 10px;
    display: none;
    padding: 14px;
    border: 1px solid #243b54;
    border-radius: 12px;
    background: #071222;
  }
  .ob-home .nav-links.open { display: grid; gap: 8px; }
  .ob-home .nav-links .mobile-demo { display: inline-flex; color: white; }
  .ob-home .nav-cta { display: none; }
}
@media (max-width: 880px) {
  html:not(.has-marketing-js) .ob-home .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-bottom: 10px;
  }
  .ob-home .nav-links > a:not(.mobile-demo) { min-height: 44px; display: flex; align-items: center; }
}
