/* Shared public surfaces. Landing-specific sections are refined in css/public/. */

    :root {
        --lh-navy: #12233f;
        --lh-navy-deep: #0c192d;
        --lh-blue: #2458a6;
        --lh-blue-hover: #1d4b91;
        --lh-blue-light: #eef4fb;
        --lh-blue-border: #cbdbee;

        /* Reserved for the highest-intent public audit conversion actions. */
        --lh-cta: #2458a6;
        --lh-cta-hover: #1d4b91;

        --lh-slate-950: #172033;
        --lh-slate-900: #1f2937;
        --lh-slate-700: #455468;
        --lh-slate-600: #5d6b7d;
        --lh-slate-500: #718096;
        --lh-slate-400: #94a0b0;
        --lh-slate-300: #cbd2dc;
        --lh-slate-200: #dde2e8;
        --lh-slate-100: #eef1f4;
        --lh-slate-50: #f7f8fa;

        --lh-green: #277451;
        --lh-green-light: #eef8f3;
        --lh-green-border: #c9e5d7;

        --lh-red: #a63c3c;
        --lh-red-light: #fcf1f1;
        --lh-red-border: #edcccc;

        --lh-amber: #8a5a12;
        --lh-amber-light: #fbf6eb;
        --lh-amber-border: #eadab6;
    }

    html {
        scroll-behavior: smooth;
    }

    .linehaul-landing {
        font-family:
            "Source Sans 3",
            "Segoe UI",
            Arial,
            Helvetica,
            sans-serif;
        color: var(--lh-slate-900);
    }

    .linehaul-landing * {
        box-sizing: border-box;
    }

    .lh-heading {
        font-family:
            "Source Sans 3",
            "Segoe UI",
            Arial,
            Helvetica,
            sans-serif;
        letter-spacing: -0.025em;
    }

    .lh-cta {
        background: var(--lh-cta) !important;
        border-color: var(--lh-cta) !important;
        color: #ffffff !important;
    }

    .lh-cta:hover {
        background: var(--lh-cta-hover) !important;
        border-color: var(--lh-cta-hover) !important;
    }

    .lh-cta:focus-visible {
        outline: 3px solid rgba(36, 88, 166, 0.18);
        outline-offset: 2px;
    }


    /* Public navbar brand treatment: restrained, recognizable, and separate
       from authenticated workspace navigation. */
    .lh-public-navbar {
        border-bottom-color: rgba(36, 88, 166, 0.2) !important;
        box-shadow:
            0 1px 0 rgba(36, 88, 166, 0.08),
            0 8px 24px rgba(18, 35, 63, 0.035);
    }

    /* Landing-only navbar: visually belongs to the hero at the top, then
       restores the normal public-nav surface once the visitor starts moving. */
    .lh-public-navbar--landing {
        background-color: transparent !important;
        border-bottom-color: transparent !important;
        box-shadow: none;
        transition:
            transform 300ms ease-in-out,
            background-color 220ms ease,
            border-color 220ms ease,
            box-shadow 220ms ease,
            backdrop-filter 220ms ease;
    }

    .lh-public-navbar--landing.lh-navbar-scrolled,
    .lh-public-navbar--landing.lh-navbar-menu-open {
        background-color: rgba(255, 255, 255, 0.94) !important;
        border-bottom-color: rgba(36, 88, 166, 0.18) !important;
        box-shadow:
            0 1px 0 rgba(36, 88, 166, 0.07),
            0 8px 24px rgba(18, 35, 63, 0.035);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
    }

    /* Above the fold, the audit is the primary conversion path. Keep the
       persistent account CTA available without giving it equal visual weight. */
    .lh-public-navbar--landing:not(.lh-navbar-scrolled):not(.lh-navbar-menu-open) .lh-public-nav-cta {
        background: transparent !important;
        border-color: transparent !important;
        color: var(--lh-slate-700) !important;
        box-shadow: none;
    }

    .lh-public-navbar--landing:not(.lh-navbar-scrolled):not(.lh-navbar-menu-open) .lh-public-nav-cta:hover,
    .lh-public-navbar--landing:not(.lh-navbar-scrolled):not(.lh-navbar-menu-open) .lh-public-nav-cta:focus-visible {
        background: rgba(238, 244, 251, 0.72) !important;
        border-color: rgba(36, 88, 166, 0.12) !important;
        color: var(--lh-navy) !important;
        box-shadow: none;
        transform: none;
    }

    .lh-public-brand-link {
        transition: opacity 150ms ease, transform 150ms ease;
    }

    .lh-public-brand-link:hover {
        opacity: 0.94;
        transform: translateY(-1px);
    }

    .lh-public-brand-link:focus-visible {
        outline: 3px solid rgba(36, 88, 166, 0.16);
        outline-offset: 3px;
        border-radius: 0.375rem;
    }

    .lh-public-nav-logo {
        min-width: 0;
    }

    .lh-public-nav-link,
    .lh-public-nav-control {
        position: relative;
        text-decoration: none;
        background: transparent;
        transition: color 150ms ease, background-color 150ms ease;
    }

    .lh-public-nav-link::after,
    .lh-public-nav-control::after {
        content: "";
        position: absolute;
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.2rem;
        height: 2px;
        border-radius: 999px;
        background: var(--lh-blue);
        opacity: 0;
        transform: scaleX(0.45);
        transform-origin: center;
        transition: opacity 150ms ease, transform 150ms ease;
        pointer-events: none;
    }

    .lh-public-nav-link:hover,
    .lh-public-nav-control:hover,
    .lh-public-nav-link:focus-visible,
    .lh-public-nav-control:focus-visible {
        color: var(--lh-navy);
        background: rgba(238, 244, 251, 0.66);
    }

    .lh-public-nav-link:hover::after,
    .lh-public-nav-control:hover::after,
    .lh-public-nav-link:focus-visible::after,
    .lh-public-nav-control:focus-visible::after,
    .lh-public-nav-link[aria-current="page"]::after {
        opacity: 1;
        transform: scaleX(1);
    }

    .lh-public-nav-link[aria-current="page"] {
        color: var(--lh-navy);
        background: rgba(238, 244, 251, 0.74);
    }

    .lh-public-nav-link:focus-visible,
    .lh-public-nav-control:focus-visible {
        outline: 2px solid rgba(36, 88, 166, 0.24);
        outline-offset: 2px;
    }

    .lh-public-nav-cta {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        border: 1px solid var(--lh-cta);
        border-radius: 0.5rem !important;
        box-shadow: 0 3px 10px rgba(36, 88, 166, 0.16);
        transition:
            background-color 150ms ease,
            border-color 150ms ease,
            box-shadow 150ms ease,
            transform 150ms ease;
    }

    .lh-public-nav-cta:hover {
        box-shadow: 0 5px 14px rgba(36, 88, 166, 0.2);
        transform: translateY(-1px);
    }

    @media (prefers-reduced-motion: reduce) {
        .lh-public-brand-link,
        .lh-public-nav-link::after,
        .lh-public-nav-control::after,
        .lh-public-nav-cta,
        .lh-public-nav-cta__arrow {
            transition: none;
        }
    }

    .lh-brand-text {
        color: var(--lh-blue) !important;
    }

    .lh-text-link {
        color: var(--lh-blue);
        font-weight: 700;
        text-decoration: none;
    }

    .lh-text-link:hover {
        text-decoration: underline;
    }

    .lh-clear-queue {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 1.75rem;
        padding: 0 0.5rem;
        border: 1px solid transparent;
        border-radius: 0.3rem;
        background: transparent;
        color: var(--lh-text-muted);
        font-size: 0.625rem;
        line-height: 1;
        font-weight: 700;
        cursor: pointer;
        transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
    }

    .lh-clear-queue:hover,
    .lh-clear-queue:focus-visible {
        border-color: var(--lh-slate-200);
        background: var(--lh-slate-50);
        color: var(--lh-slate-800);
        outline: none;
    }

    #landingFilesList,
    #successFilesContainer {
        max-height: 8.75rem;
        overflow-y: auto;
        scrollbar-gutter: stable;
    }

    .lh-dropzone {
        border: 1px dashed #aeb8c5;
        border-radius: 0.375rem;
        background: var(--lh-slate-50);
        transition:
            background-color 0.15s ease,
            border-color 0.15s ease;
    }

    .lh-dropzone:hover,
    .lh-dropzone:focus {
        background: var(--lh-blue-light);
        border-color: var(--lh-blue);
        outline: none;
    }

    .dropzone-dragover {
        border-color: var(--lh-blue) !important;
        background: var(--lh-blue-light) !important;
        box-shadow: inset 0 0 0 1px var(--lh-blue) !important;
    }

    .lh-input {
        width: 100%;
        border: 1px solid #aeb8c5;
        border-radius: 0.375rem;
        background: #ffffff;
        color: var(--lh-slate-950);
        padding: 0.75rem 0.875rem;
        font-size: 0.875rem;
        line-height: 1.25rem;
        transition:
            border-color 0.15s ease,
            box-shadow 0.15s ease;
    }

    .lh-input:focus {
        border-color: var(--lh-blue);
        outline: none;
        box-shadow: 0 0 0 3px rgba(36, 88, 166, 0.12);
    }

    .lh-audit-form {
        background: #ffffff;
        border: 1px solid #bfc8d4;
        border-top: 4px solid var(--lh-navy);
        border-radius: 0.375rem;
        box-shadow: 0 12px 30px -24px rgba(18, 35, 63, 0.5);
    }

    .lh-workflow-step:not(:last-child)::after {
        content: "→";
        position: absolute;
        top: 1.15rem;
        right: -0.72rem;
        z-index: 1;
        display: flex;
        width: 1.45rem;
        height: 1.45rem;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--lh-slate-200);
        border-radius: 999px;
        background: #ffffff;
        color: var(--lh-blue);
        font-size: 0.75rem;
        font-weight: 700;
    }

    @media (max-width: 767px) {

        .lh-workflow-step:not(:last-child)::after {
            content: "↓";
            top: auto;
            right: auto;
            bottom: -0.72rem;
            left: 1.25rem;
        }
    }

    .lh-document {
        background: #ffffff;
        border: 1px solid #bfc8d4;
        border-radius: 0.375rem;
        box-shadow: 0 16px 34px -28px rgba(18, 35, 63, 0.55);
    }

    .lh-demo-embed-wrap {
        position: relative;
        z-index: 10;
        width: calc(100% - 2rem);
        max-width: 1284px;
        margin: -1rem auto 0;
    }

    @media (min-width: 640px) {
        .lh-demo-embed-wrap {
            width: calc(100% - 4rem);
        }
    }

    @media (min-width: 1024px) {
        .lh-demo-embed-wrap {
            width: calc(100% - 6rem);
        }
    }

    /* The modal shell remains inside this wrapper. Raise the wrapper itself
       above the backdrop so its stacking context cannot trap the iframe below
       the backdrop layer. */
    .lh-demo-embed-wrap.is-modal-host {
        z-index: 9994;
    }

    .lh-demo-embed-shell {
        position: relative;
        height: 620px;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        background: #ffffff;
        border: 1px solid #c8d0db;
        border-radius: 0.5rem;
        box-shadow:
            0 1px 2px rgba(18, 35, 63, 0.035),
            0 16px 36px -32px rgba(18, 35, 63, 0.42);
        opacity: 1;
        transition:
            border-color 140ms ease,
            box-shadow 140ms ease,
            opacity 165ms ease;
    }

    /* Expanded demo is a true viewport workspace: no artificial gutter,
       border, radius, or shadow competing with the product UI. */
    .lh-demo-embed-shell.is-modal {
        border: 0;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
    }

    /* Full-screen expansion/collapse uses clip-path rather than scale/transform.
       The iframe always lays out at native full-screen size, so text and PDF
       canvases stay sharp while the frame rapidly reveals/collapses. */
    .lh-demo-embed-shell.is-modal.is-animating {
        pointer-events: none;
    }

    .lh-demo-workspace-viewport {
        position: relative;
        flex: 1 1 auto;
        min-height: 0;
        overflow: hidden;
        background: #ffffff;
    }

    .lh-demo-embed-frame {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        border: 0;
        background: #ffffff;
        opacity: 0;
        visibility: hidden;
        transition: none;
    }

    .lh-demo-embed-shell.is-loaded .lh-demo-embed-frame {
        opacity: 1;
        visibility: visible;
    }

    .lh-demo-embed-loading {
        position: absolute;
        inset: 0;
        z-index: 6;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(251, 252, 253, 0.92);
        opacity: 0;
        visibility: hidden;
        transition: none;
        pointer-events: none;
    }

    .lh-demo-embed-shell.is-activating:not(.is-loaded) .lh-demo-embed-loading {
        opacity: 1;
        visibility: visible;
        background: #f6f9fd;
        transition: none;
    }

    .lh-demo-embed-shell.is-loaded.is-navigating .lh-demo-embed-loading,
    .lh-demo-embed-shell.is-navigating .lh-demo-embed-loading {
        opacity: 1;
        visibility: visible;
        transition: none;
    }

    .lh-demo-embed-loading::after {
        content: "";
        width: 1.1rem;
        height: 1.1rem;
        border: 2px solid #d7dde5;
        border-top-color: var(--lh-blue);
        border-radius: 999px;
        animation: lhDemoEmbedSpin 0.75s linear infinite;
    }

    .lh-demo-embed-shell.is-loaded .lh-demo-embed-loading {
        opacity: 0;
        visibility: hidden;
    }

    .lh-demo-embed-shell.is-loaded.is-navigating .lh-demo-embed-loading {
        opacity: 1;
        visibility: visible;
        background: #f6f9fd;
    }

    @keyframes lhDemoEmbedSpin {
        to {
            transform: rotate(360deg);
        }
    }

    @media (max-width: 767px) {
        .lh-demo-embed-wrap {
            margin-top: -0.5rem;
            margin-bottom: 0;
        }

        .lh-demo-embed-shell {
            height: 540px;
            border-radius: 0.5rem;
        }

    }

    @media (prefers-reduced-motion: reduce) {

        .lh-demo-modal-backdrop,
        .lh-demo-embed-shell,
        .lh-demo-embed-loading {
            transition: none !important;
        }

        .lh-demo-embed-loading::after {
            animation: none;
        }
    }

    input[type="range"] {
        accent-color: var(--lh-blue);
    }

    @media (prefers-reduced-motion: reduce) {
        html {
            scroll-behavior: auto;
        }

        .lh-primary-button,
        .lh-secondary-button,
        .lh-dropzone,
        .lh-input,
        .lh-demo-embed-loading {
            transition: none;
        }

        .lh-demo-embed-loading::after {
            animation: none;
        }
    }

    /* ------------------------------------------------------------------
     * PREMIUM FREIGHT AP LANDING REVAMP
     * ------------------------------------------------------------------ */

    .lh-premium-hero {
        position: relative;
        overflow: hidden;
        border-bottom: 0;
        background: #ffffff;
    }

    .lh-hero-demo-section {
        background: #ffffff;
    }

    .lh-premium-hero::after {
        content: "";
        position: absolute;
        inset: auto 0 0 auto;
        width: 34rem;
        height: 34rem;
        border: 1px solid rgba(36, 88, 166, 0.08);
        border-radius: 999px;
        transform: translate(42%, 58%);
        pointer-events: none;
    }

    .lh-carrier-strip {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 1.35rem;
        padding: 1rem 0.85rem 0.95rem;
        border-top: 1px solid var(--lh-slate-200);
        background: #ffffff;
    }

    .lh-demo-heading-wrap {
        max-width: 1284px;
        margin: 0 auto;
        padding: 3.75rem 1rem 1.4rem;
    }

    .lh-demo-embed-wrap {
        margin-top: 0;
    }

    .lh-process-step:not(:last-child)::after {
        content: "→";
        position: absolute;
        top: 1.35rem;
        right: -0.72rem;
        z-index: 2;
        width: 1.45rem;
        height: 1.45rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--lh-slate-200);
        border-radius: 999px;
        background: #ffffff;
        color: var(--lh-blue);
        font-size: 0.72rem;
        font-weight: 800;
    }

    .lh-roi-input-cell:nth-child(odd) {
        border-right: 1px solid var(--lh-slate-200);
    }

    @media (max-width: 900px) {

        .lh-process-step:not(:last-child)::after {
            content: "↓";
            top: auto;
            right: auto;
            left: 1.35rem;
            bottom: -0.72rem;
        }
    }

    @media (max-width: 767px) {
        .lh-carrier-strip {
            grid-template-columns: 1fr;
            gap: 0.55rem;
        }

        .lh-roi-input-cell:nth-child(odd),
        .lh-roi-result {
            border-right: 0;
        }
    }

    /* ------------------------------------------------------------------
     * LINEHAUL COMPACT CONTROL-LINE EXPERIMENT
     * ------------------------------------------------------------------ */

    .lh-premium-hero {
        background: #ffffff;
    }

    .lh-premium-hero::after {
        display: none;
    }

    /* Keep the live product close to the hero. The demo itself is the proof;
       supporting capability detail belongs inside/after the product story. */
    .lh-demo-heading-compact {
        padding-top: 1.15rem;
        padding-bottom: 0.68rem;
    }

    /* ======================================================================
   PUBLIC AUDIT MODAL
   Reuses the single hero audit form when lower-page CTAs are clicked.
   ====================================================================== */
