:root {
    --ink: #17242a;
    --river: #173c4a;
    --lake: #24798c;
    --sky: #6aa8b8;
    --terra: #c96b4d;
    --sand: #e2b96a;
    --reed: #6f8f59;
    --mist: #edf6f5;
    --paper: #fffdf8;
    --line: #d7e4e2;
    --muted: #65736f;
    --shadow: 0 18px 44px rgba(23, 36, 42, .13);
}

* {
    letter-spacing: 0;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(180deg, rgba(106, 168, 184, .12), transparent 360px),
        linear-gradient(90deg, rgba(36, 121, 140, .045) 1px, transparent 1px),
        linear-gradient(180deg, rgba(111, 143, 89, .04) 1px, transparent 1px),
        var(--paper);
    background-size: auto, 46px 46px, 46px 46px;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.top-strip {
    background: var(--river);
    color: rgba(255, 255, 255, .92);
    font-size: .9rem;
    border-bottom: 3px solid var(--sand);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 253, 248, .96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(215, 228, 226, .95);
    box-shadow: 0 9px 28px rgba(23, 36, 42, .07);
}

.navbar {
    padding: .82rem 0;
}

.navbar-brand {
    color: var(--river);
    font-size: 1rem;
    line-height: 1.08;
}

.brand-mark {
    width: 46px;
    height: 40px;
    border-radius: 5px 5px 16px 16px;
    display: grid;
    place-items: center;
    color: #fff;
    background:
        linear-gradient(180deg, var(--sky) 0 40%, var(--lake) 41% 72%, var(--river) 73%);
    font-weight: 900;
    box-shadow: inset 0 -4px 0 rgba(226, 185, 106, .85);
}

.nav-link {
    color: var(--river);
    font-size: .94rem;
    font-weight: 800;
    padding: .55rem .72rem;
}

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

.dropdown-menu {
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: .55rem;
    background: #fffefa;
    box-shadow: var(--shadow);
}

.dropdown-item {
    border-radius: 4px;
    color: var(--river);
    font-weight: 700;
    padding: .56rem .72rem;
}

.dropdown-item:active,
.dropdown-item:hover {
    color: var(--lake);
    background: var(--mist);
}

.btn {
    border-radius: 5px;
}

.btn-primary {
    --bs-btn-bg: var(--lake);
    --bs-btn-border-color: var(--lake);
    --bs-btn-hover-bg: var(--river);
    --bs-btn-hover-border-color: var(--river);
}

.btn-warning {
    --bs-btn-bg: var(--sand);
    --bs-btn-border-color: var(--sand);
    --bs-btn-color: #17242a;
    --bs-btn-hover-bg: #d2a958;
    --bs-btn-hover-border-color: #d2a958;
}

.btn-outline-primary {
    --bs-btn-color: var(--lake);
    --bs-btn-border-color: var(--lake);
    --bs-btn-hover-bg: var(--lake);
    --bs-btn-hover-border-color: var(--lake);
}

.hero {
    min-height: 82vh;
    display: grid;
    align-items: center;
    padding: 7rem 0 4rem;
    color: #fff;
    background:
        linear-gradient(100deg, rgba(23, 60, 74, .93), rgba(36, 121, 140, .72) 52%, rgba(23, 36, 42, .12)),
        url("https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=1800&q=82&fm=webp") center/cover;
}

.hero-inner {
    max-width: 930px;
}

.hero h1 {
    font-size: 45px;
    line-height: 1.06;
    font-weight: 900;
    max-width: 900px;
}

.hero-copy {
    max-width: 790px;
    color: rgba(255, 255, 255, .91);
    font-size: 1.13rem;
}

.hero-panel,
.glass-card {
    background: rgba(255, 253, 248, .94);
    color: var(--ink);
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 6px;
    padding: 1rem;
    box-shadow: 0 16px 38px rgba(4, 18, 24, .2);
}

.hero-panel {
    border-left: 5px solid var(--sand);
}

.hero-panel a {
    color: var(--lake) !important;
    font-weight: 800;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .8rem;
    margin-top: 1.25rem;
}

.glass-card {
    border-top: 4px solid var(--sky);
}

.section-pad {
    padding: 5rem 0;
}

.eyebrow {
    color: var(--terra);
    font-size: .78rem;
    text-transform: uppercase;
    font-weight: 900;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    font-weight: 900;
}

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

.alt-band {
    background: linear-gradient(180deg, var(--mist), #fff);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.dark-band {
    background:
        linear-gradient(90deg, rgba(23, 60, 74, .96), rgba(111, 143, 89, .84)),
        url("https://images.unsplash.com/photo-1600607688969-a5bfcd646154?auto=format&fit=crop&w=1800&q=82&fm=webp") center/cover;
    color: #fff;
}

.dark-band .muted {
    color: rgba(255, 255, 255, .78);
}

.feature-panel,
.program-card,
.blog-card,
.calc-shell,
.toc-box,
.article-cta {
    background: #fffefa;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 1.25rem;
    box-shadow: 0 10px 26px rgba(23, 36, 42, .07);
}

.feature-panel,
.toc-box {
    border-top: 5px solid var(--lake);
}

.program-card,
.blog-card {
    height: 100%;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.program-card:hover,
.blog-card:hover {
    transform: translateY(-3px);
    border-color: rgba(201, 107, 77, .45);
    box-shadow: var(--shadow);
}

.program-card::before {
    content: "";
    display: block;
    height: 30px;
    margin: -1.25rem -1.25rem 1rem;
    border-radius: 6px 6px 0 0;
    background:
        radial-gradient(circle at 18px 34px, rgba(255, 255, 255, .6) 0 18px, transparent 19px),
        linear-gradient(90deg, var(--lake), var(--sky), var(--reed));
}

.row > div:nth-child(2n) .program-card::before {
    background:
        radial-gradient(circle at 18px 34px, rgba(255, 255, 255, .55) 0 18px, transparent 19px),
        linear-gradient(90deg, var(--terra), var(--sand));
}

.row > div:nth-child(3n) .program-card::before {
    background:
        radial-gradient(circle at 18px 34px, rgba(255, 255, 255, .55) 0 18px, transparent 19px),
        linear-gradient(90deg, var(--river), var(--lake));
}

.result-box {
    background: var(--mist);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 1rem;
}

.link-grid a {
    display: block;
    padding: .82rem 0;
    border-bottom: 1px solid var(--line);
    font-weight: 800;
}

.page-hero {
    padding: 6.5rem 0 4rem;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(23, 60, 74, .96), rgba(201, 107, 77, .74)),
        url("https://images.unsplash.com/photo-1600585154526-990dced4db0d?auto=format&fit=crop&w=1800&q=82&fm=webp") center/cover;
}

.article-wrap {
    max-width: 920px;
}

.article-wrap h2,
.article-wrap h3 {
    margin-top: 2rem;
}

.article-cta {
    background: var(--mist);
    border-left: 5px solid var(--terra);
    margin: 1.5rem 0;
}

.accordion-item {
    border-color: var(--line);
    background: #fffefa;
}

.accordion-button {
    font-weight: 800;
    background: #fffefa;
}

.accordion-button:not(.collapsed) {
    color: var(--river);
    background: var(--mist);
}

.site-footer {
    background: var(--river);
    color: rgba(255, 255, 255, .78);
}

.site-footer a {
    color: rgba(255, 255, 255, .9);
}

.sticky-mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    display: none;
    background: #fffefa;
    border-top: 1px solid var(--line);
    padding: .65rem;
    box-shadow: 0 -12px 34px rgba(23, 36, 42, .15);
}

.columns-list {
    columns: 2;
}

@media (max-width: 991.98px) {
    .hero {
        min-height: auto;
        padding: 5.5rem 0 3.25rem;
    }

    .section-pad {
        padding: 3.5rem 0;
    }
}

@media (max-width: 767.98px) {
    body {
        padding-bottom: 76px;
    }

    .sticky-mobile-cta {
        display: block;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .columns-list {
        columns: 1;
    }
}
