/* A&U Innovations — local lead-gen landing + thank-you page (scoped to .landing-page) */
.lp-sr-only,
.landing-page .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.landing-page {
    --lp-navy: #020b18;
    --lp-deep: #061b35;
    --lp-electric: #007bff;
    --lp-electric-alt: #0a84ff;
    --lp-sky: #38a3ff;
    --lp-white: #ffffff;
    --lp-muted: rgba(255, 255, 255, 0.72);
    --lp-card: rgba(255, 255, 255, 0.06);
    --lp-card-border: rgba(255, 255, 255, 0.12);
    --lp-glass: rgba(255, 255, 255, 0.08);
    --lp-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    font-family: "Inter", system-ui, sans-serif;
    color: var(--lp-white);
    background: var(--lp-navy);
    min-height: 100vh;
}

.landing-page h1,
.landing-page h2,
.landing-page h3,
.landing-page .lp-heading-font {
    font-family: "Montserrat", "Inter", system-ui, sans-serif;
}

.landing-page .navbar {
    background: rgba(2, 11, 24, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--lp-card-border);
}

.landing-page .navbar.scrolled {
    background: rgba(2, 11, 24, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.landing-page .nav-link {
    color: var(--lp-muted);
}

.landing-page .nav-link:hover {
    color: var(--lp-white);
}

.landing-page .nav-link::after {
    background: linear-gradient(90deg, var(--lp-electric), var(--lp-sky));
}

.landing-page .bar {
    background: var(--lp-white);
}

.landing-page .nav-menu {
    background: rgba(6, 27, 53, 0.98);
}

@media (min-width: 769px) {
    .landing-page .nav-menu {
        background: transparent;
    }
}

/* --- Hero: full-bleed image + left copy on top --- */
.lp-hero {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 0;
    overflow: hidden;
    background: var(--lp-navy);
}

.lp-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.lp-hero-bg-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 68% center;
}

.lp-hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    /* Darkens the photo for contrast; keep alpha low so the art stays bright */
    background: linear-gradient(
        90deg,
        rgba(2, 11, 24, 0.22) 0%,
        rgba(2, 11, 24, 0.14) min(34vw, 440px),
        rgba(2, 11, 24, 0.06) 56%,
        rgba(2, 11, 24, 0) 100%
    );
}

.lp-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    padding: calc(70px + 2rem) clamp(16px, 3vw, 40px) clamp(2.5rem, 5vw, 4rem);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    box-sizing: border-box;
}

.lp-hero-copy-stack {
    max-width: min(34rem, 100%);
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-self: flex-start;
}

.lp-hero-support {
    font-size: 1.05rem;
    color: var(--lp-muted);
    max-width: none;
    width: 100%;
    margin: 0;
    line-height: 1.65;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    overflow-wrap: break-word;
}

.lp-hero-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
    margin-top: 0.35rem;
    max-width: none;
    width: 100%;
    min-width: 0;
}

.lp-mini-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.875rem;
    color: var(--lp-muted);
    min-width: 0;
}

.lp-mini-feature span {
    text-align: left;
    min-width: 0;
    overflow-wrap: break-word;
}

.lp-mini-feature i {
    color: var(--lp-sky);
    font-size: 1.1rem;
    margin-top: 0.1rem;
}

