/* Front page for visitors who are not signed in (inc/front.php). index.php adds body.fp-page. */
html {
    scroll-behavior: smooth;
}
body.fp-page {
    background: #eef2f9;
}
body.fp-page .BodyClass {
    box-sizing: border-box;
}
body.fp-page .CTBody {
    box-sizing: border-box;
    width: auto;
    max-width: 1080px;
    margin: 0 auto;
    min-height: 0;
    overflow: visible;
}
body.fp-page .Box_Right:empty {
    display: none;
}

.fp {
    color: #1f2a4d;
    font-size: 17px;
    line-height: 1.55;
    padding: 8px 4px 24px;
}
.fp h1, .fp h2, .fp h3 {
    color: #1d3a78;
    line-height: 1.25;
}
.fp h1 {
    font-size: 34px;
    margin: 0 0 14px;
}
.fp h2 {
    font-size: 26px;
    margin: 0 0 14px;
}
.fp h3 {
    font-size: 19px;
    margin: 26px 0 10px;
}
.fp p {
    margin: 0 0 12px;
}
.fp a {
    color: #2b5bb3;
}

.fp-hero {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 28px 28px 30px;
    background: #fff;
    border: 1px solid #c9d3ea;
    border-radius: 12px;
}
.fp-hero-text {
    flex: 1;
}
.fp-lead {
    font-size: 19px;
    color: #33406a;
}
.fp-hero-img {
    width: 150px;
    height: auto;
    flex: none;
}
.fp-paths {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}
.fp-btn {
    display: inline-block;
    padding: 11px 18px;
    border: 2px solid #466BB0;
    border-radius: 8px;
    background: #fff;
    color: #466BB0 !important;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
}
.fp-btn-primary {
    background: #466BB0;
    color: #fff !important;
}
.fp-btn:hover {
    filter: brightness(0.93);
}

.fp-section {
    margin-top: 18px;
    padding: 26px 28px;
    background: #fff;
    border: 1px solid #c9d3ea;
    border-radius: 12px;
    scroll-margin-top: 70px;
}
.fp-steps {
    list-style: none;
    counter-reset: fpstep;
    padding: 0;
    margin: 0;
}
.fp-steps li {
    counter-increment: fpstep;
    position: relative;
    padding: 2px 0 14px 48px;
}
.fp-steps li::before {
    content: counter(fpstep);
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #466BB0;
    color: #fff;
    font-weight: bold;
    text-align: center;
    line-height: 32px;
}
.fp-features {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.fp-features li {
    padding: 14px 16px;
    background: #f2f5fb;
    border-radius: 8px;
}
.fp-features strong {
    display: block;
    color: #1d3a78;
    margin-bottom: 2px;
}
.fp-needs {
    margin: 0 0 12px;
    padding-left: 22px;
}
.fp-needs li {
    margin-bottom: 4px;
}
.fp-note {
    color: #4a5578;
}
.fp-links {
    text-align: center;
    margin-top: 18px;
    font-size: 15px;
}

@media (max-width: 760px) {
    .fp {
        font-size: 16px;
        padding: 4px 0 20px;
    }
    .fp h1 {
        font-size: 26px;
    }
    .fp h2 {
        font-size: 22px;
    }
    .fp-hero, .fp-section {
        padding: 18px 16px;
    }
    .fp-hero-img {
        display: none;
    }
    .fp-paths .fp-btn {
        display: block;
        box-sizing: border-box;
        width: 100%;
        text-align: center;
    }
    .fp-features {
        grid-template-columns: 1fr;
    }
}
