/* Intouch company site. Same structure and rhythm as the NexxLedger and StocksFlow landing pages:
   light page, dark bands, Manrope + Geist Mono. Colours are the Intouch logo's greens; every colour goes through the tokens.
   The brand's own colours and font come after this file, from /theme.css (Admin > Brand); these are the launch defaults. */
@font-face { font-family: 'Manrope'; src: url('../assets/fonts/manrope/Manrope-Variable-latin.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('../assets/fonts/geist/GeistMono-Variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
    /* brand: logo light green #73bf45, dark green #204d16 */
    --lp-brand: #204d16;
    --lp-brand-2: #2d6a1f;
    --lp-accent: #73bf45;
    --lp-accent-2: #a6dc86;
    --lp-link: #2b7316;
    /* dark bands */
    --lp-hero-a: #08190a;
    --lp-hero-b: #174012;
    --lp-on-dark: #ffffff;
    --lp-on-dark-2: #cfe3c4;
    --lp-on-dark-line: rgba(207, 227, 196, .26);
    /* light surfaces */
    --lp-bg: #ffffff;
    --lp-bg-soft: #f5faf1;
    --lp-tint: #eaf4e2;
    --lp-panel: #d8ebc9;
    --lp-panel-2: #c2e0a9;
    /* text and lines */
    --lp-ink: #10200c;
    --lp-ink-2: #3f503b;
    --lp-ink-3: #66775f;
    --lp-line: #e0e9da;
    --lp-line-2: #ccdac4;
    /* status */
    --lp-ok: #15803d;
    --lp-ok-soft: #dcfce7;
    --lp-warn: #b45309;
    --lp-warn-soft: #fef3c7;
    --lp-bad: #b91c1c;
    --lp-bad-soft: #fee2e2;
    --lp-info: #1d4ed8;
    --lp-info-soft: #dbeafe;
    --lp-shadow: rgba(16, 32, 12, .10);
    --lp-shadow-lg: rgba(8, 25, 10, .30);
    /* the accent and the darkest band as r, g, b, for glows and shadows with their own opacity */
    --lp-accent-rgb: 115, 191, 69;
    --lp-hero-a-rgb: 8, 25, 10;
    --lp-white: #ffffff;
    /* WhatsApp buttons: a darker WhatsApp green so white text stays readable */
    --lp-whatsapp: #157a42;
    --lp-whatsapp-2: #106636;
    /* partner brands */
    --nx-blue: #1356d6;
    --nx-navy: #0a2e7d;
    --sf-ink: #12150d;
    --sf-lime: #a6e22e;
    --lp-font: 'Manrope', 'Segoe UI', system-ui, sans-serif;
    --lp-mono: 'Geist Mono', ui-monospace, Consolas, monospace;
    --lp-ease: cubic-bezier(.2, .8, .2, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--lp-bg); }
body { margin: 0; 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; }
*, *::before, *::after { box-sizing: border-box; }
:where(h1, h2, h3, h4, p, ul, ol, figure) { margin: 0; padding: 0; }
:where(ul, ol) { list-style: none; }
:where(a) { color: inherit; text-decoration: none; }
:where(img, svg) { display: block; max-width: 100%; }
:where(button) { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--lp-link); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lp-panel-2); }
[hidden] { display: none !important; }

.lp-wrap { width: 100%; max-width: 1240px; 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; }
.lp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lp-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--lp-brand); color: var(--lp-white); padding: 10px 16px; border-radius: 6px; font-weight: 600; }
.lp-skip:focus { top: 12px; }

/* ── buttons ─────────────────────────────────────────────────── */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 6px; 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-brand { background: var(--lp-brand); color: var(--lp-white); }
.lp-btn-brand:hover { background: var(--lp-brand-2); }
.lp-btn-outline { border-color: var(--lp-line-2); color: var(--lp-brand); background: var(--lp-white); }
.lp-btn-outline:hover { border-color: var(--lp-link); color: var(--lp-link); }
.lp-btn-light { background: var(--lp-accent); color: var(--lp-hero-a); }
.lp-btn-light:hover { background: var(--lp-accent-2); }
.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); }
.lp-btn-wa { background: var(--lp-whatsapp); color: var(--lp-white); }
.lp-btn-wa:hover { background: var(--lp-whatsapp-2); }
.lp-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* floating WhatsApp button: a pill with its name on wide screens, a round icon on phones; clear of the phone's system bars */
.lp-wa { position: fixed; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 20px 0 16px; border-radius: 26px; background: var(--lp-whatsapp); color: var(--lp-white); font-weight: 700; box-shadow: 0 6px 20px var(--lp-shadow-lg); transition: transform .2s, background-color .2s; }
.lp-wa:hover { background: var(--lp-whatsapp-2); transform: translateY(-2px); }
.lp-wa:focus-visible { outline: 3px solid var(--lp-hero-a); outline-offset: 3px; }

