/* LX MAPPER — public landing page.
   Loaded only by the landing page, so the auth pages stay lean.
   Shares the tokens declared in site.css. */

body.lx-home {
    display: block;
    padding: 0;
    background: var(--lx-surface);
}

.lp-wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

/* ------------------------------------------------------------------ nav */
.lp-nav {
    position: sticky; top: 0; z-index: 20;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(1.6) blur(8px);
    border-bottom: 1px solid var(--lx-line);
}
.lp-nav-in { display: flex; align-items: center; gap: 14px; height: 62px; }
.lp-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.lp-logo img { border-radius: 7px; display: block; }
.lp-logo b { font-size: 15px; font-weight: 700; letter-spacing: .06em; color: var(--lx-brand); }
.lp-nav-sp { flex: 1; }
.lp-nav a.lp-link { color: var(--lx-ink-soft); text-decoration: none; font-size: 13.5px; }
.lp-nav a.lp-link:hover { color: var(--lx-accent); }

/* ----------------------------------------------------------------- hero */
.lp-hero { padding: 68px 0 56px; border-bottom: 1px solid var(--lx-line); }
.lp-eyebrow {
    font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--lx-accent); margin: 0 0 16px;
}
.lp-hero h1 {
    font-size: clamp(30px, 4.6vw, 45px); line-height: 1.12; margin: 0 0 18px;
    color: var(--lx-brand); font-weight: 700; letter-spacing: -.015em; text-wrap: balance;
    max-width: 17ch;
}
.lp-lede { font-size: 17px; line-height: 1.62; color: var(--lx-ink-soft); max-width: 62ch; margin: 0 0 30px; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.lp-btn {
    display: inline-block; padding: 12px 24px; border-radius: 8px; font-size: 14.5px;
    font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer;
}
.lp-btn-pri { background: var(--lx-accent); color: #fff; }
.lp-btn-pri:hover { background: var(--lx-accent-dk); }
.lp-btn-sec { border-color: var(--lx-line); color: var(--lx-ink); background: #fff; }
.lp-btn-sec:hover { border-color: var(--lx-accent); color: var(--lx-accent); }
.lp-note { font-size: 13px; color: var(--lx-ink-faint); }

/* --------------------------------------------------------------- figures */
.lp-figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px;
           background: var(--lx-line); border: 1px solid var(--lx-line); border-radius: 10px;
           overflow: hidden; margin: 44px 0 0; }
.lp-fig { background: #fff; padding: 20px 18px; }
.lp-fig b { display: block; font-size: 25px; font-weight: 700; color: var(--lx-brand);
            font-variant-numeric: tabular-nums; line-height: 1.1; }
.lp-fig span { display: block; font-size: 12px; color: var(--lx-ink-faint); margin-top: 5px; line-height: 1.4; }

/* -------------------------------------------------------------- sections */
.lp-sec { padding: 62px 0; border-bottom: 1px solid var(--lx-line); }
.lp-sec h2 { font-size: 25px; margin: 0 0 12px; color: var(--lx-brand); font-weight: 700; letter-spacing: -.01em; }
.lp-sec > .lp-sub { font-size: 15.5px; color: var(--lx-ink-soft); max-width: 62ch; margin: 0 0 34px; line-height: 1.6; }

.lp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 22px; }
.lp-card { background: #fff; border: 1px solid var(--lx-line); border-radius: 10px; padding: 22px 22px 24px; }
.lp-card h3 { margin: 0 0 8px; font-size: 15.5px; color: var(--lx-brand); font-weight: 700; }
.lp-card p { margin: 0; font-size: 13.8px; line-height: 1.62; color: var(--lx-ink-soft); }
.lp-card .lp-ico { font-size: 19px; color: var(--lx-accent); margin-bottom: 12px; display: block; }

/* ---------------------------------------------------------------- plans */
.lp-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.lp-plan { background: #fff; border: 1px solid var(--lx-line); border-radius: 10px; padding: 24px; display: flex; flex-direction: column; }
.lp-plan.feature { border: 2px solid var(--lx-accent); }
.lp-plan-tag { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
               color: var(--lx-accent); margin-bottom: 10px; }
.lp-plan h3 { margin: 0 0 6px; font-size: 19px; color: var(--lx-brand); font-weight: 700; }
.lp-plan .lp-for { font-size: 13px; color: var(--lx-ink-faint); margin: 0 0 18px; line-height: 1.5; }
.lp-plan ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 9px; }
.lp-plan li { font-size: 13.5px; color: var(--lx-ink-soft); line-height: 1.5; padding-left: 22px; position: relative; }
.lp-plan li:before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--lx-accent); font-weight: 700; }
.lp-plan li.no { color: var(--lx-ink-faint); }
.lp-plan li.no:before { content: "\2013"; color: var(--lx-ink-faint); }
.lp-plan .lp-plan-foot { margin-top: auto; }

/* ---------------------------------------------------------------- steps */
.lp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; counter-reset: s; }
.lp-step { counter-increment: s; padding-top: 40px; position: relative; }
.lp-step:before {
    content: counter(s); position: absolute; top: 0; left: 0;
    width: 28px; height: 28px; border-radius: 50%; background: var(--lx-accent); color: #fff;
    display: grid; place-items: center; font-size: 13px; font-weight: 700;
}
.lp-step h3 { margin: 0 0 6px; font-size: 15px; color: var(--lx-brand); font-weight: 700; }
.lp-step p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--lx-ink-soft); }

/* --------------------------------------------------------------- author */
.lp-author { display: flex; gap: 22px; align-items: flex-start; flex-wrap: wrap; }
.lp-author img { border-radius: 10px; border: 1px solid var(--lx-line); }
.lp-author div { flex: 1; min-width: 260px; }
.lp-author p { font-size: 14.5px; line-height: 1.68; color: var(--lx-ink-soft); margin: 0 0 12px; max-width: 62ch; }

/* --------------------------------------------------------------- footer */
.lp-foot { padding: 34px 0 44px; font-size: 13px; color: var(--lx-ink-faint); }
.lp-foot-in { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; }
.lp-foot a { color: var(--lx-ink-soft); text-decoration: none; }
.lp-foot a:hover { color: var(--lx-accent); text-decoration: underline; }
.lp-foot-sp { flex: 1; }

@media (max-width: 640px) {
    .lp-hero { padding: 46px 0 40px; }
    .lp-sec { padding: 46px 0; }
    .lp-cta .lp-btn { flex: 1; text-align: center; }
    .lp-nav-in { height: 56px; }
}
