/* NoExcel marketing design system — scoped to .landing-page.
   Shared by every public marketing page: landing, features, pricing and
   fbr-digital-invoicing. All of them extend front_end/marketing_base.html.twig,
   which puts .landing-page on the page wrapper, so any rule here applies to all
   four. Keep it that way — page-specific one-offs belong in the template. */

/* The floating reCAPTCHA badge overhangs the viewport edge by design
   (right: -186px !important, set inline by Google's script), which forces
   a horizontal scrollbar. Pulling it back in-bounds avoids that without
   touching html/body overflow (AOS can't detect scroll position of
   [data-aos] elements once an overflow-x is set on those). Hiding it is
   allowed by Google's terms as long as the attribution notice is shown
   elsewhere on the page (see the contact form). */
.grecaptcha-badge {
    visibility: hidden;
    right: 0 !important;
}

.landing-page {
    --lp-primary: #3568dd;
    --lp-primary-rgb: 53, 104, 221;
    --lp-violet: #7c5cff;
    --lp-violet-rgb: 124, 92, 255;
    --lp-accent: #12b76a;
    --lp-accent-rgb: 18, 183, 106;
    --lp-ink: #0b1220;
    --lp-font-display: "Plus Jakarta Sans", "Inter", sans-serif;
    overflow-x: hidden;
}

.landing-page section[id] {
    scroll-margin-top: 96px;
}

.landing-page h1,
.landing-page h2,
.landing-page h3,
.landing-page h4 {
    font-family: var(--lp-font-display);
    letter-spacing: -0.02em;
}

/* Navbar */
.lp-navbar {
    transition:
        box-shadow 0.3s ease,
        background-color 0.3s ease,
        backdrop-filter 0.3s ease;
}

.lp-navbar.is-scrolled {
    background-color: rgba(255, 255, 255, 0.85) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}

/* Buttons */
.lp-btn-gradient {
    background: linear-gradient(135deg, var(--lp-primary), var(--lp-violet));
    color: #fff;
    border: none;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(var(--lp-primary-rgb), 0.35);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.lp-btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(var(--lp-primary-rgb), 0.45);
    color: #fff;
}

.lp-btn-outline {
    border-radius: 999px;
    font-weight: 600;
    border: 1.5px solid rgba(var(--lp-primary-rgb), 0.3);
    color: var(--lp-primary);
    background: #fff;
    transition: all 0.25s ease;
}

.lp-btn-outline:hover {
    border-color: var(--lp-primary);
    background: rgba(var(--lp-primary-rgb), 0.06);
    color: var(--lp-primary);
}

.lp-btn-light {
    border-radius: 999px;
    font-weight: 700;
    background: #fff;
    color: var(--lp-primary) !important;
    border: none;
    transition: transform 0.25s ease;
}

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

.lp-btn-soft {
    border-radius: 999px;
    font-weight: 600;
    background: rgba(var(--lp-primary-rgb), 0.08);
    color: var(--lp-primary);
    border: none;
    transition: all 0.2s ease;
}

.lp-btn-soft:hover {
    background: var(--lp-primary);
    color: #fff;
}

/* Hero */
.lp-hero {
    isolation: isolate;
}

.lp-hero-mesh {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(
            600px circle at 15% 20%,
            rgba(var(--lp-primary-rgb), 0.16),
            transparent 60%
        ),
        radial-gradient(
            500px circle at 85% 10%,
            rgba(var(--lp-violet-rgb), 0.14),
            transparent 60%
        ),
        radial-gradient(
            700px circle at 50% 100%,
            rgba(var(--lp-accent-rgb), 0.1),
            transparent 60%
        ),
        #f7f9fd;
}

.lp-hero-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    -webkit-mask-image: radial-gradient(
        ellipse at center,
        black 40%,
        transparent 85%
    );
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
}

.lp-eyebrow-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: rgba(var(--lp-primary-rgb), 0.08);
    color: var(--lp-primary);
    font-weight: 600;
    font-size: 0.85rem;
}