body.lh-audit-modal-open {
    overflow: hidden;
}

.lh-audit-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: grid;
    place-items: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, visibility 0s linear 180ms;
}

.lh-audit-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.lh-audit-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 25, 45, 0.58);
}

.lh-audit-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(31rem, calc(100vw - 2rem));
    max-height: min(90vh, 52rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 0.5rem;
    background: #ffffff;
    box-shadow: 0 28px 70px -26px rgba(12, 25, 45, 0.5);
    transform: translateY(12px) scale(0.985);
    transition: transform 220ms cubic-bezier(.16, 1, .3, 1);
}

.lh-audit-modal.is-open .lh-audit-modal__dialog {
    transform: none;
}

.lh-audit-modal__mount > .lh-audit-form {
    border: 0;
    border-top: 4px solid var(--lh-navy);
    border-radius: 0;
    box-shadow: none;
}

.lh-audit-modal__close {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    z-index: 3;
    display: inline-flex;
    width: 2.25rem;
    height: 2.25rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--lh-slate-200);
    border-radius: 0.375rem;
    background: rgba(255, 255, 255, 0.96);
    color: var(--lh-slate-600);
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.lh-audit-modal__close:hover,
.lh-audit-modal__close:focus-visible {
    border-color: var(--lh-slate-300);
    background: var(--lh-slate-50);
    color: var(--lh-navy);
    outline: none;
}

@media (max-width: 640px) {
    .lh-audit-modal {
        align-items: end;
        padding: 0;
    }

    .lh-audit-modal__dialog {
        width: 100%;
        max-height: 92dvh;
        border-radius: 0.5rem 0.5rem 0 0;
        transform: translateY(18px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .lh-audit-modal,
    .lh-audit-modal__dialog {
        transition: none;
    }
}


/* ======================================================================
   PUBLIC AUDIT INLINE FEEDBACK
   Validation/server feedback travels with the one shared form instance.
   ====================================================================== */
.lh-audit-inline-alert {
    display: grid;
    grid-template-columns: 1.55rem minmax(0, 1fr);
    gap: 0.7rem;
    align-items: start;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--lh-amber-border);
    border-left: 3px solid var(--lh-amber);
    border-radius: 0.375rem;
    background: var(--lh-amber-light);
    box-shadow: 0 10px 24px -22px rgba(18, 35, 63, 0.55);
}

.lh-audit-inline-alert.hidden {
    display: none !important;
}

.lh-audit-inline-alert__icon {
    display: inline-flex;
    width: 1.55rem;
    height: 1.55rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(138, 90, 18, 0.12);
    color: var(--lh-amber);
    font-size: 0.75rem;
    line-height: 1;
    font-weight: 850;
}

.lh-audit-inline-alert__title {
    color: #5f3f11;
    font-size: 0.72rem;
    line-height: 1rem;
    font-weight: 850;
}

.lh-audit-inline-alert__message {
    margin-top: 0.12rem;
    color: #76521b;
    font-size: 0.7rem;
    line-height: 1.05rem;
    font-weight: 600;
}

.lh-audit-inline-alert[data-type="error"] {
    border-color: var(--lh-red-border);
    border-left-color: var(--lh-red);
    background: var(--lh-red-light);
}

.lh-audit-inline-alert[data-type="error"] .lh-audit-inline-alert__icon {
    background: rgba(166, 60, 60, 0.11);
    color: var(--lh-red);
}

.lh-audit-inline-alert[data-type="error"] .lh-audit-inline-alert__title,
.lh-audit-inline-alert[data-type="error"] .lh-audit-inline-alert__message {
    color: #8b2f2f;
}

.lh-audit-inline-alert[data-type="info"] {
    border-color: var(--lh-blue-border);
    border-left-color: var(--lh-blue);
    background: var(--lh-blue-light);
}

.lh-audit-inline-alert[data-type="info"] .lh-audit-inline-alert__icon {
    background: rgba(36, 88, 166, 0.1);
    color: var(--lh-blue);
}

.lh-audit-inline-alert[data-type="info"] .lh-audit-inline-alert__title,
.lh-audit-inline-alert[data-type="info"] .lh-audit-inline-alert__message {
    color: var(--lh-navy);
}

.lh-audit-modal .lh-audit-inline-alert {
    position: sticky;
    top: 0.65rem;
    z-index: 8;
}

/* ======================================================================
   PUBLIC AUDIT INLINE FEEDBACK ACTIONS
   Server-side audit states (including benchmark-complete) render entirely
   inside the shared audit form instead of using page-level confirm dialogs.
   ====================================================================== */
.lh-audit-inline-alert__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.7rem;
}

.lh-audit-inline-alert__actions.hidden,
.lh-audit-inline-alert__dismiss.hidden,
.lh-audit-inline-alert__action.hidden {
    display: none !important;
}

.lh-audit-inline-alert__dismiss,
.lh-audit-inline-alert__action {
    display: inline-flex;
    min-height: 2.1rem;
    align-items: center;
    justify-content: center;
    padding: 0.48rem 0.72rem;
    border-radius: 0.32rem;
    font-size: 0.68rem;
    line-height: 1rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.lh-audit-inline-alert__dismiss {
    border: 1px solid rgba(71, 85, 105, 0.24);
    background: rgba(255, 255, 255, 0.72);
    color: var(--lh-slate-700);
}

.lh-audit-inline-alert__dismiss:hover,
.lh-audit-inline-alert__dismiss:focus-visible {
    border-color: var(--lh-text-subtle);
    background: #ffffff;
    outline: none;
}

.lh-audit-inline-alert__action {
    border: 1px solid var(--lh-blue);
    background: var(--lh-blue);
    color: #ffffff;
}

.lh-audit-inline-alert__action:hover,
.lh-audit-inline-alert__action:focus-visible {
    border-color: var(--lh-blue-hover);
    background: var(--lh-blue-hover);
    color: #ffffff;
    outline: none;
}

@media (max-width: 520px) {
    .lh-audit-inline-alert__actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .lh-audit-inline-alert__dismiss,
    .lh-audit-inline-alert__action {
        width: 100%;
    }
}

/* ======================================================================
 * LINEHAUL HERO BRAND MOTIF — INVOICE DATA IN SAFE LAYOUT ZONES
 * ----------------------------------------------------------------------
 * Decorative invoice data lives in dedicated CSS-grid cells. It never
 * shares the headline/form canvas, and disappears before the layout gets
 * too narrow to guarantee that separation.
 * ====================================================================== */

:root {
    --lh-mark-blue: #0091ff;
}

.lh-premium-hero {
    position: relative;
    isolation: isolate;
    overflow: visible;
    background: transparent !important;
}

/* Atmospheric light extends beyond the hero so no section boundary is visible. */
.lh-premium-hero::before {
    content: none;
    display: none;
}

.lh-premium-hero::after {
    content: none;
    display: none;
}

@media (min-width: 1280px) {
    .lh-hero-shell {
        padding-top: 2.35rem !important;
    }
}

@media (max-width: 767px) {
    .lh-premium-hero::before {
        opacity: 0.62;
        inset: -14% -28% -18%;
    }
}

/* The right-hand audit form receives the same corner grammar as the mark. */
.lh-audit-form {
    position: relative;
    isolation: isolate;
}

.lh-audit-form::before,
.lh-audit-form::after {
    content: "";
    position: absolute;
    z-index: 2;
    width: 0.95rem;
    height: 0.95rem;
    pointer-events: none;
    opacity: 0.72;
}

.lh-audit-form::before {
    top: 0.62rem;
    left: 0.62rem;
    border-top: 2px solid var(--lh-mark-blue);
    border-left: 2px solid var(--lh-mark-blue);
}

.lh-audit-form::after {
    right: 0.62rem;
    bottom: 0.62rem;
    border-right: 2px solid var(--lh-mark-blue);
    border-bottom: 2px solid var(--lh-mark-blue);
}

/* Hero hierarchy: the thesis and primary audit CTA lead. Supporting copy and
   sample proof stay readable without competing for the first glance. */
.lh-hero-supporting-copy {
    color: var(--lh-slate-600);
    font-size: 0.95rem;
    line-height: 1.7rem;
}

@media (min-width: 640px) {
    .lh-hero-supporting-copy {
        font-size: 1rem;
        line-height: 1.85rem;
    }
}

/* Product proof follows the hero immediately; carrier-format compatibility
   reinforces it after visitors have seen the actual workflow. */
.lh-carrier-strip {
    margin-top: 2rem !important;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.24);
}

@media (min-width: 1024px) {
    .lh-premium-hero > div {
        padding-bottom: 0.9rem;
    }

    .lh-demo-heading-compact {
        padding-top: 0.9rem;
    }
}

