/* Public/Landing: the marketing page on the workspace shell
   (css/workspace-auth.css supplies the tokens, header, eyebrow and buttons).

   The hero preview (.lp-app) is a scaled-down copy of the signed-in shell:
   the sidebar groups from Views/Shared/_Layout.cshtml and the dashboard
   header and tiles from Views/Home/Index.cshtml, coloured with the same
   --app-nav-* / --app-bg / --app-card theme tokens, so it reads as the
   product in both themes. Keep it in step when the shell changes. */

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

.lp-icon {
    width: 20px;
    height: 20px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lp-section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

.lp-head {
    max-width: 720px;
    margin-bottom: 40px;
}

    .lp-head h2 {
        margin: 16px 0 14px;
        color: var(--wa-ink);
        font-size: clamp(30px, 3.4vw, 44px);
        font-weight: 700;
        line-height: 1.16;
        letter-spacing: -.03em;
    }

    .lp-head p {
        max-width: 610px;
        margin: 0;
        color: var(--wa-muted);
        font-size: 16px;
        line-height: 1.75;
    }

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

.lp-hero {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 40px;
    align-items: center;
    padding: 80px 0 72px;
}

    .lp-hero h1 {
        margin: 22px 0 20px;
        color: var(--wa-ink);
        font-size: clamp(44px, 5vw, 68px);
        font-weight: 700;
        line-height: 1.08;
        letter-spacing: -.04em;
    }

.lp-hero-sub {
    max-width: 530px;
    margin: 0 0 28px;
    color: var(--wa-muted);
    font-size: 17px;
    line-height: 1.8;
}

.lp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

    .lp-hero-actions .wa-btn {
        height: 52px;
        padding: 0 22px;
        font-size: 15px;
    }

.lp-hero-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    margin-top: 30px;
}

    .lp-hero-foot span {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: var(--wa-muted);
        font-size: 13px;
        font-weight: 600;
    }

        .lp-hero-foot span + span {
            padding-left: 18px;
            border-left: 1px solid var(--wa-hairline);
        }

    .lp-hero-foot .lp-icon {
        width: 16px;
        height: 16px;
        color: var(--wa-success);
    }

.lp-hero-art {
    position: relative;
    min-width: 0;
    padding: 24px 0 8px 16px;
}

.lp-orbit {
    position: absolute;
    top: 0;
    left: -25px;
    width: 95%;
    height: 96%;
    border: 1px solid rgba(37, 99, 235, .14);
    border-radius: 50%;
    transform: rotate(12deg);
    pointer-events: none;
}

    .lp-orbit.two {
        top: -10px;
        left: 20px;
        width: 87%;
        height: 108%;
        transform: rotate(-21deg);
    }

.lp-art-blur {
    position: absolute;
    inset: 9% -5%;
    background: radial-gradient(ellipse, rgba(37, 99, 235, .13), transparent 67%);
    filter: blur(30px);
    pointer-events: none;
}

.lp-hero-art .wa-float-chip { font-size: 12px; }
.lp-hero-art .wa-float-chip.a { top: 0; right: -12px; color: var(--wa-accent); rotate: 4deg; }
.lp-hero-art .wa-float-chip.b { top: 2px; left: -6px; color: var(--wa-success); rotate: -5deg; animation-delay: -2s; }
.lp-hero-art .wa-float-chip.c { bottom: -2px; right: 22px; color: var(--wa-brand-text); animation-delay: -2.9s; }

.lp-hero-note {
    margin: 0;
    padding-top: 16px;
    color: var(--wa-muted);
    font-size: 12px;
}

/* ---------- Hero preview: the signed-in shell ---------- */

.lp-window {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: var(--app-card, #fff);
    border: 1px solid var(--wa-hairline);
    border-radius: 18px;
    box-shadow: 0 40px 95px rgba(30, 64, 175, .15), 0 8px 26px rgba(30, 64, 175, .06);
    /* The tilt follows the pointer (--lp-rx / --lp-ry, eased in the
       page script); at rest it leans gently away. */
    transform: perspective(1400px) rotateY(var(--lp-ry, -4deg)) rotateX(var(--lp-rx, 2deg));
}

[data-bs-theme="dark"] .lp-window {
    box-shadow: 0 40px 95px rgba(0, 0, 0, .4);
}

    /* A soft glare that tracks the pointer across the glass. */
    .lp-window::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 2;
        background: radial-gradient(420px circle at var(--lp-gx, 70%) var(--lp-gy, 0%), rgba(255, 255, 255, .22), transparent 60%);
        opacity: 0;
        transition: opacity .5s ease;
        pointer-events: none;
    }

    .lp-hero-art:hover .lp-window::after {
        opacity: 1;
    }

[data-bs-theme="dark"] .lp-window::after {
    background: radial-gradient(420px circle at var(--lp-gx, 70%) var(--lp-gy, 0%), rgba(147, 197, 253, .1), transparent 60%);
}