/* ── 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: 28px; height: 72px; }
.lp-brand { display: inline-flex; align-items: center; flex: none; }
.lp-brand img { height: 40px; width: auto; }
.lp-links { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.lp-links > a, .lp-drop-btn { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px; border-radius: 6px; font-weight: 600; font-size: 15px; white-space: nowrap; color: var(--lp-ink-2); background: none; border: 0; transition: color .2s, background-color .2s; }
.lp-links > a:hover, .lp-drop-btn:hover, .lp-drop.is-open .lp-drop-btn { color: var(--lp-brand); background: var(--lp-bg-soft); }
.lp-drop { position: relative; }
.lp-drop-btn .lp-svg { transition: transform .2s; }
.lp-drop.is-open .lp-drop-btn .lp-svg { transform: rotate(180deg); }
.lp-drop-menu { position: absolute; top: calc(100% + 8px); left: 0; width: 340px; padding: 8px; background: var(--lp-white); border: 1px solid var(--lp-line); border-radius: 12px; box-shadow: 0 24px 48px -20px var(--lp-shadow-lg); }
.lp-drop-item { display: flex; align-items: flex-start; gap: 14px; padding: 12px; border-radius: 8px; transition: background-color .2s; }
.lp-drop-item:hover { background: var(--lp-bg-soft); }
.lp-drop-item b { display: block; font-size: 15px; color: var(--lp-ink); }
.lp-drop-item span { display: block; font-size: 13.5px; line-height: 1.45; color: var(--lp-ink-3); }
.lp-pmark { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; }
/* the menu's "span { display: block }" rule must not undo the tile's centring */
.lp-drop-item .lp-pmark { display: grid; }
.lp-pmark img { width: 24px; height: 24px; }
.lp-pmark-nx { background: var(--nx-navy); overflow: hidden; }
/* the NexxLedger icon is a full square with its own background, so it fills the tile instead of sitting small inside it */
.lp-pmark-nx img, .lp-pcard-head .lp-pmark-nx img { width: 100%; height: 100%; }
.lp-pmark-sf { background: var(--sf-ink); }
.lp-pmark-brand { background: var(--lp-tint); }
.lp-pmark-ag { background: #0e7c66; }
.lp-nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lp-lang { display: inline-flex; border: 1px solid var(--lp-line-2); border-radius: 6px; overflow: hidden; }
.lp-lang a { display: inline-flex; align-items: center; height: 40px; padding: 0 11px; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--lp-ink-3); }
.lp-lang a:hover { color: var(--lp-brand); background: var(--lp-bg-soft); }
.lp-lang a.is-on { background: var(--lp-brand); color: var(--lp-white); }
.lp-menu-btn { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; background: none; border: 1px solid var(--lp-line-2); border-radius: 6px; color: var(--lp-brand); }
.lp-mobile-menu { border-top: 1px solid var(--lp-line); background: var(--lp-white); padding: 12px 32px 20px; display: grid; gap: 2px; }
.lp-mobile-menu a { display: block; padding: 12px 4px; font-weight: 600; color: var(--lp-ink-2); border-bottom: 1px solid var(--lp-line); }
.lp-mobile-menu .lp-mm-label { padding: 14px 4px 4px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lp-ink-3); }
.lp-mobile-menu .lp-btn { margin-top: 14px; border-bottom: 0; color: var(--lp-white); }

/* ── hero ────────────────────────────────────────────────────── */
.lp-hero { position: relative; isolation: isolate; color: var(--lp-on-dark); background: linear-gradient(160deg, var(--lp-hero-a), var(--lp-hero-b)); overflow: hidden; padding: 84px 0 0; }
.lp-hero-art { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: .55; pointer-events: none; }
.lp-hero-art path { fill: none; stroke: var(--lp-accent); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .35; }
.lp-hero-art path:nth-child(3n) { opacity: .2; }
.lp-hero-inner { max-width: 880px; text-align: center; }
.lp-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lp-link); }
.lp-eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--lp-accent); border-radius: 2px; }
.lp-hero .lp-eyebrow { color: var(--lp-accent); }
.lp-hero h1 { margin-top: 18px; font-size: clamp(36px, 5.4vw, 64px); line-height: 1.07; font-weight: 800; letter-spacing: -.025em; }
.lp-hero h1 em { font-style: normal; color: var(--lp-accent); }
.lp-hero-sub { margin: 22px auto 0; max-width: 680px; font-size: clamp(17px, 1.7vw, 20px); color: var(--lp-on-dark-2); }
.lp-hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.lp-hero-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.lp-chip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; border: 1px solid var(--lp-on-dark-line); color: var(--lp-on-dark-2); }
.lp-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lp-accent); }

.lp-shot-wrap { position: relative; margin-top: 40px; max-width: 1020px; }
.lp-shot { background: var(--lp-white); color: var(--lp-ink); border-radius: 14px 14px 0 0; box-shadow: 0 -10px 80px -20px rgba(var(--lp-accent-rgb), .35), 0 30px 80px -30px rgba(0, 0, 0, .6); overflow: hidden; text-align: left; }
.lp-shot-bar { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; background: var(--lp-bg-soft); border-bottom: 1px solid var(--lp-line); }
.lp-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--lp-line-2); }
.lp-shot-url { margin-left: 14px; flex: 1; max-width: 360px; height: 24px; display: flex; align-items: center; padding: 0 12px; border-radius: 6px; background: var(--lp-white); border: 1px solid var(--lp-line); font-size: 12px; color: var(--lp-ink-3); font-family: var(--lp-mono); }
.lp-live { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--lp-ok); display: inline-flex; align-items: center; gap: 6px; }
.lp-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lp-ok); animation: lp-pulse 1.8s infinite; }
@keyframes lp-pulse { 50% { opacity: .35; } }
.lp-shot-body { display: grid; grid-template-columns: 1.55fr 1fr; gap: 18px; padding: 20px; }
.lp-shot-title { font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.lp-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lp-kpi { padding: 14px 16px; border: 1px solid var(--lp-line); border-radius: 10px; background: var(--lp-bg-soft); }
.lp-kpi small { display: block; font-size: 12px; color: var(--lp-ink-3); font-weight: 600; }
.lp-kpi b { display: block; margin-top: 2px; font-size: 26px; line-height: 1.15; font-family: var(--lp-mono); letter-spacing: -.02em; }
.lp-kpi b.is-ok { color: var(--lp-ok); }
.lp-chart { margin-top: 14px; padding: 14px 16px 12px; border: 1px solid var(--lp-line); border-radius: 10px; }
.lp-chart small { font-size: 12px; color: var(--lp-ink-3); font-weight: 600; }
.lp-bars { position: relative; display: flex; align-items: flex-end; gap: 9px; height: 110px; margin-top: 10px; border-bottom: 1px solid var(--lp-line-2); }
.lp-bars span { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: var(--lp-accent); }
.lp-bars span.is-low { background: var(--lp-warn); }
.lp-bars::after { content: ""; position: absolute; left: 0; right: 0; bottom: 76%; border-top: 2px dashed var(--lp-ink-3); opacity: .55; }
.lp-stations { display: grid; gap: 8px; align-content: start; }
.lp-station { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--lp-line); border-radius: 8px; font-size: 14px; font-weight: 600; }
.lp-station span:first-child { font-family: var(--lp-mono); font-size: 13px; }
.lp-badge { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.lp-badge-ok { background: var(--lp-ok-soft); color: var(--lp-ok); }
.lp-badge-warn { background: var(--lp-warn-soft); color: var(--lp-warn); }
.lp-badge-bad { background: var(--lp-bad-soft); color: var(--lp-bad); }
.lp-badge-info { background: var(--lp-info-soft); color: var(--lp-info); }
.lp-badge-muted { background: var(--lp-tint); color: var(--lp-ink-3); }
.lp-float { position: absolute; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--lp-white); color: var(--lp-ink); border: 1px solid var(--lp-line); border-radius: 12px; box-shadow: 0 20px 50px -20px var(--lp-shadow-lg); text-align: left; max-width: 280px; }
.lp-float b { display: block; font-size: 12px; letter-spacing: .08em; color: var(--lp-link); }
.lp-float span { display: block; font-size: 14px; line-height: 1.4; margin-top: 2px; }
.lp-float-ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--lp-ok-soft); color: var(--lp-ok); font-weight: 800; font-size: 13px; }
.lp-float-1 { right: -26px; bottom: 30px; animation: lp-bob 7s ease-in-out infinite; }
@keyframes lp-bob { 50% { transform: translateY(-8px); } }

