*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --navy: #102c46;
    --blue: #1f5a82;
    --steel: #63798a;
    --cyan: #65a9c7;
    --ink: #25323b;
    --muted: #5f6c75;
    --light: #f3f6f8;
    --white: #fff;
    --border: #d8e0e5;
    --shadow: rgba(16,44,70,.10);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--blue);
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

.container {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

/* Keep major sections aligned to the same site-wide content grid. */
.narrow {
    max-width: none;
}

.container.narrow {
    width: min(1120px, calc(100% - 48px));
}

.site-header {
    background: var(--navy);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    min-height: 68px;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    width: 125px;
    height: auto;
}

.nav-list {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: #fff;
    font-weight: 600;
}

.main-nav li.active a {
    border-bottom: 2px solid var(--cyan);
    padding-bottom: 5px;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    width: 42px;
    height: 42px;
}

    .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
        content: "";
        display: block;
        width: 24px;
        height: 2px;
        background: #fff;
        position: relative;
    }

        .nav-toggle span::before {
            position: absolute;
            top: -7px;
        }

        .nav-toggle span::after {
            position: absolute;
            top: 7px;
        }

/* ---------------------------------------------------------
   Hero
--------------------------------------------------------- */

.hero {
    position: relative;
    padding: 92px 0 96px;
    color: #fff;
    background: linear-gradient( 90deg, rgba(9, 34, 52, .80) 0%, rgba(9, 34, 52, .62) 45%, rgba(9, 34, 52, .18) 100% ), url("/assets/img/bk.jpg");
    background-size: cover;
    background-position: center center;
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* Shared two-column layouts used elsewhere on the site. */
/* Shared two-column layouts used elsewhere on the site. */
.split,
.cta-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 64px;
    align-items: center;
}

.hero h1,
.page-hero h1 {
    font-size: clamp(2.35rem, 5vw, 4.2rem);
    line-height: 1.08;
    margin: .2em 0 .35em;
    letter-spacing: -.035em;
}

.hero h1 {
    max-width: 760px;
    color: #fff;
}

.page-hero h1 {
    color: var(--navy);
}

.hero .eyebrow {
    color: #69bde5;
}

.hero-lead {
    max-width: 690px;
    margin: 0;
    color: #e2ebf0;
    font-size: 1.2rem;
}

.feature-image {
    border-radius: 4px;
    box-shadow: 0 18px 45px var(--shadow);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .13em;
    font-weight: 750;
    font-size: .78rem;
    color: var(--blue);
    margin: 0 0 10px;
}

.hero-actions {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-top: 30px;
}

