/* ===========================================================
   Landing page - B2C marketing site
   Distinct modern design (plum + gold), Hebrew / RTL.
   =========================================================== */

/* The --lp-* brand variables are now defined once in the design system:
   ds/tokens.css → ds/ds-bridge.css (loaded before this file in every page
   <head> via views/partials/ds-head.php). Keeping them here would shadow the
   single source of truth, so they live in the bridge instead. */

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: var(--lp-font);
    color: var(--lp-ink);
    background: var(--lp-paper);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.lp-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}
.lp-container--narrow { max-width: 760px; }

/* ---- Buttons ---- */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 999px;
    font-family: var(--lp-font);
    font-size: 1.02rem;
    font-weight: 700;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.lp-btn:hover { transform: translateY(-2px); }
.lp-btn--primary {
    background: linear-gradient(135deg, var(--lp-violet), var(--color-accent-hover));
    color: #fff;
    box-shadow: 0 12px 28px rgba(124, 92, 255, 0.4);
}
.lp-btn--primary:hover { box-shadow: 0 16px 36px rgba(124, 92, 255, 0.5); }
.lp-btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}
.lp-section .lp-btn--ghost { border-color: var(--lp-line); color: var(--lp-plum); }
.lp-btn--ghost:hover { background: rgba(124, 92, 255, 0.08); }
.lp-btn--block { width: 100%; }

/* ---- Navigation ---- */
.lp-nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    padding: 14px 0;
    transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}
.lp-nav.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 6px 24px rgba(34, 17, 69, 0.1);
    padding: 8px 0;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.lp-nav__inner { display: flex; align-items: center; justify-content: space-between; }
.lp-brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.2rem; color: #fff; }
.lp-nav.is-scrolled .lp-brand { color: var(--lp-plum); }
.lp-brand__mark {
    display: inline-grid;
    place-items: center;
    width: 48px; height: 48px;
    border-radius: 14px;
    font-size: 1.1rem;
    overflow: hidden;
}
.lp-brand__mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-nav .lp-brand__mark { width: 64px; height: 64px; border-radius: 17px; }
.lp-nav__links { display: flex; align-items: center; gap: 28px; }
.lp-nav__menu-brand { display: none; }
.lp-nav__links a { color: rgba(255, 255, 255, 0.9); font-weight: 500; transition: color 0.2s; }
.lp-nav.is-scrolled .lp-nav__links a { color: var(--lp-ink); }
.lp-nav__links a:hover { color: var(--lp-gold); }
.lp-nav.is-scrolled .lp-nav__links a:hover { color: var(--lp-violet); }
.lp-nav__cta {
    background: var(--lp-gold);
    color: var(--lp-plum-deep) !important;
    padding: 9px 20px;
    border-radius: 999px;
    font-weight: 700 !important;
}
.lp-nav__cta:hover { background: var(--lp-gold-deep); }
.lp-nav__toggle {
    display: none;
    background: none; border: none;
    font-size: 1.6rem; color: #fff; cursor: pointer;
}
.lp-nav.is-scrolled .lp-nav__toggle { color: var(--lp-plum); }
.lp-nav__close {
    display: none;
    background: none; border: none;
    color: #fff; cursor: pointer; padding: 0;
    line-height: 1;
}

/* ---- Hero ---- */
.lp-hero {
    position: relative;
    background: radial-gradient(1100px 600px at 80% -10%, #4b2d86 0%, transparent 60%),
                linear-gradient(160deg, var(--lp-plum) 0%, var(--lp-plum-deep) 100%);
    color: #fff;
    padding: 150px 0 100px;
    overflow: hidden;
}
.lp-hero__glow {
    position: absolute;
    width: 520px; height: 520px;
    left: -160px; bottom: -220px;
    background: radial-gradient(circle, rgba(244, 183, 64, 0.32), transparent 70%);
    pointer-events: none;
}
.lp-hero__inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}
.lp-eyebrow {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 22px;
}
.lp-hero__title {
    font-family: var(--lp-display);
    font-size: clamp(2.3rem, 5vw, 3.7rem);
    line-height: 1.18;
    margin-bottom: 18px;
}
.lp-hero__subtitle {
    font-size: 1.18rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 520px;
    margin-bottom: 30px;
}
.lp-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }

