/* ==========================================================================
   Landing page — custom design system
   Scoped to body.lp-landing only. Colors are lifted from the real Elmo
   product UI (blue header/navy sidebar, green "completed" accent) instead
   of the stock theme's default teal, so the marketing page actually looks
   like the product it is selling.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

body.lp-landing {
    --lp-brand: #1d6fe9;
    --lp-brand-dark: #12336b;
    --lp-brand-darker: #0c1f45;
    --lp-accent: #17b26a;
    --lp-ink: #0b1220;
    --lp-body: #55607a;
    --lp-body-soft: #8892a6;
    --lp-bg: #ffffff;
    --lp-bg-soft: #f5f8fd;
    --lp-border: #e6eaf3;
    --lp-radius-sm: 12px;
    --lp-radius-md: 18px;
    --lp-radius-lg: 28px;
    --lp-shadow-sm: 0 2px 10px rgba(15, 23, 42, .05);
    --lp-shadow-md: 0 16px 40px -12px rgba(15, 23, 42, .16);
    --lp-shadow-lift: 0 24px 60px -16px rgba(29, 111, 233, .28);
    --lp-container: 1220px;

    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--lp-body);
    background: var(--lp-bg);
    -webkit-font-smoothing: antialiased;
}

body.lp-landing h1,
body.lp-landing h2,
body.lp-landing h3,
body.lp-landing h4,
body.lp-landing h5 {
    display: block; /* style.css sets a stray h2{display:inline-block} that breaks text-align/margin:auto centering */
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--lp-ink);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
}

body.lp-landing p {
    margin: 0;
}

body.lp-landing a {
    text-decoration: none;
}

body.lp-landing ::selection {
    background: var(--lp-brand);
    color: #fff;
}

.lp-container {
    max-width: var(--lp-container);
    margin: 0 auto;
    padding: 0 24px;
}

/* --------------------------------------------------------------------
   Header — keep existing structural classes/IDs (JS-dependent), only
   reskin colors/type/spacing.
   -------------------------------------------------------------------- */

body.lp-landing header.transparent.header-light.scroll-light {
    background: rgba(255, 255, 255, .8);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(15, 23, 42, .06);
    transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}

body.lp-landing header.smaller.scroll-light {
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 30px -14px rgba(15, 23, 42, .25);
}

body.lp-landing #logo strong {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 17px;
    letter-spacing: -.01em;
    color: var(--lp-ink) !important;
}

body.lp-landing #mainmenu > li > a {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--lp-ink);
    opacity: .8;
    text-transform: none;
    letter-spacing: 0;
    transition: opacity .2s ease, color .2s ease;
}

body.lp-landing #mainmenu > li > a:hover {
    opacity: 1;
    color: var(--lp-brand);
}

body.lp-landing #mainmenu li.lp-mobile-cta {
    display: none;
}

body.lp-landing header .de-flex-col:last-child {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------- */

body.lp-landing .lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 14.5px;
    line-height: 1;
    padding: 13px 24px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
    white-space: nowrap;
}

body.lp-landing .lp-btn:hover {
    transform: translateY(-2px);
}

body.lp-landing .lp-btn--sm {
    padding: 10px 18px;
    font-size: 13.5px;
}

body.lp-landing .lp-btn--primary {
    background: var(--lp-brand);
    color: #fff;
    box-shadow: 0 10px 24px -10px rgba(29, 111, 233, .55);
}

body.lp-landing .lp-btn--primary:hover {
    background: #185ec4;
    color: #fff;
}

body.lp-landing .lp-btn--outline {
    background: transparent;
    border-color: var(--lp-border);
    color: var(--lp-ink);
}

body.lp-landing .lp-btn--outline:hover {
    border-color: var(--lp-brand);
    color: var(--lp-brand);
}

body.lp-landing .lp-btn--white {
    background: #fff;
    color: var(--lp-brand-dark);
}

body.lp-landing .lp-btn--white:hover {
    background: #eef4ff;
    color: var(--lp-brand-dark);
}

body.lp-landing .lp-btn--outline-light {
    background: transparent;
    border-color: rgba(255, 255, 255, .4);
    color: #fff;
}

body.lp-landing .lp-btn--outline-light:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

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

body.lp-landing .lp-hero {
    position: relative;
    overflow: hidden;
    padding: 168px 0 110px;
    background:
        radial-gradient(60% 55% at 82% 8%, rgba(29, 111, 233, .10) 0%, rgba(29, 111, 233, 0) 100%),
        radial-gradient(45% 45% at 6% 92%, rgba(23, 178, 106, .08) 0%, rgba(23, 178, 106, 0) 100%),
        var(--lp-bg-soft);
}

body.lp-landing .lp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(15, 23, 42, .06) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .5), transparent 65%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .5), transparent 65%);
    pointer-events: none;
}

body.lp-landing .lp-hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 56px;
    align-items: center;
}