/* ── sections ────────────────────────────────────────────────── */
.lp-section { padding: 104px 0; }
.lp-section-soft { background: var(--lp-bg-soft); }
.lp-head { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.lp-head h2 { margin-top: 14px; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.14; font-weight: 800; letter-spacing: -.022em; }
.lp-head p { margin-top: 16px; font-size: 18px; color: var(--lp-ink-2); }
.lp-note { margin-top: 22px; font-size: 13.5px; color: var(--lp-ink-3); text-align: center; }

/* numbers */
.lp-numbers { padding: 56px 0; border-bottom: 1px solid var(--lp-line); }
.lp-numbers-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 24px; }
.lp-num { text-align: center; padding: 0 8px; }
.lp-num b { display: block; font-size: clamp(36px, 4vw, 52px); line-height: 1.1; font-weight: 700; color: var(--lp-brand); }
.lp-num span { display: block; margin-top: 6px; font-size: 15px; color: var(--lp-ink-2); font-weight: 600; }
.lp-numbers-note { margin-top: 28px; text-align: center; color: var(--lp-ink-3); font-size: 15px; }

/* who we are */
.lp-about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.lp-about-copy h2 { margin-top: 14px; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.14; font-weight: 800; letter-spacing: -.022em; }
.lp-about-copy p { margin-top: 16px; font-size: 18px; color: var(--lp-ink-2); }
.lp-about-photo { margin-top: 28px; border-radius: 14px; overflow: hidden; border: 1px solid var(--lp-line); box-shadow: 0 24px 50px -30px var(--lp-shadow-lg); }
.lp-about-photo img { width: 100%; height: auto; }
/* text sections added in Admin > Home page */
.lp-textsec-copy { max-width: 760px; }
.lp-textsec-copy h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.14; font-weight: 800; letter-spacing: -.022em; }
.lp-textsec-copy p { margin-top: 16px; font-size: 18px; color: var(--lp-ink-2); }
.lp-textsec-copy .lp-textsec-cta { margin-top: 28px; }
.lp-textsec-img { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.lp-textsec-photo { border-radius: 14px; overflow: hidden; border: 1px solid var(--lp-line); box-shadow: 0 24px 50px -30px var(--lp-shadow-lg); }
.lp-textsec-photo img { width: 100%; height: auto; }
.lp-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.lp-quote { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; margin: 0; padding: 28px; background: var(--lp-white); border: 1px solid var(--lp-line); border-radius: 14px; }
.lp-quote blockquote { margin: 0; font-size: 17px; color: var(--lp-ink); }
.lp-quote blockquote p + p { margin-top: 12px; }
.lp-quote figcaption { display: flex; align-items: center; gap: 12px; }
.lp-quote figcaption span { display: grid; }
.lp-quote figcaption small { color: var(--lp-ink-3); font-size: 14px; }
.lp-quote-photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.lp-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.lp-faq-item { background: var(--lp-white); border: 1px solid var(--lp-line); border-radius: 12px; }
.lp-faq-item summary { cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 17px; list-style-position: inside; }
.lp-faq-item summary::marker { color: var(--lp-brand); }
.lp-faq-a { padding: 0 22px 20px; color: var(--lp-ink-2); }
.lp-faq-a p + p { margin-top: 10px; }
.lp-place { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.lp-place-card { padding: 28px; background: var(--lp-white); border: 1px solid var(--lp-line); border-radius: 14px; }
.lp-place-card address { font-style: normal; font-size: 17px; line-height: 1.6; }
.lp-place-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.lp-place-btns:first-child { margin-top: 0; }
/* the announcement bar (Admin > Announcement) */
.lp-announce { background: var(--lp-brand); color: var(--lp-on-dark); font-size: 15px; }
.lp-announce-inner { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding-top: 8px; padding-bottom: 8px; }
.lp-announce p { margin: 0; text-align: center; }
.lp-announce a { color: var(--lp-on-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.lp-announce-close { flex: none; width: 32px; height: 32px; border: 0; border-radius: 6px; background: none; color: var(--lp-on-dark); font-size: 22px; line-height: 1; cursor: pointer; }
.lp-announce-close:hover { background: var(--lp-on-dark-line); }
/* custom pages (Admin > Pages) */
.lp-page-intro { padding-bottom: 0; }
.lp-page-intro + .lp-section-soft { margin-top: 72px; }
.lp-page-head .lp-page-title, .lp-page-lead { max-width: 780px; }
.lp-page-lead { margin-top: 16px; font-size: 20px; color: var(--lp-ink-2); }
.lp-draft { display: inline-block; margin-bottom: 12px; padding: 6px 12px; border-radius: 8px; background: var(--lp-warn-soft); color: var(--lp-warn); font-size: 14px; font-weight: 600; }
.lp-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.lp-cat { padding: 22px; background: var(--lp-white); border: 1px solid var(--lp-line); border-radius: 12px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.lp-cat:hover { border-color: var(--lp-panel-2); box-shadow: 0 16px 36px -24px var(--lp-shadow-lg); transform: translateY(-2px); }
.lp-cat-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--lp-tint); color: var(--lp-brand); }
.lp-cat h3 { margin-top: 14px; font-size: 17px; font-weight: 700; }
.lp-cat p { margin-top: 4px; font-size: 14.5px; color: var(--lp-ink-3); line-height: 1.5; }

/* products */
.lp-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.lp-pcard { display: flex; flex-direction: column; padding: 36px; background: var(--lp-white); border: 1px solid var(--lp-line); border-radius: 16px; transition: box-shadow .25s, transform .25s, border-color .25s; }
.lp-pcard:hover { transform: translateY(-3px); box-shadow: 0 28px 56px -34px var(--lp-shadow-lg); border-color: var(--lp-panel-2); }
.lp-pcard-head { display: flex; align-items: center; gap: 16px; }
.lp-pcard-head .lp-pmark { width: 56px; height: 56px; border-radius: 14px; }
.lp-pcard-head .lp-pmark img { width: 34px; height: 34px; }
.lp-pcard h3 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.lp-pcard-tag { font-size: 14px; color: var(--lp-ink-3); font-weight: 600; }
.lp-pcard > p { margin-top: 20px; font-size: 17px; color: var(--lp-ink-2); }
.lp-pfeat { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 24px 0 28px; }
.lp-pfeat li { display: flex; gap: 10px; font-size: 15px; font-weight: 600; color: var(--lp-ink-2); }
.lp-pfeat li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--lp-ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.lp-pcard-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.lp-pcard-url { font-family: var(--lp-mono); font-size: 13.5px; color: var(--lp-ink-3); }
.lp-pcard-nx .lp-btn { background: var(--nx-blue); color: var(--lp-white); }
.lp-pcard-nx .lp-btn:hover { background: var(--nx-navy); }
.lp-pcard-sf .lp-btn { background: var(--sf-ink); color: var(--sf-lime); }
.lp-pcard-sf .lp-btn:hover { background: #2a3120; }
.lp-pcard-ag .lp-btn { background: #0e7c66; color: var(--lp-white); }
.lp-pcard-ag .lp-btn:hover { background: #095c4b; }
.lp-pcard-brand .lp-btn { background: var(--lp-brand); color: var(--lp-white); }
.lp-pcard-brand .lp-btn:hover { background: var(--lp-brand-2); }
.lp-products-3 { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lp-products-3 .lp-pcard { padding: 28px; }
.lp-products-3 .lp-pcard h3 { font-size: 23px; }
.lp-products-3 .lp-pcard > p { font-size: 16px; }
.lp-products-3 .lp-pfeat { grid-template-columns: 1fr; }
.lp-products-3 .lp-pcard-foot { flex-direction: column; align-items: flex-start; }
.lp-link-flow { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; margin-top: 36px; padding: 28px 32px; border: 1px dashed var(--lp-line-2); border-radius: 14px; background: var(--lp-bg-soft); }
.lp-link-node { display: flex; align-items: center; gap: 14px; font-weight: 700; }
.lp-link-node small { display: block; font-weight: 500; font-size: 13.5px; color: var(--lp-ink-3); }
.lp-link-node:last-child { justify-content: flex-end; text-align: right; }
.lp-link-mid { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--lp-link); text-align: center; max-width: 260px; }
.lp-link-mid svg { color: var(--lp-accent); }

/* tabs + solutions */
.lp-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 44px; }
.lp-tab { height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--lp-line-2); background: var(--lp-white); font-weight: 700; font-size: 15px; color: var(--lp-ink-2); transition: all .2s; }
.lp-tab:hover { border-color: var(--lp-link); color: var(--lp-link); }
.lp-tab.is-on { background: var(--lp-brand); border-color: var(--lp-brand); color: var(--lp-white); }
.lp-panel { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.lp-panel h3 { font-size: 28px; font-weight: 800; letter-spacing: -.018em; line-height: 1.2; }
.lp-panel > div > p { margin-top: 14px; font-size: 17px; color: var(--lp-ink-2); }
.lp-benefits { display: grid; gap: 14px; margin-top: 26px; counter-reset: b; }
.lp-benefits li { position: relative; padding-left: 44px; counter-increment: b; }
.lp-benefits li::before { content: counter(b); position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--lp-tint); color: var(--lp-brand); font-family: var(--lp-mono); font-weight: 700; font-size: 14px; }
.lp-benefits b { display: block; font-size: 16px; }
.lp-benefits span { display: block; font-size: 14.5px; color: var(--lp-ink-3); line-height: 1.5; }
.lp-demo { background: var(--lp-bg-soft); border: 1px solid var(--lp-line); border-radius: 16px; padding: 26px; box-shadow: 0 24px 50px -34px var(--lp-shadow-lg); }
.lp-card { background: var(--lp-white); border: 1px solid var(--lp-line); border-radius: 12px; padding: 18px; }
.lp-card + .lp-card { margin-top: 14px; }
.lp-card-label { font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--lp-link); }
.lp-big { margin-top: 6px; font-size: 20px; font-weight: 700; line-height: 1.3; }
.lp-prog { height: 8px; margin: 14px 0 6px; border-radius: 999px; background: var(--lp-tint); overflow: hidden; }
.lp-prog i { display: block; height: 100%; width: var(--w); border-radius: 999px; background: var(--lp-accent); }
.lp-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--lp-line); font-size: 15px; }
.lp-row:last-child { border-bottom: 0; }
.lp-row > span:first-child { color: var(--lp-ink-2); font-weight: 600; }
.lp-row .lp-mono { font-weight: 600; }
.lp-sample { margin-top: 14px; font-size: 12.5px; color: var(--lp-ink-3); text-align: center; }
.lp-andon { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.lp-andon span { padding: 8px 6px; border-radius: 8px; text-align: center; font-size: 12.5px; font-weight: 700; color: var(--lp-white); }
.lp-and-blue { background: #1d4ed8; } .lp-and-green { background: #15803d; } .lp-and-yellow { background: #ca8a04; } .lp-and-red { background: #b91c1c; }
.lp-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lp-check { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--lp-line); border-radius: 10px; background: var(--lp-white); font-size: 14px; font-weight: 700; }
.lp-check i { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--lp-tint); color: var(--lp-brand); font-style: normal; font-family: var(--lp-mono); font-size: 13px; }
.lp-spc { margin-top: 14px; }
.lp-spc svg { width: 100%; height: 130px; }
.lp-spc .grid { stroke: var(--lp-line-2); stroke-dasharray: 3 4; }
.lp-spc .ucl { stroke: var(--lp-bad); stroke-dasharray: 5 4; opacity: .6; }
.lp-spc .line { fill: none; stroke: var(--lp-brand); stroke-width: 2.4; stroke-linejoin: round; }
.lp-spc circle { fill: var(--lp-white); stroke: var(--lp-brand); stroke-width: 2; }
.lp-spc circle.out { stroke: var(--lp-bad); fill: var(--lp-bad-soft); }
.lp-wo-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lp-wo-head b { font-family: var(--lp-mono); }
.lp-wo-list { margin-top: 12px; display: grid; gap: 8px; font-size: 14.5px; }
.lp-wo-list li { display: flex; gap: 10px; align-items: center; color: var(--lp-ink-2); }
.lp-wo-list li i { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; font-style: normal; font-size: 12px; font-weight: 800; border: 1.5px solid var(--lp-line-2); color: transparent; }
.lp-wo-list li.is-done i { background: var(--lp-ok-soft); border-color: var(--lp-ok); color: var(--lp-ok); }

/* AI band */
.lp-ai { position: relative; isolation: isolate; color: var(--lp-on-dark); background: linear-gradient(160deg, var(--lp-hero-a), var(--lp-hero-b)); overflow: hidden; }
.lp-ai .lp-head p { color: var(--lp-on-dark-2); }
.lp-ai .lp-eyebrow { color: var(--lp-accent); }
.lp-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; margin-bottom: 40px; }
.lp-flow li { position: relative; padding: 22px; border: 1px solid var(--lp-on-dark-line); border-radius: 14px; background: rgba(255, 255, 255, .04); counter-increment: s; }
.lp-flow li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--lp-accent); color: var(--lp-hero-a); font-family: var(--lp-mono); font-weight: 700; }
.lp-flow li:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 50%; width: 10px; height: 10px; border-top: 2px solid var(--lp-accent); border-right: 2px solid var(--lp-accent); transform: translateY(-50%) rotate(45deg); }
.lp-flow h3 { margin-top: 14px; font-size: 18px; font-weight: 700; }
.lp-flow p { margin-top: 6px; font-size: 14.5px; color: var(--lp-on-dark-2); line-height: 1.5; }
.lp-ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lp-ai-card { padding: 26px; background: var(--lp-white); color: var(--lp-ink); border-radius: 16px; display: flex; flex-direction: column; }
.lp-ai-card h3 { font-size: 20px; font-weight: 800; }
.lp-ai-card > p { margin-top: 8px; font-size: 15px; color: var(--lp-ink-2); }
.lp-ai-vis { margin-top: 20px; padding: 16px; border: 1px solid var(--lp-line); border-radius: 12px; background: var(--lp-bg-soft); font-size: 14px; }
.lp-ai-card ul { margin-top: 18px; display: grid; gap: 8px; font-size: 14.5px; color: var(--lp-ink-2); font-weight: 600; }
.lp-ai-card ul li { display: flex; gap: 10px; }
.lp-ai-card ul li::before { content: ""; flex: none; margin-top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--lp-accent); }
.lp-defect { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; font-weight: 600; }
.lp-defect:not(:last-child) { border-bottom: 1px solid var(--lp-line); }
.lp-gauge { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.lp-gauge b { font-size: 30px; font-family: var(--lp-mono); }
.lp-trend svg { width: 100%; height: 70px; margin-top: 8px; }
.lp-trend .band { fill: var(--lp-tint); }
.lp-trend .line { fill: none; stroke: var(--lp-brand); stroke-width: 2.4; }
.lp-trend .bad { fill: none; stroke: var(--lp-bad); stroke-width: 2.4; }
.lp-trend .lim { stroke: var(--lp-bad); stroke-dasharray: 4 4; opacity: .6; }
.lp-roadmap { margin-top: 56px; }
.lp-roadmap h3 { text-align: center; font-size: 22px; font-weight: 800; }
.lp-roadmap > p { text-align: center; margin-top: 6px; color: var(--lp-on-dark-2); font-size: 14.5px; }
.lp-road-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.lp-road { padding: 20px; border: 1px solid var(--lp-on-dark-line); border-radius: 12px; background: rgba(255, 255, 255, .04); }
.lp-road b { display: block; font-size: 16px; }
.lp-road p { margin-top: 6px; font-size: 14px; color: var(--lp-on-dark-2); line-height: 1.5; }
.lp-road small { display: block; margin-top: 10px; font-size: 12.5px; color: var(--lp-accent); font-weight: 600; }

/* connectivity */
.lp-conn { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.lp-conn-box { padding: 26px; background: var(--lp-white); border: 1px solid var(--lp-line); border-radius: 14px; }
.lp-conn-box h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--lp-link); font-weight: 700; }
.lp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.lp-tags span { padding: 6px 12px; border-radius: 8px; background: var(--lp-bg-soft); border: 1px solid var(--lp-line); font-size: 14px; font-weight: 600; color: var(--lp-ink-2); }
.lp-conn-wide { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; background: var(--lp-tint); border-color: var(--lp-panel); }
.lp-conn-wide p { font-size: 16px; font-weight: 600; color: var(--lp-brand); }

