/* SureWyse public site (landing + company/legal pages). Theme via html[data-theme]. */

:root, html[data-theme="light"] {
    --bg: #ffffff; --bg-soft: #f8f9fc; --card: #ffffff; --border: #e5e7f0;
    --text: #0f172a; --muted: #55607a; --faint: #8a93ab;
    --primary: #4f46e5; --primary-h: #4338ca; --primary-soft: rgba(79, 70, 229, 0.08);
    --nav-bg: rgba(255, 255, 255, 0.85); --btn2-bg: #ffffff;
    --shadow: 0 24px 60px rgba(15, 23, 42, 0.10);
}
html[data-theme="dark"] {
    --bg: #0d1020; --bg-soft: #12162a; --card: #12162a; --border: #272d4a;
    --text: #eef0fa; --muted: #a2a9c4; --faint: #6e7694;
    --primary: #6d67f0; --primary-h: #837df5; --primary-soft: rgba(109, 103, 240, 0.14);
    --nav-bg: rgba(13, 16, 32, 0.85); --btn2-bg: #171c33;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

html { scroll-behavior: smooth; }
body.lp {
    margin: 0; padding: 0; background: var(--bg); color: var(--text);
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
.lp a { color: var(--primary); text-decoration: none; }
.lp a:hover { color: var(--primary-h); }
.lp-container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---- nav ---- */
.lp-nav {
    position: sticky; top: 0; z-index: 50; background: var(--nav-bg);
    backdrop-filter: blur(12px); border-bottom: 1px solid var(--border);
}
.lp-nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap; min-height: 64px;
}
.lp-logo { display: flex; align-items: center; gap: 8px; }
.lp-logo, .lp a.lp-logo { color: var(--text); }
.lp-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--primary); display: inline-block; flex-shrink: 0; }
.lp-logo-name { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.lp-nav-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; font-size: 14.5px; font-weight: 500; }
.lp-nav-right { display: flex; align-items: center; gap: 12px; }
.lp a.lp-link-muted { color: var(--muted); }
.lp a.lp-link-muted:hover { color: var(--text); }
.lp-theme-toggle {
    width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border);
    background: var(--btn2-bg); color: var(--muted); cursor: pointer; font-size: 15px;
    display: grid; place-items: center;
}
.lp-theme-toggle:hover { color: var(--text); }

