/* Public landing page (Components/Pages/Landing/LandingPage.razor). Loaded only by that page, so the app's own CSS is untouched.
   AssetGrid brand: Graphite bands, Grid Green / Live Green accents, Mineral surfaces, IBM Plex Sans, small 4px corners. Every colour goes
   through the tokens below (they keep the --lp-navy / --lp-blue / --lp-sky names the markup and scripts use). */
@font-face { font-family: 'IBM Plex Sans'; src: url('../fonts/plex/ibm-plex-sans-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('../fonts/plex/ibm-plex-sans-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('../fonts/plex/ibm-plex-sans-latin-600-normal.woff2') format('woff2'); font-weight: 600 700; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../fonts/plex/ibm-plex-mono-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../fonts/plex/ibm-plex-mono-latin-500-normal.woff2') format('woff2'); font-weight: 500 700; font-display: swap; }

:root {
    /* brand (images/assetgrid-mark.svg): Graphite #1F2933, Grid Green #0E7C66, Live Green #3FB596, Mineral #F2F4F3 */
    --lp-navy: #1f2933;
    --lp-navy-2: #26323d;
    --lp-blue: #0e7c66;
    --lp-sky: #3fb596;
    --lp-sky-light: #6fd0b4;
    /* dark bands */
    --lp-hero-a: #161e25;
    --lp-hero-b: #1f2933;
    --lp-on-dark: #ffffff;
    --lp-on-dark-2: #c5cdd4;
    --lp-on-dark-line: rgba(197, 205, 212, .26);
    /* light surfaces */
    --lp-bg: #ffffff;
    --lp-bg-soft: #f2f4f3;
    --lp-tint: #e3f2ee;
    --lp-panel: #dcefe9;
    --lp-panel-2: #c2e3d9;
    /* text and lines */
    --lp-ink: #1f2933;
    --lp-ink-2: #3e4a55;
    --lp-ink-3: #5f6b76;
    --lp-line: #d9dee2;
    --lp-line-2: #b8c1c9;
    /* status (amber = an alarm, as in the product) */
    --lp-ok: #0e7c66;
    --lp-ok-soft: #dcefe9;
    --lp-warn: #9a6700;
    --lp-warn-soft: #fdf1d0;
    --lp-bad: #b42318;
    --lp-bad-soft: #fde4e1;
    --lp-aging-3: #f2a900;
    --lp-aging-4: #f97316;
    --lp-aging-5: #dc2626;
    --lp-shadow: rgba(31, 41, 51, .10);
    --lp-shadow-lg: rgba(31, 41, 51, .28);
    --lp-shadow-dark: rgba(0, 0, 0, .45);
    --lp-white: #ffffff;
    --lp-font: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
    --lp-mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
    --lp-ease: cubic-bezier(.2, .8, .2, 1);
}

/* language switch (EN | ID) in the header */
.lp-lang { display: inline-flex; border: 1px solid var(--lp-line-2); border-radius: 4px; overflow: hidden; height: 34px; }
.lp-lang a { display: inline-flex; align-items: center; padding: 0 10px; font-size: 13px; font-weight: 600; color: var(--lp-ink-3); letter-spacing: .04em; }
.lp-lang a + a { border-left: 1px solid var(--lp-line-2); }
.lp-lang a:hover { color: var(--lp-navy); background: var(--lp-bg-soft); }
.lp-lang a.is-on { background: var(--lp-navy); color: var(--lp-white); }
@media (max-width: 420px) { .lp-lang a { padding: 0 8px; } }

.lp-brand-g { color: var(--lp-blue); }
.lp-footer .lp-brand-g, .lp-app-brand .lp-brand-g { color: var(--lp-sky); }

html:has(.nx-landing) { scroll-behavior: smooth; background: var(--lp-bg); }
body:has(.nx-landing) { background: var(--lp-bg); margin: 0; }
.nx-landing { position: relative; background: var(--lp-bg); color: var(--lp-ink); font-family: var(--lp-font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
.nx-landing *, .nx-landing *::before, .nx-landing *::after { box-sizing: border-box; }
/* The base the page was designed on (the app's Tailwind reset), repeated here so the static export (ops/export-landing.ps1),
   which ships without the app's stylesheet, renders the same. :where keeps every rule weaker than the classes below. */
:where(.nx-landing) :where(h1, h2, h3, h4, p, ul, ol, figure) { margin: 0; padding: 0; }
:where(.nx-landing) :where(ul, ol) { list-style: none; }
:where(.nx-landing) :where(img, svg, canvas, video) { display: block; vertical-align: middle; }
:where(.nx-landing) :where(button) { font: inherit; color: inherit; margin: 0; padding: 0; appearance: button; }
:where(.nx-landing) a { color: inherit; text-decoration: none; }
:where(.nx-landing) img { max-width: 100%; }
.nx-landing :focus-visible { outline: 2px solid var(--lp-blue); outline-offset: 3px; border-radius: 4px; }
.nx-landing ::selection { background: var(--lp-panel-2); }

.lp-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.lp-mono { font-family: var(--lp-mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.lp-svg { flex: none; }

/* ── buttons ─────────────────────────────────────────────────── */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 4px; font-weight: 600; font-size: 15px; white-space: nowrap; border: 1px solid transparent; transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s; }
.lp-btn-lg { height: 50px; padding: 0 24px; font-size: 16px; }
.lp-btn-block { width: 100%; margin-top: auto; }
.lp-btn-navy { background: var(--lp-navy); color: var(--lp-white); }
.lp-btn-navy:hover { background: var(--lp-navy-2); }
.lp-btn-blue { background: var(--lp-blue); color: var(--lp-white); }
.lp-btn-blue:hover { background: var(--lp-navy-2); }
.lp-btn-outline { border-color: var(--lp-line-2); color: var(--lp-navy); background: var(--lp-white); }
.lp-btn-outline:hover { border-color: var(--lp-blue); color: var(--lp-blue); }
.lp-btn-light { background: var(--lp-sky-light); color: var(--lp-navy); }
.lp-btn-light:hover { background: var(--lp-white); }
.lp-btn-ghost-dark { border-color: var(--lp-on-dark-line); color: var(--lp-on-dark); }
.lp-btn-ghost-dark:hover { border-color: var(--lp-on-dark-2); background: rgba(255, 255, 255, .06); }

/* ── header ──────────────────────────────────────────────────── */
.lp-nav { position: sticky; top: 0; z-index: 50; background: var(--lp-white); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.lp-nav.is-scrolled { border-bottom-color: var(--lp-line); box-shadow: 0 6px 24px -18px var(--lp-shadow-lg); }
.lp-nav-inner { display: flex; align-items: center; gap: 36px; height: 72px; }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -.02em; color: var(--lp-navy); }
.lp-brand img { border-radius: 4px; }
.lp-links { display: flex; gap: 28px; font-size: 16px; font-weight: 500; color: var(--lp-ink-2); }
.lp-links a { transition: color .2s; }
.lp-links a:hover { color: var(--lp-blue); }
.lp-nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lp-menu-btn { display: none; width: 42px; height: 42px; border-radius: 4px; border: 1px solid var(--lp-line-2); background: var(--lp-white); color: var(--lp-navy); align-items: center; justify-content: center; cursor: pointer; }
.lp-mobile-menu { display: flex; flex-direction: column; padding: 4px 32px 18px; background: var(--lp-white); border-bottom: 1px solid var(--lp-line); }
.lp-mobile-menu[hidden] { display: none; }
.lp-mobile-menu a { padding: 14px 0; border-bottom: 1px solid var(--lp-line); color: var(--lp-ink); font-size: 17px; font-weight: 500; }

/* Solutions menu in the header: opens on hover or keyboard focus (CSS only, so the exported static site needs no script) */
.lp-drop { position: relative; display: inline-flex; }
.lp-drop > a { display: inline-flex; align-items: center; gap: 4px; }
.lp-drop-ic .lp-svg { transition: transform .2s; }
.lp-drop:hover .lp-drop-ic .lp-svg, .lp-drop:focus-within .lp-drop-ic .lp-svg { transform: rotate(180deg); }
.lp-drop-panel { position: absolute; top: calc(100% + 14px); left: -14px; min-width: 320px; padding: 8px; background: var(--lp-white); border: 1px solid var(--lp-line); border-radius: 6px;
    box-shadow: 0 24px 50px -24px var(--lp-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s var(--lp-ease), visibility .18s; z-index: 60; }
.lp-drop-panel::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.lp-drop:hover .lp-drop-panel, .lp-drop:focus-within .lp-drop-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.lp-drop-h { display: block; padding: 10px 10px 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lp-ink-3); }
.lp-drop-panel a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 4px; font-size: 15px; color: var(--lp-ink); }
.lp-drop-panel a .lp-svg { color: var(--lp-blue); flex: none; }
.lp-drop-panel a:hover, .lp-drop-panel a:focus-visible { background: var(--lp-bg-soft); color: var(--lp-blue); }
.lp-mobile-menu a.lp-mobile-sub { padding-left: 18px; font-size: 16px; color: var(--lp-ink-2); }

/* sector pages (/solutions/…) */
.lp-sector-hero { padding: 88px 0 72px; }
.lp-sector-hero .lp-eyebrow { color: var(--lp-sky-light); margin-bottom: 14px; }
.lp-sector-hero h1 { max-width: 980px; margin: 0 auto; }
.lp-sector-hero .lp-hero-trust .lp-svg { color: var(--lp-sky-light); }
.lp-section.lp-soft { background: var(--lp-bg-soft); }
.lp-equip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 1040px; margin: 0 auto; }
.lp-equip li { display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; border: 1px solid var(--lp-line); border-radius: 4px; background: var(--lp-white); font-size: 15.5px; font-weight: 500; color: var(--lp-ink); }
.lp-equip .lp-svg { color: var(--lp-blue); }
@media (max-width: 760px) { .lp-sector-hero { padding: 56px 0 48px; } }

/* real equipment photos with live readings pinned on them (sector pages) */
.lp-live-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: 300px 300px; gap: 18px; }
.lp-live-photo { position: relative; margin: 0; border-radius: 8px; overflow: hidden; background: var(--lp-hero-a); box-shadow: 0 30px 60px -36px var(--lp-shadow-lg); }
.lp-live-main { grid-row: span 2; }
.lp-live-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-live-photo::after { content: ''; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(180deg, transparent, rgba(15, 22, 28, .78)); pointer-events: none; }
.lp-live-cap { position: absolute; left: 18px; bottom: 14px; right: 18px; z-index: 2; color: var(--lp-on-dark); }
.lp-live-cap b { display: block; font-size: 16px; font-weight: 600; }
.lp-live-cap span { font-size: 13px; color: var(--lp-on-dark-2); }
.lp-live-badge { position: absolute; left: 14px; top: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 4px 9px; border-radius: 3px; background: rgba(15, 22, 28, .78);
    color: var(--lp-on-dark); font-size: 11.5px; font-weight: 600; letter-spacing: .04em; }
.lp-live-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--lp-sky); animation: lp-blink 1.6s ease-in-out infinite; }
.lp-tag { position: absolute; left: var(--x); top: var(--y); z-index: 2; display: flex; align-items: center; gap: 8px; transform: translate(-6px, -50%); }
.lp-tag-flip { flex-direction: row-reverse; transform: translate(calc(-100% + 6px), -50%); }
.lp-tag-dot { width: 12px; height: 12px; flex: none; border-radius: 50%; background: var(--lp-sky); border: 2px solid var(--lp-white); animation: lp-ping 2.4s ease-out infinite; }
.lp-tag-card { background: rgba(15, 22, 28, .84); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .16); border-radius: 4px; padding: 6px 10px; color: var(--lp-on-dark); white-space: nowrap; }
.lp-tag-card span { display: block; font-size: 11px; color: var(--lp-on-dark-2); }
.lp-tag-card b { display: block; font-family: var(--lp-mono); font-size: 14px; font-weight: 600; }
.lp-tag-warn .lp-tag-dot { background: var(--lp-aging-3); animation-name: lp-ping-warn; }
.lp-tag-warn .lp-tag-card { border-color: rgba(242, 169, 0, .75); }
.lp-tag-warn .lp-tag-card b { color: #ffd166; }
.lp-live-note { margin-top: 14px; font-size: 12.5px; color: var(--lp-ink-3); text-align: right; }
@keyframes lp-blink { 50% { opacity: .25; } }
@keyframes lp-ping { 0% { box-shadow: 0 0 0 0 rgba(63, 181, 150, .6); } 80%, 100% { box-shadow: 0 0 0 12px rgba(63, 181, 150, 0); } }
@keyframes lp-ping-warn { 0% { box-shadow: 0 0 0 0 rgba(242, 169, 0, .7); } 80%, 100% { box-shadow: 0 0 0 12px rgba(242, 169, 0, 0); } }
@media (max-width: 1100px) {
    .lp-live-grid { grid-template-columns: 1fr; grid-template-rows: none; }
    .lp-live-main { grid-row: auto; aspect-ratio: 4 / 5; max-height: 640px; }
    .lp-live-photo:not(.lp-live-main) { aspect-ratio: 7 / 4; }
}
@media (max-width: 760px) {
    .lp-tag-opt { display: none; }
    .lp-tag-card { padding: 4px 8px; }
    .lp-tag-card b { font-size: 12.5px; }
    .lp-tag-card span { font-size: 10px; }
}

/* sector pages: 3D view beside its feature list, under the 2D screen */
.lp-bms-3d { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; margin-top: 28px; align-items: center; }
.lp-bms-feats { display: grid; gap: 14px; }
@media (max-width: 1100px) { .lp-bms-3d { grid-template-columns: 1fr; } }

/* ── hero: dark band with a product shot overlapping its lower edge ── */
.lp-hero { position: relative; isolation: isolate; padding-top: 88px; background: linear-gradient(180deg, var(--lp-hero-a) 0%, var(--lp-hero-b) 100%); background-size: 100% calc(100% - 210px); background-repeat: no-repeat; }
.lp-hero-canvas { position: absolute; left: 0; top: 0; width: 100%; height: calc(100% - 210px); z-index: -1; display: block;
    /* the lines live below the copy: fade them out behind the headline */
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 34%, black 62%); mask-image: linear-gradient(180deg, transparent 0%, transparent 34%, black 62%); }
.lp-hero-inner { text-align: center; color: var(--lp-on-dark); }
.lp-hero h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.12; font-weight: 500; letter-spacing: -.02em; max-width: 980px; margin: 0 auto; }
.lp-hero-sub { font-size: clamp(17px, 1.6vw, 22px); line-height: 1.5; color: var(--lp-on-dark-2); max-width: 820px; margin: 22px auto 0; }
.lp-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; justify-content: center; }
.lp-hero-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 22px; font-size: 14.5px; color: var(--lp-on-dark-2); }
.lp-hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.lp-hero-trust .lp-svg { color: var(--lp-sky-light); }
.lp-in { opacity: 0; transform: translateY(18px); animation: lp-in .9s var(--lp-ease) var(--d, 0s) forwards; }
@keyframes lp-in { to { opacity: 1; transform: none; } }

