/* ==========================================
   EIGHTLEGGED - Live Chat (launched 19 Oct 2026)
   Looks like the product: the phone app's dark greys, orange for actions,
   the spider's yellow for "a visitor needs you".
   Same look as the React Live Chat app (_source/src/apps/live-chat).
   ========================================== */

.theme-lc {
    --lc-bg: #09090b;
    --lc-panel: #18181b;
    --lc-raised: #27272a;
    --lc-line: #27272a;
    --lc-text: #fafafa;
    --lc-muted: #a1a1aa;
    --lc-orange: #f97316;
    --lc-orange-dark: #ea580c;
    --lc-yellow: #facc15;
    background: var(--lc-bg);
    color: var(--lc-text);
    font-family: var(--font-sans);
    overflow-x: hidden;
}

.theme-lc a { color: inherit; }
.lc-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.lc-wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.lc-narrow { max-width: 56rem; }

.lc-section { padding: 3.5rem 0; border-top: 1px solid var(--lc-line); }
.lc-band { background: var(--lc-panel); border-top: 0; }
.lc-kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--lc-orange); margin: 0 0 0.75rem; }
.lc-h1 { font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; margin: 0; color: var(--lc-text); }
.lc-h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; font-weight: 800; margin: 0; color: var(--lc-text); }
.lc-lead { margin: 1.25rem 0 0; font-size: 1.15rem; line-height: 1.7; color: var(--lc-muted); max-width: 38rem; }
.lc-intro { margin: 0.75rem 0 0; line-height: 1.7; color: var(--lc-muted); max-width: 42rem; }

/* hero */
.lc-hero { position: relative; padding: 4rem 0 4.5rem; background: radial-gradient(ellipse at top right, rgba(249, 115, 22, 0.18), transparent 55%); }
.lc-hero-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.lc-pill { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0 0 1.25rem; padding: 0.3rem 0.8rem; border: 1px solid rgba(250, 204, 21, 0.4); background: rgba(250, 204, 21, 0.1); border-radius: 999px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #fde047; }
.lc-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--lc-yellow); }
.lc-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--lc-yellow); animation: lc-ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite; }
@keyframes lc-ping { 75%, 100% { transform: scale(2.4); opacity: 0; } }