/* clients + projects */
.lp-logos { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
.lp-logo { display: grid; place-items: center; height: 92px; padding: 14px; background: var(--lp-white); border: 1px solid var(--lp-line); border-radius: 12px; }
.lp-logo img { max-height: 52px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
.lp-logo:hover img { filter: none; opacity: 1; }
.lp-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 64px 0 32px; }
.lp-filter { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--lp-line-2); background: var(--lp-white); font-weight: 700; font-size: 14px; color: var(--lp-ink-2); transition: all .2s; }
.lp-filter:hover { border-color: var(--lp-link); color: var(--lp-link); }
.lp-filter.is-on { background: var(--lp-brand); border-color: var(--lp-brand); color: var(--lp-white); }
.lp-filter small { margin-left: 6px; font-family: var(--lp-mono); font-weight: 600; opacity: .7; }
.lp-projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-project { display: flex; flex-direction: column; padding: 22px; background: var(--lp-white); border: 1px solid var(--lp-line); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.lp-project:hover { border-color: var(--lp-panel-2); box-shadow: 0 16px 36px -26px var(--lp-shadow-lg); }
.lp-project-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.lp-project-tag { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lp-link); }
.lp-project-year { font-size: 13px; color: var(--lp-ink-3); font-weight: 600; }
.lp-project h3 { margin-top: 10px; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.lp-project > p { margin-top: 4px; font-size: 14.5px; color: var(--lp-ink-2); font-weight: 600; line-height: 1.45; }
.lp-project ul { margin-top: 12px; display: grid; gap: 6px; padding-top: 12px; border-top: 1px solid var(--lp-line); }
.lp-project li { position: relative; padding-left: 16px; font-size: 14px; color: var(--lp-ink-3); line-height: 1.45; }
.lp-project li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--lp-accent); }
.lp-more { display: flex; justify-content: center; margin-top: 32px; }

