/*
 * DotEcho landing page (Views/Pages/Landing.cshtml, behaviour in assets/js/landing.js).
 * Self-contained: the page does not load dotecho.css or Bootstrap, only Bootstrap Icons, so
 * every token it uses is defined here, dark first with a light variant on html[data-theme].
 * Motion is decoration only: everything reads the same with prefers-reduced-motion.
 */

/* ================================================================ tokens */

.lp {
    --bg: #040a01;
    --bg-2: #07120a;
    --panel: rgba(16, 24, 19, .94);
    --panel-solid: #0e1511;
    --panel-2: rgba(255, 255, 255, .035);
    --line: rgba(255, 255, 255, .07);
    --line-strong: rgba(255, 255, 255, .13);
    --text: #e8efe9;
    --text-strong: #ffffff;
    --muted: rgba(232, 239, 233, .66);
    --faint: rgba(232, 239, 233, .42);
    --green: #40b605;
    --green-2: #22c55e;
    --green-3: #86efac;
    --green-btn: #2f8000;
    --green-btn-hover: #378f05;
    --green-soft: rgba(64, 182, 5, .14);
    --amber: #f59e0b;
    --amber-soft: rgba(245, 158, 11, .15);
    --red: #ef4444;
    --red-soft: rgba(239, 68, 68, .14);
    --sky: #38bdf8;
    --sky-soft: rgba(56, 189, 248, .14);
    --shadow: 0 30px 80px rgba(0, 0, 0, .55);
    --shadow-sm: 0 12px 34px rgba(0, 0, 0, .4);
    --grad: linear-gradient(100deg, #b6f59a 0%, #5fd11c 45%, #22c55e 100%);
    --heading: "Ubuntu", "Inter", system-ui, sans-serif;
    --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --r-lg: 24px;
    --r-md: 16px;
    --nav-h: 68px;
}

html[data-theme="light"] .lp {
    --bg: #f5f8f5;
    --bg-2: #eaf2ea;
    --panel: rgba(255, 255, 255, .96);
    --panel-solid: #ffffff;
    --panel-2: rgba(14, 31, 20, .03);
    --line: rgba(14, 31, 20, .08);
    --line-strong: rgba(14, 31, 20, .15);
    --text: #1c2a21;
    --text-strong: #0b1a10;
    --muted: rgba(14, 31, 20, .68);
    --faint: rgba(14, 31, 20, .46);
    --green: #2f8000;
    --green-2: #15803d;
    --green-3: #166534;
    --green-soft: rgba(47, 128, 0, .1);
    --amber: #b45309;
    --amber-soft: rgba(245, 158, 11, .16);
    --red: #b91c1c;
    --red-soft: rgba(239, 68, 68, .1);
    --sky: #0369a1;
    --sky-soft: rgba(56, 189, 248, .14);
    --shadow: 0 30px 70px rgba(20, 50, 30, .16);
    --shadow-sm: 0 10px 28px rgba(20, 50, 30, .12);
    --grad: linear-gradient(100deg, #2f8000 0%, #3fa10a 45%, #15803d 100%);
}

/* ================================================================ base */

html { scroll-behavior: smooth; background: #040a01; }
html[data-theme="light"] { background: #f5f8f5; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.lp {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--body);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
.lp h1, .lp h2, .lp h3 { font-family: var(--heading); color: var(--text-strong); margin: 0; letter-spacing: -.02em; }
.lp p { margin: 0; }
.lp a { color: inherit; }
.lp kbd { font-family: var(--body); font-size: .68rem; font-weight: 600; padding: 1px 6px; border-radius: 5px;
    border: 1px solid currentColor; opacity: .75; margin-left: 4px; }
.lp :focus-visible { outline: 2px solid var(--green-2); outline-offset: 3px; border-radius: 8px; }

.lp-wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.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; padding: 10px 16px; border-radius: 10px;
    background: var(--green-btn); color: #fff; text-decoration: none; font-weight: 600; }
.lp-skip:focus { top: 12px; }

.lp-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.lp-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .14em;
    text-transform: uppercase; color: var(--green-2); }
.lp-eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }

/* ================================================================ buttons */

.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 12px;
    border: 1px solid transparent; background: var(--green-btn); color: #fff !important; text-decoration: none; font: 600 .95rem/1 var(--body);
    cursor: pointer; white-space: nowrap; position: relative; isolation: isolate;
    box-shadow: 0 8px 24px rgba(64, 182, 5, .28), inset 0 1px 0 rgba(255, 255, 255, .18);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.lp-btn:hover { background: var(--green-btn-hover); transform: translateY(-1px); box-shadow: 0 12px 32px rgba(64, 182, 5, .36), inset 0 1px 0 rgba(255, 255, 255, .2); }
.lp-btn:active { transform: translateY(0); }
.lp-btn .bi-arrow-right { transition: transform .2s ease; }
.lp-btn:hover .bi-arrow-right { transform: translateX(3px); }
.lp-btn-ghost { background: var(--panel-2); color: var(--text-strong) !important; border-color: var(--line-strong); box-shadow: none; }
.lp-btn-ghost:hover { background: var(--green-soft); border-color: rgba(64, 182, 5, .4); box-shadow: none; }
.lp-btn-danger { background: var(--red-soft); color: var(--red) !important; border-color: rgba(239, 68, 68, .3); box-shadow: none; }
.lp-btn-danger:hover { background: rgba(239, 68, 68, .22); box-shadow: none; }
.lp-btn-sm { padding: 8px 14px; font-size: .85rem; border-radius: 10px; }
.lp-btn-lg { padding: 15px 26px; font-size: 1.02rem; border-radius: 14px; }

.lp-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px;
    border: 1px solid var(--line-strong); background: var(--panel-2); color: var(--text); cursor: pointer; font-size: 1rem;
    transition: background .2s ease, color .2s ease; }
.lp-icon:hover { background: var(--green-soft); color: var(--text-strong); }

/* ================================================================ navigation */

.lp-nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); display: flex; align-items: center;
    transition: background .3s ease, border-color .3s ease; border-bottom: 1px solid transparent; }
.lp-nav.scrolled { background: color-mix(in srgb, var(--bg) 95%, transparent); border-bottom-color: var(--line);
    }
.lp-nav-in { display: flex; align-items: center; gap: 24px; }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.lp-word { font-family: var(--heading); font-weight: 700; font-size: 1.22rem; color: var(--text-strong); letter-spacing: -.01em; }
.lp-word span { color: var(--green-2); }
.lp-links { display: flex; gap: 4px; margin-inline: auto; }
.lp-links a { padding: 8px 12px; border-radius: 10px; font-size: .9rem; font-weight: 500; color: var(--muted); text-decoration: none;
    transition: color .2s ease, background .2s ease; }
.lp-links a:hover, .lp-links a.on { color: var(--text-strong); background: var(--panel-2); }
.lp-nav-acts { display: flex; align-items: center; gap: 8px; }
.lp-burger { display: none; }

/* ================================================================ hero */

.lp-hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 90px; overflow: hidden; isolation: isolate; }
.lp-field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.lp-hero-glow { position: absolute; inset: -20% -10% auto; height: 120%; z-index: -2; pointer-events: none;
    background:
        radial-gradient(40% 45% at 72% 42%, rgba(64, 182, 5, .22), transparent 70%),
        radial-gradient(30% 35% at 18% 20%, rgba(34, 197, 94, .1), transparent 70%),
        radial-gradient(60% 50% at 50% 110%, rgba(64, 182, 5, .12), transparent 70%); }
html[data-theme="light"] .lp-hero-glow {
    background:
        radial-gradient(40% 45% at 72% 42%, rgba(64, 182, 5, .16), transparent 70%),
        radial-gradient(30% 35% at 18% 20%, rgba(34, 197, 94, .1), transparent 70%); }