@media (max-width: 640px) {

    .lh-carrier-strip {
        margin-top: 1.5rem !important;
    }

    .lh-audit-form::before,
    .lh-audit-form::after {
        width: 0.78rem;
        height: 0.78rem;
        opacity: 0.62;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lh-audit-form::before,
    .lh-audit-form::after {
        transition: none;
    }
}

/* Carrier-format recognition strip: compatibility proof, not customer/partner social proof. */
.lh-carrier-strip-copy {
    min-width: 0;
}

.lh-carrier-strip-label {
    color: var(--lh-blue);
    font-size: 0.625rem;
    line-height: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}


.lh-carrier-name-mark {
    position: relative;
    flex: 0 0 auto;
    padding: 0 1rem;
    color: var(--lh-slate-600);
    font-size: 0.86rem;
    line-height: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.lh-carrier-name-mark:first-child {
    padding-left: 0;
}

.lh-carrier-name-mark + .lh-carrier-name-mark::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 0.9rem;
    background: var(--lh-slate-200);
    transform: translateY(-50%);
}

@media (max-width: 767px) {
    .lh-carrier-name-mark {
        padding: 0 0.82rem;
        font-size: 0.8rem;
    }
}

/* Product-wide trust reassurance belongs in the explanatory reading flow,
   not as a badge or competing conversion path. */
.lh-hero-trust-note {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.22rem 0.36rem;
    margin-top: 0.62rem;
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.18rem;
    font-weight: 450;
}

.lh-hero-trust-note a {
    color: inherit;
    font-weight: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(100, 116, 139, 0.56);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.16em;
}

.lh-hero-trust-note a:hover,
.lh-hero-trust-note a:focus-visible {
    color: #334155;
    text-decoration-color: currentColor;
}

/* ------------------------------------------------------------------
   PUBLIC SECURITY PAGE
   Factual, document-like treatment: no marketing card wall or decorative
   trust badges. The page should read like an operational security overview.
   ------------------------------------------------------------------ */
.lh-security-page {
    min-height: calc(100vh - 5rem);
    background: #ffffff;
    color: var(--lh-slate-900);
}

.lh-security-document {
    width: min(960px, calc(100% - 2rem));
    margin: 0 auto;
    padding: clamp(2.6rem, 6vw, 5.25rem) 0 clamp(4rem, 8vw, 7rem);
}

.lh-security-header {
    padding: 0 0 clamp(2rem, 4vw, 3rem);
    border-bottom: 1px solid var(--lh-slate-200);
}

.lh-security-kicker {
    margin-bottom: 0.7rem;
    color: var(--lh-blue);
    font-size: 0.68rem;
    line-height: 1rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.lh-security-header h1 {
    margin: 0;
    color: var(--lh-slate-950);
    font-size: clamp(2.25rem, 5vw, 3.65rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.lh-security-header p {
    max-width: 49rem;
    margin: 1.2rem 0 0;
    color: var(--lh-slate-600);
    font-size: 0.98rem;
    line-height: 1.75;
}

.lh-security-document-section {
    padding: clamp(2rem, 4vw, 3rem) 0;
    border-bottom: 1px solid var(--lh-slate-200);
}

.lh-security-document-section h2 {
    margin: 0 0 1rem;
    color: var(--lh-slate-950);
    font-size: clamp(1.25rem, 2.4vw, 1.6rem);
    line-height: 1.25;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.lh-security-document-section > p {
    max-width: 52rem;
    margin: 0;
    color: var(--lh-slate-700);
    font-size: 0.86rem;
    line-height: 1.78;
}

.lh-security-document-section > p + p {
    margin-top: 0.9rem;
}

.lh-security-document a {
    color: var(--lh-blue);
    font-weight: 750;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.lh-security-facts {
    margin: 1.15rem 0 0;
    border-top: 1px solid var(--lh-slate-200);
}

.lh-security-facts > div {
    display: grid;
    grid-template-columns: minmax(10rem, 0.32fr) minmax(0, 1fr);
    gap: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--lh-slate-200);
}

.lh-security-facts dt {
    color: var(--lh-slate-900);
    font-size: 0.75rem;
    line-height: 1.5;
    font-weight: 800;
}

.lh-security-facts dd {
    margin: 0;
    color: var(--lh-slate-600);
    font-size: 0.78rem;
    line-height: 1.7;
}

.lh-security-contact-section {
    border-bottom: 0;
    padding-bottom: 0;
}

@media (max-width: 640px) {
    .lh-security-document {
        width: min(100% - 1.5rem, 960px);
        padding-top: 1.8rem;
    }

    .lh-security-header h1 {
        font-size: clamp(2rem, 11vw, 2.8rem);
    }

    .lh-security-facts > div {
        grid-template-columns: 1fr;
        gap: 0.3rem;
        padding: 0.9rem 0;
    }
}

/* ------------------------------------------------------------------
 * Focused authentication surfaces
 * ------------------------------------------------------------------ */
.lh-auth-shell {
    width: 100%;
    min-height: 100dvh;
    display: grid;
    grid-template-columns: clamp(17.75rem, 20vw, 19.5rem) minmax(0, 1fr);
    background: #ffffff;
}

.lh-auth-shell * {
    box-sizing: border-box;
}

.lh-auth-aside {
    position: sticky;
    top: 0;
    align-self: start;
    min-height: 100dvh;
    padding: clamp(1.5rem, 2.4vw, 2rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1.35rem;
    background: #f8fafc;
    border-right: 1px solid var(--lh-slate-200);
    color: var(--lh-slate-900);
}

.lh-auth-aside__center {
    width: 100%;
    margin: clamp(1rem, 3vh, 1.75rem) 0 0;
}

.lh-auth-brand {
    display: inline-flex;
    align-items: center;
    width: min(15.5rem, 100%);
    text-decoration: none;
}

.lh-auth-brand img,
.lh-auth-mobile-brand img {
    display: block;
    width: 100%;
    height: auto;
}

.lh-auth-aside__bottom {
    margin-top: auto;
    display: grid;
    gap: 0.6rem;
}

.lh-auth-aside__help {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
    color: var(--lh-text-subtle);
    font-size: 0.62rem;
    line-height: 1.2rem;
}

.lh-auth-aside__help span {
    color: inherit;
}

.lh-auth-aside__help a {
    width: fit-content;
    color: var(--lh-text-subtle);
    font-weight: 650;
    text-decoration: none;
}

.lh-auth-aside__help a:hover,
.lh-auth-aside__help a:focus-visible {
    color: var(--lh-slate-600);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lh-auth-aside__footer {
    margin-top: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    color: var(--lh-text-subtle);
    font-size: 0.68rem;
    line-height: 1rem;
}

.lh-auth-aside__footer a {
    color: var(--lh-text-muted);
    text-decoration: none;
}

.lh-auth-aside__footer a:hover,
.lh-auth-aside__footer a:focus-visible {
    color: var(--lh-slate-800);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lh-auth-main {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 5vw, 5rem);
    background: #ffffff;
}

.lh-auth-form-wrap {
    width: min(100%, 29rem);
    margin: auto;
}

.lh-auth-form-wrap--register {
    width: min(100%, 31rem);
}

.lh-auth-mobile-top {
    display: none;
}

.lh-auth-mobile-brand {
    display: inline-flex;
    width: 8.9rem;
}

.lh-auth-form-heading {
    margin-bottom: 1.7rem;
}

.lh-auth-heading-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.lh-auth-form-heading h1 {
    margin: 0;
    color: var(--lh-slate-950);
    font-size: clamp(2rem, 4vw, 2.55rem);
    line-height: 1.06;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.lh-auth-form-heading > p {
    margin: 0.7rem 0 0;
    color: var(--lh-slate-600);
    font-size: 0.84rem;
    line-height: 1.6;
}

.lh-auth-form input[type="email"],
.lh-auth-form input[type="password"],
.lh-auth-form input[type="text"] {
    min-height: 44px;
}

.lh-auth-form button[type="submit"],
.lh-register-continue {
    min-height: 44px;
}

.lh-register-step--email,
.lh-register-step--details {
    display: grid;
    gap: 1rem;
}

.lh-register-continue {
    display: none;
}

.lh-auth-shell.is-register-progressive .lh-register-continue {
    display: inline-flex;
}

.lh-auth-shell.is-register-progressive[data-register-step="1"] .lh-register-step--details {
    display: none;
}

.lh-auth-shell.is-register-progressive[data-register-step="2"] .lh-register-step--email {
    display: none;
}

.lh-register-email-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0.8rem;
    border: 1px solid var(--lh-slate-200);
    border-radius: 0.4rem;
    background: #f8fafc;
    color: var(--lh-slate-700);
    font-size: 0.76rem;
    line-height: 1.25rem;
}

.lh-register-email-summary span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lh-register-email-summary button {
    flex: none;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--lh-blue);
    font-size: 0.72rem;
    line-height: 1rem;
    font-weight: 750;
    cursor: pointer;
}

.lh-register-email-summary button:hover,
.lh-register-email-summary button:focus-visible {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lh-auth-form-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--lh-slate-200);
    color: var(--lh-text-muted);
    font-size: 0.76rem;
    line-height: 1.6;
    text-align: center;
}

.lh-auth-form-footer--register {
    display: grid;
    gap: 0.42rem;
}

.lh-auth-form-footer p {
    margin: 0;
}

.lh-auth-mobile-legal {
    display: none;
}

@media (max-width: 900px) {
    .lh-auth-shell {
        display: block;
        min-height: 100dvh;
    }

    .lh-auth-aside {
        display: none;
    }

    .lh-auth-main {
        min-height: 100dvh;
        align-items: flex-start;
        padding: 1.2rem clamp(1.15rem, 5vw, 2rem) 2rem;
    }

    .lh-auth-form-wrap,
    .lh-auth-form-wrap--register {
        width: min(100%, 32rem);
    }

    .lh-auth-mobile-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        margin-bottom: clamp(3rem, 9vh, 5rem);
    }

    .lh-auth-mobile-brand {
        width: 8.8rem;
    }

    .lh-auth-form-heading h1 {
        font-size: clamp(1.9rem, 8vw, 2.4rem);
    }

    .lh-auth-mobile-legal {
        margin-top: 1.35rem;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.9rem;
        color: var(--lh-text-muted);
        font-size: 0.68rem;
        line-height: 1rem;
    }

    .lh-auth-mobile-legal a {
        color: inherit;
        text-decoration: none;
    }

    .lh-auth-mobile-legal a:hover,
    .lh-auth-mobile-legal a:focus-visible {
        color: var(--lh-blue);
        text-decoration: underline;
        text-underline-offset: 2px;
    }
}

@media (max-width: 480px) {
    .lh-auth-main {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .lh-auth-mobile-top {
        margin-bottom: 2.6rem;
    }

    .lh-auth-heading-row {
        align-items: flex-end;
    }

    .lh-auth-form-heading {
        margin-bottom: 1.4rem;
    }
}

/* Auth brand motif: document comparison / discrepancy review. */
.lh-auth-motif {
    width: min(100%, 13.25rem);
    margin: 1.35rem auto 0;
    opacity: 0.74;
}

.lh-auth-motif svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.lh-auth-motif__doc {
    fill: rgba(255, 255, 255, 0.96);
    stroke: #d6e0ec;
    stroke-width: 1.2;
}

.lh-auth-motif__doc--ghost {
    fill: rgba(255, 255, 255, 0.52);
    stroke: #dce5ef;
    opacity: 0.72;
}

.lh-auth-motif__block {
    fill: #e6ecf4;
}

.lh-auth-motif__block--ghost {
    opacity: 0.64;
}

.lh-auth-motif__line {
    fill: #cbd6e3;
}

.lh-auth-motif__line--ghost {
    fill: #d8e1eb;
    opacity: 0.75;
}

.lh-auth-motif__highlight {
    fill: rgba(37, 99, 235, 0.08);
    stroke: rgba(37, 99, 235, 0.12);
    stroke-width: 1;
}

.lh-auth-motif__highlight--ghost {
    opacity: 0.55;
}

.lh-auth-motif__line--accent,
.lh-auth-motif__line--accent-short,
.lh-auth-motif__line--accent-ghost {
    fill: #4f86e8;
}

.lh-auth-motif__line--accent-ghost {
    opacity: 0.52;
}

.lh-auth-motif__route {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.35;
}

.lh-auth-motif__route--solid {
    stroke: #7fa8ee;
}

.lh-auth-motif__route--dash {
    stroke: #b8cbe5;
    stroke-dasharray: 5 6;
}

.lh-auth-motif__node-ring {
    fill: #f8fafc;
    stroke: #a9c4ef;
    stroke-width: 1.3;
}

.lh-auth-motif__node {
    fill: var(--lh-blue);
}

.lh-auth-motif__compare {
    fill: #ffffff;
    stroke: #c8d7ea;
    stroke-width: 1.2;
}

.lh-auth-motif__compare-bar {
    fill: var(--lh-blue);
}

.lh-auth-motif__corner {
    fill: none;
    stroke: var(--lh-blue);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lh-auth-motif__check {
    fill: var(--lh-blue);
    stroke: #c8dcff;
    stroke-width: 4;
}

.lh-auth-motif__checkmark {
    fill: none;
    stroke: #ffffff;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lh-auth-aside__message {
    margin: 0.9rem 0 0;
    max-width: 15rem;
}

.lh-auth-aside__message h2 {
    margin: 0;
    color: var(--lh-slate-700);
    font-size: 1.05rem;
    line-height: 1.3;
    letter-spacing: -0.015em;
    font-weight: 700;
}


/* ======================================================================
 * LANDING POLISH — PRODUCT PROOF, QUIET WORKFLOW, PREMIUM HERO
 * ====================================================================== */

/* The landing stays white and operational, but a restrained Linehaul-blue
   atmosphere keeps the hero from feeling like a blank document. These are
   diffuse brand lights, not a full-width gradient or decorative content. */
.lh-premium-hero {
    position: relative;
    isolation: isolate;
    overflow: visible;
    background: #ffffff !important;
}

.lh-premium-hero::before {
    content: "";
    display: block;
    position: absolute;
    z-index: 0;
    top: -4rem;
    right: clamp(2rem, 9vw, 10rem);
    width: clamp(20rem, 34vw, 34rem);
    height: clamp(12rem, 22vw, 21rem);
    border-radius: 999px;
    background: rgba(0, 145, 255, 0.072);
    box-shadow:
        0 0 110px 58px rgba(0, 145, 255, 0.042),
        -86px 58px 132px 52px rgba(36, 88, 166, 0.036);
    filter: blur(30px);
    pointer-events: none;
}

.lh-premium-hero::after {
    content: "";
    display: block;
    position: absolute;
    z-index: 0;
    top: clamp(1.8rem, 5vw, 4.8rem);
    right: clamp(1.25rem, 5.5vw, 6.8rem);
    width: clamp(8rem, 13vw, 12.5rem);
    height: clamp(5rem, 8vw, 7.5rem);
    border-top: 1px solid rgba(0, 145, 255, 0.2);
    border-right: 1px solid rgba(36, 88, 166, 0.16);
    border-radius: 0 8px 0 0;
    pointer-events: none;
}

.lh-hero-shell,
.lh-hero-demo-section {
    position: relative;
    z-index: 1;
}

.lh-hero-demo-section {
    background: #ffffff;
}

.lh-demo-heading-wrap {
    width: min(1320px, calc(100% - 2rem));
    max-width: none;
    margin: 0 auto;
    padding: 1.2rem 0 1.05rem;
}

/* No transformed ancestor is allowed around the fixed expanded demo. A
   transform here turns position:fixed into wrapper-relative positioning and
   prevents the demo from occupying the actual viewport. */
.lh-demo-embed-wrap {
    position: relative;
    z-index: 10;
    width: calc(100% - 2rem);
    max-width: 1320px;
    margin: 0 auto;
    transform: none;
}

.lh-demo-embed-wrap::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 9%;
    right: 9%;
    bottom: -0.4rem;
    height: 5.5rem;
    border-radius: 999px;
    background: rgba(36, 88, 166, 0.055);
    filter: blur(34px);
    pointer-events: none;
}

.lh-demo-embed-wrap.is-modal-host {
    z-index: 9994;
    animation: none !important;
    transform: none !important;
}

.lh-demo-embed-shell {
    position: relative;
    height: 650px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #c8d0db;
    border-radius: 8px;
    box-shadow:
        0 1px 2px rgba(18, 35, 63, 0.035),
        0 18px 42px -34px rgba(18, 35, 63, 0.34),
        0 30px 72px -56px rgba(36, 88, 166, 0.4);
    opacity: 1;
    transition: border-color 150ms ease, box-shadow 150ms ease, opacity 165ms ease;
}

.lh-demo-embed-shell.is-modal {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.lh-demo-embed-shell.is-modal.is-animating {
    pointer-events: none;
}

/* The visible interaction affordance lives between the section copy and the
   frame. It is centered, small, and never overlays app text or controls. The
   synthetic poster itself is also pointer-clickable before the iframe loads. */
.lh-demo-interaction-trigger {
    position: absolute;
    z-index: 12;
    top: auto;
    bottom: -2.2rem;
    left: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.32rem;
    min-height: 29px;
    padding: 0.35rem 0.58rem;
    border: 1px solid rgba(148, 163, 184, 0.62);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.98);
    color: var(--lh-blue);
    box-shadow: 0 2px 7px rgba(18, 35, 63, 0.07);
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(-3px);
    cursor: pointer;
    transition:
        opacity 140ms ease,
        border-color 140ms ease,
        background-color 140ms ease,
        box-shadow 140ms ease,
        transform 140ms ease;
    white-space: nowrap;
}

.lh-demo-embed-wrap:hover > .lh-demo-interaction-trigger,
.lh-demo-interaction-trigger:focus-visible {
    opacity: 1;
    pointer-events: auto;
    border-color: rgba(36, 88, 166, 0.52);
    background: #ffffff;
    box-shadow: 0 4px 11px rgba(18, 35, 63, 0.1);
    transform: translateX(-50%) translateY(0);
}

.lh-demo-interaction-trigger:focus-visible {
    outline: 2px solid rgba(36, 88, 166, 0.42);
    outline-offset: 2px;
}

.lh-demo-interaction-trigger > span {
    font-size: 0.65rem;
    line-height: 0.85rem;
    font-weight: 750;
}

.lh-demo-interaction-prompt-icon {
    width: 0.78rem;
    height: 0.78rem;
    flex: 0 0 auto;
}

.lh-demo-embed-wrap.is-modal-host > .lh-demo-interaction-trigger {
    display: none;
}

/* ----------------------------------------------------------------------
 * Synthetic Invoice History poster — mirrors real workspace structure.
 * ---------------------------------------------------------------------- */
.lh-demo-poster {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    grid-template-columns: 218px minmax(0, 1fr);
    overflow: hidden;
    background: #ffffff;
    color: var(--lh-slate-900);
    user-select: none;
    pointer-events: auto;
    cursor: pointer;
    transition: none;
}

.lh-demo-embed-shell.is-loaded .lh-demo-poster {
    opacity: 0;
    visibility: hidden;
}

.lh-demo-poster:hover {
    box-shadow: inset 0 0 0 1px rgba(36, 88, 166, 0.16);
}

.lh-demo-poster__table td:nth-child(1),
.lh-demo-poster__table th:nth-child(1) { width: 16%; }
.lh-demo-poster__table td:nth-child(2),
.lh-demo-poster__table th:nth-child(2) { width: 14%; }
.lh-demo-poster__table td:nth-child(3),
.lh-demo-poster__table th:nth-child(3) { width: 10%; }
.lh-demo-poster__table td:nth-child(4),
.lh-demo-poster__table th:nth-child(4) { width: 10%; }
.lh-demo-poster__table td:nth-child(5),
.lh-demo-poster__table th:nth-child(5) { width: 18%; }
.lh-demo-poster__table td:nth-child(6),
.lh-demo-poster__table th:nth-child(6) { width: 10%; }
.lh-demo-poster__table td:nth-child(7),
.lh-demo-poster__table th:nth-child(7) { width: 18%; }
.lh-demo-poster__table td:nth-child(8),
.lh-demo-poster__table th:nth-child(8) { width: 4%; }

/* ----------------------------------------------------------------------
 * Carrier recognition — a very slow freight-context rail, not endorsement.
 * ---------------------------------------------------------------------- */
.lh-carrier-strip {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 1.15rem;
    margin-top: 2.2rem !important;
    padding: 0.35rem 0 0;
    background: transparent;
}

.lh-carrier-strip-label {
    color: var(--lh-slate-500);
    font-size: 0.58rem;
    line-height: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.095em;
    white-space: nowrap;
}

.lh-carrier-marquee {
    min-width: 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 2.5rem, #000 calc(100% - 2.5rem), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 2.5rem, #000 calc(100% - 2.5rem), transparent 100%);
}

.lh-carrier-marquee-track {
    display: flex;
    width: max-content;
    align-items: center;
    animation: lhCarrierFormatsRail 72s linear infinite;
    will-change: transform;
}

.lh-carrier-marquee:hover .lh-carrier-marquee-track,
.lh-carrier-marquee:focus-within .lh-carrier-marquee-track {
    animation-play-state: paused;
}

.lh-carrier-marquee-group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    padding-right: 1rem;
}

.lh-carrier-name-mark {
    position: relative;
    flex: 0 0 auto;
    padding: 0 0.95rem;
    color: var(--lh-slate-600);
    font-size: 0.78rem;
    line-height: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.018em;
    white-space: nowrap;
}

.lh-carrier-name-mark + .lh-carrier-name-mark::before {
    content: "·";
    position: absolute;
    left: -0.08rem;
    top: 50%;
    color: #c0cad6;
    font-size: 0.76rem;
    transform: translateY(-52%);
}

@keyframes lhCarrierFormatsRail {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

/* ----------------------------------------------------------------------
 * Product tour — one calm stage, four real workflow states.
 * ---------------------------------------------------------------------- */
.lh-product-flow {
    background: #ffffff;
}

.lh-product-tour {
    display: grid;
    grid-template-columns: minmax(245px, 0.28fr) minmax(0, 0.72fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: stretch;
    margin-top: 3rem;
}

.lh-product-tour__steps {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-self: center;
}

.lh-product-tour__step {
    position: relative;
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.72rem;
    width: 100%;
    padding: 0.86rem 0.75rem 0.86rem 0.85rem;
    border: 0;
    border-left: 2px solid #e1e7ee;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 150ms ease, background-color 150ms ease;
}

.lh-product-tour__step:hover,
.lh-product-tour__step:focus-visible {
    background: #fbfcfd;
}

.lh-product-tour__step:focus-visible {
    outline: 2px solid rgba(36, 88, 166, 0.25);
    outline-offset: 2px;
}

.lh-product-tour__step.is-active {
    border-left-color: var(--lh-blue);
    background: #f8fbff;
}

.lh-product-tour__number {
    padding-top: 0.08rem;
    color: var(--lh-blue);
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.6rem;
    line-height: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.lh-product-tour__stage {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    border: 1px solid #cdd6e1;
    border-radius: 9px;
    background: #f8fafc;
    box-shadow: 0 22px 60px -48px rgba(18, 35, 63, 0.42);
}

.lh-product-tour__stage::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, rgba(0,145,255,.7), rgba(36,88,166,.18), transparent 70%);
    pointer-events: none;
}

.lh-product-tour__pane {
    min-height: 430px;
    padding: 2rem;
}

.lh-product-tour__pane[hidden] { display: none !important; }

.lh-product-tour__pane.is-active {
    animation: lhProductPaneIn 180ms ease-out both;
}

@keyframes lhProductPaneIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}
.lh-product-tour__pane.is-active .lh-tour-upload-row:nth-child(2) { animation-delay: 45ms; }
.lh-product-tour__pane.is-active .lh-tour-upload-row:nth-child(3) { animation-delay: 90ms; }
.lh-tour-source__paper > i:nth-of-type(2) { width:82%; } .lh-tour-source__paper > i:nth-of-type(3) { width:67%; } .lh-tour-source__paper > i:nth-of-type(4) { width:88%; } .lh-tour-source__paper > i:nth-of-type(5) { width:72%; }
.lh-tour-queue-row > span:nth-child(2), .lh-tour-queue-row > span:nth-child(4) { font-family:"SFMono-Regular",Consolas,monospace; }

@media (max-width: 960px) {
    .lh-product-tour { grid-template-columns: minmax(0,1fr); gap:1.25rem; }
    .lh-product-tour__steps { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
    .lh-product-tour__step { min-height:96px; }
}

@media (max-width: 700px) {
    .lh-carrier-strip { grid-template-columns:minmax(0,1fr); gap:.55rem; margin-top:1.7rem !important; }
    .lh-carrier-marquee { margin-right:-1rem; -webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 2rem),transparent 100%); mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 2rem),transparent 100%); }
    .lh-product-tour__steps { grid-template-columns:minmax(0,1fr); gap:.12rem; }
    .lh-product-tour__step { min-height:0; padding:.72rem .6rem .72rem .72rem; }
    .lh-product-tour__step small { display:none; }
    .lh-product-tour__stage, .lh-product-tour__pane { min-height:390px; }
    .lh-product-tour__pane { padding:.75rem; }
    .lh-tour-queue-row > span:nth-child(2), .lh-tour-queue-row > span:nth-child(4) { display:none; }
}

@media (prefers-reduced-motion: reduce) {
    .lh-carrier-marquee-track { animation: none !important; transform:none !important; }
    .lh-carrier-marquee-group[aria-hidden="true"] { display:none; }
    .lh-product-tour__pane.is-active,
    .lh-product-tour__pane.is-active .lh-tour-upload-row { animation:none !important; }
}

/* One-time load choreography: hierarchy, not spectacle. The demo wrapper is
   opacity-only so it never becomes a fixed-position containing block. */
@keyframes lhLandingEnter {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes lhLandingDemoEnter {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes lhHeroAtmosphereEnter {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) {
    .lh-premium-hero::before,
    .lh-premium-hero::after { animation: lhHeroAtmosphereEnter 360ms ease-out both; }
    .lh-demo-heading-wrap { animation: lhLandingEnter 200ms ease-out 140ms both; }
    .lh-demo-embed-wrap { animation: lhLandingDemoEnter 220ms ease-out 190ms both; }
}

@media (min-width: 1024px) {
    .lh-premium-hero > div { padding-bottom: 0.2rem !important; }
    .lh-hero-demo-section { margin-top: -0.4rem; }
    .lh-demo-heading-compact { padding-top: 0.75rem; padding-bottom: 0.95rem; }
}

@media (min-width: 640px) {
    .lh-demo-embed-wrap { width: calc(100% - 4rem); }
}

@media (min-width: 1024px) {
    .lh-demo-embed-wrap { width: calc(100% - 6rem); }
}

@media (max-width: 1180px) {
    .lh-demo-poster { grid-template-columns: 188px minmax(0, 1fr); }
    .lh-demo-poster__bottom-nav .lh-demo-poster__nav-item:nth-child(3),
    .lh-demo-poster__bottom-nav .lh-demo-poster__nav-item:nth-child(4) { display: none; }
    .lh-demo-poster__table td:nth-child(3),
    .lh-demo-poster__table th:nth-child(3) { display: none; }
    .lh-demo-poster__table td:nth-child(1),
    .lh-demo-poster__table th:nth-child(1) { width: 19%; }
    .lh-demo-poster__table td:nth-child(2),
    .lh-demo-poster__table th:nth-child(2) { width: 15%; }
    .lh-demo-poster__table td:nth-child(4),
    .lh-demo-poster__table th:nth-child(4) { width: 11%; }
    .lh-demo-poster__table td:nth-child(5),
    .lh-demo-poster__table th:nth-child(5) { width: 19%; }
    .lh-demo-poster__table td:nth-child(6),
    .lh-demo-poster__table th:nth-child(6) { width: 11%; }
    .lh-demo-poster__table td:nth-child(7),
    .lh-demo-poster__table th:nth-child(7) { width: 21%; }
    .lh-demo-poster__table td:nth-child(8),
    .lh-demo-poster__table th:nth-child(8) { width: 4%; }
}

@media (max-width: 767px) {
    .lh-premium-hero::before {
        top: 0;
        right: -9rem;
        width: 20rem;
        height: 14rem;
        opacity: 0.72;
    }
    .lh-premium-hero::after { display: none; }
    .lh-demo-heading-wrap { width: calc(100% - 2rem); padding-top: 1.6rem; }
    .lh-demo-embed-shell { height: 500px; }
    .lh-demo-poster { grid-template-columns: minmax(0, 1fr); }
    .lh-demo-poster__filter:nth-of-type(1),
    .lh-demo-poster__filter:nth-of-type(2) { display: none; }
    .lh-demo-poster__table td:nth-child(2),
    .lh-demo-poster__table th:nth-child(2) { width: 20%; }
    .lh-demo-poster__table td:nth-child(5),
    .lh-demo-poster__table th:nth-child(5) { width: 26%; }
    .lh-demo-poster__table td:nth-child(6),
    .lh-demo-poster__table th:nth-child(6) { width: 12%; }
    .lh-demo-poster__table td:nth-child(7),
    .lh-demo-poster__table th:nth-child(7) { width: 16%; }
    .lh-demo-interaction-trigger { top: auto; bottom: -2rem; min-height: 28px; padding: 0.32rem 0.52rem; opacity: .94; pointer-events: auto; }
    .lh-carrier-strip { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
    .lh-carrier-name-mark { padding: 0 0.72rem; font-size: 0.74rem; }
}

@media (prefers-reduced-motion: reduce) {
    .lh-demo-poster,
    .lh-demo-embed-frame,
    .lh-demo-interaction-trigger { transition: none; }
}


/* Landing interaction/fullscreen integration. */
html.lh-demo-expanded #main-navbar {
    transform: translateY(-110%) !important;
    pointer-events: none !important;
}

.lh-carrier-strip { border-top: 0 !important; }
.lh-product-flow { border-top: 0 !important; }

@media (hover: none), (pointer: coarse) {
    .lh-demo-interaction-trigger {
        opacity: .92;
        pointer-events: auto;
    }
}

/* ======================================================================
 * LANDING — FINANCIAL PRODUCT PROOF / PREMIUM COMPOSITION
 * 2026-09-24: one coherent landing system, not section-by-section effects.
 * ====================================================================== */

/* Hero owns its full content height. The atmosphere is a contained light,
   never a border/shape that can appear to pierce the audit card. */
.lh-premium-hero {
    overflow: clip;
    background:
        radial-gradient(circle at 78% 34%, rgba(0, 145, 255, .085), rgba(0, 145, 255, .025) 28%, transparent 57%),
        radial-gradient(circle at 58% 14%, rgba(36, 88, 166, .045), transparent 38%),
        #fff !important;
}

.lh-premium-hero::before {
    content: "" !important;
    display: block !important;
    position: absolute;
    z-index: 0;
    inset: 0;
    width: auto;
    height: auto;
    border-radius: 0;
    background:
        linear-gradient(90deg, transparent 0 72%, rgba(36, 88, 166, .055) 72%, rgba(36, 88, 166, .055) calc(72% + 1px), transparent calc(72% + 1px)),
        linear-gradient(0deg, transparent 0 18%, rgba(0, 145, 255, .05) 18%, rgba(0, 145, 255, .05) calc(18% + 1px), transparent calc(18% + 1px));
    box-shadow: none;
    filter: none;
    opacity: .72;
    pointer-events: none;
}

.lh-premium-hero::after {
    content: none !important;
    display: none !important;
}

.lh-hero-shell {
    padding-bottom: clamp(3.75rem, 6vw, 5.4rem) !important;
}

.lh-audit-form {
    overflow: visible;
    box-shadow:
        0 1px 2px rgba(18, 35, 63, .04),
        0 24px 62px -44px rgba(18, 35, 63, .42),
        0 16px 44px -38px rgba(0, 145, 255, .28);
}

.lh-hero-demo-section {
    margin-top: 0 !important;
    padding-top: clamp(1.6rem, 3vw, 2.8rem);
}

.lh-demo-heading-wrap {
    width: min(1320px, calc(100% - 3rem));
    padding: 0 0 1.35rem;
}

/* Preview frame and explicit interaction rail. The control has reserved space
   outside the application viewport, so it can never cover product content. */
.lh-demo-embed-wrap {
    width: min(1320px, calc(100% - 3rem));
    max-width: none;
    margin: 0 auto;
}

.lh-demo-embed-wrap::before {
    left: 12%;
    right: 12%;
    bottom: 2.35rem;
    height: 5.2rem;
    background: rgba(36, 88, 166, .06);
    filter: blur(38px);
}

.lh-demo-embed-shell {
    height: 700px;
    border-color: #cbd5e1;
    border-radius: 8px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, .035),
        0 26px 64px -46px rgba(18, 35, 63, .42),
        0 18px 54px -45px rgba(36, 88, 166, .32);
}

.lh-demo-open-rail {
    position: relative;
    z-index: 12;
    min-height: 44px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: .55rem;
}

.lh-demo-interaction-trigger {
    position: static;
    min-height: 30px;
    padding: .36rem .68rem;
    border-color: rgba(148, 163, 184, .68);
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(18, 35, 63, .055);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-3px);
}

.lh-demo-embed-wrap:hover .lh-demo-interaction-trigger,
.lh-demo-embed-wrap:focus-within .lh-demo-interaction-trigger,
.lh-demo-interaction-trigger:focus-visible {
    opacity: 1;
    pointer-events: auto;
    border-color: rgba(36, 88, 166, .5);
    box-shadow: 0 5px 14px rgba(18, 35, 63, .09);
    transform: translateY(0);
}

.lh-demo-embed-wrap.is-modal-host .lh-demo-open-rail {
    display: none;
}

html.lh-demo-expanded #main-navbar {
    display: none !important;
}

