:root {
  --ocelot-nav-height: 68px;
}

/* The bar reacts to scroll instead of being one fixed pane. Over the hero it
 * is nearly clear so the shader reads edge to edge; once the page moves under
 * it, it thickens into a legible surface. Both states are the same blur, so
 * the transition is a change of density and not a change of material. */
.ocelot-shared-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 2147483000;
  height: var(--ocelot-nav-height);
  border-bottom: 1px solid rgba(255, 255, 255, .04);
  background: rgba(6, 8, 13, .24);
  box-shadow: none;
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  transition: background .26s ease, border-color .26s ease, box-shadow .26s ease,
    -webkit-backdrop-filter .26s ease, backdrop-filter .26s ease;
}

.ocelot-shared-nav.is-scrolled {
  border-bottom-color: rgba(255, 255, 255, .11);
  background: rgba(6, 8, 13, .72);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .3);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  backdrop-filter: blur(24px) saturate(1.2);
}

/* Interior pages start under content, not under a hero, so they carry the
 * settled state from the first paint. */
body.ocelot-page-docs .ocelot-shared-nav,
body.ocelot-page-waitlist .ocelot-shared-nav {
  border-bottom-color: rgba(255, 255, 255, .11);
  background: rgba(6, 8, 13, .72);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  backdrop-filter: blur(24px) saturate(1.2);
}

.ocelot-shared-nav__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  column-gap: 24px;
  align-items: center;
  width: min(calc(100% - 48px), 1180px);
  height: 100%;
  margin: 0 auto;
}

.ocelot-shared-nav__logo {
  display: inline-flex;
  width: 121px;
  color: #fff;
  transition: opacity .18s ease;
}

.ocelot-shared-nav__logo:hover { opacity: .72; }
.ocelot-shared-nav__logo svg { display: block; width: 100%; height: auto; }

.ocelot-shared-nav__links,
.ocelot-shared-nav__actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.ocelot-shared-nav__actions {
  justify-self: end;
  gap: 18px;
}

/* 12px sat below the rest of the page's type and read as fine print against
 * the hero. 13px at a higher resting opacity is the weight the navigation
 * carried before it was rebuilt as a shared bar. */
.ocelot-shared-nav a {
  color: rgba(255, 255, 255, .82);
  font: 500 13px/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: 0;
  white-space: nowrap;
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.ocelot-shared-nav a:hover,
.ocelot-shared-nav a[aria-current="page"] { color: #fff; }

/* The waitlist button is the page's one primary action, so it carries the
 * brand blue the hero's own call to action uses rather than a neutral chip. */
.ocelot-shared-nav__cta {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: #fff !important;
  font-weight: 600;
  border: 1px solid #5b7fff;
  border-radius: 7px;
  background: #5b7fff;
}

.ocelot-shared-nav__cta:hover {
  border-color: #3d63ff;
  background: #3d63ff;
}

.ocelot-shared-nav a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Docs read top-down, so the bar gets its own band. The waitlist centres one
 * card in a full-viewport section; stacking the band on top of 100vh forced a
 * scroll to reach the social row, so there the bar overlays the section's
 * empty upper margin instead. */
body.ocelot-page-docs { padding-top: var(--ocelot-nav-height) !important; }
body.ocelot-page-waitlist { padding-top: 0 !important; }

body.ocelot-shared-nav-active [data-framer-name="Desktop_Light"],
body.ocelot-shared-nav-active [data-framer-name="Mobile_Light"],
body.ocelot-shared-nav-active [data-framer-name="Header"],
body.ocelot-shared-nav-active [data-ocelot-native-chrome="true"] {
  display: none !important;
}

@media (max-width: 1099.98px) {
  .ocelot-shared-nav__inner { grid-template-columns: 1fr auto; }
  .ocelot-shared-nav__links { display: none; }
}

@media (max-width: 809.98px) {
  :root { --ocelot-nav-height: 62px; }

  .ocelot-shared-nav__inner {
    column-gap: 12px;
    width: min(calc(100% - 28px), 1180px);
  }

  .ocelot-shared-nav__logo { width: 104px; }
  .ocelot-shared-nav__actions { gap: 13px; }
  .ocelot-shared-nav__actions > a:not(.ocelot-shared-nav__cta) { font-size: 11px; }
  .ocelot-shared-nav__cta { min-height: 35px; padding: 0 12px; font-size: 11px !important; }
}

@media (max-width: 379.98px) {
  .ocelot-shared-nav__logo { width: 84px; }
  .ocelot-shared-nav__actions { gap: 10px; }
  .ocelot-shared-nav__cta { padding: 0 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .ocelot-shared-nav a { transition: none; }
}
