.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  clip-path: inset(50%) !important;
}

.industry-menu-trigger {
  position: fixed;
  z-index: 22;
  top: 50%;
  left: 0;
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 10px;
  padding: 0 20px 0 16px;
  transform: translate(-9px, -50%);
  border: 0;
  border-radius: 0 999px 999px 0;
  background: #fff;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .34), 0 0 0 1px rgba(0, 113, 227, .08);
  color: #0a0a0a;
  cursor: pointer;
  font: 600 .91rem/1 var(--font);
  letter-spacing: -.015em;
  animation: industryBubbleIn .75s .7s cubic-bezier(.22, 1.4, .36, 1) both;
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s ease;
}

.industry-menu-trigger:hover,
.industry-menu-trigger:focus-visible {
  transform: translate(0, -50%);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .42), 0 0 0 3px rgba(0, 113, 227, .2);
  outline: 0;
}

.industry-menu-trigger svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: #0071e3;
  stroke-linecap: round;
  stroke-width: 1.9;
}

.industry-menu-backdrop {
  position: fixed;
  z-index: 30;
  inset: 0;
  visibility: hidden;
  background: rgba(0, 0, 0, .56);
  opacity: 0;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  transition: opacity .3s ease, visibility 0s .3s;
}

.industry-menu {
  position: fixed;
  z-index: 31;
  top: 68px;
  bottom: 18px;
  left: 14px;
  width: min(410px, calc(100vw - 28px));
  overflow-x: hidden;
  overflow-y: auto;
  padding: 30px 24px 22px;
  transform: translateX(calc(-100% - 28px)) scale(.96);
  transform-origin: left center;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .48);
  color: #111;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  visibility: hidden;
  opacity: 0;
  transition: transform .45s cubic-bezier(.22, 1.18, .36, 1), opacity .25s ease, visibility 0s .45s;
}

.industry-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateX(0) scale(1);
  transition-delay: 0s;
}

.industry-menu-backdrop.is-open {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

body.industry-menu-open {
  overflow: hidden;
}

.industry-menu-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.industry-menu-eyebrow {
  margin-bottom: 7px;
  color: #0071e3;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.industry-menu h2 {
  max-width: 270px;
  color: #101010;
  font-size: clamp(1.55rem, 3vw, 1.95rem);
  font-weight: 650;
  letter-spacing: -.045em;
  line-height: 1.08;
}

.industry-menu-close {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f1f2f4;
  color: #111;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.industry-menu-close:hover {
  background: #e6e8eb;
  transform: rotate(4deg) scale(1.04);
}

.industry-menu-close:focus-visible,
.industry-category-toggle:focus-visible,
.industry-search input:focus-visible {
  outline: 3px solid rgba(0, 113, 227, .25);
  outline-offset: 2px;
}

.industry-menu-close svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.industry-menu-intro {
  margin-top: 15px;
  color: #666b73;
  font-size: .87rem;
  line-height: 1.5;
}

.industry-search {
  position: sticky;
  z-index: 2;
  top: -30px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 16px;
  padding: 9px 13px;
  border: 1px solid #dfe2e6;
  border-radius: 15px;
  background: #f7f8fa;
  box-shadow: 0 8px 20px rgba(16, 24, 40, .06);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.industry-search:focus-within {
  border-color: rgba(0, 113, 227, .5);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, .1), 0 10px 24px rgba(16, 24, 40, .07);
}

.industry-search svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: #0071e3;
  stroke-linecap: round;
  stroke-width: 1.8;
  pointer-events: none;
}

.industry-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #111;
  font: 500 .88rem/1.35 var(--font);
}

.industry-search input::placeholder {
  color: #8a8f97;
}

.industry-categories {
  display: grid;
  gap: 8px;
}

.industry-category {
  overflow: hidden;
  border: 1px solid #e8e9ec;
  border-radius: 16px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.industry-category:has(.industry-category-toggle[aria-expanded="true"]) {
  border-color: rgba(0, 113, 227, .22);
  box-shadow: 0 8px 22px rgba(0, 71, 142, .07);
}

.industry-category-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 16px;
  border: 0;
  background: transparent;
  color: #202124;
  cursor: pointer;
  font: 600 .9rem/1.32 var(--font);
  letter-spacing: -.015em;
  text-align: left;
}

.industry-category-toggle:hover {
  background: #f8f9fb;
}

.category-chevron {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  transform: rotate(45deg) translate(-2px, -2px);
  border-right: 1.7px solid #0071e3;
  border-bottom: 1.7px solid #0071e3;
  transition: transform .25s cubic-bezier(.22, 1, .36, 1);
}

.industry-category-toggle[aria-expanded="true"] .category-chevron {
  transform: rotate(225deg) translate(-1px, -1px);
}

.industry-category ul {
  padding: 0 17px 15px 36px;
  color: #646a73;
  list-style: none;
}

.industry-category li {
  position: relative;
  padding: 6px 0;
  font-size: .84rem;
  line-height: 1.36;
}

.industry-category li::before {
  position: absolute;
  top: 12px;
  left: -15px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0071e3;
  content: "";
  opacity: .72;
}

.industry-no-results {
  margin: 24px 0;
  padding: 20px;
  border-radius: 16px;
  background: #f6f7f9;
  color: #656a72;
  font-size: .88rem;
  line-height: 1.5;
  text-align: center;
}

.industry-menu-note {
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid #eceef1;
  color: #878c94;
  font-size: .76rem;
  line-height: 1.45;
  text-align: center;
}

@keyframes industryBubbleIn {
  0% { opacity: 0; transform: translate(-100%, -50%) scale(.72); }
  65% { opacity: 1; transform: translate(5px, -50%) scale(1.04); }
  100% { opacity: 1; transform: translate(-9px, -50%) scale(1); }
}

@media (max-width: 600px) {
  .industry-menu-trigger {
    top: auto;
    bottom: max(20px, env(safe-area-inset-bottom));
    min-height: 50px;
    padding-right: 17px;
    transform: translateX(-8px);
    animation-name: industryBubbleInMobile;
  }

  .industry-menu-trigger:hover,
  .industry-menu-trigger:focus-visible {
    transform: translateX(0);
  }

  .industry-menu {
    top: max(12px, env(safe-area-inset-top));
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 10px;
    width: calc(100vw - 20px);
    padding: 25px 18px 19px;
    border-radius: 25px;
  }

  .industry-menu h2 {
    font-size: 1.62rem;
  }

  .industry-search {
    top: -25px;
  }

  .industry-category-toggle {
    padding: 14px;
    font-size: .87rem;
  }

  @keyframes industryBubbleInMobile {
    0% { opacity: 0; transform: translateX(-100%) scale(.72); }
    65% { opacity: 1; transform: translateX(4px) scale(1.04); }
    100% { opacity: 1; transform: translateX(-8px) scale(1); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .industry-menu-trigger {
    animation: none;
  }

  .industry-menu,
  .industry-menu-backdrop,
  .category-chevron {
    transition-duration: .01ms;
  }
}
