:root,
[data-skin="blue"] {
    --pms-hero-1a: #0aa89e;
    --pms-hero-1b: #3ad07a;
    --pms-hero-2a: #f39c12;
    --pms-hero-2b: #ff5c7a;
    --pms-hero-3a: #7c4dff;
    --pms-hero-3b: #e040fb;
    --pms-stat-properties: #2f6fed;
    --pms-stat-units: #0aa89e;
    --pms-stat-vacant: #f39c12;
    --pms-theme: #0971fe;
    --pms-theme-2: #0167f2;
}
[data-skin="green"] {
    --pms-hero-1a: #0a8f62;
    --pms-hero-1b: #3dcf87;
    --pms-hero-2a: #2bbbad;
    --pms-hero-2b: #1abc9c;
    --pms-hero-3a: #27ae60;
    --pms-hero-3b: #52d681;
    --pms-stat-properties: #148f77;
    --pms-stat-units: #1abc9c;
    --pms-stat-vacant: #e67e22;
    --pms-theme: #0fac81;
    --pms-theme-2: #0c8f6b;
}
[data-skin="purple"] {
    --pms-hero-1a: #6c5ce7;
    --pms-hero-1b: #a29bfe;
    --pms-hero-2a: #e056fd;
    --pms-hero-2b: #be2edd;
    --pms-hero-3a: #8e44ad;
    --pms-hero-3b: #d980fa;
    --pms-stat-properties: #6c5ce7;
    --pms-stat-units: #a29bfe;
    --pms-stat-vacant: #e056fd;
    --pms-theme: #854fff;
    --pms-theme-2: #6f3de0;
}
[data-skin="red"] {
    --pms-hero-1a: #e74c3c;
    --pms-hero-1b: #ff7675;
    --pms-hero-2a: #e67e22;
    --pms-hero-2b: #ff6b6b;
    --pms-hero-3a: #c0392b;
    --pms-hero-3b: #e17055;
    --pms-stat-properties: #c0392b;
    --pms-stat-units: #e67e22;
    --pms-stat-vacant: #f1c40f;
    --pms-theme: #e14954;
    --pms-theme-2: #c93b46;
}
[data-skin="egyptian"] {
    --pms-hero-1a: #1a365d;
    --pms-hero-1b: #2b6cb0;
    --pms-hero-2a: #c05621;
    --pms-hero-2b: #ed8936;
    --pms-hero-3a: #2a4365;
    --pms-hero-3b: #4299e1;
    --pms-stat-properties: #1a365d;
    --pms-stat-units: #2b6cb0;
    --pms-stat-vacant: #c05621;
    --pms-theme: #2263b3;
    --pms-theme-2: #1b5194;
}
[data-skin="kwakodi"] {
    --pms-hero-1a: #8d6e63;
    --pms-hero-1b: #c4a484;
    --pms-hero-2a: #d4834a;
    --pms-hero-2b: #e8a87c;
    --pms-hero-3a: #6d4c41;
    --pms-hero-3b: #bcaaa4;
    --pms-stat-properties: #6d4c41;
    --pms-stat-units: #8d6e63;
    --pms-stat-vacant: #d4834a;
    --pms-theme: #6F4E37;
    --pms-theme-2: #5a3e2c;
}