.lp-shot-wrap { position: relative; margin-top: 64px; padding-bottom: 8px; }
.lp-shot { position: relative; max-width: 1060px; margin: 0 auto; border-radius: 8px; padding: 10px; background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .25)); box-shadow: 0 40px 90px -30px var(--lp-shadow-lg); }
.lp-app { display: grid; grid-template-columns: 196px 1fr; background: var(--lp-white); border-radius: 6px; overflow: hidden; min-height: 400px; border: 1px solid var(--lp-line); text-align: left; }
.lp-app-side { background: var(--lp-bg-soft); border-right: 1px solid var(--lp-line); padding: 16px 10px; }
.lp-app-brand { display: flex; align-items: center; gap: 8px; padding: 0 8px 14px; font-size: 14px; color: var(--lp-navy); }
.lp-app-brand img { width: 24px; height: 24px; border-radius: 4px; }
.lp-app-nav { display: flex; align-items: center; gap: 9px; height: 32px; padding: 0 10px; border-radius: 4px; font-size: 13px; color: var(--lp-ink-2); }
.lp-app-nav.is-on { background: var(--lp-tint); color: var(--lp-blue); font-weight: 600; }
.lp-app-main { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.lp-app-top { display: flex; align-items: center; gap: 10px; }
.lp-app-search { flex: 1; display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 4px; border: 1px solid var(--lp-line); font-size: 12.5px; color: var(--lp-ink-3); }
.lp-app-pill { height: 32px; padding: 0 12px; border-radius: 4px; border: 1px solid var(--lp-line); font-size: 12.5px; display: inline-flex; align-items: center; color: var(--lp-ink-2); }
.lp-app-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--lp-navy); color: var(--lp-white); font-size: 11.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.lp-app-title b { display: block; font-size: 17px; font-weight: 700; color: var(--lp-ink); }
.lp-app-title span { font-size: 12px; color: var(--lp-ink-3); }
.lp-app-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lp-app-kpi { border: 1px solid var(--lp-line); border-radius: 6px; padding: 12px 14px; min-width: 0; }
.lp-app-kpi span { display: block; font-size: 11.5px; color: var(--lp-ink-3); font-weight: 600; }
.lp-app-kpi b { display: block; font-size: clamp(16px, 1.7vw, 22px); font-weight: 600; margin-top: 4px; color: var(--lp-ink); white-space: nowrap; }
.lp-app-kpi em { display: block; font-style: normal; font-size: 11.5px; color: var(--lp-ink-3); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-up { color: var(--lp-ok) !important; }
.lp-app-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 10px; flex: 1; }
.lp-app-card { border: 1px solid var(--lp-line); border-radius: 6px; padding: 12px 14px; min-width: 0; }
.lp-app-card-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--lp-ink); }
.lp-legend { font-weight: 500; color: var(--lp-ink-3); font-size: 11px; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.lp-legend i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.lp-c1 { background: var(--lp-blue); } .lp-c2 { background: var(--lp-sky-light); }
.lp-app-bars { display: flex; align-items: flex-end; gap: 10px; height: 128px; margin-top: 12px; }
.lp-app-bars-lg { height: 170px; }
.lp-app-bars > div { flex: 1; display: flex; align-items: flex-end; gap: 3px; height: 100%; position: relative; padding-bottom: 18px; }
.lp-app-bars i { flex: 1; height: var(--h); border-radius: 3px 3px 1px 1px; transform: scaleY(0); transform-origin: bottom; transition: transform 1.1s var(--lp-ease) .4s; }
.lp-bar-a { background: var(--lp-blue); } .lp-bar-b { background: var(--lp-sky-light); }
.lp-app-bars span { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-size: 10.5px; color: var(--lp-ink-3); }
.is-in .lp-app-bars i, .lp-shot-wrap .lp-app-bars i { transform: none; }
.lp-aging { display: grid; gap: 9px; margin-top: 14px; }
.lp-aging div { display: grid; grid-template-columns: 72px 1fr 38px; gap: 8px; align-items: center; font-size: 11.5px; color: var(--lp-ink-3); }
.lp-aging i { height: 8px; border-radius: 4px; background: var(--lp-tint); overflow: hidden; }
.lp-aging b { display: block; height: 100%; width: var(--w); border-radius: 4px; }
.lp-aging em { font-style: normal; color: var(--lp-ink); font-size: 11px; text-align: right; }
.lp-a1 { background: var(--lp-blue); } .lp-a2 { background: var(--lp-sky); } .lp-a3 { background: var(--lp-aging-3); } .lp-a4 { background: var(--lp-aging-4); } .lp-a5 { background: var(--lp-aging-5); }

/* floating cards around the product shot */
.lp-float { position: absolute; display: flex; gap: 12px; align-items: center; background: var(--lp-white); border: 1px solid var(--lp-line); border-radius: 6px; padding: 12px 16px; box-shadow: 0 24px 50px -20px var(--lp-shadow-lg); text-align: left; animation: lp-float 6s ease-in-out infinite; }
.lp-float b { display: block; font-size: 13.5px; font-weight: 700; color: var(--lp-ink); }
.lp-float span { font-size: 12px; color: var(--lp-ink-3); }
.lp-float-1 { left: max(16px, calc(50% - 640px)); top: 30%; }
.lp-float-2 { right: max(16px, calc(50% - 650px)); top: -36px; display: block; width: 250px; animation-delay: -2s; }
.lp-float-3 { right: max(28px, calc(50% - 600px)); bottom: 18%; animation-delay: -4s; }
.lp-float-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--lp-ink); }
.lp-float svg { width: 100%; height: 54px; display: block; margin-top: 6px; overflow: visible; }
.lp-float-note { display: block; font-size: 11.5px; color: var(--lp-ink-3); margin-top: 2px; }
.lp-float-ic { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--lp-tint); color: var(--lp-blue); flex: none; }
.lp-ic-ok { background: var(--lp-ok-soft); color: var(--lp-ok); }
@keyframes lp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
/* no vector-effect here: with non-scaling-stroke the dash is measured on screen, not in pathLength units, and the line stops part-way */
.lp-line { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--lp-ease) .5s; }
.lp-line-1 { stroke: var(--lp-blue); } .lp-line-2 { stroke: var(--lp-sky-light); stroke-width: 2; } .lp-line-w { stroke: var(--lp-white); }
.lp-min-line { stroke: var(--lp-aging-5); stroke-width: 1.2; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.is-in .lp-line, .lp-shot-wrap .lp-line { stroke-dashoffset: 0; }
.lp-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 3px; font-size: 11.5px; font-weight: 600; white-space: nowrap; background: var(--lp-tint); color: var(--lp-blue); }
.lp-chip-ok { background: var(--lp-ok-soft); color: var(--lp-ok); }
.lp-chip-warn { background: var(--lp-warn-soft); color: var(--lp-warn); }