.lp-pulse-dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lp-accent);
    flex: none;
}

.lp-pulse-dot::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--lp-accent);
    opacity: 0.5;
    animation: lp-pulse 1.8s ease-out infinite;
}

@keyframes lp-pulse {
    0% {
        transform: scale(0.6);
        opacity: 0.6;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

.lp-hero-title {
    font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.4rem);
    font-weight: 800;
    line-height: 1.12;
    color: var(--lp-ink);
}

.lp-gradient-text {
    background: linear-gradient(
        135deg,
        var(--lp-primary),
        var(--lp-violet) 70%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lp-hero-desc {
    font-size: 1.1rem;
    color: #4b5567;
    max-width: 44rem;
}

.lp-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem 1.65rem;
}

.lp-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475267;
}

.lp-trust-item i {
    color: var(--lp-accent);
}

.lp-mockup-wrap {
    position: relative;
}

.lp-browser-frame {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 30px 60px -20px rgba(15, 23, 42, 0.28),
        0 0 0 1px rgba(15, 23, 42, 0.05);
}

.lp-browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.65rem 1rem;
    background: #eef1f6;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.lp-browser-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d3d9e3;
}

.lp-browser-bar span:nth-child(1) {
    background: #f1416c;
}
.lp-browser-bar span:nth-child(2) {
    background: #f79009;
}
.lp-browser-bar span:nth-child(3) {
    background: #12b76a;
}

.lp-browser-url {
    margin-inline-start: auto;
    font-size: 0.75rem;
    color: #8a93a6;
    background: #fff;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.lp-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: #fff;
    padding: 0.7rem 1rem;
    border-radius: 14px;
    box-shadow: 0 16px 40px -12px rgba(15, 23, 42, 0.25);
    animation: lp-float 4s ease-in-out infinite;
    max-width: 210px;
}

.lp-float-card i {
    font-size: 1.2rem;
    flex: none;
}

.lp-float-card-title {
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--lp-ink);
    line-height: 1.25;
}

.lp-float-card-sub {
    font-size: 0.72rem;
    color: #8a93a6;
}

.lp-float-card--top {
    inset-inline-end: -1rem;
    top: -1.25rem;
    animation-delay: 0.3s;
}

.lp-float-card--bottom {
    inset-inline-start: -1rem;
    bottom: -1.25rem;
    animation-delay: 0.9s;
}

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

@media (max-width: 767.98px) {
    .lp-float-card {
        position: static;
        margin-top: 0.75rem;
        animation: none;
        max-width: none;
    }
}

/* Marquee strip */
.lp-marquee {
    background: var(--lp-ink);
    overflow: hidden;
    padding: 0.85rem 0;
}

.lp-marquee-track {
    display: flex;
    gap: 2.5rem;
    white-space: nowrap;
    width: max-content;
    animation: lp-marquee 26s linear infinite;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.lp-marquee-track .lp-dot {
    color: var(--lp-accent);
}

@keyframes lp-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

[dir="rtl"] .lp-marquee-track {
    animation-direction: reverse;
}

/* Section shell */
.lp-section {
    padding: 5.5rem 0;
}

.lp-section--tint {
    background: #f7f9fd;
}

.lp-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lp-primary);
    margin-bottom: 0.75rem;
}

.lp-h2 {
    font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem);
    font-weight: 800;
    color: var(--lp-ink);
}

.lp-h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--lp-ink);
}

.lp-lead {
    font-size: 1.05rem;
    color: #5b6478;
    max-width: 42rem;
    margin-inline: auto;
}

/* Feature cards */
.lp-feature-card {
    background: #fff;
    border-radius: 18px;
    padding: 2rem 1.75rem;
    height: 100%;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.06);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.lp-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 45px -20px rgba(15, 23, 42, 0.18);
    border-color: transparent;
}

.lp-icon-badge {
    width: 54px;
    height: 54px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
}