/* Synthetic Invoice History poster: use the same spacing density and hierarchy
   as the authenticated workspace, scaled only enough to fit a marketing frame. */
.lh-demo-poster {
    grid-template-columns: 232px minmax(0, 1fr);
    background: #fff;
}

/* Carrier proof uses the original two-column rail structure and moves slowly
   enough to read as ambient freight context, not a logo ticker. */
.lh-carrier-strip {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 1.35rem;
    margin-top: 1.5rem !important;
    padding: .95rem .85rem .9rem;
    border-top: 1px solid rgba(36, 88, 166, .18) !important;
    background: linear-gradient(90deg, rgba(36, 88, 166, .038), rgba(36, 88, 166, .014) 55%, rgba(255, 255, 255, 0));
}

.lh-carrier-strip-label {
    color: #52647a;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
    white-space: nowrap;
}


/* Product tour: one confident stage, not four miniature cards. */
.lh-product-flow {
    padding: 0;
    background: #fff;
}

.lh-product-flow__shell,
.lh-landing-section-shell {
    width: min(1284px, calc(100% - 3rem));
    margin: 0 auto;
}

.lh-product-flow__heading,
.lh-landing-section-heading {
    max-width: 780px;
    margin: 0 0 2.25rem;
}

.lh-product-flow__heading h2,
.lh-landing-section-heading h2,
.lh-evidence-proof__copy h2,
.lh-trust-proof__intro h2,
.lh-final-conversion h2 {
    margin: 0;
    color: var(--lh-slate-950);
    font-size: clamp(2rem, 3.8vw, 3.25rem);
    line-height: 1.02;
    letter-spacing: -.045em;
    font-weight: 760;
}