/* contact band */
.lp-cta { position: relative; isolation: isolate; color: var(--lp-on-dark); background: linear-gradient(160deg, var(--lp-hero-a), var(--lp-hero-b)); padding: 96px 0; overflow: hidden; }
.lp-cta-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
/* without the launch blocks (a site made from a site spec): one column */
.lp-about-solo, .lp-cta-solo { grid-template-columns: minmax(0, 780px); }
.lp-cta h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.14; font-weight: 800; letter-spacing: -.022em; }
.lp-cta-copy > p { margin-top: 16px; font-size: 18px; color: var(--lp-on-dark-2); max-width: 520px; }
.lp-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.lp-steps { display: grid; gap: 14px; counter-reset: st; }
.lp-steps li { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--lp-on-dark-line); border-radius: 14px; background: rgba(255, 255, 255, .05); counter-increment: st; }
.lp-steps li::before { content: counter(st); flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--lp-accent); color: var(--lp-hero-a); font-family: var(--lp-mono); font-weight: 700; }
.lp-steps b { display: block; font-size: 17px; }
.lp-steps span { display: block; margin-top: 2px; font-size: 14.5px; color: var(--lp-on-dark-2); line-height: 1.5; }
.lp-steps-label { margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lp-accent); }

/* footer */
.lp-footer { background: var(--lp-bg-soft); border-top: 1px solid var(--lp-line); padding: 64px 0 28px; }
.lp-foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.lp-foot-brand img { height: 44px; width: auto; }
.lp-foot-brand p { margin-top: 16px; max-width: 300px; font-size: 15px; color: var(--lp-ink-3); }
.lp-foot-col h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--lp-ink-3); font-weight: 700; }
.lp-foot-col ul { margin-top: 14px; display: grid; gap: 10px; }
.lp-foot-col a { font-size: 15px; font-weight: 600; color: var(--lp-ink-2); }
.lp-foot-col a:hover { color: var(--lp-link); }
.lp-foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--lp-line); font-size: 14px; color: var(--lp-ink-3); }