.button {
    display: inline-block;
    background: var(--blue);
    color: #fff;
    border: 0;
    border-radius: 3px;
    padding: 12px 20px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

    .button:hover {
        background: var(--navy);
        color: #fff;
        text-decoration: none;
    }

.text-link {
    font-weight: 700;
}

.light-link {
    color: #fff;
}

    .light-link:hover {
        color: #69bde5;
    }

.section {
    padding: 76px 0;
}

.section-light {
    background: var(--light);
}

.section-heading {
    max-width: 850px;
    margin-bottom: 38px;
}

    .section-heading h2, .section h2 {
        color: var(--navy);
        font-size: clamp(1.7rem,3vw,2.45rem);
        line-height: 1.2;
        margin: .2em 0 .45em;
    }

    .section-heading.light h2 {
        color: #fff;
    }

.grid-4, .grid-3, .steps, .evidence-grid {
    display: grid;
    gap: 22px;
}

.grid-4 {
    grid-template-columns: repeat(4,1fr);
}

.grid-3, .steps {
    grid-template-columns: repeat(3,1fr);
}

.card {
    border-top: 3px solid var(--cyan);
    padding: 24px;
    background: #fff;
    box-shadow: 0 8px 26px var(--shadow);
}

    .card h3, .card h2 {
        font-size: 1.15rem;
        margin: 0 0 10px;
        color: var(--navy);
    }

    .card p {
        margin-bottom: 0;
        color: var(--muted);
    }

/* ---------------------------------------------------------
   How It Works
--------------------------------------------------------- */

.how-it-works {
    background: #f6f8fa;
}

    .how-it-works .section-heading {
        margin-bottom: 44px;
    }

        .how-it-works .section-heading h2 {
            color: var(--navy);
        }

        .how-it-works .section-heading p:not(.eyebrow) {
            max-width: 900px;
        }

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.step {
    background: #fff;
    border: 1px solid #e1e6ea;
    border-radius: 6px;
    padding: 38px 34px 34px;
    text-align: center;
    box-shadow: 0 8px 22px rgba(15, 43, 63, .06);
}

.step-icon {
    height: 118px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

    .step-icon img {
        width: auto;
        height: auto;
        max-width: 105px;
        max-height: 105px;
        filter: none;
        opacity: 1;
    }

.step h3 {
    margin: 0 0 14px;
    color: var(--navy);
    font-size: 1.18rem;
}

.step p {
    margin: 0;
    color: var(--text);
    line-height: 1.7;
}

.fine-print {
    margin: 34px 0 0;
    text-align: center;
    font-size: .82rem;
    color: var(--muted);
}


/* Mobile */

.evidence-grid {
    grid-template-columns: repeat(2,1fr);
}

figure {
    margin: 0;
    background: var(--light);
    padding: 18px;
}

    figure img {
        width: 100%;
    }

figcaption {
    text-align: center;
    font-weight: 700;
    color: var(--steel);
    margin-top: 12px;
}

.cta-section {
    background: #e9f0f4;
}

.cta-grid {
    grid-template-columns: 1fr auto;
}

    .cta-grid p {
        max-width: 780px;
    }

.page-hero {
    background: var(--light);
    padding: 70px 0;
}

.page-hero.compact {
    padding: 48px 0 42px;
}

.page-hero.compact + .section {
    padding-top: 42px;
}

.page-hero p {
    font-size: 1.1rem;
    color: var(--muted);
}

/* ---------------------------------------------------------
   Contact
--------------------------------------------------------- */

.contact-form-wrap {
    max-width: 720px;
    margin: 0 auto;
}

.contact-form-wrap > h2 {
    margin-top: 0;
    color: var(--navy);
}

.contact-form-wrap > p {
    margin-bottom: 28px;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.contact-form label {
    font-weight: 700;
    color: var(--navy);
}

.contact-form input, .contact-form textarea {
    width: 100%;
    display: block;
    margin-top: 6px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 3px;
    font: inherit;
    background: #fff;
}

.contact-form textarea {
    resize: vertical;
}

.form-note {
    font-size: .85rem;
    color: var(--muted);
}

.form-status {
    background: var(--light);
    border-left: 3px solid var(--cyan);
    padding: 12px 14px;
    margin: 16px 0;
}

.hp {
    position: absolute;
    left: -9999px;
}

/* ---------------------------------------------------------
   Contact Form Confirmation
--------------------------------------------------------- */

.form-success {
    margin-top: 28px;
    padding: 22px 24px;
    border: 1px solid #3b8748;
    border-left: 5px solid #3b8748;
    border-radius: 6px;
    background: #edf8ef;
    color: #185c27;
}

.form-success strong {
    display: block;
    font-size: 1.05rem;
}

.form-success p {
    margin: 6px 0 0;
    color: #315f39;
}

/* ---------------------------------------------------------
   Legal Pages
--------------------------------------------------------- */

.legal h2 {
    font-size: 1.65rem;
    margin: 1.5em 0 .5em;
}

.legal h3 {
    font-size: 1.2rem;
    margin: 1.4em 0 .4em;
}

.legal {
    min-height: 300px;
}

.site-footer {
    background: #0a2033;
    color: #b9c6cf;
    padding: 38px 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
}

.footer-logo {
    width: 95px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 22px;
}

    .footer-nav a {
        color: #dce5ea;
    }

.site-footer p {
    margin: 0;
    font-size: .85rem;
}

/* ---------------------------------------------------------
   Responsive: tablet / small desktop
--------------------------------------------------------- */

@media(max-width:900px) {

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .split {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero {
        padding: 62px 0 66px;
        background-position: 80% center;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .step {
        padding: 30px 26px;
    }

    .step-icon {
        height: 100px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        margin: auto;
    }

    .footer-nav {
        flex-wrap: wrap;
    }
}

@media(max-width:680px) {

    .hero,
    .page-hero {
        border-top: 30px solid var(--navy);
        margin-top: -30px;
    }

    .logo img {
        width: 115px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-list {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: #173f5c;
        padding: 12px 18px 22px;
        gap: 0;
        box-shadow: 0 8px 18px rgba(16, 44, 70, .16);
    }

    .nav-list.is-open {
        display: block;
    }

    .nav-list li {
        padding: 10px 0;
    }

    .main-nav li.active a {
        border: 0;
        color: var(--cyan);
    }

    .section {
        padding: 54px 0;
    }

    .grid-4, .grid-3, .evidence-grid {
        grid-template-columns: 1fr;
    }

    .cta-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }
}
