/* ============================================================
   Widget landing pages (/widgets, the five link-out chat widgets,
   /live-chat-software, /live-chat-widget). Prefix .wlp-.
   Markup: Pages/Shared/_WidgetLanding.cshtml.

   The site template gives bare <section> 60px padding and clips
   overflow, and styles plain h1/h2/p/ul, so everything is scoped
   under .wlp and built from divs with explicit resets.

   Brand colours arrive as --wlp-c1 / --wlp-c2 on the root. Several
   brands are light (#25d366, #229ed9, #f97316), so brand colour is
   never used behind small text: buttons on the dark hero are white
   with dark ink, and chips carry a brand dot instead of a fill.
   ============================================================ */

.wlp {
    --wlp-c1: #2563eb;
    --wlp-c2: #7c3aed;
    --wlp-ink: #121a33;
    --wlp-ink-2: #4a5470;
    --wlp-ink-3: #69728c;
    --wlp-line: #e3e7f1;
    --wlp-bg: #f6f8fc;
    --wlp-night: #070e24;
    --wlp-focus: #93c5fd;
    color: var(--wlp-ink);
    background: var(--wlp-bg);
    overflow-x: clip;
    font-size: 15px;
    line-height: 1.55;
}
.wlp *, .wlp *::before, .wlp *::after { box-sizing: border-box; }
.wlp ul, .wlp ol { margin: 0; padding: 0; list-style: none; }
.wlp p { margin: 0; }
.wlp h1, .wlp h2, .wlp h3 { text-transform: none; }
.wlp a { text-decoration: none !important; }
.wlp a:focus-visible, .wlp button:focus-visible { outline: 3px solid var(--wlp-focus); outline-offset: 3px; border-radius: 12px; }
.wlp-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------------- hero ---------------- */
.wlp-hero {
    position: relative; isolation: isolate; overflow: hidden; color: #fff;
    padding: 64px 20px 84px;
    background:
        linear-gradient(135deg, rgba(5, 10, 30, .9) 0%, rgba(6, 12, 34, .78) 50%, rgba(5, 10, 30, .9) 100%),
        radial-gradient(900px 520px at 6% -10%, var(--wlp-c1) 0%, transparent 62%),
        radial-gradient(820px 480px at 100% 110%, var(--wlp-c2) 0%, transparent 62%),
        var(--wlp-night);
}
.wlp-hero-art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.wlp-blob { position: absolute; border-radius: 50%; filter: blur(48px); opacity: .42; animation: wlp-drift 16s ease-in-out infinite; }
.wlp-blob.b1 { width: 340px; height: 340px; left: -90px; top: 40px; background: var(--wlp-c1); }
.wlp-blob.b2 { width: 300px; height: 300px; right: 8%; bottom: -150px; background: var(--wlp-c2); animation-delay: -6s; }
.wlp-hero::after { /* faint dot grid */
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
    background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px); background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}

.wlp-hero-grid {
    position: relative; max-width: 1180px; margin: 0 auto;
    display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center;
}
.wlp-hero-copy { min-width: 0; }
.wlp .wlp-eyebrow {
    display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; padding: 6px 14px 6px 12px; border-radius: 999px;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
    font-size: 13.5px; font-weight: 700; line-height: 1.3; color: #e2e9ff;
}
.wlp-pulse { flex: none; position: relative; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; animation: wlp-ping 2s infinite; }
.wlp .wlp-title {
    margin: 0 0 16px; padding: 0; font-size: clamp(30px, 4.3vw, 52px); line-height: 1.08; font-weight: 800;
    letter-spacing: -.03em; color: #fff; text-wrap: balance;
}
.wlp .wlp-lede { max-width: 580px; margin: 0 0 28px; font-size: clamp(15.5px, 1.5vw, 18px); line-height: 1.62; color: #cdd7f2; }

.wlp-actions, .wlp-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.wlp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px;
    border-radius: 14px; font-size: 16px; font-weight: 800; line-height: 1.2; white-space: nowrap; cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
}
.wlp-btn span { transition: transform .15s ease; }
.wlp-btn:hover { transform: translateY(-2px); }
.wlp-btn:hover span { transform: translateX(3px); }
.wlp .wlp-btn-primary { background: #fff; color: var(--wlp-ink) !important; box-shadow: 0 12px 30px rgba(0, 0, 0, .28), 0 0 0 4px rgba(255,255,255,.12); }
.wlp .wlp-btn-primary:hover { box-shadow: 0 16px 36px rgba(0, 0, 0, .34), 0 0 0 6px rgba(255,255,255,.16); }
.wlp .wlp-btn-ghost, .wlp .wlp-btn-light { background: rgba(255,255,255,.08); color: #fff !important; border: 1.5px solid rgba(255,255,255,.34); }
.wlp .wlp-btn-ghost:hover, .wlp .wlp-btn-light:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.6); }