.lp-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; z-index: -1; pointer-events: none;
    background: linear-gradient(to bottom, transparent, var(--bg)); }

.lp-hero-in { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: 48px; align-items: center; }
.lp-hero-copy > * { animation: lp-rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.lp-hero-copy > :nth-child(2) { animation-delay: .08s; }
.lp-hero-copy > :nth-child(3) { animation-delay: .16s; }
.lp-hero-copy > :nth-child(4) { animation-delay: .24s; }
.lp-hero-copy > :nth-child(5) { animation-delay: .32s; }

.lp-livepill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 8px 6px 14px; border-radius: 999px; margin-bottom: 26px;
    border: 1px solid var(--line-strong); background: var(--panel); font-size: .84rem; color: var(--muted);
    box-shadow: var(--shadow-sm); }
.lp-livepill .dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); }
.lp-livepill .dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--sky); animation: lp-ping 1.8s ease-out infinite; }
.lp-livepill .who { color: var(--text-strong); font-weight: 500; min-width: 10.5em; transition: opacity .25s ease; }
.lp-livepill .who.swap { opacity: 0; }
.lp-livepill .sep { width: 1px; height: 16px; background: var(--line-strong); }
.lp-livepill .needs { padding: 3px 10px; border-radius: 999px; background: var(--amber-soft); color: var(--amber); font-weight: 600; }

.lp-hero h1 { font-size: clamp(2.3rem, 4.3vw, 3.9rem); line-height: 1.05; font-weight: 700; text-wrap: balance; }
.lp-head h2, .lp-split-copy h2, .lp-final-card h2 { text-wrap: balance; }
.lp-hero h1 .lp-grad { display: block; margin-top: 6px; }
.lp-lead { margin-top: 28px; font-size: clamp(1.02rem, 1.4vw, 1.17rem); color: var(--muted); max-width: 37em; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.lp-cta.center { justify-content: center; }
.lp-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 30px 0 0; font-size: .86rem; color: var(--faint); }
.lp-proof i { color: var(--green-2); margin-right: 6px; }

.lp-scrollcue { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center; color: var(--faint); border: 1px solid var(--line-strong); text-decoration: none; animation: lp-bob 2.4s ease-in-out infinite; }
.lp-scrollcue:hover { color: var(--text-strong); }

/* ---------------------------------------------------------------- the 3D console */

.lp-stage-wrap { position: relative; height: 560px; perspective: 1700px; perspective-origin: 50% 40%;
    animation: lp-stage-in 1.4s cubic-bezier(.2, .7, .2, 1) .2s both; }
.lp-stage { position: absolute; inset: 0; transform-style: preserve-3d;
    transform: rotateX(calc(12deg + var(--ty, 0deg))) rotateY(calc(-16deg + var(--tx, 0deg))) rotateZ(1.5deg);
    transition: transform .6s cubic-bezier(.2, .7, .2, 1); }

.lp-rings { position: absolute; left: 50%; top: 56%; width: 760px; height: 760px; margin: -380px 0 0 -380px;
    transform: rotateX(78deg) translateZ(-140px); transform-style: preserve-3d; pointer-events: none; }
.lp-rings i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(64, 182, 5, .55);
    box-shadow: 0 0 26px rgba(64, 182, 5, .3); animation: lp-sonar 5.6s linear infinite; opacity: 0; }
.lp-rings i:nth-child(2) { animation-delay: 1.87s; }
.lp-rings i:nth-child(3) { animation-delay: 3.73s; }
html[data-theme="light"] .lp-rings i { border-color: rgba(47, 128, 0, .4); box-shadow: 0 0 30px rgba(47, 128, 0, .18); }

.lp-console { position: absolute; left: 50%; top: 50%; width: min(560px, 92%); translate: -50% -50%; transform: translateZ(0);
    border-radius: 20px; border: 1px solid var(--line-strong); background: linear-gradient(160deg, color-mix(in srgb, var(--panel-solid) 92%, transparent), color-mix(in srgb, var(--panel-solid) 80%, transparent));
    box-shadow: var(--shadow), 0 0 0 1px rgba(64, 182, 5, .08), 0 40px 120px rgba(64, 182, 5, .14);
    overflow: hidden; }
