:root {
    --ink: #162131;
    --muted: #5f6f82;
    --base: #0f2b3a;
    --base-2: #173e52;
    --accent: #e56b35;
    --accent-2: #2e9a7f;
    --gold: #f2b84b;
    --soft: #f5f8f7;
    --wash: #e7f1ee;
    --line: #d8e2e4;
    --white: #fff;
    --radius: 7px;
    --shadow: 0 16px 34px rgba(15, 43, 58, .1);
}

* {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

body {
    margin: 0;
    background:
        linear-gradient(90deg, rgba(15, 43, 58, .04) 1px, transparent 1px) 0 0 / 80px 80px,
        linear-gradient(180deg, #fff 0, #f8fbfa 560px);
    color: var(--ink);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15.5px;
    line-height: 1.68;
}

img {
    max-width: 100%;
}

a {
    color: #247d69;
    text-decoration-thickness: 1px;
    text-underline-offset: .18em;
}

a:hover {
    color: var(--accent);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: .8rem;
    color: #101d2a;
    font-weight: 780;
    line-height: 1.18;
    letter-spacing: 0;
}

h1 {
    font-size: clamp(1.85rem, 2.8vw, 2.45rem);
}

h2 {
    font-size: clamp(1.35rem, 2vw, 1.85rem);
}

h3 {
    font-size: 1.05rem;
}

p,
li {
    color: var(--muted);
}

.lead {
    max-width: 760px;
    color: #526578;
    font-size: 1.03rem;
    line-height: 1.7;
}

.fs-4 {
    font-size: 1.07rem !important;
}

.container {
    max-width: 1160px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid rgba(216, 226, 228, .9);
    box-shadow: 0 10px 24px rgba(15, 43, 58, .06);
    backdrop-filter: blur(14px);
}

.navbar {
    min-height: 64px;
    padding: .42rem 0;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    padding: .3rem .48rem;
    background: #061923;
    border-radius: var(--radius);
}

.navbar-brand img {
    width: 168px;
    height: auto;
}

.navbar-toggler {
    margin-left: auto;
}

.navbar-dark .navbar-toggler {
    background: var(--base);
    border-color: var(--base);
}

.navbar-nav {
    gap: .08rem;
}

.nav-link {
    padding: .38rem .52rem !important;
    border-radius: 6px;
    color: #263444 !important;
    font-size: .84rem;
    font-weight: 720;
}

.nav-link:hover,
.nav-link.active {
    background: var(--wash);
    color: var(--base) !important;
}

.btn {
    border-radius: 6px;
    padding: .62rem .95rem;
    font-weight: 780;
    letter-spacing: 0;
}

.btn-lg {
    --bs-btn-padding-y: .72rem;
    --bs-btn-padding-x: 1.08rem;
    --bs-btn-font-size: .98rem;
}

.btn-cta,
.btn-apply {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 12px 22px rgba(229, 107, 53, .2);
}

.btn-cta:hover,
.btn-apply:hover {
    background: #bd5123;
    border-color: #bd5123;
    color: #fff;
}

.btn-main {
    background: var(--base);
    border-color: var(--base);
    color: #fff;
}

.btn-main:hover {
    background: var(--accent-2);
    border-color: var(--accent-2);
    color: #fff;
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, .74);
    color: #fff;
}

.btn-outline-light:hover {
    background: #fff;
    border-color: #fff;
    color: var(--base);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .52rem;
    margin-bottom: .85rem;
    color: var(--accent);
    font-size: .72rem;
    font-weight: 840;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 30px;
    height: 2px;
    background: currentColor;
}

.hero {
    min-height: 660px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #0c2532;
    color: #fff;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(52vw, 760px);
    background:
        linear-gradient(90deg, rgba(12, 37, 50, .15), rgba(12, 37, 50, .55)),
        var(--hero) center / cover no-repeat;
    opacity: .94;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, #0c2532 0, #0c2532 45%, rgba(12, 37, 50, .62) 70%, rgba(12, 37, 50, .2) 100%);
}

.hero .container {
    position: relative;
    z-index: 2;
    padding-top: 76px;
    padding-bottom: 76px;
}

.hero .row {
    width: 100%;
}

.hero h1 {
    max-width: 730px;
    color: #fff;
    font-size: clamp(1.9rem, 3.1vw, 2.5rem);
}

.hero .lead {
    max-width: 650px;
    color: rgba(255, 255, 255, .82);
}

.hero-panel {
    margin-left: auto;
    max-width: 330px;
    padding: 0;
    background: rgba(255, 255, 255, .95);
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: var(--radius);
    box-shadow: 0 24px 54px rgba(0, 0, 0, .2);
    color: var(--ink);
    overflow: hidden;
}

.hero-panel strong {
    display: block;
    padding: 18px 20px 0;
    color: var(--base);
    font-size: 1.55rem;
    line-height: 1;
}

.hero-panel span {
    display: block;
    padding: 4px 20px 18px;
    color: var(--muted);
    font-size: .9rem;
}

.hero-panel hr {
    margin: 0;
    border-color: var(--line);
    opacity: 1;
}

.trust-strip {
    position: relative;
    z-index: 3;
    margin-top: -30px;
    background: transparent;
    color: var(--base);
    font-weight: 760;
}

.trust-strip .container {
    padding: 16px 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.trust-strip span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .9rem;
}

.trust-strip span::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-2);
}

