:root {
    --ink: #172026;
    --navy: #203747;
    --lake: #1d6d72;
    --sage: #dfe9df;
    --gold: #c99a3d;
    --clay: #a85844;
    --paper: #fbfaf6;
    --mist: #eef3f0;
    --line: #d7ddd8;
    --muted: #627071;
    --shadow: 0 18px 42px rgba(23, 32, 38, .12);
}

* {
    letter-spacing: 0;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a,
a:hover,
a:focus {
    text-decoration: none;
}

a {
    color: var(--lake);
}

a:hover,
a:focus {
    color: var(--clay);
}

.top-strip {
    background: var(--navy);
    color: rgba(255, 255, 255, .9);
    font-size: .86rem;
}

.top-strip .btn {
    padding: .28rem .7rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(251, 250, 246, .98);
    border-bottom: 1px solid rgba(215, 221, 216, .9);
    box-shadow: 0 8px 26px rgba(23, 32, 38, .08);
}

.navbar {
    padding: .72rem 0;
}

.navbar-brand {
    color: var(--ink);
    font-size: .98rem;
    line-height: 1.05;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: #fff;
    background:
        linear-gradient(135deg, var(--navy) 0 52%, var(--lake) 52% 78%, var(--gold) 78%);
    font-weight: 900;
    box-shadow: inset 0 -4px 0 rgba(255, 255, 255, .18);
}

.nav-link {
    color: var(--navy);
    font-size: .92rem;
    font-weight: 800;
    padding: .55rem .7rem;
}

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

.navbar .btn {
    white-space: nowrap;
}

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

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

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

.btn {
    border-radius: 8px;
    border-width: 1px;
}

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

.btn-warning {
    --bs-btn-bg: var(--gold);
    --bs-btn-border-color: var(--gold);
    --bs-btn-color: #172026;
    --bs-btn-hover-bg: #b8862e;
    --bs-btn-hover-border-color: #b8862e;
}

.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 {
    position: relative;
    min-height: 680px;
    display: grid;
    align-items: center;
    overflow: hidden;
    padding: 7rem 0 5rem;
    background:
        linear-gradient(180deg, rgba(251, 250, 246, .96), rgba(238, 243, 240, .96)),
        var(--paper);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0 0 0 46%;
    background:
        linear-gradient(90deg, rgba(23, 32, 38, .18), rgba(23, 32, 38, .04)),
        url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1800&q=82&fm=webp") center/cover;
    clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%);
}

.hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 54%;
    height: 9px;
    background: linear-gradient(90deg, var(--gold), var(--lake), var(--clay));
}

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

.hero-inner {
    max-width: 640px;
    display: grid;
    gap: 1.2rem;
}

.hero h1,
.page-hero h1 {
    font-size: 45px;
    line-height: 1.08;
    font-weight: 900;
}

.hero-copy {
    max-width: 600px;
    color: #405052;
    font-size: 1.08rem;
}

.hero .eyebrow.text-white {
    color: var(--clay) !important;
}

.hero .btn-outline-light {
    color: var(--navy);
    border-color: var(--navy);
}

.hero .btn-outline-light:hover,
.hero .btn-outline-light:focus {
    color: #fff;
    background: var(--navy);
    border-color: var(--navy);
}

.hero-panel,
.glass-card,
.feature-panel,
.program-card,
.blog-card,
.calc-shell,
.toc-box,
.article-cta {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(23, 32, 38, .08);
}

.hero-panel {
    max-width: 560px;
    padding: 1rem 1.15rem;
    border-left: 6px solid var(--gold);
}

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

.hero-stats {
    position: absolute;
    right: 12px;
    bottom: 44px;
    width: min(430px, 38vw);
    display: grid;
    grid-template-columns: 1fr;
    gap: .8rem;
}

.glass-card {
    min-height: 76px;
    display: flex;
    align-items: center;
    padding: 1rem 1.1rem;
    color: var(--ink);
    border-left: 6px solid var(--lake);
    font-weight: 800;
}

.glass-card:nth-child(2) {
    border-left-color: var(--gold);
}

.glass-card:nth-child(3) {
    border-left-color: var(--clay);
}

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

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

.section-title {
    font-size: 38px;
    line-height: 1.12;
    font-weight: 900;
}

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

.alt-band {
    background: var(--mist);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.dark-band {
    background:
        linear-gradient(90deg, rgba(32, 55, 71, .96), rgba(29, 109, 114, .86)),
        url("https://images.unsplash.com/photo-1600047509807-ba8f99d2cdde?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 {
    padding: 1.25rem;
}

.feature-panel,
.toc-box {
    border-top: 6px 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(168, 88, 68, .45);
    box-shadow: var(--shadow);
}

.program-card::before {
    content: "";
    display: block;
    height: 7px;
    margin: -1.25rem -1.25rem 1rem;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(90deg, var(--navy), var(--lake), var(--gold));
}

.row > div:nth-child(2n) .program-card::before {
    background: linear-gradient(90deg, var(--clay), var(--gold), var(--lake));
}

.row > div:nth-child(3n) .program-card::before {
    background: linear-gradient(90deg, var(--lake), var(--navy), var(--clay));
}

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

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

.page-hero {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    display: grid;
    align-items: center;
    padding: 5.75rem 0 4.75rem;
    color: var(--ink);
    background:
        linear-gradient(180deg, rgba(251, 250, 246, .98), rgba(238, 243, 240, .98)),
        var(--paper);
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0 0 0 52%;
    background:
        linear-gradient(90deg, rgba(32, 55, 71, .18), rgba(32, 55, 71, .02)),
        url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1800&q=82&fm=webp") center/cover;
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}

.page-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--gold), var(--lake), var(--clay));
}