.lc-checks { list-style: none; margin: 1.75rem 0 0; padding: 0; }
.lc-checks li { position: relative; padding: 0.4rem 0 0.4rem 1.9rem; line-height: 1.6; color: #e4e4e7; }
.lc-checks li::before { content: ""; position: absolute; left: 0.2rem; top: 0.85rem; width: 0.75rem; height: 0.4rem; border-left: 2.5px solid var(--lc-orange); border-bottom: 2.5px solid var(--lc-orange); transform: rotate(-45deg); }

.lc-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.lc-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.3rem; border-radius: 0.8rem; background: var(--lc-orange); color: #fff !important; font-weight: 700; font-size: 0.95rem; text-decoration: none !important; box-shadow: 0 8px 24px rgba(249, 115, 22, 0.3); transition: background 0.15s, transform 0.1s; }
.lc-btn:hover { background: #fb923c; }
.lc-btn:active { transform: scale(0.98); }
.lc-btn-line { background: transparent; border: 1.5px solid #3f3f46; box-shadow: none; }
.lc-btn-line:hover { background: transparent; border-color: #71717a; }
.lc-btn-dark { background: var(--lc-bg); box-shadow: none; }
.lc-btn-dark:hover { background: #27272a; }
.lc-btn-white { background: #fff; color: var(--lc-bg) !important; box-shadow: none; }
.lc-btn-white:hover { background: #ffedd5; }

/* the phone */
.lc-phone { position: relative; width: 270px; margin: 0 auto; }
.lc-phone-glow { position: absolute; inset: -1.5rem; border-radius: 3rem; background: rgba(249, 115, 22, 0.2); filter: blur(48px); }
.lc-phone-body { position: relative; border: 1px solid #3f3f46; background: var(--lc-bg); border-radius: 2.6rem; padding: 0.75rem; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); }
.lc-phone-notch { width: 4rem; height: 0.35rem; border-radius: 999px; background: #27272a; margin: 0 auto 0.5rem; }
.lc-phone-screen { overflow: hidden; border-radius: 2rem; background: var(--lc-panel); }
.lc-phone-figure img { display: block; width: 100%; height: auto; }

.lc-sketch { font-size: 13px; text-align: left; }
.lc-sketch-head { background: var(--lc-bg); padding: 0.8rem 1rem; }
.lc-sketch-head strong { display: block; color: #fff; }
.lc-sketch-head span { font-size: 11px; color: var(--lc-muted); }
.lc-sketch-thread { background: #f4f4f5; padding: 1rem 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; }
.lc-sketch-thread p { margin: 0; max-width: 80%; padding: 0.5rem 0.75rem; border-radius: 1rem; }
.lc-them { background: #fff; color: #18181b; border-top-left-radius: 0.35rem !important; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); }
.lc-me { background: var(--lc-orange); color: #fff; align-self: flex-end; border-top-right-radius: 0.35rem !important; }
.lc-typing { background: #fff; display: flex; gap: 4px; width: 3.25rem; padding: 0.75rem !important; }
.lc-typing i { width: 6px; height: 6px; border-radius: 50%; background: #a1a1aa; animation: lc-hop 0.9s infinite; }
.lc-typing i:nth-child(2) { animation-delay: 0.15s; }
.lc-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes lc-hop { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-4px); } }
.lc-sketch-foot { display: flex; gap: 0.5rem; align-items: center; background: var(--lc-panel); padding: 0.75rem; }
.lc-sketch-foot span { flex: 1; background: var(--lc-raised); color: #71717a; border-radius: 999px; padding: 0.5rem 0.8rem; }
.lc-sketch-foot b { background: var(--lc-orange); color: #fff; border-radius: 999px; padding: 0.5rem 0.8rem; }

/* cards */
.lc-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 2.25rem; }
.lc-card { background: var(--lc-panel); border: 1px solid var(--lc-line); border-radius: 1rem; padding: 1.25rem; }
.lc-card h3 { margin: 0; font-size: 1rem; font-weight: 700; color: var(--lc-text); }
.lc-card h3::before { content: ""; display: block; width: 1.5rem; height: 3px; border-radius: 2px; background: var(--lc-orange); margin-bottom: 0.9rem; }
.lc-card p { margin: 0.5rem 0 0; font-size: 0.92rem; line-height: 1.6; color: var(--lc-muted); }

/* why */
.lc-why { margin-top: 2rem; border-top: 1px solid #3f3f46; }
.lc-why-row { display: grid; grid-template-columns: 1fr; gap: 0.5rem; padding: 1.4rem 0; border-bottom: 1px solid #3f3f46; }
.lc-why-row p { margin: 0; line-height: 1.65; color: var(--lc-muted); }
.lc-why-row .lc-problem { color: #e4e4e7; font-weight: 700; padding-left: 1.4rem; position: relative; }
.lc-why-row .lc-problem::before { content: ""; position: absolute; left: 0; top: 0.5rem; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--lc-yellow); }

.lc-split { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.lc-code { margin: 1.5rem 0 0; padding: 1rem; background: #000; border: 1px solid var(--lc-line); border-radius: 0.8rem; overflow-x: auto; font-family: var(--font-mono); font-size: 12px; line-height: 1.6; color: #fdba74; white-space: pre; }

/* plans */
.lc-plans { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 2rem; }
.lc-plan { background: rgba(24, 24, 27, 0.6); border: 1px solid var(--lc-line); border-radius: 1rem; padding: 1.5rem; }
.lc-plan-hl { background: var(--lc-panel); border: 2px solid var(--lc-orange); }
.lc-plan h3 { margin: 0; font-size: 1.15rem; font-weight: 700; color: var(--lc-text); }
.lc-price { margin: 0.25rem 0 0; font-size: 2.4rem; font-weight: 800; color: var(--lc-text); }
.lc-price small { font-size: 0.9rem; font-weight: 400; color: var(--lc-muted); }
.lc-plan-sum { margin: 0.5rem 0 0; font-size: 0.9rem; color: var(--lc-muted); }
.lc-plan ul { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.lc-plan li { position: relative; padding: 0.3rem 0 0.3rem 1.6rem; font-size: 0.9rem; line-height: 1.5; color: #e4e4e7; }
.lc-plan li::before { content: ""; position: absolute; left: 0.15rem; top: 0.65rem; width: 0.65rem; height: 0.35rem; border-left: 2px solid var(--lc-orange); border-bottom: 2px solid var(--lc-orange); transform: rotate(-45deg); }
.lc-plan li.lc-off { color: #52525b; text-decoration: line-through; text-decoration-color: #3f3f46; }
.lc-plan li.lc-off::before { border-color: #3f3f46; }
.lc-plan strong { color: #fdba74; font-weight: 600; }
.lc-note { margin: 1.5rem 0 0; font-size: 0.875rem; line-height: 1.6; color: #71717a; }
.lc-note a { color: var(--lc-text); text-decoration: underline; text-decoration-color: var(--lc-orange); text-underline-offset: 4px; }

/* questions */
.lc-faq { margin-top: 1.5rem; border-top: 1px solid var(--lc-line); }
.lc-faq details { border-bottom: 1px solid var(--lc-line); }
.lc-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; font-weight: 700; color: var(--lc-text); }
.lc-faq summary::-webkit-details-marker { display: none; }
.lc-plus { color: var(--lc-orange); font-family: var(--font-mono); transition: transform 0.2s; }
.lc-faq details[open] .lc-plus { transform: rotate(45deg); }
.lc-faq p { margin: 0; padding: 0 2rem 1.25rem 0; font-size: 0.92rem; line-height: 1.65; color: var(--lc-muted); }

/* try it */
.lc-cta { padding: 3.5rem 0; text-align: center; background: linear-gradient(135deg, var(--lc-orange), var(--lc-orange-dark)); }
.lc-cta .lc-h2 { color: #fff; }
.lc-cta .lc-intro { color: #ffedd5; margin-left: auto; margin-right: auto; }
.lc-cta .lc-actions { justify-content: center; }
.lc-cta .lc-btn-line { border-color: rgba(255, 255, 255, 0.6); }

.lc-figure { margin-top: 2.5rem; }

@media (min-width: 640px) {
    .lc-grid { grid-template-columns: repeat(2, 1fr); }
    .lc-plans { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
    .lc-hero-grid { grid-template-columns: 1.15fr 1fr; }
    .lc-phone { width: 290px; }
    .lc-grid { grid-template-columns: repeat(4, 1fr); }
    .lc-why-row { grid-template-columns: 1fr 1.4fr; gap: 2.5rem; }
    .lc-split { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .lc-dot::after, .lc-typing i { animation: none; }
}
