/* xPMS landing, simplified fog and steel */
.lp4 {
    --bg: #f2f5f6;
    --surface: #e1e9eb;
    --ink: #17262b;
    --muted: #40565d;
    --accent: #356a8a;
    --accent-ink: #ffffff;
    --small: 13px;
    --body: 17px;
    --lead: clamp(18px, 1.4vw, 21px);
    --h2: clamp(28px, 3vw, 40px);
    --h1: clamp(2.5rem, 4.6vw, 4.15rem);
    --pad: clamp(20px, 4vw, 56px);
    --radius: 6px;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Inter', Arial, sans-serif;
    overflow: hidden;
}
.lp4 * { box-sizing: border-box; }
.lp4 a { color: inherit; }
.lp4 h1, .lp4 h2, .lp4 h3 { margin: 0; font-weight: 700; letter-spacing: -0.045em; color: var(--ink); }
.lp4 p { margin: 0; }
.lp4-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: var(--pad); }

/* HERO: stable two-column grid, stacks early */
.lp4-hero { padding: clamp(44px, 7vw, 90px) 0 clamp(50px, 8vw, 100px); }
.lp4-hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.lp4-hero h1 { font-size: var(--h1); line-height: .98; max-width: 12ch; }
.lp4-lead { max-width: 40ch; margin-top: 22px; color: var(--muted); font-size: var(--lead); line-height: 1.55; }
.lp4-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.lp4-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: 12px 18px; border: 0; border-radius: 4px;
    background: var(--ink); color: var(--bg); font-family: inherit; font-size: 15px; font-weight: 600;
    text-decoration: none; cursor: pointer; transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.lp4-btn:hover { background: var(--accent); color: var(--accent-ink); transform: translateY(-1px); }