.lp-console::before { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(115deg, rgba(255, 255, 255, .08), transparent 30%); }
.lp-console-top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.lp-console-top .lights { display: flex; gap: 6px; }
.lp-console-top .lights i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.lp-console-top .lights i:first-child { background: #ef4444aa; }
.lp-console-top .lights i:nth-child(2) { background: #f59e0baa; }
.lp-console-top .lights i:nth-child(3) { background: #22c55eaa; }
.lp-console-top .title { font-weight: 600; color: var(--text-strong); }
.lp-console-top .title i { color: var(--green-2); margin-right: 4px; }
.lp-console-top .state { margin-left: auto; padding: 2px 9px; border-radius: 999px; background: var(--sky-soft); color: var(--sky); font-weight: 600; }

.lp-map { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 26px 26px; padding: 22px 20px 24px; aspect-ratio: 1.58; }
.lp-map-wires { position: absolute; inset: 22px 20px 24px; width: calc(100% - 40px); height: calc(100% - 46px); overflow: visible; }
.lp-map-wires path { fill: none; stroke: var(--line-strong); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.lp-map-wires path.flow { stroke: var(--green-2); stroke-width: 2; stroke-dasharray: 3 12; opacity: .9; animation: lp-dash 1.2s steps(8) infinite; }
.lp-node { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 8px; align-content: center;
    padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--panel-solid); font-size: .74rem; line-height: 1.25;
    transition: transform .35s ease; }
.lp-node i { grid-row: span 2; align-self: center; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
    background: var(--panel-2); color: var(--faint); font-size: .86rem; }
.lp-node b { color: var(--text-strong); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-node small { color: var(--faint); font-size: .66rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-node::after { content: ""; position: absolute; top: 7px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.lp-node.done i { background: var(--green-soft); color: var(--green-2); }
.lp-node.done::after { background: var(--green-2); }
.lp-node.on { border-color: var(--sky); box-shadow: 0 0 0 3px var(--sky-soft), 0 10px 30px rgba(56, 189, 248, .2); transform: translateY(-2px); }
.lp-node.on i { background: var(--sky-soft); color: var(--sky); }
.lp-node.on::after { background: var(--sky); animation: lp-blink 1s ease-in-out infinite; }
.lp-node.you.on { border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft), 0 10px 30px rgba(245, 158, 11, .2); }
.lp-node.you.on i { background: var(--amber-soft); color: var(--amber); }
.lp-node.you.on::after { background: var(--amber); }

.lp-float { position: absolute; border-radius: 16px; border: 1px solid var(--line-strong); background: var(--panel);
    box-shadow: var(--shadow-sm); padding: 12px 14px; font-size: .78rem;
    color: var(--muted); line-height: 1.35; animation: lp-hover 7s ease-in-out infinite; }
.lp-float b { color: var(--text-strong); font-weight: 600; }
.lp-float p { margin: 2px 0 0; }

.lp-f-approve { top: 2%; right: 0; width: 230px; transform: translateZ(130px); animation-delay: -1s; }
.lp-f-approve .k { display: inline-flex; gap: 6px; align-items: center; padding: 2px 9px; border-radius: 999px; background: var(--amber-soft); color: var(--amber); font-weight: 600; font-size: .7rem; }
.lp-f-approve .t { margin-top: 8px; font-family: var(--heading); font-weight: 700; color: var(--text-strong); font-size: .92rem; }
.lp-f-approve .p { margin-top: 2px; font-size: .72rem; }
.lp-f-approve .b { display: flex; gap: 6px; margin-top: 10px; }
.lp-f-approve .b span { flex: 1; text-align: center; padding: 6px 4px; border-radius: 8px; font-weight: 600; font-size: .72rem; }
.lp-f-approve .yes { background: var(--green-btn); color: #fff; transition: box-shadow .3s ease, transform .3s ease; }
.lp-f-approve .no { background: var(--red-soft); color: var(--red); }
.lp-f-approve .stamp { position: absolute; inset: 0; display: grid; place-items: center; border-radius: inherit; font-family: var(--heading); font-weight: 700;
    font-size: 1.3rem; color: var(--green-2); background: color-mix(in srgb, var(--panel-solid) 82%, transparent); opacity: 0; transition: opacity .35s ease; letter-spacing: .02em; }
.lp-f-approve .stamp::before { content: "\f272"; font-family: "bootstrap-icons"; margin-right: 6px; }
.lp-f-approve.pressed .yes { transform: scale(.94); box-shadow: 0 0 0 4px var(--green-soft); }
.lp-f-approve.approved .stamp { opacity: 1; }
.lp-f-approve.waiting { border-color: var(--amber); box-shadow: var(--shadow-sm), 0 0 0 4px var(--amber-soft); }

.lp-f-chat { left: 2%; bottom: 3%; width: 250px; display: flex; gap: 10px; transform: translateZ(170px); animation-delay: -3s; }
.lp-f-chat .av { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--sky-soft); color: var(--sky); }

.lp-f-lead { left: 2%; top: 4%; display: flex; align-items: center; gap: 10px; width: 220px; transform: translateZ(90px); animation-delay: -5s; }
.lp-f-lead .ring { position: relative; flex: none; width: 42px; height: 42px; }
.lp-f-lead .ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.lp-f-lead circle { fill: none; stroke: var(--line-strong); stroke-width: 3.5; }
.lp-f-lead circle.v { stroke: var(--green-2); stroke-linecap: round; stroke-dasharray: 94.2; stroke-dashoffset: 13; }
.lp-f-lead .ring span { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; color: var(--text-strong); font-size: .78rem; }

.lp-f-post { right: 0; bottom: 9%; width: 200px; transform: translateZ(110px); animation-delay: -2s; }
.lp-f-post .h { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--text-strong); }
.lp-f-post .h i { color: #0a66c2; }
html[data-theme="light"] .lp-f-post .h i { color: #0a66c2; }
.lp-f-post .h span { margin-left: auto; font-weight: 400; color: var(--faint); font-size: .7rem; }
.lp-f-post .bars { display: flex; align-items: flex-end; gap: 4px; height: 40px; margin: 10px 0 8px; }
.lp-f-post .bars i { flex: 1; border-radius: 3px 3px 1px 1px; background: linear-gradient(to top, rgba(64, 182, 5, .35), var(--green-2)); }
.lp-f-post .bars i:nth-child(1) { height: 30%; animation-delay: -.2s; }
.lp-f-post .bars i:nth-child(2) { height: 45%; animation-delay: -.5s; }
.lp-f-post .bars i:nth-child(3) { height: 38%; animation-delay: -.9s; }
.lp-f-post .bars i:nth-child(4) { height: 62%; animation-delay: -1.3s; }
.lp-f-post .bars i:nth-child(5) { height: 55%; animation-delay: -1.7s; }
.lp-f-post .bars i:nth-child(6) { height: 80%; animation-delay: -2.1s; }
.lp-f-post .bars i:nth-child(7) { height: 100%; animation-delay: -2.5s; }
.lp-f-post .n { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--text-strong); }
.lp-f-post .n i { color: var(--green-2); font-size: .74rem; }
.lp-f-post .n i:nth-of-type(2) { margin-left: 8px; color: var(--faint); }
.lp-f-post [data-likes] { display: inline-block; }

/* ================================================================ ticker */

.lp-ticker { position: relative; border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 16px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.lp-ticker-track { display: flex; width: max-content; animation: lp-marquee 60s linear infinite; }
.lp-ticker:hover .lp-ticker-track { animation-play-state: paused; }
.lp-ticker ul { display: flex; gap: 46px; list-style: none; margin: 0; padding: 0 23px; }
.lp-ticker li { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: .9rem; color: var(--muted); }
.lp-ticker li b { color: var(--text-strong); font-weight: 600; }
.lp-ticker li i { color: var(--green-2); }

/* ================================================================ sections */

.lp-section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.lp-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.lp-head h2 { margin-top: 14px; font-size: clamp(1.9rem, 3.8vw, 3.05rem); line-height: 1.1; font-weight: 700; }
.lp-head p { margin-top: 18px; color: var(--muted); font-size: 1.05rem; }

/* ---------------------------------------------------------------- positioning */

.lp-diff-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.lp-diff-card { position: relative; padding: 30px 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--panel-2); }
.lp-diff-card > i { font-size: 1.6rem; color: var(--faint); }
.lp-diff-card h3 { margin-top: 16px; font-size: 1.3rem; }
.lp-diff-card p { margin-top: 8px; color: var(--muted); font-size: .95rem; }
.lp-diff-card ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; font-size: .9rem; }
.lp-diff-card li { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.lp-diff-card li::before { font-family: "bootstrap-icons"; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; flex: none; }
.lp-diff-card li.yes::before { content: "\f272"; background: var(--green-soft); color: var(--green-2); }
.lp-diff-card li.no::before { content: "\f659"; background: var(--panel-2); color: var(--faint); border: 1px solid var(--line); }
.lp-diff-card li.no { color: var(--faint); }
.lp-diff-card.hot { border-color: transparent; background:
    linear-gradient(var(--panel-solid), var(--panel-solid)) padding-box,
    linear-gradient(140deg, rgba(134, 239, 172, .8), rgba(64, 182, 5, .5) 40%, rgba(64, 182, 5, .08)) border-box;
    border: 1px solid transparent; box-shadow: 0 30px 80px rgba(64, 182, 5, .16); }
.lp-diff-card.hot li { color: var(--text); }
.lp-diff-badge { position: absolute; top: 18px; right: 18px; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700;
    background: var(--green-soft); color: var(--green-2); letter-spacing: .04em; }

/* ---------------------------------------------------------------- the team */

.lp-team-in { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.lp-orbit { position: relative; height: 440px; }
.lp-orbit-ring { position: absolute; left: 50%; top: 50%; width: 86%; height: 52%; translate: -50% -50%; border-radius: 50%;
    border: 1px dashed var(--line-strong); box-shadow: 0 0 80px rgba(64, 182, 5, .08), inset 0 0 60px rgba(64, 182, 5, .08); }
.lp-orbit-ring::after { content: ""; position: absolute; inset: 14%; border-radius: 50%; border: 1px solid var(--line); }
.lp-orbit-core { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 50; width: 116px; height: 116px; border-radius: 50%;
    display: grid; place-content: center; justify-items: center; gap: 4px; text-align: center;
    background: radial-gradient(circle at 35% 30%, rgba(134, 239, 172, .3), rgba(64, 182, 5, .18) 45%, var(--panel-solid) 75%);
    border: 1px solid rgba(64, 182, 5, .45); box-shadow: 0 0 60px rgba(64, 182, 5, .3), inset 0 0 30px rgba(64, 182, 5, .2); }
.lp-orbit-core i { font-size: 2rem; color: var(--green-3); line-height: 1; }
html[data-theme="light"] .lp-orbit-core i { color: var(--green-btn); }
.lp-orbit-core b { font-family: var(--heading); font-size: .92rem; color: var(--text-strong); }
.lp-orbit-core .pulse { position: absolute; inset: -1px; border-radius: 50%; border: 2px solid rgba(64, 182, 5, .6); animation: lp-core 2.8s ease-out infinite; }
.lp-agent { position: absolute; left: 50%; top: 50%; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0; border: 0;
    background: none; color: var(--muted); font: 500 .8rem var(--body); cursor: pointer; width: 108px; margin: -26px 0 0 -54px; will-change: transform, opacity; }
.lp-agent i { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.3rem; color: var(--green-2);
    background: var(--panel-solid); border: 1px solid var(--line-strong); box-shadow: var(--shadow-sm); transition: background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease; }
.lp-agent span { white-space: nowrap; transition: color .25s ease; }
.lp-agent:hover i, .lp-agent.sel i { background: var(--green-btn); color: #fff; border-color: transparent; box-shadow: 0 10px 30px rgba(64, 182, 5, .4); }
.lp-agent:hover span, .lp-agent.sel span { color: var(--text-strong); }
.lp-agent:focus-visible { outline: none; }
.lp-agent:focus-visible i { outline: 2px solid var(--green-2); outline-offset: 3px; }

.lp-agent-card { position: relative; padding: 30px; border-radius: var(--r-lg); border: 1px solid var(--line-strong); background: var(--panel);
    box-shadow: var(--shadow); min-height: 330px; }
.lp-agent-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; padding: 1px;
    background: linear-gradient(140deg, rgba(134, 239, 172, .5), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; }
.lp-agent-card-top { display: flex; align-items: center; gap: 16px; }
.lp-agent-card-top .ic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 1.5rem; color: #fff;
    background: linear-gradient(140deg, #5fd11c, #2f8000); box-shadow: 0 12px 30px rgba(64, 182, 5, .35); }
.lp-agent-card h3 { font-size: 1.45rem; }
.lp-agent-card .st { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--sky); margin-top: 2px; }
.lp-agent-card .st .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sky); animation: lp-blink 1.2s ease-in-out infinite; }
.lp-agent-card > p { margin-top: 18px; color: var(--muted); font-size: 1rem; }
.lp-agent-sample { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line); }
.lp-agent-sample span { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.lp-agent-sample p { margin-top: 4px; color: var(--text); font-size: .95rem; }
.lp-agent-next { margin-top: 18px; font-size: .9rem; color: var(--muted); }
.lp-agent-next i { color: var(--green-2); margin-right: 6px; }
.lp-agent-next b { color: var(--text-strong); }

/* The orbit flattens into a grid where there is no room for it. */
.lp-orbit.flat { height: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 8px; padding-top: 4px; }
.lp-orbit.flat .lp-orbit-ring, .lp-orbit.flat .lp-orbit-core { display: none; }
.lp-orbit.flat .lp-agent { position: static; margin: 0; width: auto; transform: none !important; opacity: 1 !important; }

/* ---------------------------------------------------------------- the week */

.lp-steps { position: relative; list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; --p: 0; }
.lp-steps::before, .lp-steps::after { content: ""; position: absolute; left: 50%; top: 10px; width: 2px; margin-left: -1px; border-radius: 2px; }
.lp-steps::before { bottom: 10px; background: var(--line-strong); }
.lp-steps::after { height: calc((100% - 20px) * var(--p)); background: linear-gradient(to bottom, var(--green-3), var(--green-2)); box-shadow: 0 0 16px rgba(64, 182, 5, .6); }
.lp-step { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr); align-items: center; }
.lp-step + .lp-step { margin-top: -38px; }
.lp-step-dot { grid-column: 2; grid-row: 1; justify-self: center; z-index: 1; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
    background: var(--panel-solid); border: 1px solid var(--line-strong); color: var(--faint); font-size: 1.05rem; transition: all .4s ease; }
.lp-step-card { grid-row: 1; grid-column: 1; padding: 22px 24px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--panel-2);
    transition: border-color .4s ease, background .4s ease, transform .4s ease, opacity .4s ease; opacity: .55; transform: translateX(-10px); }
.lp-step:nth-child(even) .lp-step-card { grid-column: 3; transform: translateX(10px); }
.lp-step-card .when { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: .76rem; font-weight: 600; color: var(--faint); text-transform: uppercase; letter-spacing: .08em; }
.lp-step-card .when em { font-style: normal; text-transform: none; letter-spacing: 0; padding: 2px 9px; border-radius: 999px; background: var(--green-soft); color: var(--green-2); }
.lp-step-card h3 { margin-top: 8px; font-size: 1.25rem; }
.lp-step-card p { margin-top: 6px; color: var(--muted); font-size: .95rem; }
.lp-step.on .lp-step-dot { background: var(--green-btn); border-color: transparent; color: #fff; box-shadow: 0 0 0 6px var(--green-soft), 0 0 30px rgba(64, 182, 5, .5); }
.lp-step.on .lp-step-card { opacity: 1; transform: none; border-color: var(--line-strong); background: var(--panel); }
.lp-step.you .lp-step-card .when em { background: var(--amber-soft); color: var(--amber); }
.lp-step.you.on .lp-step-dot { background: var(--amber); box-shadow: 0 0 0 6px var(--amber-soft), 0 0 30px rgba(245, 158, 11, .5); }
.lp-step.you.on .lp-step-card { border-color: rgba(245, 158, 11, .45); }
.lp-loop { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 34px; font-family: var(--heading); font-size: 1.1rem; color: var(--text-strong); }
.lp-loop i { color: var(--green-2); font-size: 1.4rem; animation: lp-spin 6s linear infinite; }

/* ---------------------------------------------------------------- split sections */

.lp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.lp-split + .lp-split { margin-top: clamp(80px, 10vw, 130px); }
.lp-split-copy h2 { margin-top: 14px; font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.12; }
.lp-split-copy > p { margin-top: 18px; color: var(--muted); font-size: 1.05rem; }
.lp-split-copy > p b { color: var(--text-strong); }
.lp-checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.lp-checks li { display: flex; gap: 12px; color: var(--muted); }
.lp-checks li > i { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--green-soft); color: var(--green-2); }
.lp-checks li b { color: var(--text-strong); }
.lp-checks li span { padding-top: 5px; }
.lp-try { margin-top: 26px !important; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
    background: var(--amber-soft); color: var(--amber) !important; font-size: .88rem !important; font-weight: 600; }

/* ---------------------------------------------------------------- inbox demo */

.lp-inbox { position: relative; border-radius: var(--r-lg); border: 1px solid var(--line-strong); background: var(--panel); box-shadow: var(--shadow);
    padding: 20px; }
.lp-inbox:focus-visible { outline: 2px solid var(--green-2); outline-offset: 4px; }
.lp-inbox-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.lp-inbox-head b { display: block; font-family: var(--heading); font-size: 1.1rem; color: var(--text-strong); }
.lp-inbox-head span { font-size: .8rem; color: var(--faint); }
.lp-inbox-pill { padding: 5px 12px; border-radius: 999px; background: var(--amber-soft); color: var(--amber) !important; font-weight: 700; font-size: .85rem !important; }
.lp-deck { position: relative; height: 262px; margin-top: 18px; perspective: 1000px; }
.lp-card { position: absolute; inset: 0 0 auto; height: 228px; padding: 18px; border-radius: 16px; border: 1px solid var(--line-strong);
    background: var(--panel-solid); box-shadow: var(--shadow-sm); transform-origin: 50% 100%;
    transform: translateY(calc(var(--i, 0) * 13px)) scale(calc(1 - var(--i, 0) * .05)); z-index: calc(10 - var(--i, 0));
    opacity: calc(1 - var(--i, 0) * .3); transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .5s ease; }
.lp-card[data-depth="3"], .lp-card[data-depth="4"] { opacity: 0; }
.lp-card > * { transition: opacity .3s ease; }
.lp-card:not([data-depth="0"]) > * { opacity: 0; }
.lp-card .k { display: flex; align-items: center; gap: 8px; font-size: .76rem; color: var(--faint); }
.lp-card .k .tag { display: inline-flex; gap: 5px; align-items: center; padding: 2px 9px; border-radius: 999px; background: var(--amber-soft); color: var(--amber); font-weight: 600; }
.lp-card .k > i { color: #0a66c2; }
.lp-card .k .bi-twitter-x { color: var(--text-strong); }
.lp-card h3 { margin-top: 10px; font-size: 1.08rem; line-height: 1.3; }
.lp-card .body { margin-top: 8px; color: var(--muted); font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lp-card .meta { position: absolute; left: 18px; right: 18px; bottom: 14px; font-size: .76rem; color: var(--faint); }
.lp-card .meta i { color: var(--green-2); margin-right: 4px; }
.lp-card::after { position: absolute; top: 22px; right: 18px; padding: 4px 12px; border-radius: 10px; border: 2px solid; font-family: var(--heading); font-weight: 700;
    font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; opacity: 0; transform: rotate(8deg) scale(1.3); transition: opacity .2s ease, transform .25s ease; }
.lp-card.go-yes::after { content: "Approved"; color: var(--green-2); opacity: 1; transform: rotate(8deg) scale(1); }
.lp-card.go-no::after { content: "Sent back"; color: var(--red); opacity: 1; transform: rotate(-8deg) scale(1); right: auto; left: 18px; }
.lp-card.out-yes { transform: translate3d(115%, -20px, 0) rotate(14deg); opacity: 0; transition: transform .55s cubic-bezier(.5, 0, .75, .3) .18s, opacity .45s ease .25s; }
.lp-card.out-no { transform: translate3d(-115%, -20px, 0) rotate(-14deg); opacity: 0; transition: transform .55s cubic-bezier(.5, 0, .75, .3) .18s, opacity .45s ease .25s; }
.lp-deck-done { position: absolute; inset: 0 0 34px; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; animation: lp-rise .5s ease both; }
.lp-deck-done[hidden] { display: none; }
.lp-deck-done > i { font-size: 2.4rem; color: var(--green-2); }
.lp-deck-done b { font-family: var(--heading); font-size: 1.15rem; color: var(--text-strong); }
.lp-deck-done span { color: var(--muted); font-size: .88rem; max-width: 26em; margin-bottom: 10px; }
.lp-inbox-acts { display: flex; gap: 10px; }
.lp-inbox-acts .lp-btn { flex: 1; }
.lp-inbox-acts .lp-btn[disabled] { opacity: .4; pointer-events: none; }

/* ---------------------------------------------------------------- policies demo */

.lp-split-rev .lp-policies { order: -1; }
.lp-policies { border-radius: var(--r-lg); border: 1px solid var(--line-strong); background: var(--panel); box-shadow: var(--shadow); padding: 22px;
    transition: filter .4s ease; }
.lp-policies-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.lp-policies-head b { font-family: var(--heading); font-size: 1.1rem; color: var(--text-strong); }
.lp-switch { display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--muted); font: 600 .84rem var(--body); }
.lp-switch .knob { position: relative; width: 42px; height: 24px; border-radius: 999px; background: var(--line-strong); transition: background .25s ease; }
.lp-switch .knob::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .25s ease; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.lp-switch[aria-checked="true"] { color: var(--red); }
.lp-switch[aria-checked="true"] .knob { background: var(--red); }
.lp-switch[aria-checked="true"] .knob::after { transform: translateX(18px); }
.lp-paused { margin: 10px 0 4px; padding: 10px 12px; border-radius: 12px; background: var(--red-soft); color: var(--red); font-size: .86rem; font-weight: 500; animation: lp-rise .35s ease both; }
.lp-paused[hidden] { display: none; }
.lp-policies.is-paused .lp-policy { opacity: .45; filter: grayscale(.6); }
.lp-policy { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); transition: opacity .3s ease, filter .3s ease; }
.lp-policy:last-child { border-bottom: 0; }
.lp-policy > span { font-size: .92rem; color: var(--text-strong); font-weight: 500; }
.lp-policy > span i { color: var(--faint); margin-right: 4px; }
.lp-policy .seg { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line); }
.lp-policy .seg button { padding: 5px 10px; border: 0; border-radius: 7px; background: none; color: var(--faint); font: 600 .74rem var(--body); cursor: pointer; transition: all .2s ease; }
.lp-policy .seg button:hover:not([disabled]) { color: var(--text-strong); }
.lp-policy .seg button[aria-checked="true"], .lp-policy .seg button.on { background: var(--panel-solid); color: var(--text-strong); box-shadow: var(--shadow-sm); }
.lp-policy .seg button[aria-checked="true"]:first-child { color: var(--green-2); }
.lp-policy .seg button[aria-checked="true"]:nth-child(2), .lp-policy .seg button.on:nth-child(2) { color: var(--amber); }
.lp-policy .seg button[aria-checked="true"]:last-child { color: var(--red); }
.lp-policy.locked .seg button { cursor: not-allowed; }
.lp-policy.locked > span { color: var(--muted); }

/* ---------------------------------------------------------------- team channel demo */

.lp-chat { border-radius: var(--r-lg); border: 1px solid var(--line-strong); background: var(--panel); box-shadow: var(--shadow); overflow: hidden;
    }
.lp-chat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.lp-chat-head b { font-family: var(--heading); font-size: 1.05rem; color: var(--text-strong); }
.lp-chat-members { display: flex; gap: 4px; }
.lp-chat-members i { position: relative; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .68rem; background: var(--panel-2); color: var(--faint); }
.lp-chat-members i.on { background: var(--sky-soft); color: var(--sky); }
.lp-chat-members i.on::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); border: 2px solid var(--panel-solid); }
.lp-chat-feed { height: 400px; padding: 18px 20px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; }
.lp-msg { display: flex; gap: 10px; animation: lp-msg .5s cubic-bezier(.2, .7, .2, 1) both; }
.lp-msg .av { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: .85rem; background: var(--green-soft); color: var(--green-2); }
.lp-msg .av.lead { background: var(--sky-soft); color: var(--sky); }
.lp-msg .av.me { border-radius: 50%; background: var(--amber-soft); color: var(--amber); font-weight: 700; font-family: var(--heading); }
.lp-msg .who { font-size: .8rem; color: var(--faint); }
.lp-msg .who b { color: var(--text-strong); font-weight: 600; margin-right: 6px; }
.lp-msg .tx { margin-top: 2px; font-size: .92rem; color: var(--text); }
.lp-msg .go { display: inline-block; margin-top: 4px; font-size: .78rem; color: var(--green-2); font-weight: 600; }
.lp-msg.mine { flex-direction: row-reverse; }
.lp-msg.mine > div { display: flex; flex-direction: column; align-items: flex-end; }
.lp-msg.mine .tx { padding: 9px 13px; border-radius: 14px 14px 4px 14px; background: var(--green-soft); border: 1px solid rgba(64, 182, 5, .3); color: var(--text-strong); max-width: 92%; }
.lp-typing { display: inline-flex; gap: 4px; padding: 8px 0; }
.lp-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); animation: lp-dot 1.2s ease-in-out infinite; }
.lp-typing i:nth-child(2) { animation-delay: .15s; }
.lp-typing i:nth-child(3) { animation-delay: .3s; }
.lp-chat-input { display: flex; align-items: center; gap: 10px; margin: 0 16px 16px; padding: 6px 6px 6px 16px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--panel-2); }
.lp-chat-input span { flex: 1; min-width: 0; color: var(--faint); font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-chat-input span::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--green-2); animation: lp-blink 1s steps(1) infinite; }