.section {
    padding: 64px 0;
}

.section-alt,
.academy-band {
    background:
        linear-gradient(180deg, rgba(231, 241, 238, .82), rgba(255, 255, 255, .96));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-dark {
    background:
        linear-gradient(120deg, rgba(15, 43, 58, .96), rgba(46, 154, 127, .88)),
        #0f2b3a;
    color: #fff;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark .eyebrow {
    color: #fff;
}

.section-dark p,
.section-dark .lead {
    color: rgba(255, 255, 255, .82);
}

.layout-ribbon {
    border-top: 4px solid var(--accent);
}

.feature-card,
.post-card,
.stat-card,
.path-card,
.locator-panel {
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.feature-card,
.post-card,
.path-card {
    padding: 24px;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.feature-card:hover,
.post-card:hover,
.path-card:hover {
    transform: translateY(-3px);
    border-color: #b9cacc;
    box-shadow: var(--shadow);
}

.feature-card ul {
    padding-left: 1.1rem;
}

.stat-card {
    min-height: 112px;
    padding: 18px;
    border-left: 0;
    border-top: 5px solid var(--accent-2);
}

.stat-card strong {
    display: block;
    color: var(--base);
    font-size: 1.65rem;
    line-height: 1;
}

.stat-card span {
    color: var(--muted);
    font-size: .9rem;
}

.locator-panel {
    padding: 28px;
    background:
        linear-gradient(135deg, rgba(231, 241, 238, .92), rgba(255, 255, 255, .95)),
        #fff;
}

.path-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.path-card {
    position: relative;
    padding-top: 56px;
}

.path-card span {
    position: absolute;
    top: 20px;
    left: 24px;
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--base);
    color: #fff;
    font-size: .84rem;
    font-weight: 820;
}

.split-band {
    padding: 42px 0;
    background: #0c2532;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.split-band h2,
.split-band .eyebrow {
    color: #fff;
}

.split-band p {
    color: rgba(255, 255, 255, .76);
}

.faq details {
    margin-bottom: 12px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 8px 18px rgba(15, 43, 58, .04);
}

.faq summary {
    color: var(--base);
    font-weight: 780;
    cursor: pointer;
}

.faq details[open] {
    border-color: #b8c9cc;
}

.article-body {
    max-width: 850px;
    padding: 34px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.article-body h1 {
    font-size: clamp(1.75rem, 2.7vw, 2.3rem);
}

.article-body h2 {
    margin-top: 2rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--line);
    font-size: 1.3rem;
}

.article-body .btn {
    margin-top: .8rem;
}

.form-label,
label {
    color: var(--ink);
    font-weight: 720;
}

.section-dark .form-label,
.section-dark label {
    color: var(--ink);
}

.form-control,
.form-select {
    min-height: 48px;
    border-color: #cbd8da;
    border-radius: 6px;
    color: var(--ink);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent-2);
    box-shadow: 0 0 0 .2rem rgba(46, 154, 127, .16);
}

.site-footer {
    padding: 54px 0 42px;
    background: #061923;
    color: rgba(255, 255, 255, .72);
}

.site-footer img {
    padding: 8px 10px;
    background: #fff;
    border-radius: var(--radius);
}

.site-footer p {
    color: rgba(255, 255, 255, .68);
}

.site-footer a {
    display: block;
    margin: .38rem 0;
    color: rgba(255, 255, 255, .86);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--gold);
}

.footer-title {
    margin-bottom: .8rem;
    color: #fff;
    font-size: .86rem;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.mobile-cta {
    display: none;
}

@media (min-width: 992px) {
    main > .section:first-child:not(.hero):not(.section-dark) {
        padding-top: 72px;
        padding-bottom: 50px;
        background:
            linear-gradient(135deg, rgba(231, 241, 238, .96), rgba(255, 255, 255, .94));
        border-bottom: 1px solid var(--line);
    }

    main > .section:first-child:not(.hero):not(.section-dark) .container > h1,
    main.section .container > h1 {
        max-width: 760px;
    }
}

@media (max-width: 1199px) {
    .navbar > .container {
        position: relative;
        padding-right: 72px;
    }

    .navbar-toggler {
        position: absolute;
        top: 50%;
        right: 12px;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 42px;
        padding: 0;
        background: var(--base) !important;
        border: 1px solid var(--base) !important;
        opacity: 1;
        visibility: visible;
        z-index: 5;
        transform: translateY(-50%);
    }

    .navbar-toggler-icon {
        width: 1.2rem;
        height: 1.2rem;
    }

    .navbar-collapse {
        margin-top: .8rem;
    }

    .navbar-nav {
        padding-top: 1rem;
        gap: .2rem;
    }

    .nav-link {
        padding: .7rem .8rem !important;
    }
}

@media (max-width: 991px) {
    body {
        padding-bottom: 76px;
        font-size: 15px;
    }

    .navbar {
        min-height: 60px;
    }

    .navbar-brand img {
        width: 156px;
    }

    .section {
        padding: 50px 0;
    }

    .hero {
        min-height: auto;
    }

    .hero::before {
        width: 100%;
        opacity: .5;
    }

    .hero::after {
        background: rgba(12, 37, 50, .82);
    }

    .hero .container {
        padding-top: 56px;
        padding-bottom: 74px;
    }

    .hero h1 {
        max-width: 21rem;
        font-size: clamp(1.45rem, 5.3vw, 1.78rem);
    }

    .hero .lead {
        max-width: 21rem;
    }

    .hero-panel {
        margin-top: 24px;
        margin-left: 0;
        max-width: none;
    }

    .trust-strip {
        margin-top: -18px;
    }

    .trust-strip .container {
        border-radius: 0;
    }

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

    .article-body {
        padding: 26px;
    }

    .mobile-cta {
        display: block;
        position: fixed;
        right: 12px;
        bottom: 12px;
        left: 12px;
        z-index: 1040;
        box-shadow: 0 14px 28px rgba(15, 43, 58, .24);
    }
}

@media (max-width: 575px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.38rem;
    }

    .btn,
    .btn-lg {
        width: 100%;
    }

    .hero .d-flex {
        width: 100%;
    }

    .trust-strip .container {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: .6rem !important;
    }

    .path-grid {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .post-card,
    .path-card,
    .locator-panel,
    .article-body {
        padding: 22px;
    }
}