/* ── sections ────────────────────────────────────────────────── */
.lp-section { padding: 110px 0; scroll-margin-top: 72px; }
.lp-head { text-align: center; max-width: 860px; margin: 0 auto 48px; }
.nx-landing h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.2; font-weight: 400; letter-spacing: -.02em; color: var(--lp-ink); }
.lp-head-sub { font-size: clamp(16px, 1.4vw, 20px); color: var(--lp-blue); margin-top: 12px; }

/* tabs (overview and roles) */
.lp-tabs { display: flex; justify-content: center; gap: 4px; border-bottom: 1px solid var(--lp-line-2); margin: 0 auto 36px; max-width: 900px; }
.lp-tab { appearance: none; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 12px 22px; font: inherit; font-size: 16px; font-weight: 500; color: var(--lp-ink-3); cursor: pointer; transition: color .2s, border-color .2s; }
.lp-tab:hover { color: var(--lp-navy); }
.lp-tab.is-on { color: var(--lp-navy); border-bottom-color: var(--lp-blue); font-weight: 600; }
.nx-landing.lp-js [data-panel][hidden] { display: none !important; }

/* overview cards */
.lp-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.nx-landing:not(.lp-js) .lp-cards + .lp-cards { margin-top: 18px; }
.lp-pcard { border: 1px solid var(--lp-line); border-radius: 6px; overflow: hidden; background: var(--lp-white); transition: box-shadow .3s, transform .3s var(--lp-ease); }
.lp-pcard:hover { box-shadow: 0 24px 50px -30px var(--lp-shadow-lg); transform: translateY(-2px); }
.lp-pcard-art { height: 150px; background: linear-gradient(180deg, var(--lp-tint), var(--lp-bg-soft)); display: flex; align-items: center; justify-content: center; padding: 18px; border-bottom: 1px solid var(--lp-line); }
.lp-snippet { display: flex; align-items: center; gap: 12px; background: var(--lp-white); border: 1px solid var(--lp-line); border-radius: 6px; padding: 12px 14px; box-shadow: 0 14px 30px -20px var(--lp-shadow-lg); min-width: 75%; }
.lp-snippet b { display: block; font-size: 12px; font-weight: 600; color: var(--lp-ink-3); }
.lp-snippet span.lp-mono { display: block; font-size: 17px; font-weight: 600; color: var(--lp-ink); }
.lp-snippet-ic { width: 34px; height: 34px; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; background: var(--lp-tint); color: var(--lp-blue); flex: none; }
.lp-pcard h3 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; padding: 18px 20px 0; }
.lp-pcard p { font-size: 14.5px; color: var(--lp-ink-2); padding: 6px 20px 22px; }

