*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: inherit;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg-base);
    color: var(--text-primary);
}

/* ─── Nav ────────────────────────────────────────────────────── */

.lp-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    height: 64px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.lp-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.lp-logo-mark {
    width: 28px;
    height: 28px;
    background: var(--accent-btn);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.lp-logo-text {
    font-size: 21px;
    font-weight: 600;
    color: var(--text-primary);
}

.lp-nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lp-btn-ghost {
    padding: 8px 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    background: var(--bg-card);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.lp-btn-ghost:hover {
    background: var(--accent-muted);
}

.lp-btn-primary {
    padding: 8px 18px;
    border: 1px solid var(--accent-btn);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background: var(--accent-btn);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.lp-btn-primary:hover {
    background: var(--accent-bright);
}

/* ─── Hero ───────────────────────────────────────────────────── */

.lp-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 48px;
    background: linear-gradient(160deg, var(--bg-surface) 0%, var(--bg-base) 50%, var(--bg-surface) 100%);
    overflow: hidden;
}

.lp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.45;
    pointer-events: none;
}

.lp-hero-content {
    position: relative;
    z-index: 2;
}

.lp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 13px;
    color: var(--accent-btn);
    margin-bottom: 24px;
    font-weight: 500;
    box-shadow: 0 1px 4px rgba(44, 62, 45, 0.06);
}

.lp-hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-btn);
    flex-shrink: 0;
}

.lp-hero h1 {
    font-size: 50px;
    font-weight: 600;
    line-height: 1.1;
    color: var(--text-primary);
    max-width: 580px;
    margin: 0 auto 18px;
    letter-spacing: -0.5px;
}

.lp-hero h1 span {
    color: var(--accent-btn);
}

.lp-hero p {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 420px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

/* ─── Floating Cards ─────────────────────────────────────────── */

.float-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(44, 62, 45, 0.10);
    z-index: 3;
}

.card-income {
    top: 60px;
    left: 280px;
    padding: 16px 18px;
    width: 190px;
    transform: rotate(-5deg);
}

