header {
  z-index: 50;
}
#nav {
  align-items: center;
  gap: 22px;
}
.nav-dropdown {
  display: flex;
  align-items: center;
  height: 88px;
}
.nav-trigger {
  border: 0;
  background: transparent;
  display: flex;
  gap: 7px;
  align-items: center;
  color: inherit;
  padding: 12px 0;
  font-size: inherit;
  white-space: nowrap;
  transition: color 0.15s;
}
.nav-trigger svg {
  height: 10px;
  width: 10px;
  fill: none;
  stroke: #929caf;
  stroke-width: 1.5;
  transition: transform 0.2s;
}
.nav-trigger[aria-expanded='true'] {
  color: var(--blue);
}
.nav-trigger[aria-expanded='true'] svg {
  transform: rotate(180deg);
  stroke: var(--blue);
}
.nav-trigger:hover {
  color: var(--blue);
}
.mega-menu[hidden] {
  display: none !important;
}
.mega-menu {
  display: flex;
  position: absolute;
  top: calc(100% - 2px);
  left: 50%;
  transform: translateX(-50%);
  width: min(850px, calc(100vw - 56px));
  border: 1px solid #e2e8f4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 65px #132b561a, 0 6px 14px #1b386008;
  padding: 8px;
  white-space: normal;
  animation: menu-in 0.16s ease-out;
  overflow: hidden;
}
.mega-main {
  padding: 22px 22px 0;
  flex: 1;
  min-width: 0;
}
.mega-heading {
  padding: 0 8px 20px;
}
.mega-heading > span {
  color: #93a1ba;
  font-size: 9px;
  letter-spacing: 1.5px;
}
.mega-heading h3 {
  font-size: 17px;
  font-weight: 500;
  color: #24334e;
  margin: 10px 0 0;
  letter-spacing: -0.4px;
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 8px;
  padding-bottom: 18px;
}
.mega-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 10px;
  border-radius: 9px;
  transition: background 0.15s;
  min-width: 0;
}
.mega-item:hover {
  background: #f2f6ff;
}
.mega-icon {
  width: 39px;
  height: 39px;
  border-radius: 10px;
  background: #eff4ff;
  border: 1px solid #e7edfc;
  display: grid;
  place-items: center;
  color: #557eea;
  font-size: 22px;
  flex-shrink: 0;
}
.mega-item > span:nth-child(2) {
  min-width: 0;
}
.mega-item strong {
  font-weight: 500;
  color: #35435d;
  font-size: 13px;
  display: block;
}
.mega-item small {
  color: #99a4b7;
  font-size: 10px;
  display: block;
  margin-top: 7px;
  line-height: 1.7;
}
.mega-item > b {
  color: #91a7d4;
  font-weight: 400;
  font-size: 15px;
  margin-left: auto;
  opacity: 0;
  transform: translateX(-3px);
  transition: 0.15s;
}
.mega-item:hover > b {
  opacity: 1;
  transform: none;
}
.mega-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  padding: 17px 8px 15px;
  border-top: 1px solid #edf0f7;
  font-size: 10px;
  color: #97a3b8;
}
.mega-footer > a {
  color: #587cda;
  white-space: nowrap;
}
.mega-aside {
  position: relative;
  overflow: hidden;
  width: 228px;
  flex-shrink: 0;
  border-radius: 11px;
  background: linear-gradient(150deg, #eef3ff, #e6edff);
  padding: 25px 22px;
  display: flex;
  flex-direction: column;
}
.mega-aside-kicker {
  font-size: 7px;
  color: #87a0cc;
  letter-spacing: 1.1px;
  position: relative;
  z-index: 1;
}
.mega-aside h3 {
  font-size: 23px;
  color: #2d4e98;
  font-weight: 500;
  letter-spacing: -0.7px;
  line-height: 1.4;
  margin: 45px 0 15px;
  position: relative;
  z-index: 1;
}
.mega-aside p {
  font-size: 11px;
  line-height: 1.9;
  color: #92a4c8;
  margin: 0 0 25px;
}
.mega-aside > a {
  font-size: 11px;
  color: #4670d5;
  margin-top: auto;
  position: relative;
  z-index: 1;
}
.mega-orbit {
  font-size: 150px;
  font-weight: 200;
  position: absolute;
  right: -40px;
  top: 5px;
  line-height: 1;
  color: #c6d7fb;
  transform: rotate(-20deg);
}
.nav-direct {
  padding: 12px 0;
}
.nav-dropdown:nth-child(2) .mega-menu {
  width: min(720px, calc(100vw - 56px));
}
.nav-dropdown:last-child .mega-menu {
  width: min(740px, calc(100vw - 56px));
}
@keyframes menu-in {
  from {
    opacity: 0;
    translate: 0 -5px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@media (max-width: 1200px) {
  #nav {
    gap: 17px;
  }
  .mega-menu {
    width: min(800px, calc(100vw - 56px));
  }
  .mega-aside {
    width: 210px;
  }
  .mega-main {
    padding: 20px 16px 0;
  }
  .mega-item {
    gap: 10px;
  }
  .mega-item small {
    font-size: 9px;
  }
}
@media (max-width: 950px) and (min-width: 761px) {
  #nav {
    gap: 12px;
    font-size: 11px;
  }
  .nav-trigger {
    gap: 4px;
  }
  .nav-trigger svg {
    width: 8px;
    height: 8px;
  }
  .nav-dropdown {
    height: 76px;
  }
  .nav-actions .btn.small {
    padding-inline: 13px;
    gap: 15px;
  }
  .mega-menu {
    width: calc(100vw - 48px);
  }
}
@media (max-width: 760px) {
  #nav {
    align-items: stretch;
    gap: 0;
    padding: 10px 18px 17px;
    max-height: calc(100dvh - 100px);
    overflow-y: auto;
    border: 1px solid #e4eaf5;
    box-shadow: 0 15px 45px #17366b17;
  }
  .nav-dropdown {
    height: auto;
    display: block;
    border-bottom: 1px solid #eef1f7;
  }
  .nav-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 17px 2px;
    font-size: 13px;
    color: #4a5870;
  }
  .nav-trigger svg {
    height: 11px;
    width: 11px;
  }
  .nav-direct {
    padding: 17px 2px;
    font-size: 13px;
    color: #4a5870;
    border-bottom: 1px solid #eef1f7;
  }
  .mega-menu,
  .nav-dropdown:nth-child(2) .mega-menu,
  .nav-dropdown:last-child .mega-menu {
    position: static;
    transform: none;
    animation: none;
    width: 100%;
    padding: 0;
    display: block;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    overflow: visible;
  }
  .mega-main {
    padding: 0;
  }
  .mega-heading,
  .mega-aside {
    display: none;
  }
  .mega-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 0 0 9px;
  }
  .mega-item {
    padding: 11px 8px;
    gap: 12px;
    border-radius: 7px;
  }
  .mega-icon {
    height: 33px;
    width: 33px;
    font-size: 19px;
    border-radius: 8px;
  }
  .mega-item strong {
    font-size: 12px;
  }
  .mega-item small {
    font-size: 10px;
    margin-top: 3px;
  }
  .mega-item > b {
    opacity: 1;
    font-size: 12px;
    transform: none;
  }
  .mega-footer {
    padding: 13px 8px 17px;
    font-size: 9px;
    flex-wrap: wrap;
    gap: 7px;
  }
  .mega-footer > span {
    font-size: 8px;
  }
  .mega-footer > a {
    font-size: 10px;
  }
  .nav-dropdown:last-child {
    border-bottom: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mega-menu {
    animation: none;
  }
}
/* Match AeroLaunch's measured header height, including its bottom border. */
header {
  height: 77px;
}
@media (min-width: 761px) {
  .nav-dropdown {
    height: 77px;
  }
}
@media (max-width: 760px) {
  #nav {
    top: 77px;
    max-height: calc(100dvh - 104px);
  }
}
/* Keep the top state solid; reveal the page softly through the scrolled navigation. */
header {
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background-color 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
header.is-scrolled {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: rgba(217, 226, 242, 0.65);
  box-shadow: 0 4px 20px rgba(27, 52, 95, 0.04);
}
@media (prefers-reduced-motion: reduce) {
  header {
    transition: none;
  }
}

/* 98IP connected-loop identity. */
.logo {
  font-weight: 750;
  letter-spacing: -1.2px;
}
.brand-mark {
  background: linear-gradient(145deg, #4e83ff, #2557e5);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 #ffffff55, 0 4px 10px #285ded20;
}
.brand-mark svg {
  width: 35px;
  height: 35px;
}
footer .logo .brand-mark {
  width: 36px;
  height: 36px;
}
footer .logo .brand-mark svg {
  width: 32px;
  height: 32px;
}
@media (max-width: 760px) {
  .brand-mark {
    border-radius: 10px;
  }
  .brand-mark svg {
    width: 29px;
    height: 29px;
  }
}

/* Selected original B097 artwork; fixed sizing preserves the 77px navigation. */
.logo .brand-lockup {
  display: block;
  width: 116px;
  height: 38px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.logo {
  gap: 0;
}
footer .logo .brand-lockup {
  width: 104px;
  height: 38px;
}
@media (max-width: 760px) {
  header .logo .brand-lockup {
    width: 100px;
    height: 33px;
  }
}

/* Larger hero network label. */
.hero-pill {
  font-size: 14px;
  line-height: 1.4;
  padding: 12px 18px;
  gap: 12px;
}
.hero-pill .live {
  width: 7px;
  height: 7px;
}
.hero-pill .pill-divider {
  height: 13px;
}
@media (max-width: 1200px) {
  .hero-pill {
    font-size: 13px;
    padding: 11px 16px;
    gap: 10px;
  }
}
@media (max-width: 760px) {
  .hero-pill {
    font-size: 11px;
    padding: 11px 14px;
    gap: 9px;
  }
  .hero-pill .live {
    width: 6px;
    height: 6px;
  }
}

/* Lift the dashboard and integration card column. */
.showcase .column-one {
  padding-top: 5px;
}
@media (max-width: 1200px) {
  .showcase .column-one {
    padding-top: 0;
  }
}
@media (max-width: 760px) {
  .showcase .column-one {
    padding-top: 0;
  }
}
@media (min-width: 761px) {
  header nav {
    font-size: 15px;
    color: #384152;
  }
  header nav > .nav-trigger,
  header nav > a,
  header nav > .nav-item > .nav-trigger {
    font-weight: 500;
  }
  header .nav-trigger svg {
    stroke: #69768c;
  }
}
/* Match the original 98IP top navigation typography. */
html body header #nav {
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.6;
  letter-spacing: normal;
}
html body header #nav > .nav-dropdown > .nav-trigger,
html body header #nav > a {
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.6;
  letter-spacing: normal;
}
html body header #nav > .nav-dropdown > .nav-trigger:hover,
html body header #nav > .nav-dropdown > .nav-trigger[aria-expanded='true'],
html body header #nav > a:hover {
  color: #3264f5;
}
html body header #nav .mega-menu {
  font-family: Inter, sans-serif;
}