/* compliance strip */
.lp-strip { background: var(--lp-bg-soft); padding: 64px 0; border-top: 1px solid var(--lp-line); border-bottom: 1px solid var(--lp-line); }
.lp-strip-title { text-align: center; font-size: clamp(20px, 2vw, 26px); font-weight: 400; color: var(--lp-ink); letter-spacing: -.01em; }
.lp-strip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px; margin-top: 30px; }
.lp-strip-row li { display: inline-flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 700; color: var(--lp-ink-3); letter-spacing: -.01em; }
.lp-strip-row .lp-svg { color: var(--lp-sky); }

/* roles */
.lp-roles { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.lp-role h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 400; letter-spacing: -.02em; }
.lp-role-lead { font-size: 18px; color: var(--lp-ink); margin-top: 14px !important; font-weight: 600; }
.lp-role p { color: var(--lp-ink-2); margin-top: 8px; }
.lp-tabs-left { justify-content: flex-start; margin: 30px 0 0; flex-wrap: wrap; }
.lp-tabs-left .lp-tab { padding: 10px 14px; font-size: 15px; }
.lp-dots { margin-top: 18px; display: grid; gap: 10px; }
.lp-dots li { position: relative; padding-left: 20px; color: var(--lp-ink-2); font-size: 15.5px; }
.lp-dots li::before { content: ''; position: absolute; left: 4px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--lp-ink); }
.lp-panel-art { position: relative; border-radius: 6px; background: linear-gradient(160deg, var(--lp-panel), var(--lp-panel-2)); padding: 48px 40px; min-height: 420px; display: flex; align-items: center; overflow: hidden; }
.lp-role-art { width: 100%; }
.lp-art { position: relative; width: 100%; }

