/* ==========================================================================
   The product pages (/client-portal, /booking-system, /online-shop,
   /online-forms, /e-signatures, /online-database; landing.phtml): sections
   of words beside one picture of exactly what they describe, the picture
   on a soft panel in the page's own tint, sides alternating. Built on the
   site's tokens (.mk-site in polish.css).
   ========================================================================== */
.lp-page {
    --lp-tint: #eef2ff;
    --lp-tint-2: #f8fafc;
    --lp-accent: #3730a3;
}

/* The hero: the trust line under the buttons, the picture on its panel. */
.lp-page .mk-hero {
    padding-bottom: 0;
}
.lp-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
    margin: 1.1rem 0 0;
    padding: 0;
    list-style: none;
    color: #64748b;
    font-size: 0.92rem;
}
.lp-trust li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.lp-trust .mdi {
    color: #16a34a;
}
.lp-hero-stage {
    margin: 3rem auto 0;
    max-width: 1180px;
    padding: 28px 28px 0;
    border-radius: 24px 24px 0 0;
    background: linear-gradient(160deg, var(--lp-tint) 0%, var(--lp-tint-2) 100%);
}
.lp-hero-stage .mk-frame {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-bottom: -1px;
}

/* "What is it": a quotable answer, and an example beside it. */
.lp-what {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 40px;
    align-items: start;
}
.lp-what .landing-example {
    margin-top: 0;
}

/* The sections: words and a picture, alternating sides. */
.lp-row {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 56px;
    align-items: center;
    padding: 56px 0;
}
.lp-row + .lp-row {
    border-top: 1px solid var(--mk-line, #e6e6e3);
}
.lp-row.lp-flip {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}
.lp-row.lp-flip .lp-words {
    order: 2;
}
.lp-eyebrow {
    display: inline-block;
    margin-bottom: 0.6rem;
    color: var(--lp-accent);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.lp-words h2 {
    font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 0.9rem;
}
.lp-words p {
    color: var(--mk-ink-soft, #4b5160);
    font-size: 1.06rem;
    line-height: 1.6;
    margin: 0 0 1rem;
}
.lp-bullets {
    list-style: none;
    margin: 0;
    padding: 0;
}
.lp-bullets li {
    position: relative;
    padding: 6px 0 6px 28px;
    color: var(--mk-ink, #1d1f25);
    line-height: 1.5;
}
.lp-bullets li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 12px;
    width: 14px;
    height: 8px;
    border-left: 2px solid #16a34a;
    border-bottom: 2px solid #16a34a;
    transform: rotate(-45deg);
}
.lp-stage {
    border-radius: 20px;
    padding: 28px;
    background: linear-gradient(150deg, var(--lp-tint) 0%, var(--lp-tint-2) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}
.lp-stage img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14), 0 2px 6px rgba(15, 23, 42, 0.06);
    background: #fff;
}
/* A phone-sized picture stands narrower. */
.lp-stage.lp-tall img {
    max-height: 560px;
    width: auto;
}

/* The smaller things, as a compact grid. */
.lp-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 36px;
}
.lp-points > div {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 4px 12px;
}
.lp-points .mdi {
    font-size: 24px;
    color: var(--lp-accent);
    grid-row: span 2;
    line-height: 1.2;
}
.lp-points h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
}
.lp-points p {
    color: var(--mk-ink-soft, #4b5160);
    margin: 0;
    font-size: 0.97rem;
    line-height: 1.55;
}

/* Templates to start from. */
.lp-templates {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}
.lp-template {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--mk-line, #e6e6e3);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: box-shadow 0.15s, transform 0.15s;
}
.lp-template:hover {
    color: inherit;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
    transform: translateY(-2px);
}
.lp-template img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top left;
    background: var(--lp-tint);
    border-bottom: 1px solid var(--mk-line, #e6e6e3);
}
.lp-template span {
    display: block;
    padding: 14px 16px 16px;
}
.lp-template strong {
    display: block;
    margin-bottom: 4px;
}
.lp-template small {
    color: #64748b;
    line-height: 1.45;
    display: block;
}

/* Which plans have it. */
.lp-plan {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    border-radius: 16px;
    padding: 24px 28px;
    background: var(--lp-tint-2);
    border: 1px solid var(--mk-line, #e6e6e3);
}
.lp-plan .mdi {
    font-size: 28px;
    color: var(--lp-accent);
    line-height: 1;
}
.lp-plan h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 6px;
}
.lp-plan p {
    margin: 0;
    color: var(--mk-ink-soft, #4b5160);
}

@media (max-width: 991.98px) {
    .lp-what,
    .lp-row,
    .lp-row.lp-flip {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }
    .lp-row {
        padding: 40px 0;
    }
    .lp-row.lp-flip .lp-words {
        order: 0;
    }
    .lp-points {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 575.98px) {
    .lp-hero-stage {
        padding: 14px 14px 0;
        border-radius: 16px 16px 0 0;
    }
    .lp-stage {
        padding: 14px;
        border-radius: 14px;
    }
    .lp-points {
        grid-template-columns: minmax(0, 1fr);
    }
    .lp-plan {
        padding: 20px;
    }
}