.lp4-btn:focus-visible, .lp4-link:focus-visible, .lp4-faq summary:focus-visible { outline: 3px solid #7fb2c8; outline-offset: 3px; }
.lp4-link { min-height: 44px; display: inline-flex; align-items: center; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.lp4-link:hover { color: var(--accent); }
.lp4-note { margin-top: 14px; color: var(--muted); font-size: var(--small); line-height: 1.5; }
.lp4-hero-media { width: 100%; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.lp4-hero-media img, .lp4-media img { display: block; width: 100%; height: auto; object-fit: cover; object-position: left top; }

/* HORIZONTAL BANDS: plain, no cards */
.lp4-why { padding: clamp(54px, 7vw, 86px) 0; background: #fff; }
.lp4-section-head { max-width: 720px; }
.lp4-section-head h2 { font-size: var(--h2); line-height: 1.05; }
.lp4-section-head p { margin-top: 14px; max-width: 54ch; color: var(--muted); font-size: var(--body); line-height: 1.6; }
.lp4-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin-top: 42px; }
.lp4-col h3 { font-size: 19px; line-height: 1.2; letter-spacing: -0.02em; }
.lp4-col p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* TWO SIMPLE SPLITS */
.lp4-split { padding: clamp(54px, 7vw, 86px) 0; }
.lp4-split-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.lp4-split-copy h2 { font-size: var(--h2); line-height: 1.05; max-width: 13ch; }
.lp4-split-copy > p { margin-top: 14px; max-width: 44ch; color: var(--muted); font-size: var(--body); line-height: 1.6; }
.lp4-points { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.lp4-points li { position: relative; padding-left: 18px; color: var(--ink); font-size: 15px; line-height: 1.55; }
.lp4-points li::before { content: ''; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.lp4-media { background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.lp4-split.is-reverse .lp4-media { order: -1; }

/* SIMPLE FAQ */
.lp4-faq { padding: clamp(54px, 7vw, 86px) 0; background: #fff; }
.lp4-faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.lp4-faq h2 { font-size: var(--h2); line-height: 1.05; }
.lp4-faq-list { display: grid; gap: 6px; }
.lp4-faq details { background: var(--surface); border-radius: 4px; }
.lp4-faq details[open] { background: var(--accent); color: var(--accent-ink); }
.lp4-faq summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 58px; padding: 14px 16px; cursor: pointer; list-style: none; font-size: 16px; font-weight: 600; line-height: 1.4; }
.lp4-faq summary::-webkit-details-marker { display: none; }
.lp4-faq summary::after { content: '+'; font-size: 23px; font-weight: 300; line-height: 1; }
.lp4-faq details[open] summary::after { content: '−'; }
.lp4-faq details p { padding: 0 16px 16px; font-size: 15px; line-height: 1.55; max-width: 60ch; }
.lp4-faq details:not([open]) p { display: none; }

/* CTA: two plain fields, one photo */
.lp4-cta { padding: clamp(54px, 7vw, 86px) 0; }
.lp4-cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--accent); border-radius: var(--radius); overflow: hidden; }
.lp4-cta-copy { padding: clamp(28px, 4vw, 56px); color: var(--accent-ink); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.lp4-cta-copy h2 { color: var(--accent-ink); font-size: clamp(30px, 3.4vw, 46px); line-height: 1; max-width: 12ch; }
.lp4-cta-copy p { margin-top: 14px; max-width: 42ch; color: #e1eef2; font-size: 16px; line-height: 1.5; }
.lp4-cta-copy .lp4-btn { background: #fff; color: var(--accent); margin-top: 22px; }
.lp4-cta-copy .lp4-btn:hover { background: #eaf4f4; color: var(--accent); }
.lp4-cta-photo { min-height: 300px; }
.lp4-cta-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp4-footer { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 22px var(--pad) 18px; color: var(--muted); font-size: var(--small); }
.lp4-footer div { display: flex; flex-wrap: wrap; gap: 16px; }
.lp4-footer a { text-decoration: none; }
.lp4-footer a:hover { color: var(--accent); }
.lp4-footer .lp4-requisites { flex: 1 0 100%; display: flex; flex-direction: column; gap: 3px; padding-top: 14px; margin-top: 2px; border-top: 1px solid rgba(120, 135, 140, .18); line-height: 1.5; }
.lp4-footer .lp4-requisites strong { color: var(--ink); font-size: 12px; font-weight: 600; margin-bottom: 2px; }

/* Motion: subtle, never hides content */
.lp4-motion-ready .lp4-reveal { transform: translateY(16px); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.lp4-motion-ready .lp4-reveal.is-visible { transform: translateY(0); }
.lp4-motion-ready .lp4-hero-copy > * { animation: lp4-rise .6s both ease-out; }
.lp4-motion-ready .lp4-hero-copy > *:nth-child(2) { animation-delay: .06s; }
.lp4-motion-ready .lp4-hero-copy > *:nth-child(3) { animation-delay: .12s; }
@keyframes lp4-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
    .lp4-motion-ready .lp4-reveal, .lp4-motion-ready .lp4-hero-copy > * { transform: none; animation: none; transition: none; }
}

@media (max-width: 1020px) {
    .lp4-hero-grid, .lp4-split-grid { grid-template-columns: 1fr; gap: 28px; }
    .lp4-hero-media { max-width: 760px; }
    .lp4-split.is-reverse .lp4-media { order: 0; }
    .lp4-cols { grid-template-columns: 1fr; gap: 22px; margin-top: 30px; }
    .lp4-faq-grid { grid-template-columns: 1fr; gap: 24px; }
    .lp4-cta-grid { grid-template-columns: 1fr; }
    .lp4-cta-photo { min-height: 240px; order: 2; }
}
@media (max-width: 600px) {
    .lp4 { --pad: 20px; }
    .lp4-hero { padding-top: 34px; }
    .lp4-actions { align-items: stretch; flex-direction: column; gap: 4px; }
    .lp4-btn { width: 100%; }
    .lp4-hero h1 { font-size: clamp(2.55rem, 11vw, 3.3rem); }
    .lp4-split-copy h2, .lp4-section-head h2, .lp4-faq h2 { font-size: 28px; }
    .lp4-cta-copy h2 { font-size: 30px; }
    .lp4-faq summary { font-size: 15px; padding: 13px 14px; }
    .lp4-faq details p { padding: 0 14px 14px; font-size: 15px; }
    .lp4-footer { flex-direction: column; }
}

/* Interface screenshot lightbox */
.lp4-zoomable { cursor: zoom-in; }
.lp4-zoomable:focus-visible { outline: 3px solid #7fb2c8; outline-offset: 3px; }
.lp4-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(10, 22, 26, .9);
}
.lp4-lightbox[hidden] { display: none; }
.lp4-lightbox img {
    display: block;
    width: auto;
    height: auto;
    max-width: 94vw;
    max-height: 84vh;
    border-radius: 6px;
    background: #fff;
    object-fit: contain;
}
.lp4-lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 4px;
    background: #f2f5f6;
    color: #17262b;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.lp4-lightbox-close:hover { background: #e1e9eb; }
.lp4-lightbox-caption {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    width: min(90vw, 760px);
    color: #eaf1f2;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
}
@media (max-width: 600px) {
    .lp4-lightbox { padding: 16px; }
    .lp4-lightbox img { max-width: 96vw; max-height: 78vh; }
    .lp4-lightbox-close { top: 10px; right: 10px; width: 38px; height: 38px; }
    .lp4-lightbox-caption { bottom: 10px; font-size: 12px; }
}
/* Two-screen chessboard showcase with automatic scrolling */
.lp4-screens { padding: clamp(54px, 7vw, 86px) 0; background: var(--bg); }
.lp4-screens-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 64px); align-items: end; }
.lp4-screens-head h2 { font-size: var(--h2); line-height: 1.05; max-width: 15ch; }
.lp4-screens-head p { max-width: 52ch; color: var(--muted); font-size: var(--body); line-height: 1.6; }
.lp4-device-stage { display: flex; align-items: flex-end; gap: clamp(16px, 3vw, 34px); margin-top: 36px; }
.lp4-device { flex: 0 0 auto; padding: 8px; background: var(--surface); border-radius: var(--radius); }
.lp4-device-desktop { width: 72%; }
.lp4-device-phone { width: 24%; min-width: 190px; margin-left: auto; }
.lp4-scroll-window { height: var(--window-h, 440px); overflow: hidden; background: #fff; border-radius: 4px; }
.lp4-scroll-window img { width: 100%; height: auto; display: block; }
.lp4-auto-shot { animation: lp4-pan 18s ease-in-out infinite alternate; }
.lp4-device-phone .lp4-auto-shot { animation-duration: 15s; }
@keyframes lp4-pan {
    0%, 10% { transform: translateY(0); }
    90%, 100% { transform: translateY(calc(-100% + var(--window-h, 440px))); }
}
.lp4-device-label { display: block; padding: 8px 2px 2px; color: var(--muted); font-size: 12px; line-height: 1.3; }
.lp4-media-phone { width: 380px; max-width: 100%; margin: 0 auto; }
.lp4-media-phone img { width: 100%; height: 560px; object-fit: cover; object-position: top; }
.lp4-media-guest { max-width: 440px; margin: 0 auto; }
.lp4-media-guest img { width: 100%; height: auto; }

@media (prefers-reduced-motion: reduce) {
    .lp4-auto-shot { animation: none; }
}
@media (max-width: 900px) {
    .lp4-screens-head { grid-template-columns: 1fr; gap: 14px; }
    .lp4-screens-head h2 { max-width: none; }
    .lp4-device-stage { display: grid; grid-template-columns: 1fr; gap: 18px; }
    .lp4-device-desktop { width: 100%; }
    .lp4-device-phone { width: min(70%, 320px); min-width: 0; margin: 0 auto; }
    .lp4-device-desktop .lp4-scroll-window { height: auto; }
    .lp4-device-desktop .lp4-auto-shot { animation: none; transform: none; }
}
@media (max-width: 600px) {
    .lp4-device { padding: 6px; }

    .lp4-device-label { font-size: 11px; }
    .lp4-media-phone { max-width: 300px; }
    .lp4-media-phone img { height: 480px; }
    .lp4-media-guest { max-width: 100%; }
}