.lp-icon-badge--primary {
    background: rgba(var(--bs-primary-rgb), 0.12);
    color: var(--bs-primary);
}
.lp-icon-badge--success {
    background: rgba(var(--bs-success-rgb), 0.12);
    color: var(--bs-success);
}
.lp-icon-badge--info {
    background: rgba(var(--bs-info-rgb), 0.14);
    color: var(--bs-info);
}
.lp-icon-badge--warning {
    background: rgba(var(--bs-warning-rgb), 0.16);
    color: var(--bs-warning);
}
.lp-icon-badge--danger {
    background: rgba(var(--bs-danger-rgb), 0.12);
    color: var(--bs-danger);
}

/* Benefits timeline */
.lp-benefit-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

.lp-benefit-row::before {
    content: "";
    position: absolute;
    top: 26px;
    inset-inline: 8%;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        rgba(var(--lp-primary-rgb), 0.25) 0 10px,
        transparent 10px 20px
    );
    z-index: 0;
}

.lp-benefit-item {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 1rem;
}

.lp-benefit-num {
    display: block;
    font-family: var(--lp-font-display);
    font-size: 2.75rem;
    font-weight: 800;
    color: rgba(var(--lp-primary-rgb), 0.14);
    line-height: 1;
    margin-bottom: -1.5rem;
}

.lp-benefit-icon {
    font-size: 1.75rem;
    display: block;
    margin-bottom: 0.75rem;
}

@media (max-width: 767.98px) {
    .lp-benefit-row {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .lp-benefit-row::before {
        display: none;
    }
}

/* Partner / solutions */
.lp-partner-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.lp-partner-badge {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-partner-badge img {
    max-height: 42px;
    width: auto;
}

.lp-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.lp-check-list li {
    display: flex;
    gap: 0.65rem;
    color: #475267;
}

.lp-check-list li i {
    color: var(--lp-accent);
    margin-top: 0.3rem;
    flex: none;
}

.lp-process-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.lp-process-step {
    text-align: center;
}

.lp-process-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lp-primary), var(--lp-violet));
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (max-width: 767.98px) {
    .lp-process-row {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
}

/* About */
.lp-about-media {
    position: relative;
}

.lp-about-media::before {
    content: "";
    position: absolute;
    inset-inline-start: -1.25rem;
    top: -1.25rem;
    width: 70%;
    height: 70%;
    border-radius: 24px;
    background: linear-gradient(
        135deg,
        rgba(var(--lp-primary-rgb), 0.16),
        rgba(var(--lp-violet-rgb), 0.16)
    );
    z-index: 0;
}

.lp-about-media img {
    position: relative;
    z-index: 1;
}

.lp-mission-card {
    border-inline-start: 4px solid var(--lp-primary);
}

/* Pricing */
.lp-price-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 2.5rem 2rem;
    height: 100%;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    position: relative;
}

.lp-price-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px -24px rgba(15, 23, 42, 0.25);
}

.lp-price-card--popular {
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, var(--lp-primary), var(--lp-violet)) border-box;
    border: 2px solid transparent;
    transform: scale(1.04);
    box-shadow: 0 24px 55px -22px rgba(var(--lp-primary-rgb), 0.35);
}

.lp-price-card--popular:hover {
    transform: scale(1.04) translateY(-6px);
}

.lp-price-ribbon {
    position: absolute;
    top: -14px;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--lp-primary), var(--lp-violet));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 1.1rem;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(var(--lp-primary-rgb), 0.35);
    white-space: nowrap;
}

.lp-price-amount {
    font-family: var(--lp-font-display);
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--lp-ink);
}

/* Closing CTA band */
.lp-cta-band {
    position: relative;
    padding: 5.5rem 0;
    background: linear-gradient(120deg, var(--lp-primary), var(--lp-violet));
    clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
}

/* Contact */
.lp-contact-section {
    background: linear-gradient(160deg, var(--lp-ink), #16213e);
}

.lp-contact-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 70px -30px rgba(15, 23, 42, 0.45);
}