/* Desktop: title + CTA on one row; CTA bottom-aligned with “But No Website?” line */
@media (min-width: 901px) {
    .lp-hero-inner {
        align-items: stretch;
        padding-bottom: clamp(2rem, 4vw, 3.25rem);
    }

    .lp-hero .lp-eyebrow {
        display: none;
    }

    .lp-hero-copy-stack {
        position: relative;
        padding: 0;
        border-radius: 0;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        box-shadow: none;
        flex: 1 1 auto;
        min-height: 0;
        min-width: 0;
        max-width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto auto;
        align-items: start;
        align-content: end;
        column-gap: clamp(1rem, 2.5vw, 2.25rem);
        row-gap: 0;
    }

    .lp-hero-lead {
        grid-column: 1;
        grid-row: 1;
        text-align: left;
        align-self: end;
    }

    .lp-hero-cta-rail {
        grid-column: 2;
        grid-row: 1;
        margin-top: 0;
        padding-top: 0;
        padding-bottom: 0;
        width: auto;
        justify-self: end;
        align-self: end;
    }

    .lp-hero-copy-stack > .lp-hero-support {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        max-width: none;
        margin: clamp(1.75rem, 3.5vw, 2.75rem) 0 0;
        padding: 0;
        box-sizing: border-box;
    }

    .lp-hero-copy-stack > .lp-hero-features {
        grid-column: 1 / -1;
        grid-row: 3;
        width: 100%;
        max-width: none;
        margin: 0.85rem 0 0;
        padding: 0;
        box-sizing: border-box;
        /* minmax(0,1fr) lets columns shrink so a 4-up row never overflows the hero */
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp-hero-cta-rail .lp-cta-row {
        align-items: flex-end;
        width: auto;
    }

    .landing-page .lp-hero-cta-rail .lp-btn-primary.btn,
    .landing-page .lp-hero-cta-rail button.lp-btn-primary {
        width: auto;
        max-width: min(22rem, 36vw);
        white-space: normal;
        justify-content: space-between;
        text-align: left;
    }

    .lp-hero .lp-cta-hint {
        display: none;
    }

    /* In-flow chart only used on small screens */
    .lp-hero-chart {
        display: none;
    }

    /* Hero art sits below fixed navbar (70px); otherwise the top of the PNG reads as “cut off” */
    .lp-hero {
        background-color: var(--lp-navy);
        background-image: none;
    }

    /* Same flat canvas + edge blend as mobile so PNG edges don’t show a different “frame” */
    .lp-hero-media {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        top: 70px;
        background-color: var(--lp-navy);
    }

    .lp-hero-media::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: clamp(40px, 10vw, 72px);
        background: linear-gradient(180deg, var(--lp-navy) 0%, rgba(2, 11, 24, 0) 100%);
        pointer-events: none;
        z-index: 1;
    }

    .lp-hero-scrim {
        top: 70px;
        background: transparent;
    }

    .lp-hero-bg-img {
        display: block;
        position: relative;
        z-index: 0;
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        object-position: top center;
    }

}

/* Wide hero: four feature columns only when there is room; tracks still shrink with minmax(0,1fr) */
@media (min-width: 1200px) {
    .lp-hero-copy-stack > .lp-hero-features {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Mobile-only in-flow hero graphic (between copy and bullets on small screens) */
.lp-hero-chart {
    margin: 0;
    padding: 0;
    align-self: center;
}

.lp-hero-chart-img {
    display: block;
    width: 100%;
    height: auto;
}

.lp-hero-lead {
    display: block;
}

.lp-eyebrow {
    display: block;
    font-size: clamp(0.62rem, 1.45vw, 0.72rem);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--lp-sky);
    margin: 0 0 0.85rem;
    text-align: center;
}

.lp-hero-title {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 0;
    text-transform: none;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.lp-hero-title .lp-highlight {
    color: var(--lp-electric-alt);
    display: block;
}

.lp-hero-sub {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 500;
    color: var(--lp-white);
    margin: 0.75rem 0 0;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.lp-btn-cta-text {
    flex: 1;
    text-align: center;
    min-width: 0;
}

.lp-cta-hint {
    font-size: 0.82rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.55);
    margin: 0.85rem 0 0;
    text-align: center;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
}

.lp-cta-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.lp-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--lp-white) !important;
    background: linear-gradient(135deg, var(--lp-electric) 0%, var(--lp-electric-alt) 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 12px 40px rgba(0, 123, 255, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.lp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 48px rgba(0, 123, 255, 0.45);
}

.lp-btn-primary:focus-visible {
    outline: 2px solid var(--lp-sky);
    outline-offset: 3px;
}

.lp-btn-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* Demo overlay — fixed so it works from bottom CTA when user has scrolled */
.lp-demo-overlay {
    position: fixed;
    inset: 0;
    /* Above nav / hero layers; must sit outside isolated ancestors in HTML */
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(2, 11, 24, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.lp-demo-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    overscroll-behavior: none;
}

/* iOS-friendly scroll lock when demo modal is open (see script.js) */
html.lp-demo-scroll-locked,
body.lp-demo-scroll-locked {
    overflow: hidden !important;
}

.lp-demo-panel {
    position: relative;
    width: 100%;
    max-width: 400px;
    max-height: min(90vh, 90dvh, 640px);
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 1.5rem;
    padding-bottom: max(1.35rem, calc(env(safe-area-inset-bottom, 0px) + 1rem));
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: var(--lp-shadow);
    transform: translateY(12px) scale(0.98);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.lp-demo-overlay.is-open .lp-demo-panel {
    transform: translateY(0) scale(1);
}

.lp-demo-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--lp-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lp-demo-close:hover {
    background: rgba(255, 255, 255, 0.18);
}

.lp-demo-panel h2 {
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
    padding-right: 2.5rem;
}

.lp-demo-panel > p.lp-demo-intro {
    font-size: 0.875rem;
    color: var(--lp-muted);
    margin-bottom: 1.25rem;
}

/* Modal form: scroll fields, keep submit + helper in view at bottom */
.lp-demo-panel #lp-demo-form-wrap {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.lp-demo-panel #lp-demo-form-wrap > h2,
.lp-demo-panel #lp-demo-form-wrap > .lp-demo-intro {
    flex-shrink: 0;
}

.lp-demo-form--split {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.lp-demo-form-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    /* Inset so focus rings aren’t clipped by overflow-x on narrow modals */
    padding: 0 6px 0.25rem;
}

.lp-form-stack .lp-field {
    margin-bottom: 1rem;
}

.lp-form-stack label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--lp-sky);
    margin-bottom: 0.35rem;
}

.lp-form-stack input,
.lp-form-stack textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(2, 11, 24, 0.45);
    color: var(--lp-white);
    font-size: 1rem;
    font-family: inherit;
}

