:root {
    --bg: #f7f2ea;
    --bg-soft: #fffaf2;
    --card: #ffffff;
    --text: #1f2d3d;
    --muted: #5e6a75;
    --blue: #163f63;
    --blue-dark: #0f2e49;
    --teal: #3e8c84;
    --border: #e4dacd;
    --shadow: 0 20px 45px rgba(22, 63, 99, 0.12);
    --radius: 22px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

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

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(247, 242, 234, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    text-decoration: none;
    font-weight: 800;
    color: var(--blue);
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}

.nav-toggle {
    display: none;
    border: 1px solid var(--border);
    background: var(--card);
    border-radius: 12px;
    padding: 9px 12px;
    font-weight: 700;
    color: var(--blue);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 0.95rem;
}

    .site-nav a {
        text-decoration: none;
        color: var(--blue-dark);
        font-weight: 650;
    }

        .site-nav a:hover {
            color: var(--teal);
        }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 999px;
    padding: 12px 20px;
    font-weight: 800;
    border: 1px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

    .btn:hover {
        transform: translateY(-1px);
    }

.btn-primary {
    background: var(--blue);
    color: white;
    box-shadow: 0 12px 26px rgba(22, 63, 99, 0.22);
}

.btn-secondary {
    background: white;
    color: var(--blue);
    border-color: var(--border);
}

.hero-banner {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: var(--blue-dark);
}

    .hero-banner > img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-banner::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 90deg, rgba(15, 46, 73, 0.88) 0%, rgba(15, 46, 73, 0.68) 42%, rgba(15, 46, 73, 0.22) 100% );
    }

.hero-banner-overlay {
    position: relative;
    z-index: 2;
    max-width: var(--max);
    min-height: 620px;
    margin: 0 auto;
    padding: 80px 22px;
    display: flex;
    align-items: center;
}

.hero-banner-content {
    max-width: 720px;
    color: white;
}

    .hero-banner-content h1,
    .hero-banner-content .lead {
        color: white;
    }

    .hero-banner-content .lead {
        font-size: 1.25rem;
        color: rgba(255, 255, 255, 0.9);
    }

.eyebrow {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #e9f2ef;
    color: #225c55;
    font-weight: 800;
    font-size: 0.84rem;
}

h1,
h2,
h3 {
    color: var(--blue-dark);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

h1 {
    margin: 0;
    font-size: clamp(2.25rem, 5vw, 4.8rem);
}

h2 {
    font-size: clamp(1.85rem, 3vw, 3rem);
    margin: 0 0 14px;
}

h3 {
    font-size: 1.3rem;
    margin: 0 0 10px;
}

.lead {
    color: var(--muted);
    font-size: 1.2rem;
    max-width: 760px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.section {
    max-width: var(--max);
    margin: 0 auto;
    padding: 64px 22px;
}

.section-header {
    max-width: 760px;
    margin-bottom: 28px;
}

.grid-3,
.grid-2 {
    display: grid;
    gap: 20px;
}

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

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

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: 0 12px 28px rgba(22, 63, 99, 0.07);
}

    .card img {
        border-radius: 18px;
        margin-bottom: 18px;
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }

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

.band {
    background: var(--blue);
    color: white;
    margin: 46px 0;
}

.band-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 58px 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
}

.band h2,
.band p {
    color: white;
}

.steps {
    counter-reset: step;
    display: grid;
    gap: 16px;
}

.step {
    counter-increment: step;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 20px 20px 20px 72px;
    position: relative;
}

    .step::before {
        content: counter(step);
        position: absolute;
        left: 20px;
        top: 20px;
        width: 36px;
        height: 36px;
        border-radius: 999px;
        background: var(--teal);
        color: white;
        display: grid;
        place-items: center;
        font-weight: 900;
    }

.notice {
    background: #fff8e8;
    border: 1px solid #ead8aa;
    border-radius: var(--radius);
    padding: 22px;
    color: #584420;
}

.site-footer {
    background: var(--blue-dark);
    color: white;
    margin-top: 40px;
}

.footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 42px 22px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 26px;
}

    .footer-inner a {
        color: white;
    }

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-end;
}

.small {
    color: var(--muted);
    font-size: 0.95rem;
}

.footer-inner .small {
    color: rgba(255,255,255,0.72);
}

@media (max-width: 860px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        display: none;
        position: absolute;
        left: 18px;
        right: 18px;
        top: 68px;
        flex-direction: column;
        align-items: stretch;
        background: white;
        border: 1px solid var(--border);
        border-radius: 18px;
        padding: 18px;
        box-shadow: var(--shadow);
    }

        .site-nav.open {
            display: flex;
        }

    .band-inner,
    .grid-2,
    .grid-3,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .hero-banner {
        min-height: 560px;
    }

    .hero-banner-overlay {
        min-height: 560px;
        padding: 58px 22px;
    }

    .hero-banner::after {
        background: linear-gradient( 90deg, rgba(15, 46, 73, 0.9) 0%, rgba(15, 46, 73, 0.72) 58%, rgba(15, 46, 73, 0.38) 100% );
    }

    .footer-links {
        justify-content: flex-start;
    }
}