.lp-contact-info {
    background: linear-gradient(150deg, var(--lp-primary), var(--lp-violet));
    color: #fff;
}

.lp-contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.lp-contact-info-item i {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

/* FAQ */
.lp-accordion .accordion-item {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px !important;
    overflow: hidden;
    margin-bottom: 1rem;
}

.lp-accordion .accordion-button {
    font-weight: 600;
    background: #fff;
}

.lp-accordion .accordion-button:not(.collapsed) {
    color: var(--lp-primary);
    background: rgba(var(--lp-primary-rgb), 0.05);
    box-shadow: none;
}

.lp-accordion-2col {
    column-count: 2;
    column-gap: 1.5rem;
}

.lp-accordion-2col .accordion-item {
    break-inside: avoid;
}

@media (max-width: 991.98px) {
    .lp-accordion-2col {
        column-count: 1;
    }
}

/* Footer */
.lp-footer-divider {
    height: 3px;
    border: none;
    opacity: 1;
    background: linear-gradient(
        90deg,
        var(--lp-primary),
        var(--lp-violet),
        var(--lp-accent)
    );
}

/* ==========================================================================
   Shared marketing components (landing + features + pricing + FBR pages)
   ========================================================================== */

/* Compact hero for the sub-pages. The landing page keeps .lp-hero; every other
   marketing page opens with this shorter, centred variant so the eye reaches
   the page's own content fast. */
.lp-page-hero {
    position: relative;
    isolation: isolate;
    padding: 4.5rem 0 4rem;
    text-align: center;
    overflow: hidden;
}

.lp-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(
            700px circle at 50% 0%,
            rgba(var(--lp-primary-rgb), 0.14),
            transparent 65%
        ),
        radial-gradient(
            520px circle at 85% 30%,
            rgba(var(--lp-violet-rgb), 0.12),
            transparent 60%
        ),
        #f7f9fd;
}

.lp-page-hero-title {
    font-size: clamp(1.9rem, 1.4rem + 2.2vw, 2.9rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--lp-ink);
}

.lp-page-hero .lp-lead {
    font-size: 1.1rem;
}

/* Breadcrumb-ish back link on sub-pages */
.lp-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b7488;
    text-decoration: none;
}

.lp-back-link:hover {
    color: var(--lp-primary);
}

/* --- Mandate / urgency band ------------------------------------------------
   The single highest-intent block on the site: e-invoicing is already law, and
   the visitor may not know it. Dark, so it reads as a notice rather than an ad. */
.lp-mandate {
    background: var(--lp-ink);
    color: #fff;
    padding: 2.5rem 0;
    position: relative;
    overflow: hidden;
}

.lp-mandate::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        620px circle at 12% 50%,
        rgba(var(--lp-primary-rgb), 0.35),
        transparent 62%
    );
    pointer-events: none;
}

.lp-mandate > * {
    position: relative;
}

.lp-mandate-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 1.5rem 2.25rem;
    align-items: center;
}