/* Hero visual - phone mockup */
.lp-hero__visual { position: relative; display: grid; place-items: center; }
.lp-phone {
    position: relative;
    width: 260px;
    background: #120a26;
    border-radius: 38px;
    padding: 14px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
    border: 2px solid rgba(255, 255, 255, 0.08);
    animation: lp-float 5s ease-in-out infinite;
}
.lp-phone__notch {
    position: absolute;
    top: 14px; left: 50%; transform: translateX(-50%);
    width: 110px; height: 22px;
    background: #120a26;
    border-radius: 0 0 14px 14px;
    z-index: 2;
}
.lp-phone__screen {
    background: linear-gradient(170deg, var(--color-surface-1), var(--color-surface-3));
    border-radius: 26px;
   
    aspect-ratio: 390 / 844;
    overflow: hidden;
}
.lp-phone__scroll-viewport {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 32px rgba(24, 15, 44, 0.12);
    background: var(--color-surface-inverse);
    /* size container so the scroll keyframe can reference the viewport
       height (100cqh) and stop exactly at the image's bottom edge,
       regardless of the image's intrinsic aspect ratio. */
    container-type: size;
}
.lp-phone__screen-image {
    display: block;
    width: 100%;
    height: auto;
    animation: lp-phone-scroll 16s ease-in-out infinite alternate;
    will-change: transform;
}
.lp-qr-card {
    position: absolute;
    bottom: 24px; right: -8px;
    background: #fff;
    color: var(--lp-plum);
    border-radius: 16px;
    padding: 14px 16px;
    text-align: center;
    box-shadow: var(--lp-shadow);
    animation: lp-float 5s ease-in-out infinite reverse;
    perspective: 600px;
}
.lp-qr-card__inner { transition: transform 0.28s ease; transform-origin: center; }
.lp-qr-card.is-swapping .lp-qr-card__inner { transform: rotateX(90deg); }
.lp-qr-card__code { font-size: 2rem; line-height: 1; margin-bottom: 6px; }
.lp-qr-card span { display: block; font-size: 0.86rem; font-weight: 700; white-space: nowrap; }

/* ---- Floating background icons (mirrors event-shared.css; filled by
   floating-bg.js → createFloatingHearts(), shared with the public gallery). ---- */
.hearts-bg {
    position: fixed; inset: 0;
    pointer-events: none; overflow: hidden;
    z-index: 0;
}
/* Landing sections are opaque, so scope the layer to the hero (which is
   position:relative; overflow:hidden) and lift the hero content above it. */
.lp-hero .hearts-bg { position: absolute; }
.lp-hero__inner { position: relative; z-index: 1; }

.heart-float {
    position: absolute; top: -50px;
    opacity: 0; font-size: var(--text-xl);
    animation: floatHeart 12s ease-in infinite;
    will-change: transform, opacity;
}
@keyframes floatHeart {
    0%   { opacity: 0;   transform: translateY(0) rotate(0deg) scale(0.5); }
    10%  { opacity: 0.4; }
    50%  { opacity: 0.2; }
    100% { opacity: 0;   transform: translateY(100vh) rotate(360deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) { .heart-float { animation: none; } }

@keyframes lp-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

@keyframes lp-phone-scroll {
    /* -100% is the image's own height; +100cqh adds the viewport height
       back, so the end position aligns the image's bottom with the
       viewport's bottom and never scrolls past it. */
    0%, 12% { transform: translateY(0); }
    88%, 100% { transform: translateY(calc(-100% + 100cqh)); }
}

/* ---- Sections ---- */
.lp-section { padding: 90px 0; }
.lp-section--alt { background: var(--lp-cream); }
.lp-section--cta {
    background: linear-gradient(160deg, var(--lp-plum) 0%, var(--lp-plum-deep) 100%);
    color: #fff;
}
.lp-section__head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.lp-kicker {
    display: inline-block;
    color: var(--lp-violet);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}
.lp-section--cta .lp-kicker { color: var(--lp-gold); }
.lp-section__head h1,
.lp-section__head h2 {
    font-family: var(--lp-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    line-height: 1.25;
}
.lp-section__lead { margin-top: 14px; color: var(--lp-mute); }
.lp-section--cta .lp-section__lead { color: rgba(255, 255, 255, 0.8); }

/* ---- Features ---- */
.lp-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.lp-feature {
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    padding: 28px 22px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.lp-feature:hover {
    transform: translateY(-6px);
    box-shadow: var(--lp-shadow);
    border-color: transparent;
}
.lp-feature__icon {
    display: inline-grid;
    place-items: center;
    width: 56px; height: 56px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.14), rgba(244, 183, 64, 0.18));
    font-size: 1.7rem;
    margin-bottom: 16px;
}
.lp-feature h3 { font-size: 1.12rem; margin-bottom: 7px; }
.lp-feature p { color: var(--lp-mute); font-size: 0.96rem; }

/* ---- Steps ---- */
.lp-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.lp-step {
    position: relative;
    background: #fff;
    border-radius: var(--lp-radius);
    padding: 32px 24px;
    box-shadow: 0 6px 22px rgba(34, 17, 69, 0.06);
}
.lp-step__num {
    display: inline-grid;
    place-items: center;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lp-violet), var(--color-accent-hover));
    color: #fff;
    font-family: var(--lp-display);
    font-size: 1.3rem;
    margin-bottom: 14px;
}
.lp-step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.lp-step p { color: var(--lp-mute); font-size: 0.95rem; }
.lp-demo-cta { text-align: center; margin-top: 44px; }
.lp-demo-cta p { color: var(--lp-mute); margin-bottom: 14px; }