/* light UI cards used in the illustrations */
.lp-ui { background: var(--lp-white); border-radius: 6px; border: 1px solid var(--lp-line); box-shadow: 0 30px 60px -34px var(--lp-shadow-lg); padding: 16px 18px; }
.lp-ui-wide { width: 88%; }
.lp-ui-note { position: absolute; right: 0; bottom: -26px; display: flex; align-items: center; gap: 10px; max-width: 64%; padding: 12px 14px; animation: lp-float 7s ease-in-out infinite; }
.lp-ui-note p { font-size: 12.5px; color: var(--lp-ink-2); margin: 0 !important; }
.lp-ui-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--lp-ink); }
.lp-ui-h > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.lp-ui-h-sub { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--lp-line-2); }
.lp-ui-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.lp-ui-kpis div { background: var(--lp-bg-soft); border-radius: 4px; padding: 10px 12px; }
.lp-ui-kpis span { display: block; font-size: 11.5px; color: var(--lp-ink-3); font-weight: 600; }
.lp-ui-kpis b { font-size: 18px; font-weight: 600; }
.lp-ui-chart { width: 100%; height: 120px; display: block; margin-top: 10px; overflow: visible; }
.lp-ui-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--lp-line); font-size: 13px; color: var(--lp-ink-2); }
.lp-ui-h + .lp-ui-row { margin-top: 10px; }
.lp-ui-row.is-strong { color: var(--lp-ink); font-weight: 700; }
.lp-ui-row em { font-style: normal; color: var(--lp-ink-3); margin-left: 6px; font-size: 12px; }
.lp-ui-row b { color: var(--lp-ink); }
.lp-ui-val { display: inline-flex; align-items: center; gap: 6px; color: var(--lp-ink); font-weight: 600; }
.lp-ui-val .lp-svg { color: var(--lp-ok); }
.lp-progress { height: 8px; border-radius: 4px; background: var(--lp-tint); margin: 14px 0 6px; overflow: hidden; }
.lp-progress i { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--lp-blue), var(--lp-sky)); border-radius: 4px; }
.lp-ui-approve { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px; margin-top: 10px; border: 1px solid var(--lp-line); border-radius: 6px; font-size: 13px; }
.lp-ui-approve b { color: var(--lp-ink); }
.lp-ui-approve span { display: block; font-size: 11.5px; color: var(--lp-ink-3); }
.lp-ui-btns { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.lp-ui-btns span { height: 30px; border-radius: 4px; border: 1px solid var(--lp-line-2); display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--lp-ink-2); }
.lp-ui-btns .is-on { background: var(--lp-blue); border-color: var(--lp-blue); color: var(--lp-white); font-weight: 600; }

/* product suite rows */
.lp-suite { background: var(--lp-bg-soft); }
.lp-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; padding: 56px 0; scroll-margin-top: 80px; }
.lp-row-flip .lp-row-art { order: 2; }
.lp-row-art { border-radius: 6px; background: linear-gradient(160deg, var(--lp-panel), var(--lp-panel-2)); padding: 52px 40px 60px; min-height: 380px; display: flex; align-items: center; }
.lp-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lp-blue); }
.lp-row-copy h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; font-weight: 400; letter-spacing: -.02em; margin-top: 12px; }
.lp-row-copy > p { color: var(--lp-ink-2); font-size: 16.5px; margin-top: 14px; }
.lp-more { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-weight: 600; color: var(--lp-blue); }
.lp-more-ic { width: 20px; height: 20px; border-radius: 50%; background: var(--lp-blue); color: var(--lp-white); display: inline-flex; align-items: center; justify-content: center; transition: transform .2s; }
.lp-more:hover .lp-more-ic { transform: translateX(3px); }

/* phone illustration */
.lp-phone { width: 270px; margin: 0 auto; border-radius: 40px; padding: 10px; background: var(--lp-ink); box-shadow: 0 40px 80px -30px var(--lp-shadow-lg); }
.lp-phone-screen { border-radius: 32px; background: var(--lp-bg-soft); padding: 28px 12px 14px; display: flex; flex-direction: column; gap: 10px; min-height: 470px; }
.lp-phone-top { display: flex; align-items: center; gap: 8px; }
.lp-phone-top img { width: 26px; height: 26px; border-radius: 4px; }
.lp-phone-top b { display: block; font-size: 13px; } .lp-phone-top span { display: block; font-size: 10.5px; color: var(--lp-ink-3); }
.lp-phone-hero { border-radius: 6px; padding: 12px 14px 6px; background: linear-gradient(160deg, var(--lp-navy), var(--lp-blue)); color: var(--lp-white); }
.lp-phone-hero span { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--lp-on-dark-2); font-weight: 700; }
.lp-phone-hero b { display: block; font-size: 22px; font-weight: 600; margin-top: 2px; }
.lp-phone-hero em { display: block; font-style: normal; font-size: 10.5px; color: var(--lp-on-dark-2); }
.lp-phone-hero svg { width: 100%; height: 40px; display: block; }
.lp-phone-h { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; margin-top: 4px; }
.lp-phone .lp-ui-approve { background: var(--lp-white); margin-top: 0; }

/* stats band: dark top, card bridging into the light part, then security */
.lp-stats-band { background: var(--lp-panel); padding-bottom: 100px; }
.lp-stats-dark { background: linear-gradient(180deg, var(--lp-hero-a), var(--lp-hero-b)); padding: 90px 0 150px; }
.lp-stats-dark h2 { color: var(--lp-on-dark); }
.lp-stats-dark .lp-head { margin-bottom: 0; }
.lp-stats-dark .lp-head-sub { color: var(--lp-sky-light); }
.lp-stats-card { position: relative; margin: -100px auto 0; max-width: 980px; background: var(--lp-white); border-radius: 6px; box-shadow: 0 40px 80px -40px var(--lp-shadow-lg); display: grid; grid-template-columns: repeat(3, 1fr); padding: 40px 24px; text-align: center; }
.lp-stats-card > div { padding: 0 20px; }
.lp-stats-card > div + div { border-left: 1px solid var(--lp-line); }
.lp-stats-card b { display: block; font-variant-numeric: normal; font-family: var(--lp-font); font-size: clamp(40px, 4.4vw, 58px); font-weight: 400; color: var(--lp-navy); letter-spacing: -.03em; line-height: 1.1; }
.lp-stats-card span { display: block; margin-top: 6px; font-size: 14.5px; color: var(--lp-ink-2); }
.lp-security { padding-top: 80px; scroll-margin-top: 80px; }
.lp-security-title { text-align: center; font-size: clamp(24px, 2.4vw, 32px); font-weight: 400; letter-spacing: -.02em; }
.lp-security-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.lp-sec { display: flex; gap: 14px; align-items: flex-start; background: var(--lp-white); border-radius: 6px; padding: 20px; border: 1px solid var(--lp-panel-2); }
.lp-sec b { display: block; font-size: 15.5px; font-weight: 700; color: var(--lp-ink); }
.lp-sec p { font-size: 14px; color: var(--lp-ink-2); margin-top: 4px; }
.lp-sec-ic { width: 40px; height: 40px; border-radius: 6px; background: var(--lp-tint); color: var(--lp-blue); display: inline-flex; align-items: center; justify-content: center; flex: none; }