.lp-mandate-head {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

.lp-mandate-head i {
    font-size: 1.45rem;
    color: #ffb020;
    margin-top: 0.15rem;
    flex: none;
}

.lp-mandate-title {
    font-family: var(--lp-font-display);
    font-weight: 800;
    font-size: 1.15rem;
    line-height: 1.25;
    margin-bottom: 0.25rem;
}

.lp-mandate-sub {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.lp-mandate-date {
    border-inline-start: 2px solid rgba(255, 255, 255, 0.15);
    padding-inline-start: 1.25rem;
}

.lp-mandate-date-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.3rem;
}

.lp-mandate-date-value {
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.lp-mandate-date-value i {
    color: var(--lp-accent);
    font-size: 0.85rem;
}

@media (max-width: 991.98px) {
    .lp-mandate-grid {
        grid-template-columns: 1fr 1fr;
    }
    .lp-mandate-head {
        grid-column: 1 / -1;
    }
    .lp-mandate-date {
        border-inline-start: none;
        padding-inline-start: 0;
    }
}

@media (max-width: 575.98px) {
    .lp-mandate-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

/* --- Numbered step flow ----------------------------------------------------
   Used for "how it works" on both the landing page and the FBR page. The
   connector is a pseudo-element on the row so it never sits over a card. */
.lp-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    position: relative;
}

.lp-flow::before {
    content: "";
    position: absolute;
    top: 30px;
    inset-inline: 14%;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        rgba(var(--lp-primary-rgb), 0.3) 0 8px,
        transparent 8px 16px
    );
    z-index: 0;
}

.lp-flow-card {
    position: relative;
    z-index: 1;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 18px;
    padding: 2rem 1.6rem 1.75rem;
    text-align: center;
    height: 100%;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.lp-flow-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 45px -22px rgba(15, 23, 42, 0.2);
}

.lp-flow-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lp-primary), var(--lp-violet));
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--lp-font-display);
    margin-bottom: 1.1rem;
    box-shadow: 0 0 0 6px #fff;
}

@media (max-width: 767.98px) {
    .lp-flow {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .lp-flow::before {
        display: none;
    }
}

/* --- Before / after comparison --------------------------------------------- */
.lp-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    align-items: stretch;
}

.lp-compare-card {
    border-radius: 20px;
    padding: 2rem 1.85rem;
    height: 100%;
}

.lp-compare-card--bad {
    background: #fff;
    border: 1px dashed rgba(241, 65, 108, 0.35);
}

.lp-compare-card--good {
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, var(--lp-primary), var(--lp-violet)) border-box;
    border: 2px solid transparent;
    box-shadow: 0 24px 50px -26px rgba(var(--lp-primary-rgb), 0.4);
}

.lp-compare-head {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--lp-font-display);
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--lp-ink);
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.lp-compare-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.lp-compare-list li {
    display: flex;
    gap: 0.7rem;
    font-size: 0.95rem;
    color: #475267;
}

.lp-compare-list li i {
    margin-top: 0.25rem;
    flex: none;
    font-size: 0.85rem;
}

.lp-compare-card--bad .lp-compare-list li i {
    color: #f1416c;
}

.lp-compare-card--good .lp-compare-list li i {
    color: var(--lp-accent);
}

@media (max-width: 767.98px) {
    .lp-compare {
        grid-template-columns: 1fr;
    }
}

/* --- Roadmap ---------------------------------------------------------------
   Deliberately visible: it names what is NOT built yet. Being explicit here is
   what lets the feature grid above it stay entirely truthful. */
.lp-roadmap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.lp-roadmap-item {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 1.4rem 1.35rem;
    position: relative;
}

.lp-roadmap-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8a6d1f;
    background: rgba(255, 176, 32, 0.16);
    border-radius: 999px;
    padding: 0.22rem 0.6rem;
    margin-bottom: 0.75rem;
}

.lp-roadmap-item h6 {
    font-weight: 700;
    color: var(--lp-ink);
    margin-bottom: 0.3rem;
}

.lp-roadmap-item p {
    font-size: 0.88rem;
    color: #5b6478;
    margin: 0;
}

/* --- Stat row -------------------------------------------------------------- */
.lp-stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
}

.lp-stat {
    text-align: center;
}

.lp-stat-value {
    font-family: var(--lp-font-display);
    font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem);
    font-weight: 800;
    color: var(--lp-primary);
    line-height: 1.1;
}

.lp-stat-label {
    font-size: 0.88rem;
    color: #5b6478;
    margin-top: 0.35rem;
}

/* --- Invoice mockup --------------------------------------------------------
   A CSS-drawn FBR-stamped invoice. Preferred over a screenshot: it stays sharp
   at any zoom, translates with the page, and costs no image asset. */
.lp-doc {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 24px 55px -25px rgba(15, 23, 42, 0.3);
    padding: 1.5rem;
    max-width: 380px;
}