.lp-form-stack input::placeholder,
.lp-form-stack textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.lp-form-stack input:focus-visible,
.lp-form-stack textarea:focus-visible {
    outline: none;
    border-color: var(--lp-electric);
    /* Inset glow stays inside the field so parent overflow:hidden doesn’t clip sides */
    box-shadow: inset 0 0 0 2px var(--lp-electric);
}

.lp-form-stack textarea {
    min-height: 88px;
    resize: vertical;
}

.lp-form-stack .lp-field--consent {
    margin-bottom: 0.25rem;
}

.lp-form-stack .lp-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.4em;
    width: 100%;
    font-size: 0.8125rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    color: var(--lp-muted);
    margin-bottom: 0;
    line-height: 1.45;
    cursor: pointer;
}

.lp-form-stack .lp-consent-label > span {
    flex: 1;
    min-width: 0;
}

.lp-form-stack .lp-consent-label input[type="checkbox"] {
    width: 1em;
    height: 1em;
    min-width: 1em;
    margin: 0.28em 0 0;
    padding: 0;
    border: none;
    flex-shrink: 0;
    align-self: flex-start;
    accent-color: var(--lp-electric);
}

.lp-form-stack .lp-consent-label a {
    color: var(--lp-sky);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lp-form-stack .lp-consent-label a:hover {
    color: var(--lp-white);
}

/* Free demo modal: full-width CTAs (overrides global .btn max-width, including ≤480px) */
.landing-page .lp-demo-panel .lp-free-demo-form button[type="submit"].lp-btn-primary.btn {
    display: flex;
    width: 100%;
    max-width: none !important;
    box-sizing: border-box;
    justify-content: center;
}

/* Demo modal submit (no footer wrapper): spacing + glow that fits inside padded panel */
.landing-page .lp-demo-panel .lp-demo-form--split > button[type="submit"].lp-btn-primary.btn {
    flex-shrink: 0;
    margin-top: 0.65rem;
    margin-bottom: max(0.15rem, env(safe-area-inset-bottom, 0px));
    box-shadow: 0 6px 22px rgba(0, 123, 255, 0.32);
}

/* Sections */
.lp-section {
    padding: clamp(3.5rem, 8vw, 5.5rem) 0;
    position: relative;
}

.lp-section--alt {
    background: linear-gradient(180deg, rgba(6, 27, 53, 0.5) 0%, rgba(2, 11, 24, 0.9) 100%);
}

.lp-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.lp-section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.lp-section-lead {
    color: var(--lp-muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.lp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.lp-card {
    background: var(--lp-card);
    border: 1px solid var(--lp-card-border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.lp-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 123, 255, 0.35);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.lp-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 123, 255, 0.15);
    color: var(--lp-sky);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.lp-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.lp-card p {
    font-size: 0.95rem;
    color: var(--lp-muted);
    line-height: 1.55;
}

/* Portfolio (landing): project cards */
.lp-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 340px));
    gap: 1.5rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.lp-portfolio-card {
    background: var(--lp-card);
    border: 1px solid var(--lp-card-border);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.lp-portfolio-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 123, 255, 0.35);
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.3);
}

.lp-portfolio-media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--lp-deep);
    border-bottom: 1px solid var(--lp-card-border);
}