/* ---------------------------------------------------------------- features (bento) */

.lp-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.lp-tile { position: relative; overflow: hidden; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--panel-2);
    transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .35s ease, box-shadow .35s ease; isolation: isolate; }
.lp-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s ease;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(64, 182, 5, .14), transparent 45%); }
.lp-tile:hover { transform: translateY(-4px); border-color: rgba(64, 182, 5, .35); box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
.lp-tile:hover::before { opacity: 1; }
.lp-tile h3 { font-size: 1.18rem; margin-top: 18px; }
.lp-tile p { margin-top: 8px; color: var(--muted); font-size: .93rem; }
.t-brain { grid-column: span 3; grid-row: span 2; display: flex; flex-direction: column; }
.t-brain .lp-ill { flex: 1; min-height: 300px; }
.t-map, .t-net, .t-agency, .t-ai { grid-column: span 3; }
.t-replies, .t-leads, .t-visual, .t-radar, .t-ab, .t-learn { grid-column: span 2; }

.lp-ill { position: relative; height: 130px; border-radius: 16px; background: var(--panel-2); border: 1px solid var(--line); overflow: hidden; }

/* Business Brain: a core with its sections around it. */
.ill-brain { display: grid; place-items: center;
    background: radial-gradient(circle at 50% 50%, rgba(64, 182, 5, .14), transparent 60%), var(--panel-2); }
.ill-brain::before, .ill-brain::after { content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px dashed var(--line-strong); translate: -50% -50%; }
.ill-brain::before { width: 250px; height: 250px; animation: lp-spin 40s linear infinite; }
.ill-brain::after { width: 160px; height: 160px; border-style: solid; border-color: var(--line); }
.ill-brain .c { position: relative; z-index: 1; width: 78px; height: 78px; border-radius: 24px; display: grid; place-items: center; font-size: 2rem; color: #fff;
    background: linear-gradient(140deg, #5fd11c, #2f8000); box-shadow: 0 0 0 10px var(--green-soft), 0 20px 50px rgba(64, 182, 5, .45); animation: lp-breathe 3.6s ease-in-out infinite; }
.ill-brain .s { position: absolute; z-index: 1; padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600; color: var(--text-strong);
    background: var(--panel-solid); border: 1px solid var(--line-strong); box-shadow: var(--shadow-sm); animation: lp-hover 6s ease-in-out infinite; }
.ill-brain .s1 { left: 9%; top: 16%; }
.ill-brain .s2 { right: 10%; top: 12%; animation-delay: -1s; }
.ill-brain .s3 { left: 4%; top: 50%; animation-delay: -2s; }
.ill-brain .s4 { right: 6%; top: 48%; animation-delay: -3s; }
.ill-brain .s5 { left: 14%; bottom: 12%; animation-delay: -4s; }
.ill-brain .s6 { right: 14%; bottom: 14%; animation-delay: -5s; }

/* Live map: steps lighting up in turn. */
.ill-map { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 22px; padding: 22px 28px; align-content: center; }
.ill-map::before { content: ""; position: absolute; left: 40px; right: 40px; top: 50%; height: 1px; background: var(--line-strong); }
/* Each step is two overlays faded in turn (working, then done): opacity only, so no repaints. */
.ill-map i { position: relative; height: 30px; border-radius: 9px; background: var(--panel-solid); border: 1px solid var(--line-strong); }
.ill-map i::before, .ill-map i::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; opacity: 0; }
.ill-map i::before { background: var(--green-soft); border: 1px solid rgba(64, 182, 5, .5); animation: lp-step-done 4s linear infinite var(--d, 0s); }
.ill-map i::after { background: var(--sky-soft); border: 1px solid var(--sky); box-shadow: 0 0 16px rgba(56, 189, 248, .35); animation: lp-step-on 4s ease-in-out infinite var(--d, 0s); }
.ill-map i:nth-child(2) { --d: .5s; } .ill-map i:nth-child(3) { --d: 1s; } .ill-map i:nth-child(4) { --d: 1.5s; } .ill-map i:nth-child(5) { --d: 2s; }
.ill-map i:nth-child(6) { --d: 2.5s; } .ill-map i:nth-child(7) { --d: 3s; } .ill-map i:nth-child(8) { --d: 3.5s; }

/* Networks: a hub and its two connections. */
.ill-net { display: grid; place-items: center; }
.ill-net::before { content: ""; position: absolute; left: 22%; right: 22%; top: 50%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--green-2) 0 8px, transparent 8px 16px); animation: lp-wire 2.4s ease-in-out infinite; opacity: .7; }
.ill-net .hub { position: relative; z-index: 1; padding: 8px; border-radius: 16px; background: var(--panel-solid); box-shadow: 0 0 0 8px var(--green-soft); animation: lp-breathe 3s ease-in-out infinite; }
.ill-net .sat { position: absolute; top: 50%; translate: 0 -50%; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; background: var(--panel-solid); border: 1px solid var(--line-strong); }
.ill-net .sat.in { left: 12%; color: #0a66c2; }
.ill-net .sat.x { right: 12%; color: var(--text-strong); }

/* Replies: a question and the drafted answer. */
.ill-replies { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 16px; }
.ill-replies .b { max-width: 82%; padding: 7px 11px; border-radius: 12px; font-size: .76rem; line-height: 1.35; }
.ill-replies .in { background: var(--panel-solid); border: 1px solid var(--line-strong); color: var(--text); border-bottom-left-radius: 4px; }
.ill-replies .out { align-self: flex-end; background: var(--green-soft); color: var(--text-strong); border: 1px solid rgba(64, 182, 5, .3); border-bottom-right-radius: 4px; animation: lp-reply 5s ease-in-out infinite; transform-origin: right bottom; }

/* Leads: a score gauge and the way to the CRM. */
.ill-leads { display: flex; align-items: center; justify-content: center; gap: 18px; }
.ill-leads .gauge { position: relative; width: 120px; }
.ill-leads svg { width: 100%; display: block; }
.ill-leads path { fill: none; stroke-width: 10; stroke-linecap: round; }
.ill-leads path.bg { stroke: var(--line-strong); }
.ill-leads path.v { stroke: var(--green-2); stroke-dasharray: 157; stroke-dashoffset: 157; animation: lp-gauge 4s steps(24) infinite; }
.ill-leads .gauge b { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-family: var(--heading); font-size: 1.5rem; color: var(--text-strong); }
.ill-leads .chip { padding: 6px 12px; border-radius: 999px; background: var(--green-soft); color: var(--green-2); font-weight: 700; font-size: .8rem; animation: lp-nudge 2s ease-in-out infinite; }

/* Visuals: a carousel fanning out. */
.ill-visual { display: grid; place-items: center; }
.ill-visual i { position: absolute; width: 74px; height: 92px; border-radius: 10px; border: 1px solid var(--line-strong); background: linear-gradient(160deg, var(--panel-solid), color-mix(in srgb, var(--green-2) 18%, var(--panel-solid)));
    box-shadow: var(--shadow-sm); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.ill-visual i::before { content: ""; position: absolute; left: 10px; right: 10px; top: 12px; height: 34px; border-radius: 6px; background: var(--green-soft); }
.ill-visual i::after { content: ""; position: absolute; left: 10px; right: 22px; top: 56px; height: 6px; border-radius: 3px; background: var(--line-strong); box-shadow: 0 12px 0 var(--line); }
.ill-visual i:nth-child(1) { transform: rotate(-14deg) translateX(-34px); }
.ill-visual i:nth-child(2) { transform: rotate(-5deg) translateX(-11px); }
.ill-visual i:nth-child(3) { transform: rotate(5deg) translateX(11px); }
.ill-visual i:nth-child(4) { transform: rotate(14deg) translateX(34px); }
.lp-tile:hover .ill-visual i:nth-child(1) { transform: rotate(-22deg) translateX(-70px) translateY(6px); }
.lp-tile:hover .ill-visual i:nth-child(2) { transform: rotate(-8deg) translateX(-24px); }
.lp-tile:hover .ill-visual i:nth-child(3) { transform: rotate(8deg) translateX(24px); }
.lp-tile:hover .ill-visual i:nth-child(4) { transform: rotate(22deg) translateX(70px) translateY(6px); }

/* Competitors: a radar sweep, the most echo of them all. */
.ill-radar::before { content: ""; position: absolute; left: 50%; top: 50%; width: 112px; height: 112px; translate: -50% -50%; border-radius: 50%;
    border: 1px solid var(--line-strong); background: radial-gradient(circle, transparent 32%, var(--line) 33%, transparent 34%, transparent 64%, var(--line) 65%, transparent 66%); }
.ill-radar .sweep { position: absolute; left: 50%; top: 50%; width: 112px; height: 112px; translate: -50% -50%; border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(64, 182, 5, .55), transparent 25%); animation: lp-spin 3s linear infinite; }
.ill-radar i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--green-2); box-shadow: 0 0 12px var(--green-2); animation: lp-blip 3s linear infinite; }
.ill-radar i:nth-of-type(1) { left: calc(50% + 22px); top: calc(50% - 30px); animation-delay: .25s; }
.ill-radar i:nth-of-type(2) { left: calc(50% + 30px); top: calc(50% + 18px); animation-delay: .9s; }
.ill-radar i:nth-of-type(3) { left: calc(50% - 38px); top: calc(50% + 6px); animation-delay: 2.1s; }