.card-income .c-label {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.card-income .c-value {
    font-size: 26px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.card-income .c-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 12px;
    color: var(--accent-btn);
    font-weight: 500;
}

.card-income .trend-line {
    margin-top: 10px;
}

.card-clients {
    top: 52px;
    right: 280px;
    padding: 16px 18px;
    width: 170px;
    transform: rotate(4deg);
}

.card-clients .c-label {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.card-clients .c-value {
    font-size: 26px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.card-clients .c-sub {
    font-size: 12px;
    color: var(--text-muted);
}

.lp-avatar-row {
    display: flex;
    margin-top: 10px;
}

.lp-av-xs {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 600;
    border: 2px solid var(--bg-card);
    margin-right: -6px;
    flex-shrink: 0;
}

.lp-av-xs.g { background: #ddebd9; color: #2d5a2a; }
.lp-av-xs.b { background: #d9e6f0; color: #2e5f80; }
.lp-av-xs.o { background: #f0e8d9; color: #80542e; }
.lp-av-xs.p { background: #ead9f0; color: #5e2e80; }

[data-theme="dark"] .lp-av-xs.g { background: #1e3d1e; color: #7ab377; }
[data-theme="dark"] .lp-av-xs.b { background: #1a2a3d; color: #6a9fd8; }
[data-theme="dark"] .lp-av-xs.o { background: #3d2a1a; color: #d4934a; }
[data-theme="dark"] .lp-av-xs.p { background: #2e1a3d; color: #b07ad4; }

.card-payment {
    bottom: 80px;
    right: 180px;
    transform: translateX(-50%) rotate(2deg);
    padding: 12px 16px;
    width: 280px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pay-av {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-btn);
    flex-shrink: 0;
}

[data-theme="dark"] .pay-av {
    background: #1e3d1e;
    color: #7ab377;
}

.pay-info {
    flex: 1;
    min-width: 0;
}

.pay-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.pay-date {
    font-size: 11px;
    color: var(--text-muted);
}

.pay-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.pay-amount {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.pay-badge {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 20px;
    background: #ddebd9;
    color: #2e5e2b;
    font-weight: 500;
}

[data-theme="dark"] .pay-badge {
    background: #1e3d1e;
    color: #7ab377;
}

/* ─── Hero responsive ────────────────────────────────────────── */
@media (max-width: 1100px) {
    .float-card {
        display: none;
    }

    .lp-hero {
        min-height: auto;
        padding: 70px 48px 60px;
    }
}


@media (max-width: 768px) {
    .lp-hero {
        min-height: auto;
        padding: 60px 24px 52px;
    }

    .float-card {
        display: none;
    }

    .lp-hero h1 {
        font-size: 34px;
    }

    .lp-hero p {
        font-size: 16px;
    }
}

/* ─── Screenshots ────────────────────────────────────────────── */

.lp-screenshots {
    padding: 0 48px 64px;
    background: var(--bg-card);
}

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

.lp-screenshot-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lp-screenshot-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
}

.lp-screenshot-box {
    aspect-ratio: 16 / 10;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: var(--bg-base);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
}

.lp-screenshot-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 9px;
}

.lp-screenshot-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.lp-screenshot-placeholder span {
    font-size: 13px;
    color: var(--text-muted);
}

.lp-screenshot-icon {
    width: 32px;
    height: 32px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ─── Features ───────────────────────────────────────────────── */

.lp-features {
    background: var(--bg-base);
    padding: 72px 48px;
    text-align: center;
}

.lp-section-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-btn);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 12px;
}

.lp-section-title {
    font-size: 30px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.lp-section-sub {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 440px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

.lp-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 820px;
    margin: 0 auto;
}

.lp-feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: left;
}

.lp-feature-icon {
    width: 36px;
    height: 36px;
    background: var(--accent-muted);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.lp-feature-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--accent-btn);
    fill: none;
    stroke-width: 1.5;
}

.lp-feature-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.lp-feature-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ─── Peek Section ───────────────────────────────────────────── */

.lp-peek {
    padding: 72px 48px;
    background: var(--bg-base);
    text-align: center;
}

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

.lp-peek-module {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
}

.lp-peek-topbar {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    padding: 12px 16px;
}

.lp-peek-page-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
}

.lp-peek-page-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 1px;
}

.lp-peek-content {
    padding: 14px;
    background: var(--bg-base);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ─── Peek: Project cards ────────────────────────────────────── */

.lp-proj-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lp-proj-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.lp-proj-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

.lp-proj-client {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 1px;
}

.lp-proj-dots {
    font-size: 14px;
    color: var(--text-muted);
}

.lp-proj-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.lp-task-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lp-task-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lp-task-circle {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    flex-shrink: 0;
}

.lp-task-circle.done {
    background: var(--accent-btn);
    border-color: var(--accent-btn);
}

.lp-task-text {
    font-size: 13px;
    color: var(--text-secondary);
}

.lp-task-text.done {
    text-decoration: line-through;
    color: var(--text-muted);
}

.lp-proj-tags {
    display: flex;
    gap: 5px;
    align-items: center;
}

.lp-badge {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 500;
}

.lp-badge.active {
    background: #ddebd9;
    color: #2e5e2b;
}

.lp-badge.in-review {
    background: #f0ead9;
    color: #5c4010;
}

[data-theme="dark"] .lp-badge.active {
    background: #1e3d1e;
    color: #7ab377;
}

[data-theme="dark"] .lp-badge.in-review {
    background: #3d2e1a;
    color: #d4a44a;
}

.lp-tag {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 20px;
    background: var(--bg-card2);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.lp-proj-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid var(--border-light);
}

.lp-proj-dates {
    font-size: 11px;
    color: var(--text-muted);
}

.lp-proj-value {
    font-size: 11px;
    font-weight: 500;
    color: var(--accent-bright);
}

/* ─── Peek: Invoice doc ──────────────────────────────────────── */

.lp-inv-doc {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e0ece0;
    padding: 16px;
}

.lp-inv-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
}

.lp-inv-from-name {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e2d;
}

.lp-inv-from-role {
    font-size: 12px;
    color: #556b52;
    margin-top: 1px;
}

.lp-inv-word {
    font-size: 14px;
    font-weight: 600;
    color: #4a7a47;
    text-align: right;
}

.lp-inv-num {
    font-size: 12px;
    color: #556b52;
    text-align: right;
    margin-top: 1px;
}

.lp-inv-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.lp-inv-meta-right {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: right;
}

.lp-inv-meta-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #8eb88c;
    margin-bottom: 2px;
}

.lp-inv-meta-val {
    font-size: 13px;
    font-weight: 500;
    color: #2c3e2d;
}

.lp-inv-meta-sub {
    font-size: 11px;
    color: #556b52;
}

.lp-inv-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
    table-layout: fixed;
}

.lp-inv-th {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #8eb88c;
    padding: 0 0 6px;
    font-weight: 500;
    border-bottom: 1px solid #e0ece0;
}

.lp-inv-th.right {
    text-align: right;
}

.lp-inv-td {
    font-size: 12px;
    color: #2c3e2d;
    padding: 7px 0;
    border-bottom: 1px solid #f0f5ee;
    word-break: break-word;
}

.lp-inv-td.right {
    text-align: right;
}

.lp-inv-total-row {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-top: 10px;
    border-top: 2px solid #e0ece0;
}

.lp-inv-total-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #8eb88c;
    margin-bottom: 2px;
}

.lp-inv-total-val {
    font-size: 16px;
    font-weight: 600;
    color: #4a7a47;
}

/* ─── Peek responsive ────────────────────────────────────────── */

@media (max-width: 768px) {
    .lp-peek {
        padding: 52px 24px;
    }

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

/* ─── Why Willow ─────────────────────────────────────────────── */

.lp-why {
    padding: 72px 48px;
    text-align: center;
    background: var(--bg-card);
}

.lp-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 600px;
    margin: 0 auto;
}

.lp-stat-card {
    padding: 24px 16px;
}

.lp-stat-value {
    font-size: 36px;
    font-weight: 600;
    color: var(--accent-btn);
    margin-bottom: 6px;
}

.lp-stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ─── CTA ────────────────────────────────────────────────────── */

.lp-cta {
    padding: 80px 48px;
    text-align: center;
    background: var(--accent-btn);
}

.lp-cta h2 {
    font-size: 34px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.lp-cta p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 32px;
}

.lp-btn-cta {
    padding: 13px 32px;
    background: #fff;
    color: var(--accent-btn);
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.lp-btn-cta:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* ─── Footer ─────────────────────────────────────────────────── */

.lp-footer {
    padding: 28px 48px;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lp-footer-left {
    font-size: 13px;
    color: var(--text-muted);
}

.lp-footer-right {
    font-size: 13px;
    color: var(--text-muted);
}

.lp-footer-right a {
    color: var(--accent-btn);
    text-decoration: none;
}

.lp-footer-right a:hover {
    text-decoration: underline;
}

/* ─── Responsive ─────────────────────────────────────────────── */

@media (max-width: 768px) {
    .lp-nav {
        padding: 0 20px;
    }

    .lp-hero {
        padding: 60px 24px 52px;
    }

    .lp-hero h1 {
        font-size: 34px;
    }

    .lp-hero p {
        font-size: 16px;
    }

    .lp-screenshots {
        padding: 0 24px 48px;
    }

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

    .lp-features {
        padding: 52px 24px;
    }

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

    .lp-why {
        padding: 52px 24px;
    }

    .lp-stat-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
    }

    .lp-cta {
        padding: 60px 24px;
    }

    .lp-cta h2 {
        font-size: 26px;
    }

    .lp-footer {
        padding: 24px 20px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}