.wlp .wlp-highlights { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; }
.wlp-highlights li {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px 7px 8px; border-radius: 999px;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); font-size: 13.5px; font-weight: 600; color: #dfe6fb;
}
.wlp-check {
    flex: none; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
    background: #22c55e; color: #fff; font-size: 11px; font-weight: 900; line-height: 1;
}

/* ---------------- demo ---------------- */
.wlp-demo { position: relative; min-width: 0; }
.wlp-demo::before { /* glow behind the window */
    content: ""; position: absolute; inset: 8% 4% -4%; z-index: -1; border-radius: 40px; filter: blur(40px); opacity: .55;
    background: linear-gradient(135deg, var(--wlp-c1), var(--wlp-c2));
}
.wlp-browser {
    border-radius: 18px; overflow: hidden; background: #fff;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255,255,255,.14);
    transform: perspective(1400px) rotateY(-5deg) rotateX(2deg); transform-origin: left center;
}
.wlp-browser-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; background: #eef1f7; border-bottom: 1px solid #e0e5ef; }
.wlp-browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #f87171; }
.wlp-browser-bar i:nth-child(2) { background: #fbbf24; }
.wlp-browser-bar i:nth-child(3) { background: #34d399; }
.wlp-browser-bar span {
    flex: 1; min-width: 0; margin-left: 10px; padding: 4px 12px; border-radius: 8px; background: #fff; border: 1px solid #e0e5ef;
    font-size: 12px; color: #7c86a2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.wlp-browser-body { position: relative; height: 420px; padding: 26px 24px; background: linear-gradient(180deg, #fff, #f7f9fd); }
.wlp-sk { display: block; height: 12px; margin: 0 0 12px; border-radius: 8px; background: #e8ecf4; }
.wlp-sk.w60 { width: 60%; height: 18px; margin-bottom: 18px; background: #dde3ee; }
.wlp-sk.w90 { width: 90%; }
.wlp-sk.w75 { width: 75%; }
.wlp-sk-card {
    display: block; width: 62%; height: 150px; margin-top: 22px; border-radius: 14px;
    background: linear-gradient(135deg, #eef2f9, #e4e9f3); border: 1px solid #e3e8f1;
}

.wlp-launcher {
    position: absolute; right: 20px; bottom: 20px; z-index: 2;
    display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
    background: linear-gradient(135deg, var(--wlp-c1), var(--wlp-c2)); color: #fff;
    font-size: 22px; font-weight: 900; line-height: 1; text-shadow: 0 1px 2px rgba(0,0,0,.25);
    box-shadow: 0 12px 26px rgba(15, 23, 42, .28);
    animation: wlp-launch .5s .2s cubic-bezier(.2, .9, .3, 1.3) both;
}
.wlp-launcher::before { /* brand-coloured pulse ring, twice, before the popup opens */
    content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: var(--wlp-c1);
    opacity: 0; animation: wlp-ring 1.4s .5s ease-out 2;
}
.wlp--live .wlp-launcher { font-size: 17px; letter-spacing: -.02em; }
/* the All-in-One glyph (an asterisk operator) renders tiny at normal sizes */
.wlp[data-widget="all-in-one"] .wlp-launcher { font-size: 38px; }
.wlp-card[href$="/all-in-one-chat-widget"] .wlp-card-badge { font-size: 36px; }
.wlp-mini[href$="/all-in-one-chat-widget"] .wlp-mini-badge { font-size: 26px; }

.wlp-popup {
    position: absolute; right: 20px; bottom: 92px; z-index: 3; width: min(300px, calc(100% - 40px));
    border-radius: 18px; overflow: hidden; background: #fff; color: var(--wlp-ink);
    box-shadow: 0 24px 50px rgba(15, 23, 42, .26), 0 0 0 1px rgba(15, 23, 42, .06);
    transform-origin: bottom right;
    animation: wlp-pop .55s 1.1s cubic-bezier(.2, .9, .3, 1.15) both;
}
.wlp-popup-head {
    display: flex; align-items: center; gap: 11px; padding: 14px 16px;
    background: linear-gradient(135deg, var(--wlp-c1), var(--wlp-c2)); color: #fff;
}
.wlp-avatar {
    flex: none; position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,.25); border: 2px solid rgba(255,255,255,.55); font-weight: 800; font-size: 16px;
}
.wlp-avatar::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; background: #4ade80; border: 2px solid #fff; }
.wlp-popup-who { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; text-shadow: 0 1px 2px rgba(0,0,0,.22); }
.wlp-popup-who strong { font-size: 14.5px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wlp-popup-who small { font-size: 12px; opacity: .95; }

.wlp-popup-body {
    display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 10px;
    background: #f3f5fa; background-image: radial-gradient(rgba(15,23,42,.045) 1px, transparent 1px); background-size: 14px 14px;
}
.wlp .wlp-bubble {
    align-self: flex-start; max-width: 88%; margin: 0; padding: 9px 12px; border-radius: 4px 14px 14px 14px;
    background: #fff; color: var(--wlp-ink); font-size: 13.5px; line-height: 1.45;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .08);
    animation: wlp-bubble .4s 1.7s ease both;
}
.wlp .wlp-bubble.is-mine { align-self: flex-end; border-radius: 14px 4px 14px 14px; background: #1e3a8a; color: #fff; animation-delay: 2.5s; }
.wlp .wlp-bubble.is-typing { display: inline-flex; gap: 4px; padding: 11px 13px; animation-delay: 3.3s; }
.wlp-bubble.is-typing i { width: 7px; height: 7px; border-radius: 50%; background: #9aa3bb; animation: wlp-dot 1.2s 3.5s ease-in-out infinite; }
.wlp-bubble.is-typing i:nth-child(2) { animation-delay: 3.65s; }
.wlp-bubble.is-typing i:nth-child(3) { animation-delay: 3.8s; }

.wlp-start {
    margin: 4px 14px 14px; padding: 11px; border-radius: 12px; text-align: center; font-weight: 800; font-size: 14px;
    background: var(--wlp-ink); color: #fff; animation: wlp-bubble .4s 2.3s ease both;
}
.wlp-start::before {
    content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%;
    background: var(--wlp-c1); box-shadow: 0 0 0 3px rgba(255,255,255,.18); vertical-align: 1px;
}
.wlp-channels { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 14px 14px; background: #f3f5fa; }
.wlp-channel {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px;
    background: #fff; border: 1px solid #e0e5ef; font-size: 12.5px; font-weight: 700; color: var(--wlp-ink);
    animation: wlp-bubble .35s ease both; animation-delay: 2.2s;
}
.wlp-channel::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--cc, #64748b); }
.wlp-channel:nth-child(2) { animation-delay: 2.35s; }
.wlp-channel:nth-child(3) { animation-delay: 2.5s; }
.wlp-channel:nth-child(4) { animation-delay: 2.65s; }
.wlp-channel:nth-child(5) { animation-delay: 2.8s; }
.wlp-channel.is-pdf { border-style: dashed; color: #9f1239; }
.wlp-channel.is-pdf::before { border-radius: 2px; background: #e11d48; }

.wlp-compose {
    display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 12px 10px 16px; border-top: 1px solid #e6eaf2;
    font-size: 13px; color: #7c86a2; background: #fff; animation: wlp-bubble .4s 2s ease both;
}
.wlp-compose span:first-child { flex: 1; min-width: 0; }
.wlp-send { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(135deg, var(--wlp-c1), var(--wlp-c2)); color: #fff; font-size: 13px; }

/* JS replays the demo by briefly switching every animation off */
.wlp-demo.is-reset *, .wlp-demo.is-reset *::before { animation: none !important; }
.wlp-demo.is-reset .wlp-popup, .wlp-demo.is-reset .wlp-bubble, .wlp-demo.is-reset .wlp-channel,
.wlp-demo.is-reset .wlp-start, .wlp-demo.is-reset .wlp-compose { opacity: 0; }

/* ---------------- shell + blocks ---------------- */
.wlp-shell { max-width: 1180px; margin: 0 auto; padding: 0 20px 56px; }
.wlp-block { margin: 64px 0 0; }
#wlp-how { scroll-margin-top: 96px; }
.wlp .wlp-h2 { margin: 0 0 8px; padding: 0; font-size: clamp(24px, 2.7vw, 32px); line-height: 1.18; font-weight: 800; letter-spacing: -.02em; color: var(--wlp-ink); }
.wlp .wlp-h2::after { content: none; }
.wlp .wlp-h3 { margin: 0 0 6px; font-size: 18px; font-weight: 800; color: var(--wlp-ink); }
.wlp .wlp-muted { max-width: 760px; margin: 0; color: var(--wlp-ink-2); font-size: 15.5px; line-height: 1.6; }
.wlp .wlp-note { margin: 10px 0 0; font-size: 12.5px; color: var(--wlp-ink-3); }

.wlp h3 { margin: 0 0 6px; padding: 0; font-size: 17px; line-height: 1.3; font-weight: 800; letter-spacing: -.01em; color: var(--wlp-ink); }

/* shared card surface */
.wlp-step, .wlp-feature, .wlp-usecase, .wlp-panel {
    position: relative; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--wlp-line);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.wlp-step p, .wlp-feature p, .wlp-usecase p { margin: 0; color: var(--wlp-ink-2); font-size: 14.5px; line-height: 1.58; }
.wlp-feature:hover, .wlp-usecase:hover, .wlp-step:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(18, 26, 51, .08); }

/* steps */
.wlp .wlp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 22px 0 0; counter-reset: none; }
.wlp-step h3 { margin-top: 16px; }
.wlp-step-n {
    display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; color: #fff; font-weight: 800; font-size: 18px;
    background: linear-gradient(135deg, var(--wlp-c1), var(--wlp-c2)); text-shadow: 0 1px 2px rgba(0,0,0,.3);
    box-shadow: 0 10px 20px rgba(18, 26, 51, .16);
}
.wlp-step:not(:last-child)::after { /* connector on wide screens */
    content: ""; position: absolute; top: 45px; right: -17px; width: 18px; height: 2px; background: var(--wlp-line);
}

/* features */
.wlp .wlp-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 22px 0 0; }
.wlp-feature { padding: 22px 20px; }
.wlp-feature::before {
    content: ""; display: block; width: 36px; height: 4px; margin: 0 0 16px; border-radius: 4px;
    background: linear-gradient(90deg, var(--wlp-c1), var(--wlp-c2));
}

/* split: list + panel */
.wlp-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px; align-items: start; }
.wlp .wlp-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin: 22px 0 0; }
.wlp-list li {
    position: relative; padding: 12px 14px 12px 46px; border-radius: 14px; background: #fff; border: 1px solid var(--wlp-line);
    font-size: 14.5px; line-height: 1.45; color: var(--wlp-ink);
}
.wlp-list li::before {
    content: ""; position: absolute; left: 14px; top: 12px; width: 20px; height: 20px; border-radius: 50%;
    background: linear-gradient(135deg, var(--wlp-c1), var(--wlp-c2));
}
.wlp-list li::after {
    content: ""; position: absolute; left: 21px; top: 16px; width: 6px; height: 10px;
    border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.wlp-panel { padding: 26px; background: linear-gradient(180deg, #fff, #f9fafe); box-shadow: 0 20px 44px rgba(18, 26, 51, .07); }
.wlp-stats {
    display: flex; align-items: flex-end; gap: 10px; height: 170px; margin: 22px 0 0; padding: 14px 14px 0;
    border-radius: 14px; background: #f3f5fa; border: 1px solid var(--wlp-line);
    background-image: linear-gradient(rgba(18,26,51,.06) 1px, transparent 1px); background-size: 100% 38px;
}
.wlp-bar {
    flex: 1; height: var(--h, 50%); border-radius: 8px 8px 0 0; transform-origin: bottom;
    background: linear-gradient(180deg, var(--wlp-c1), var(--wlp-c2));
}
.wlp-bar:nth-child(odd) { opacity: .72; }
.wlp-js .wlp-panel .wlp-bar { transform: scaleY(0); transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.wlp-js .wlp-panel.is-in .wlp-bar { transform: scaleY(1); }
.wlp-bar:nth-child(2) { transition-delay: .06s; } .wlp-bar:nth-child(3) { transition-delay: .12s; }
.wlp-bar:nth-child(4) { transition-delay: .18s; } .wlp-bar:nth-child(5) { transition-delay: .24s; }
.wlp-bar:nth-child(6) { transition-delay: .3s; }  .wlp-bar:nth-child(7) { transition-delay: .36s; }

/* use cases */
.wlp .wlp-usecases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 22px 0 0; }
.wlp-usecase { overflow: hidden; }
.wlp-usecase::after {
    content: ""; position: absolute; right: -40px; top: -40px; width: 110px; height: 110px; border-radius: 50%; opacity: .1;
    background: radial-gradient(circle, var(--wlp-c1), transparent 70%);
}

/* platforms */
.wlp .wlp-platforms { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.wlp-platforms li {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
    background: #fff; border: 1px solid var(--wlp-line); font-size: 14px; font-weight: 600; color: var(--wlp-ink-2);
    transition: border-color .15s ease, color .15s ease;
}
.wlp-platforms li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--wlp-c1); opacity: .8; }
.wlp-platforms li:hover { border-color: #c5cde0; color: var(--wlp-ink); }

/* good to know */
.wlp .wlp-know {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 22px 0 0; padding: 20px;
    border-radius: 20px; background: #eef4ff; border: 1px solid #d5e3fb;
}
.wlp-know li {
    position: relative; padding: 14px 16px 14px 50px; border-radius: 14px; background: #fff; border: 1px solid #dfe8f8;
    font-size: 14.5px; line-height: 1.55; color: var(--wlp-ink-2);
}
.wlp-know li::before {
    content: "i"; position: absolute; left: 16px; top: 14px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
    background: #1d4ed8; color: #fff; font: italic 800 13px/1 Georgia, "Times New Roman", serif;
}

/* hub widget cards */
.wlp .wlp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 22px 0 0; }
.wlp-cards > li { display: flex; min-width: 0; }
.wlp .wlp-card {
    position: relative; overflow: hidden; display: flex; flex-direction: column; width: 100%; padding: 26px 24px 22px;
    border-radius: 22px; background: #fff; border: 1px solid var(--wlp-line); color: var(--wlp-ink) !important;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.wlp-card::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--cc), var(--cc2, var(--cc)));
}
.wlp-card::after {
    content: ""; position: absolute; right: -60px; top: -60px; width: 170px; height: 170px; border-radius: 50%; opacity: .12;
    background: radial-gradient(circle, var(--cc), transparent 70%); transition: opacity .2s ease, transform .3s ease;
}
.wlp .wlp-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(18, 26, 51, .1); border-color: #d3daea; }
.wlp-card:hover::after { opacity: .22; transform: scale(1.12); }
.wlp-card-badge {
    display: grid; place-items: center; width: 52px; height: 52px; margin: 0 0 16px; border-radius: 15px;
    background: linear-gradient(135deg, var(--cc), var(--cc2, var(--cc))); color: #fff; font-size: 22px; font-weight: 900;
    text-shadow: 0 1px 2px rgba(0,0,0,.28); box-shadow: 0 10px 22px rgba(18, 26, 51, .16);
}
.wlp-card-name { font-size: 18px; font-weight: 800; letter-spacing: -.01em; line-height: 1.3; }
.wlp-card-lede { flex: 1; margin: 8px 0 18px; font-size: 14.5px; line-height: 1.58; color: var(--wlp-ink-2); }
.wlp-card-link { font-size: 14.5px; font-weight: 800; color: var(--wlp-ink); }
.wlp-card:hover .wlp-card-link { text-decoration: underline; text-underline-offset: 3px; }

/* comparison table */
.wlp-table-wrap {
    margin: 22px 0 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 20px;
    background: #fff; border: 1px solid var(--wlp-line); box-shadow: 0 16px 36px rgba(18, 26, 51, .05);
}
.wlp-table-wrap:focus-visible { outline: 3px solid var(--wlp-focus); outline-offset: 3px; }
.wlp .wlp-table { width: 100%; min-width: 720px; margin: 0; border-collapse: separate; border-spacing: 0; font-size: 14.5px; }
.wlp-table th, .wlp-table td { padding: 15px 18px; text-align: left; vertical-align: top; border: 0; border-bottom: 1px solid var(--wlp-line); line-height: 1.45; }
.wlp-table tbody tr:last-child th, .wlp-table tbody tr:last-child td { border-bottom: 0; }
.wlp-table thead th { background: #f3f5fa; font-size: 13px; font-weight: 800; letter-spacing: .01em; color: var(--wlp-ink); }
.wlp-table thead th:last-child { background: #eaf0ff; color: #1e3a8a; }
.wlp-table tbody th { font-weight: 700; color: var(--wlp-ink); width: 24%; }
.wlp-table td { color: var(--wlp-ink-2); }
.wlp-table td:last-child { background: #f7f9ff; color: var(--wlp-ink); font-weight: 600; }
.wlp-table tbody tr:hover td, .wlp-table tbody tr:hover th { background-color: #fafbfe; }
.wlp-table th:first-child { position: sticky; left: 0; z-index: 1; background: #fff; }
.wlp-table thead th:first-child { background: #f3f5fa; }

/* other widgets */
.wlp .wlp-mini-cards { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
.wlp .wlp-mini {
    display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 14px;
    background: #fff; border: 1px solid var(--wlp-line); color: var(--wlp-ink) !important; font-size: 14.5px; font-weight: 700;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.wlp .wlp-mini:hover { transform: translateY(-2px); border-color: #cdd5e6; box-shadow: 0 10px 22px rgba(18, 26, 51, .07); }
.wlp-mini-badge {
    display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--cc); color: #fff;
    font-size: 14px; font-weight: 900; text-shadow: 0 1px 2px rgba(0,0,0,.3);
}

/* guides */
.wlp .wlp-guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 22px 0 0; }
.wlp-guides > li { display: flex; min-width: 0; }
.wlp .wlp-guide {
    display: flex; flex-direction: column; width: 100%; overflow: hidden; border-radius: 18px; background: #fff; border: 1px solid var(--wlp-line);
    color: var(--wlp-ink) !important; transition: transform .18s ease, box-shadow .18s ease;
}
.wlp .wlp-guide:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(18, 26, 51, .09); }
.wlp-guide img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #eef1f7; }
.wlp-guide img.is-broken { display: none; }
.wlp-guide::before { /* brand strip; only visible when the card has no image */
    content: ""; display: block; height: 5px; background: linear-gradient(90deg, var(--wlp-c1), var(--wlp-c2));
}
.wlp-guide:has(img:not(.is-broken))::before { display: none; }
.wlp-guide-title {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
    margin: 16px 18px 6px; font-size: 16px; font-weight: 800; line-height: 1.35;
}
.wlp-guide-sum {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
    margin: 0 18px 18px; font-size: 14px; line-height: 1.55; color: var(--wlp-ink-2);
}
.wlp .wlp-guide:hover .wlp-guide-title { text-decoration: underline; text-underline-offset: 3px; }

/* final call to action */
.wlp-cta {
    position: relative; isolation: isolate; overflow: hidden; margin: 72px 0 0; padding: 44px 48px; border-radius: 28px; color: #fff;
    display: flex; align-items: center; justify-content: space-between; gap: 28px;
    background:
        linear-gradient(120deg, rgba(5, 10, 30, .8), rgba(5, 10, 30, .55)),
        linear-gradient(120deg, var(--wlp-c1), var(--wlp-c2));
    box-shadow: 0 26px 56px rgba(18, 26, 51, .2);
}
.wlp-cta::before {
    content: ""; position: absolute; z-index: -1; right: -80px; top: -120px; width: 320px; height: 320px; border-radius: 50%;
    background: var(--wlp-c1); filter: blur(60px); opacity: .45;
}
.wlp-cta > div:first-child { min-width: 0; max-width: 600px; }
.wlp .wlp-cta .wlp-h2 { color: #fff; margin-bottom: 10px; }
.wlp .wlp-cta p { color: #dbe3f7; font-size: 16px; line-height: 1.6; }
.wlp-cta-actions { flex: none; }

/* ---------------- reveal (added by widget-landing.js) ---------------- */
.wlp-js .wlp-reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; transition-delay: calc(var(--i, 0) * 60ms); }
.wlp-js .wlp-reveal.is-in { opacity: 1; transform: none; }

/* ---------------- keyframes ---------------- */
@keyframes wlp-drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, -20px) scale(1.08); } }
@keyframes wlp-ping { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(74,222,128,0); } }
@keyframes wlp-launch { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes wlp-ring { 0% { opacity: .5; transform: scale(1); } 100% { opacity: 0; transform: scale(1.75); } }
@keyframes wlp-pop { from { opacity: 0; transform: translateY(14px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes wlp-bubble { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes wlp-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .55; } 30% { transform: translateY(-5px); opacity: 1; } }

/* ---------------- responsive ---------------- */
@media (max-width: 1100px) {
    .wlp .wlp-features, .wlp .wlp-usecases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
    .wlp-hero { padding: 48px 20px 64px; }
    .wlp-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
    .wlp-demo { max-width: 560px; width: 100%; margin: 0 auto; }
    .wlp-browser { transform: none; }
    .wlp .wlp-cards, .wlp .wlp-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wlp-split { grid-template-columns: minmax(0, 1fr); }
    .wlp .wlp-steps { grid-template-columns: minmax(0, 1fr); }
    .wlp-step:not(:last-child)::after { display: none; }
    .wlp-cta { flex-direction: column; align-items: flex-start; padding: 36px 32px; }
}
@media (max-width: 640px) {
    .wlp-hero { padding: 34px 16px 52px; }
    .wlp .wlp-title { font-size: clamp(28px, 8.2vw, 36px); }
    .wlp-actions { flex-direction: column; }
    .wlp-actions .wlp-btn { width: 100%; white-space: normal; text-align: center; }
    .wlp .wlp-highlights { margin-top: 22px; }
    .wlp-browser-body { height: 380px; padding: 20px 16px; }
    .wlp-sk-card { width: 100%; height: 110px; }
    .wlp-launcher { right: 14px; bottom: 14px; width: 52px; height: 52px; }
    .wlp-popup { right: 14px; bottom: 78px; width: calc(100% - 28px); }
    .wlp-shell { padding: 0 16px 40px; }
    .wlp-block { margin-top: 48px; }
    .wlp .wlp-features, .wlp .wlp-usecases, .wlp .wlp-cards, .wlp .wlp-guides, .wlp .wlp-list, .wlp .wlp-know { grid-template-columns: minmax(0, 1fr); }
    .wlp .wlp-know { padding: 12px; }
    .wlp-step, .wlp-feature, .wlp-usecase, .wlp-panel { padding: 20px; }
    .wlp-cta { margin-top: 56px; padding: 30px 22px; border-radius: 22px; }
    .wlp-cta-actions { width: 100%; flex-direction: column; }
    .wlp-cta-actions .wlp-btn { width: 100%; white-space: normal; text-align: center; }
    .wlp-table th, .wlp-table td { padding: 12px 14px; }
    .wlp .wlp-table { min-width: 640px; }
}

@media (prefers-reduced-motion: reduce) {
    .wlp *, .wlp *::before, .wlp *::after { animation: none !important; transition: none !important; }
    .wlp-js .wlp-reveal { opacity: 1; transform: none; }
    .wlp-js .wlp-panel .wlp-bar { transform: none; }
    .wlp-btn:hover, .wlp .wlp-card:hover, .wlp-feature:hover, .wlp-usecase:hover, .wlp-step:hover, .wlp .wlp-mini:hover, .wlp .wlp-guide:hover { transform: none; }
}
