/**
 * Technology landing pages: shared layer (page fixes + section menu). Each design has its own stylesheet.
 */

/* The theme sets overflow on <body> and #wrap_all, which turns them into scroll boxes and stops
   position:sticky. "clip" keeps the same visual clipping without that side effect. */
html body#top.orfa-lp-page { overflow-x: clip; overflow-y: visible; }
body.orfa-lp-page #wrap_all { overflow: clip; }
body.orfa-lp-page #main { border-top: 0; }

.orfa-lp { position: relative; }

/* ------------------------------------------------------------------ Section menu */
#top #wrap_all .orfa-lp .orfa-lp-subnav {
	position: sticky;
	top: 0;
	z-index: 60;
	display: block;
	background: rgba(255, 255, 255, .94);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid #dfe6f1;
	transition: box-shadow .2s ease;
	font-size: 16px;
	line-height: 1.4;
}
#top #wrap_all .orfa-lp .orfa-lp-subnav.is-stuck { box-shadow: 0 12px 30px rgba(8, 26, 53, .08); }

#top #wrap_all .orfa-lp .orfa-lp-subnav__in {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
	min-height: 64px;
	display: flex;
	align-items: center;
	gap: 22px;
}

#top #wrap_all .orfa-lp .orfa-lp-subnav__title {
	flex: none;
	font-weight: 800;
	font-size: 15px;
	color: #10213d;
	letter-spacing: -.01em;
	white-space: nowrap;
	padding-right: 22px;
	border-right: 1px solid #dfe6f1;
}

#top #wrap_all .orfa-lp .orfa-lp-subnav ul {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
}
#top #wrap_all .orfa-lp .orfa-lp-subnav ul::-webkit-scrollbar { display: none; }
#top #wrap_all .orfa-lp .orfa-lp-subnav li { flex: none; margin: 0; padding: 0; list-style: none; }

#top #wrap_all .orfa-lp .orfa-lp-subnav ul a {
	display: block;
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 650;
	color: #4b5b74;
	white-space: nowrap;
	transition: background .2s ease, color .2s ease;
}
#top #wrap_all .orfa-lp .orfa-lp-subnav ul a:hover,
#top #wrap_all .orfa-lp .orfa-lp-subnav ul a:focus-visible,
#top #wrap_all .orfa-lp .orfa-lp-subnav ul a.is-active {
	background: #eaf1ff;
	color: #1769ff;
}

#top #wrap_all .orfa-lp .orfa-lp-subnav__cta {
	flex: none;
	display: inline-flex;
	align-items: center;
	padding: 11px 20px;
	border-radius: 999px;
	background: #1769ff;
	color: #fff;
	font-size: 14px;
	font-weight: 750;
	white-space: nowrap;
	box-shadow: 0 10px 24px rgba(23, 105, 255, .24);
	transition: transform .2s ease, background .2s ease;
}
#top #wrap_all .orfa-lp .orfa-lp-subnav__cta:hover { background: #0d56d6; color: #fff; transform: translateY(-1px); }

/* Dark design (TR-369) */
#top #wrap_all .orfa-lp--tr369 .orfa-lp-subnav { background: rgba(7, 17, 31, .9); border-bottom-color: rgba(255, 255, 255, .08); }
#top #wrap_all .orfa-lp--tr369 .orfa-lp-subnav.is-stuck { box-shadow: 0 14px 34px rgba(0, 0, 0, .35); }
#top #wrap_all .orfa-lp--tr369 .orfa-lp-subnav__title { color: #fff; border-right-color: rgba(255, 255, 255, .12); }
#top #wrap_all .orfa-lp--tr369 .orfa-lp-subnav ul a { color: #a9bad0; }
#top #wrap_all .orfa-lp--tr369 .orfa-lp-subnav ul a:hover,
#top #wrap_all .orfa-lp--tr369 .orfa-lp-subnav ul a:focus-visible,
#top #wrap_all .orfa-lp--tr369 .orfa-lp-subnav ul a.is-active { background: rgba(70, 217, 255, .12); color: #46d9ff; }
#top #wrap_all .orfa-lp--tr369 .orfa-lp-subnav__cta { background: linear-gradient(135deg, #46d9ff, #4b7dff); color: #04111f; box-shadow: 0 10px 26px rgba(70, 217, 255, .2); }
#top #wrap_all .orfa-lp--tr369 .orfa-lp-subnav__cta:hover { color: #04111f; }

@media (max-width: 860px) {
	#top #wrap_all .orfa-lp .orfa-lp-subnav__title { display: none; }
	#top #wrap_all .orfa-lp .orfa-lp-subnav__in { gap: 12px; min-height: 58px; width: calc(100% - 24px); }
	#top #wrap_all .orfa-lp .orfa-lp-subnav ul a { padding: 7px 12px; font-size: 13px; }
	#top #wrap_all .orfa-lp .orfa-lp-subnav__cta { padding: 9px 14px; font-size: 13px; }
}
@media (max-width: 480px) {
	#top #wrap_all .orfa-lp .orfa-lp-subnav__cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	#top #wrap_all .orfa-lp *,
	#top #wrap_all .orfa-lp *::before,
	#top #wrap_all .orfa-lp *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Anchor targets land below the header + menu even without JavaScript. */
#top #wrap_all .orfa-lp [id] { scroll-margin-top: 150px; }

/* Hardware design: the stat cards overlap the hero edge, so the menu follows them with some space. */
#top #wrap_all .orfa-lp--hardware .stats + .orfa-lp-subnav { margin-top: 56px; border-top: 1px solid #dfe6f1; }
