:root {
    --ink: #17222c;
    --night: #17253a;
    --blue: #2c6fa3;
    --aqua: #2f9d9a;
    --orange: #ef8b3a;
    --lime: #8aaa45;
    --yellow: #f0bf4c;
    --mist: #edf6f6;
    --paper: #fbfcfb;
    --line: #d9e4e6;
    --muted: #64747c;
    --shadow: 0 18px 44px rgba(23, 34, 44, .13);
}

* {
    letter-spacing: 0;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(90deg, rgba(44, 111, 163, .05) 1px, transparent 1px),
        linear-gradient(180deg, rgba(47, 157, 154, .045) 1px, transparent 1px),
        linear-gradient(135deg, rgba(239, 139, 58, .07), transparent 360px),
        var(--paper);
    background-size: 38px 38px, 38px 38px, auto;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(251, 252, 251, .96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(217, 228, 230, .95);
    box-shadow: 0 9px 28px rgba(23, 34, 44, .07);
}

.navbar {
    padding: .82rem 0;
}

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

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    display: grid;
    place-items: center;
    color: #fff;
    background:
        linear-gradient(135deg, var(--night) 0 45%, var(--blue) 46% 70%, var(--aqua) 71%);
    font-weight: 900;
    box-shadow: inset 0 -5px 0 rgba(239, 139, 58, .85);
}

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

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

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

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

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

.btn {
    border-radius: 5px;
}

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

.btn-warning {
    --bs-btn-bg: var(--orange);
    --bs-btn-border-color: var(--orange);
    --bs-btn-color: #17222c;
    --bs-btn-hover-bg: #db7d31;
    --bs-btn-hover-border-color: #db7d31;
}

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

.hero {
    min-height: 82vh;
    display: grid;
    align-items: center;
    padding: 7rem 0 4rem;
    color: #fff;
    background:
        linear-gradient(100deg, rgba(23, 37, 58, .94), rgba(44, 111, 163, .72) 54%, rgba(23, 34, 44, .1)),
        url("https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=1800&q=82&fm=webp") center/cover;
}

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

.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(251, 252, 251, .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(--orange);
}

.hero-panel a {
    color: var(--blue) !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(--aqua);
}

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

.eyebrow {
    color: var(--orange);
    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, 37, 58, .96), rgba(47, 157, 154, .86)),
        url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?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: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 1.25rem;
    box-shadow: 0 10px 26px rgba(23, 34, 44, .07);
}

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

.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(239, 139, 58, .45);
    box-shadow: var(--shadow);
}

.program-card::before {
    content: "";
    display: block;
    height: 8px;
    margin: -1.25rem -1.25rem 1rem;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(90deg, var(--blue) 0 28%, var(--aqua) 28% 52%, var(--orange) 52% 76%, var(--lime) 76%);
}

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

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

.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, 37, 58, .96), rgba(239, 139, 58, .72)),
        url("https://images.unsplash.com/photo-1600566753376-12c8ab7fb75b?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(--orange);
    margin: 1.5rem 0;
}

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

.accordion-button {
    font-weight: 800;
}

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

.site-footer {
    background: var(--night);
    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, 34, 44, .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;
    }
}