:root {
    --lp-navy: #0b1f3a;
    --lp-navy-2: #123056;
    --lp-ink: #1c2434;
    --lp-muted: #5b677a;
    --lp-line: #e6ebf2;
    --lp-paper: #f5f7fb;
    --lp-white: #ffffff;
    --lp-accent: var(--pms-theme);
    --lp-accent-2: var(--pms-theme-2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.lp {
    margin: 0;
    font-family: Roboto, "Segoe UI", sans-serif;
    color: var(--lp-ink);
    background: var(--lp-white);
}
a { text-decoration: none; }
img { max-width: 100%; }

.lp-wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.lp-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--lp-line);
}
.lp-nav__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 64px;
}
.lp-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: var(--lp-navy);
    font-weight: 700;
}
.lp-brand img { height: 40px; width: auto; flex: none; }
.lp-brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lp-links { display: flex; align-items: center; gap: 22px; }
.lp-links a { color: var(--lp-muted); font-weight: 500; font-size: 14px; }
.lp-links a:hover { color: var(--lp-accent); }
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 11px 18px;
    font-weight: 600;
    font-size: 14px;
    border: 0;
    min-height: 44px;
}
.lp-btn--primary,
.lp-links a.lp-btn--primary {
    background: var(--lp-accent);
    color: #fff;
    font-weight: 700;
}
.lp-btn--primary:hover,
.lp-links a.lp-btn--primary:hover {
    background: var(--lp-accent-2);
    color: #fff;
}
.lp-btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.lp-btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.lp-btn--light { background: #fff; color: var(--lp-navy); font-weight: 700; }
.lp-btn--light:hover { background: #f3f6fa; color: var(--lp-navy); }
.lp-menu {
    display: none;
    background: #eef3f8;
    border: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    font-size: 22px;
    color: var(--lp-navy);
    flex: none;
}

.lp-hero {
    background:
        radial-gradient(circle at 86% 8%, color-mix(in srgb, var(--lp-accent) 42%, transparent), transparent 34%),
        linear-gradient(135deg, var(--lp-navy) 0%, var(--lp-navy-2) 52%, color-mix(in srgb, var(--lp-accent-2) 48%, #0b1f3a) 100%);
    color: #fff;
    padding: 72px 0 56px;
}
.lp-hero__grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 40px;
    align-items: center;
}
.lp-kicker {
    display: inline-block;
    background: color-mix(in srgb, var(--lp-accent) 18%, transparent);
    color: #fff;
    border: 1px solid color-mix(in srgb, var(--lp-accent) 45%, #fff);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.lp-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.12;
    font-weight: 800;
}
.lp-hero p.lead {
    margin: 0 0 28px;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255,255,255,.82);
    max-width: 560px;
}
.lp-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.lp-panel {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;
    padding: 22px;
}
.lp-panel h3 {
    margin: 0 0 14px;
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #fff;
    font-weight: 700;
}
.lp-panel li {
    list-style: none;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 0 0 12px;
    color: rgba(255,255,255,.9);
    font-size: 14px;
}
.lp-panel ul { margin: 0; padding: 0; }
.lp-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lp-accent);
    margin-top: 6px;
    flex: none;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--lp-accent) 22%, transparent);
}