/* blog */
.lp-page-title { margin-top: 12px; font-size: clamp(30px, 4vw, 46px); line-height: 1.12; font-weight: 800; letter-spacing: -.022em; }
.lp-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lp-acard { display: flex; flex-direction: column; background: var(--lp-white); border: 1px solid var(--lp-line); border-radius: 14px; overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; }
.lp-acard:hover { border-color: var(--lp-panel-2); box-shadow: 0 18px 40px -28px var(--lp-shadow-lg); transform: translateY(-2px); }
.lp-acard-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--lp-tint); }
.lp-acard-body { display: flex; flex-direction: column; gap: 8px; padding: 20px; }
.lp-acard-meta { display: flex; justify-content: space-between; gap: 10px; }
.lp-acard h3 { font-size: 19px; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.lp-acard-body > p:last-child { font-size: 14.5px; color: var(--lp-ink-2); }
.lp-article-wrap { max-width: 780px; }
.lp-article-wrap .lp-eyebrow a:hover { text-decoration: underline; }
.lp-article-meta { margin-top: 10px; color: var(--lp-ink-3); font-weight: 600; font-size: 14px; }
.lp-article-cover { width: 100%; height: auto; margin-top: 28px; border-radius: 14px; border: 1px solid var(--lp-line); }
.lp-prose { margin-top: 28px; font-size: 18px; line-height: 1.75; color: var(--lp-ink-2); }
.lp-prose > * + * { margin-top: 1.1em; }
.lp-prose h2 { margin-top: 1.8em; font-size: 28px; line-height: 1.25; font-weight: 800; color: var(--lp-ink); letter-spacing: -.015em; }
.lp-prose h3 { margin-top: 1.5em; font-size: 22px; font-weight: 800; color: var(--lp-ink); }
.lp-prose a { color: var(--lp-link); text-decoration: underline; text-underline-offset: 3px; }
.lp-prose ul, .lp-prose ol { padding-left: 1.4em; }
.lp-prose ul { list-style: disc; }
.lp-prose ol { list-style: decimal; }
.lp-prose li + li { margin-top: .4em; }
.lp-prose img { height: auto; border-radius: 12px; border: 1px solid var(--lp-line); }
.lp-prose blockquote { margin-left: 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--lp-accent); color: var(--lp-ink-3); }
.lp-prose code { font-family: var(--lp-mono); font-size: .88em; background: var(--lp-tint); padding: 2px 6px; border-radius: 5px; }
.lp-prose pre { overflow-x: auto; padding: 16px; background: var(--lp-hero-a); color: var(--lp-on-dark); border-radius: 10px; }
.lp-prose pre code { background: none; padding: 0; color: inherit; }
.lp-prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.lp-prose th, .lp-prose td { padding: 8px 12px; border: 1px solid var(--lp-line); text-align: left; }
.lp-prose th { background: var(--lp-bg-soft); }
.lp-article-back { margin-top: 40px; font-weight: 700; }
.lp-article-back a { color: var(--lp-link); }
.lp-blog-page .lp-filters { margin: 0 0 36px; }
.lp-status { display: grid; gap: 16px; justify-items: center; text-align: center; padding: 48px 0; }

/* 404 */
.lp-404 { display: grid; place-items: center; min-height: 100vh; text-align: center; padding: 32px; }
.lp-404-box { display: grid; gap: 14px; justify-items: center; }
.lp-404-box h1 { font-size: 34px; font-weight: 800; }
.lp-404-box p { color: var(--lp-ink-3); }

