:root {
    --ink: #172126;
    --muted: #627179;
    --nav: #0f242a;
    --surface: #f4f7f6;
    --panel: #ffffff;
    --line: #d8e1df;
    --accent: #0f766e;
    --accent-2: #d97706;
    --accent-3: #2563eb;
    --soft: #e8f2ef;
    --wash: #fff5e8;
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    line-height: 1.62;
    background:
        linear-gradient(90deg, rgba(15, 118, 110, .06) 1px, transparent 1px) 0 0 / 46px 46px,
        linear-gradient(0deg, rgba(15, 118, 110, .045) 1px, transparent 1px) 0 0 / 46px 46px,
        var(--surface);
    font-size: 16px;
}

img {
    max-width: 100%;
}

a {
    color: var(--accent);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: #0b5f59;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--ink);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: 0;
    margin-bottom: .8rem;
}

h1 {
    font-size: clamp(1.8rem, 2.6vw, 2.25rem);
    max-width: 920px;
}

h2 {
    font-size: clamp(1.35rem, 1.8vw, 1.65rem);
}

h3 {
    font-size: 1.12rem;
}

.lead {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 22px rgba(15, 33, 38, .08);
    backdrop-filter: blur(14px);
}

.navbar {
    padding: .65rem 0;
}

.navbar-brand {
    padding: 0;
}

.navbar-brand img {
    width: 210px;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 8px 16px rgba(15, 33, 38, .12);
}

.navbar-dark .navbar-toggler {
    border-color: var(--line);
    background: var(--nav);
    border-radius: 6px;
}

.nav-link,
.navbar-dark .navbar-nav .nav-link {
    position: relative;
    color: #405057;
    font-size: .88rem;
    font-weight: 760;
    padding: .55rem .62rem;
}

.nav-link:hover,
.nav-link.active,
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--nav);
}

.nav-link.active::after {
    content: "";
    position: absolute;
    left: .62rem;
    right: .62rem;
    bottom: .28rem;
    height: 2px;
    background: var(--accent-2);
}

.btn {
    border-radius: 6px;
    font-weight: 800;
    letter-spacing: 0;
    box-shadow: none;
}

.btn-lg {
    padding: .72rem 1rem;
    font-size: .98rem;
}

.btn-cta {
    background: var(--accent-2);
    border-color: var(--accent-2);
    color: #111827;
}

.btn-cta:hover {
    background: #c26705;
    border-color: #c26705;
    color: #111827;
}

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

.btn-main:hover {
    background: #0b5f59;
    border-color: #0b5f59;
    color: #fff;
}

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

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

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--accent-2);
}

.hero {
    min-height: 62vh;
    display: flex;
    align-items: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(15, 36, 42, .94), rgba(15, 36, 42, .74) 48%, rgba(15, 36, 42, .28)),
        var(--hero) center / cover no-repeat;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 9px;
    background: repeating-linear-gradient(90deg, var(--accent-2) 0 42px, transparent 42px 58px);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1,
.section-dark h1,
.section-dark h2,
.split-band h2 {
    color: #fff;
}

.hero h1 {
    font-size: clamp(1.9rem, 2.9vw, 2.35rem);
    max-width: 880px;
}

.hero .lead {
    max-width: 760px;
    color: rgba(255, 255, 255, .86);
    font-size: 1.06rem !important;
}

.hero-panel {
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: var(--radius);
    padding: 18px;
    color: var(--ink);
    box-shadow: 0 22px 46px rgba(6, 17, 22, .22);
}

.hero-panel strong {
    display: block;
    color: var(--nav);
    font-size: 1.45rem;
    line-height: 1.1;
}

.hero-panel span {
    color: var(--muted);
    font-size: .92rem;
}

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