.lp-doc-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.lp-doc-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #98a1b3;
    font-weight: 700;
}

.lp-doc-no {
    font-weight: 800;
    color: var(--lp-ink);
    font-family: var(--lp-font-display);
}

.lp-doc-qr {
    width: 62px;
    height: 62px;
    border-radius: 8px;
    flex: none;
    background-color: #fff;
    background-image:
        linear-gradient(45deg, var(--lp-ink) 25%, transparent 25%),
        linear-gradient(-45deg, var(--lp-ink) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, var(--lp-ink) 75%),
        linear-gradient(-45deg, transparent 75%, var(--lp-ink) 75%);
    background-size: 9px 9px;
    background-position:
        0 0,
        0 4.5px,
        4.5px -4.5px,
        -4.5px 0;
    border: 3px solid #fff;
    outline: 1px solid rgba(15, 23, 42, 0.12);
}

.lp-doc-rows {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.lp-doc-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: #5b6478;
}

.lp-doc-row strong {
    color: var(--lp-ink);
}

.lp-doc-row--total {
    padding-top: 0.6rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    font-size: 0.95rem;
}

.lp-doc-stamp {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(var(--lp-accent-rgb), 0.1);
    color: #0b7a48;
    border-radius: 10px;
    padding: 0.6rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 600;
}

.lp-doc-stamp i {
    font-size: 0.95rem;
}

/* --- Module rows (features page) ------------------------------------------- */
.lp-module {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    padding: 3rem 0;
}

.lp-module + .lp-module {
    border-top: 1px solid rgba(15, 23, 42, 0.07);
}

/* Alternate the media side so the page reads as a zig-zag rather than a list */
.lp-module:nth-child(even) .lp-module-media {
    order: -1;
}

.lp-module-visual {
    background: linear-gradient(
        135deg,
        rgba(var(--lp-primary-rgb), 0.08),
        rgba(var(--lp-violet-rgb), 0.08)
    );
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
}

.lp-module-visual img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 45px -22px rgba(15, 23, 42, 0.35);
}

@media (max-width: 767.98px) {
    .lp-module {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.25rem 0;
    }
    .lp-module:nth-child(even) .lp-module-media {
        order: 0;
    }
}

/* --- Pricing comparison table ---------------------------------------------- */
.lp-plan-table-wrap {
    overflow-x: auto;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
}

.lp-plan-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
}

.lp-plan-table th,
.lp-plan-table td {
    padding: 0.9rem 1.25rem;
    text-align: start;
    font-size: 0.92rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.lp-plan-table thead th {
    background: #f7f9fd;
    font-family: var(--lp-font-display);
    font-weight: 800;
    color: var(--lp-ink);
    white-space: nowrap;
}

.lp-plan-table tbody th {
    font-weight: 600;
    color: #475267;
}

.lp-plan-table td {
    text-align: center;
    color: #475267;
}

.lp-plan-table tbody tr:last-child th,
.lp-plan-table tbody tr:last-child td {
    border-bottom: none;
}

.lp-plan-table .lp-yes {
    color: var(--lp-accent);
}

.lp-plan-table .lp-no {
    color: #c6ccd8;
}

.lp-plan-table-group th {
    background: #fbfcfe;
    font-family: var(--lp-font-display);
    font-weight: 800;
    color: var(--lp-ink);
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.07em;
}

/* --- Rich footer ----------------------------------------------------------- */
.lp-footer {
    background: var(--lp-ink);
    color: rgba(255, 255, 255, 0.65);
    padding-top: 4rem;
}

.lp-footer a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.2s ease;
}

.lp-footer a:hover {
    color: #fff;
}

.lp-footer-title {
    font-family: var(--lp-font-display);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1.1rem;
}

.lp-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    font-size: 0.92rem;
}

.lp-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding: 1.5rem 0;
    font-size: 0.87rem;
}

.lp-footer-contact {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.92rem;
    margin-bottom: 0.7rem;
}