/* A/B: two bars, one winner. */
.ill-ab { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 18px 22px; }
.ill-ab div { display: flex; align-items: center; gap: 10px; }
.ill-ab span { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-weight: 700; font-size: .78rem; background: var(--panel-solid); border: 1px solid var(--line-strong); color: var(--text-strong); }
.ill-ab i { height: 14px; border-radius: 7px; width: var(--w); background: var(--line-strong); transform-origin: left; animation: lp-grow 4s cubic-bezier(.2, .7, .2, 1) infinite; }
.ill-ab div:last-child i { background: linear-gradient(90deg, #2f8000, var(--green-2)); box-shadow: 0 0 16px rgba(64, 182, 5, .4); }
.ill-ab div:last-child::after { content: "Winner"; font-size: .7rem; font-weight: 700; color: var(--green-2); animation: lp-winner 4s ease infinite; }

/* Learning: the line keeps climbing. */
.ill-learn svg { position: absolute; inset: 18px 0 0; width: 100%; height: calc(100% - 18px); }
.ill-learn .line { fill: none; stroke: var(--green-2); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-dasharray: 400; stroke-dashoffset: 400; animation: lp-draw 5s steps(30) infinite; }
.ill-learn .area { fill: rgba(64, 182, 5, .14); animation: lp-area 5s ease-in-out infinite; }

/* Agencies: switching between brands. */
.ill-agency { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 14px; }
.ill-agency span { padding: 9px 14px; border-radius: 12px; font-size: .82rem; font-weight: 600; color: var(--muted); background: var(--panel-solid); border: 1px solid var(--line); white-space: nowrap; }
.ill-agency span i { color: var(--green-2); margin-right: 4px; }
.ill-agency span.on { color: var(--text-strong); border-color: rgba(64, 182, 5, .45); box-shadow: 0 0 0 4px var(--green-soft); transform: scale(1.08); }

/* AI: two providers and a model list. */
.ill-ai { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 14px; flex-wrap: wrap; }
.ill-ai .m { padding: 8px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600; border: 1px solid var(--line-strong); color: var(--muted); background: var(--panel-solid); transition: background .3s ease, color .3s ease, border-color .3s ease; }
.ill-ai .m.on { background: var(--green-btn); color: #fff; border-color: transparent; }
.ill-ai .sel { padding: 8px 14px; border-radius: 10px; font-size: .82rem; color: var(--muted); border: 1px solid var(--line-strong); background: var(--panel-2); }
.ill-ai .sel b { color: var(--text-strong); margin: 0 6px; }

/* ---------------------------------------------------------------- trust */

.lp-trust { background: linear-gradient(to bottom, transparent, var(--bg-2) 20%, var(--bg-2) 80%, transparent); }
.lp-trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lp-trust-item { padding: 26px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--panel-2); transition: border-color .3s ease, transform .3s ease; }
.lp-trust-item:hover { border-color: rgba(64, 182, 5, .35); transform: translateY(-3px); }
.lp-trust-item > i { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 1.2rem; color: var(--green-2); background: var(--green-soft); }
.lp-trust-item h3 { margin-top: 16px; font-size: 1.1rem; }
.lp-trust-item p { margin-top: 6px; color: var(--muted); font-size: .92rem; }

/* ---------------------------------------------------------------- questions */

.lp-faq-in { max-width: 840px; }
.lp-faq-list { display: grid; gap: 12px; }
.lp-faq details { border-radius: var(--r-md); border: 1px solid var(--line); background: var(--panel-2); transition: border-color .3s ease, background .3s ease; }
.lp-faq details[open] { border-color: var(--line-strong); background: var(--panel); }
.lp-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px;
    font-family: var(--heading); font-weight: 500; font-size: 1.08rem; color: var(--text-strong); }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "\f64d"; font-family: "bootstrap-icons"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
    font-size: .85rem; background: var(--green-soft); color: var(--green-2); transition: transform .3s ease; }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq details p { padding: 0 24px 22px; color: var(--muted); }