.trust-strip {
    background: var(--nav);
    color: #dbe8e6;
    font-size: .9rem;
    font-weight: 760;
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.trust-strip span {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

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

.section {
    position: relative;
    padding: 64px 0;
    background: rgba(255, 255, 255, .72);
}

.section + .section {
    border-top: 1px solid var(--line);
}

.section-alt,
.academy-band {
    background: var(--soft);
}

.section-dark {
    background:
        linear-gradient(115deg, rgba(15, 36, 42, .97), rgba(15, 118, 110, .82)),
        url("https://images.unsplash.com/photo-1464037866556-6812c9d1c72e?auto=format&fit=crop&w=1600&q=80") center / cover no-repeat;
    color: rgba(255, 255, 255, .84);
}

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

.layout-ribbon,
main > .section-alt:first-child,
main > article.section:first-child,
main.section {
    padding-top: 56px;
    padding-bottom: 48px;
    background:
        linear-gradient(90deg, rgba(15, 36, 42, .07), transparent 44%),
        var(--soft);
    border-top: 0;
}

.layout-ribbon::before,
main > .section-alt:first-child::before,
main > article.section:first-child::before,
main.section::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(3vw, 30px);
    background: var(--accent);
}

.feature-card,
.post-card,
.stat-card,
.path-card,
.locator-panel,
.faq details {
    height: 100%;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 24px rgba(15, 33, 38, .06);
}

.feature-card,
.post-card,
.path-card,
.locator-panel {
    padding: 24px;
    color: var(--ink);
}

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

.feature-card:hover,
.post-card:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 118, 110, .42);
    box-shadow: 0 16px 34px rgba(15, 33, 38, .1);
}

.feature-card h2,
.post-card h2,
.locator-panel h2 {
    font-size: 1.28rem;
}

.feature-card h3,
.path-card h3 {
    font-size: 1.05rem;
}

.stat-card {
    padding: 18px;
    border-left: 4px solid var(--accent-2);
}

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

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

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

.path-card {
    position: relative;
    overflow: hidden;
}

.path-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.path-card span {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: var(--wash);
    color: var(--accent-2);
    font-weight: 900;
    margin-bottom: 12px;
}

.split-band {
    background:
        linear-gradient(90deg, var(--nav), #143f46);
    color: rgba(255, 255, 255, .82);
    padding: 46px 0;
    border-top: 6px solid var(--accent-2);
}

.split-band .eyebrow {
    color: #80dfd4;
}

.hero .eyebrow,
.section-dark .eyebrow {
    color: #80dfd4;
}

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

.faq details {
    height: auto;
    padding: 18px 20px;
    margin-bottom: 12px;
}

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

.faq details p {
    margin-top: .85rem;
    margin-bottom: 0;
    color: var(--muted);
}

.article-body {
    max-width: 860px;
}

.article-body h2 {
    margin-top: 2rem;
}

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

.form-control,
.form-select {
    border-color: var(--line);
    border-radius: 6px;
    padding: .76rem .8rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 .2rem rgba(15, 118, 110, .14);
}

.site-footer {
    background: #0b171b;
    color: rgba(255, 255, 255, .72);
    padding: 50px 0;
    border-top: 8px solid var(--accent);
}

.site-footer img {
    border-radius: 6px;
}

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

.site-footer a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-title {
    color: #fff;
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.mobile-cta {
    display: none;
}

@media (min-width: 992px) {
    .section:not(.section-dark) .row.g-5 > .col-lg-7:first-child {
        padding-right: 36px;
    }

    .section:not(.section-dark) .row.g-5 > .col-lg-5:last-child {
        border-left: 1px solid var(--line);
        padding-left: 36px;
    }
}

@media (max-width: 1199px) {
    .navbar-collapse {
        margin-top: .75rem;
        padding-top: .75rem;
        border-top: 1px solid var(--line);
    }

    .nav-link.active::after {
        display: none;
    }
}

@media (max-width: 991px) {
    body {
        padding-bottom: 74px;
    }

    .section {
        padding: 48px 0;
    }

    .hero {
        min-height: auto;
        padding: 70px 0 58px;
    }

    .hero-panel {
        margin-top: 8px;
    }

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

    .mobile-cta {
        display: block;
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        z-index: 1040;
    }
}

@media (max-width: 575px) {
    body {
        font-size: 15px;
    }

    h1,
    .hero h1 {
        font-size: 1.85rem;
    }

    h2 {
        font-size: 1.35rem;
    }

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

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

    .feature-card,
    .post-card,
    .path-card,
    .locator-panel {
        padding: 20px;
    }

    .layout-ribbon > .container,
    main > .section-alt:first-child > .container,
    main > article.section:first-child > .container,
    main.section > .container {
        padding-left: 32px;
    }
}
