/* Synthetic Audiences — the public landing (web/landing.html).
 *
 * Loaded after app.css: tokens, Manrope, .btn, .info-btn, .tab / .storage-tabs and .brand__mark come from there
 * (Book Forms, recoloured). Here: the page rhythm (white / grey / one black section), the large type scale, the
 * infographics (live demo, benefit bars, funnel, bars, rings, ladder, data flow, mode table) and the dialogs. Class prefix lp-.
 */

.lp {
    background: var(--white);
    overflow-x: hidden;
    --lp-grey: #F6F6F6;
    --lp-gutter: 32px;
    --lp-at: #BF3A00; /* accent for small text on white / grey (AA) */
    --lp-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

.lp-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: var(--lp-gutter);
    padding-right: var(--lp-gutter);
}

.lp a { color: inherit; }
.lp :focus-visible { outline: none; box-shadow: 0 0 0 3px var(--accent-ring); border-radius: 6px; }
.lp .btn:focus-visible { box-shadow: 0 0 0 3px var(--accent-ring); }

.lp-skip {
    position: absolute; left: 16px; top: -60px; z-index: 600;
    padding: 10px 16px; border-radius: 8px;
    background: var(--primary); color: var(--white) !important; font-weight: 600; text-decoration: none;
}
.lp-skip:focus { top: 12px; }

/* ---------- Header ---------- */

.lp-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: saturate(1.4) blur(8px);
    border-bottom: 1px solid var(--border-gray);
}
.lp-header__in { display: flex; align-items: center; gap: 24px; height: 64px; }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.lp-brand .brand__mark { background: var(--primary); color: var(--white); }
.lp-brand__name { font-weight: 700; font-size: 1rem; letter-spacing: -0.02em; white-space: nowrap; }
.lp-nav { display: flex; gap: 4px; margin-left: auto; }
.lp-nav a {
    padding: 6px 12px; border-radius: 8px; color: var(--text-gray);
    font-size: 0.9rem; font-weight: 600; text-decoration: none; transition: var(--transition);
}
.lp-nav a:hover { color: var(--primary); background: var(--light-gray); }
.lp-login { flex: 0 0 auto; }
.lp-btn-md { padding: 12px 22px; font-size: 0.95rem; }

/* ---------- Type ---------- */

.lp-eyebrow {
    margin-bottom: 12px;
    color: var(--lp-at);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.lp-section h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.5rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
    font-weight: 800;
}
.lp-sub { margin-top: 10px; color: var(--text-gray); font-size: 1.1rem; line-height: 1.5; }

/* ---------- Sections and rhythm ---------- */

.lp-section { padding: 112px 0; }
.lp-section--grey { background: var(--lp-grey); }
.lp-section--dark { background: var(--primary); color: var(--white); }
.lp-section--dark .lp-eyebrow { color: var(--accent); }
.lp-section--dark .lp-sub { color: rgba(255, 255, 255, 0.66); }

.lp-titlerow { display: flex; align-items: flex-end; gap: 10px; }
.lp-titlerow .info-btn { margin-bottom: 6px; }

/* ---------- Hero ---------- */