.lp-footer-contact i {
    width: 16px;
    text-align: center;
    color: var(--lp-accent);
    flex: none;
}

/* --- Small shared bits ------------------------------------------------------ */
.lp-note {
    display: flex;
    gap: 0.75rem;
    background: rgba(var(--lp-primary-rgb), 0.06);
    border-inline-start: 3px solid var(--lp-primary);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    font-size: 0.92rem;
    color: #475267;
}

.lp-note i {
    color: var(--lp-primary);
    margin-top: 0.15rem;
    flex: none;
}

.lp-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.28rem 0.75rem;
    background: rgba(var(--lp-accent-rgb), 0.12);
    color: #0b7a48;
}

.lp-pill--soon {
    background: rgba(255, 176, 32, 0.16);
    color: #8a6d1f;
}

/* Navbar dropdown, kept visually consistent with the rest of the marketing kit */
.lp-navbar .dropdown-menu {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    box-shadow: 0 20px 45px -20px rgba(15, 23, 42, 0.28);
    padding: 0.5rem;
}

.lp-navbar .dropdown-item {
    border-radius: 9px;
    padding: 0.6rem 0.85rem;
    font-weight: 600;
    font-size: 0.92rem;
}

.lp-navbar .dropdown-item:hover {
    background: rgba(var(--lp-primary-rgb), 0.07);
    color: var(--lp-primary);
}

.lp-navbar .nav-link.is-current {
    color: var(--lp-primary);
}

/* --- Legal pages (terms, privacy) ------------------------------------------
   Long-form prose with a sticky table of contents. Measure is capped for
   readability; the TOC collapses away below lg where it would crowd the text. */
.lp-legal {
    font-size: 0.97rem;
    color: #475267;
    line-height: 1.75;
}

.lp-legal h2 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--lp-ink);
    margin-bottom: 0.9rem;
    scroll-margin-top: 110px;
}

.lp-legal section + section {
    margin-top: 2.75rem;
    padding-top: 2.75rem;
    border-top: 1px solid rgba(15, 23, 42, 0.07);
}

.lp-legal p {
    margin-bottom: 1rem;
}

.lp-legal p:last-child,
.lp-legal ul:last-child {
    margin-bottom: 0;
}

.lp-legal ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.lp-legal ul li {
    display: flex;
    gap: 0.7rem;
}

.lp-legal ul li::before {
    content: "";
    flex: none;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lp-primary);
    margin-top: 0.65rem;
}

.lp-toc {
    position: sticky;
    top: 110px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 1.5rem 1.35rem;
}

.lp-toc-title {
    font-family: var(--lp-font-display);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #8a93a6;
    margin-bottom: 1rem;
}

.lp-toc ol {
    list-style: none;
    counter-reset: toc;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.lp-toc ol li {
    counter-increment: toc;
}

.lp-toc a {
    display: flex;
    gap: 0.6rem;
    font-size: 0.87rem;
    font-weight: 600;
    color: #5b6478;
    text-decoration: none;
    line-height: 1.4;
}

.lp-toc a::before {
    content: counter(toc) ".";
    color: rgba(var(--lp-primary-rgb), 0.5);
    flex: none;
}

.lp-toc a:hover {
    color: var(--lp-primary);
}

/* Callout for the clauses a reader must not skim past (FBR transmission,
   "we are not your accountant"). Deliberately louder than .lp-note. */
.lp-legal-callout {
    display: flex;
    gap: 0.9rem;
    background: rgba(255, 176, 32, 0.1);
    border: 1px solid rgba(255, 176, 32, 0.3);
    border-radius: 12px;
    padding: 1.1rem 1.3rem;
    margin-bottom: 1rem;
    color: #6b5310;
}

.lp-legal-callout i {
    color: #b8860b;
    margin-top: 0.25rem;
    flex: none;
}

/* Respect the OS "reduce motion" setting across every decorative animation. */
@media (prefers-reduced-motion: reduce) {
    .landing-page *,
    .landing-page *::before,
    .landing-page *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}
