/* ==========================================================================
   LeanStack UI refresh — shared tokens + new components.
   Loaded last on public pages (00_BaseTemplate.html), so it only adds to /
   overrides the legacy theme; colours are the existing brand palette.
   ========================================================================== */

:root {
	--ls-indigo: #6c63ff;
	--ls-indigo-600: #5a52e8;
	--ls-blue: #667eea;
	--ls-violet: #764ba2;
	--ls-grad: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	--ls-grad-soft: linear-gradient(135deg, rgba(102, 126, 234, .10) 0%, rgba(118, 75, 162, .10) 100%);
	--ls-ink: #1a1a2e;
	--ls-ink-2: #3a4256;
	--ls-muted: #6b7280;
	--ls-line: #e6e8f2;
	--ls-surface: #f5f7fc;
	--ls-surface-2: #f0f6fb;
	--ls-radius: 14px;
	--ls-radius-lg: 20px;
	--ls-shadow-sm: 0 2px 8px rgba(26, 26, 46, .06);
	--ls-shadow: 0 10px 30px rgba(26, 26, 46, .08);
	--ls-shadow-lg: 0 24px 60px rgba(76, 70, 180, .16);
}

/* ---------- Global fixes ------------------------------------------------- */

/* Decorative backgrounds and the module marquee used to push pages wider
   than the viewport (white strip on the right, sideways scroll on phones). */
html, body { overflow-x: clip; }
@supports not (overflow-x: clip) { html, body { overflow-x: hidden; } }

/* ---------- Buttons ------------------------------------------------------ */

.ls-btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 13px 26px; border-radius: 10px;
	font-family: var(--font-body); font-size: 14px; font-weight: 600; line-height: 1;
	text-decoration: none !important; border: 1.5px solid transparent;
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
	cursor: pointer; white-space: nowrap;
}
.ls-btn i { font-size: 13px; transition: transform .2s ease; }
.ls-btn:hover i.fa-arrow-right { transform: translateX(3px); }
.ls-btn-primary { background: var(--ls-grad); color: #fff !important; box-shadow: 0 8px 22px rgba(108, 99, 255, .32); }
.ls-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(108, 99, 255, .42); }
.ls-btn-outline { background: #fff; color: var(--ls-indigo) !important; border-color: rgba(108, 99, 255, .35); }
.ls-btn-outline:hover { border-color: var(--ls-indigo); background: #f6f5ff; transform: translateY(-2px); }
.ls-btn-ghost { padding-left: 0; padding-right: 0; color: var(--ls-ink-2) !important; background: none; }
.ls-btn-ghost:hover { color: var(--ls-indigo) !important; }
.ls-btn-ghost .ls-play {
	width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	background: #fff; color: var(--ls-indigo); box-shadow: var(--ls-shadow); font-size: 11px; padding-left: 2px;
}

/* ---------- Section headings -------------------------------------------- */

.ls-eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	color: var(--ls-indigo); margin-bottom: 12px;
}
.ls-eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--ls-grad); }
.ls-eyebrow.center::after { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--ls-grad); }
.ls-h2 {
	font-family: var(--font-heading); font-weight: 800; color: var(--ls-ink);
	font-size: clamp(26px, 3.1vw, 38px); line-height: 1.2; letter-spacing: -.02em; margin: 0 0 14px;
}
.ls-lead { font-size: 16px; line-height: 1.75; color: var(--ls-muted); margin: 0; }
.ls-grad-text { background: var(--ls-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ls-section { padding: 90px 0; position: relative; }
.ls-section-tint { background: var(--ls-surface); }
.ls-section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }

/* ---------- Home hero ---------------------------------------------------- */

.ls-hero-pill {
	display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; margin-bottom: 22px;
	border-radius: 999px; background: #fff; border: 1px solid var(--ls-line); box-shadow: var(--ls-shadow-sm);
	font-size: 12.5px; font-weight: 600; color: var(--ls-ink-2); text-decoration: none !important;
}
.ls-hero-pill .tag {
	background: var(--ls-grad); color: #fff; border-radius: 999px; padding: 3px 9px; font-size: 10.5px;
	letter-spacing: .06em; text-transform: uppercase;
}
.ls-hero-pill:hover { color: var(--ls-indigo); }
.ls-hero-title {
	font-family: var(--font-heading); font-weight: 800; color: var(--ls-ink);
	font-size: clamp(34px, 4.4vw, 56px); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 20px;
}
.ls-hero-sub { font-size: 17px; line-height: 1.75; color: var(--ls-muted); max-width: 540px; margin: 0 0 30px; }
.ls-hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-bottom: 34px; }
.ls-proof { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.ls-proof li {
	display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 8px;
	background: #fff; border: 1px solid var(--ls-line); font-size: 12px; font-weight: 600; color: var(--ls-ink-2);
}
.ls-proof li i { color: var(--ls-indigo); font-size: 11px; }
.ls-hero-section .single-slider { min-height: calc(100vh - 140px) !important; padding: 40px 0 30px; }

/* ---------- Stats band --------------------------------------------------- */

.ls-stats {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
	background: #fff; border: 1px solid var(--ls-line); border-radius: var(--ls-radius-lg);
	box-shadow: var(--ls-shadow); overflow: hidden; position: relative; z-index: 2;
}
.ls-stat { padding: 30px 28px; display: flex; gap: 16px; align-items: center; }
.ls-stat + .ls-stat { border-left: 1px solid var(--ls-line); }
.ls-stat-icon {
	flex: 0 0 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
	background: var(--ls-grad-soft); color: var(--ls-indigo); font-size: 19px;
}
.ls-stat-num { font-family: var(--font-heading); font-size: 30px; font-weight: 800; line-height: 1; color: var(--ls-ink); letter-spacing: -.02em; }
.ls-stat-label { font-size: 13px; color: var(--ls-muted); margin-top: 6px; line-height: 1.4; }

/* ---------- Module ticker (replaces the grey text marquee) -------------- */

.ls-ticker { padding: 34px 0 10px; }
.ls-ticker .brand-marquee { animation-duration: 45s; gap: 14px; }
.ls-chip {
	display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 12px; border-radius: 14px;
	background: #fff; border: 1px solid var(--ls-line); box-shadow: var(--ls-shadow-sm);
	text-decoration: none !important; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
	flex-shrink: 0;
}
.ls-chip:hover { transform: translateY(-3px); box-shadow: var(--ls-shadow); border-color: rgba(108, 99, 255, .35); }
.ls-chip-icon {
	width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
	background: var(--ls-grad-soft); color: var(--ls-indigo); font-size: 16px;
}
.ls-chip-name { display: block; font-size: 14px; font-weight: 700; color: var(--ls-ink); line-height: 1.2; }
.ls-chip-sub { display: block; font-size: 11.5px; color: var(--ls-muted); }
.ls-chip.is-new .ls-chip-icon { background: var(--ls-grad); color: #fff; }
.ls-ticker-fade { position: relative; }
.ls-ticker-fade::before, .ls-ticker-fade::after {
	content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.ls-ticker-fade::before { left: 0; background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0)); }
.ls-ticker-fade::after { right: 0; background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0)); }