.lp-portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lp-portfolio-media--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.25rem;
}

.lp-portfolio-media--lead {
    background: linear-gradient(145deg, #0a1f3d 0%, #061b35 42%, #0c3550 100%);
}

.lp-portfolio-media--stylist {
    background: linear-gradient(145deg, #2a1535 0%, #1a0f24 45%, #3d2048 100%);
}

.lp-portfolio-media--marine {
    background: linear-gradient(145deg, #042a38 0%, #062a40 50%, #0a4a5c 100%);
}

.lp-portfolio-placeholder-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    color: rgba(255, 255, 255, 0.92);
}

.lp-portfolio-placeholder-inner .lp-portfolio-placeholder-icon {
    font-size: clamp(2.25rem, 7vw, 3.25rem);
    line-height: 1;
    opacity: 0.92;
    color: var(--lp-sky);
}

.lp-portfolio-placeholder-kicker {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.lp-portfolio-placeholder-domain {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--lp-muted);
    word-break: break-all;
    max-width: 100%;
}

.lp-portfolio-body {
    padding: 1.35rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.lp-portfolio-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 0.65rem;
}

.lp-portfolio-tag {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lp-sky);
    background: rgba(0, 123, 255, 0.12);
    border: 1px solid rgba(56, 163, 255, 0.28);
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
}

.lp-portfolio-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
    color: var(--lp-white);
}

.lp-portfolio-desc {
    margin: 0;
    font-size: 0.95rem;
    color: var(--lp-muted);
    line-height: 1.55;
    flex: 1;
}

.lp-portfolio-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
    margin-top: 1.25rem;
}

.landing-page .lp-portfolio-btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 44px;
    padding: 0.55rem 1.25rem;
}

.lp-portfolio-link-secondary {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--lp-sky);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s ease;
}

.lp-portfolio-link-secondary:hover {
    color: var(--lp-white);
}

.lp-portfolio-link-secondary:focus-visible {
    outline: 2px solid var(--lp-electric-alt);
    outline-offset: 3px;
    border-radius: 4px;
}

.lp-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.lp-compare-col {
    border-radius: 20px;
    padding: 1.75rem;
    border: 1px solid var(--lp-card-border);
}

.lp-compare--before {
    background: rgba(255, 255, 255, 0.03);
}

.lp-compare--after {
    background: linear-gradient(160deg, rgba(0, 123, 255, 0.12), rgba(6, 27, 53, 0.8));
    border-color: rgba(0, 123, 255, 0.25);
}

.lp-compare-col h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
    color: var(--lp-sky);
}

.lp-compare-list {
    list-style: none;
}

.lp-compare-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    color: var(--lp-muted);
    font-size: 0.95rem;
}

.lp-compare-list i {
    margin-top: 0.2rem;
    color: var(--lp-electric-alt);
}

.lp-compare--before .lp-compare-list i {
    color: #f87171;
}

.lp-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.lp-why-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    border-radius: 14px;
    background: var(--lp-card);
    border: 1px solid var(--lp-card-border);
}

.lp-why-item i {
    color: var(--lp-electric);
    font-size: 1.35rem;
    margin-top: 0.15rem;
}

/* Contact (legacy Netlify form) */
.landing-page .lp-contact-section {
    background: var(--lp-deep);
}

.landing-page .contact {
    background: transparent;
    padding-top: 0;
}

.landing-page .section-header .section-title,
.landing-page .section-header .section-description {
    color: var(--lp-white);
}

.landing-page .section-header .section-description {
    color: var(--lp-muted);
}

/* Contact band is dark — keep text crisp (not muddy light-on-light shadow) */
.landing-page .lp-contact-section .section-title {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45), 0 0 1px rgba(0, 0, 0, 0.35);
}

.landing-page .lp-contact-section .section-description {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.landing-page .lp-contact-section .contact-details h4,
.landing-page .lp-contact-section .contact-details p {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.32);
}

.landing-page .contact-item {
    background: transparent;
    border: none;
}

.landing-page .contact-details h4 {
    color: var(--lp-sky);
}

.landing-page .contact-details p {
    color: var(--lp-muted);
}

.landing-page .contact-icon {
    background: rgba(0, 123, 255, 0.2);
    color: var(--lp-electric-alt);
}

.landing-page .contact-form {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--lp-card-border);
}