.page-hero .container {
    position: relative;
    z-index: 1;
    max-width: 1180px;
}

.page-hero .eyebrow.text-white {
    color: var(--clay) !important;
}

.page-hero .lead {
    max-width: 610px;
    color: #405052;
    font-size: 1.12rem;
}

.page-hero h1 {
    max-width: 650px;
}

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

.page-hero + .section-pad {
    background:
        linear-gradient(90deg, rgba(223, 233, 223, .38) 1px, transparent 1px),
        linear-gradient(180deg, rgba(223, 233, 223, .32) 1px, transparent 1px),
        var(--paper);
    background-size: 42px 42px;
}

.page-hero + .section-pad .container.article-wrap,
.page-hero + .section-pad .article-wrap:not([class*="col-"]) {
    background: #fff;
    border: 1px solid var(--line);
    border-left: 8px solid var(--lake);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: clamp(1.3rem, 3vw, 2.4rem);
}

.page-hero + .section-pad [class*="col-"].article-wrap {
    background: #fff;
    border: 1px solid var(--line);
    border-left: 8px solid var(--gold);
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(23, 32, 38, .08);
    padding: clamp(1.25rem, 2.4vw, 2rem);
}

.article-wrap > .lead:first-child {
    color: #334548;
    font-size: 1.18rem;
    line-height: 1.75;
    border-bottom: 1px solid var(--line);
    padding-bottom: 1.2rem;
    margin-bottom: 1.2rem;
}

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

.article-wrap h2 {
    color: var(--navy);
    font-size: 1.78rem;
    line-height: 1.16;
    font-weight: 900;
}

.article-wrap h3 {
    color: var(--lake);
    font-size: 1.2rem;
    font-weight: 900;
}

.article-wrap p,
.article-wrap li {
    line-height: 1.75;
}

.article-wrap a:not(.btn) {
    font-weight: 800;
}

.article-cta {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(32, 55, 71, .96), rgba(29, 109, 114, .9)),
        var(--navy);
    border-color: transparent;
    border-left: 8px solid var(--gold);
    color: #fff;
    margin: 2rem 0;
}

.article-cta::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 42%;
    height: 7px;
    background: linear-gradient(90deg, var(--gold), var(--clay));
}

.article-cta h2,
.article-cta p,
.article-cta a:not(.btn) {
    color: #fff;
}

.toc-box {
    background: var(--mist);
    border-top: 0;
    border-left: 8px solid var(--gold);
    margin: 1.5rem 0 2rem;
}

.toc-box ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .35rem 1rem;
    padding-left: 1.2rem;
    margin-bottom: 0;
}

.toc-box a {
    font-weight: 800;
}

.page-hero + .section-pad .row {
    align-items: stretch;
}

.page-hero + .section-pad .row > [class*="col-"] {
    min-width: 0;
}

.page-hero + .section-pad .feature-panel,
.page-hero + .section-pad .calc-shell {
    height: 100%;
}

.feature-panel {
    position: relative;
    overflow: hidden;
}

.feature-panel::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--lake), var(--gold), var(--clay));
}

.feature-panel h2,
.program-card h3,
.blog-card h2 {
    color: var(--navy);
    font-weight: 900;
}

.feature-panel ul {
    padding-left: 1.15rem;
    margin-bottom: 1.25rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.blog-card > a:last-child,
.program-card > a:last-child {
    margin-top: auto;
    font-weight: 900;
}

.calc-shell {
    border-left: 8px solid var(--lake);
}

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

.form-control {
    border-color: var(--line);
    border-radius: 8px;
    padding: .72rem .78rem;
}

.form-control:focus {
    border-color: var(--lake);
    box-shadow: 0 0 0 .2rem rgba(29, 109, 114, .16);
}

.result-box {
    border-left: 6px solid var(--gold);
}

.result-box strong {
    color: var(--navy);
}

.accordion {
    display: grid;
    gap: .75rem;
}

.accordion-item {
    border-color: var(--line);
    background: #fff;
    border-radius: 8px !important;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(23, 32, 38, .06);
}

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

.accordion-button:not(.collapsed) {
    color: var(--navy);
    background: var(--sage);
}

.site-footer {
    background: var(--navy);
    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: #fff;
    border-top: 1px solid var(--line);
    padding: .65rem;
    box-shadow: 0 -12px 34px rgba(23, 32, 38, .15);
}

.columns-list {
    columns: 2;
}

@media (max-width: 1199.98px) {
    .hero::before {
        opacity: .28;
        inset: 0;
        clip-path: none;
    }

    .hero-stats {
        position: static;
        width: auto;
        margin-top: .5rem;
    }
}

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

    .page-hero {
        min-height: auto;
        padding: 4.75rem 0 3.5rem;
    }

    .page-hero::before {
        inset: 0;
        opacity: .16;
        clip-path: none;
    }

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

    .section-title {
        font-size: 32px;
    }
}

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

    .hero h1,
    .page-hero h1 {
        font-size: 45px;
    }

    .page-hero .lead {
        font-size: 1rem;
    }

    .toc-box ol {
        grid-template-columns: 1fr;
    }

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

    .columns-list {
        columns: 1;
    }
}