.lh-product-flow__heading p,
.lh-landing-section-heading p,
.lh-evidence-proof__copy > p,
.lh-trust-proof__intro > p,
.lh-final-conversion p {
    margin: .8rem 0 0;
    max-width: 700px;
    color: var(--lh-slate-600);
    font-size: .96rem;
    line-height: 1.65rem;
}

.lh-product-tour {
    display: grid;
    grid-template-columns: minmax(230px, 260px) minmax(0, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.lh-product-tour__steps {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    padding: .35rem 0;
}

.lh-product-tour__step {
    position: relative;
    min-height: 102px;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: .7rem;
    align-items: start;
    padding: 1rem .9rem 1rem 1rem;
    border: 0;
    border-left: 2px solid transparent;
    border-radius: 0 7px 7px 0;
    background: transparent;
    color: var(--lh-slate-600);
    text-align: left;
    cursor: pointer;
    transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.lh-product-tour__step:hover,
.lh-product-tour__step:focus-visible {
    background: #f8fafc;
    color: var(--lh-slate-900);
}

.lh-product-tour__step.is-active {
    border-left-color: var(--lh-blue);
    background: #f5f8fc;
    color: var(--lh-slate-950);
}

.lh-product-tour__step:focus-visible {
    outline: 2px solid rgba(36, 88, 166, .28);
    outline-offset: 2px;
}

.lh-product-tour__number {
    padding-top: .08rem;
    color: var(--lh-blue);
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: .61rem;
    line-height: 1rem;
    font-weight: 800;
    letter-spacing: .06em;
}

.lh-product-tour__stage {
    position: relative;
    min-height: 585px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    background: #f8fafc;
    box-shadow: 0 24px 58px -46px rgba(18, 35, 63, .38);
}

.lh-product-tour__pane {
    min-height: 585px;
    padding: 1rem;
}

/* Long-form proof sections — each adds a distinct buying answer rather than
   filler. Marketing layout uses whitespace; borders stay inside product data. */
.lh-landing-proof,
.lh-evidence-proof,
.lh-accounting-proof,
.lh-trust-proof,
.lh-volume-proof,
.lh-final-conversion {
    background:#fff;
}

.lh-landing-proof .lh-landing-section-shell,
.lh-accounting-proof .lh-landing-section-shell,
.lh-volume-proof .lh-landing-section-shell {
    padding: clamp(4.8rem, 7vw, 6.6rem) 0;
}
.lh-landing-text-link { flex:0 0 auto; color:var(--lh-blue); font-size:.76rem; font-weight:750; text-decoration:none; }.lh-landing-text-link:hover{text-decoration:underline;color:var(--lh-blue-hover)}

.lh-trust-proof__grid { margin-top:clamp(1rem,2vw,2rem); margin-bottom:clamp(2rem,4vw,4rem); padding:clamp(3rem,5vw,4.5rem); display:grid; grid-template-columns:minmax(260px,.75fr) minmax(0,1.25fr); gap:clamp(2.5rem,5vw,5rem); border-radius:10px; background:#12233f; color:#fff; box-shadow:0 26px 72px -58px rgba(12,25,45,.72); }
.lh-trust-proof__intro h2 { color:#fff; }.lh-trust-proof__intro>p{color:#bcc8d8}.lh-trust-proof__link{display:inline-flex;margin-top:1.3rem;color:#dbeafe;font-size:.73rem;font-weight:750;text-decoration:none}.lh-trust-proof__link:hover{text-decoration:underline;color:#fff}
.lh-trust-proof__list { display:grid; gap:.1rem; }.lh-trust-proof__list>div{display:grid;grid-template-columns:34px minmax(0,1fr);column-gap:.8rem;padding:1rem 0;border-bottom:1px solid rgba(255,255,255,.12)}.lh-trust-proof__list>div:last-child{border-bottom:0}.lh-trust-proof__list span{grid-row:1/3;color:#80baf8;font-family:"SFMono-Regular",Consolas,monospace;font-size:.58rem;font-weight:800}.lh-trust-proof__list strong{color:#fff;font-size:.75rem}.lh-trust-proof__list p{margin:.3rem 0 0;color:#aebdd0;font-size:.65rem;line-height:1.05rem}

.lh-volume-proof .lh-landing-section-shell { padding-top:clamp(3.5rem,6vw,5.5rem); }
.lh-volume-table { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border-top:1px solid #dbe3ec; border-bottom:1px solid #dbe3ec; }
.lh-volume-table>div{min-height:128px;display:flex;flex-direction:column;padding:1.2rem 1rem;border-right:1px solid #e7ecf1}.lh-volume-table>div:last-child{border-right:0}.lh-volume-table strong{color:var(--lh-slate-950);font-size:.76rem}.lh-volume-table span{margin-top:.32rem;color:var(--lh-slate-500);font-size:.64rem}.lh-volume-table b{margin-top:auto;padding-top:1rem;color:#173f76;font-family:"SFMono-Regular",Consolas,monospace;font-size:.68rem}

.lh-final-conversion__inner { margin-top:clamp(1rem,3vw,2.5rem); margin-bottom:clamp(4.5rem,7vw,6.5rem); padding:clamp(2rem,4vw,3.2rem) 0; display:flex; align-items:center; justify-content:space-between; gap:2.5rem; border-top:1px solid #dbe3ec; border-bottom:1px solid #dbe3ec; }
.lh-final-conversion__inner>div:first-child{max-width:720px}.lh-final-conversion__actions{flex:0 0 auto;display:flex;align-items:center;gap:1rem}

@media (max-width: 1080px) {
    .lh-demo-poster { grid-template-columns: 202px minmax(0,1fr); }
    .lh-product-tour { grid-template-columns:minmax(0,1fr); gap:1.2rem; }
    .lh-product-tour__steps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.2rem; }
    .lh-product-tour__step { min-height:112px; grid-template-columns:minmax(0,1fr); gap:.25rem; border-left:0; border-bottom:2px solid transparent; border-radius:7px 7px 0 0; }
    .lh-product-tour__step.is-active { border-bottom-color:var(--lh-blue); }.lh-tour-window--queue .lh-tour-queue-head>span:nth-child(3),.lh-tour-window--queue .lh-tour-queue-row>span:nth-child(3){display:none}
}

@media (max-width: 820px) {
    .lh-hero-shell,.lh-demo-heading-wrap,.lh-demo-embed-wrap,.lh-product-flow__shell,.lh-landing-section-shell{width:calc(100% - 2rem)}
    .lh-demo-embed-shell{height:540px}
    .lh-carrier-strip{grid-template-columns:minmax(0,1fr);gap:.55rem;padding-inline:0;background:transparent}
    .lh-evidence-proof__grid,.lh-trust-proof__grid{grid-template-columns:minmax(0,1fr)}
    .lh-volume-table{grid-template-columns:repeat(2,minmax(0,1fr))}.lh-volume-table>div:nth-child(2){border-right:0}.lh-volume-table>div:nth-child(-n+2){border-bottom:1px solid #e7ecf1}
    .lh-final-conversion__inner,.lh-landing-section-heading--split{align-items:flex-start;flex-direction:column}.lh-final-conversion__actions{width:100%;align-items:stretch;flex-direction:column}.lh-final-conversion__actions>a{width:100%;text-align:center;justify-content:center}
}

@media (max-width: 640px) {
    .lh-premium-hero::before{opacity:.45}
    .lh-hero-shell{padding-bottom:3rem!important}
    .lh-demo-heading-wrap{padding-bottom:1rem}
    .lh-demo-embed-shell{height:500px}
    .lh-demo-open-rail{min-height:42px;padding-top:.5rem}
    .lh-demo-interaction-trigger{opacity:.96;pointer-events:auto;transform:none}
    .lh-product-flow__shell,.lh-landing-proof .lh-landing-section-shell,.lh-accounting-proof .lh-landing-section-shell,.lh-volume-proof .lh-landing-section-shell{padding-top:4rem;padding-bottom:4rem}
    .lh-product-tour__steps{grid-template-columns:repeat(2,minmax(0,1fr))}.lh-product-tour__step{min-height:96px}
    .lh-product-tour__stage,.lh-product-tour__pane{min-height:430px}.lh-tour-queue-row>span:nth-child(2),.lh-tour-queue-row>span:nth-child(3),.lh-tour-queue-row>span:nth-child(5){display:none}
    .lh-trust-proof__grid{padding:2rem 1.35rem}
    .lh-volume-table{grid-template-columns:minmax(0,1fr)}.lh-volume-table>div{min-height:105px;border-right:0!important;border-bottom:1px solid #e7ecf1!important}.lh-volume-table>div:last-child{border-bottom:0!important}
}

@media (prefers-reduced-motion: reduce) {
    .lh-carrier-marquee-track { animation:none!important; transform:none!important; }
    .lh-carrier-marquee-group[aria-hidden="true"] { display:none!important; }
}

@media (min-width: 1024px) {
    .lh-premium-hero > .lh-hero-shell {
        padding-bottom: clamp(4rem, 6vw, 5.5rem) !important;
    }
}

/* ====================================================================== */
/* LANDING POLISH PASS 3 — premium atmosphere, calmer surfaces, overlap. */
/* ====================================================================== */
.linehaul-landing {
    background:
        radial-gradient(circle at 18% -4%, rgba(36, 88, 166, 0.08), transparent 30%),
        radial-gradient(circle at 82% 6%, rgba(0, 145, 255, 0.07), transparent 28%),
        linear-gradient(180deg, #f7faff 0%, #ffffff 16%, #fbfcff 58%, #f7faff 100%);
}

.linehaul-landing .lh-heading,
.linehaul-landing h1,
.linehaul-landing h2 {
    text-wrap: balance;
}

.linehaul-landing p {
    text-wrap: pretty;
}

.lh-premium-hero {
    position: relative;
    background:
        radial-gradient(820px 420px at 76% 10%, rgba(0, 145, 255, 0.085), transparent 62%),
        radial-gradient(900px 520px at 22% 0%, rgba(36, 88, 166, 0.065), transparent 60%),
        linear-gradient(180deg, #f7fbff 0%, #fbfdff 40%, #ffffff 100%) !important;
}

.lh-premium-hero::before,
.lh-premium-hero::after {
    content: none !important;
    display: none !important;
    background: none !important;
}

.lh-hero-shell {
    position: relative;
    padding-bottom: clamp(5.25rem, 8vw, 7rem) !important;
}

.lh-hero-shell::after {
    content: "";
    position: absolute;
    inset: auto 3rem 0 3rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(36, 88, 166, 0), rgba(36, 88, 166, 0.08), rgba(36, 88, 166, 0));
    pointer-events: none;
}

.lh-hero-supporting-copy {
    color: #4b617d;
    font-size: clamp(1.08rem, 1.5vw, 1.28rem);
    line-height: 1.7;
}

.lh-hero-trust-note {
    margin-top: 0.9rem;
}

.lh-audit-form {
    border: 1px solid rgba(203, 213, 225, 0.8);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 28px 80px -56px rgba(18, 35, 63, 0.45),
        0 22px 64px -60px rgba(0, 145, 255, 0.34);
    backdrop-filter: blur(10px);
}

.lh-hero-demo-section {
    position: relative;
    z-index: 3;
    margin-top: -2.6rem !important;
    padding-top: 0 !important;
}

.lh-demo-heading-wrap {
    position: relative;
    z-index: 3;
    width: min(1284px, calc(100% - 3rem));
    padding: 0 0 1.1rem;
}

.lh-demo-embed-wrap {
    position: relative;
    z-index: 2;
    width: min(1284px, calc(100% - 3rem));
    margin: -1.35rem auto 0;
    transform: none;
}

.lh-demo-embed-wrap::before {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 2.8rem;
    height: 5.8rem;
    border-radius: 999px;
    background: rgba(36, 88, 166, 0.12);
    filter: blur(46px);
    pointer-events: none;
}

.lh-demo-embed-shell {
    height: 736px;
    overflow: hidden;
    border: 1px solid rgba(203, 213, 225, 0.85);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(250,252,255,0.98) 100%);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.035),
        0 34px 82px -56px rgba(18, 35, 63, 0.42),
        0 18px 60px -52px rgba(36, 88, 166, 0.22);
}

.lh-demo-open-rail {
    min-height: 34px;
    padding-top: 0.38rem;
}

.lh-demo-interaction-trigger {
    position: static;
    min-height: 28px;
    padding: 0.32rem 0.68rem;
    border: 1px solid rgba(148, 163, 184, 0.65);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 24px -20px rgba(18, 35, 63, 0.26);
    color: #29496f;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-3px);
}

.lh-demo-interaction-trigger:hover,
.lh-demo-interaction-trigger:focus-visible,
.lh-demo-embed-wrap:hover .lh-demo-interaction-trigger,
.lh-demo-embed-wrap:focus-within .lh-demo-interaction-trigger {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    border-color: rgba(59, 130, 246, 0.44);
    box-shadow: 0 14px 34px -24px rgba(18, 35, 63, 0.34);
}

.lh-demo-poster {
    background: linear-gradient(180deg, #fbfcfe 0%, #ffffff 100%);
}

.lh-carrier-strip {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    margin-top: 1.15rem !important;
    padding: 0.2rem 0 0;
    border-top: 0 !important;
    background: transparent;
}

.lh-carrier-strip-copy {
    flex: 0 0 auto;
}

.lh-carrier-strip-label {
    color: #5f7288;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.lh-carrier-marquee {
    mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}

.lh-carrier-marquee-track {
    animation: lhCarrierFormatsRail 58s linear infinite;
}

.lh-carrier-name-mark {
    padding: 0 1rem 0 0;
    color: #5c6f85;
    font-size: 0.79rem;
    line-height: 1.1rem;
    font-weight: 700;
}

.lh-carrier-name-mark + .lh-carrier-name-mark::before {
    content: none !important;
    display: none !important;
}

.lh-product-flow,
.lh-landing-proof,
.lh-accounting-proof,
.lh-volume-proof,
.lh-final-conversion {
    background: transparent;
}

.lh-product-flow__shell,
.lh-landing-section-shell {
    width: min(1284px, calc(100% - 3rem));
}

.lh-product-flow__heading,
.lh-landing-section-heading,
.lh-evidence-proof__copy,
.lh-trust-proof__intro,
.lh-final-conversion > .lh-landing-section-shell > div:first-child {
    max-width: 920px;
}

.lh-product-flow__heading h2,
.lh-landing-section-heading h2,
.lh-evidence-proof__copy h2,
.lh-trust-proof__intro h2,
.lh-final-conversion h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.lh-product-flow__heading p,
.lh-landing-section-heading p,
.lh-evidence-proof__copy p,
.lh-trust-proof__intro p,
.lh-final-conversion p {
    color: #5a7088;
    font-size: 1rem;
    line-height: 1.65;
}

.lh-product-tour {
    gap: 1.35rem;
}

.lh-product-tour__steps {
    gap: 0.28rem;
    padding: 0.45rem;
    border: 1px solid rgba(219, 227, 236, 0.88);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 24px 62px -56px rgba(18, 35, 63, 0.18);
    backdrop-filter: blur(8px);
}

.lh-product-tour__step {
    border-radius: 14px;
}

.lh-product-tour__stage {
    min-height: 560px;
    border: 1px solid rgba(219, 227, 236, 0.92);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(249,251,255,0.98) 100%);
    box-shadow: 0 34px 76px -60px rgba(18, 35, 63, 0.26);
}

.lh-tour-window,
.lh-findings-ledger,
.lh-accounting-gate,
.lh-volume-table,
.lh-final-conversion__inner {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(223, 230, 239, 0.95);
    box-shadow: 0 24px 56px -54px rgba(18, 35, 63, 0.26);
}

.lh-findings-ledger__row,
.lh-volume-table > div,
.lh-accounting-gate > div,
.lh-final-conversion__inner {
    border-color: #ecf0f5;
}

.lh-evidence-proof__grid,
.lh-trust-proof__grid {
    border: 1px solid rgba(223, 230, 239, 0.95);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 30px 72px -60px rgba(18, 35, 63, 0.28);
}

.lh-trust-proof__grid {
    background: linear-gradient(135deg, #152742 0%, #19345c 55%, #16304e 100%);
}

.lh-volume-table {
    background: rgba(255, 255, 255, 0.98);
    border-top: 0;
    border-bottom: 0;
}

.lh-final-conversion__inner {
    padding: clamp(2rem, 4vw, 2.8rem);
    background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(248,250,255,0.98) 100%);
    border-top: 1px solid rgba(223, 230, 239, 0.95);
    border-bottom: 1px solid rgba(223, 230, 239, 0.95);
}

@media (max-width: 820px) {
    .lh-hero-demo-section {
        margin-top: 0 !important;
        padding-top: 1.4rem !important;
    }

    .lh-demo-embed-wrap {
        margin-top: 0;
    }

    .lh-demo-embed-shell {
        height: 560px;
        border-radius: 16px;
    }

    .lh-carrier-strip {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.55rem;
    }
}

@media (max-width: 640px) {
    .lh-hero-shell::after {
        inset-inline: 1rem;
    }

    .lh-demo-embed-shell {
        height: 500px;
    }

    .lh-demo-interaction-trigger {
        opacity: 0.96;
        pointer-events: auto;
        transform: none;
    }
}

/* ====================================================================== */
/* LANDING POLISH PASS 4 — navbar integration, tighter hero/demo rhythm. */
/* ====================================================================== */
.lh-public-navbar--landing {
    background: linear-gradient(180deg, rgba(247, 250, 255, 0.92) 0%, rgba(247, 250, 255, 0.82) 100%) !important;
    border-bottom-color: rgba(36, 88, 166, 0.08) !important;
    box-shadow:
        0 1px 0 rgba(36, 88, 166, 0.04),
        0 14px 34px -28px rgba(18, 35, 63, 0.22) !important;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.lh-public-navbar--landing.lh-navbar-scrolled,
.lh-public-navbar--landing.lh-navbar-menu-open {
    background: linear-gradient(180deg, rgba(250, 252, 255, 0.96) 0%, rgba(249, 251, 255, 0.92) 100%) !important;
    border-bottom-color: rgba(36, 88, 166, 0.12) !important;
    box-shadow:
        0 1px 0 rgba(36, 88, 166, 0.06),
        0 18px 42px -30px rgba(18, 35, 63, 0.24) !important;
}

.lh-premium-hero {
    margin-top: -0.6rem;
    padding-top: 0.6rem;
    background:
        radial-gradient(860px 460px at 78% 0%, rgba(0, 145, 255, 0.1), transparent 64%),
        radial-gradient(920px 540px at 20% 2%, rgba(36, 88, 166, 0.07), transparent 63%),
        linear-gradient(180deg, #f5f9ff 0%, #f9fbff 44%, #fbfdff 100%) !important;
}

.lh-hero-shell {
    padding-top: clamp(2.4rem, 4vw, 3.75rem) !important;
    padding-bottom: clamp(2.5rem, 4vw, 3.5rem) !important;
}

.lh-hero-shell::after {
    background: linear-gradient(90deg, rgba(36, 88, 166, 0), rgba(36, 88, 166, 0.05), rgba(36, 88, 166, 0)) !important;
}

.lh-hero-supporting-copy {
    max-width: 700px;
}

.lh-hero-demo-section {
    margin-top: -4.35rem !important;
}

.lh-demo-heading-wrap {
    padding-bottom: 0.55rem;
}

.lh-demo-embed-wrap {
    margin-top: -0.35rem;
}

.lh-demo-embed-wrap::before {
    left: 14%;
    right: 14%;
    bottom: 2rem;
    height: 4.5rem;
    background: rgba(36, 88, 166, 0.09);
    filter: blur(42px);
}

.lh-demo-embed-shell,
.lh-product-tour__steps,
.lh-product-tour__stage,
.lh-evidence-proof__grid,
.lh-volume-table,
.lh-findings-ledger,
.lh-accounting-gate,
.lh-final-conversion__inner {
    border-color: rgba(223, 230, 239, 0.72) !important;
}

.lh-demo-embed-shell {
    box-shadow:
        0 1px 1px rgba(15, 23, 42, 0.03),
        0 28px 70px -54px rgba(18, 35, 63, 0.26),
        0 16px 44px -42px rgba(36, 88, 166, 0.16) !important;
}

.lh-product-tour__steps {
    background: rgba(255, 255, 255, 0.66);
    box-shadow: 0 18px 52px -48px rgba(18, 35, 63, 0.16);
}

.lh-product-tour__stage,
.lh-evidence-proof__grid,
.lh-volume-table,
.lh-findings-ledger,
.lh-accounting-gate,
.lh-final-conversion__inner {
    box-shadow: 0 22px 56px -52px rgba(18, 35, 63, 0.18) !important;
}

.lh-evidence-proof__grid > *,
.lh-trust-proof__grid > *,
.lh-final-conversion__inner > *,
.lh-volume-table > *,
.lh-findings-ledger__row,
.lh-accounting-gate > * {
    border-color: rgba(232, 237, 244, 0.88) !important;
}

.lh-carrier-strip {
    margin-top: 1rem !important;
}

@media (max-width: 820px) {
    .lh-premium-hero {
        margin-top: 0;
        padding-top: 0;
    }

    .lh-hero-shell {
        padding-top: 2rem !important;
    }

    .lh-hero-demo-section {
        margin-top: -1rem !important;
    }
}

/* ====================================================================== */
/* LANDING POLISH PASS 5 — no navbar-over-demo, quieter premium surfaces. */
/* ====================================================================== */
@media (min-width: 1024px) {
    .lh-hero-demo-section {
        margin-top: -5.8rem !important;
    }
}

.lh-demo-heading-wrap {
    padding-bottom: 0.4rem;
}

.lh-demo-embed-wrap {
    margin-top: -0.1rem;
}

.lh-demo-embed-shell {
    border-color: rgba(203, 213, 225, 0.48) !important;
    box-shadow:
        0 2px 8px rgba(18, 35, 63, 0.025),
        0 34px 86px -64px rgba(18, 35, 63, 0.28),
        0 20px 56px -56px rgba(36, 88, 166, 0.18) !important;
}

.lh-product-tour__steps {
    padding: 0;
    border: 0 !important;
    border-radius: 0;
    background: transparent;
    box-shadow: none !important;
    backdrop-filter: none;
}

.lh-product-tour__step {
    border-radius: 12px;
}

.lh-product-tour__stage,
.lh-evidence-proof__grid,
.lh-findings-ledger,
.lh-accounting-gate,
.lh-volume-table,
.lh-final-conversion__inner {
    border-color: rgba(223, 230, 239, 0.48) !important;
    box-shadow:
        0 2px 8px rgba(18, 35, 63, 0.02),
        0 28px 70px -62px rgba(18, 35, 63, 0.22) !important;
}

.lh-findings-ledger__row,
.lh-accounting-gate > div,
.lh-volume-table > div {
    border-color: rgba(232, 237, 244, 0.62) !important;
}

.lh-final-conversion__inner {
    border-top-color: rgba(223, 230, 239, 0.5) !important;
    border-bottom-color: rgba(223, 230, 239, 0.5) !important;
}

.lh-carrier-name-mark {
    font-size: 0.86rem;
    line-height: 1.2rem;
    padding-right: 1.2rem;
}

/* ====================================================================== */
/* LANDING POLISH PASS 6 — continuous canvas, transparent nav, clean demo. */
/* ====================================================================== */
.linehaul-landing {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(900px 520px at 78% 7%, rgba(0, 145, 255, 0.075), transparent 64%),
        radial-gradient(980px 600px at 18% 4%, rgba(36, 88, 166, 0.055), transparent 66%),
        linear-gradient(180deg, #f8fbff 0%, #fbfdff 42rem, #ffffff 88rem, #ffffff 100%);
}

@media (min-width: 640px) {
    .linehaul-landing {
        margin-top: -5rem;
        padding-top: 5rem;
    }
}

@media (max-width: 639px) {
    .linehaul-landing {
        margin-top: -4rem;
        padding-top: 4rem;
    }
}

.lh-public-navbar--landing {
    background: transparent !important;
    border-bottom-color: transparent !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.lh-public-navbar--landing.lh-navbar-scrolled,
.lh-public-navbar--landing.lh-navbar-menu-open {
    background: rgba(249, 252, 255, 0.88) !important;
    border-bottom-color: rgba(36, 88, 166, 0.08) !important;
    box-shadow: 0 12px 34px -30px rgba(18, 35, 63, 0.22) !important;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.lh-premium-hero {
    margin-top: 0;
    padding-top: 0;
    overflow: visible;
    background: transparent !important;
}

.lh-premium-hero::before,
.lh-premium-hero::after,
.lh-hero-shell::after {
    content: none !important;
    display: none !important;
}

.lh-hero-shell {
    padding-top: clamp(2.75rem, 4.2vw, 4rem) !important;
    padding-bottom: clamp(4.8rem, 6.5vw, 5.8rem) !important;
}

.lh-hero-demo-section {
    margin-top: -4.9rem !important;
    padding-top: 0 !important;
    background: transparent !important;
}

.lh-demo-heading-wrap {
    width: min(1284px, calc(100% - 3rem));
    padding: 0 0 0.6rem;
    background: transparent;
}

.lh-demo-embed-wrap {
    margin-top: 0;
}

.lh-demo-embed-shell {
    border-radius: 12px;
    background: #ffffff;
    border-color: rgba(203, 213, 225, 0.52) !important;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.025),
        0 30px 76px -60px rgba(18, 35, 63, 0.24) !important;
}

.lh-demo-open-rail,
.lh-carrier-strip,
.lh-product-flow,
.lh-landing-proof,
.lh-evidence-proof,
.lh-accounting-proof,
.lh-volume-proof,
.lh-final-conversion,
.lh-product-flow__shell,
.lh-landing-section-shell {
    background: transparent !important;
}

.lh-product-tour__stage,
.lh-evidence-proof__grid,
.lh-findings-ledger,
.lh-accounting-gate,
.lh-volume-table,
.lh-final-conversion__inner {
    border-radius: 12px;
}

.lh-audit-form {
    border-radius: 10px;
}

@media (max-width: 820px) {
    .lh-hero-shell {
        padding-bottom: 3.75rem !important;
    }

    .lh-hero-demo-section {
        margin-top: -2.25rem !important;
    }

    .lh-demo-heading-wrap {
        width: calc(100% - 2rem);
        padding-bottom: 0.55rem;
    }
}

/* ====================================================================== */
/* LANDING POLISH PASS 7 — true full-bleed canvas, transparent wrappers. */
/* ====================================================================== */
.lh-site-body.lh-landing-page {
    background:
        radial-gradient(1100px 620px at 78% 4%, rgba(0, 145, 255, 0.085), transparent 64%),
        radial-gradient(1180px 720px at 16% 1%, rgba(36, 88, 166, 0.06), transparent 68%),
        linear-gradient(180deg, #f7fbff 0%, #fbfdff 36rem, #ffffff 86rem, #fbfcff 150rem, #f8fbff 100%);
}

.lh-site-body.lh-landing-page > .lh-public-main,
.lh-site-body.lh-landing-page .linehaul-landing,
.lh-site-body.lh-landing-page .lh-premium-hero,
.lh-site-body.lh-landing-page .lh-hero-demo-section {
    background: transparent !important;
}

.lh-site-body.lh-landing-page .lh-public-main {
    max-width: none !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
}

.linehaul-landing {
    width: 100%;
    max-width: none;
    margin-inline: 0;
}

.lh-public-navbar--landing {
    background: transparent !important;
    border-bottom-color: transparent !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

.lh-public-navbar--landing.lh-navbar-scrolled,
.lh-public-navbar--landing.lh-navbar-menu-open {
    background: rgba(248, 251, 255, 0.9) !important;
    border-bottom-color: rgba(36, 88, 166, 0.07) !important;
    box-shadow: 0 16px 38px -32px rgba(18, 35, 63, 0.24) !important;
    -webkit-backdrop-filter: blur(14px) saturate(1.06) !important;
    backdrop-filter: blur(14px) saturate(1.06) !important;
}

/* Max-width shells only position content. They never carry page-level color. */
.lh-hero-shell,
.lh-demo-heading-wrap,
.lh-demo-embed-wrap,
.lh-product-flow__shell,
.lh-landing-section-shell {
    background: transparent !important;
}

/* Only real product/proof surfaces receive a local white plane. */
.lh-audit-form,
.lh-demo-embed-shell,
.lh-product-tour__stage,
.lh-evidence-workspace,
.lh-findings-ledger,
.lh-accounting-gate,
.lh-volume-table,
.lh-final-conversion__inner {
    background-color: rgba(255, 255, 255, 0.96);
}

/* Public CTA component styles live in css/public/cta.css. */

/* Slack-like public hero model: one clear conversion decision, then product
   proof. The audit implementation remains the existing modal/shared intake. */
.lh-hero-solo {
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
}

.lh-hero-solo__content {
    width: min(940px, 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lh-hero-solo__content > h1 {
    max-width: 900px;
    margin-inline: auto;
    text-wrap: balance;
}

.lh-hero-solo .lh-hero-supporting-copy {
    max-width: 760px;
    margin: 1.25rem auto 0;
}

.lh-hero-cta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.55rem;
}

/* With the form moved to the existing modal, use the recovered hero depth to
   bring the product proof into the opening composition without clipping it. */
.lh-premium-hero .lh-hero-shell {
    padding-top: clamp(3rem, 5vw, 4.4rem) !important;
    padding-bottom: clamp(5.4rem, 8vw, 7.1rem) !important;
}

.lh-hero-demo-section {
    margin-top: -4.7rem !important;
}

.lh-demo-heading-wrap {
    padding-bottom: 0.45rem;
}

@media (max-width: 640px) {
    .lh-hero-cta-row {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .lh-hero-cta-row .lh-public-cta {
        width: 100%;
    }

    .lh-hero-demo-section {
        margin-top: -1.2rem !important;
    }
}


/* ====================================================================== */
/* PUBLIC MARKETING VISUAL SYSTEM — 2026-09-24                            */
/* One canvas, one CTA language, product-first proof, restrained contrast. */
/* ====================================================================== */

/* Three visual modes only: light Linehaul canvas, white product surfaces,
   and one deliberate full-bleed navy trust band. */
.lh-site-body.lh-landing-page {
    background:
        radial-gradient(1050px 600px at 78% 3%, rgba(0, 145, 255, 0.085), transparent 66%),
        radial-gradient(950px 560px at 18% 1%, rgba(36, 88, 166, 0.06), transparent 68%),
        linear-gradient(180deg, #f6faff 0%, #fbfdff 46rem, #ffffff 92rem, #ffffff 100%) !important;
}

.lh-site-body.lh-landing-page .lh-premium-hero,
.lh-site-body.lh-landing-page .lh-hero-demo-section {
    background: transparent !important;
}

/* Landing section colors are owned by landing_product.css. */

/* Transparent top nav belongs to the same canvas instead of forming a band. */
.lh-public-navbar--landing {
    background: transparent !important;
    border-bottom-color: transparent !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

.lh-public-navbar--landing.lh-navbar-scrolled,
.lh-public-navbar--landing.lh-navbar-menu-open {
    background: rgba(248, 251, 255, 0.9) !important;
    border-bottom-color: rgba(36, 88, 166, 0.07) !important;
    box-shadow: 0 16px 38px -32px rgba(18, 35, 63, 0.24) !important;
    -webkit-backdrop-filter: blur(14px) saturate(1.06) !important;
    backdrop-filter: blur(14px) saturate(1.06) !important;
}

/* Hero: one statement, two actions, one trust line, one financial proof line. */
.lh-premium-hero .lh-hero-shell {
    padding-top: clamp(3.25rem, 5vw, 4.75rem) !important;
    padding-bottom: clamp(5.2rem, 7vw, 6.6rem) !important;
}

.lh-hero-solo__content {
    width: min(980px, 100%);
}

.lh-hero-solo__content > h1 {
    max-width: 940px;
    margin: 0 auto;
    color: var(--lh-slate-950);
    font-size: clamp(3rem, 5.6vw, 4.85rem) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.lh-hero-solo .lh-hero-supporting-copy {
    max-width: 720px;
    margin: 1.15rem auto 0;
    color: #52677f;
    font-size: clamp(1.02rem, 1.45vw, 1.18rem);
    line-height: 1.58;
    text-wrap: pretty;
}

.lh-hero-cta-row {
    gap: 0.72rem;
    margin-top: 1.55rem;
}

/* The product is the visual continuation of the hero. No duplicate demo title. */
.lh-hero-demo-section {
    margin-top: -3.45rem !important;
    padding-top: 0 !important;
}

.lh-demo-embed-wrap {
    width: min(1284px, calc(100% - 3rem));
    margin: 0 auto;
}

.lh-demo-embed-shell {
    border-color: rgba(210, 220, 233, 0.88) !important;
    border-radius: 12px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.025),
        0 34px 80px -60px rgba(18, 35, 63, 0.28),
        0 20px 58px -54px rgba(36, 88, 166, 0.18) !important;
}

.lh-demo-open-rail {
    min-height: 36px;
    padding-top: 0.45rem;
}

/* Marketing layout uses spacing, not boxes, as its default grouping system. */
.lh-product-flow__shell,
.lh-landing-proof .lh-landing-section-shell,
.lh-accounting-proof .lh-landing-section-shell,
.lh-volume-proof .lh-landing-section-shell {
    padding-top: clamp(5.25rem, 8vw, 7rem);
    padding-bottom: clamp(5.25rem, 8vw, 7rem);
}

.lh-product-flow__heading,
.lh-landing-section-heading {
    margin-bottom: clamp(2rem, 3vw, 2.7rem);
}

.lh-product-flow__heading h2,
.lh-landing-section-heading h2,
.lh-evidence-proof__copy h2,
.lh-trust-proof__intro h2,
.lh-final-conversion h2 {
    color: var(--lh-slate-950);
    font-size: clamp(2rem, 3.3vw, 3rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.lh-product-flow__heading p,
.lh-landing-section-heading p,
.lh-evidence-proof__copy p,
.lh-final-conversion p {
    max-width: 760px;
    color: #60738a;
    font-size: 0.98rem;
    line-height: 1.65;
}

/* Workflow controls recede; the product stage carries the visual weight. */
.lh-product-tour__steps {
    padding: 0;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none;
}

.lh-product-tour__step {
    border-radius: 8px;
}

.lh-product-tour__stage {
    border: 1px solid rgba(216, 225, 236, 0.88) !important;
    border-radius: 12px;
    background: #ffffff !important;
    box-shadow: 0 30px 72px -58px rgba(18, 35, 63, 0.22) !important;
}

/* Findings/accounting/volume use one quiet surface grammar. */
.lh-findings-ledger,
.lh-accounting-gate,
.lh-volume-table {
    border: 1px solid rgba(220, 228, 238, 0.9) !important;
    border-radius: 10px;
    background: #ffffff !important;
    box-shadow: 0 20px 52px -50px rgba(18, 35, 63, 0.16) !important;
}

/* Security is the one deliberate dark full-bleed contrast section. */
.lh-trust-proof__grid {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: clamp(5rem, 8vw, 7rem);
    padding-bottom: clamp(5rem, 8vw, 7rem);
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.lh-trust-proof__intro h2 {
    color: #ffffff;
}

.lh-trust-proof__intro > p {
    color: #bdc9d8;
}

/* Final conversion is a full-width tonal close, not another card. */
.lh-final-conversion__inner {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: clamp(4.5rem, 7vw, 6rem);
    padding-bottom: clamp(4.5rem, 7vw, 6rem);
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Carrier rail remains ambient freight context; names get enough visual weight. */
.lh-carrier-name-mark {
    padding-right: 1.18rem;
    font-size: 0.9rem;
    line-height: 1.25rem;
    font-weight: 700;
}

@media (max-width: 820px) {
    .lh-premium-hero .lh-hero-shell {
        padding-top: 2.5rem !important;
        padding-bottom: 4rem !important;
    }

    .lh-hero-solo__content > h1 {
        font-size: clamp(2.65rem, 10vw, 3.7rem) !important;
    }

    .lh-hero-demo-section {
        margin-top: -1.75rem !important;
    }
}

@media (max-width: 640px) {
    .lh-hero-cta-row {
        gap: 0.58rem;
    }
}

/* Shared public intake: quiet hierarchy and the public CTA interaction. */
.lh-audit-form::before,.lh-audit-form::after { display:none; }
.lh-audit-modal__mount > .lh-audit-form { border-top:0; }
.lh-audit-form #intakeHeader { padding-top:30px; }
.lh-audit-form__intro { padding-bottom:4px; border:0; }
.lh-audit-form #intakeHeader h2 { max-width:calc(100% - 24px); margin:0; font-size:25px; line-height:1.2; letter-spacing:-.025em; }
.lh-audit-form #intakeHeader p { margin-top:12px; font-size:13px; line-height:1.65; }
.lh-audit-form #landingAuditForm { padding-top:20px; }
.lh-audit-form #landingAuditForm label { font-size:12px; font-weight:600; letter-spacing:0; text-transform:none; }
.lh-audit-form #landingDropzone { background:var(--lh-slate-50); border:1px dashed var(--lh-slate-300); padding:24px 16px; border-radius:6px; box-shadow:none; }
.lh-audit-form #landingDropzone:is(:hover,:focus-visible,.dragover) { border-color:var(--lh-blue); background:var(--lh-blue-soft); }
.lh-audit-form #landingDropzoneLabel { font-size:14px; font-weight:500; }
.lh-audit-form__privacy-note { margin-top:10px; font-size:11px; line-height:1.6; color:var(--lh-slate-600); }
.lh-audit-form__privacy-note a { color:var(--lh-slate-700); text-decoration:underline; text-underline-offset:2px; }
.lh-audit-form .lh-audit-submit { width:100%; min-height:50px; padding-inline:20px; justify-content:center; }
.lh-audit-form .lh-audit-submit:disabled { cursor:wait; }
.lh-audit-form .lh-audit-submit:disabled .lh-public-cta__arrow { visibility:hidden; }

/* Login and registration share the same product-led entry composition. */
.lh-auth-shell {
    grid-template-columns: minmax(390px, 41%) minmax(0, 1fr);
    background: #eef4fb;
}
.lh-auth-aside {
    position: sticky;
    top: 0;
    align-self: start;
    height: 100dvh;
    min-height: 0;
    overflow-y: auto;
    padding: clamp(2rem, 3vw, 3.5rem) clamp(2rem, 4vw, 4.5rem);
    background: #12233f;
    border-right: 0;
    color: #fff;
}
.lh-auth-aside__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.lh-auth-brand { width: clamp(10.5rem, 15vw, 13rem); }
.lh-auth-aside .lh-auth-back:is(:hover,:focus-visible) { color: #fff; }
.lh-auth-aside__center {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    gap: clamp(1.25rem, 3vh, 2rem);
    margin: 0;
}
.lh-auth-aside__message { max-width: 34rem; margin: 0; }
.lh-auth-aside__message p {
    max-width: 18ch;
    margin: 0;
    color: #fff;
    font-size: clamp(2.45rem, 3.3vw, 3.85rem);
    line-height: 1.06;
    font-weight: 750;
    letter-spacing: -.04em;
}
.lh-auth-aside__message span {
    display: block;
    max-width: 33rem;
    margin-top: 1.5rem;
    color: #d7e4f6;
    font-size: clamp(.97rem, 1.2vw, 1.12rem);
    line-height: 1.55;
}
.lh-auth-aside .lh-auth-motif {
    width: min(100%, 21rem);
    margin: 0 auto;
    opacity: 1;
    filter: drop-shadow(0 18px 32px rgba(0, 10, 28, .2));
}
.lh-auth-aside .lh-auth-motif__doc--ghost { fill: #eaf2fc; stroke: #a7bfdc; opacity: .76; }
.lh-auth-aside .lh-auth-motif__route--solid { stroke: #92b9e9; }
.lh-auth-aside .lh-auth-motif__route--dash { stroke: #7d9fc8; }
.lh-auth-aside .lh-auth-motif__corner { stroke: #3782e1; }
.lh-auth-aside .lh-auth-aside__help,
.lh-auth-aside .lh-auth-aside__help a,
.lh-auth-aside .lh-auth-aside__footer,
.lh-auth-aside .lh-auth-aside__footer a { color: #bed0e7; }
.lh-auth-aside .lh-auth-aside__help a:is(:hover,:focus-visible),
.lh-auth-aside .lh-auth-aside__footer a:is(:hover,:focus-visible) { color: #fff; }
.lh-auth-main {
    padding: clamp(2rem, 4.5vw, 4.5rem);
    background: #eef4fb;
}
.lh-auth-form-wrap,
.lh-auth-form-wrap--register {
    width: min(100%, 44rem);
    margin: auto;
    padding: clamp(2rem, 3.3vw, 3.5rem);
    border: 1px solid #dbe5f1;
    border-radius: .6rem;
    background: #fff;
    box-shadow: 0 24px 60px -45px rgba(18, 35, 63, .35);
}
.lh-auth-form-heading { margin-bottom: 2rem; }
.lh-auth-form-heading h1 { font-size: clamp(2.2rem, 3.1vw, 2.9rem); }
.lh-auth-form-heading > p { font-size: .95rem; line-height: 1.5; }
.lh-auth-form label { font-size: .7rem; }
.lh-auth-form input[type="email"],
.lh-auth-form input[type="password"],
.lh-auth-form input[type="text"] { min-height: 49px; font-size: .9rem; }
.lh-auth-form button[type="submit"],
.lh-register-continue { min-height: 50px; font-size: .9rem; }
.lh-auth-form-footer { font-size: .85rem; }
.lh-register-email-summary { min-height: 48px; font-size: .85rem; }
.lh-register-progress {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 0 0 2.1rem;
    padding: 0 0 1.15rem;
    border-bottom: 1px solid #e0e7f0;
    list-style: none;
}
.lh-register-progress[hidden] { display: none; }
.lh-register-progress li {
    display: flex;
    align-items: center;
    gap: .65rem;
    color: var(--lh-slate-500);
    font-size: .78rem;
    font-weight: 700;
    white-space: nowrap;
}
.lh-register-progress__number {
    display: inline-flex;
    flex: 0 0 1.65rem;
    width: 1.65rem;
    height: 1.65rem;
    align-items: center;
    justify-content: center;
    border: 1px solid #c9d6e6;
    border-radius: 50%;
    background: #fff;
    color: var(--lh-slate-600);
    font-size: .76rem;
}
.lh-register-progress [aria-current="step"] { color: var(--lh-slate-950); }
.lh-register-progress [aria-current="step"] .lh-register-progress__number {
    border-color: var(--lh-blue);
    background: var(--lh-blue);
    color: #fff;
}
.lh-auth-shell[data-register-step="2"] .lh-register-progress [data-register-progress-step="1"] .lh-register-progress__number {
    border-color: var(--lh-blue);
    color: var(--lh-blue);
}

@media (max-width: 1050px) and (min-width: 961px) {
    .lh-auth-shell { grid-template-columns: minmax(340px, 40%) minmax(0, 1fr); }
    .lh-auth-aside { padding-inline: 2rem; }
    .lh-auth-main { padding: 2rem; }
    .lh-auth-form-wrap { padding: 2.25rem; }
    .lh-auth-form-heading h1 { font-size: 2.2rem; }
}
@media (max-width: 960px) {
    .lh-auth-shell { display: block; background: #fff; }
    .lh-auth-aside { display: none; }
    .lh-auth-main {
        min-height: 100dvh;
        align-items: flex-start;
        padding: 1.35rem clamp(1.25rem, 5vw, 2rem) 2.5rem;
        background: #fff;
    }
    .lh-auth-form-wrap,
    .lh-auth-form-wrap--register {
        width: min(100%, 32rem);
        margin: 0 auto;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .lh-auth-mobile-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        margin-bottom: clamp(2.8rem, 7vh, 4rem);
    }
    .lh-auth-mobile-legal {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: .9rem;
        margin-top: 1.35rem;
        color: var(--lh-text-muted);
        font-size: .68rem;
    }
    .lh-auth-mobile-legal a { color: inherit; text-decoration: none; }
    .lh-register-progress { margin-bottom: 1.8rem; }
}
@media (max-width: 480px) {
    .lh-auth-main { padding-inline: 1rem; }
    .lh-auth-mobile-top { margin-bottom: 2.5rem; }
    .lh-auth-form-heading h1 { font-size: 2.15rem; }
}
