/* ============================================================
   PUBLIC HOME DESIGN SYSTEM
   Shared foundation for all public marketing pages.
============================================================ */

html {
    scroll-behavior: smooth;
}

/* ============================================================
   THEME
============================================================ */

.public-home {
    --lwp-ink: #111827;
    --lwp-muted: #526276;
    --lwp-soft: #f6f8fb;
    --lwp-line: #d9e2ec;
    --lwp-panel: #ffffff;
    --lwp-teal: #155e75;
    --lwp-teal-2: #0f766e;
    --lwp-gold: #b45309;
    --lwp-green: #047857;
    --lwp-night: #111f32;
    overflow-x: clip;
    background: var(--lwp-soft);
    color: var(--lwp-ink);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ============================================================
   LAYOUT
============================================================ */

.public-home__shell {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

.public-home__section {
    padding: 88px 0;
    scroll-margin-top: 86px;
}

.public-home__section--quiet {
    background: #ffffff;
}

.public-home__section--band {
    background: linear-gradient( 180deg, #f8fbfc 0%, #eef7f8 100%);
}

/* ============================================================
   SECTION HEADINGS
============================================================ */

.public-home__section-heading {
    max-width: 780px;
    margin-bottom: 36px;
}

.public-home__section-heading--left {
    margin-bottom: 0;
}

.public-home__section-heading--center {
    margin-inline: auto;
    text-align: center;
}

.public-home__section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    color: var(--bs-text-info);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.public-home__section-heading h2 {
    margin: 0;
    color: var(--lwp-ink);
    font-size: 2.85rem;
    font-weight: 900;
    line-height: 1.06;
}

.public-home__section-heading p {
    margin: 16px 0 0;
    color: var(--lwp-muted);
    font-size: 1.02rem;
    line-height: 1.75;
}

/* ============================================================
   SHARED BUTTONS
============================================================ */

.public-home__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    gap: 10px;
    padding: 0 21px;
    border-radius: 8px;
    font-weight: 850;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

    .public-home__button:hover,
    .public-home__button:focus-visible {
        transform: translateY(-1px);
        text-decoration: none;
    }

.public-home__button--primary {
    border: 1px solid var(--bs-text-info);
    background: var(--bs-text-info);
    color: #ffffff;
    box-shadow: 0 16px 32px rgba(21, 94, 117, .22);
}

    .public-home__button--primary:hover,
    .public-home__button--primary:focus-visible {
        background: var(--bs-text-info);
        border-color: var(--bs-text-info);
        color: #ffffff;
    }

.public-home__button--secondary {
    border: 1px solid #bfccd8;
    background: rgba(255,255,255,.92);
    color: #1b2b41;
}

    .public-home__button--secondary:hover,
    .public-home__button--secondary:focus-visible {
        background: #ffffff;
        border-color: #8fa2b7;
        color: #0f172a;
    }

/* ============================================================
   SHARED CARDS
============================================================ */

.public-home__card {
    border: 1px solid var(--lwp-line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15,23,42,.05);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

    .public-home__card:hover {
        transform: translateY(-2px);
        border-color: #b7c7d8;
        box-shadow: 0 18px 36px rgba(15,23,42,.08);
    }

/* ============================================================
   SHARED ICON TILE
============================================================ */

.public-home__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #eef7f8;
    color: var(--bs-text-info);
}

/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width:620px) {

    .public-home__shell {
        width: min(100% - 22px, 1180px);
    }

    .public-home__section {
        padding: 62px 0;
    }

    .public-home__section-heading h2 {
        font-size: 2rem;
        line-height: 1.12;
    }
}