/* pricing */
.lp-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.lp-plan { position: relative; display: flex; flex-direction: column; border: 1px solid var(--lp-line); border-radius: 6px; padding: 28px 24px; background: var(--lp-white); }
.lp-plan.is-pop { border: 2px solid var(--lp-blue); box-shadow: 0 30px 60px -36px var(--lp-shadow-lg); }
.lp-plan-badge { position: absolute; top: -13px; left: 22px; padding: 4px 12px; border-radius: 999px; background: var(--lp-blue); color: var(--lp-white); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.lp-plan h3 { font-size: 22px; font-weight: 600; }
.lp-plan-who { font-size: 14px; color: var(--lp-ink-3); margin-top: 4px !important; }
.lp-plan-price { margin: 22px 0 6px !important; }
.lp-plan-price b { font-size: 32px; font-weight: 600; color: var(--lp-navy); }
.lp-plan-price span { font-size: 14px; color: var(--lp-ink-3); margin-left: 4px; }
.lp-plan-price.is-text b { font-size: 22px; }
.lp-ticks { display: grid; gap: 10px; margin: 18px 0 26px; }
.lp-ticks li { display: flex; gap: 9px; font-size: 14.5px; color: var(--lp-ink-2); }
.lp-ticks .lp-svg { color: var(--lp-blue); margin-top: 3px; }
.lp-plans-1 { grid-template-columns: minmax(0, 380px); justify-content: center; }
.lp-plans-2 { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; }
.lp-plans-3 { grid-template-columns: repeat(3, 1fr); }

/* testimonials (Administration > Landing Page > Testimonials) */
.lp-testimonials { background: var(--lp-bg-soft); }
.lp-testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 380px)); justify-content: center; gap: 18px; }
.lp-testi { position: relative; margin: 0; display: flex; flex-direction: column; gap: 14px; background: var(--lp-white); border: 1px solid var(--lp-line); border-radius: 6px; padding: 28px 26px; }
.lp-testi-mark { color: var(--lp-panel-2); }
.lp-testi .lp-chip { align-self: flex-start; }
.lp-testi blockquote { margin: 0; font-size: 17px; line-height: 1.55; color: var(--lp-ink); flex: 1; }
.lp-testi figcaption { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--lp-line); }
.lp-testi figcaption img, .lp-testi-initials { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.lp-testi-initials { display: inline-flex; align-items: center; justify-content: center; background: var(--lp-tint); color: var(--lp-blue); font-weight: 700; font-size: 15px; }
.lp-testi figcaption b { display: block; font-size: 15px; color: var(--lp-ink); }
.lp-testi figcaption span span { display: block; font-size: 13px; color: var(--lp-ink-3); }
.lp-testi .lp-more { margin-top: 2px; }

/* article cards (landing page and /blog) */
.lp-post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 380px)); justify-content: center; gap: 22px; }
.lp-post { display: flex; flex-direction: column; border: 1px solid var(--lp-line); border-radius: 6px; overflow: hidden; background: var(--lp-white); transition: box-shadow .3s, transform .3s var(--lp-ease); }
.lp-post:hover { box-shadow: 0 24px 50px -30px var(--lp-shadow-lg); transform: translateY(-2px); }
.lp-post-cover { display: block; aspect-ratio: 16 / 9; background: linear-gradient(160deg, var(--lp-panel), var(--lp-panel-2)); overflow: hidden; }
.lp-post-cover img { width: 100%; height: 100%; object-fit: cover; }
.lp-post-cover-art { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: var(--lp-blue); }
.lp-post-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; flex: 1; }
.lp-post-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--lp-ink-3); }
.lp-post-title { font-size: 19px; font-weight: 600; line-height: 1.35; color: var(--lp-ink); letter-spacing: -.01em; }
.lp-post-excerpt { font-size: 14.5px; color: var(--lp-ink-2); }
.lp-post .lp-more { margin-top: auto; padding-top: 6px; }
.lp-center-row { display: flex; justify-content: center; margin-top: 36px; }

/* /blog */
.lp-blog-hero { background: linear-gradient(180deg, var(--lp-hero-a), var(--lp-hero-b)); color: var(--lp-on-dark); padding: 80px 0 56px; text-align: center; }
.lp-blog-hero h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 400; letter-spacing: -.025em; line-height: 1.15; }
.lp-blog-hero p { color: var(--lp-on-dark-2); font-size: clamp(16px, 1.5vw, 20px); max-width: 720px; margin: 14px auto 0; }
.lp-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 30px; }
.lp-filter a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--lp-on-dark-line); color: var(--lp-on-dark-2); font-size: 14.5px; font-weight: 500; }
.lp-filter a:hover { color: var(--lp-on-dark); border-color: var(--lp-on-dark-2); }
.lp-filter a.is-on { background: var(--lp-white); color: var(--lp-navy); border-color: var(--lp-white); }
.lp-blog-list { padding-top: 64px; }
.lp-empty { text-align: center; color: var(--lp-ink-3); padding: 40px 0; }

/* /blog/{slug} */
.lp-article { padding-bottom: 96px; }
.lp-article-head { background: var(--lp-bg-soft); border-bottom: 1px solid var(--lp-line); padding: 56px 0 44px; }
.lp-article-narrow { max-width: 820px; }
.lp-back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--lp-blue); }
.lp-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px !important; font-size: 14px; color: var(--lp-ink-3); }
.lp-article h1 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.15; font-weight: 500; letter-spacing: -.025em; margin-top: 14px; color: var(--lp-ink); }
.lp-article-lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--lp-ink-2); margin-top: 16px !important; }
.lp-article-cover { max-width: 1000px; margin-top: -1px; padding-top: 32px; }
.lp-article-cover img { width: 100%; border-radius: 6px; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--lp-line); }
.lp-article-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 56px; padding: 26px 28px; border-radius: 6px; background: var(--lp-tint); border: 1px solid var(--lp-panel-2); }
.lp-article-cta b { display: block; font-size: 18px; color: var(--lp-ink); }
.lp-article-cta span { color: var(--lp-ink-2); font-size: 15px; }
.lp-article-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.lp-notfound { text-align: center; padding: 60px 0; }
.lp-notfound h1 { font-size: 34px; font-weight: 500; }
.lp-notfound p { color: var(--lp-ink-2); margin: 12px 0 26px !important; }

/* Markdown body of an article */
.lp-md { margin-top: 40px; font-size: 17.5px; line-height: 1.75; color: var(--lp-ink-2); }
.lp-md > * + * { margin-top: 1.1em; }
.lp-md h1, .lp-md h2, .lp-md h3, .lp-md h4 { color: var(--lp-ink); line-height: 1.3; letter-spacing: -.015em; }
.lp-md h1, .lp-md h2 { font-size: 28px; font-weight: 600; margin-top: 1.8em; }
.lp-md h3 { font-size: 22px; font-weight: 600; margin-top: 1.6em; }
.lp-md h4 { font-size: 18px; font-weight: 700; margin-top: 1.4em; }
.lp-md a { color: var(--lp-blue); text-decoration: underline; text-underline-offset: 3px; }
.lp-md strong { color: var(--lp-ink); }
.lp-md ul, .lp-md ol { padding-left: 1.4em; }
.lp-md ul { list-style: disc; }
.lp-md ol { list-style: decimal; }
.lp-md li + li { margin-top: .4em; }
.lp-md blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--lp-sky); color: var(--lp-ink); font-style: italic; }
.lp-md img { max-width: 100%; border-radius: 6px; }
.lp-md code { font-family: var(--lp-mono); font-size: .9em; background: var(--lp-tint); padding: 2px 6px; border-radius: 4px; }
.lp-md pre { background: var(--lp-bg-soft); border: 1px solid var(--lp-line); border-radius: 4px; padding: 16px; overflow-x: auto; }
.lp-md pre code { background: none; padding: 0; }
.lp-md table { width: 100%; border-collapse: collapse; font-size: 15px; }
.lp-md th, .lp-md td { border: 1px solid var(--lp-line); padding: 8px 12px; text-align: left; }
.lp-md th { background: var(--lp-bg-soft); color: var(--lp-ink); }
.lp-md hr { border: 0; border-top: 1px solid var(--lp-line); }