.lp-faq details[open] p { animation: lp-rise .35s ease both; }

/* ---------------------------------------------------------------- call to action */

.lp-final-card { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(56px, 8vw, 96px) clamp(24px, 6vw, 80px);
    border-radius: 32px; border: 1px solid rgba(64, 182, 5, .35); display: grid; justify-items: center;
    background: radial-gradient(70% 90% at 50% 0%, rgba(64, 182, 5, .28), transparent 70%), linear-gradient(180deg, var(--panel-solid), var(--bg-2));
    box-shadow: 0 40px 120px rgba(64, 182, 5, .18); }
.lp-final-card h2 { margin-top: 26px; font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1.1; max-width: 16em; }
.lp-final-card p { margin-top: 16px; color: var(--muted); font-size: 1.05rem; max-width: 36em; }
.lp-final-rings { position: absolute; left: 50%; top: calc(clamp(56px, 8vw, 96px) + 32px); width: 0; height: 0; z-index: -1; }
.lp-final-rings i { position: absolute; left: -300px; top: -300px; width: 600px; height: 600px; border-radius: 50%; border: 1px solid rgba(64, 182, 5, .5); animation: lp-sonar-flat 6s linear infinite; opacity: 0; }
.lp-final-rings i:nth-child(2) { animation-delay: 1.5s; }
.lp-final-rings i:nth-child(3) { animation-delay: 3s; }
.lp-final-rings i:nth-child(4) { animation-delay: 4.5s; }