.lp-hero { background: var(--white); padding-bottom: 72px; }
.lp-hero__in {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 48px;
}
.lp-wrap.lp-hero__in { padding-top: 80px; padding-bottom: 56px; }
.lp-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
    font-weight: 800;
}
.lp-lead { max-width: 26em; margin-top: 22px; color: var(--text-gray); font-size: 1.25rem; line-height: 1.5; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.lp-kpis {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--border-gray);
}
.lp-kpis li { padding: 28px 24px 4px 0; display: grid; align-content: start; gap: 8px; }
.lp-kpis li + li { padding-left: 24px; border-left: 1px solid var(--border-gray); }
.lp-kpi__n { color: var(--accent); font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.lp-kpi__t { color: var(--text-gray); font-size: 0.95rem; font-weight: 600; line-height: 1.4; }

.lp-hero h1 em { font-style: normal; color: var(--accent); }

/* live demo: one 21 s cycle, three scenes stacked in one grid cell, everything driven by --d (0 / 7 / 14 s) */
.lp-demo {
    --cy: 21s;
    margin: 0; padding: 22px 24px 18px; min-width: 0;
    border: 1px solid var(--border-gray); border-radius: 20px;
    background: var(--white);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.1);
}
.lp-demo__bar { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--border-gray); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-gray); }
.lp-demo__live { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); animation: lp-pulse 1.6s ease-in-out infinite; }
.lp-demo__dots { display: inline-flex; gap: 5px; margin-left: auto; }
.lp-demo__dots i { width: 7px; height: 7px; border-radius: 50%; background: #C9C9C9; animation: lp-dot 1.8s ease-in-out infinite; }
.lp-demo__dots i:nth-child(3n+2) { animation-delay: 0.3s; }
.lp-demo__dots i:nth-child(3n) { animation-delay: 0.6s; }
.lp-demo__dots i:nth-child(4n+1) { animation-delay: 0.9s; }
@keyframes lp-pulse { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 79, 0, 0.45); } 50% { transform: scale(1.1); box-shadow: 0 0 0 7px rgba(255, 79, 0, 0); } }
@keyframes lp-dot { 0%, 100% { background: #D4D4D4; transform: scale(1); } 50% { background: var(--accent); transform: scale(1.35); } }

.lp-demo__scenes { display: grid; margin-top: 20px; }
.lp-scene { grid-area: 1 / 1; display: grid; align-content: start; gap: 18px; min-width: 0; opacity: 0; visibility: hidden; animation: lp-scene var(--cy) var(--d) infinite backwards; }
.lp-scene__q { font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.2; }
.lp-scene__q span { display: inline-block; animation: lp-type var(--cy) var(--d) infinite backwards; }
.lp-rows { display: grid; gap: 12px; }
.lp-row { display: grid; grid-template-columns: minmax(110px, 170px) minmax(0, 1fr) 64px; align-items: center; gap: 12px; }
.lp-row__l { font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); line-height: 1.25; }
.lp-row__t { position: relative; display: block; height: 28px; border-radius: 7px; background: var(--lp-grey); overflow: hidden; }
.lp-row__t i { position: absolute; inset: 0 auto 0 0; width: max(var(--w), 6px); border-radius: 7px; background: #3A3A3A; transform-origin: left center; }
.lp-row b { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-row.is-win i { background: var(--accent); }
.lp-row.is-win .lp-row__l, .lp-row.is-win b { color: var(--lp-at); font-weight: 800; }
.lp-row.is-ctrl i { background: var(--white); border: 2px dashed #A3A3A3; }
.lp-scene__v { display: flex; align-items: flex-start; gap: 8px; padding: 12px 14px; border-radius: 12px; background: var(--primary); color: var(--white); font-size: 0.95rem; font-weight: 700; line-height: 1.35; animation: lp-verdict var(--cy) var(--d) infinite backwards; }
.lp-scene__v .icon { flex: 0 0 auto; margin-top: 2px; color: var(--accent); }
.lp-demo__cap { margin-top: 14px; color: var(--text-faint); font-size: 0.78rem; font-style: italic; }

/* bars grow, in a stagger; the shared cycle is 100% = 21 s, a scene is visible during 0-31% */
.lp-row.k1 i { animation: lp-g1 var(--cy) var(--d) infinite backwards; }
.lp-row.k2 i { animation: lp-g2 var(--cy) var(--d) infinite backwards; }
.lp-row.k3 i { animation: lp-g3 var(--cy) var(--d) infinite backwards; }
.lp-row.k4 i { animation: lp-g4 var(--cy) var(--d) infinite backwards; }
.lp-row.k1 b { animation: lp-v1 var(--cy) var(--d) infinite backwards; }
.lp-row.k2 b { animation: lp-v2 var(--cy) var(--d) infinite backwards; }
.lp-row.k3 b { animation: lp-v3 var(--cy) var(--d) infinite backwards; }
.lp-row.k4 b { animation: lp-v4 var(--cy) var(--d) infinite backwards; }
@keyframes lp-scene { 0% { opacity: 0; visibility: hidden; transform: translateY(8px); } 2% { opacity: 1; visibility: visible; transform: none; } 29% { opacity: 1; visibility: visible; transform: none; } 31%, 100% { opacity: 0; visibility: hidden; transform: translateY(-6px); } }
@keyframes lp-type { 0%, 2% { clip-path: inset(0 100% 0 0); } 9%, 100% { clip-path: inset(0 0 0 0); } 2% { animation-timing-function: steps(32); } }
@keyframes lp-g1 { 0%, 10% { transform: scaleX(0); animation-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1); } 16%, 100% { transform: scaleX(1); } }
@keyframes lp-g2 { 0%, 12% { transform: scaleX(0); animation-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1); } 18%, 100% { transform: scaleX(1); } }
@keyframes lp-g3 { 0%, 14% { transform: scaleX(0); animation-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1); } 20%, 100% { transform: scaleX(1); } }
@keyframes lp-g4 { 0%, 16% { transform: scaleX(0); animation-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1); } 22%, 100% { transform: scaleX(1); } }
@keyframes lp-v1 { 0%, 12% { opacity: 0; } 16%, 100% { opacity: 1; } }
@keyframes lp-v2 { 0%, 14% { opacity: 0; } 18%, 100% { opacity: 1; } }
@keyframes lp-v3 { 0%, 16% { opacity: 0; } 20%, 100% { opacity: 1; } }
@keyframes lp-v4 { 0%, 18% { opacity: 0; } 22%, 100% { opacity: 1; } }
@keyframes lp-verdict { 0%, 22% { opacity: 0; transform: translateY(8px); } 26%, 100% { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    .lp-demo * { animation: none !important; }
    .lp-scene { visibility: visible; }
    .lp-scene:not(:first-child) { display: none; }
    .lp-scene:first-child { opacity: 1; }
}

/* ---------- Who it is for ---------- */

.lp-roles { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.lp-roles li { padding: 8px 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--border-gray); font-size: 0.95rem; font-weight: 700; color: var(--ink-soft); }
.lp-asks { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.lp-ask { display: grid; align-content: start; gap: 8px; padding: 26px; border-radius: 16px; background: var(--white); border: 1px solid var(--border-gray); }
.lp-ask__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 8px; border-radius: 12px; background: var(--primary); color: var(--white); }
.lp-ask__icon .icon { width: 24px; height: 24px; }
.lp-ask:nth-child(odd) .lp-ask__icon { background: var(--accent); }
.lp-ask h3 { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.lp-ask p { color: var(--text-gray); font-size: 0.95rem; line-height: 1.5; }

/* ---------- Benefits ---------- */

.lp-gains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.lp-gain { display: grid; align-content: start; gap: 4px; padding: 32px 28px 28px; border-radius: 20px; border: 1px solid var(--border-gray); background: var(--white); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05); }
.lp-gain__n { color: var(--accent); font-size: clamp(2.6rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.lp-gain__t { color: var(--primary); font-size: 1.1rem; font-weight: 700; line-height: 1.3; min-height: 2.6em; }
.lp-vs { display: grid; gap: 10px; margin-top: 18px; }
.lp-vs__row { display: grid; grid-template-columns: 116px minmax(0, 1fr) 6.4em; align-items: center; gap: 10px; font-size: 0.82rem; font-weight: 600; color: var(--text-gray); line-height: 1.2; }
.lp-vs__track { position: relative; display: block; height: 22px; border-radius: 6px; background: var(--lp-grey); overflow: hidden; }
.lp-vs__track i { position: absolute; inset: 0 auto 0 0; width: max(var(--w), 6px); border-radius: 6px; background: #4A4A4A; transform-origin: left center; }
.lp-vs__row b { text-align: right; font-size: 0.85rem; font-weight: 800; color: var(--primary); white-space: nowrap; }
.lp-vs__row.is-us { color: var(--lp-at); font-weight: 800; }
.lp-vs__row.is-us .lp-vs__track i { background: var(--accent); }
.lp-vs__row.is-us b { color: var(--lp-at); }
.lp-gains + .lp-caption { margin-top: 24px; }

/* ---------- Reveal on scroll (hidden state only when landing.js is running) ---------- */

.lp-js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--lp-ease), transform 0.6s var(--lp-ease); }
.lp-js [data-reveal].is-in { opacity: 1; transform: none; }
.lp-js .lp-asks > :nth-child(2), .lp-js .lp-tiles > :nth-child(2), .lp-js .lp-gains > :nth-child(2), .lp-js .lp-kinds > :nth-child(2), .lp-js .lp-go > :nth-child(2) { transition-delay: 0.1s; }
.lp-js .lp-asks > :nth-child(3), .lp-js .lp-tiles > :nth-child(3), .lp-js .lp-gains > :nth-child(3), .lp-js .lp-kinds > :nth-child(3), .lp-js .lp-go > :nth-child(3) { transition-delay: 0.2s; }
.lp-js .lp-asks > :nth-child(4), .lp-js .lp-tiles > :nth-child(4) { transition-delay: 0.3s; }

.lp-js .lp-vs__track i, .lp-js .lp-funnel__bar, .lp-js .lp-bars__bar { transform: scaleX(0); transform-origin: left center; transition: transform 1s var(--lp-ease) 0.3s; }
.lp-js [data-reveal].is-in .lp-vs__track i, .lp-js .lp-case.is-in .lp-funnel__bar, .lp-js .lp-case.is-in .lp-bars__bar { transform: none; }
.lp-js .lp-vs__row.is-us .lp-vs__track i { transition-delay: 0.7s; }
.lp-js .lp-funnel__row:nth-child(2) .lp-funnel__bar, .lp-js .lp-bars__row:nth-child(2) .lp-bars__bar { transition-delay: 0.45s; }
.lp-js .lp-funnel__row:nth-child(3) .lp-funnel__bar, .lp-js .lp-bars__row:nth-child(3) .lp-bars__bar { transition-delay: 0.6s; }
.lp-js .lp-funnel__row:nth-child(4) .lp-funnel__bar { transition-delay: 0.75s; }
.lp-js .lp-ring__fg { stroke-dashoffset: 320; transition: stroke-dashoffset 1.3s var(--lp-ease) 0.3s; }
.lp-js .lp-ring + .lp-cover__arrow + .lp-ring .lp-ring__fg { transition-delay: 0.8s; }
.lp-js .lp-case.is-in .lp-ring__fg { stroke-dashoffset: 0; }
.lp-js .lp-pchips li { opacity: 0; transform: translateX(-10px); transition: opacity 0.5s ease 1s, transform 0.5s var(--lp-ease) 1s; }
.lp-js .lp-case.is-in .lp-pchips li { opacity: 1; transform: none; }
.lp-js .lp-pchips li:nth-child(2) { transition-delay: 1.15s; }
.lp-js .lp-pchips li:nth-child(3) { transition-delay: 1.3s; }

@media (prefers-reduced-motion: reduce) {
    .lp-js [data-reveal], .lp-js .lp-vs__track i, .lp-js .lp-funnel__bar, .lp-js .lp-bars__bar, .lp-js .lp-pchips li { opacity: 1; transform: none; transition: none !important; }
    .lp-js .lp-ring__fg { stroke-dashoffset: 0; transition: none; }
}

/* ---------- Cases ---------- */

.lp-tabs { display: inline-flex; max-width: 100%; margin-top: 36px; }
.lp-tabs .tab { font-size: 0.95rem; padding: 10px 18px; }

.lp-case {
    margin-top: 20px;
    padding: 40px;
    border: 1px solid var(--border-gray);
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}
.lp-case:focus-visible { box-shadow: 0 0 0 3px var(--accent-ring); }
.lp-case__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 32px; }
.lp-case__q { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; max-width: 30em; }

.lp-chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px; border-radius: 999px;
    font-size: 0.85rem; font-weight: 700; white-space: nowrap;
}
.lp-chip--dark { background: var(--primary); color: var(--white); }
.lp-chip--dark .icon { color: var(--accent); }
.lp-chip--twins { background: #FFF1E0; color: #8A4100; }

.lp-chart-title { margin-bottom: 14px; color: var(--text-faint); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* funnel: one bar per step, width = share of the population */
.lp-funnel { display: grid; gap: 14px; }
.lp-funnel__row, .lp-bars__row {
    display: grid;
    grid-template-columns: minmax(150px, 220px) minmax(0, 1fr) 96px;
    align-items: center;
    gap: 18px;
}
.lp-funnel__l, .lp-bars__l { font-size: 0.98rem; font-weight: 600; color: var(--ink-soft); line-height: 1.3; }
.lp-funnel__track, .lp-bars__track { position: relative; height: 40px; border-radius: 8px; background: var(--lp-grey); overflow: hidden; }
.lp-funnel__bar, .lp-bars__bar {
    position: absolute; inset: 0 auto 0 0;
    width: max(var(--w), 6px);
    border-radius: 8px;
    background: var(--primary);
}
.lp-funnel__row:nth-child(2) .lp-funnel__bar { background: #3A3A3A; }
.lp-funnel__row:nth-child(3) .lp-funnel__bar { background: #6B6B6B; }
.lp-funnel__row.is-key .lp-funnel__bar { background: var(--accent); }
.lp-funnel__v, .lp-bars__v { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-funnel__row.is-key .lp-funnel__l, .lp-funnel__row.is-key .lp-funnel__v { color: var(--lp-at); }
.lp-funnel__row.is-key .lp-funnel__l { font-weight: 800; }

.lp-bars { display: grid; gap: 14px; }
.lp-bars__track { height: 48px; }
.lp-bars__bar { background: #BDBDBD; }
.lp-bars__row.is-win .lp-bars__bar { background: var(--accent); }
.lp-bars__row.is-win .lp-bars__v, .lp-bars__row.is-win .lp-bars__l { color: var(--lp-at); font-weight: 800; }
.lp-bars__row.is-ctrl .lp-bars__bar { background: var(--white); border: 2px dashed #BDBDBD; }

/* coverage rings */
.lp-cover { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.lp-ring { position: relative; width: 168px; display: grid; justify-items: center; gap: 10px; }
.lp-ring svg { width: 168px; height: 168px; transform: rotate(-90deg); }
.lp-ring__bg { fill: none; stroke: var(--lp-grey); stroke-width: 14; }
.lp-ring__fg { fill: none; stroke: var(--accent); stroke-width: 14; stroke-linecap: round; }
.lp-ring__fg--grey { stroke: #8C8C8C; }
.lp-ring__n { position: absolute; top: 0; left: 0; width: 168px; height: 168px; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; font-weight: 800; letter-spacing: -0.04em; }
.lp-ring figcaption { font-size: 0.9rem; font-weight: 700; color: var(--text-gray); }
.lp-cover__arrow { color: var(--accent); font-size: 2rem; font-weight: 800; padding-bottom: 32px; }
.lp-portrait { flex: 1 1 260px; min-width: 0; padding-left: 28px; border-left: 1px solid var(--border-gray); }
.lp-pchips { list-style: none; display: grid; gap: 10px; }
.lp-pchips li {
    display: flex; align-items: baseline; gap: 12px;
    padding: 12px 16px; border-radius: 12px; background: var(--lp-grey);
    font-size: 0.95rem; font-weight: 600; color: var(--ink-soft);
}
.lp-pchips span { min-width: 3ch; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; color: var(--primary); }
.lp-pchips li.is-key { background: var(--primary); color: var(--white); }
.lp-pchips li.is-key span { color: var(--accent); }

.lp-case__end {
    display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap;
    margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border-gray);
}
.lp-conclusion { font-size: 1.15rem; line-height: 1.45; }
.lp-conclusion strong { color: var(--lp-at); }
.lp-caption { margin-top: 14px; color: var(--text-faint); font-size: 0.8rem; font-style: italic; }

/* ---------- Trust (black) ---------- */

.lp-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.lp-tile {
    display: grid; align-content: start; gap: 8px;
    padding: 28px; border-radius: 16px;
    background: #171717; border: 1px solid #2A2A2A;
}
.lp-tile__top { display: flex; justify-content: space-between; align-items: flex-start; }
.lp-tile__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; margin-bottom: 10px; border-radius: 12px;
    background: var(--accent); color: var(--white);
}
.lp-tile__icon .icon { width: 24px; height: 24px; }
.lp-tile h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; }
.lp-tile p { color: rgba(255, 255, 255, 0.68); font-size: 0.98rem; line-height: 1.45; }
.lp-info--dark { color: rgba(255, 255, 255, 0.7); }
.lp-info--dark:hover { background: #2A2A2A; color: var(--accent); }

.lp-mini-bars { display: flex; align-items: flex-end; gap: 8px; height: 64px; margin-top: 14px; }
.lp-mini-bars span { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: #3A3A3A; }
.lp-mini-bars span:nth-child(4) { background: var(--accent); }

.lp-ocean { list-style: none; display: grid; gap: 6px; margin-top: 14px; }
.lp-ocean li { display: flex; align-items: center; gap: 6px; }
.lp-ocean b { width: 22px; font-size: 0.85rem; font-weight: 800; color: var(--accent); }
.lp-ocean i { width: 12px; height: 12px; border-radius: 50%; background: #4A4A4A; }
.lp-ocean li:nth-child(1) i:nth-of-type(2), .lp-ocean li:nth-child(2) i:nth-of-type(5), .lp-ocean li:nth-child(3) i:nth-of-type(1), .lp-ocean li:nth-child(4) i:nth-of-type(4), .lp-ocean li:nth-child(5) i:nth-of-type(3), .lp-ocean li:nth-child(5) i:nth-of-type(6) { background: var(--white); }

.lp-spread { width: 100%; max-width: 300px; height: auto; margin-top: 10px; }
.lp-spread__chorus circle { fill: #5A5A5A; }
.lp-spread__twins circle { fill: rgba(255, 255, 255, 0.85); }
.lp-spread__persona { fill: var(--accent); }
.lp-spread text { fill: rgba(255, 255, 255, 0.6); font: 600 11px Manrope, sans-serif; }

.lp-ladder { margin-top: 48px; }
.lp-ladder__title { margin-bottom: 16px; font-size: 1.2rem; font-weight: 800; }
.lp-ladder__steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: end; }
.lp-ladder__steps li {
    display: flex; align-items: flex-end; gap: 10px;
    padding: 18px 20px; border-radius: 12px;
    background: #171717; border: 1px solid #2A2A2A;
    font-size: 1.05rem; font-weight: 700;
}
.lp-ladder__steps .s1 { min-height: 72px; }
.lp-ladder__steps .s2 { min-height: 104px; }
.lp-ladder__steps .s3 { min-height: 136px; background: var(--white); color: var(--primary); }
.lp-ladder__steps .lp-ev__dot { margin-bottom: 5px; }

.lp-ev__dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; flex: 0 0 auto; vertical-align: -2px; }
.lp-ev__dot--a { background: #F2C200; }
.lp-ev__dot--t { background: #FF8A00; }
.lp-ev__dot--c { background: #1FA35B; }

.lp-rerun { display: flex; align-items: center; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.lp-rerun span { padding: 8px 14px; border-radius: 999px; background: #262626; border: 1px solid #3A3A3A; color: var(--white); font-size: 0.9rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-rerun b { color: var(--accent); font-size: 1.6rem; font-weight: 800; line-height: 1; }
.lp-straight { margin-top: 28px; padding: 18px 22px; border: 1px solid #2A2A2A; border-left: 4px solid var(--accent); border-radius: 12px; background: #171717; color: rgba(255, 255, 255, 0.82); font-size: 1rem; line-height: 1.55; }
.lp-straight strong { color: var(--white); }
/* ---------- Data: we collect, you connect ---------- */

.lp-flow { display: grid; grid-template-columns: minmax(0, 1.3fr) 120px minmax(0, 0.8fr); align-items: center; margin-top: 44px; }
.lp-flow__src { list-style: none; display: grid; gap: 12px; }
.lp-flow__src li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: var(--lp-grey); border: 1px solid var(--border-gray); }
.lp-flow__icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; background: var(--primary); color: var(--white); }
.lp-flow__src b { display: block; font-size: 1.02rem; font-weight: 800; letter-spacing: -0.01em; }
.lp-flow__src small { display: block; margin-top: 2px; color: var(--text-gray); font-size: 0.86rem; line-height: 1.35; }
.lp-flow__src em { padding: 4px 11px; border-radius: 999px; background: var(--white); border: 1px solid var(--border-gray); color: var(--ink-soft); font-size: 0.76rem; font-style: normal; font-weight: 800; white-space: nowrap; }
.lp-flow__src li.is-yours { background: var(--accent-wash); border-color: var(--accent); }
.lp-flow__src li.is-yours .lp-flow__icon { background: var(--accent); }
.lp-flow__src li.is-yours em { background: var(--accent); border-color: var(--accent); color: var(--primary); }

.lp-flow__arrow { position: relative; display: block; height: 2px; margin: 0 14px; background: repeating-linear-gradient(90deg, #A3A3A3 0 8px, transparent 8px 16px); background-size: 16px 2px; animation: lp-dash 0.9s linear infinite; }
.lp-flow__arrow::before { content: ""; position: absolute; right: -2px; top: -6px; width: 12px; height: 12px; border-top: 2px solid #A3A3A3; border-right: 2px solid #A3A3A3; transform: rotate(45deg); }
.lp-flow__arrow::after { content: ""; position: absolute; left: 0; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); animation: lp-travel 2.2s var(--lp-ease) infinite; }
@keyframes lp-dash { to { background-position: 16px 0; } }
@keyframes lp-travel { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }

.lp-flow__out { display: grid; justify-items: start; gap: 8px; padding: 30px 28px; border-radius: 20px; background: var(--primary); color: var(--white); }
.lp-flow__out .icon { width: 40px; height: 40px; padding: 8px; box-sizing: content-box; border-radius: 12px; background: var(--accent); color: var(--primary); }
.lp-flow__out b { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.lp-flow__out small { color: rgba(255, 255, 255, 0.72); font-size: 0.95rem; line-height: 1.45; }

/* ---------- Security ---------- */

.lp-h3 { margin: 44px 0 16px; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.lp-kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lp-kind { display: grid; align-content: start; gap: 6px; padding: 24px; border-radius: 16px; background: var(--white); border: 1px solid var(--border-gray); }
.lp-kind__emoji { font-size: 2.4rem; line-height: 1.1; }
.lp-kind h4 { font-size: 1.1rem; font-weight: 800; }
.lp-kind p { color: var(--text-gray); font-size: 0.95rem; line-height: 1.45; }
.lp-kind--p { background: #FFF1EA; border-color: var(--accent); }

.lp-modes { margin-top: 0; border: 1px solid var(--border-gray); border-radius: 16px; background: var(--white); overflow-x: auto; }
.lp-modes:focus-visible { box-shadow: 0 0 0 3px var(--accent-ring); }
.lp-modes__row { display: grid; grid-template-columns: 150px repeat(3, minmax(130px, 1fr)); min-width: 560px; align-items: stretch; }
.lp-modes__row + .lp-modes__row { border-top: 1px solid var(--border-gray); }
.lp-modes__row > span { display: flex; align-items: center; padding: 14px 16px; font-size: 0.95rem; font-weight: 700; background: var(--white); }
.lp-modes__row > span + span { justify-content: center; text-align: center; border-left: 1px solid var(--border-gray); }
.lp-modes__row > span:first-child { position: sticky; left: 0; z-index: 1; }
.lp-modes__head > span { display: block; background: var(--light-gray); font-weight: 400; }
.lp-modes__head b { display: block; font-size: 0.92rem; font-weight: 800; line-height: 1.25; }
.lp-modes__head small { display: block; margin-top: 3px; color: var(--text-gray); font-size: 0.78rem; line-height: 1.3; }
.lp-modes .is-yes { color: #0E7A3C; font-size: 1.2rem; font-weight: 800; }
.lp-modes .is-no { color: var(--text-gray); font-size: 0.86rem; font-weight: 700; background: var(--lp-grey) !important; }
.lp-js .lp-modes:not(.is-in) .is-yes, .lp-js .lp-modes:not(.is-in) .is-no { opacity: 0; transform: scale(0.6); }
.lp-modes .is-yes, .lp-modes .is-no { transition: opacity 0.4s ease, transform 0.4s var(--lp-ease); transition-delay: calc(0.2s + var(--r, 0) * 0.18s + var(--c, 0) * 0.1s); }
.lp-modes__row:nth-child(3) { --r: 1; }
.lp-modes__row:nth-child(4) { --r: 2; }
.lp-modes__row > :nth-child(3) { --c: 1; }
.lp-modes__row > :nth-child(4) { --c: 2; }

.lp-base { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.lp-base li { padding: 9px 16px; border-radius: 999px; background: var(--primary); color: var(--white); font-size: 0.88rem; font-weight: 700; }

/* ---------- How to start ---------- */

.lp-go { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 44px; }
.lp-go__s { position: relative; display: grid; align-content: start; gap: 8px; padding: 28px; border-radius: 20px; background: var(--lp-grey); border: 1px solid var(--border-gray); }
.lp-go__n { color: var(--primary); font-size: 3.6rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; opacity: 0.9; }
.lp-go__s h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.lp-go__s p { color: var(--text-gray); font-size: 0.97rem; line-height: 1.5; }
.lp-go__s:not(:last-child)::after { content: ""; position: absolute; top: 56px; left: 100%; width: 28px; height: 2px; background: repeating-linear-gradient(90deg, #A3A3A3 0 5px, transparent 5px 9px); }
.lp-go__s--key { background: var(--accent); border-color: var(--accent); }
.lp-go__s--key p { color: var(--primary); }

.lp-learn { display: flex; align-items: center; gap: 20px; margin-top: 32px; padding: 22px 26px; border: 1px solid var(--border-gray); border-radius: 20px; }
.lp-learn__icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%; background: var(--primary); color: var(--accent); }
.lp-learn__icon .icon { width: 26px; height: 26px; }
.lp-learn p { flex: 1 1 auto; color: var(--ink-soft); font-size: 1rem; line-height: 1.5; font-weight: 600; }
.lp-learn .btn { flex: 0 0 auto; }

/* ---------- Final call ---------- */

.lp-cta { background: var(--accent); color: var(--white); padding: 96px 0; }
.lp-cta__in { text-align: center; display: grid; justify-items: center; gap: 28px; }
.lp-cta .lp-eyebrow { color: var(--primary); margin-bottom: -16px; }
.lp-cta h2 { color: var(--primary); font-size: clamp(2rem, 4.4vw, 3.4rem); }
.lp-btn-invert { background: var(--primary); color: var(--white); border-color: var(--primary); padding: 16px 36px; font-size: 1.05rem; }
.lp-btn-invert:hover:not(:disabled) { background: var(--white); border-color: var(--white); color: var(--primary); }

.lp-footer { background: var(--primary); color: rgba(255, 255, 255, 0.72); }
.lp-footer__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; font-size: 0.9rem; }
.lp-footer .brand__mark { background: var(--white); color: var(--primary); width: 26px; height: 26px; font-size: 0.72rem; }
.lp-footer .lp-brand__name { font-size: 0.92rem; color: var(--white); }
.lp-footer a { color: var(--white); font-weight: 600; text-decoration: none; }
.lp-footer a:hover { color: var(--accent); }

/* ---------- Lists inside dialogs ---------- */

.lp-list { list-style: none; margin-top: 10px; display: grid; gap: 8px; }
.lp-list li { position: relative; padding-left: 20px; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.5; }
.lp-list li::before {
    content: ""; position: absolute; left: 2px; top: 0.62em;
    width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}
.lp-note { margin-top: 12px !important; color: var(--primary) !important; font-weight: 600; font-size: 0.9rem !important; }

/* ---------- Dialogs (ac-dialog of the app on a native <dialog>) ---------- */

.lp-dialog {
    width: min(640px, calc(100vw - 32px));
    max-height: min(86vh, 900px);
    margin: auto;
    padding: 22px 26px 24px;
    border: 0;
    border-radius: 14px;
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
    overflow-y: auto;
    overscroll-behavior: contain;
}
.lp-dialog--sm { width: min(420px, calc(100vw - 32px)); }
.lp-dialog--wide { width: min(780px, calc(100vw - 32px)); }
.lp-dialog::backdrop { background: rgba(0, 0, 0, 0.45); }
.lp-dialog[open] { animation: lp-in 0.18s ease-out; }
@keyframes lp-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .lp-dialog[open] { animation: none; }
    .lp * { transition: none !important; }
}

.lp-dialog__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.lp-dialog h2 { font-size: 1.2rem; line-height: 1.3; font-weight: 800; letter-spacing: -0.02em; padding-top: 2px; }
.lp-dialog h3 { margin: 20px 0 6px; font-size: 0.98rem; font-weight: 700; }
.lp-dialog p { margin-top: 10px; font-size: 0.95rem; line-height: 1.6; color: var(--ink-soft); }
.lp-dialog__head + p { margin-top: 0; }
.lp-dialog .lp-list { margin-top: 10px; }
.lp-dialog__x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: var(--light-gray);
    color: var(--text-gray);
    cursor: pointer;
}
.lp-dialog__x:hover { color: var(--primary); background: var(--border-gray); }
.lp-dialog__foot { display: flex; justify-content: flex-end; margin-top: 20px; }
.lp-dialog__foot .btn { padding: 10px 22px; font-size: 0.92rem; }

.lp-table-wrap { margin-top: 10px; overflow-x: auto; border: 1px solid var(--border-gray); border-radius: 10px; }
.lp-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; line-height: 1.45; }
.lp-table th, .lp-table td { padding: 9px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border-gray); }
.lp-table thead th { background: var(--light-gray); font-size: 0.78rem; font-weight: 700; color: var(--text-gray); }
.lp-table tbody tr:last-child td { border-bottom: 0; }
.lp-table td:nth-child(2), .lp-table td:nth-child(3) { white-space: nowrap; }
.lp-table td:last-child { white-space: normal; }
.lp-table--num td:not(:first-child), .lp-table--num th:not(:first-child) { text-align: right; white-space: nowrap; }
.lp-table tr.is-total td { font-weight: 700; color: var(--primary); }

.lp-scheme__base {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
    .lp-nav { display: none; }
    .lp-asks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-gains { grid-template-columns: 1fr; max-width: 640px; }
    .lp-gain__t { min-height: 0; }
    .lp-flow { grid-template-columns: 1fr; }
    .lp-flow__arrow { width: 2px; height: 64px; margin: 6px auto; background: repeating-linear-gradient(180deg, #A3A3A3 0 8px, transparent 8px 16px); background-size: 2px 16px; animation-name: lp-dash-v; }
    .lp-flow__arrow::before { right: auto; left: -6px; top: auto; bottom: -2px; transform: rotate(135deg); }
    .lp-flow__arrow::after { left: -4px; top: 0; animation-name: lp-travel-v; }
    @keyframes lp-dash-v { to { background-position: 0 16px; } }
    @keyframes lp-travel-v { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% - 10px); opacity: 0; } }
    .lp-go__s:not(:last-child)::after { display: none; }
    .lp-login { margin-left: auto; }
}

@media (max-width: 860px) {
    .lp-hero__in { grid-template-columns: 1fr; }
    .lp-demo { max-width: 620px; }
    .lp-go { grid-template-columns: 1fr; gap: 14px; }
    .lp-learn { flex-wrap: wrap; }
    .lp-learn p { flex-basis: calc(100% - 80px); }
    .lp-wrap.lp-hero__in { padding-top: 48px; padding-bottom: 32px; }

    .lp-section { padding: 80px 0; }

    .lp-portrait { padding-left: 0; border-left: 0; flex-basis: 100%; }
    .lp-cover { justify-content: center; }
}

@media (max-width: 640px) {
    .lp { --lp-gutter: 16px; }
    .lp-section { padding: 64px 0; }
    .lp-hero { padding-bottom: 48px; }
    .lp-hero h1 { font-size: 2.35rem; }
    .lp-demo { padding: 16px 16px 14px; border-radius: 16px; }
    .lp-scene { gap: 14px; }
    .lp-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "l v" "t t"; gap: 5px 12px; }
    .lp-row__l { grid-area: l; }
    .lp-row b { grid-area: v; font-size: 1rem; }
    .lp-row__t { grid-area: t; height: 20px; }
    .lp-kpis { grid-template-columns: 1fr; }
    .lp-kinds { grid-template-columns: 1fr; }
    .lp-kpis li, .lp-kpis li + li { padding: 16px 0; border-left: 0; }
    .lp-kpis li + li { border-top: 1px solid var(--border-gray); }
    .lp-kpi__n { font-size: 1.9rem; }
    .lp-modes__row { grid-template-columns: 112px repeat(3, minmax(118px, 1fr)); min-width: 480px; }
    .lp-modes__row > span { padding: 12px; font-size: 0.88rem; }
    .lp-asks { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
    .lp-ask { padding: 20px; }
    .lp-gains { margin-top: 32px; }
    .lp-gain { padding: 24px 20px 22px; }
    .lp-vs__row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "l v" "t t"; gap: 4px 10px; }
    .lp-vs__row > span:first-child { grid-area: l; }
    .lp-vs__row b { grid-area: v; }
    .lp-vs__track { grid-area: t; }
    .lp-tile { padding: 22px 20px; }
    .lp-rerun span { font-size: 0.82rem; padding: 7px 11px; }
    .lp-flow { margin-top: 32px; }
    .lp-flow__src li { grid-template-columns: auto minmax(0, 1fr); padding: 14px; }
    .lp-flow__src em { grid-column: 2; justify-self: start; }
    .lp-flow__out { padding: 24px 20px; }
    .lp-h3 { margin-top: 32px; }
    .lp-learn { padding: 18px; gap: 14px; }
    .lp-learn p { flex-basis: calc(100% - 66px); font-size: 0.95rem; }
    .lp-learn .btn { width: 100%; }
    .lp-go__s { padding: 22px; }
    .lp-go__n { font-size: 2.8rem; }

    .lp-lead { font-size: 1.08rem; }
    .lp-actions .btn { flex: 1 1 auto; }
    .lp-tiles { grid-template-columns: 1fr; gap: 14px; margin-top: 32px; }

    .lp-tabs { display: flex; flex-direction: column; width: 100%; margin-top: 28px; }
    .lp-tabs .tab { text-align: left; white-space: normal; }
    .lp-case { padding: 22px 16px; border-radius: 16px; }
    .lp-case__head { margin-bottom: 24px; }
    .lp-chip { white-space: normal; }
    .lp-funnel__row, .lp-bars__row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "l v" "t t"; gap: 6px 12px; }
    .lp-funnel__l, .lp-bars__l { grid-area: l; font-size: 0.92rem; }
    .lp-funnel__v, .lp-bars__v { grid-area: v; font-size: 1.25rem; }
    .lp-funnel__track, .lp-bars__track { grid-area: t; height: 28px; }
    .lp-ring, .lp-ring svg, .lp-ring__n { width: 120px; }
    .lp-ring svg, .lp-ring__n { height: 120px; }
    .lp-ring__n { font-size: 1.7rem; }
    .lp-cover { gap: 12px; }
    .lp-cover__arrow { font-size: 1.5rem; }
    .lp-tiles, .lp-ladder { margin-top: 32px; }
    .lp-ladder__steps { grid-template-columns: 1fr; }
    .lp-ladder__steps li { min-height: 0 !important; }
    .lp-ladder__steps .s2 { margin-left: 16px; }
    .lp-ladder__steps .s3 { margin-left: 32px; }

    .lp-dialog { padding: 18px 16px 20px; max-height: 88vh; }
}

@media (max-width: 380px) {
    .lp-brand__name { font-size: 0.92rem; }
    .lp-header__in { gap: 12px; }
}