/* SuperUser preview bar */
.lp-preview-bar { position: sticky; top: 0; z-index: 60; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 8px 32px; background: var(--lp-warn-soft); color: var(--lp-warn); font-size: 13.5px; border-bottom: 1px solid var(--lp-aging-3); }
.lp-preview-bar a { font-weight: 700; text-decoration: underline; }
.lp-preview-bar + .lp-nav { top: 37px; }

/* call to action band */
.lp-cta-band { background: linear-gradient(120deg, var(--lp-hero-a), var(--lp-hero-b)); color: var(--lp-on-dark); overflow: hidden; scroll-margin-top: 72px; }
.lp-cta-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-top: 90px; padding-bottom: 90px; }
.lp-cta-copy h2 { color: var(--lp-on-dark); font-size: clamp(30px, 3.4vw, 44px); }
.lp-cta-copy p { color: var(--lp-on-dark-2); font-size: 18px; margin-top: 14px; max-width: 560px; }
.lp-cta-copy .lp-hero-ctas { justify-content: flex-start; }
.lp-cta-art { position: relative; min-height: 280px; }
.lp-mini { position: absolute; background: var(--lp-white); color: var(--lp-ink); border-radius: 6px; padding: 14px 16px; box-shadow: 0 30px 60px -24px var(--lp-shadow-dark); display: flex; gap: 12px; align-items: center; animation: lp-float 6.5s ease-in-out infinite; }
.lp-mini b { display: block; font-size: 13.5px; } .lp-mini span { display: block; font-size: 12px; color: var(--lp-ink-3); }
.lp-mini-1 { left: 6%; top: 0; width: 300px; display: block; }
.lp-mini-h { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--lp-ink); margin-bottom: 6px; }
.lp-mini-row { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px solid var(--lp-line); font-size: 12.5px; color: var(--lp-ink-2); }
.lp-mini-row b { font-size: 12.5px; color: var(--lp-ink); }
.lp-mini-2 { right: 0; top: 46%; animation-delay: -2s; }
.lp-mini-3 { left: 20%; bottom: -10px; animation-delay: -4s; }
.lp-mini-3 img { width: 34px; height: 34px; border-radius: 4px; }

/* FAQ */
.lp-faq { max-width: 1000px; }
.lp-faq h2 { font-size: clamp(30px, 3.4vw, 44px); }
.lp-faq-list { margin-top: 36px; border-top: 1px solid var(--lp-line-2); }
.lp-faq-item { border-bottom: 1px solid var(--lp-line-2); }
.lp-faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 22px 4px; font-size: clamp(17px, 1.5vw, 20px); font-weight: 500; color: var(--lp-ink); }
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-plus { position: relative; width: 16px; height: 16px; flex: none; }
.lp-faq-plus::before, .lp-faq-plus::after { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--lp-blue); border-radius: 1px; transition: transform .25s var(--lp-ease); }
.lp-faq-plus::after { transform: rotate(90deg); }
.lp-faq-item[open] .lp-faq-plus::after { transform: rotate(0deg); }
.lp-faq-item p { padding: 0 4px 24px 36px; color: var(--lp-ink-2); font-size: 16px; max-width: 860px; }

/* footer */
.lp-footer { background: var(--lp-bg-soft); border-top: 1px solid var(--lp-line); padding: 64px 0 28px; color: var(--lp-ink-2); font-size: 14.5px; }
.lp-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.lp-footer-brand p { margin-top: 14px; max-width: 300px; }
.lp-footer-mail { display: flex; width: fit-content; align-items: center; gap: 8px; margin-top: 10px; color: var(--lp-blue); }
.lp-footer-brand p + .lp-footer-mail { margin-top: 16px; }
.lp-footer nav { display: flex; flex-direction: column; gap: 10px; }
.lp-footer nav b { color: var(--lp-ink); font-weight: 700; margin-bottom: 4px; }
.lp-footer nav a:hover { color: var(--lp-blue); }
.lp-footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--lp-line); font-size: 13px; color: var(--lp-ink-3); }

/* reveal on scroll (only once the script runs, so the page is complete without it) */
.nx-landing.lp-js .lp-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--lp-ease) var(--d, 0s), transform .8s var(--lp-ease) var(--d, 0s); }
.nx-landing.lp-js .lp-reveal.is-in { opacity: 1; transform: none; }