/* ---------------------------------------------------------------- footer */

.lp-foot { border-top: 1px solid var(--line); padding: 34px 0 40px; }
.lp-foot-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.lp-foot nav { display: flex; gap: 6px 20px; flex-wrap: wrap; margin-inline: auto; }
.lp-foot nav a, .lp-made { font-size: .88rem; color: var(--muted); text-decoration: none; }
.lp-foot nav a:hover, .lp-made a:hover { color: var(--text-strong); }
.lp-made a { color: var(--green-2); text-decoration: none; font-weight: 600; }

/* ================================================================ scroll reveal (no script needed) */

@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        [data-reveal] { animation: lp-reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 24%; }
    }
}

/* ================================================================ keyframes */

@keyframes lp-reveal { from { opacity: 0; translate: 0 34px; scale: .97; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes lp-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes lp-stage-in { from { opacity: 0; transform: translateY(40px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes lp-hover { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes lp-bob { 0%, 100% { translate: -50% 0; } 50% { translate: -50% 8px; } }
@keyframes lp-ping { 0% { transform: scale(1); opacity: .6; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
@keyframes lp-blink { 50% { opacity: .25; } }
@keyframes lp-sonar { 0% { transform: scale(.18); opacity: 0; } 12% { opacity: .9; } 100% { transform: scale(1); opacity: 0; } }
@keyframes lp-sonar-flat { 0% { transform: scale(.1); opacity: 0; } 10% { opacity: .8; } 100% { transform: scale(1.3); opacity: 0; } }
@keyframes lp-dash { to { stroke-dashoffset: -30; } }
@keyframes lp-marquee { to { transform: translateX(-50%); } }
@keyframes lp-core { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes lp-spin { to { transform: rotate(360deg); } }
@keyframes lp-msg { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes lp-dot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; background: var(--sky); } }
@keyframes lp-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes lp-step-on { 0%, 100% { opacity: 0; } 10%, 22% { opacity: 1; } 30% { opacity: 0; } }
@keyframes lp-step-done { 0%, 24% { opacity: 0; } 30%, 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes lp-wire { 50% { opacity: .25; } }
@keyframes lp-reply { 0%, 18% { opacity: 0; transform: scale(.85); } 28%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes lp-gauge { 0% { stroke-dashoffset: 157; } 45%, 85% { stroke-dashoffset: 22; } 100% { stroke-dashoffset: 157; } }
@keyframes lp-nudge { 0%, 100% { transform: none; } 50% { transform: translateX(6px); } }
@keyframes lp-blip { 0%, 4% { opacity: 0; transform: scale(.4); } 8% { opacity: 1; transform: scale(1.3); } 60% { opacity: .5; transform: scale(1); } 100% { opacity: 0; } }
@keyframes lp-grow { 0% { transform: scaleX(0); } 40%, 90% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes lp-winner { 0%, 38% { opacity: 0; } 45%, 88% { opacity: 1; } 100% { opacity: 0; } }
@keyframes lp-draw { 0% { stroke-dashoffset: 400; } 55%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 400; } }
@keyframes lp-area { 0%, 25% { opacity: 0; } 60%, 90% { opacity: 1; } 100% { opacity: 0; } }

/* ================================================================ smaller screens */

@media (max-width: 1100px) {
    .lp-hero-in { grid-template-columns: minmax(0, 1fr); gap: 20px; text-align: center; }
    .lp-hero-copy { display: flex; flex-direction: column; align-items: center; }
    .lp-lead { margin-inline: auto; }
    .lp-cta, .lp-proof { justify-content: center; }
    .lp-stage-wrap { height: 520px; max-width: 760px; width: 100%; margin: 44px auto 0; }
    .lp-f-approve { transform: translateZ(90px); }
    .lp-f-chat { left: 6%; transform: translateZ(110px); }
    .lp-team-in { grid-template-columns: minmax(0, 1fr); }
    .lp-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .t-brain { grid-column: span 2; grid-row: auto; }
    .t-brain .lp-ill { min-height: 260px; }
    .t-map, .t-net, .t-agency, .t-ai, .t-replies, .t-leads, .t-visual, .t-radar, .t-ab, .t-learn { grid-column: span 1; }
}

@media (max-width: 900px) {
    .lp-links { display: none; position: absolute; top: var(--nav-h); left: 12px; right: 12px; flex-direction: column; padding: 10px;
        border-radius: 16px; border: 1px solid var(--line-strong); background: var(--panel-solid); box-shadow: var(--shadow); }
    .lp-links.open { display: flex; animation: lp-rise .25s ease both; }
    .lp-links a { padding: 12px 14px; font-size: 1rem; }
    .lp-burger { display: inline-flex; }
    .lp-nav-in { gap: 12px; }
    .lp-nav-acts { margin-left: auto; }
    .lp-diff-grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
    .lp-split { grid-template-columns: minmax(0, 1fr); }
    .lp-split-rev .lp-policies { order: 1; }
    .lp-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-steps::before, .lp-steps::after { left: 24px; }
    .lp-step { grid-template-columns: 48px minmax(0, 1fr); column-gap: 18px; }
    .lp-step + .lp-step { margin-top: 18px; }
    .lp-step-dot { grid-column: 1; }
    .lp-step-card, .lp-step:nth-child(even) .lp-step-card { grid-column: 2; transform: translateY(8px); }
}

@media (max-width: 640px) {
    .lp-wrap { width: min(1200px, 100% - 32px); }
    .lp-hide-sm { display: none; }
    .lp-hero { padding-top: calc(var(--nav-h) + 24px); }
    .lp-livepill { font-size: .76rem; }
    .lp-livepill .who { min-width: 0; }
    .lp-stage-wrap { height: 400px; margin-top: 34px; }
    .lp-console { width: 96%; }
    .lp-map { gap: 14px 12px; padding: 14px 12px 16px; }
    .lp-map-wires { inset: 14px 12px 16px; width: calc(100% - 24px); height: calc(100% - 30px); }
    .lp-node { grid-template-columns: 1fr; padding: 6px; text-align: center; justify-items: center; font-size: .62rem; }
    .lp-node i { grid-row: auto; width: 22px; height: 22px; font-size: .7rem; margin-bottom: 2px; }
    .lp-node small { display: none; }
    .lp-f-approve { width: 188px; right: 0; top: 0; padding: 10px; transform: translateZ(60px); }
    .lp-f-approve .t { font-size: .8rem; }
    .lp-f-approve .b span { padding: 5px 2px; }
    .lp-f-chat { width: 196px; left: 0; bottom: -4%; font-size: .72rem; padding: 10px; transform: translateZ(70px); }
    .lp-f-lead, .lp-f-post { display: none; }
    .lp-bento { grid-template-columns: minmax(0, 1fr); }
    .t-brain { grid-column: auto; }
    .t-brain .lp-ill { min-height: 230px; }
    .ill-brain::before { width: 210px; height: 210px; }
    .ill-brain .s { font-size: .7rem; padding: 5px 10px; }
    .lp-trust-grid { grid-template-columns: minmax(0, 1fr); }
    .lp-orbit.flat { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lp-agent { font-size: .74rem; }
    .lp-agent i { width: 46px; height: 46px; }
    .lp-agent-card { padding: 22px; min-height: 0; }
    .lp-policy { flex-direction: column; align-items: flex-start; gap: 8px; }
    .lp-chat-feed { height: 380px; padding: 14px; }
    .lp-chat-members { display: none; }
    .lp-deck { height: 280px; }
    .lp-card { height: 246px; }
    .lp-foot-in { flex-direction: column; text-align: center; }
    .lp-foot nav { margin: 0; justify-content: center; }
}

/* ================================================================ touch screens */

/* Fingers need bigger targets than a mouse pointer: at least 40 pixels for anything you tap. */
@media (pointer: coarse) {
    .lp-btn-sm { min-height: 40px; }
    .lp-icon { width: 42px; height: 42px; }
    .lp-policy .seg button { padding: 10px 12px; }
    .lp-switch { min-height: 40px; }
}

/* ================================================================ reduced motion */

@media (prefers-reduced-motion: reduce) {
    .lp *, .lp *::before, .lp *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .lp-ticker-track { animation: none; }
    .lp-ticker { overflow-x: auto; }
    .lp-rings i, .lp-final-rings i { display: none; }
}