/* ---------- Media frame (video loops) ----------------------------------- */

.ls-frame {
	position: relative; border-radius: var(--ls-radius); overflow: hidden; background: #eef2fb;
	border: 1px solid var(--ls-line); box-shadow: var(--ls-shadow);
}
.ls-frame-bar {
	display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #fff; border-bottom: 1px solid var(--ls-line);
}
.ls-frame-bar span { width: 9px; height: 9px; border-radius: 50%; background: #e3e6ef; }
.ls-frame-bar span:nth-child(1) { background: #ff8a80; }
.ls-frame-bar span:nth-child(2) { background: #ffd180; }
.ls-frame-bar span:nth-child(3) { background: #b9f6ca; }
.ls-frame-bar em { margin-left: 8px; font-style: normal; font-size: 11.5px; color: var(--ls-muted); font-weight: 600; }
.ls-frame video, .ls-frame img.ls-frame-media { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 624; object-fit: cover; }

/* ---------- "Beyond the stack" band (LeanPilot + MBD) ------------------- */

.ls-beyond { background: linear-gradient(180deg, #fff 0%, var(--ls-surface) 100%); }
.ls-beyond-card {
	height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: var(--ls-radius-lg);
	border: 1px solid var(--ls-line); box-shadow: var(--ls-shadow); overflow: hidden; position: relative;
	transition: transform .25s ease, box-shadow .25s ease;
}
.ls-beyond-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--ls-grad); z-index: 2; }
.ls-beyond-card:hover { transform: translateY(-4px); box-shadow: var(--ls-shadow-lg); }
.ls-beyond-media { padding: 22px 22px 0; }
.ls-beyond-media .ls-frame { box-shadow: var(--ls-shadow-sm); }
.ls-beyond-body { padding: 26px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.ls-badge {
	display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 5px 11px; border-radius: 999px;
	font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
	background: var(--ls-grad-soft); color: var(--ls-indigo); margin-bottom: 14px;
}
.ls-beyond-body h3 { font-family: var(--font-heading); font-size: 24px; font-weight: 800; color: var(--ls-ink); margin: 0 0 10px; letter-spacing: -.01em; }
.ls-beyond-body p { color: var(--ls-muted); font-size: 15px; line-height: 1.7; margin-bottom: 18px; }
.ls-checks { list-style: none; padding: 0; margin: 0 0 24px; }
.ls-checks li { position: relative; padding-left: 30px; margin-bottom: 11px; font-size: 14.5px; color: var(--ls-ink-2); line-height: 1.55; }
.ls-checks li::before {
	content: "\f00c"; font-family: "Font Awesome 5 Pro"; font-weight: 900; position: absolute; left: 0; top: 2px;
	width: 20px; height: 20px; border-radius: 50%; background: var(--ls-grad-soft); color: var(--ls-indigo);
	font-size: 9px; display: flex; align-items: center; justify-content: center;
}
.ls-beyond-body .ls-btn { margin-top: auto; align-self: flex-start; }

/* ---------- Video showcase (tabs) --------------------------------------- */

.ls-showcase { display: grid; grid-template-columns: 340px 1fr; gap: 32px; align-items: center; }
.ls-tabs { display: flex; flex-direction: column; gap: 10px; }
.ls-tab {
	text-align: left; width: 100%; padding: 16px 18px; border-radius: var(--ls-radius); background: transparent;
	border: 1px solid transparent; cursor: pointer; display: flex; gap: 14px; align-items: flex-start;
	transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease; position: relative; overflow: hidden;
}
.ls-tab:hover { background: #fff; border-color: var(--ls-line); }
.ls-tab.active { background: #fff; border-color: rgba(108, 99, 255, .3); box-shadow: var(--ls-shadow); }
.ls-tab-num {
	flex: 0 0 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
	background: var(--ls-surface-2); color: var(--ls-ink-2); font-weight: 800; font-size: 13px; transition: all .2s ease;
}
.ls-tab.active .ls-tab-num { background: var(--ls-grad); color: #fff; }
.ls-tab strong { display: block; color: var(--ls-ink); font-size: 15px; margin-bottom: 3px; }
.ls-tab span.ls-tab-desc { display: block; color: var(--ls-muted); font-size: 13px; line-height: 1.5; }
.ls-tab-progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--ls-grad); }
.ls-tab.active .ls-tab-progress { animation: ls-progress var(--ls-dur, 9s) linear forwards; }
@keyframes ls-progress { to { width: 100%; } }

/* ---------- Feature list icons (fix repeated pencil icon) --------------- */

.ls-fi {
	width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
	background: var(--ls-grad-soft); color: var(--ls-indigo); font-size: 18px;
}

/* ---------- Header mega menu: Products ---------------------------------- */

@media (min-width: 992px) {
	.main-menu nav#mobile-menu > ul > li.ls-has-mega { position: relative; }
	.main-menu nav#mobile-menu .ls-mega {
		position: absolute; top: 70%; left: 50%; margin-top: 4px; width: 760px; transform: translate(-50%, 10px);
		background: #fff; border-radius: 16px; box-shadow: 0 24px 60px rgba(15, 23, 42, .18); border: 1px solid var(--ls-line);
		opacity: 0; visibility: hidden; transition: all .18s ease-out; z-index: 999; padding: 22px 22px 0; text-align: left;
	}
	.main-menu nav#mobile-menu > ul > li.ls-has-mega:hover > .ls-mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
}
.ls-mega-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 6px 22px; }
.ls-mega-col h6 {
	font-size: 11px !important; letter-spacing: .12em; text-transform: uppercase; color: var(--ls-muted) !important;
	font-weight: 700; margin: 0 0 10px 10px; padding: 0 !important;
}
.main-menu nav#mobile-menu .ls-mega a.ls-mega-item {
	display: flex !important; gap: 12px; align-items: flex-start; padding: 10px !important; border-radius: 12px;
	white-space: normal; text-decoration: none; transition: background-color .15s ease; margin: 0 0 4px;
	line-height: 1.35 !important; text-transform: none !important;
}
.main-menu nav#mobile-menu .ls-mega a.ls-mega-item:hover { background: #f6f5ff; }
.ls-mega-ico {
	flex: 0 0 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
	background: var(--ls-grad-soft); color: var(--ls-indigo); font-size: 15px;
}
.ls-mega-item b { display: block; font-size: 14px; color: var(--ls-ink); font-weight: 700; }
.ls-mega-item small { display: block; font-size: 12px; color: var(--ls-muted); font-weight: 400; margin-top: 2px; }
.ls-mega-item .ls-new {
	display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--ls-grad);
	color: #fff; font-size: 9.5px; letter-spacing: .05em; vertical-align: 2px; font-weight: 700;
}
.ls-mega-stacks { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 10px 12px 58px; margin-top: -2px; }
.main-menu nav#mobile-menu .ls-mega .ls-mega-stacks a {
	display: inline-block !important; padding: 3px 9px !important; border-radius: 6px; background: var(--ls-surface);
	font-size: 11.5px !important; color: var(--ls-ink-2) !important; line-height: 1.5 !important; text-transform: none !important;
}
.main-menu nav#mobile-menu .ls-mega .ls-mega-stacks a:hover { background: #ecebff; color: var(--ls-indigo) !important; }
.ls-mega-foot {
	display: flex; justify-content: space-between; align-items: center; margin: 14px -22px 0; padding: 14px 32px;
	background: var(--ls-surface); border-top: 1px solid var(--ls-line); border-radius: 0 0 16px 16px; font-size: 13px; color: var(--ls-muted);
}
.main-menu nav#mobile-menu .ls-mega .ls-mega-foot a { padding: 0 !important; color: var(--ls-indigo) !important; font-weight: 600; font-size: 13px !important; display: inline !important; }

/* ---------- Social icons ------------------------------------------------- */

.ls-social { display: flex; align-items: center; gap: 10px; list-style: none; margin: 0; padding: 0; }
.ls-social a {
	width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--ls-line); background: #fff; color: var(--ls-ink-2) !important; font-size: 14px;
	transition: all .2s ease; text-decoration: none !important; padding: 0 !important;
}
.ls-social a:hover { transform: translateY(-2px); color: #fff !important; border-color: transparent; }
.ls-social a.s-yt:hover { background: #ff0000; }
.ls-social a.s-ig:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.header-area .ls-social a { width: 30px; height: 30px; font-size: 12px; }

/* ---------- Inner page hero (new pages) --------------------------------- */

.ls-page-hero {
	padding: 150px 0 80px; position: relative;
	background:
		radial-gradient(800px 380px at 85% 10%, rgba(118, 75, 162, .10), transparent 60%),
		radial-gradient(700px 360px at 10% 90%, rgba(102, 126, 234, .12), transparent 60%),
		var(--ls-surface-2);
}
.ls-crumbs { font-size: 13px; color: var(--ls-muted); margin-bottom: 18px; }
.ls-crumbs a { color: var(--ls-muted); text-decoration: none; }
.ls-crumbs a:hover { color: var(--ls-indigo); }
.ls-crumbs span { margin: 0 8px; opacity: .5; }
.ls-page-hero .ls-hero-title { font-size: clamp(32px, 4vw, 50px); }

/* Feature grid */
.ls-feature {
	height: 100%; background: #fff; border: 1px solid var(--ls-line); border-radius: var(--ls-radius);
	padding: 28px 26px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ls-feature:hover { transform: translateY(-4px); box-shadow: var(--ls-shadow); border-color: rgba(108, 99, 255, .25); }
.ls-feature .ls-fi { margin-bottom: 18px; }
.ls-feature h5 { font-family: var(--font-heading); font-size: 17px; font-weight: 700; color: var(--ls-ink); margin: 0 0 8px; }
.ls-feature p { font-size: 14px; line-height: 1.7; color: var(--ls-muted); margin: 0; }

/* Numbered steps */
.ls-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; position: relative; }
.ls-steps::before {
	content: ""; position: absolute; top: 25px; left: 12%; right: 12%; height: 2px;
	background: repeating-linear-gradient(90deg, rgba(108, 99, 255, .35) 0 8px, transparent 8px 14px);
}
.ls-step { text-align: center; position: relative; padding: 0 8px; }
.ls-step-dot {
	width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center;
	background: #fff; border: 2px solid rgba(108, 99, 255, .35); color: var(--ls-indigo); font-size: 18px; position: relative; z-index: 1;
	box-shadow: 0 0 0 6px var(--ls-surface);
}
.ls-section:not(.ls-section-tint) .ls-step-dot { box-shadow: 0 0 0 6px #fff; }
.ls-step h6 { font-size: 15px; font-weight: 700; color: var(--ls-ink); margin: 0 0 6px; }
.ls-step p { font-size: 13px; color: var(--ls-muted); line-height: 1.6; margin: 0; }

/* Two-path comparison (MBD page) */
.ls-path { height: 100%; border-radius: var(--ls-radius-lg); padding: 30px; background: #fff; border: 1px solid var(--ls-line); }
.ls-path.featured { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--ls-grad) border-box; box-shadow: var(--ls-shadow); }
.ls-path-tag { font-size: 12px; font-weight: 700; color: var(--ls-indigo); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; display: block; }
.ls-path h4 { font-family: var(--font-heading); font-size: 21px; font-weight: 800; color: var(--ls-ink); margin: 0 0 10px; }
.ls-path p { color: var(--ls-muted); font-size: 14.5px; line-height: 1.7; }

/* Integration diagram (MBD page) */
.ls-flow { display: flex; align-items: stretch; justify-content: center; gap: 14px; flex-wrap: wrap; }
.ls-flow-node {
	flex: 1 1 170px; max-width: 220px; background: #fff; border: 1px solid var(--ls-line); border-radius: var(--ls-radius);
	padding: 20px 18px; text-align: center; box-shadow: var(--ls-shadow-sm);
}
.ls-flow-node.hl { border-color: transparent; background: var(--ls-grad); color: #fff; box-shadow: var(--ls-shadow-lg); }
.ls-flow-node.hl b, .ls-flow-node.hl small { color: #fff; }
.ls-flow-node i { font-size: 22px; color: var(--ls-indigo); margin-bottom: 10px; display: block; }
.ls-flow-node.hl i { color: #fff; }
.ls-flow-node b { display: block; color: var(--ls-ink); font-size: 14.5px; }
.ls-flow-node small { display: block; color: var(--ls-muted); font-size: 12px; margin-top: 4px; line-height: 1.45; }
.ls-flow-arrow { display: flex; align-items: center; color: rgba(108, 99, 255, .55); font-size: 18px; }

/* Products page cards */
.ls-product {
	height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ls-line);
	border-radius: var(--ls-radius-lg); padding: 30px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
	text-decoration: none !important; position: relative;
}
.ls-product:hover { transform: translateY(-4px); box-shadow: var(--ls-shadow-lg); border-color: rgba(108, 99, 255, .3); }
.ls-product .ls-fi { width: 54px; height: 54px; font-size: 22px; margin-bottom: 20px; }
.ls-product h4 { font-family: var(--font-heading); font-size: 21px; font-weight: 800; color: var(--ls-ink); margin: 0 0 4px; }
.ls-product .ls-product-kicker { font-size: 12.5px; font-weight: 600; color: var(--ls-indigo); margin-bottom: 12px; display: block; }
.ls-product p { font-size: 14.5px; line-height: 1.7; color: var(--ls-muted); margin: 0 0 18px; }
.ls-product .ls-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.ls-product .ls-tags span { font-size: 11.5px; padding: 4px 9px; border-radius: 6px; background: var(--ls-surface); color: var(--ls-ink-2); font-weight: 600; }
.ls-product .ls-more { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--ls-indigo); }
.ls-product .ls-more i { transition: transform .2s ease; margin-left: 4px; font-size: 12px; }
.ls-product:hover .ls-more i { transform: translateX(4px); }
.ls-product .ls-badge { position: absolute; top: 26px; right: 26px; margin: 0; }
.ls-group-title { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; }
.ls-group-title h3 { font-family: var(--font-heading); font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ls-muted); margin: 0; white-space: nowrap; }
.ls-group-title::after { content: ""; height: 1px; flex: 1; background: var(--ls-line); }

.ls-sister {
	display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding: 30px 34px; border-radius: var(--ls-radius-lg);
	background: linear-gradient(120deg, #11163a 0%, #1f2a6b 60%, #3a2d7a 100%); color: #fff; box-shadow: var(--ls-shadow-lg);
}
.ls-sister img { height: 46px; width: auto; background: #fff; border-radius: 10px; padding: 8px 12px; }
.ls-sister h4 { color: #fff; font-family: var(--font-heading); font-weight: 800; font-size: 21px; margin: 0 0 6px; }
.ls-sister p { color: rgba(255, 255, 255, .78); margin: 0; font-size: 14.5px; line-height: 1.65; }
.ls-sister .ls-sister-text { flex: 1 1 360px; }
.ls-sister .ls-btn-outline { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .45); }
.ls-sister .ls-btn-outline:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

/* Closing CTA */
.ls-cta {
	border-radius: var(--ls-radius-lg); padding: 48px 50px; background: var(--ls-grad); color: #fff; position: relative; overflow: hidden;
	display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; box-shadow: var(--ls-shadow-lg);
}
.ls-cta::after {
	content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%;
	background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 40px rgba(255, 255, 255, .04);
}
.ls-cta h3 { color: #fff; font-family: var(--font-heading); font-weight: 800; font-size: 28px; margin: 0 0 8px; }
.ls-cta p { color: rgba(255, 255, 255, .85); margin: 0; font-size: 15.5px; }
.ls-cta .ls-btn { position: relative; z-index: 1; }
.ls-cta .ls-btn-white { background: #fff; color: var(--ls-indigo) !important; }
.ls-cta .ls-btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0, 0, 0, .18); }
.ls-cta .ls-btn-line { color: #fff !important; border-color: rgba(255, 255, 255, .55); background: transparent; }
.ls-cta .ls-btn-line:hover { background: rgba(255, 255, 255, .1); }

/* FAQ (new pages) */
.ls-faq details {
	background: #fff; border: 1px solid var(--ls-line); border-radius: var(--ls-radius); padding: 0 22px; margin-bottom: 12px;
	transition: box-shadow .2s ease;
}
.ls-faq details[open] { box-shadow: var(--ls-shadow); }
.ls-faq summary {
	list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; color: var(--ls-ink); font-size: 15.5px;
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.ls-faq summary::-webkit-details-marker { display: none; }
.ls-faq summary::after { content: "+"; font-size: 22px; color: var(--ls-indigo); font-weight: 400; transition: transform .2s ease; }
.ls-faq details[open] summary::after { transform: rotate(45deg); }
.ls-faq details p { color: var(--ls-muted); font-size: 14.5px; line-height: 1.75; margin: 0 0 18px; }

/* Reveal on scroll */
.ls-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.ls-reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive --------------------------------------------------- */

@media (max-width: 1199px) {
	.ls-showcase { grid-template-columns: 290px 1fr; }
}
@media (max-width: 991px) {
	.ls-stats { grid-template-columns: repeat(2, 1fr); }
	.ls-stat:nth-child(3) { border-left: 0; }
	.ls-stat:nth-child(n+3) { border-top: 1px solid var(--ls-line); }
	.ls-showcase { grid-template-columns: 1fr; }
	.ls-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
	.ls-tab { flex: 0 0 260px; scroll-snap-align: start; }
	.ls-steps { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
	.ls-steps::before { display: none; }
	.ls-section { padding: 70px 0; }
	.ls-hero-section .single-slider { min-height: auto !important; }
	.ls-hero-section .slider-graphic-col { margin-top: 50px; }
}
@media (max-width: 575px) {
	.ls-stat { padding: 22px 18px; gap: 12px; }
	.ls-stat-num { font-size: 24px; }
	.ls-stat-icon { flex-basis: 40px; height: 40px; font-size: 16px; }
	.ls-hero-sub { font-size: 15.5px; }
	.ls-cta { padding: 36px 26px; }
	.ls-cta h3 { font-size: 23px; }
	.ls-beyond-body { padding: 22px; }
	.ls-steps { grid-template-columns: 1fr; }
	.ls-flow-arrow { transform: rotate(90deg); width: 100%; justify-content: center; }
	.ls-flow-node { max-width: none; }
	.ls-sister { padding: 26px; }
}
@media (prefers-reduced-motion: reduce) {
	.ls-reveal { opacity: 1; transform: none; transition: none; }
	.ls-ticker .brand-marquee { animation: none; }
	.ls-tab.active .ls-tab-progress { animation: none; width: 100%; }
	.ls-btn, .ls-chip, .ls-beyond-card, .ls-feature, .ls-product { transition: none; }
}
.ls-social a.s-in:hover { background: #0a66c2; }

/* Mega menu: neutralise legacy menu letter-spacing / spacing */
.main-menu nav#mobile-menu .ls-mega a, .ls-mega h6, .ls-mega small, .ls-mega b { letter-spacing: 0 !important; }
.main-menu nav#mobile-menu .ls-mega .ls-mega-stacks a { margin: 0 !important; }
@media (max-width: 991px) { .ls-page-hero { padding-top: 120px; } }

/* Legacy .slider-content span rules (uppercase, small) must not hit the hero title */
.ls-hero-title span { text-transform: none !important; font-size: inherit !important; font-weight: inherit !important; letter-spacing: inherit !important; display: inline !important; padding: 0 !important; }
.ls-stat-label small { display: block; font-size: 11.5px; opacity: .8; margin-top: 2px; }
@media (max-width: 575px) {
	.ls-stat { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* Mobile side-menu arrows: sidemenu.css asks for "Font Awesome 5 Free", but the site ships the Pro build */
.side-mobile-menu .mobile-menu ul li.menu-item-has-children > a:after { font-family: "Font Awesome 5 Pro" !important; font-weight: 900; }

/* ===================================================================
   Interactive architecture (templates/partials/_architecture.html)
   =================================================================== */
.ax {
	--ax-app: #6c63ff; --ax-lib: #6f7686; --ax-sec: #3a4256;
	--ax-if-bg: #eef0fb; --ax-if-bd: rgba(108, 99, 255, .28); --ax-if-tx: #4338ca;
	--ax-or: #f29f54; --ax-or-dk: #d97e2e;
	--ax-gap: 12px;
}


.ax-card {
	background: #fbfbff; border: 1px solid var(--ls-line); border-radius: var(--ls-radius-lg);
	padding: 26px 28px 20px; box-shadow: var(--ls-shadow);
}
.ax-title {
	text-align: center; font-size: 26px; font-weight: 800; color: #4338ca; margin: 0 0 20px;
	padding-bottom: 16px; border-bottom: 1px solid var(--ls-line);
}
.ax-title span { color: var(--ls-ink-2); font-weight: 600; font-size: 18px; margin-left: 8px; }
.ax-scroll { padding: 6px; margin: -6px; }

/* ---------- blocks ---------- */
.ax-c {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
	text-align: center; min-height: 58px; padding: 8px 10px; border-radius: 10px;
	font-size: 16px; font-weight: 600; line-height: 1.2; color: #fff; cursor: default; outline: none;
	transition: transform .22s cubic-bezier(.2, .8, .3, 1.2), box-shadow .22s ease, opacity .22s ease, filter .22s ease;
}
.ax-c small { display: block; font-size: 12px; font-weight: 500; opacity: .85; margin-top: 3px; }
.ax-app { background: var(--ax-app); }
.ax-lib { background: var(--ax-lib); }
.ax-sec { background: var(--ax-sec); }
.ax-if  { background: var(--ax-if-bg); border: 1px solid var(--ax-if-bd); color: var(--ax-if-tx); }
.ax-if.ax-solid { background: #fff; }
.ax-drv { background: linear-gradient(135deg, var(--ax-or), var(--ax-or-dk)); }
.ax-v span { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; font-weight: 700; }

/* pop on hover / focus / tap */
.ax-c:hover, .ax-c:focus-visible, .ax-c.is-on {
	transform: scale(1.12); z-index: 5;
	box-shadow: 0 14px 32px rgba(52, 44, 160, .35), 0 0 0 3px rgba(255, 255, 255, .9), 0 0 0 5px rgba(108, 99, 255, .55);
}
.ax-v:hover, .ax-v:focus-visible, .ax-v.is-on,
.ax-wide:hover, .ax-wide:focus-visible, .ax-wide.is-on { transform: scale(1.03); }
.ax-c.is-cat { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(52, 44, 160, .28), 0 0 0 2px rgba(108, 99, 255, .55); }

/* ---------- LeanBSW layout ---------- */
.ax-bsw { display: grid; grid-template-columns: minmax(0, 1fr) 84px; gap: 14px; }
.ax-bsw .ax-wide { grid-column: 1 / -1; }
.ax-bsw .ax-app.ax-wide { font-size: 22px; font-weight: 700; min-height: 62px; }
.ax-bsw .ax-if.ax-wide { font-size: 17px; min-height: 48px; }
.ax-group { position: relative; background: #f4f4fd; border: 1px solid rgba(108, 99, 255, .14); border-radius: 14px; padding: 12px 14px 14px; }
.ax-group-label { display: block; text-align: center; font-size: 14px; font-weight: 700; color: #4b5563; margin-bottom: 10px; }
.ax-mw, .ax-drv-row { grid-column: 1; }
.ax-cdd { grid-column: 2; grid-row: 3 / 5; font-size: 17px; }
.ax-mw-grid {
	display: grid; gap: var(--ax-gap);
	grid-template-columns: minmax(0, 72fr) minmax(0, 180fr) minmax(0, 180fr) minmax(0, 148fr) minmax(0, 162fr) minmax(0, 148fr) minmax(0, 130fr) minmax(0, 148fr) minmax(0, 130fr) minmax(0, 56fr);
	grid-template-rows: repeat(3, minmax(64px, auto));
}
.ax-mw-grid .ax-v { font-size: 16px; }
.ax-row { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: var(--ax-gap); }
.ax-drv-row .ax-c { min-height: 62px; font-size: 15px; padding: 8px 4px; }

/* ---------- LeanBoot layout ---------- */
.ax-boot { display: grid; grid-template-columns: minmax(0, 2.7fr) minmax(0, 1fr); gap: 26px; align-items: stretch; }
.ax-boot-main { display: flex; flex-direction: column; }
.ax-fbl {
	flex: 1; display: grid; gap: var(--ax-gap); padding: 16px; border: 2px dashed rgba(108, 99, 255, .3); border-radius: 16px; background: #f8f8ff;
	grid-template-columns: 64px repeat(6, minmax(0, 1fr));
	grid-template-rows: repeat(6, minmax(64px, auto));
}
.ax-fbl > .ax-c:not(.ax-v) { font-size: 16px; }
.ax-fbl > .ax-app:not(.ax-v) { font-size: 19px; }
.ax-fbl .ax-v { font-size: 18px; }
.ax-fbl .ax-row .ax-c { font-size: 15.5px; }
.ax-caption { text-align: center; font-style: italic; font-size: 14px; color: var(--ls-muted); margin: 12px 0 0; }
.ax-mem { display: flex; flex-direction: column; gap: 14px; }
.ax-mem-blk {
	flex: 1; flex-direction: row; align-items: stretch; padding: 0;
	background: #fff; color: #4338ca; border: 1px solid rgba(108, 99, 255, .18); border-right: 5px solid #e0525b;
}
.ax-mem-tag {
	flex: 0 0 44px; writing-mode: vertical-rl; transform: rotate(180deg); display: flex; align-items: center; justify-content: center;
	background: #f1f0ff; border-radius: 0 10px 10px 0; font-size: 12px; font-weight: 600; color: #4338ca; padding: 6px 0; text-align: center;
}
.ax-mem-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px; }
.ax-mem-body b { font-size: 19px; }
.ax-mem-body em { font-size: 13px; color: var(--ls-indigo); font-weight: 500; margin-top: 6px; }
.ax-mem-blk:hover, .ax-mem-blk:focus-visible, .ax-mem-blk.is-on { transform: scale(1.05); }
.ax-mem .ax-caption { margin-top: 0; }

/* ---------- legend ---------- */
.ax-legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 10px; margin-top: 18px; }
.ax-legend button {
	display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; cursor: pointer;
	background: #fff; border: 1px solid var(--ls-line); font-size: 13.5px; font-weight: 600; color: #4a5acb; transition: all .2s ease;
}
.ax-legend button:hover, .ax-legend button.active, .ax-legend button:focus-visible { border-color: rgba(108, 99, 255, .5); box-shadow: var(--ls-shadow-sm); transform: translateY(-1px); }
.ax-legend .sw { width: 22px; height: 12px; border-radius: 3px; }
.ax-legend .sw-app { background: var(--ax-app); }
.ax-legend .sw-if { background: var(--ax-if-bg); border: 1px solid var(--ax-if-bd); }
.ax-legend .sw-lib { background: var(--ax-lib); }
.ax-legend .sw-sec { background: var(--ax-sec); }
.ax-legend .sw-drv { background: linear-gradient(135deg, var(--ax-or), var(--ax-or-dk)); }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
	.ax-c { font-size: 13.5px; }
	.ax-drv-row .ax-c, .ax-fbl .ax-row .ax-c { font-size: 12.5px; }
}
@media (max-width: 991px) {
	.ax-scroll { overflow-x: auto; padding: 14px 10px; margin: -14px -10px; -webkit-overflow-scrolling: touch; }
	.ax-diagram { min-width: 900px; }
	.ax-card { padding: 20px 16px 16px; }
	.ax-title { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
	.ax-c { transition: none; }
	.ax-c:hover, .ax-c:focus-visible, .ax-c.is-on { transform: none; }
}

/* ---- side-by-side (compact) layout: LeanBoot | LeanBSW, original size ---- */
.ax-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.ax-pair .ax-panel { display: flex; }
.ax-pair .ax-card { flex: 1; padding: 16px 16px 14px; display: flex; flex-direction: column; }
.ax-pair .ax-title { font-size: 17px; margin-bottom: 12px; padding-bottom: 10px; }
.ax-pair .ax-scroll { flex: 1; display: flex; min-width: 0; }
.ax-pair .ax-card, .ax-pair .ax-panel { min-width: 0; }
.ax-pair .ax-v { padding-left: 2px; padding-right: 2px; }
.ax-pair .ax-diagram { flex: 1; --ax-gap: 7px; }
.ax-pair .ax-c { font-size: 11px; min-height: 34px; padding: 4px 5px; border-radius: 7px; line-height: 1.15; }
.ax-pair .ax-c small { font-size: 8.5px; margin-top: 1px; }
.ax-pair .ax-c:hover, .ax-pair .ax-c:focus-visible, .ax-pair .ax-c.is-on { transform: scale(1.3); }
.ax-pair .ax-wide:hover, .ax-pair .ax-wide:focus-visible, .ax-pair .ax-wide.is-on,
.ax-pair .ax-v:hover, .ax-pair .ax-v:focus-visible, .ax-pair .ax-v.is-on { transform: scale(1.05); }
.ax-pair .ax-mem-blk:hover, .ax-pair .ax-mem-blk:focus-visible, .ax-pair .ax-mem-blk.is-on { transform: scale(1.1); }
/* LeanBSW */
.ax-pair .ax-bsw { grid-template-columns: minmax(0, 1fr) 40px; gap: 8px; }
.ax-pair .ax-bsw .ax-app.ax-wide { font-size: 13.5px; min-height: 32px; }
.ax-pair .ax-bsw .ax-if.ax-wide { font-size: 11.5px; min-height: 26px; }
.ax-pair .ax-group { padding: 6px 8px 8px; border-radius: 10px; }
.ax-pair .ax-group-label { font-size: 10px; margin-bottom: 5px; }
.ax-pair .ax-mw-grid { grid-template-rows: repeat(3, minmax(38px, auto)); }
.ax-pair .ax-mw-grid .ax-v, .ax-pair .ax-cdd { font-size: 11px; }
.ax-pair .ax-drv-row .ax-c { min-height: 34px; font-size: 8.5px; padding: 2px 1px; }
/* LeanBoot */
.ax-pair .ax-boot { grid-template-columns: minmax(0, 2.7fr) minmax(0, 1fr); gap: 12px; }
.ax-pair .ax-fbl { padding: 9px; border-radius: 12px; grid-template-columns: 30px repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(6, minmax(38px, auto)); }
.ax-pair .ax-fbl > .ax-c:not(.ax-v) { font-size: 11px; }
.ax-pair .ax-fbl > .ax-app:not(.ax-v) { font-size: 12.5px; }
.ax-pair .ax-fbl .ax-v { font-size: 12px; }
.ax-pair .ax-fbl .ax-row .ax-c { font-size: 9.5px; }
.ax-pair .ax-caption { font-size: 10px; margin-top: 7px; }
.ax-pair .ax-mem { gap: 8px; }
.ax-pair .ax-mem-tag { flex-basis: 22px; font-size: 7.5px; }
.ax-pair .ax-mem-body { padding: 6px; }
.ax-pair .ax-mem-body b { font-size: 11px; }
.ax-pair .ax-mem-body em { font-size: 8px; margin-top: 3px; }
.ax-pair .ax-mem-blk { border-right-width: 3px; }
@media (max-width: 1199px) {
	.ax-pair { grid-template-columns: minmax(0, 1fr); }
	.ax-pair .ax-c { font-size: 12px; }
	.ax-pair .ax-drv-row .ax-c { font-size: 10px; }
}
@media (max-width: 991px) {
	.ax-pair .ax-diagram { min-width: 620px; flex: 0 0 auto; width: 620px; }
	.ax-pair .ax-drv-row .ax-c { font-size: 8.5px; }
	.ax-pair .ax-title { font-size: 16px; }
}

.ls-sister-logo {
	flex: 0 0 80px; width: 80px; height: 80px; border-radius: 18px; background: #fff; padding: 3px;
	display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}
.ls-sister-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* ====== Hero feature wheel: live HTML/SVG, no frame or background ====== */
.ls-hero-wheel { width: 100%; padding-left: 0; }
@media (min-width: 1200px) { .ls-hero-wheel { padding: 10px 0 10px 16px; width: calc(100% + 40px); margin-right: -40px; } }
@media (min-width: 1400px) { .ls-hero-wheel { width: calc(100% + 110px); margin-right: -110px; } }
@media (max-width: 767px) { .ls-hero-wheel { margin-top: 0; padding: 0; } .ls-hero-section .slider-graphic-col { margin-top: 24px; } }
.ls-hero-frame { position: relative; z-index: 2; container: lswf / inline-size; }

.lsw { --cfg: #2f6fe4; --diag: #1e3a6e; --comm: #5fb3b8; --sec: #1f8a7a; --mem: #5b6b85;
  position: relative; max-width: 660px; margin: 0 auto; font-family: 'Inter', 'Poppins', system-ui, sans-serif; }
.lsw-wheel { position: relative; width: 100%; aspect-ratio: 760 / 620; container-type: inline-size; }
.lsw-tilt { position: absolute; inset: 0; transition: transform .5s cubic-bezier(.2, .8, .3, 1); transform-style: preserve-3d; will-change: transform; }
.lsw-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lsw-ring { fill: none; stroke: #c9d5ea; stroke-width: 1; }
.lsw-ring-in { stroke: #d3ddef; stroke-dasharray: 1 7; transform-box: view-box; transform-origin: 380px 300px; animation: lswSpin 90s linear infinite reverse; }
.lsw-orbit { fill: none; stroke: #b4c4e4; stroke-width: 1.2; stroke-dasharray: 3 12; transform-box: view-box; transform-origin: 380px 300px; animation: lswSpin 60s linear infinite; }
@keyframes lswSpin { to { transform: rotate(360deg); } }
.lsw-spoke { stroke: #9fc6e6; stroke-width: 1; opacity: .75; transition: stroke .25s, stroke-width .25s, opacity .25s; }
.lsw-spoke.is-on { stroke-width: 2.2; opacity: 1; }
.lsw-spoke.lsw-cfg.is-on { stroke: var(--cfg); } .lsw-spoke.lsw-diag.is-on { stroke: var(--diag); }
.lsw-spoke.lsw-comm.is-on { stroke: var(--comm); } .lsw-spoke.lsw-sec.is-on { stroke: var(--sec); } .lsw-spoke.lsw-mem.is-on { stroke: var(--mem); }
.lsw-pk { fill: #5b8ce8; }
.lsw-pk.lsw-diag { fill: #34497a; } .lsw-pk.lsw-comm { fill: #5fb3b8; } .lsw-pk.lsw-sec { fill: #1f8a7a; } .lsw-pk.lsw-mem { fill: #6f7d96; }
.lsw-arc { fill: none; stroke-width: 2.4; stroke-linecap: round; opacity: .85; transition: stroke-width .25s, opacity .25s; }
.lsw-arc.lsw-cfg { stroke: #5b8ce8; } .lsw-arc.lsw-diag { stroke: #34497a; } .lsw-arc.lsw-comm { stroke: #8cc7cb; }
.lsw-arc.lsw-sec { stroke: #3a9a8b; } .lsw-arc.lsw-mem { stroke: #6f7d96; }
.lsw-arc.is-on { stroke-width: 4; opacity: 1; }

.lsw-core { position: absolute; left: 50%; top: 48.39%; width: 19%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center;
  border: 0; padding: 0; cursor: pointer; font: inherit; z-index: 3;
  background: radial-gradient(circle at 50% 35%, #2f53a6 0%, #17327a 60%, #0d1f52 100%);
  box-shadow: 0 0 0 .9cqw rgba(255, 255, 255, .9), 0 0 0 1.5cqw rgba(30, 58, 138, .14), 0 1.6cqw 4cqw rgba(13, 31, 82, .4), inset 0 -1cqw 2cqw rgba(0, 0, 0, .25);
  animation: lswPulse 4s ease-in-out infinite; transition: filter .2s; }
.lsw-core:hover { filter: brightness(1.12); }
.lsw-core:focus { outline: none; }
.lsw-core:focus-visible { outline: 2px solid #5b8ce8; outline-offset: 1.8cqw; }
.lsw-core span { color: #fff; font-weight: 700; font-size: clamp(10px, 3.2cqw, 24px); letter-spacing: -.01em; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); max-width: none; pointer-events: none; }
@keyframes lswPulse { 50% { box-shadow: 0 0 0 .9cqw rgba(255, 255, 255, .9), 0 0 0 2.6cqw rgba(30, 58, 138, .07), 0 1.6cqw 4cqw rgba(13, 31, 82, .4), inset 0 -1cqw 2cqw rgba(0, 0, 0, .25); } }
.lsw-wave { position: absolute; left: 50%; top: 48.39%; width: 19%; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(91, 140, 232, .55); transform: translate(-50%, -50%); opacity: 0; pointer-events: none; max-width: none; }

.lsw-nodes { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.lsw-node { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; outline: none; cursor: default; animation: lswFloat 5.5s ease-in-out infinite; animation-delay: calc(var(--d) * -.65s); }
@keyframes lswFloat { 50% { translate: 0 -.55cqw; } }
.lsw-n { position: absolute; left: 0; top: 0; width: 0; height: 0; max-width: none; }
.lsw-dot { position: absolute; left: 0; top: 0; width: 6.4cqw; min-width: 22px; max-width: none; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-size: clamp(8px, 2.4cqw, 17px); box-shadow: 0 .5cqw 1.4cqw rgba(15, 35, 80, .25), inset 0 1px 0 rgba(255, 255, 255, .25); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1), box-shadow .25s; }
.lsw-cfg .lsw-dot { background: linear-gradient(160deg, #4a86f0, #2358d4); }
.lsw-diag .lsw-dot { background: linear-gradient(160deg, #2c4a86, #162c5c); }
.lsw-comm .lsw-dot { background: linear-gradient(160deg, #7cc3c7, #4f9ea4); }
.lsw-sec .lsw-dot { background: linear-gradient(160deg, #2f9d8c, #187264); }
.lsw-mem .lsw-dot { background: linear-gradient(160deg, #75839c, #4f5d77); }
.lsw-dot.lsw-img { background: #fff; box-shadow: 0 0 0 .35cqw rgba(47, 111, 228, .55), 0 .5cqw 1.4cqw rgba(15, 35, 80, .22); overflow: hidden; }
.lsw-dot.lsw-img img { width: 72%; height: 72%; object-fit: contain; display: block; }
.lsw-dot picture { display: grid; place-items: center; width: 100%; height: 100%; }
.lsw-pilot { width: 74%; height: 74%; max-width: none; border-radius: 26%; background: linear-gradient(160deg, #3b7bf5, #2160e4); display: grid; place-items: center; }
.lsw-pilot span { width: 34%; height: 34%; background: #fff; transform: rotate(45deg); border-radius: 12%; }
.lsw-txt { font-size: clamp(6px, 1.6cqw, 11px); font-weight: 800; letter-spacing: .02em; }
.lsw-lbl { position: absolute; width: max-content; max-width: none; white-space: nowrap; font-size: clamp(9px, 2.25cqw, 16px); font-weight: 600; color: #1d2540; transition: color .2s; }
.lsw-r .lsw-lbl { left: 4.4cqw; top: 0; transform: translateY(-50%); }
.lsw-l .lsw-lbl { right: 4.4cqw; top: 0; transform: translateY(-50%); }
.lsw-t .lsw-lbl { left: 0; bottom: 4.2cqw; transform: translateX(-50%); }
.lsw-b .lsw-lbl { left: 0; top: 4.2cqw; transform: translateX(-50%); }
.lsw-node:hover .lsw-dot, .lsw-node:focus-visible .lsw-dot, .lsw-node.is-on .lsw-dot { transform: translate(-50%, -50%) scale(1.3); box-shadow: 0 0 0 .6cqw rgba(91, 140, 232, .25), 0 1cqw 2.4cqw rgba(15, 35, 80, .3); }
.lsw-node:hover .lsw-lbl, .lsw-node:focus-visible .lsw-lbl, .lsw-node.is-on .lsw-lbl { color: #2c56b8; }
.lsw.has-g .lsw-node.is-on .lsw-dot { transform: translate(-50%, -50%) scale(1.1); }

/* Boost: click the LeanStack core */
.lsw.boost .lsw-n { animation: lswBoost .95s cubic-bezier(.22, .9, .3, 1) both; animation-delay: calc(var(--d) * 16ms); }
@keyframes lswBoost {
  0% { transform: none; }
  32% { transform: translate(calc(var(--ux) * 5.5cqw), calc(var(--uy) * 5.5cqw)) scale(1.06); }
  62% { transform: translate(calc(var(--ux) * -.8cqw), calc(var(--uy) * -.8cqw)); }
  100% { transform: none; } }
.lsw.boost .lsw-core { animation: lswCorePop .55s cubic-bezier(.3, 1.5, .5, 1), lswPulse 4s ease-in-out infinite; }
@keyframes lswCorePop { 0% { transform: translate(-50%, -50%) scale(.9); } 55% { transform: translate(-50%, -50%) scale(1.06); } 100% { transform: translate(-50%, -50%) scale(1); } }
.lsw.boost .lsw-wave { animation: lswWave .9s ease-out; }
@keyframes lswWave { 0% { opacity: .85; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(3.6); } }
.lsw.boost .lsw-spoke { animation: lswSpokeFlash .9s ease-out; }
@keyframes lswSpokeFlash { 25% { stroke: #5b8ce8; stroke-width: 1.8; opacity: 1; } }

.lsw-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; list-style: none; margin: 6px 0 0; padding: 0 4%; }
.lsw-legend button { background: none; border: 0; padding: 3px 6px; display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: clamp(10px, 1vw, 12.5px); font-weight: 600; color: #4a5470; cursor: pointer; border-radius: 6px; transition: color .2s, background .2s; }
.lsw-legend button:hover, .lsw-legend button:focus-visible, .lsw-legend button.active { color: #1d2540; background: rgba(91, 140, 232, .1); outline: none; }
.lsw-sw { width: 8px; height: 8px; max-width: none; border-radius: 50%; }
.lsw-sw.lsw-cfg { background: var(--cfg); } .lsw-sw.lsw-diag { background: var(--diag); } .lsw-sw.lsw-comm { background: var(--comm); }
.lsw-sw.lsw-sec { background: var(--sec); } .lsw-sw.lsw-mem { background: var(--mem); }

/* entrance */
.lsw.ls-reveal { opacity: 1; transform: none; }
.lsw .lsw-node { opacity: 0; transition: opacity .45s ease; transition-delay: calc(var(--d) * 70ms + 250ms); }
.lsw .lsw-spoke, .lsw .lsw-arc { opacity: 0; }
.lsw.in .lsw-node { opacity: 1; }
.lsw.in .lsw-spoke { opacity: .75; transition: opacity .6s ease .2s, stroke .25s, stroke-width .25s; }
.lsw.in .lsw-spoke.is-on { opacity: 1; }
.lsw.in .lsw-arc { opacity: .85; transition: opacity .8s ease .9s, stroke-width .25s; }
.lsw.in .lsw-arc.is-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .lsw-core, .lsw-node, .lsw-orbit, .lsw-ring-in { animation: none; }
  .lsw-packets { display: none; }
  .lsw .lsw-node, .lsw .lsw-spoke, .lsw .lsw-arc, .lsw-tilt { transition: none; }
  .lsw.boost .lsw-n, .lsw.boost .lsw-wave, .lsw.boost .lsw-spoke { animation: none; }
}
@container lswf (max-width: 560px) {
  .lsw-wheel { width: 88%; margin: 0 auto; }
  .lsw-lbl { font-size: max(8px, 2.3cqw); }
  .lsw-dot { min-width: 0; }
  .lsw-legend { margin-top: 10px; gap: 2px 10px; }
}

/* Header account button: "Login" when signed out, avatar + username when signed in */
.ls-login-btn, .ls-user-btn { display: inline-flex !important; align-items: center; gap: 8px; padding: 7px 16px 7px 10px !important; border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1; text-decoration: none !important; white-space: nowrap; transition: background .2s, border-color .2s, color .2s, box-shadow .2s; }
.ls-login-btn { color: #4f46e5 !important; border: 1.5px solid rgba(99, 102, 241, .35); background: #fff; }
.ls-login-btn i { font-size: 18px; color: #6366f1; }
.ls-login-btn:hover, .ls-login-btn:focus-visible { background: linear-gradient(135deg, #6366f1, #8b5cf6); border-color: transparent; color: #fff !important; box-shadow: 0 6px 18px rgba(99, 102, 241, .3); }
.ls-login-btn:hover i, .ls-login-btn:focus-visible i { color: #fff; }
.ls-user-btn { color: #1d2540 !important; border: 1.5px solid #e3e6f3; background: #fff; padding-left: 5px !important; }
.ls-user-btn:hover, .ls-user-btn:focus-visible { border-color: rgba(99, 102, 241, .45); box-shadow: 0 4px 14px rgba(99, 102, 241, .15); }
.ls-user-avatar { width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff; font-size: 13px; font-weight: 700; object-fit: cover; flex: none; }
.ls-user-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.ls-user-caret { font-size: 10px; color: #8a90a8; transition: transform .2s; }
.nav-item:hover .ls-user-caret { transform: rotate(180deg); }
.ls-login-btn span, .ls-user-name { text-transform: none; color: inherit !important; }
.ls-login-btn:hover span, .ls-login-btn:focus-visible span { color: #fff !important; }
.ls-user-btn:hover, .nav-item:hover > .ls-user-btn { color: #4f46e5 !important; }