/* ---- Pricing ---- */
.lp-pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}
.lp-plan {
    position: relative;
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    padding: 34px 28px;
    display: flex;
    flex-direction: column;
}
.lp-plan--featured {
    border-color: var(--lp-violet);
    box-shadow: 0 24px 54px rgba(124, 92, 255, 0.22);
    transform: scale(1.04);
}
.lp-plan__badge {
    position: absolute;
    top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--lp-gold);
    color: var(--lp-plum-deep);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 999px;
}
.lp-plan__name { font-size: 1.3rem; margin-bottom: 10px; }
.lp-plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.lp-plan__amount {
    font-family: var(--lp-display);
    font-size: 2.6rem;
    color: var(--lp-plum);
}
/* Regular (pre-discount) price on its own line above the sale amount.
   Only the number is struck through, not the "במקום:" label. */
.lp-plan__old-amount {
    flex-basis: 100%;
    font-family: var(--lp-display);
    font-size: 1.05rem;
    line-height: 1.1;
    color: var(--lp-mute);
}
.lp-plan__old-amount del {
    text-decoration-line: line-through;
    text-decoration-color: rgba(0, 0, 0, 0.35);
}
.lp-plan__period { color: var(--lp-mute); font-size: 0.95rem; }
.lp-plan__tagline { color: var(--lp-mute); margin: 8px 0 18px; font-size: 0.96rem; }
.lp-plan__features { list-style: none; margin-bottom: 24px; flex: 1; }
.lp-plan__features li {
    position: relative;
    padding: 7px 26px 7px 0;
    font-size: 0.96rem;
    border-bottom: 1px dashed var(--lp-line);
}
.lp-plan__features li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--lp-violet);
    font-weight: 800;
}
.lp-pricing__note { text-align: center; color: var(--lp-mute); margin-top: 26px; font-size: 0.94rem; }
.lp-pricing__note a { color: var(--lp-violet); font-weight: 600; }

/* ---- Testimonials ---- */
.lp-testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.lp-quote {
    background: #fff;
    border-radius: var(--lp-radius);
    padding: 28px 24px;
    box-shadow: 0 6px 22px rgba(34, 17, 69, 0.07);
}
.lp-quote__stars { color: var(--lp-gold); letter-spacing: 2px; margin-bottom: 12px; }
.lp-quote blockquote { font-size: 1.02rem; margin-bottom: 16px; }
.lp-quote figcaption strong { display: block; color: var(--lp-plum); }
.lp-quote figcaption span { color: var(--lp-mute); font-size: 0.88rem; }