/* ── hero animation ───────────────────────────────────────────── */
.lp-flow-canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.lp-hero.lp-canvas .lp-hero-art { display: none; }
.lp-flow-legend { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; margin-top: 26px; color: var(--lp-on-dark-2); font-size: 13px; }
.lp-flow-legend ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.lp-flow-legend li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.lp-flow-legend i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 9px var(--c); }
.lp-flow-toggle { height: 30px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--lp-on-dark-line); background: transparent; color: var(--lp-on-dark); font-size: 12.5px; font-weight: 600; }
.lp-flow-toggle:hover { border-color: var(--lp-on-dark-2); background: rgba(255, 255, 255, .06); }
@keyframes lp-wave { from { transform: translate3d(0, -14px, 0); } to { transform: translate3d(0, 16px, 0); } }
@keyframes lp-grow { from { transform: scaleY(.12); } to { transform: scaleY(1); } }
.lp-hero:not(.lp-still) .lp-hero-art path { animation: lp-wave var(--dur, 14s) ease-in-out infinite alternate; animation-delay: var(--dl, 0s); }
.lp-hero-art path:nth-child(1) { --dur: 11s; --dl: -2s; } .lp-hero-art path:nth-child(2) { --dur: 13s; --dl: -5s; }
.lp-hero-art path:nth-child(3) { --dur: 15s; --dl: -1s; } .lp-hero-art path:nth-child(4) { --dur: 12s; --dl: -7s; }
.lp-hero-art path:nth-child(5) { --dur: 16s; --dl: -3s; } .lp-hero-art path:nth-child(6) { --dur: 10s; --dl: -6s; }
.lp-hero-art path:nth-child(7) { --dur: 14s; --dl: -4s; } .lp-hero-art path:nth-child(8) { --dur: 17s; --dl: -8s; }
.lp-hero:not(.lp-still) .lp-bars span { transform-origin: bottom; animation: lp-grow .9s var(--lp-ease) both; }
.lp-bars span:nth-child(2) { animation-delay: .06s !important; } .lp-bars span:nth-child(3) { animation-delay: .12s !important; }
.lp-bars span:nth-child(4) { animation-delay: .18s !important; } .lp-bars span:nth-child(5) { animation-delay: .24s !important; }
.lp-bars span:nth-child(6) { animation-delay: .3s !important; } .lp-bars span:nth-child(7) { animation-delay: .36s !important; }
.lp-bars span:nth-child(8) { animation-delay: .42s !important; } .lp-bars span:nth-child(9) { animation-delay: .48s !important; }

/* reveal on scroll (only when JS is running) */
.lp-js .lp-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--lp-ease), transform .7s var(--lp-ease); transition-delay: var(--d, 0s); }
.lp-js .lp-reveal.is-in { opacity: 1; transform: none; }
.lp-in { animation: lp-up .8s var(--lp-ease) both; animation-delay: var(--d, 0s); }
@keyframes lp-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .lp-in, .lp-float-1, .lp-live::before { animation: none; }
    .lp-wa, .lp-wa:hover { transition: none; transform: none; }
    .lp-js .lp-reveal { opacity: 1; transform: none; transition: none; }
}

/* ── responsive ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .lp-products-3 { grid-template-columns: repeat(2, 1fr); }
    .lp-blog-grid { grid-template-columns: repeat(2, 1fr); }
    .lp-logos { grid-template-columns: repeat(4, 1fr); }
    .lp-projects { grid-template-columns: repeat(2, 1fr); }
    .lp-foot-grid { grid-template-columns: 1fr 1fr; }
    .lp-float-1 { right: 12px; }
}
/* pages in the menu (Admin > Pages) make the header wider: switch to the menu button earlier, about 120 px per page */
@media (max-width: 1140px) {
    :is(.lp-nav-more-1, .lp-nav-more-2, .lp-nav-more-3, .lp-nav-more-4, .lp-nav-more-5, .lp-nav-more-6) :is(.lp-links, .lp-hide-sm) { display: none; }
    :is(.lp-nav-more-1, .lp-nav-more-2, .lp-nav-more-3, .lp-nav-more-4, .lp-nav-more-5, .lp-nav-more-6) .lp-menu-btn { display: inline-flex; }
}
@media (max-width: 1260px) {
    :is(.lp-nav-more-2, .lp-nav-more-3, .lp-nav-more-4, .lp-nav-more-5, .lp-nav-more-6) :is(.lp-links, .lp-hide-sm) { display: none; }
    :is(.lp-nav-more-2, .lp-nav-more-3, .lp-nav-more-4, .lp-nav-more-5, .lp-nav-more-6) .lp-menu-btn { display: inline-flex; }
}
@media (max-width: 1380px) {
    :is(.lp-nav-more-3, .lp-nav-more-4, .lp-nav-more-5, .lp-nav-more-6) :is(.lp-links, .lp-hide-sm) { display: none; }
    :is(.lp-nav-more-3, .lp-nav-more-4, .lp-nav-more-5, .lp-nav-more-6) .lp-menu-btn { display: inline-flex; }
}
@media (max-width: 1500px) {
    :is(.lp-nav-more-4, .lp-nav-more-5, .lp-nav-more-6) :is(.lp-links, .lp-hide-sm) { display: none; }
    :is(.lp-nav-more-4, .lp-nav-more-5, .lp-nav-more-6) .lp-menu-btn { display: inline-flex; }
}
@media (max-width: 1620px) {
    :is(.lp-nav-more-5, .lp-nav-more-6) :is(.lp-links, .lp-hide-sm) { display: none; }
    :is(.lp-nav-more-5, .lp-nav-more-6) .lp-menu-btn { display: inline-flex; }
}
@media (max-width: 1740px) {
    :is(.lp-nav-more-6) :is(.lp-links, .lp-hide-sm) { display: none; }
    :is(.lp-nav-more-6) .lp-menu-btn { display: inline-flex; }
}
@media (max-width: 960px) {
    .lp-links, .lp-hide-sm { display: none; }
    .lp-menu-btn { display: inline-flex; }
    .lp-section { padding: 76px 0; }
    .lp-about, .lp-panel, .lp-cta-inner, .lp-textsec-img, .lp-place { grid-template-columns: 1fr; gap: 36px; }
    .lp-products, .lp-products-3 { grid-template-columns: 1fr; }
    .lp-ai-grid, .lp-road-grid { grid-template-columns: 1fr; }
    .lp-flow { grid-template-columns: repeat(2, 1fr); }
    .lp-flow li:not(:last-child)::after { display: none; }
    .lp-numbers-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
    .lp-shot-body { grid-template-columns: 1fr; }
    .lp-float-1 { display: none; }
    .lp-conn { grid-template-columns: 1fr; }
    .lp-link-flow { grid-template-columns: 1fr; text-align: center; }
    .lp-link-node, .lp-link-node:last-child { justify-content: center; text-align: left; }
    .lp-link-mid { margin: 0 auto; }
    .lp-link-mid svg { transform: rotate(90deg); }
}
@media (max-width: 640px) {
    .lp-wa { width: 56px; height: 56px; padding: 0; justify-content: center; border-radius: 50%; }
    .lp-wa span { display: none; }
    .lp-wrap { padding: 0 16px; }
    .lp-mobile-menu { padding: 12px 16px 20px; }
    .lp-nav-inner { height: 64px; gap: 12px; }
    .lp-brand img { height: 34px; }
    .lp-hero { padding-top: 56px; }
    .lp-hero-ctas .lp-btn { width: 100%; }
    .lp-pcard { padding: 24px; }
    .lp-pfeat, .lp-checks, .lp-cats { grid-template-columns: 1fr; }
    .lp-logos { grid-template-columns: repeat(2, 1fr); }
    .lp-projects, .lp-flow, .lp-blog-grid { grid-template-columns: 1fr; }
    .lp-kpis { grid-template-columns: 1fr 1fr 1fr; }
    .lp-kpi { padding: 10px; }
    .lp-kpi b { font-size: 20px; }
    .lp-shot-url { display: none; }
    .lp-foot-grid { grid-template-columns: 1fr; }
    .lp-tab { height: 40px; padding: 0 14px; font-size: 14px; }
    .lp-cta { padding: 64px 0; }
    .lp-cta-btns .lp-btn { width: 100%; }
}

