/* Nene launch page — pinned header, hero and the fake browser chrome. */

/* --- Pinned header. Glass is used here and nowhere else in the system. --- */

.ns-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 60px;
  margin-bottom: -60px;
  padding: 0 var(--gutter-page);
  background: rgba(11, 26, 38, 0.55);
  backdrop-filter: saturate(1.15) blur(18px);
  color: var(--sand-50);
}

.ns-wordmark {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: var(--weight-display-em);
  letter-spacing: var(--tracking-wordmark);
  text-transform: uppercase;
}

.ns-page a.ns-wordmark,
.ns-page a.ns-wordmark:hover {
  color: var(--sand-50);
}

.ns-nav {
  display: none;
  gap: 32px;
  align-items: center;
}

.ns-nav-link,
.ns-page a.ns-nav-link {
  font-size: 12px;
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.82);
}

.ns-page a.ns-nav-link:hover {
  color: var(--gold-300);
}

.ns-menu {
  color: var(--sand-50);
}

.ns-menu > summary {
  display: flex;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.ns-menu > summary::-webkit-details-marker {
  display: none;
}

.ns-menu-panel {
  position: absolute;
  right: var(--gutter-page);
  left: var(--gutter-page);
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-l);
  border: 1px solid var(--line-inverse);
  /* Opaque, not glass: the system allows backdrop-filter on the pinned header
     and nowhere else, and a translucent panel over the hero is unreadable. */
  background: var(--ink-900);
  box-shadow: 0 18px 48px rgba(6, 13, 20, 0.55);
}

.ns-menu-panel a {
  padding: 10px 0;
}

/* --- 1 · Hero --- */

.ns-hero {
  padding: 100px var(--gutter-page) 0;
}

.ns-hero__wash {
  background: linear-gradient(150deg, #12293a 0%, #1b3b52 46%, #6e5322 140%);
}

.ns-hero__inner {
  display: flex;
  flex-direction: column;
}

.ns-hero h1 {
  margin-top: 16px;
  color: var(--sand-50);
}

.ns-hero__sub {
  margin: 18px 0 26px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(244, 240, 232, 0.74);
  text-wrap: pretty;
}

.ns-hero__beta {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(244, 240, 232, 0.58);
}

.ns-trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 26px;
  padding: 16px 18px;
  border-radius: var(--radius-l);
  border: 1px solid var(--line-inverse);
  background: rgba(6, 13, 20, 0.28);
}

.ns-trust__item {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  font-size: 12.5px;
  color: rgba(244, 240, 232, 0.66);
}

.ns-trust__divider {
  display: none;
  width: 1px;
  height: 16px;
  background: var(--line-inverse);
}

/* Fake browser chrome around the product panel, bleeding into the band below. */

.ns-chrome {
  width: 100%;
  max-width: 1160px;
  margin: 32px auto -1px;
  border: 1px solid var(--line-inverse);
  border-bottom: 0;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden;
  box-shadow: 0 -8px 60px rgba(6, 13, 20, 0.5);
}

.ns-chrome__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  background: #0f1417;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ns-chrome__dot {
  width: 9px;
  height: 9px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.16);
}

.ns-chrome__url {
  margin-left: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.34);
}

/* Desktop only: the design hides `br`s that would over-break the mobile scale. */
.ns-br-lg {
  display: none;
}

.ns-header__cta {
  display: none;
}


@media (min-width: 900px) {
  .ns-header {
    height: 76px;
    margin-bottom: -76px;
    gap: 40px;
    padding: 0 var(--gutter-page-lg);
  }

  .ns-wordmark {
    font-size: 26px;
  }

  .ns-nav {
    display: flex;
  }

  .ns-menu {
    display: none;
  }

  .ns-br-lg {
    display: inline;
  }

  .ns-header__cta {
    display: inline-flex;
  }

  .ns-hero {
    padding: 172px var(--gutter-page-lg) 0;
  }

  .ns-hero__inner {
    align-items: center;
    text-align: center;
  }

  /* Wide enough that the explicit line break lands where the design puts it:
     "Nene does the travel admin." must not wrap on its own. */
  .ns-hero h1 {
    max-width: 1040px;
    margin-top: 22px;
  }

  .ns-hero__sub {
    max-width: 560px;
    margin: 26px 0 36px;
    font-size: 19px;
  }

  .ns-hero__beta {
    margin-top: 20px;
    font-size: 14px;
  }

  .ns-trust {
    flex-direction: row;
    gap: 28px;
    margin-top: 44px;
    padding: 14px 26px;
    border-radius: var(--radius-pill);
  }

  .ns-trust__item {
    font-size: 13px;
  }

  .ns-trust__divider {
    display: block;
  }

  .ns-chrome {
    margin: 64px auto -120px;
  }
}