.landing-page .contact-form input:not([type="checkbox"]):not([type="radio"]),
.landing-page .contact-form textarea {
    background: rgba(2, 11, 24, 0.6);
    border-color: var(--lp-card-border);
    color: var(--lp-white);
}

.landing-page .contact-form input:not([type="checkbox"]):not([type="radio"])::placeholder,
.landing-page .contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.landing-page .contact-form input:not([type="checkbox"]):not([type="radio"]):focus,
.landing-page .contact-form textarea:focus {
    border-color: var(--lp-electric);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

.landing-page .contact-form .contact-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.4em;
    width: 100%;
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--lp-muted);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.landing-page .contact-form .contact-consent-label > span {
    flex: 1;
    min-width: 0;
}

.landing-page .contact-form .contact-consent-label input[type="checkbox"] {
    width: 1em;
    height: 1em;
    min-width: 1em;
    margin: 0.28em 0 0;
    padding: 0;
    border: none;
    flex-shrink: 0;
    align-self: flex-start;
    accent-color: var(--lp-electric);
}

.landing-page .form-status-message.error {
    color: #fca5a5;
}

.landing-page .contact .btn-primary {
    background: linear-gradient(135deg, var(--lp-electric) 0%, var(--lp-electric-alt) 100%);
    color: #fff;
}

.landing-page .contact .btn-primary:hover {
    background: linear-gradient(135deg, var(--lp-electric-alt) 0%, var(--lp-sky) 100%);
    color: #fff;
}

.landing-page .footer {
    background: #01060d;
    border-top: 1px solid var(--lp-card-border);
}

/* Mobile demo: full-screen overlay */
@media (max-width: 900px) {
    /* Use in-flow chart only — hide full-bleed layer so art sits between copy and bullets */
    .lp-hero-media {
        display: none;
    }

    /* Full illustration visible (no aggressive crop on portrait) */
    .lp-hero-bg-img {
        object-fit: contain;
        object-position: center center;
    }

    /* One flat canvas color (matches --lp-navy) so text block and image top read as one field */
    .lp-hero {
        background-color: var(--lp-navy);
        background-image: none;
    }

    /* Scrim was tinting the text area a different tone than the PNG top — remove on mobile */
    .lp-hero-scrim {
        background: transparent;
    }

    .lp-hero-lead {
        background-color: var(--lp-navy);
    }

    .lp-hero-chart {
        display: block;
        position: relative;
        width: 100vw;
        max-width: none;
        margin: 0;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        background-color: var(--lp-navy);
    }

    /* Soft blend from page navy into the artwork so the first row of pixels never “cuts” */
    .lp-hero-chart::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: clamp(40px, 14vw, 72px);
        background: linear-gradient(180deg, var(--lp-navy) 0%, rgba(2, 11, 24, 0) 100%);
        pointer-events: none;
        z-index: 1;
    }

    .lp-hero-chart-img {
        position: relative;
        z-index: 0;
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .lp-hero-inner {
        min-height: auto;
        justify-content: flex-start;
        align-items: stretch;
        text-align: center;
        padding: calc(70px + 1rem) clamp(14px, 4vw, 20px) 2.5rem;
    }

    /* Natural column: lead → support → chart → features → full-width CTA + hint */
    .lp-hero-copy-stack {
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        align-self: stretch;
        width: 100%;
        max-width: 100%;
        margin-inline: auto;
        text-align: center;
        min-height: 0;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .lp-hero-lead,
    .lp-hero-chart,
    .lp-hero-cta-rail {
        order: unset;
    }

    .lp-hero-lead .lp-hero-sub {
        text-align: center;
        text-shadow: 0 1px 14px rgba(0, 0, 0, 0.75), 0 1px 2px rgba(0, 0, 0, 0.85);
    }

    /* Hide support paragraph on small screens — saves vertical space; CTA moves up */
    .lp-hero-copy-stack > .lp-hero-support {
        display: none;
    }

    .lp-hero-cta-rail {
        margin-top: 0;
        padding-top: 0.85rem;
        padding-bottom: 0.25rem;
        width: 100%;
        align-self: stretch;
    }

    /* Override global .btn max-width:300px from styles.css — edge-to-edge CTA */
    .lp-hero-cta-rail .lp-cta-row {
        width: 100%;
        max-width: none;
        align-items: stretch;
    }

    .landing-page .lp-hero-cta-rail .lp-btn-primary.btn,
    .landing-page .lp-hero-cta-rail button.lp-btn-primary {
        width: 100%;
        max-width: none !important;
        box-sizing: border-box;
        justify-content: space-between;
        text-align: left;
    }

    .lp-hero-title {
        text-shadow: 0 2px 20px rgba(0, 0, 0, 0.75), 0 1px 3px rgba(0, 0, 0, 0.9);
    }

    .lp-mini-feature {
        color: rgba(255, 255, 255, 0.92);
        text-shadow: 0 1px 10px rgba(0, 0, 0, 0.65);
    }

    .lp-hero-features {
        margin-top: 0.65rem;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    .lp-cta-row {
        align-items: center;
    }

    .lp-demo-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .lp-demo-panel {
        max-width: none;
        /* svh/dvh: panel height caps to visible viewport so inner scroll reaches the submit button */
        max-height: min(92vh, 92dvh, calc(100svh - 0.5rem));
        min-height: 0;
        border-radius: 20px 20px 0 0;
        margin-top: auto;
        transform: translateY(100%);
        padding: 1.1rem 1.1rem max(1.05rem, calc(env(safe-area-inset-bottom, 0px) + 0.75rem));
    }

    .lp-demo-form-scroll textarea {
        min-height: 72px;
    }

    .lp-demo-panel #lp-demo-form-wrap > .lp-demo-intro {
        margin-bottom: 0.85rem;
    }

    .lp-demo-overlay.is-open .lp-demo-panel {
        transform: translateY(0);
    }

    .lp-compare {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .landing-page .nav-menu {
        border-top: 1px solid var(--lp-card-border);
    }
}

/* --- Thank-you (post-submit): same navy / electric system as landing + legal --- */
.landing-page .thanks-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(6.5rem, 12vw, 9rem) 0 clamp(3rem, 6vw, 5rem);
    text-align: center;
    color: #fff;
    background: radial-gradient(ellipse 120% 80% at 70% 20%, rgba(0, 123, 255, 0.18), transparent 55%),
        radial-gradient(ellipse 80% 60% at 10% 90%, rgba(56, 163, 255, 0.12), transparent 50%),
        linear-gradient(165deg, var(--lp-navy) 0%, var(--lp-deep) 45%, #030812 100%);
}

.landing-page .thanks-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.04) 0%, transparent 42%);
    pointer-events: none;
}