/* topic pages: question and answer list */
.lp-faq details { border-bottom: 1px solid var(--lp-line); padding: 14px 0; }
.lp-faq summary { cursor: pointer; font-weight: 700; color: var(--lp-ink); }
.lp-faq details p { margin-top: 10px; }

/* optional picture at the top of a project card */
.lp-project-img { display: block; width: calc(100% + 44px); max-width: none; margin: -22px -22px 16px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 13px 13px 0 0; background: var(--lp-tint); }

/* customer proposal portal (/proposal) */
.lp-portal { padding-top: 120px; min-height: 70vh; }
.lp-portal-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.lp-portal-who { margin-top: 10px; font-size: 14.5px; color: var(--lp-ink-3); }
.lp-portal-who a, .lp-portal .lp-eyebrow a { color: var(--lp-link); text-decoration: underline; }
.lp-portal-actions { display: flex; gap: 10px; align-items: center; }
.lp-portal-actions form { margin: 0; }
.lp-portal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.lp-portal-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid var(--lp-line); border-radius: 12px; background: var(--lp-white); transition: border-color .2s, box-shadow .2s; }
.lp-portal-card:hover { border-color: var(--lp-accent); box-shadow: 0 18px 40px -28px rgba(var(--lp-hero-a-rgb), .45); }
.lp-portal-card h2 { font-size: 19px; line-height: 1.3; font-weight: 800; }
.lp-portal-card p { font-size: 14.5px; color: var(--lp-ink-2); }
.lp-portal-client { font-size: 13px; font-weight: 700; color: var(--lp-link); }
.lp-portal-date { margin-top: auto; padding-top: 6px; font-size: 12.5px; color: var(--lp-ink-3); }
.lp-portal-draft, .lp-portal-draft-note { font-size: 12.5px; font-weight: 700; color: var(--lp-warn); background: var(--lp-warn-soft); border-radius: 6px; padding: 4px 10px; align-self: flex-start; }
.lp-portal-draft-note { align-self: stretch; margin-bottom: 12px; padding: 8px 12px; }
.lp-portal-empty { padding: 56px 24px; text-align: center; border: 1px dashed var(--lp-line-2); border-radius: 12px; color: var(--lp-ink-2); }
.lp-portal-auth { max-width: 420px; margin: 0 auto; }
.lp-portal-form { display: grid; gap: 14px; margin: 24px 0; }
.lp-portal-form label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.lp-portal-form label span { font-weight: 500; color: var(--lp-ink-3); }
.lp-portal-form input:not([type=hidden]) { height: 46px; padding: 0 14px; border: 1px solid var(--lp-line-2); border-radius: 6px; font: inherit; background: var(--lp-white); }
.lp-portal-form input:focus, .lp-portal-form textarea:focus { outline: 2px solid var(--lp-accent); outline-offset: 1px; }
.lp-portal-form textarea { padding: 12px 14px; border: 1px solid var(--lp-line-2); border-radius: 6px; font: inherit; background: var(--lp-white); resize: vertical; min-height: 140px; }
.lp-contact { max-width: 560px; margin: 0 auto; }
.lp-portal-form label .lp-label-row { font-weight: 700; color: inherit; }
.lp-label-row small { font-size: inherit; font-weight: 500; color: var(--lp-ink-3); }
.lp-contact-done { margin: 22px 0; padding: 16px 18px; border-radius: 8px; background: var(--lp-ok-soft); color: var(--lp-ok); font-weight: 600; }
/* the contact form's trap field: off screen for people, still filled in by robots */
.lp-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lp-portal-err { color: var(--lp-bad); font-size: 14px; font-weight: 600; margin-top: 12px; }
.lp-portal-ok { color: var(--lp-ok); background: var(--lp-ok-soft); font-size: 14px; font-weight: 600; margin-top: 12px; padding: 10px 14px; border-radius: 6px; }
.lp-portal-viewer { padding-top: 84px; padding-bottom: 24px; }
.lp-portal-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; font-size: 14px; }
.lp-portal-bar a { color: var(--lp-link); font-weight: 600; }
.lp-portal-bar-title { color: var(--lp-ink-2); }
.lp-portal-save { font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--lp-ok-soft); color: var(--lp-ok); }
.lp-portal-save:empty { display: none; }
.lp-portal-save[data-state="wait"] { background: var(--lp-warn-soft, #fef3c7); color: var(--lp-warn, #b45309); }
.lp-portal-save[data-state="bad"] { background: var(--lp-bad-soft, #fee2e2); color: var(--lp-bad); }
.lp-portal-frame { display: block; width: 100%; height: calc(100vh - 150px); min-height: 560px; border: 1px solid var(--lp-line-2); border-radius: 10px; background: #fff; }