/* ---- FAQ ---- */
.lp-faq { display: flex; flex-direction: column; gap: 12px; }
.lp-faq__item {
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: 14px;
    padding: 4px 20px;
}
.lp-faq__item summary {
    list-style: none;
    cursor: pointer;
    font-weight: 700;
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.lp-faq__item summary::-webkit-details-marker { display: none; }
.lp-faq__item summary::after {
    content: '+';
    color: var(--lp-violet);
    font-size: 1.5rem;
    font-weight: 400;
    transition: transform 0.2s ease;
}
.lp-faq__item[open] summary::after { transform: rotate(45deg); }
.lp-faq__item p { color: var(--lp-mute); padding: 0 0 18px; }

/* ---- Contact form ---- */
.lp-alert {
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 22px;
    font-weight: 600;
    text-align: center;
}
.lp-alert--ok { background: rgba(76, 197, 142, 0.18); color: #b9f4d3; border: 1px solid rgba(76, 197, 142, 0.4); }
.lp-alert--err { background: rgba(255, 120, 120, 0.16); color: #ffc9c9; border: 1px solid rgba(255, 120, 120, 0.4); }
.lp-form {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--lp-radius);
    padding: 30px;
}
.lp-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lp-field { display: block; margin-bottom: 16px; }
.lp-field span { display: block; font-size: 0.92rem; margin-bottom: 6px; font-weight: 500; }
.lp-field i { color: var(--lp-gold); font-style: normal; }
.lp-field input,
.lp-field select,
.lp-field textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.95);
    color: var(--lp-ink);
    font-family: var(--lp-font);
    font-size: 1rem;
    resize: vertical;
}
.lp-field input:focus,
.lp-field select:focus,
.lp-field textarea:focus {
    outline: none;
    border-color: var(--lp-gold);
    box-shadow: 0 0 0 3px rgba(244, 183, 64, 0.25);
}
.lp-form__or { text-align: center; margin-top: 14px; color: rgba(255, 255, 255, 0.75); font-size: 0.95rem; }
.lp-form__or a { color: var(--lp-gold); font-weight: 700; }
.lp-field--check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; }
.lp-field--check input { width: auto; flex: 0 0 auto; margin-top: 3px; padding: 0; accent-color: var(--lp-gold); }
.lp-field--check span { display: inline; margin-bottom: 0; font-weight: 500; line-height: 1.5; color: rgba(255, 255, 255, 0.85); }
.lp-field--check a { color: var(--lp-gold); font-weight: 700; }

