/* =====================================================================
   Public brochure site. Loaded only on the marketing pages, on top of
   app.css - the portals never pay for these bytes.
   ===================================================================== */

.lp-site-header {
    position: sticky; top: 0; z-index: 30;
    background: rgba(255,255,255,.94);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid var(--lp-border);
}
.lp-site-header__inner {
    display: flex; align-items: center; gap: var(--lp-space-4);
    min-height: 64px;
}
.lp-logo {
    display: inline-flex; align-items: center; gap: var(--lp-space-2);
    font-weight: 700; font-size: var(--lp-text-lg); letter-spacing: -.02em;
    color: var(--lp-ink); text-decoration: none;
}
.lp-logo__mark {
    display: grid; place-items: center;
    width: 30px; height: 30px; border-radius: 8px;
    background: var(--lp-brand); color: #fff; font-size: 15px;
}

.lp-site-nav { display: flex; align-items: center; gap: var(--lp-space-1); margin-left: auto; }
.lp-site-nav__link {
    padding: var(--lp-space-2) var(--lp-space-3);
    min-height: var(--lp-tap); display: inline-flex; align-items: center;
    color: var(--lp-text-2); text-decoration: none; font-weight: 550; border-radius: var(--lp-radius);
}
.lp-site-nav__link:hover { background: var(--lp-surface-2); color: var(--lp-text); }
.lp-site-nav__link[aria-current="page"] { color: var(--lp-text); font-weight: 650; }

/* The mobile menu is a <details> element: it works with no JavaScript and
   is keyboard-operable for free. */
.lp-site-menu { display: none; margin-left: auto; }
.lp-site-menu > summary {
    list-style: none; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    min-width: var(--lp-tap); min-height: var(--lp-tap);
    border: 1px solid var(--lp-border-strong); border-radius: var(--lp-radius);
}
.lp-site-menu > summary::-webkit-details-marker { display: none; }
.lp-site-menu__panel {
    position: absolute; left: 0; right: 0;
    background: var(--lp-surface); border-bottom: 1px solid var(--lp-border);
    box-shadow: var(--lp-shadow); padding: var(--lp-space-3) var(--lp-space-4);
}
.lp-site-menu__panel a { display: block; padding: var(--lp-space-3); min-height: var(--lp-tap); }

@media (max-width: 860px) {
    .lp-site-nav { display: none; }
    .lp-site-menu { display: block; }
}

/* ── Sections ──────────────────────────────────────────────────────── */
.lp-section { padding: var(--lp-space-16) 0; }
.lp-section--tight { padding: var(--lp-space-12) 0; }
.lp-section--alt { background: var(--lp-surface); border-top: 1px solid var(--lp-border); border-bottom: 1px solid var(--lp-border); }
.lp-section__head { max-width: 680px; margin-bottom: var(--lp-space-8); }
.lp-section__eyebrow {
    font-size: var(--lp-text-sm); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--lp-brand); margin: 0 0 var(--lp-space-2);
}

/* Hero: type-led, no oversized artwork, no gradient wash. */
.lp-hero { padding: var(--lp-space-16) 0 var(--lp-space-12); }
.lp-hero__title {
    font-size: clamp(2rem, 5vw, 3.1rem);
    line-height: 1.08; letter-spacing: -.03em; max-width: 16ch; margin-bottom: var(--lp-space-4);
}
.lp-hero__lede { font-size: var(--lp-text-lg); color: var(--lp-text-2); max-width: 56ch; }
.lp-hero__actions { display: flex; flex-wrap: wrap; gap: var(--lp-space-3); margin-top: var(--lp-space-6); }
.lp-hero__note { font-size: var(--lp-text-sm); color: var(--lp-text-3); margin-top: var(--lp-space-4); }

.lp-feature { padding: var(--lp-space-5); }
.lp-feature__icon {
    display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: var(--lp-space-3);
    border-radius: 10px; background: var(--lp-brand-soft); color: var(--lp-brand-strong); font-size: 18px;
}
.lp-feature__title { font-size: var(--lp-text-base); font-weight: 650; margin-bottom: var(--lp-space-1); }
.lp-feature p { color: var(--lp-text-2); font-size: var(--lp-text-sm); margin: 0; }