/* ---- buttons ---- */
.lp a.lp-btn-primary {
    display: inline-block; padding: 9px 18px; border-radius: 12px;
    background: var(--primary); color: #ffffff; font-weight: 600; font-size: 14.5px;
}
.lp a.lp-btn-primary:hover { background: var(--primary-h); color: #ffffff; }
.lp a.lp-btn-ghost {
    display: inline-block; padding: 9px 18px; border-radius: 12px;
    border: 1px solid var(--border); background: var(--btn2-bg);
    color: var(--text); font-weight: 600; font-size: 14.5px;
}
.lp a.lp-btn-ghost:hover { border-color: var(--faint); color: var(--text); }
.lp a.lp-btn-lg { padding: 14px 28px; font-size: 16px; }

/* ---- hero ---- */
.lp-hero { position: relative; overflow: hidden; }
.lp-hero-glow {
    position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(900px 420px at 50% -80px, var(--primary-soft), transparent 70%);
}
.lp-hero-inner {
    position: relative; padding: 84px 24px 64px; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.lp-hero-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px;
    border-radius: 100px; border: 1px solid var(--border); background: var(--card);
    font-size: 13px; font-weight: 500; color: var(--muted);
}
.lp-hero-badge .pulse { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; }
.lp-h1 {
    margin: 0; font-size: clamp(36px, 5.4vw, 60px); line-height: 1.08;
    letter-spacing: -0.03em; font-weight: 800; max-width: 800px; text-wrap: balance;
}
.lp-lead {
    margin: 0; font-size: clamp(16px, 2vw, 19px); line-height: 1.6;
    color: var(--muted); max-width: 600px; text-wrap: pretty;
}
.lp-hero-ctas { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---- hero product mockup ---- */
.lp-mock {
    width: 100%; max-width: 980px; margin-top: 28px; border: 1px solid var(--border);
    border-radius: 16px; background: var(--card); box-shadow: var(--shadow);
    overflow: hidden; display: grid; grid-template-columns: minmax(150px, 190px) 1fr; text-align: left;
}
.lp-mock-side {
    background: var(--bg-soft); border-right: 1px solid var(--border);
    padding: 18px 12px; display: flex; flex-direction: column; gap: 2px;
}
.lp-mock-brand { display: flex; align-items: center; gap: 7px; padding: 0 8px 14px; font-weight: 700; font-size: 13px; }
.lp-mock-brand .lp-dot { width: 9px; height: 9px; }
.lp-mock-item {
    display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 9px;
    font-size: 12.5px; font-weight: 500; color: var(--muted);
}
.lp-mock-item.active { color: var(--primary); background: var(--primary-soft); }
.lp-mock-item .sq { width: 12px; height: 12px; border-radius: 4px; border: 1.5px solid currentColor; opacity: 0.75; flex-shrink: 0; }
.lp-mock-main { padding: 22px 24px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.lp-mock-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lp-mock-hi { font-weight: 700; font-size: 16px; }
.lp-mock-date { font-size: 12px; color: var(--faint); margin-top: 2px; }
.lp-mock-action { padding: 8px 16px; border-radius: 10px; background: var(--primary); color: #fff; font-weight: 600; font-size: 12.5px; }
.lp-mock-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.lp-mock-stat { border: 1px solid var(--border); border-radius: 12px; padding: 13px 15px; display: flex; flex-direction: column; gap: 4px; }
.lp-mock-stat .lbl { font-size: 11px; color: var(--faint); }
.lp-mock-stat .val { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.lp-mock-list { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.lp-mock-listhead {
    padding: 10px 15px; font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase;
    color: var(--faint); font-weight: 600; background: var(--bg-soft); border-bottom: 1px solid var(--border);
}
.lp-mock-row {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 11px 15px; border-bottom: 1px solid var(--border); font-size: 13px;
}
.lp-mock-row:last-child { border-bottom: none; }
.lp-mock-row .ttl { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-mock-row .meta { font-size: 11.5px; color: var(--faint); }
.lp-mock-row .cell { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

/* ---- status badges ---- */
.lp-badge { padding: 3px 10px; border-radius: 100px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.lp-badge-pending { color: #a16207; background: rgba(234, 179, 8, 0.15); }
.lp-badge-approved { color: #15803d; background: rgba(34, 197, 94, 0.14); }
html[data-theme="dark"] .lp-badge-pending { color: #fbbf24; }
html[data-theme="dark"] .lp-badge-approved { color: #4ade80; }

/* ---- social proof ---- */
.lp-proof { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.lp-proof-inner { padding: 36px 24px; display: flex; flex-direction: column; gap: 26px; }
.lp-proof-label { text-align: center; font-size: 13px; color: var(--faint); font-weight: 500; letter-spacing: 0.04em; }
.lp-proof-logos {
    display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap;
    font-weight: 700; font-size: 16px; color: var(--faint); letter-spacing: 0.01em;
}
.lp-proof-stats {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px;
    max-width: 760px; margin: 0 auto; width: 100%; text-align: center;
}
.lp-proof-stat .val { font-weight: 800; font-size: 28px; letter-spacing: -0.02em; color: var(--text); }
.lp-proof-stat .lbl { font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* ---- sections ---- */
.lp-section { padding: 88px 24px; }
.lp-section-soft { border-top: 1px solid var(--border); background: var(--bg-soft); }
.lp-section-line { border-top: 1px solid var(--border); }
.lp-eyebrow { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); font-weight: 700; }
.lp-h2 {
    margin: 0; font-size: clamp(28px, 3.6vw, 38px); line-height: 1.15;
    letter-spacing: -0.025em; font-weight: 800; text-wrap: balance;
}
.lp-body { margin: 0; font-size: 16.5px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.lp-stack { display: flex; flex-direction: column; gap: 18px; }
.lp-center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lp-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: center; }
.lp-grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }

/* ---- cards ---- */
.lp-card {
    border: 1px solid var(--border); border-radius: 12px; background: var(--card);
    padding: 20px; display: flex; flex-direction: column; gap: 10px;
}
.lp-card:hover { border-color: var(--primary); }
.lp-card-static:hover { border-color: var(--border); }
.lp-icon {
    width: 36px; height: 36px; border-radius: 10px; background: var(--primary-soft);
    display: grid; place-items: center;
}
.lp-card .ttl { font-weight: 700; font-size: 15.5px; }
.lp-card .bdy { font-size: 13.5px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }

/* ---- problem / tool pile ---- */
.lp-pile {
    border: 1px solid var(--border); border-radius: 16px; background: var(--card);
    padding: 26px; display: flex; flex-direction: column; gap: 12px;
}
.lp-pile-item {
    display: flex; align-items: center; gap: 12px; padding: 11px 14px;
    border: 1px solid var(--border); border-radius: 12px; background: var(--bg-soft);
    font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: line-through;
}
.lp-pile-item .lp-dot { width: 8px; height: 8px; background: #ef4444; }
.lp-pile-final {
    display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 12px;
    background: var(--primary); color: #ffffff; font-size: 15px; font-weight: 700;
}
.lp-pile-final .lp-dot { width: 8px; height: 8px; background: #ffffff; }

/* ---- checklists ---- */
.lp-checks { display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--text); }
.lp-check { display: flex; align-items: center; gap: 10px; }
.lp-check .tick { color: #22c55e; font-weight: 700; }

/* ---- approval chain ---- */
.lp-chain {
    border: 1px solid var(--border); border-radius: 16px; background: var(--card); padding: 26px;
}
.lp-chain-caption {
    font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase;
    color: var(--faint); font-weight: 600; padding-bottom: 16px;
}
.lp-chain-step { display: flex; gap: 14px; }
.lp-chain-rail { display: flex; flex-direction: column; align-items: center; }
.lp-chain-node {
    width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
    font-size: 13px; font-weight: 700; flex-shrink: 0;
}
.lp-chain-node.ok { border: 2px solid #22c55e; background: rgba(34, 197, 94, 0.14); color: #15803d; }
.lp-chain-node.wait { border: 2px solid #eab308; background: rgba(234, 179, 8, 0.12); color: #a16207; }
.lp-chain-line { width: 2px; flex: 1; background: var(--border); min-height: 18px; }
.lp-chain-body { padding-bottom: 20px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.lp-chain-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.lp-chain-head .ttl { font-weight: 700; font-size: 15px; }
.lp-chain-meta { font-size: 13px; color: var(--faint); }

/* ---- ESS phone ---- */
.lp-phone-wrap { display: flex; justify-content: center; }
.lp-phone {
    width: 270px; border: 1px solid var(--border); border-radius: 34px; background: var(--card);
    box-shadow: var(--shadow); padding: 12px; display: flex; flex-direction: column;
}
.lp-phone-screen { border-radius: 24px; background: var(--bg-soft); overflow: hidden; display: flex; flex-direction: column; }
.lp-phone-status {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 16px 6px; font-size: 10.5px; font-weight: 600; color: var(--faint);
}
.lp-phone-body { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.lp-phone-hi { font-weight: 700; font-size: 15px; }
.lp-phone-sub { font-size: 11px; color: var(--faint); margin-top: 2px; }
.lp-phone-pay {
    border: 1px solid var(--border); border-radius: 12px; background: var(--card);
    padding: 13px 14px; display: flex; flex-direction: column; gap: 3px;
}
.lp-phone-pay .lbl { font-size: 10.5px; color: var(--faint); }
.lp-phone-pay .amt { font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.lp-phone-pay .paid { font-size: 10.5px; color: #15803d; font-weight: 600; }
html[data-theme="dark"] .lp-phone-pay .paid { color: #4ade80; }
.lp-phone-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lp-phone-tile {
    border: 1px solid var(--border); border-radius: 12px; background: var(--card);
    padding: 11px 12px; display: flex; flex-direction: column; gap: 2px;
}
.lp-phone-tile .lbl { font-size: 10px; color: var(--faint); }
.lp-phone-tile .val { font-weight: 700; font-size: 12.5px; }
.lp-phone-cta {
    padding: 11px; border-radius: 12px; background: var(--primary); color: #fff;
    text-align: center; font-weight: 700; font-size: 12.5px;
}

/* ---- pricing ---- */
.lp-seg {
    display: inline-flex; border: 1px solid var(--border); border-radius: 12px;
    background: var(--bg-soft); padding: 4px; gap: 2px;
}
.lp-seg button {
    padding: 8px 18px; border-radius: 9px; border: none; cursor: pointer;
    font-size: 14px; font-weight: 600; font-family: inherit;
    background: transparent; color: var(--faint); box-shadow: none;
}
.lp-seg button.active { background: var(--card); color: var(--text); box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12); }
.lp-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; align-items: stretch; }
.lp-plan {
    position: relative; border: 1px solid var(--border); border-radius: 16px;
    background: var(--card); padding: 26px 24px; display: flex; flex-direction: column; gap: 16px;
}
.lp-plan--popular { border: 2px solid var(--primary); }
.lp-plan-pop {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    padding: 4px 14px; border-radius: 100px; background: var(--primary); color: #fff;
    font-size: 11.5px; font-weight: 700; white-space: nowrap;
}
.lp-plan .name { font-weight: 700; font-size: 17px; }
.lp-plan .tagline { font-size: 13px; color: var(--faint); margin-top: 5px; }
.lp-plan-price { display: flex; align-items: baseline; gap: 6px; }
.lp-plan-price .amt { font-weight: 800; font-size: 34px; letter-spacing: -0.02em; }
.lp-plan-price .per { font-size: 13px; color: var(--faint); }
.lp a.lp-plan-cta {
    padding: 11px; border-radius: 12px; text-align: center; font-weight: 600; font-size: 14.5px;
    background: var(--btn2-bg); color: var(--text); border: 1px solid var(--border);
}
.lp a.lp-plan-cta:hover { filter: brightness(0.95); }
.lp .lp-plan--popular a.lp-plan-cta { background: var(--primary); color: #ffffff; border: none; }
.lp-plan-feats { display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; color: var(--muted); }
.lp-plan-feats .lp-check { align-items: flex-start; }
.lp-pricing-note { text-align: center; font-size: 13.5px; color: var(--faint); }

/* ---- testimonials ---- */
.lp-quote {
    margin: 0; border: 1px solid var(--border); border-radius: 16px; background: var(--card);
    padding: 26px; display: flex; flex-direction: column; gap: 18px;
}
.lp-quote blockquote { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--text); text-wrap: pretty; }
.lp-quote figcaption { display: flex; align-items: center; gap: 12px; }
.lp-avatar {
    width: 38px; height: 38px; border-radius: 50%; background: var(--primary-soft);
    color: var(--primary); display: grid; place-items: center; font-weight: 700; font-size: 13px; flex-shrink: 0;
}
.lp-quote .who { font-weight: 700; font-size: 14px; }
.lp-quote .role { font-size: 12.5px; color: var(--faint); }

/* ---- FAQ ---- */
.lp-faq { max-width: 760px; margin: 0 auto; }
.lp-faq-item { border: 1px solid var(--border); border-radius: 12px; background: var(--card); overflow: hidden; }
.lp-faq-q {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 17px 20px; border: none; background: transparent; cursor: pointer; font-family: inherit;
    font-size: 15.5px; font-weight: 600; color: var(--text); text-align: left;
}
.lp-faq-q .chev { color: var(--faint); font-size: 18px; flex-shrink: 0; transition: transform 0.2s ease; }
.lp-faq-item.open .chev { transform: rotate(180deg); }
.lp-faq-a { display: none; padding: 0 20px 18px; font-size: 14.5px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.lp-faq-item.open .lp-faq-a { display: block; }

/* ---- final CTA ---- */
.lp-cta-band {
    position: relative; overflow: hidden; border-radius: 20px; background: var(--primary);
    padding: clamp(40px, 6vw, 72px) 32px; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.lp-cta-band::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(600px 300px at 50% -60px, rgba(255, 255, 255, 0.22), transparent 70%);
}
.lp-cta-band h2 {
    position: relative; margin: 0; color: #fff; font-size: clamp(28px, 4vw, 42px);
    line-height: 1.12; letter-spacing: -0.025em; font-weight: 800; max-width: 620px; text-wrap: balance;
}
.lp-cta-band p { position: relative; margin: 0; color: rgba(255, 255, 255, 0.85); font-size: 17px; line-height: 1.6; max-width: 460px; }
.lp a.lp-cta-btn {
    position: relative; padding: 14px 30px; border-radius: 12px; background: #fff;
    color: #4f46e5; font-weight: 700; font-size: 16px; display: inline-block;
}
.lp a.lp-cta-btn:hover { background: #eef0fa; color: #4338ca; }

/* ---- footer ---- */
.lp-footer { border-top: 1px solid var(--border); background: var(--bg-soft); }
.lp-footer-inner { padding: 56px 24px 32px; display: flex; flex-direction: column; gap: 44px; }
.lp-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 36px; }
.lp-footer-about { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); max-width: 260px; }
.lp-footer-col { display: flex; flex-direction: column; gap: 12px; }
.lp-footer-col .hd { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); font-weight: 700; }
.lp .lp-footer-col a { font-size: 14px; color: var(--muted); }
.lp .lp-footer-col a:hover { color: var(--text); }
.lp-footer-bottom {
    display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
    padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--faint);
}
.lp-footer-bottom nav { display: flex; gap: 22px; }
.lp .lp-footer-bottom a { color: var(--faint); }
.lp .lp-footer-bottom a:hover { color: var(--text); }

/* ---- auth pages (login / register / 2FA / password reset) ----
   Bootstrap renders the forms; these overrides put them on the landing theme. */
.lp-auth {
    position: relative; overflow: hidden; min-height: calc(100vh - 64px);
    display: flex; align-items: center; justify-content: center; padding: 48px 16px;
}
.lp-auth::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(900px 420px at 50% -80px, var(--primary-soft), transparent 70%);
}
.lp-auth .card {
    position: relative; width: 100%; max-width: 440px;
    background: var(--card); border: 1px solid var(--border);
    border-radius: 16px; box-shadow: var(--shadow); color: var(--text);
}
.lp-auth .card.wide { max-width: 720px; }
.lp-auth .sw-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; }
.lp .lp-auth a.sw-brand { color: var(--text); }
.lp-auth .sw-brand .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--primary); display: inline-block; flex-shrink: 0; }
.lp-auth .form-label { font-weight: 500; font-size: 14px; }
.lp-auth .form-control, .lp-auth .form-select { border-radius: 10px; padding: 0.55rem 0.8rem; }
.lp-auth .form-control:focus, .lp-auth .form-select:focus {
    border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft);
}
.lp-auth .btn-primary {
    background: var(--primary); border-color: var(--primary);
    border-radius: 10px; padding: 0.6rem 1rem; font-weight: 600;
}
.lp-auth .btn-primary:hover { background: var(--primary-h); border-color: var(--primary-h); }
.lp-auth .text-secondary { color: var(--muted) !important; }
.lp-auth hr { border-color: var(--border); opacity: 1; }

/* ---- prose pages (about, contact, legal) ---- */
.lp-page { max-width: 760px; margin: 0 auto; padding: 72px 24px 96px; }
.lp-page h1 { margin: 0 0 8px; font-size: clamp(30px, 4vw, 42px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 800; }
.lp-page .lp-updated { font-size: 13.5px; color: var(--faint); margin: 0 0 36px; }
.lp-page h2 { margin: 36px 0 12px; font-size: 21px; letter-spacing: -0.015em; font-weight: 700; }
.lp-page p, .lp-page li { font-size: 15.5px; line-height: 1.7; color: var(--muted); }
.lp-page ul { padding-left: 22px; }

/* ---- what's in the box: honest capability facts instead of borrowed logos ---- */
.lp-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.lp-fact {
    border: 1px solid var(--border); border-radius: 16px; background: var(--card);
    padding: 20px; display: flex; flex-direction: column; gap: 4px;
}
.lp-fact .val { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.lp-fact .lbl { font-size: 13.5px; color: var(--muted); line-height: 1.45; }

/* ---- connected flows: the point of a single workspace ---- */
.lp-flows { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.lp-flow {
    border: 1px solid var(--border); border-radius: 18px; background: var(--card);
    padding: 22px; display: flex; flex-direction: column; gap: 12px;
}
.lp-flow-title { font-weight: 700; font-size: 15.5px; }
.lp-flow-steps { display: flex; flex-direction: column; gap: 0; }
.lp-flow-step {
    display: flex; align-items: center; gap: 10px; padding: 10px 12px;
    border-radius: 11px; background: var(--bg-soft); font-size: 14px; font-weight: 500;
}
.lp-flow-step .where { margin-left: auto; font-size: 11.5px; color: var(--faint); font-weight: 500; }
.lp-flow-link { height: 12px; margin-left: 21px; border-left: 2px dashed var(--border); }
.lp-flow-out {
    font-size: 13px; color: var(--muted); border-top: 1px dashed var(--border);
    padding-top: 12px; margin-top: 2px;
}
.lp-flow-n {
    width: 22px; height: 22px; flex: 0 0 22px; border-radius: 7px; display: grid; place-items: center;
    background: var(--primary-soft); color: var(--primary); font-size: 11.5px; font-weight: 700;
}

/* ---- module groups ----
   Four to a row on desktop (the Bootstrap col-md-3 shape), halving to two and
   then one as the viewport narrows. Fixed tracks rather than auto-fit, so the
   count is the same on every row whatever the card contents. Cards stretch to
   a common height per row, which keeps the grid from looking ragged. */
.lp-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
@media (max-width: 1000px) { .lp-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .lp-grid-4 { grid-template-columns: minmax(0, 1fr); } }

.lp-modgroup { display: flex; flex-direction: column; gap: 14px; padding: 22px; }
/* Icon above the heading: at a quarter-width card there is no room beside it. */
.lp-modgroup-hd { display: flex; flex-direction: column; gap: 10px; }
.lp-modgroup-hd .name { font-weight: 700; font-size: 15.5px; line-height: 1.3; }
.lp-modgroup-hd .sub { font-size: 13px; color: var(--muted); line-height: 1.5; text-wrap: pretty; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.lp-chip {
    border: 1px solid var(--border); border-radius: 999px; padding: 5px 11px;
    font-size: 12.5px; line-height: 1.35; color: var(--muted); background: var(--bg-soft);
}

/* ---- who it's for ---- */
.lp-who {
    border: 1px solid var(--border); border-radius: 18px; background: var(--card);
    padding: 24px; display: flex; flex-direction: column; gap: 8px;
}
.lp-who .ttl { font-weight: 700; font-size: 15.5px; }
.lp-who .bdy { font-size: 14px; color: var(--muted); line-height: 1.6; }
.lp-who .uses { font-size: 13px; color: var(--faint); margin-top: 4px; }

/* ---- Product logo (light / dark pair) ----
   Two files rather than a CSS filter: inverting would turn the navy wordmark
   and cyan swoosh into the wrong colours entirely. */
.lp-logo-img { height: 30px; width: auto; max-width: 200px; object-fit: contain; display: block; }
.lp-logo-dark { display: none; }
html[data-theme="dark"] .lp-logo-light { display: none; }
html[data-theme="dark"] .lp-logo-dark { display: block; }

/* ---- Page transition preloader (mirrors app.css, using the site's tokens) ----
   The landing layout stamps both data-theme and data-bs-theme, so the logo
   swap keys off the same attribute the app uses. */
.sw-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0;
    background: linear-gradient(90deg, var(--primary), #38bdf8);
    box-shadow: 0 0 10px rgba(79, 70, 229, .7);
    z-index: 20000; opacity: 0;
    transition: width .2s ease, opacity .25s ease; pointer-events: none;
}
.sw-progress.active { opacity: 1; }
.sw-preloader {
    position: fixed; inset: 0; z-index: 19990;
    display: flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(3px);
    opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease;
}
.sw-preloader.show { opacity: 1; visibility: visible; }
.sw-preloader-card { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 26px 34px; }
.sw-preloader img { height: 40px; width: auto; animation: sw-breathe 1.6s ease-in-out infinite; }
.sw-preloader .sw-preloader-msg { font-size: 13.5px; color: var(--muted); min-height: 1.2em; text-align: center; }
.sw-dots { display: flex; gap: 6px; }
.sw-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); animation: sw-bounce 1.05s ease-in-out infinite; }
.sw-dots span:nth-child(2) { animation-delay: .14s; }
.sw-dots span:nth-child(3) { animation-delay: .28s; }
.sw-preloader .sw-logo-dark { display: none; }
html[data-theme="dark"] .sw-preloader .sw-logo-light { display: none; }
html[data-theme="dark"] .sw-preloader .sw-logo-dark { display: block; }
@keyframes sw-breathe { 0%,100% { opacity: .55; transform: scale(.97); } 50% { opacity: 1; transform: scale(1); } }
@keyframes sw-bounce  { 0%,80%,100% { transform: translateY(0); opacity: .45; } 40% { transform: translateY(-6px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sw-preloader img, .sw-dots span { animation: none; } }