/* ---- Footer ---- */
.lp-footer { background: var(--lp-ink); color: rgba(255, 255, 255, 0.8); }
.lp-footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    padding-top: 50px;
    padding-bottom: 36px;
}
.lp-footer__brand { max-width: 320px; }
.lp-footer__brand-row { display: flex; align-items: center; gap: 9px; }
.lp-footer__brand strong { color: #fff; font-size: 1.15rem; }
.lp-footer__brand p { margin-top: 8px; font-size: 0.92rem; }
.lp-footer__brand a { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.lp-footer__brand a:hover { color: var(--lp-gold); }
.lp-footer__ico { font-size: 1.05em; line-height: 1; }
.lp-footer__col { display: flex; flex-direction: column; gap: 10px; min-width: 160px; }
.lp-footer__col a:hover { color: var(--lp-gold); }
.lp-footer__heading {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 4px;
    letter-spacing: 0.02em;
}
.lp-footer__bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 0;
    font-size: 0.86rem;
    text-align: center;
}

/* ---- WhatsApp floating button ---- */
.lp-whatsapp-fab {
    position: fixed;
    bottom: 22px; inset-inline-start: 22px;
    z-index: 60;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #25d366;
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    box-shadow: 0 10px 26px rgba(37, 211, 102, 0.5);
    transition: transform 0.2s ease;
}
.lp-whatsapp-fab:hover { transform: scale(1.1); }

/* ---- Reveal-on-scroll ---- */
.lp-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.lp-reveal.is-visible { opacity: 1; transform: none; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
    .lp-hero__inner { grid-template-columns: 1fr; text-align: center; }
    .lp-hero__actions { justify-content: center; }
    .lp-features { grid-template-columns: repeat(2, 1fr); }
    .lp-steps { grid-template-columns: repeat(2, 1fr); }
    .lp-pricing { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
    .lp-plan--featured { transform: none; }
    .lp-testimonials { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    /* Mobile browsers (iOS Safari in particular) flicker translucent
       backgrounds and backdrop-filter during inertial scroll, so the
       nav stays opaque from the top instead of toggling on scroll. */
    .lp-nav,
    .lp-nav.is-scrolled {
        background: #fff;
        box-shadow: 0 6px 24px rgba(34, 17, 69, 0.1);
        padding: 8px 0;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
    .lp-nav .lp-brand,
    .lp-nav .lp-nav__toggle { color: var(--lp-plum); }

    .lp-nav__links {
        position: fixed;
        inset: 0 0 0 auto;
        width: 50%;
        max-width: 300px;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        background: var(--lp-plum-deep);
        padding: 28px 28px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }
    .lp-nav__links.is-open { transform: translateX(0); }
    .lp-nav__menu-brand { display: inline-grid; margin-bottom: 8px; }
    .lp-nav__links a,
    .lp-nav.is-scrolled .lp-nav__links a { color: #fff; font-size: 1.1rem; }
    .lp-nav__toggle { display: block; }
    .lp-nav__close {
        display: block;
        position: absolute;
        top: 18px; left: 18px;
        font-size: 2rem;
    }
    .lp-features { grid-template-columns: 1fr; }
    .lp-steps { grid-template-columns: 1fr; }
    .lp-form__row { grid-template-columns: 1fr; }
    .lp-section { padding: 64px 0; }
    .lp-hero { padding: 124px 0 80px; }
}

/* ---- Legal / contact pages ---- */
.lp-nav--solid {
    background: #fff;
    box-shadow: 0 6px 24px rgba(34, 17, 69, 0.1);
    padding: 8px 0;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
.lp-nav--solid .lp-brand,
.lp-nav--solid .lp-nav__toggle { color: var(--lp-plum); }
.lp-nav--solid .lp-nav__links a { color: var(--lp-ink); }
.lp-nav--solid .lp-nav__links a:hover { color: var(--lp-violet); }

/* The dark ink colour above is for the desktop inline nav. On mobile the menu
   is the same dark slide-out panel as the landing page, so its items stay white
   (otherwise the solid nav rule would paint them dark-on-dark and hide them). */
@media (max-width: 680px) {
    .lp-nav--solid .lp-nav__links a { color: #fff; }
    .lp-nav--solid .lp-nav__links a:hover { color: var(--lp-gold); }
}

.lp-legal { padding: 140px 0 80px; background: var(--color-surface-1); min-height: 70vh; }
.lp-legal__article {
    background: #fff;
    border-radius: 16px;
    padding: 48px 40px;
    box-shadow: 0 6px 24px rgba(34, 17, 69, 0.06);
    max-width: 820px;
    margin: 0 auto;
}
.lp-legal__title {
    color: var(--lp-plum-deep);
    font-family: 'Secular One', 'Heebo', sans-serif;
    font-size: 2rem;
    margin: 0 0 24px;
}
.lp-legal__article p { color: var(--lp-ink); line-height: 1.8; margin: 0 0 18px; }
.lp-legal__article p:last-child { margin-bottom: 0; }

/* Rich-text body authored in the console (sanitized HTML). */
.lp-legal__body { color: var(--lp-ink); line-height: 1.8; overflow-wrap: break-word; }
.lp-legal__body > :first-child { margin-top: 0; }
.lp-legal__body > :last-child { margin-bottom: 0; }
.lp-legal__body h2,
.lp-legal__body h3,
.lp-legal__body h4 {
    color: var(--lp-plum-deep);
    font-family: 'Secular One', 'Heebo', sans-serif;
    line-height: 1.3;
    margin: 28px 0 12px;
}
.lp-legal__body h2 { font-size: 1.4rem; }
.lp-legal__body h3 { font-size: 1.2rem; }
.lp-legal__body h4 { font-size: 1.05rem; }
.lp-legal__body p { margin: 0 0 18px; }
.lp-legal__body ul,
.lp-legal__body ol { margin: 0 0 18px; padding-inline-start: 24px; }
.lp-legal__body li { margin: 0 0 8px; }
.lp-legal__body a { color: var(--lp-violet); text-decoration: underline; }
.lp-legal__body blockquote {
    margin: 0 0 18px;
    padding: 6px 16px;
    border-inline-start: 3px solid var(--lp-violet);
    color: var(--lp-mute);
}

@media (max-width: 680px) {
    .lp-legal { padding: 110px 0 56px; }
    .lp-legal__article { padding: 32px 22px; border-radius: 12px; }
    .lp-legal__title { font-size: 1.6rem; }
}
