/* Focused refinement pass: logo containment, academic/support sections and mobile carousel. */
.site-header .brand {
  display: inline-flex;
  align-items: center;
  height: 100%;
}

/* Shared multipage navigation additions */
.nav-group { position: relative; }
.nav-group summary { cursor: pointer; list-style: none; font: inherit; color: inherit; }
.nav-group summary::-webkit-details-marker { display: none; }
.nav-group summary::after { content: "▾"; margin-left: .35rem; font-size: .72em; }
.nav-group > div {
  display: grid;
  min-width: 230px;
  position: absolute;
  top: calc(100% + .85rem);
  left: 50%;
  transform: translateX(-50%);
  padding: .65rem;
  border: 1px solid rgba(129, 170, 224, .28);
  border-radius: 14px;
  background: rgba(6, 21, 44, .98);
  box-shadow: 0 20px 46px rgba(0, 0, 0, .3);
  z-index: 30;
}
.nav-group > div a { padding: .7rem .8rem; border-radius: 9px; white-space: nowrap; }
.nav-group > div a:hover { background: rgba(255, 255, 255, .08); }

.proof-strip {
  padding: clamp(3.5rem, 7vw, 6rem) max(1.25rem, calc((100vw - 1180px) / 2));
  text-align: center;
  color: #f7fbff;
  background: linear-gradient(125deg, #0d3877, #071a35 62%, #0d294d);
}
.proof-strip h2 { max-width: 900px; margin: .55rem auto 1rem; }
.proof-strip p:not(.eyebrow) { max-width: 720px; margin: 0 auto 1.5rem; color: #d6e6fa; }
.proof-strip .dark-button { background: #e2b657; color: #071a35; }

@media (max-width: 900px) {
  .nav-group { width: 100%; }
  .nav-group summary { padding: .75rem 0; }
  .nav-group > div {
    position: static;
    transform: none;
    min-width: 0;
    padding: .25rem 0 .35rem 1rem;
    border: 0;
    box-shadow: none;
    background: transparent;
  }
  .nav-group > div a { display: block; padding: .55rem 0; }
}

.site-header .brand img {
  width: auto;
  height: 58px;
  max-width: 174px;
  object-fit: contain;
}

.slide h1 {
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: clamp(2.4rem, 4vw, 5rem);
  margin: .75rem 0 1.2rem;
  letter-spacing: -.045em;
  line-height: 1.05;
}

.outline-dark {
  border: 1px solid #183b61;
  color: #10223c;
}

.academic-focus {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr);
  align-items: center;
  gap: clamp(3rem, 6vw, 7rem);
}

.academic-focus > div:first-child > p:not(.eyebrow) {
  color: #56657a;
  max-width: 700px;
}

.academic-focus .primary {
  background: #0b2d52;
  color: #fff;
}

.academic-pair {
  min-height: 520px;
  position: relative;
}

.academic-pair img {
  position: absolute;
  width: 86%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  border: 8px solid #172536;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.academic-pair img:first-child {
  top: 0;
  right: 0;
}

.academic-pair img:last-child {
  left: 0;
  bottom: 0;
}

.installation {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(480px, 1.15fr);
  gap: clamp(3rem, 7vw, 8rem);
  background: #06152c;
  color: #d2ddeb;
}

.installation h2 {
  color: #fff;
}

.support-card {
  display: grid;
  gap: .35rem;
  margin-top: 2rem;
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
}

.support-card strong {
  color: #fff;
  font-size: 1.1rem;
}

.support-card a {
  width: fit-content;
  color: var(--lime);
  font-weight: 750;
  text-decoration: none;
}

.install-steps {
  display: grid;
  align-content: center;
  gap: .9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.install-steps li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 12px;
  background: rgba(255, 255, 255, .045);
}

.install-steps li > span {
  color: var(--gold);
  font-size: .8rem;
  font-weight: 850;
}

.install-steps b {
  color: #fff;
  font-size: 1.05rem;
}

.install-steps p {
  margin: .25rem 0 0;
  color: #aebfd2;
}

@media (max-width: 1050px) {
  .academic-focus,
  .installation {
    grid-template-columns: 1fr;
  }

  .academic-pair {
    min-height: 500px;
    max-width: 820px;
  }
}

@media (max-width: 640px) {
  .site-header .brand img {
    height: 46px;
    max-width: 132px;
  }

  .showcase {
    padding: 1rem .75rem 1.5rem;
  }

  .carousel {
    border-radius: 18px;
  }

  .slide {
    min-height: calc(100svh - 96px);
    padding: 2.5rem 1.3rem 5rem;
    gap: 1.6rem;
    align-content: start;
  }

  .slide h1,
  .slide h2 {
    font-size: clamp(1.9rem, 9vw, 2.35rem);
    line-height: 1.06;
    margin: .55rem 0 .8rem;
  }

  .slide-copy > p:not(.slide-kicker) {
    font-size: .96rem;
    line-height: 1.55;
  }

  .slide .actions {
    margin: 1rem 0 .25rem;
    gap: .55rem;
  }

  .slide .actions .button {
    min-height: 44px;
    padding: .6rem .85rem;
    font-size: .84rem;
  }

  .slide-kicker {
    font-size: .68rem;
  }

  .device-area {
    width: 100%;
    max-width: 100%;
  }

  .slide .laptop .screen,
  .slide .display-frame {
    border-width: 6px;
  }

  .slide .phone {
    width: min(205px, 58vw);
  }

  .paired {
    min-height: 265px;
  }

  .network-visual {
    gap: .7rem;
  }

  .carousel-footer {
    max-width: calc(100% - 5.5rem);
    gap: .55rem;
    padding: .55rem .65rem;
  }

  .carousel-status {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .indicator {
    width: 8px;
    height: 8px;
  }

  .indicator.is-active {
    width: 22px;
  }

  .academic-pair {
    min-height: 290px;
  }

  .academic-pair img {
    border-width: 5px;
  }

  .installation {
    padding-top: 5rem;
  }

  .install-steps li {
    grid-template-columns: 38px 1fr;
    padding: 1rem;
  }
}