body.lp-landing .lp-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--lp-border);
    box-shadow: var(--lp-shadow-sm);
    font-size: 13px;
    font-weight: 700;
    color: var(--lp-brand-dark);
    margin-bottom: 22px;
}

body.lp-landing .lp-badge__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lp-accent);
    box-shadow: 0 0 0 3px rgba(23, 178, 106, .18);
}

body.lp-landing .lp-hero__title {
    font-size: clamp(2.35rem, 3.4vw, 3.4rem);
    line-height: 1.12;
    margin-bottom: 22px;
}

body.lp-landing .lp-hero__title-rot {
    display: inline-block;
    color: var(--lp-brand);
    position: relative;
}

body.lp-landing .lp-hero__lead {
    font-size: 17px;
    line-height: 1.7;
    color: var(--lp-body);
    max-width: 46ch;
    margin-bottom: 34px;
}

body.lp-landing .lp-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 38px;
}

body.lp-landing .lp-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
}

body.lp-landing .lp-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--lp-ink);
}

body.lp-landing .lp-chip i {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(23, 178, 106, .12);
    color: var(--lp-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

/* hero visual: browser-frame mockup */

body.lp-landing .lp-hero__visual {
    position: relative;
}

body.lp-landing .lp-hero__visual::before {
    content: '';
    position: absolute;
    inset: -30px -20px auto auto;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(29, 111, 233, .16), rgba(29, 111, 233, 0) 70%);
    z-index: 0;
}

body.lp-landing .lp-browser-frame {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: var(--lp-radius-md);
    border: 1px solid var(--lp-border);
    box-shadow: var(--lp-shadow-lift);
    overflow: hidden;
    transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
}

body.lp-landing .lp-browser-frame__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: #f2f4f8;
    border-bottom: 1px solid var(--lp-border);
}

body.lp-landing .lp-browser-frame__bar span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d7dce6;
}

body.lp-landing .lp-browser-frame__img {
    display: block;
    width: 100%;
}

body.lp-landing .lp-float-card {
    position: absolute;
    left: -34px;
    bottom: -26px;
    z-index: 2;
    background: #fff;
    border-radius: var(--lp-radius-sm);
    border: 1px solid var(--lp-border);
    box-shadow: var(--lp-shadow-md);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

body.lp-landing .lp-float-card__icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(23, 178, 106, .12);
    color: var(--lp-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

body.lp-landing .lp-float-card__title {
    font-size: 13px;
    font-weight: 800;
    color: var(--lp-ink);
}

body.lp-landing .lp-float-card__sub {
    font-size: 12px;
    color: var(--lp-body-soft);
}

/* --------------------------------------------------------------------
   Section head
   -------------------------------------------------------------------- */

body.lp-landing .lp-section {
    padding: 100px 0;
}

body.lp-landing .lp-section-head {
    max-width: 620px;
    margin: 0 auto 56px;
    text-align: center;
}

body.lp-landing .lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--lp-brand);
    background: rgba(29, 111, 233, .08);
    padding: 7px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}

body.lp-landing .lp-eyebrow--light {
    color: #fff;
    background: rgba(255, 255, 255, .14);
}

body.lp-landing .lp-section-head h2 {
    font-size: clamp(1.7rem, 2.6vw, 2.15rem);
    line-height: 1.25;
    margin-bottom: 14px;
}

body.lp-landing .lp-section-head p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--lp-body);
}

/* --------------------------------------------------------------------
   Feature grid
   -------------------------------------------------------------------- */

body.lp-landing .lp-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

body.lp-landing .lp-feature-card {
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-md);
    padding: 32px 28px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

body.lp-landing .lp-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--lp-shadow-md);
    border-color: rgba(29, 111, 233, .25);
}

body.lp-landing .lp-feature-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(29, 111, 233, .09);
    color: var(--lp-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    margin-bottom: 20px;
    transition: background .25s ease, color .25s ease;
}

body.lp-landing .lp-feature-card:hover .lp-feature-card__icon {
    background: var(--lp-brand);
    color: #fff;
}

body.lp-landing .lp-feature-card h3 {
    font-size: 17.5px;
    font-weight: 800;
    margin-bottom: 10px;
}

body.lp-landing .lp-feature-card p {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--lp-body);
}

/* --------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------- */

body.lp-landing .lp-cta {
    padding: 0 0 100px;
}

body.lp-landing .lp-cta__card {
    position: relative;
    overflow: hidden;
    border-radius: var(--lp-radius-lg);
    padding: 74px 40px;
    text-align: center;
    background: linear-gradient(135deg, var(--lp-brand-darker) 0%, var(--lp-brand-dark) 45%, var(--lp-brand) 100%);
}

body.lp-landing .lp-cta__decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(38% 65% at 92% 12%, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, 0) 100%),
        radial-gradient(30% 55% at 4% 100%, rgba(23, 178, 106, .28) 0%, rgba(23, 178, 106, 0) 100%);
}