.lp-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: -36px;
    position: relative;
    z-index: 2;
}
.lp-stat {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 104px;
    padding: 20px 22px;
    border-radius: 16px;
    color: #fff;
    box-shadow: 0 16px 36px rgba(11,31,58,.16);
}
.lp-stat--1 { background: linear-gradient(160deg, var(--pms-hero-1a), var(--pms-hero-1b)); }
.lp-stat--2 { background: linear-gradient(160deg, var(--pms-hero-2a), var(--pms-hero-2b)); }
.lp-stat--3 { background: linear-gradient(160deg, var(--pms-hero-3a), var(--pms-hero-3b)); }
.lp-stat--4 {
    background: linear-gradient(
        160deg,
        color-mix(in srgb, var(--pms-hero-1a) 55%, var(--pms-hero-3a)),
        color-mix(in srgb, var(--pms-hero-2b) 45%, var(--pms-hero-3b))
    );
}
.lp-stat i {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    background: rgba(255,255,255,.18);
    color: #fff;
    font-size: 22px;
}
.lp-stat__copy { min-width: 0; }
.lp-stat b {
    display: block;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
}
.lp-stat span {
    display: block;
    margin-top: 4px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.lp-section { padding: 72px 0; }
.lp-section--paper { background: var(--lp-paper); }
.lp-head { max-width: 640px; margin: 0 auto 36px; text-align: center; }
.lp-head span { color: var(--lp-accent); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.lp-head h2 { margin: 8px 0 10px; font-size: 32px; color: var(--lp-navy); }
.lp-head p { margin: 0; color: var(--lp-muted); }

.lp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-card {
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: 16px;
    padding: 22px;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.lp-card:hover {
    border-color: color-mix(in srgb, var(--lp-accent) 40%, var(--lp-line));
    box-shadow: 0 14px 30px rgba(11,31,58,.08);
    transform: translateY(-2px);
}
.lp-card i, .lp-card .bi {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--lp-accent) 12%, #fff);
    color: var(--lp-accent);
    font-size: 20px;
    margin-bottom: 14px;
}
.lp-card h3 { margin: 0 0 8px; font-size: 18px; color: var(--lp-navy); }
.lp-card p { margin: 0; color: var(--lp-muted); font-size: 14px; line-height: 1.6; }
.lp-card a { color: var(--lp-accent); font-weight: 700; }
.lp-card a:hover { text-decoration: underline; }

.lp-portals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-portal {
    border-radius: 16px;
    padding: 24px;
    min-height: 210px;
    color: #fff;
}
.lp-portal h3 { margin: 0 0 8px; }
.lp-portal p { margin: 0; opacity: .9; }
.lp-portal--admin { background: linear-gradient(160deg, var(--lp-navy), var(--lp-navy-2)); }
.lp-portal--landlord { background: linear-gradient(160deg, var(--pms-theme), var(--pms-theme-2)); }
.lp-portal--tenant { background: linear-gradient(160deg, var(--pms-hero-2a), var(--pms-hero-2b)); }

.lp-faq { max-width: 760px; margin: 0 auto; }
.lp-faq details {
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 10px;
}
.lp-faq details[open] { border-color: color-mix(in srgb, var(--lp-accent) 35%, var(--lp-line)); }
.lp-faq summary { cursor: pointer; font-weight: 600; color: var(--lp-navy); }
.lp-faq p { margin: 10px 0 0; color: var(--lp-muted); font-size: 14px; line-height: 1.6; }

.lp-contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-cta {
    background: linear-gradient(135deg, var(--lp-navy) 0%, color-mix(in srgb, var(--lp-accent-2) 55%, var(--lp-navy)) 100%);
    color: #fff;
    padding: 36px 0;
}
.lp-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.lp-cta h2 { margin: 0 0 6px; font-size: 24px; }
.lp-cta p { margin: 0; color: rgba(255,255,255,.8); }

.lp-foot {
    background: var(--lp-navy);
    color: rgba(255,255,255,.75);
    padding: 22px 0 calc(22px + env(safe-area-inset-bottom));
    font-size: 13px;
}
.lp-foot__inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lp-foot a { color: #fff; font-weight: 700; }
.lp-foot a:hover { color: color-mix(in srgb, var(--lp-accent) 35%, #fff); }

@media (max-width: 900px) {
    .lp-wrap { width: min(1120px, calc(100% - 24px)); }
    .lp-brand { flex: 1; }
    .lp-hero { padding: 36px 0 40px; }
    .lp-hero__grid, .lp-grid, .lp-portals, .lp-contact, .lp-cta__inner {
        grid-template-columns: 1fr;
    }
    .lp-cta__inner { flex-direction: column; align-items: stretch; text-align: center; }
    .lp-hero h1 { font-size: clamp(26px, 8vw, 36px); }
    .lp-hero p.lead { font-size: 16px; margin-bottom: 20px; }
    .lp-hero__actions { flex-direction: column; }
    .lp-hero__actions .lp-btn,
    .lp-cta .lp-btn { width: 100%; }
    .lp-stats { gap: 10px; margin-top: -24px; grid-template-columns: repeat(2, 1fr); }
    .lp-stat { min-height: 88px; padding: 16px; gap: 12px; }
    .lp-stat i { width: 40px; height: 40px; font-size: 18px; }
    .lp-stat b { font-size: 26px; }
    .lp-section { padding: 48px 0; }
    .lp-head h2 { font-size: 24px; }
    .lp-portal { min-height: 0; }
    .lp-card:hover { transform: none; }
    .lp-links {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: #fff;
        padding: 12px 16px 16px;
        border-bottom: 1px solid var(--lp-line);
        box-shadow: 0 12px 24px rgba(11,31,58,.12);
    }
    .lp-links.is-open { display: flex; }
    .lp-links a {
        padding: 12px 8px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    .lp-links .lp-btn--primary { color: #fff; justify-content: center; }
    .lp-menu { display: inline-flex; align-items: center; justify-content: center; }
    .lp-foot__inner {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 640px) {
    .lp-stats { grid-template-columns: 1fr; }
    .lp-stat { min-height: 84px; padding: 16px 18px; }
    .lp-stat b { font-size: 26px; }
    .lp-stat span { font-size: 12px; }
}
