/* jx-lp: shared visual landing layout for the services pages. Generated by scripts/services/lp.py. Builds on jx-products.css and jx-km.css */

/* problem icons */
.lp-pico{display:grid;place-items:center;width:76px;height:76px;border-radius:22px;background:linear-gradient(135deg,var(--p),#9F7AEA);box-shadow:0 18px 36px -16px rgba(108,60,225,.65)}
.lp-ico{width:36px;height:36px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.lp-probs li:nth-child(2) .lp-pico{background:linear-gradient(135deg,#F59E0B,#F5A524)}
.lp-probs li:nth-child(3) .lp-pico{background:linear-gradient(135deg,#120A24,#3B2A66)}
.kmc-ico svg{width:26px;height:26px}
.lp-svc4{grid-template-columns:repeat(2,minmax(0,1fr))}

/* hero cards: shared */
.lp-card{position:relative;background:#fff;color:var(--ink);border-radius:20px;padding:22px 24px 20px;box-shadow:0 40px 80px -30px rgba(10,4,26,.7),0 0 0 1px rgba(255,255,255,.08);max-width:540px;margin-left:auto}
.lp-card:after{content:"";position:absolute;inset:auto -14px -14px 14px;height:100%;border-radius:22px;background:rgba(196,181,253,.18);z-index:-1}
.lp-card-h{display:flex;align-items:center;gap:10px;font-weight:700;font-size:15px;padding-bottom:14px;border-bottom:1px solid var(--line);margin-bottom:14px}
.lp-live{width:9px;height:9px;border-radius:50%;background:#22C55E;box-shadow:0 0 0 4px rgba(34,197,94,.18);flex:none;animation:lp-pulse 2s ease-in-out infinite}
@keyframes lp-pulse{50%{box-shadow:0 0 0 7px rgba(34,197,94,.06)}}
.lp-card-f{margin:14px 0 0;padding-top:12px;border-top:1px solid var(--line);font-size:13px;color:var(--mut)}

/* agent run */
.lp-run ol{list-style:none;margin:0;padding:0;display:grid;gap:4px;position:relative}
.lp-run ol:before{content:"";position:absolute;left:13px;top:14px;bottom:14px;width:2px;background:var(--line)}
.lp-run li{position:relative;display:flex;align-items:center;gap:14px;padding:9px 0;font-size:15px;font-weight:600}
.lp-run li svg{width:28px;height:28px;flex:none;position:relative}
.lp-run li svg path,.lp-run li svg circle+circle{fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.lp-ok svg>circle:first-child{fill:var(--p)}
.lp-runs svg>circle:first-child{fill:#F5A524}.lp-runs svg circle+circle{fill:#fff;stroke:none}
.lp-runs span:after{content:"";display:inline-block;width:42px;height:6px;margin-left:10px;border-radius:3px;vertical-align:middle;background:linear-gradient(90deg,#F5A524 40%,#FDE7C2 40%);animation:lp-bar 2.4s ease-in-out infinite}
@keyframes lp-bar{50%{background:linear-gradient(90deg,#F5A524 85%,#FDE7C2 85%)}}
.lp-person svg>circle:first-child{fill:#0EA5E9}
.lp-wait svg>circle:first-child{fill:#E5E1EF}.lp-wait svg path{stroke:#8b84a0!important}
.lp-wait span{color:var(--mut);font-weight:500}

/* chat */
.lp-msgs{display:flex;flex-direction:column;gap:10px}
.lp-msg{max-width:86%;padding:12px 15px;border-radius:16px;font-size:15px;line-height:1.5}
.lp-q{align-self:flex-end;background:var(--p);color:#fff;border-bottom-right-radius:4px}
.lp-a{align-self:flex-start;background:#F4F1FB;border-bottom-left-radius:4px}
.lp-src{display:flex;align-items:center;gap:8px;margin:14px 0 0;font-size:13px;font-weight:700;color:var(--p2)}
.lp-src .km-ok circle{fill:#EDE7FF}.lp-src .km-ok path{stroke:var(--p)}
.lp-wave{display:flex;align-items:center;gap:3px;margin-left:auto;height:22px}
.lp-wave i{display:block;width:3px;border-radius:2px;background:var(--p3);height:30%;animation:lp-w 1.1s ease-in-out infinite}
.lp-wave i:nth-child(3n){animation-delay:-.3s}.lp-wave i:nth-child(3n+1){animation-delay:-.6s}.lp-wave i:nth-child(4n){animation-delay:-.9s}
@keyframes lp-w{50%{height:100%}}

/* rows (inventory, plan, modules) */
.lp-cols{display:flex;justify-content:space-between;margin:0 0 6px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--mut)}
.lp-rows ul{list-style:none;margin:0;padding:0}
.lp-rows li{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px solid var(--line);font-size:15px;font-weight:600}
.lp-rows li:last-child{border-bottom:0}
.lp-rows em{font-style:normal;font-size:12.5px;font-weight:700;padding:5px 10px;border-radius:999px;white-space:nowrap}
.lp-t-hi{background:#FEE2E2;color:#B91C1C}.lp-t-mid{background:#FEF3C7;color:#B45309}.lp-t-lo{background:#E0F2FE;color:#0369A1}.lp-t-ok{background:#EDE7FF;color:var(--p)}

@media (prefers-reduced-motion:reduce){.lp-live,.lp-wave i,.lp-runs span:after{animation:none}}

/* compare table: highlight our column */
.lp-table .lp-us{background:#F6F3FD;font-weight:700;color:var(--p)}
.lp-table thead th:last-child{color:var(--p)}

/* infrastructure list card */
.lp-bulcard{padding:32px;border-radius:20px;background:var(--tint);border:1px dashed var(--p3)}

/* related links under the FAQ */
.lp-rel{margin-top:40px}
.lp-rel ul{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.lp-rel a{display:inline-block;padding:9px 14px;border-radius:999px;border:1px solid var(--line);font-size:14px;font-weight:600;color:var(--ink);text-decoration:none}
.lp-rel a:hover{border-color:var(--p);color:var(--p)}

@media (max-width:991px){
 .lp-card{margin:0 auto}
 .lp-probs .lp-pico{width:64px;height:64px;border-radius:18px;grid-row:span 2}
 .lp-probs .lp-ico{width:30px;height:30px}
 .lp-svc4{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}
@media (max-width:640px){
 .lp-card{padding:18px 18px 16px}
 .lp-card:after{display:none}
 .lp-msg,.lp-run li,.lp-rows li{font-size:14px}
 .lp-svc4{grid-template-columns:minmax(0,1fr)}
}

/* hyphenate headings only on phones (jx-km.css hyphenates everywhere) */
.lp .fh-h1,.lp h2{hyphens:manual}
@media (max-width:640px){.lp .fh-h1,.lp h2{hyphens:auto}}

/* services overview */
.lp-who{margin-top:22px;color:#d9d2ec;font-size:15px}
.lp-ovcards{grid-template-columns:repeat(3,minmax(0,1fr))}
.lp-ovcard .kmc-ico{margin-bottom:18px}
.lp-overview .kmc-bridge{cursor:default}
@media (max-width:991px){.lp-ovcards{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
@media (max-width:640px){.lp-ovcards{grid-template-columns:minmax(0,1fr)}}
.lp-card,.lp-card li,.lp-card span{color:var(--ink)}
.lp-card .lp-wait span,.lp-card .lp-card-f{color:var(--mut)}
.lp-card .lp-q{color:#fff}
@media (max-width:640px){
 .lp-table{border:0;background:none;overflow:visible}
 .lp-table table,.lp-table tbody,.lp-table tr,.lp-table th,.lp-table td{display:block;width:auto}
 .lp-table thead{display:none}
 .lp-table table{min-width:0}
 .lp-table tr{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 16px;margin-bottom:12px}
 .lp-table tbody th{padding:0 0 8px;border:0;font-size:16px}
 .lp-table td{display:flex;justify-content:space-between;gap:16px;padding:7px 0;border:0;border-top:1px solid var(--line);font-size:14px;text-align:right;background:none!important}
 .lp-table td:before{content:attr(data-l);color:var(--mut);font-weight:600;text-align:left}
}