/* Numbered steps for How it works */
.lp-steps { counter-reset: step; display: grid; gap: var(--lp-space-6); }
.lp-step { display: flex; gap: var(--lp-space-4); }
.lp-step__num {
    counter-increment: step; flex: none;
    display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px;
    background: var(--lp-ink); color: #fff; font-weight: 700; font-size: var(--lp-text-sm);
}
.lp-step__num::before { content: counter(step); }
.lp-step__title { font-weight: 650; margin-bottom: var(--lp-space-1); }
.lp-step p { color: var(--lp-text-2); margin: 0; }

/* ── Pricing ───────────────────────────────────────────────────────── */
.lp-price-grid { display: grid; gap: var(--lp-space-4); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); align-items: start; }
.lp-price { display: flex; flex-direction: column; height: 100%; }
.lp-price--featured { border-color: var(--lp-brand); box-shadow: 0 0 0 1px var(--lp-brand), var(--lp-shadow); }
.lp-price__name { font-weight: 650; font-size: var(--lp-text-lg); }
.lp-price__amount { font-size: var(--lp-text-3xl); font-weight: 700; letter-spacing: -.03em; margin: var(--lp-space-2) 0 0; }
.lp-price__period { font-size: var(--lp-text-sm); color: var(--lp-text-3); font-weight: 500; }
.lp-price__list { list-style: none; margin: var(--lp-space-4) 0; padding: 0; display: grid; gap: var(--lp-space-2); }
.lp-price__list li { display: flex; gap: var(--lp-space-2); font-size: var(--lp-text-sm); color: var(--lp-text-2); }
.lp-price__list li::before { content: "✓"; color: var(--lp-brand); font-weight: 700; flex: none; }
.lp-price .lp-btn { margin-top: auto; }

/* ── FAQ / footer ──────────────────────────────────────────────────── */
.lp-faq { border-top: 1px solid var(--lp-border); }
.lp-faq__item { border-bottom: 1px solid var(--lp-border); }
.lp-faq__item > summary {
    cursor: pointer; padding: var(--lp-space-4) 0; font-weight: 600; min-height: var(--lp-tap);
    display: flex; align-items: center; justify-content: space-between; gap: var(--lp-space-3);
}
.lp-faq__item > summary::marker { content: ""; }
.lp-faq__item > summary::after { content: "+"; color: var(--lp-text-3); font-size: var(--lp-text-xl); }
.lp-faq__item[open] > summary::after { content: "−"; }
.lp-faq__item p { color: var(--lp-text-2); padding-bottom: var(--lp-space-4); margin: 0; }

.lp-cta-band {
    background: var(--lp-ink); color: #fff;
    padding: var(--lp-space-12) 0;
}
.lp-cta-band h2 { color: #fff; }
.lp-cta-band p { color: #c3ccda; max-width: 52ch; }

.lp-site-footer {
    background: var(--lp-surface); border-top: 1px solid var(--lp-border);
    padding: var(--lp-space-10) 0 var(--lp-space-8);
    font-size: var(--lp-text-sm);
}
.lp-site-footer__cols { display: grid; gap: var(--lp-space-8); grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.lp-site-footer h3 { font-size: var(--lp-text-sm); text-transform: uppercase; letter-spacing: .06em; color: var(--lp-text-3); }
.lp-site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--lp-space-2); }
.lp-site-footer a { color: var(--lp-text-2); text-decoration: none; }
.lp-site-footer a:hover { color: var(--lp-text); text-decoration: underline; }
.lp-site-footer__legal {
    margin-top: var(--lp-space-8); padding-top: var(--lp-space-5);
    border-top: 1px solid var(--lp-border); color: var(--lp-text-3);
    display: flex; flex-wrap: wrap; gap: var(--lp-space-4); justify-content: space-between;
}

/* ── Auth pages ────────────────────────────────────────────────────── */
.lp-auth { min-height: 100vh; display: grid; place-items: center; padding: var(--lp-space-6) var(--lp-space-4); }
.lp-auth__card { width: 100%; max-width: 420px; }
.lp-auth__card--wide { max-width: 620px; }
.lp-auth__head { text-align: center; margin-bottom: var(--lp-space-6); }
.lp-auth__foot { text-align: center; margin-top: var(--lp-space-5); font-size: var(--lp-text-sm); color: var(--lp-text-2); }
