/* =============================================
   Paid-Ads Landing Pages (ads-lp.css)
   Loaded on /retirement-guardrails-software/ and
   /compare-retirement-income-software/ AFTER vs.css.
   Two jobs: (1) strip the site nav to a logo-only header for
   focused paid traffic, (2) add the few LP-specific components
   that vs.css does not already provide.
   ============================================= */

/* ---- Stripped / minimal header (logo only) ----
   The body carries `ads-lp il-banner-dismissed`. The dismissed class
   already zeroes --il-banner-height and repositions the fixed header;
   here we hide the announcement bar outright plus the mega-nav and the
   header action buttons, leaving just the centered logo. */
.ads-lp .il-banner { display: none !important; }
.ads-lp .il-nav { display: none !important; }
.ads-lp .il-header__separator { display: none !important; }
.ads-lp .il-header__actions { display: none !important; }
.ads-lp .il-header__mobile-toggle { display: none !important; }
.ads-lp .il-mobile-nav { display: none !important; }

.ads-lp .il-header__inner {
    justify-content: center;
}

/* Keep the logo a plain, non-distracting anchor. */
.ads-lp .il-header__logo {
    margin: 0;
}

/* ---- Wide comparison table (4 columns) ----
   The category-comparison LP shows Income Lab against three incumbents,
   so the table needs more room than the 3-column vs-pages. The wrapper
   already scrolls on small screens (vs.css .vs-table-wrap overflow-x). */
.vs-table-section--wide .vs-table-section__inner {
    max-width: 64rem;
}

.vs-table-section--wide .vs-table thead th:nth-child(2) {
    color: var(--primary-yellow);
}

/* ---- LP proof band (aggregate proof, no named testimonials) ---- */
.lp-proof {
    padding: 3.5rem 2.5rem;
    background: #fff;
    border-top: 1px solid #eef2f7;
}

.lp-proof__inner {
    max-width: 60rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.lp-proof__item {
    padding: 1.25rem 1rem;
    border-radius: 0.75rem;
    background: #f8fafc;
    border: 1px solid #eef2f7;
}

.lp-proof__stat {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.lp-proof__label {
    display: block;
    font-size: 0.8125rem;
    color: #475569;
    line-height: 1.45;
}

/* ---- Pricing anchor callout (.lp-pricing) now lives in vs.css because the
   reworked comparison pages (vs-moneyguidepro, vs-boldin) also render it and
   they load vs.css only. ---- */

/* ---- Decision cue after the comparison table (compare LP only) ---- */
.lp-verdict {
    max-width: 52rem;
    margin: 2rem auto 0;
}

.lp-verdict h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #121F31;
    text-align: center;
    margin-bottom: 1.25rem;
}

.lp-verdict__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.lp-verdict__item {
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.lp-verdict__item--us {
    background: #f0f4fb;
    border-color: #dbe4f3;
}

.lp-verdict__item strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #121F31;
    margin-bottom: 0.5rem;
}

.lp-verdict__item p {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.55;
    margin: 0;
}

/* ---- Boldin-style audience qualifier is styled in vs.css (.vs-qualify)
   because the Boldin comparison page loads vs.css, not this file. ---- */

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .lp-proof { padding: 2.5rem 1.5rem; }
    .lp-proof__inner { grid-template-columns: 1fr; gap: 1rem; }

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

    /* Wide comparison table: pin the capability column so the row label stays
       visible while the four vendor columns scroll horizontally. */
    .vs-table-section--wide .vs-table thead th:first-child,
    .vs-table-section--wide .vs-table tbody td:first-child {
        position: sticky;
        left: 0;
        z-index: 2;
        min-width: 8.5rem;
        max-width: 9.5rem;
        box-shadow: 2px 0 4px rgba(0,0,0,0.08);
    }
    .vs-table-section--wide .vs-table thead th:first-child {
        background: var(--dark-blue);
        z-index: 3;
    }
    .vs-table-section--wide .vs-table tbody td:first-child {
        background: #fff;
    }
    .vs-table-section--wide .vs-table tbody tr:nth-child(odd) td:first-child {
        background: #fafbfc;
    }
}