body.lp-landing .lp-cta__card h2 {
    position: relative;
    color: #fff;
    font-size: clamp(1.7rem, 2.6vw, 2.15rem);
    max-width: 620px;
    margin: 0 auto 14px;
}

body.lp-landing .lp-cta__card > p {
    position: relative;
    color: rgba(255, 255, 255, .82);
    font-size: 16px;
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

body.lp-landing .lp-cta__actions {
    position: relative;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

/* --------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------- */

body.lp-landing .lp-footer {
    background: var(--lp-ink);
    padding: 64px 0 0;
}

body.lp-landing .lp-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

body.lp-landing .lp-footer__brand img {
    height: 32px;
    margin-bottom: 14px;
}

body.lp-landing .lp-footer__brand p {
    color: rgba(255, 255, 255, .5);
    font-size: 13.5px;
    line-height: 1.6;
    max-width: 30ch;
}

body.lp-landing .lp-footer__col h5 {
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 18px;
}

body.lp-landing .lp-footer__col a {
    display: block;
    color: rgba(255, 255, 255, .58);
    font-size: 14px;
    margin-bottom: 12px;
    transition: color .2s ease;
}

body.lp-landing .lp-footer__col a:hover {
    color: #fff;
}

body.lp-landing .lp-footer__bottom {
    padding: 22px 0;
}

body.lp-landing .lp-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

body.lp-landing .lp-footer__bottom span {
    color: rgba(255, 255, 255, .45);
    font-size: 13px;
}

body.lp-landing .lp-social {
    display: flex;
    gap: 10px;
}

body.lp-landing .lp-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background .2s ease, color .2s ease;
}

body.lp-landing .lp-social a:hover {
    background: var(--lp-brand);
    color: #fff;
}

/* --------------------------------------------------------------------
   Back to top
   -------------------------------------------------------------------- */

body.lp-landing #back-to-top {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--lp-ink);
    box-shadow: var(--lp-shadow-md);
}

body.lp-landing #back-to-top:before {
    color: #fff;
}

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

/* Mobile header/menu — intentionally pinned to 992px, the exact
   breakpoint style.css/designesia.js use to swap in the hamburger
   (#menu-btn) and turn #mainmenu into a stacked dark dropdown, so
   nothing here can be out of sync with that toggle. */
@media (max-width: 992px) {
    body.lp-landing .lp-logo-text {
        display: none;
    }

    body.lp-landing .lp-header-cta {
        display: none;
    }

    body.lp-landing #mainmenu li.lp-mobile-cta {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        border-bottom: none;
        border-top: 1px solid var(--lp-border);
        margin-top: 6px;
        padding: 22px 0 6px !important;
    }

    body.lp-landing #mainmenu li.lp-mobile-cta a.lp-btn {
        display: flex !important;
        width: 100%;
        opacity: 1;
        text-transform: none;
        letter-spacing: 0;
        padding: 15px 22px;
        font-size: 15px;
    }

    body.lp-landing #mainmenu li.lp-mobile-cta a.lp-btn--outline {
        background: var(--lp-bg-soft);
        border-color: var(--lp-border);
        color: var(--lp-ink);
    }

    body.lp-landing #mainmenu li.lp-mobile-cta a.lp-btn--outline:hover {
        background: #fff;
        border-color: var(--lp-brand);
        color: var(--lp-brand);
    }

    body.lp-landing #mainmenu li.lp-mobile-cta a.lp-btn--primary {
        color: #fff;
    }

    body.lp-landing #mainmenu li.lp-mobile-cta a.lp-btn--primary:hover {
        background: #185ec4;
        color: #fff;
    }
}

@media (max-width: 991px) {
    body.lp-landing .lp-hero {
        padding: 150px 0 80px;
    }

    body.lp-landing .lp-hero__inner {
        grid-template-columns: 1fr;
    }

    body.lp-landing .lp-hero__visual {
        order: -1;
        max-width: 480px;
        margin: 0 auto 20px;
    }

    body.lp-landing .lp-hero__lead {
        max-width: none;
    }

    body.lp-landing .lp-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.lp-landing .lp-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    body.lp-landing .lp-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    body.lp-landing .lp-section {
        padding: 72px 0;
    }

    body.lp-landing .lp-section-head {
        margin-bottom: 40px;
    }

    body.lp-landing .lp-feature-grid {
        grid-template-columns: 1fr;
    }

    body.lp-landing .lp-cta__card {
        padding: 54px 24px;
    }

    body.lp-landing .lp-float-card {
        display: none;
    }

    body.lp-landing .lp-footer__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    body.lp-landing .lp-hero__actions,
    body.lp-landing .lp-cta__actions {
        flex-direction: column;
        align-items: stretch;
    }

    body.lp-landing .lp-hero__actions .lp-btn,
    body.lp-landing .lp-cta__actions .lp-btn {
        width: 100%;
        white-space: normal;
        line-height: 1.3;
        text-align: center;
    }
}