.lp-window-bar {
    display: flex;
    align-items: center;
    gap: 9px;
    height: 40px;
    padding: 0 14px;
    background: var(--app-card, #fff);
    border-bottom: 1px solid var(--app-nav-border, #e5e7eb);
}

.lp-dots {
    display: flex;
    gap: 5px;
}

    .lp-dots i {
        width: 8px;
        height: 8px;
        border-radius: 50%;
    }

        .lp-dots i:nth-child(1) { background: var(--wa-mark-pink); }
        .lp-dots i:nth-child(2) { background: var(--wa-mark-violet); }
        .lp-dots i:nth-child(3) { background: var(--wa-mark-green); }

.lp-window-url {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
    padding: 4px 10px;
    color: var(--app-muted, #6c757d);
    background: var(--app-surface-subtle, #f1f5f9);
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
}

    .lp-window-url .lp-icon {
        width: 10px;
        height: 10px;
    }

.lp-window-tag {
    margin-left: auto;
    padding: 4px 8px;
    color: var(--app-muted, #6c757d);
    background: var(--app-surface-subtle, #f1f5f9);
    border-radius: 99px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.lp-app {
    display: grid;
    grid-template-columns: 158px minmax(0, 1fr);
    height: 360px;
    font-size: 10px;
    color: var(--app-text, #212529);
}

/* Sidebar: .synx-sidebar in app/base/layout.css */
.lp-side {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--app-nav-bg, #fafafa);
    border-right: 1px solid var(--app-nav-border, #e5e7eb);
}

.lp-side-top {
    padding: 11px 12px;
    border-bottom: 1px solid var(--app-nav-border, #e5e7eb);
}

    .lp-side-top img {
        display: block;
        width: auto;
        height: 20px;
    }

    .lp-side-top .app-logo--dark,
    [data-bs-theme="dark"] .lp-side-top .app-logo--light {
        display: none;
    }

[data-bs-theme="dark"] .lp-side-top .app-logo--dark {
    display: block;
}

.lp-side-nav {
    flex: 1;
    padding: 8px 7px;
}

.lp-side-group,
.lp-side-link {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 8px;
    border-radius: 7px;
    white-space: nowrap;
}

.lp-side-group {
    justify-content: space-between;
    color: var(--app-nav-text, #3a3a3a);
    font-weight: 700;
}

    .lp-side-group .lp-icon {
        width: 10px;
        height: 10px;
        opacity: .7;
    }

    .lp-side-group.is-open {
        color: var(--app-nav-active-text, #2563eb);
        background: var(--app-nav-active-bg, #eff6ff);
    }

        .lp-side-group.is-open .lp-icon {
            transform: rotate(90deg);
        }

.lp-side-link {
    margin: 2px 0 4px 6px;
    color: var(--app-nav-active-text, #2563eb);
    font-weight: 600;
}

    .lp-side-link .lp-icon {
        width: 12px;
        height: 12px;
    }

.lp-side-bottom {
    padding: 9px;
    border-top: 1px solid var(--app-nav-border, #e5e7eb);
}

.lp-profile {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.lp-avatar {
    display: grid;
    place-items: center;
    flex: none;
    width: 24px;
    height: 24px;
    color: var(--app-on-primary, #fff);
    background: var(--app-primary, #2563eb);
    border-radius: 50%;
    font-size: 8.5px;
    font-weight: 800;
}

.lp-profile b,
.lp-profile small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lp-profile b {
    color: var(--app-text, #212529);
    font-size: 9.5px;
}

.lp-profile small {
    color: var(--app-muted, #6c757d);
    font-size: 8px;
}

/* Dashboard: .fg-dashboard in Views/Home/Index.cshtml */
.lp-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 16px 16px 14px;
    overflow: hidden;
    background: var(--app-bg, #f5f7fa);
}

.lp-dash-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

    .lp-dash-head h3 {
        margin: 0 0 3px;
        color: var(--app-text-strong, #0f172a);
        font-size: 16px;
        font-weight: 700;
        letter-spacing: -.02em;
    }

    .lp-dash-head p {
        margin: 0;
        color: var(--app-muted, #6c757d);
        font-size: 9px;
    }

.lp-dash-actions {
    display: flex;
    flex: none;
    gap: 5px;
}

.lp-dash-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 24px;
    padding: 0 8px;
    color: var(--app-text, #212529);
    background: var(--app-card, #fff);
    border: 1px solid var(--app-border, #dee2e6);
    border-radius: 6px;
    font-size: 9px;
    font-weight: 600;
}

    .lp-dash-btn .lp-icon {
        width: 11px;
        height: 11px;
    }

    .lp-dash-btn.is-primary {
        color: #fff;
        background: var(--app-primary, #2563eb);
        border-color: var(--app-primary, #2563eb);
    }

.lp-tiles {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 9px;
}

.lp-tile {
    min-width: 0;
    padding: 10px 11px;
    background: var(--app-card, #fff);
    border: 1px solid var(--app-border, #e5e7eb);
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .04);
}

.lp-tile-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    color: var(--app-text-strong, #0f172a);
    font-size: 10.5px;
    font-weight: 700;
}

    .lp-tile-title small {
        color: var(--app-muted, #6c757d);
        font-size: 8px;
        font-weight: 600;
    }

.lp-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.lp-stat {
    padding: 6px;
    background: var(--app-surface-muted, #f8fafc);
    border-radius: 6px;
}

    .lp-stat b {
        display: block;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.2;
    }

    .lp-stat small {
        color: var(--app-muted, #6c757d);
        font-size: 8px;
    }

    .lp-stat.is-present b { color: #16a34a; }
    .lp-stat.is-late b { color: #d97706; }
    .lp-stat.is-absent b { color: #dc2626; }

[data-bs-theme="dark"] .lp-stat.is-present b { color: #4ade80; }
[data-bs-theme="dark"] .lp-stat.is-late b { color: #fbbf24; }
[data-bs-theme="dark"] .lp-stat.is-absent b { color: #f87171; }

.lp-tile-btn {
    display: block;
    margin-top: 7px;
    padding: 5px;
    color: #fff;
    background: var(--app-primary, #2563eb);
    border-radius: 6px;
    font-size: 8.5px;
    font-weight: 600;
    text-align: center;
}

.lp-leave-row {
    display: grid;
    grid-template-columns: 52px 1fr 18px;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    color: var(--app-text-secondary, #334155);
    font-size: 8.5px;
}

    .lp-leave-row b {
        text-align: right;
        font-size: 9px;
    }

.lp-bar {
    height: 5px;
    overflow: hidden;
    background: var(--app-surface-subtle, #f1f5f9);
    border-radius: 9px;
}

    .lp-bar i {
        display: block;
        height: 100%;
        background: var(--app-primary, #2563eb);
        border-radius: inherit;
    }

    .lp-bar.is-taken i { background: #8b5cf6; }
    .lp-bar.is-pending i { background: #f59e0b; }

.lp-quick {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
}

    .lp-quick span {
        display: grid;
        justify-items: center;
        gap: 4px;
        padding: 7px 2px;
        color: var(--app-text-secondary, #334155);
        background: var(--app-surface-muted, #f8fafc);
        border-radius: 6px;
        font-size: 7.5px;
        font-weight: 600;
        text-align: center;
    }

    .lp-quick .lp-icon {
        width: 13px;
        height: 13px;
        color: var(--app-primary-text, #2563eb);
    }

.lp-people {
    display: grid;
    gap: 5px;
}

.lp-person {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

    .lp-person .lp-avatar {
        width: 20px;
        height: 20px;
        font-size: 7px;
        color: #1d4ed8;
        background: #dbeafe;
    }

    .lp-person:nth-child(2) .lp-avatar { color: #6d28d9; background: #ede9fe; }
    .lp-person:nth-child(3) .lp-avatar { color: #be185d; background: #fce7f3; }

[data-bs-theme="dark"] .lp-person .lp-avatar {
    color: #bfdbfe;
    background: rgba(59, 130, 246, .25);
}

    .lp-person span {
        min-width: 0;
        overflow: hidden;
        font-size: 8.5px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .lp-person em {
        color: var(--app-muted, #6c757d);
        font-style: normal;
    }

/* ---------- Bridge ---------- */

.lp-bridge {
    position: relative;
    z-index: 1;
    padding: 8px 0 56px;
}

.lp-bridge-card {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 22px 28px;
    background: var(--wa-frost);
    border: 1px solid var(--wa-hairline);
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(15, 23, 42, .04);
}

    .lp-bridge-card > strong {
        max-width: 240px;
        color: var(--wa-ink);
        font-size: 18px;
        line-height: 1.35;
        letter-spacing: -.01em;
    }

.lp-bridge-item {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 11px;
    padding-left: 26px;
    color: var(--wa-muted-strong);
    border-left: 1px solid var(--wa-hairline);
    font-size: 14px;
    font-weight: 600;
}

    .lp-bridge-item .lp-icon {
        width: 18px;
        height: 18px;
        color: var(--wa-brand-text);
    }

/* ---------- Problem ---------- */

.lp-problem {
    background: linear-gradient(180deg, var(--wa-page), var(--wa-surface-alt));
    border-top: 1px solid var(--wa-hairline);
}

.lp-statements {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.lp-statement {
    position: relative;
    min-height: 225px;
    padding: 30px;
    overflow: hidden;
    background: var(--wa-surface);
    border: 1px solid var(--wa-hairline);
    border-radius: 18px;
    box-shadow: var(--wa-shadow);
}

    .lp-statement .num {
        position: absolute;
        top: 24px;
        right: 26px;
        color: #94a3b8;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .04em;
    }

    .lp-statement h3 {
        margin: 0 0 9px;
        color: var(--wa-ink);
        font-size: 19px;
        font-weight: 700;
    }

    .lp-statement p {
        margin: 0;
        color: var(--wa-muted);
        font-size: 14px;
        line-height: 1.7;
    }

/* Icon badges in the brand's three tints, shared by several sections. */
.lp-badge {
    display: grid;
    place-items: center;
    flex: none;
    width: 46px;
    height: 46px;
    margin-bottom: 24px;
    color: #2563eb;
    background: #eff6ff;
    border-radius: 13px;
}

    .lp-badge.is-violet { color: #7c3aed; background: #f5f3ff; }
    .lp-badge.is-green { color: #16a34a; background: #f0fdf4; }
    .lp-badge.is-pink { color: #db2777; background: #fdf2f8; }

[data-bs-theme="dark"] .lp-badge { color: #93c5fd; background: rgba(59, 130, 246, .18); }
[data-bs-theme="dark"] .lp-badge.is-violet { color: #c4b5fd; background: rgba(139, 92, 246, .18); }
[data-bs-theme="dark"] .lp-badge.is-green { color: #86efac; background: rgba(34, 197, 94, .16); }
[data-bs-theme="dark"] .lp-badge.is-pink { color: #f9a8d4; background: rgba(236, 72, 153, .16); }

.lp-transition {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 26px;
    color: var(--wa-muted);
    font-size: 14px;
    font-weight: 600;
}

    .lp-transition span {
        display: grid;
        place-items: center;
        flex: none;
        width: 32px;
        height: 32px;
        color: var(--wa-brand-text);
        background: var(--wa-surface);
        border: 1px solid var(--wa-hairline);
        border-radius: 50%;
    }

    .lp-transition .lp-icon {
        width: 15px;
        height: 15px;
    }

/* ---------- Applications ---------- */

.lp-suite-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

    .lp-suite-head .lp-head {
        margin-bottom: 28px;
    }

.lp-suite-note {
    margin: 0 0 36px;
    color: var(--wa-muted);
    font-size: 13px;
    font-weight: 600;
}

.lp-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.lp-tab {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
    padding: 16px 18px;
    color: var(--wa-ink);
    background: var(--wa-surface);
    border: 1px solid var(--wa-hairline);
    border-radius: 14px;
    text-align: left;
    cursor: pointer;
    transition: box-shadow .2s, border-color .2s, background-color .2s;
}

    .lp-tab:hover {
        border-color: #bfdbfe;
    }

    .lp-tab[aria-selected="true"] {
        background: var(--wa-brand-subtle);
        border-color: #93c5fd;
        box-shadow: 0 7px 25px rgba(37, 99, 235, .1);
    }

    .lp-tab .lp-badge {
        width: 42px;
        height: 42px;
        margin: 0;
        border-radius: 12px;
    }

    .lp-tab strong {
        display: block;
        font-size: 15px;
    }

    .lp-tab small {
        display: block;
        margin-top: 3px;
        color: var(--wa-muted);
        font-size: 12px;
    }

.lp-panel {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    min-height: 430px;
    overflow: hidden;
    background: var(--wa-surface);
    border: 1px solid var(--wa-hairline);
    border-radius: 22px;
    box-shadow: var(--wa-shadow);
}

.lp-panel-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 46px 40px;
}

.lp-status {
    padding: 7px 11px;
    color: #15803d;
    background: #f0fdf4;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

    .lp-status.is-soon {
        color: #6d28d9;
        background: #f5f3ff;
    }

[data-bs-theme="dark"] .lp-status { color: #86efac; background: rgba(34, 197, 94, .16); }
[data-bs-theme="dark"] .lp-status.is-soon { color: #c4b5fd; background: rgba(139, 92, 246, .18); }

.lp-panel-info h3 {
    margin: 20px 0 14px;
    color: var(--wa-ink);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -.025em;
}

.lp-panel-info p {
    margin: 0 0 22px;
    color: var(--wa-muted);
    font-size: 15px;
    line-height: 1.75;
}

.lp-checks {
    display: grid;
    gap: 11px;
    margin-bottom: 26px;
}

    .lp-checks span {
        display: flex;
        align-items: center;
        gap: 10px;
        color: var(--wa-muted-strong);
        font-size: 14px;
        font-weight: 600;
    }

    .lp-checks .lp-icon {
        width: 17px;
        height: 17px;
        color: var(--wa-brand-text);
    }

.lp-panel-info .wa-btn {
    margin-top: auto;
}

.lp-panel-visual {
    position: relative;
    display: grid;
    place-items: center;
    padding: 30px;
    overflow: hidden;
    background: linear-gradient(135deg, #eff6ff, #f5f3ff 70%, #fdf2f8);
}

[data-bs-theme="dark"] .lp-panel-visual {
    background: linear-gradient(135deg, #172554, #2e1065 72%, #3b0a2a);
}

    .lp-panel-visual::before,
    .lp-panel-visual::after {
        content: "";
        position: absolute;
        border: 1px solid rgba(37, 99, 235, .14);
        border-radius: 50%;
    }

    .lp-panel-visual::before { top: -60px; right: -80px; width: 610px; height: 610px; }
    .lp-panel-visual::after { top: 60px; right: 15px; width: 390px; height: 390px; }

.lp-mock {
    position: relative;
    z-index: 1;
    width: min(100%, 440px);
    padding: 20px;
    background: var(--wa-surface);
    border: 1px solid var(--wa-hairline);
    border-radius: 16px;
    box-shadow: 0 27px 66px rgba(30, 64, 175, .15);
    transform: rotate(-3deg);
}

.lp-mock-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--wa-hairline);
}

    .lp-mock-head strong {
        color: var(--wa-ink);
        font-size: 14px;
    }

    .lp-mock-head span {
        color: var(--wa-muted);
        letter-spacing: 2px;
    }

.lp-mock-rows {
    display: grid;
    gap: 11px;
    margin-top: 16px;
}

.lp-mock-row {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px;
    background: var(--wa-surface-alt);
    border-radius: 10px;
}

    .lp-mock-row > i {
        flex: none;
        width: 28px;
        height: 28px;
        border-radius: 8px;
        background: #dbeafe;
    }

    .lp-mock-row:nth-child(2) > i { background: #ede9fe; }
    .lp-mock-row:nth-child(3) > i { background: #dcfce7; }

[data-bs-theme="dark"] .lp-mock-row > i { background: var(--wa-surface-subtle); }

.lp-mock-lines {
    flex: 1;
}

    .lp-mock-lines i {
        display: block;
        width: 75%;
        height: 7px;
        margin-bottom: 7px;
        background: #cbd5e1;
        border-radius: 10px;
    }

        .lp-mock-lines i + i {
            width: 48%;
            height: 5px;
            margin: 0;
            background: #e2e8f0;
        }

[data-bs-theme="dark"] .lp-mock-lines i { background: #475569; }
[data-bs-theme="dark"] .lp-mock-lines i + i { background: #334155; }

.lp-mock-row b {
    padding: 6px 9px;
    color: #15803d;
    background: #f0fdf4;
    border-radius: 8px;
    font-size: 11px;
}

[data-bs-theme="dark"] .lp-mock-row b {
    color: #86efac;
    background: rgba(34, 197, 94, .16);
}

.lp-mock-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
}

    .lp-mock-stats div {
        padding: 12px;
        background: var(--wa-surface-alt);
        border: 1px solid var(--wa-hairline);
        border-radius: 10px;
    }

    .lp-mock-stats b {
        display: block;
        color: var(--wa-brand-text);
        font-size: 18px;
    }

    .lp-mock-stats span {
        color: var(--wa-muted);
        font-size: 12px;
    }

/* ---------- Features ---------- */

.lp-features {
    background: var(--wa-surface-alt);
    border-block: 1px solid var(--wa-hairline);
}

.lp-features-wrap {
    display: grid;
    grid-template-columns: .65fr 1fr;
    gap: 64px;
    align-items: start;
}

    .lp-features-wrap .lp-head {
        position: sticky;
        top: 120px;
    }

        .lp-features-wrap .lp-head .wa-btn {
            margin-top: 24px;
        }

.lp-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.lp-feature {
    min-height: 196px;
    padding: 24px;
    background: var(--wa-surface);
    border: 1px solid var(--wa-hairline);
    border-radius: 16px;
    transition: transform .2s, box-shadow .2s;
}

    .lp-feature:hover {
        transform: translateY(-4px);
        box-shadow: var(--wa-shadow);
    }

    .lp-feature .lp-badge {
        width: 42px;
        height: 42px;
        margin-bottom: 20px;
        border-radius: 12px;
    }

    .lp-feature h3 {
        margin: 0 0 8px;
        color: var(--wa-ink);
        font-size: 16px;
        font-weight: 700;
    }

    .lp-feature p {
        margin: 0;
        color: var(--wa-muted);
        font-size: 14px;
        line-height: 1.65;
    }

/* ---------- Journey ---------- */

.lp-journey .lp-head {
    margin-inline: auto;
    text-align: center;
}

    .lp-journey .lp-head .wa-eyebrow {
        justify-content: center;
    }

    .lp-journey .lp-head p {
        margin-inline: auto;
    }

.lp-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 19px;
}

    .lp-track::before {
        content: "";
        position: absolute;
        z-index: 0;
        top: 30px;
        left: 10%;
        right: 10%;
        height: 1px;
        background: linear-gradient(90deg, #93c5fd, #c4b5fd);
    }

.lp-step {
    position: relative;
    z-index: 1;
    padding: 0 14px;
    text-align: center;
}

.lp-step-icon {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 24px;
    color: var(--wa-brand-text);
    background: var(--wa-surface);
    border: 1px solid var(--wa-hairline);
    border-radius: 18px;
    box-shadow: 0 9px 28px rgba(30, 64, 175, .07);
}

.lp-step:nth-child(3) .lp-step-icon { color: var(--wa-accent); }
.lp-step:nth-child(4) .lp-step-icon { color: #db2777; }

[data-bs-theme="dark"] .lp-step:nth-child(4) .lp-step-icon { color: #f9a8d4; }

.lp-step-n {
    color: var(--wa-brand-text);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.lp-step h3 {
    margin: 10px 0;
    color: var(--wa-ink);
    font-size: 18px;
    font-weight: 700;
}

.lp-step p {
    margin: 0;
    color: var(--wa-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* ---------- Vision ---------- */

.lp-vision {
    position: relative;
    z-index: 1;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 52%, #6d5ce7 100%);
}

    .lp-vision::before,
    .lp-vision::after {
        content: "";
        position: absolute;
        border: 1px solid rgba(255, 255, 255, .12);
        border-radius: 50%;
    }

    .lp-vision::before { top: -350px; right: -190px; width: 800px; height: 800px; }
    .lp-vision::after { bottom: -380px; left: -180px; width: 550px; height: 550px; }

.lp-vision-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr .95fr;
    align-items: center;
    gap: 64px;
    padding: 92px 0;
}

.lp-vision .wa-eyebrow { color: #bfdbfe; }
.lp-vision .wa-eyebrow-line { background: #dbeafe; }

.lp-vision h2 {
    margin: 18px 0;
    font-size: clamp(32px, 3.7vw, 48px);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -.03em;
}

    .lp-vision h2 span {
        color: #c7d2fe;
    }

.lp-vision p {
    max-width: 540px;
    color: #dbeafe;
    font-size: 16px;
    line-height: 1.8;
}

.lp-vision .wa-btn {
    margin-top: 10px;
    color: #1d4ed8;
    background: #fff;
    border: 0;
}

    .lp-vision .wa-btn:hover {
        color: #1d4ed8;
    }

.lp-vision-steps {
    display: grid;
    gap: 13px;
}

.lp-vision-step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 19px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 15px;
    -webkit-backdrop-filter: blur(9px);
    backdrop-filter: blur(9px);
}

    .lp-vision-step > span:first-child {
        display: grid;
        place-items: center;
        flex: none;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, .16);
        border-radius: 11px;
    }

    .lp-vision-step strong {
        display: block;
        font-size: 15px;
    }

    .lp-vision-step small {
        display: block;
        margin-top: 4px;
        color: #dbeafe;
        font-size: 13px;
    }

    .lp-vision-step em {
        margin-left: auto;
        color: #e0e7ff;
        font-size: 11px;
        font-style: normal;
        font-weight: 700;
        letter-spacing: .06em;
        text-transform: uppercase;
        white-space: nowrap;
    }

/* ---------- FAQ ---------- */

.lp-faq-layout {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 80px;
    align-items: start;
}

.lp-faq-list {
    border-top: 1px solid var(--wa-hairline);
}

    .lp-faq-list details {
        padding: 22px 2px;
        border-bottom: 1px solid var(--wa-hairline);
    }

    .lp-faq-list summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 22px;
        color: var(--wa-ink);
        font-size: 16px;
        font-weight: 600;
        list-style: none;
        cursor: pointer;
    }

        .lp-faq-list summary::-webkit-details-marker {
            display: none;
        }

        .lp-faq-list summary .lp-icon {
            color: var(--wa-brand-text);
            transition: transform .2s;
        }

    .lp-faq-list details[open] summary .lp-icon {
        transform: rotate(45deg);
    }

    .lp-faq-list details p {
        margin: 14px 32px 0 0;
        color: var(--wa-muted);
        font-size: 15px;
        line-height: 1.75;
    }

/* ---------- Closing call to action ---------- */

.lp-cta {
    position: relative;
    z-index: 1;
    padding: 0 0 84px;
}

.lp-cta-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 46px 52px;
    overflow: hidden;
    background: var(--wa-surface);
    border: 1px solid var(--wa-hairline);
    border-radius: 22px;
    box-shadow: var(--wa-shadow);
}

    .lp-cta-card::after {
        content: "";
        position: absolute;
        top: -170px;
        right: -165px;
        width: 370px;
        height: 330px;
        background: radial-gradient(ellipse, rgba(37, 99, 235, .14), transparent 70%);
        pointer-events: none;
    }

    .lp-cta-card h2 {
        margin: 0 0 10px;
        color: var(--wa-ink);
        font-size: 30px;
        font-weight: 700;
        letter-spacing: -.02em;
    }

    .lp-cta-card p {
        margin: 0;
        color: var(--wa-muted);
        font-size: 15px;
        line-height: 1.7;
    }

.lp-cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex: none;
    gap: 11px;
}

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

.lp-footer {
    position: relative;
    z-index: 1;
    background: var(--wa-surface-alt);
    border-top: 1px solid var(--wa-hairline);
}

.lp-footer-top {
    display: grid;
    grid-template-columns: 1.5fr .7fr .7fr;
    gap: 40px;
    padding: 52px 0 40px;
}

    .lp-footer-top p {
        max-width: 320px;
        margin: 14px 0 0;
        color: var(--wa-muted);
        font-size: 14px;
        line-height: 1.7;
    }

    .lp-footer-top h4 {
        margin: 4px 0 18px;
        color: var(--wa-ink);
        font-size: 14px;
        font-weight: 700;
    }

.lp-footer-links {
    display: grid;
    gap: 12px;
}

    .lp-footer-links a {
        color: var(--wa-muted);
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
    }

        .lp-footer-links a:hover {
            color: var(--wa-brand-text);
        }

.lp-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 22px 0;
    color: var(--wa-muted);
    border-top: 1px solid var(--wa-hairline);
    font-size: 12px;
    font-weight: 600;
}

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

@media (max-width: 1180px) {
    .lp-hero h1 { font-size: 56px; }
    .lp-features-wrap { gap: 36px; }
    .lp-app { grid-template-columns: 132px minmax(0, 1fr); }
    .lp-main { padding: 14px 12px; }
}

@media (max-width: 980px) {
    .lp-hero { grid-template-columns: 1fr; gap: 12px; padding-top: 60px; }
    .lp-hero h1, .lp-hero-sub { max-width: 680px; }
    .lp-hero-art { width: min(100%, 720px); margin: 0 auto; }
    .lp-bridge-card { flex-wrap: wrap; }
    .lp-bridge-card > strong { width: 100%; max-width: none; }
    .lp-bridge-item:first-of-type { padding-left: 0; border-left: 0; }
    .lp-panel { grid-template-columns: 1fr 1fr; }
    .lp-panel-info { padding: 34px 28px; }
    .lp-panel-info h3 { font-size: 27px; }
    .lp-features-wrap { grid-template-columns: 1fr; }
    .lp-features-wrap .lp-head { position: static; }
    .lp-track { gap: 10px; }
    .lp-step { padding: 0 5px; }
    .lp-vision-inner { gap: 28px; }
    .lp-faq-layout { grid-template-columns: 1fr; gap: 28px; }
    .lp-faq-layout .lp-head { margin-bottom: 0; }
}

@media (max-width: 710px) {
    .lp-section { padding: 72px 0; }
    .lp-head { margin-bottom: 30px; }
    .lp-head h2 { font-size: 32px; }
    .lp-hero { padding: 48px 0 40px; }
    .lp-hero h1 { font-size: clamp(38px, 9.4vw, 54px); }
    .lp-hero-sub { font-size: 16px; }
    .lp-hero-foot span + span { padding-left: 0; border-left: 0; }
    .lp-hero-art { padding: 22px 0 10px; }
    .lp-hero-art .wa-float-chip { display: none; }
    .lp-orbit { display: none; }
    .lp-window { transform: none; }
    .lp-window::after { display: none; }
    .lp-window-tag { display: none; }
    .lp-app { grid-template-columns: 112px minmax(0, 1fr); height: 346px; }
    .lp-side-group, .lp-side-link { padding: 6px; font-size: 9px; }
    .lp-tiles { grid-template-columns: 1fr; }
    .lp-tile:nth-child(n+3) { display: none; }
    .lp-dash-btn span { display: none; }
    .lp-bridge { padding-bottom: 20px; }
    .lp-bridge-card { gap: 14px; padding: 20px; }
    .lp-bridge-item { flex: auto; width: 100%; padding: 0; border: 0; }
    .lp-statements, .lp-feature-grid { grid-template-columns: 1fr; }
    .lp-statement { min-height: 0; }
    .lp-suite-head { display: block; }
    .lp-suite-note { margin: 0 0 18px; }
    .lp-tabs { gap: 8px; }
    .lp-tab { flex-direction: column; gap: 8px; padding: 12px 8px; text-align: center; }
    .lp-tab .lp-badge { width: 36px; height: 36px; }
    .lp-tab strong { font-size: 13px; }
    .lp-tab small { font-size: 11px; }
    .lp-panel { grid-template-columns: 1fr; }
    .lp-panel-info { padding: 30px 24px; }
    .lp-panel-visual { min-height: 300px; padding: 24px; }
    .lp-track { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
    .lp-track::before { display: none; }
    .lp-step { padding: 0 10px; }
    .lp-vision-inner { grid-template-columns: 1fr; padding: 72px 0; }
    .lp-cta-card { display: block; padding: 34px 26px; }
    .lp-cta-card h2 { font-size: 26px; }
    .lp-cta-actions { flex-wrap: wrap; margin-top: 22px; }
    .lp-footer-top { grid-template-columns: 1fr 1fr; }
    .lp-footer-top > div:first-child { grid-column: span 2; }
    .lp-footer-bottom { flex-direction: column; }
}

@media (max-width: 430px) {
    .lp-hero-actions .wa-btn { width: 100%; }
    .lp-app { grid-template-columns: 38px minmax(0, 1fr); height: 346px; }
    .lp-side-top { padding: 10px 7px; }
    .lp-side-top img { display: none !important; }
    .lp-side-top::before { content: ""; display: block; width: 22px; height: 22px; background: url("/favicon.svg") center / contain no-repeat; }
    .lp-side-group { display: none; }
    .lp-side-link { justify-content: center; margin: 0; padding: 6px 0; }
    .lp-side-link span, .lp-profile div { display: none; }
    .lp-side-bottom { padding: 7px; }
    .lp-dash-head h3 { font-size: 14px; }
    .lp-tab small { display: none; }
    .lp-cta-actions .wa-btn { width: 100%; }
    .lp-footer-top { gap: 26px; }
}

/* =============================================================
   Motion

   Everything below runs only under html.lp-motion, which the page's head
   sets unless prefers-reduced-motion or the in-app "reduce animations"
   preference is on; without it the page is complete and still. Elements
   reveal with keyframe animations that fill backwards only, so once they
   finish nothing overrides the hover lift on cards.
   ============================================================= */

:root {
    --lp-ease: cubic-bezier(.16, 1, .3, 1);
}

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

html.lp-motion .lp-hero > div:first-child > * {
    animation: lp-rise 1s var(--lp-ease) backwards;
}

    html.lp-motion .lp-hero > div:first-child > :nth-child(1) { animation-delay: .1s; }
    html.lp-motion .lp-hero > div:first-child > :nth-child(2) { animation-delay: .18s; }
    html.lp-motion .lp-hero > div:first-child > :nth-child(3) { animation-delay: .3s; }
    html.lp-motion .lp-hero > div:first-child > :nth-child(4) { animation-delay: .4s; }
    html.lp-motion .lp-hero > div:first-child > :nth-child(5) { animation-delay: .5s; }

/* The headline's gradient drifts slowly through the brand colours. */
html.lp-motion .lp-hero .wa-gradient-text {
    background-size: 200% auto;
    animation: lp-shimmer 9s ease-in-out 1.2s infinite alternate;
}

html.lp-motion .lp-hero-art {
    animation: lp-art 1.3s var(--lp-ease) .25s backwards;
}

html.lp-motion .lp-tile {
    animation: lp-rise-sm .8s var(--lp-ease) backwards;
}

    html.lp-motion .lp-tile:nth-child(1) { animation-delay: .75s; }
    html.lp-motion .lp-tile:nth-child(2) { animation-delay: .85s; }
    html.lp-motion .lp-tile:nth-child(3) { animation-delay: .95s; }
    html.lp-motion .lp-tile:nth-child(4) { animation-delay: 1.05s; }

html.lp-motion .lp-bar i {
    transform-origin: left center;
    animation: lp-bar 1.4s var(--lp-ease) 1.1s backwards;
}

html.lp-motion .lp-side-nav > * {
    animation: lp-slide .7s var(--lp-ease) backwards;
}

    html.lp-motion .lp-side-nav > :nth-child(1) { animation-delay: .55s; }
    html.lp-motion .lp-side-nav > :nth-child(2) { animation-delay: .6s; }
    html.lp-motion .lp-side-nav > :nth-child(3) { animation-delay: .65s; }
    html.lp-motion .lp-side-nav > :nth-child(4) { animation-delay: .7s; }
    html.lp-motion .lp-side-nav > :nth-child(5) { animation-delay: .75s; }
    html.lp-motion .lp-side-nav > :nth-child(6) { animation-delay: .8s; }
    html.lp-motion .lp-side-nav > :nth-child(7) { animation-delay: .85s; }

/* The chips pop in after the window settles, then keep their float. */
html.lp-motion .lp-hero-art .wa-float-chip {
    animation: lp-pop .7s var(--lp-ease) backwards, wa-bob 5s ease-in-out infinite;
}

    html.lp-motion .lp-hero-art .wa-float-chip.a { animation-delay: 1.2s, 1.9s; }
    html.lp-motion .lp-hero-art .wa-float-chip.b { animation-delay: 1.35s, 0s; }
    html.lp-motion .lp-hero-art .wa-float-chip.c { animation-delay: 1.5s, 1s; }

/* The background glow breathes slowly behind the page. */
html.lp-motion .wa-glow::before,
html.lp-motion .wa-glow::after {
    will-change: transform;
}

html.lp-motion .wa-glow::before {
    animation: lp-drift-a 22s ease-in-out infinite alternate;
}

html.lp-motion .wa-glow::after {
    animation: lp-drift-b 26s ease-in-out infinite alternate;
}

/* Reached through a page transition: the transition already brings the
   page in, so the hero shows as it rests; the chips keep their float. */
html.lp-motion.wa-arrived :is(.lp-hero > div:first-child > *, .lp-hero-art, .lp-tile, .lp-bar i, .lp-side-nav > *) {
    animation: none;
}

html.lp-motion.wa-arrived .lp-hero-art .wa-float-chip {
    animation: wa-bob 5s ease-in-out infinite;
}

/* ---------- Sticky header ---------- */

.wa-header.is-sticky {
    transition: box-shadow .4s ease, background-color .4s ease;
}

    .wa-header.is-sticky.is-scrolled {
        box-shadow: 0 10px 30px rgba(15, 23, 42, .07);
    }

[data-bs-theme="dark"] .wa-header.is-sticky.is-scrolled {
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

/* ---------- Scroll reveals ---------- */

html.lp-motion :is(.lp-bridge-card, .lp-section .lp-head, .lp-statement, .lp-transition, .lp-tabs, .lp-panel,
    .lp-feature, .lp-step, .lp-vision-copy, .lp-vision-step, .lp-faq-list details, .lp-cta-card):not(.is-in) {
    opacity: 0;
}

html.lp-motion :is(.lp-bridge-card, .lp-section .lp-head, .lp-statement, .lp-transition, .lp-tabs, .lp-panel,
    .lp-feature, .lp-step, .lp-vision-copy, .lp-vision-step, .lp-faq-list details, .lp-cta-card).is-in {
    animation: lp-reveal 1s var(--lp-ease) calc(var(--lp-d, 0) * 90ms) backwards;
}

html.lp-motion .lp-vision-step.is-in {
    animation-name: lp-reveal-x;
}

/* The journey line draws across as its section arrives. */
html.lp-motion .lp-track::before {
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1.6s var(--lp-ease) .3s;
}

html.lp-motion .lp-track.is-in::before {
    transform: none;
}

/* ---------- Application tabs ---------- */

html.lp-motion .lp-panel.is-swapping .lp-panel-info > * {
    animation: lp-rise-sm .6s var(--lp-ease) backwards;
}

    html.lp-motion .lp-panel.is-swapping .lp-panel-info > :nth-child(2) { animation-delay: .05s; }
    html.lp-motion .lp-panel.is-swapping .lp-panel-info > :nth-child(3) { animation-delay: .1s; }
    html.lp-motion .lp-panel.is-swapping .lp-panel-info > :nth-child(4) { animation-delay: .15s; }
    html.lp-motion .lp-panel.is-swapping .lp-panel-info > :nth-child(5) { animation-delay: .2s; }

html.lp-motion .lp-panel.is-swapping .lp-mock {
    animation: lp-mock-swap .8s var(--lp-ease) backwards;
}

.lp-tab {
    transition: box-shadow .3s ease, border-color .3s ease, background-color .3s ease, transform .3s var(--lp-ease, ease);
}

    .lp-tab:active {
        transform: scale(.985);
    }

/* ---------- Keyframes ---------- */

@keyframes lp-rise {
    from { opacity: 0; transform: translateY(22px); }
}

@keyframes lp-rise-sm {
    from { opacity: 0; transform: translateY(12px); }
}

@keyframes lp-slide {
    from { opacity: 0; transform: translateX(-8px); }
}

@keyframes lp-art {
    from { opacity: 0; transform: translateY(48px) scale(.96); }
}

@keyframes lp-bar {
    from { transform: scaleX(0); }
}

@keyframes lp-pop {
    from { opacity: 0; scale: .7; }
}

@keyframes lp-shimmer {
    from { background-position: 0% 50%; }
    to { background-position: 100% 50%; }
}

@keyframes lp-drift-a {
    to { transform: translate(90px, 50px) scale(1.08); }
}

@keyframes lp-drift-b {
    to { transform: translate(-80px, 60px) scale(1.06); }
}

@keyframes lp-reveal {
    from { opacity: 0; transform: translateY(32px); }
}

@keyframes lp-reveal-x {
    from { opacity: 0; transform: translateX(28px); }
}

@keyframes lp-mock-swap {
    from { opacity: 0; transform: rotate(-6deg) translateY(18px) scale(.96); }
}