/* manufacturing in depth */
.lp-chip-bad { background: var(--lp-bad-soft); color: var(--lp-bad); }
.lp-mfg { background: var(--lp-bg); }
.lp-mfg .lp-head .lp-eyebrow { margin-bottom: 10px; }
.lp-mfg-flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: none; }
.lp-mfg-step { position: relative; border: 1px solid var(--lp-line); border-radius: 6px; padding: 20px 18px 22px; background: var(--lp-white); }
.lp-mfg-step:not(:last-child)::after { content: ''; position: absolute; right: -11px; top: 38px; width: 8px; height: 8px; border-top: 2px solid var(--lp-sky); border-right: 2px solid var(--lp-sky); transform: rotate(45deg); background: var(--lp-white); z-index: 1; }
.lp-mfg-step-h { display: flex; justify-content: space-between; align-items: center; }
.lp-mfg-no { font-size: 13px; font-weight: 700; color: var(--lp-blue); letter-spacing: .06em; }
.lp-mfg-step h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; margin-top: 16px; }
.lp-mfg-step > p { font-size: 14px; color: var(--lp-ink-2); margin-top: 6px; }
.lp-mfg-step .lp-dots { margin-top: 14px; gap: 8px; }
.lp-mfg-step .lp-dots li { font-size: 13.5px; }
.lp-mfg-board { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 18px; margin-top: 40px; padding: 36px; border-radius: 6px; background: linear-gradient(160deg, var(--lp-panel), var(--lp-panel-2)); }
.lp-mfg-machines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.lp-mfg-machine { border: 1px solid var(--lp-line); border-radius: 6px; padding: 12px; background: var(--lp-bg-soft); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lp-mfg-machine-h { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.lp-mfg-machine-h b { font-size: 13px; color: var(--lp-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-mfg-proc { font-size: 11.5px; color: var(--lp-ink-3); }
.lp-mfg-oee { display: grid; grid-template-columns: 1fr 38px; gap: 8px; align-items: center; }
.lp-mfg-oee i, .lp-mfg-apq i { display: block; height: 8px; border-radius: 4px; background: var(--lp-tint); overflow: hidden; }
.lp-mfg-oee b { display: block; height: 100%; width: var(--w); border-radius: 4px; }
.lp-mfg-oee em { font-style: normal; font-size: 12px; color: var(--lp-ink); text-align: right; font-weight: 600; }
.lp-mfg-job { font-size: 11.5px; color: var(--lp-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-mfg-sum { grid-template-columns: repeat(3, 1fr); margin-top: 14px; }
.lp-mfg-side { display: grid; gap: 18px; align-content: start; }
.lp-mfg-apq { display: grid; gap: 12px; margin-top: 14px; }
.lp-mfg-apq div { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 12.5px; color: var(--lp-ink-2); }
.lp-mfg-apq b { font-size: 13px; color: var(--lp-ink); }
.lp-mfg-apq i { grid-column: 1 / -1; }
.lp-mfg-apq em { display: block; height: 100%; width: var(--w); border-radius: 4px; background: linear-gradient(90deg, var(--lp-blue), var(--lp-sky)); }
.lp-mfg-down { margin-top: 10px; gap: 9px; }
.lp-mfg-down div { grid-template-columns: 130px 1fr 52px; font-size: 12px; }
.lp-mfg-details { margin-top: 40px; }
.lp-mfg-details .lp-sec { border-color: var(--lp-line); background: var(--lp-bg-soft); }
.lp-mfg-note { text-align: center; font-size: 12.5px; color: var(--lp-ink-3); margin-top: 28px; }

/* SCADA designer showcase (dark band) */
.lp-dz { background: linear-gradient(180deg, var(--lp-hero-b), var(--lp-hero-a)); color: var(--lp-on-dark); }
.lp-dz h2 { color: var(--lp-on-dark); }
.lp-dz .lp-head-sub { color: var(--lp-sky); }
.lp-dz-eyebrow { color: var(--lp-sky) !important; margin-bottom: 10px; }
.lp-dz-shot { margin: 0; border-radius: 8px; overflow: hidden; background: var(--lp-white); box-shadow: 0 50px 100px -40px var(--lp-shadow-dark); border: 1px solid var(--lp-on-dark-line); }
.lp-dz-frame { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--lp-line); background: var(--lp-bg-soft); }
.lp-dz-url { font-family: var(--lp-mono); font-size: 12px; color: var(--lp-ink-3); }
.lp-dz-shot img { display: block; width: 100%; height: auto; }
.lp-dz-shot figcaption { padding: 12px 16px; font-size: 13px; color: var(--lp-ink-3); border-top: 1px solid var(--lp-line); }
.lp-dz-dots { display: inline-flex; gap: 6px; margin-right: 6px; }
.lp-dz-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--lp-line-2); }
.lp-dz-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.lp-dz-feat { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 6px; border: 1px solid var(--lp-on-dark-line); background: rgba(255, 255, 255, .03); }
.lp-dz-feat b { display: block; font-size: 15.5px; color: var(--lp-on-dark); }
.lp-dz-feat p { font-size: 14px; color: var(--lp-on-dark-2); margin-top: 4px; }
.lp-dz-feat .lp-sec-ic { background: rgba(63, 181, 150, .14); color: var(--lp-sky); }

/* ── responsive ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .lp-links { display: none; }
    .lp-menu-btn { display: inline-flex; }
    .lp-cards, .lp-plans, .lp-plans-3, .lp-security-grid { grid-template-columns: repeat(2, 1fr); }
    .lp-roles, .lp-row, .lp-cta-inner { grid-template-columns: 1fr; gap: 40px; }
    .lp-row-flip .lp-row-art { order: 0; }
    .lp-float-1 { display: none; }
    .lp-cta-art { min-height: 240px; }
    .lp-mfg-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-mfg-step:not(:last-child)::after { display: none; }
    .lp-mfg-board { grid-template-columns: 1fr; }
    .lp-dz-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .lp-wrap { padding: 0 20px; }
    .lp-mobile-menu { padding: 4px 20px 18px; }
    .lp-hide-sm { display: none; }
    .lp-section { padding: 80px 0; }
    .lp-hero { padding-top: 56px; background-size: 100% calc(100% - 120px); }
    .lp-hero-canvas { height: calc(100% - 120px); -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 52%, black 80%); mask-image: linear-gradient(180deg, transparent 0%, transparent 52%, black 80%); }
    .lp-shot-wrap { margin-top: 44px; }
    .lp-app { grid-template-columns: 1fr; min-height: 0; }
    .lp-app-side, .lp-app-search { display: none; }
    .lp-app-top { justify-content: flex-end; }
    .lp-app-kpis { grid-template-columns: 1fr 1fr; }
    .lp-app-kpis .lp-app-kpi:last-child { display: none; }
    .lp-app-grid { grid-template-columns: 1fr; }
    .lp-app-grid .lp-app-card:last-child { display: none; }
    .lp-float-2 { position: relative; right: auto; top: auto; margin: -28px auto 0; width: min(280px, 90%); }
    .lp-float-3 { display: none; }
    .lp-tabs { overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
    .lp-tab { flex: none; padding: 12px 14px; }
    .lp-cards, .lp-plans, .lp-plans-1, .lp-plans-2, .lp-plans-3, .lp-security-grid, .lp-testi-grid, .lp-post-grid { grid-template-columns: 1fr; }
    .lp-preview-bar { padding: 8px 20px; }
    .lp-article-head { padding: 36px 0 30px; }
    .lp-md { font-size: 16.5px; }
    .lp-panel-art, .lp-row-art { padding: 32px 18px 44px; min-height: 0; }
    .lp-ui-wide { width: 100%; }
    .lp-ui-note { position: relative; bottom: auto; margin: -14px 0 0 auto; max-width: 90%; }
    .lp-row { padding: 36px 0; }
    .lp-stats-card { grid-template-columns: 1fr; padding: 24px; }
    .lp-stats-card > div { padding: 18px 0; }
    .lp-stats-card > div + div { border-left: 0; border-top: 1px solid var(--lp-line); }
    .lp-footer-grid { grid-template-columns: 1fr 1fr; }
    .lp-footer-brand { grid-column: 1 / -1; }
    .lp-cta-art { display: none; }
    .lp-mfg-flow, .lp-mfg-machines { grid-template-columns: 1fr; }
    .lp-mfg-board { padding: 18px; }
    .lp-dz-features { grid-template-columns: 1fr; }
    .lp-mfg-down div { grid-template-columns: 110px 1fr 50px; }
}
@media (max-width: 420px) {
    .lp-nav-inner { gap: 10px; }
    .lp-brand span { font-size: 18px; }
    .lp-btn { padding: 0 14px; }
    .lp-hero-ctas .lp-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .nx-landing *, .nx-landing *::before, .nx-landing *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
    html:has(.nx-landing) { scroll-behavior: auto; }
}