.landing-page .thanks-hero .container {
    position: relative;
    z-index: 1;
}

.landing-page .thanks-title {
    font-family: "Montserrat", "Inter", system-ui, sans-serif;
    font-size: clamp(1.85rem, 5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.12;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

.landing-page .thanks-subtitle {
    max-width: 42rem;
    margin: 0 auto;
    color: var(--lp-muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.landing-page .thanks-content {
    padding: 3rem 0 4.5rem;
    background: var(--lp-navy);
}

.landing-page .thanks-card {
    max-width: 40rem;
    margin: 0 auto;
    background: var(--lp-card);
    border: 1px solid var(--lp-card-border);
    border-radius: 18px;
    padding: clamp(1.35rem, 3vw, 2rem);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--lp-shadow);
}

.landing-page .thanks-contact {
    display: grid;
    gap: 1.1rem;
    margin-bottom: 1.75rem;
}

.landing-page .thanks-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    color: var(--lp-muted);
    line-height: 1.5;
}

.landing-page .thanks-contact-item i {
    color: var(--lp-sky);
    margin-top: 0.15rem;
    width: 1.25rem;
    text-align: center;
}

.landing-page .thanks-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.landing-page .thanks-actions .btn {
    min-width: 10rem;
    border-radius: 12px;
}

.landing-page .thanks-actions .btn-primary {
    background: linear-gradient(135deg, var(--lp-electric) 0%, var(--lp-electric-alt) 100%);
    color: #fff !important;
    border: none;
}

.landing-page .thanks-actions .btn-primary:hover {
    background: linear-gradient(135deg, var(--lp-electric-alt) 0%, var(--lp-sky) 100%);
    color: #fff !important;
}

.landing-page .thanks-actions .btn-secondary {
    background: transparent;
    color: var(--lp-white) !important;
    border: 1px solid var(--lp-card-border);
}

.landing-page .thanks-actions .btn-secondary:hover {
    border-color: var(--lp-sky);
    color: var(--lp-sky) !important;
}

@media (max-width: 768px) {
    .landing-page .thanks-actions {
        flex-direction: column;
    }

    .landing-page .thanks-actions .btn {
        width: 100%;
        text-align: center;
    }
}
