:root {
    --ink: #17211b;
    --muted: #5c6861;
    --paper: #f7f8f5;
    --surface: #ffffff;
    --line: #dce2dc;
    --forest: #276342;
    --forest-dark: #17422c;
    --grass: #59a94d;
    --gold: #f0b429;
    --cyan: #1997a6;
    --charcoal: #111713;
    --content: 1180px;
    --reading: 760px;
    --radius: 8px;
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.68;
    letter-spacing: 0;
}

body.nav-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

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

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

button,
input {
    font: inherit;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--charcoal);
    font-family: "Trebuchet MS", Inter, ui-sans-serif, system-ui, sans-serif;
    line-height: 1.12;
    letter-spacing: 0;
}

h1 {
    font-size: clamp(2.25rem, 5.5vw, 4.8rem);
}

h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.65rem);
}

h3 {
    font-size: 1.34rem;
}

p {
    margin-top: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.content-width {
    width: min(calc(100% - 40px), var(--content));
    margin-inline: auto;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--forest);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    background: rgba(17, 23, 19, 0.97);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(calc(100% - 40px), var(--content));
    min-height: 68px;
    margin-inline: auto;
    gap: 28px;
}

.site-brand,
.site-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #fff;
    font-size: 1.16rem;
    font-weight: 850;
    text-decoration: none;
}

.site-brand:hover,
.site-footer__brand:hover {
    color: #fff;
}

.site-brand__mark {
    position: relative;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    background: var(--grass);
    border: 3px solid #d6ef9a;
    box-shadow: inset -7px -7px 0 rgba(0, 0, 0, 0.18);
}

.site-brand__mark::after {
    position: absolute;
    right: 5px;
    bottom: 5px;
    width: 6px;
    height: 6px;
    background: var(--forest-dark);
    content: "";
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    padding: 9px 12px;
    color: #e7eee8;
    border-radius: 5px;
    font-size: 0.86rem;
    font-weight: 750;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
    color: #fff;
    background: var(--forest);
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 6px;
    cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    content: "";
}

.nav-toggle__bars {
    position: relative;
}

.nav-toggle__bars::before {
    position: absolute;
    top: -6px;
}

.nav-toggle__bars::after {
    position: absolute;
    top: 6px;
}

.hub-hero {
    position: relative;
    display: grid;
    min-height: min(58vh, 570px);
    background-color: var(--charcoal);
    background-image: var(--hero-image);
    background-position: center;
    background-size: cover;
    isolation: isolate;
}

.hub-hero__shade {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: rgba(7, 13, 9, 0.5);
}

.hub-hero__content {
    width: min(calc(100% - 40px), var(--content));
    max-width: 720px;
    margin: auto;
    margin-left: max(20px, calc((100% - var(--content)) / 2));
    padding-block: 72px;
}

.hub-hero .eyebrow {
    color: #dcf6a8;
}

.hub-hero h1 {
    max-width: 760px;
    color: #fff;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.78);
}

.hub-hero p:last-child {
    max-width: 670px;
    margin: 25px 0 0;
    color: #fff;
    font-size: clamp(1rem, 2vw, 1.26rem);
    font-weight: 560;
    line-height: 1.55;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.92);
}

.hub-toolbar {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.hub-toolbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(calc(100% - 40px), var(--content));
    min-height: 104px;
    margin-inline: auto;
    gap: 28px;
}

.hub-toolbar__inner > p {
    margin: 0;
    color: var(--muted);
    font-size: 0.93rem;
}

.hub-toolbar__inner > p strong {
    color: var(--forest-dark);
}

.search-field {
    position: relative;
    display: block;
    width: min(100%, 610px);
}

.search-field input {
    width: 100%;
    height: 50px;
    padding: 0 18px 0 50px;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid #c9d2cb;
    border-radius: 6px;
    outline: none;
}

.search-field input:focus {
    background: #fff;
    border-color: var(--forest);
    box-shadow: 0 0 0 3px rgba(39, 99, 66, 0.14);
}

.search-field__icon {
    position: absolute;
    z-index: 1;
    top: 15px;
    left: 18px;
    width: 17px;
    height: 17px;
    border: 2px solid var(--forest);
    border-radius: 50%;
}

.search-field__icon::after {
    position: absolute;
    right: -6px;
    bottom: -4px;
    width: 7px;
    height: 2px;
    background: var(--forest);
    transform: rotate(45deg);
    content: "";
}

.article-library {
    padding-block: 78px 92px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 34px;
    gap: 30px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--forest-dark);
    font-size: 0.94rem;
    font-weight: 780;
    text-decoration: none;
}

.text-link span {
    color: var(--cyan);
    font-size: 1.2em;
    transition: transform 150ms ease;
}

.text-link:hover span {
    transform: translateX(4px);
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    margin: -10px 0 28px;
    gap: 9px;
}

.category-filter {
    min-height: 39px;
    padding: 8px 14px;
    color: var(--forest-dark);
    background: #fff;
    border: 1px solid #bdc9c0;
    border-radius: 5px;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 750;
    cursor: pointer;
    transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}

.category-filter:hover,
.category-filter:focus-visible {
    border-color: var(--forest);
}

.category-filter.is-active {
    color: #fff;
    background: var(--forest);
    border-color: var(--forest);
}

.article-card {
    min-width: 0;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(23, 33, 27, 0.06);
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.article-card:hover {
    border-color: #a9b8ac;
    box-shadow: 0 16px 34px rgba(23, 33, 27, 0.11);
    transform: translateY(-3px);
}

.article-card__media {
    display: block;
    aspect-ratio: 16 / 7;
    overflow: hidden;
    background: var(--forest-dark);
}

.article-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

.article-card:hover .article-card__media img {
    transform: scale(1.035);
}

.article-card__body {
    padding: 24px 26px 27px;
}

.article-card__meta {
    margin-bottom: 10px;
    color: var(--forest);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.article-card__meta span {
    padding-inline: 5px;
    color: var(--gold);
}

.article-card h3 a,
.related-card h3 a {
    color: var(--charcoal);
    text-decoration: none;
}

.article-card h3 a:hover,
.related-card h3 a:hover {
    color: var(--forest);
}

.article-card__body > p:not(.article-card__meta) {
    margin: 13px 0 18px;
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.58;
}

.empty-results {
    margin: 28px 0 0;
    padding: 28px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.editorial-band {
    padding-block: 62px;
    color: #e5ede7;
    background: var(--forest-dark);
    border-top: 5px solid var(--gold);
}

.editorial-band__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
    align-items: center;
    gap: 80px;
}

.editorial-band .eyebrow {
    color: #cfea97;
}

.editorial-band h2 {
    color: #fff;
}

.editorial-band p:last-child {
    margin: 0;
    color: #d5dfd8;
    font-size: 1.04rem;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    min-height: 62px;
    gap: 10px;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.82rem;
    white-space: nowrap;
}

.breadcrumbs a {
    flex: 0 0 auto;
    color: var(--forest);
    font-weight: 700;
    text-decoration: none;
}

.breadcrumbs span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(400px, 1.05fr);
    min-height: 490px;
    margin-bottom: 68px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 15px 45px rgba(23, 33, 27, 0.08);
}

.article-hero__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 54px 48px;
}

.article-hero h1 {
    font-size: clamp(2.2rem, 4.2vw, 4rem);
}

.article-hero__lead {
    margin: 24px 0 0;
    color: #445149;
    font-size: 1.1rem;
    line-height: 1.6;
}

.article-byline {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    gap: 6px 10px;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

.article-byline span:first-child {
    color: var(--forest-dark);
    font-weight: 750;
}

.article-hero__media {
    position: relative;
    min-height: 390px;
    margin: 0;
    background: var(--forest-dark);
}

.article-hero__media::after {
    position: absolute;
    inset: auto 0 0;
    height: 5px;
    background: var(--gold);
    content: "";
}

.article-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, var(--reading));
    justify-content: center;
    align-items: start;
    padding-bottom: 96px;
    gap: 68px;
}

.article-aside {
    position: sticky;
    top: 98px;
}

.toc {
    padding: 22px 0 24px;
    border-top: 3px solid var(--forest);
    border-bottom: 1px solid var(--line);
}

.toc__title {
    margin-bottom: 14px;
    color: var(--charcoal);
    font-size: 0.84rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.toc ol {
    display: grid;
    margin: 0;
    padding: 0;
    gap: 8px;
    list-style: none;
}

.toc a {
    display: block;
    padding-block: 4px;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.4;
    text-decoration: none;
}

.toc a:hover {
    color: var(--forest-dark);
}

.fact-list {
    margin: 24px 0 0;
}

.fact-list div {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    gap: 12px;
}

.fact-list dt,
.fact-list dd {
    margin: 0;
    font-size: 0.76rem;
    line-height: 1.4;
}

.fact-list dt {
    color: var(--muted);
}

.fact-list dd {
    color: var(--charcoal);
    font-weight: 750;
}

.article-content {
    min-width: 0;
    color: #29332d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.08rem;
    line-height: 1.82;
}

.article-content > p:first-child {
    color: var(--ink);
    font-size: 1.2rem;
    line-height: 1.75;
}

.article-content h2,
.article-content h3 {
    scroll-margin-top: 94px;
    font-family: "Trebuchet MS", Inter, ui-sans-serif, system-ui, sans-serif;
}

.article-content h2 {
    margin: 55px 0 20px;
    padding-top: 4px;
    font-size: 2rem;
}

.article-content h3 {
    margin: 35px 0 14px;
    font-size: 1.35rem;
}

.article-content p,
.article-content ul,
.article-content ol {
    margin-bottom: 22px;
}

.article-content ul,
.article-content ol {
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 9px;
    padding-left: 5px;
}

.article-content strong {
    color: #15231a;
}

.article-content a {
    color: #176540;
    font-weight: 650;
}

.article-content .quick-answer {
    margin: 0 0 38px;
    padding: 24px 26px;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    background: #eef7ef;
    border-left: 5px solid var(--grass);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.quick-answer strong {
    display: block;
    margin-bottom: 6px;
    color: var(--forest-dark);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.quick-answer p {
    margin: 0;
    color: #2f4736;
    font-size: 1rem;
    line-height: 1.65;
}

.article-content .notice {
    margin: 32px 0;
    padding: 22px 24px;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    background: #fff8e6;
    border: 1px solid #ead38b;
    border-radius: var(--radius);
}

.article-content .notice p:last-child {
    margin-bottom: 0;
}

.article-content .checklist {
    padding: 0;
    list-style: none;
}

.article-content .checklist li {
    position: relative;
    padding: 10px 12px 10px 38px;
    margin-bottom: 7px;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 0.98rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 5px;
}

.article-content .checklist li::before {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 12px;
    height: 7px;
    border-bottom: 3px solid var(--forest);
    border-left: 3px solid var(--forest);
    transform: rotate(-45deg);
    content: "";
}

.article-content .steps {
    padding: 0;
    list-style: none;
    counter-reset: steps;
}

.article-content .steps li {
    position: relative;
    min-height: 58px;
    padding: 8px 0 22px 58px;
    margin: 0;
    counter-increment: steps;
}

.article-content .steps li::before {
    position: absolute;
    top: 3px;
    left: 0;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    color: #fff;
    background: var(--forest);
    border-radius: 5px;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 0.85rem;
    font-weight: 850;
    content: counter(steps);
}

.article-content table {
    width: 100%;
    margin: 28px 0 34px;
    border-collapse: collapse;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 0.9rem;
}

.article-content th,
.article-content td {
    padding: 13px 14px;
    text-align: left;
    vertical-align: top;
    border: 1px solid var(--line);
}

.article-content th {
    color: #fff;
    background: var(--forest-dark);
}

.article-content tr:nth-child(even) td {
    background: #f1f5f1;
}

.faq-section {
    margin-top: 62px;
    padding-top: 48px;
    border-top: 1px solid var(--line);
}

.faq-list {
    margin-top: 26px;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    border-top: 1px solid var(--line);
}

.faq-list details {
    border-bottom: 1px solid var(--line);
}

.faq-list summary {
    position: relative;
    padding: 19px 40px 19px 0;
    color: var(--charcoal);
    font-weight: 760;
    line-height: 1.45;
    cursor: pointer;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    position: absolute;
    top: 20px;
    right: 4px;
    color: var(--forest);
    font-size: 1.4rem;
    line-height: 1;
    content: "+";
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list p {
    margin: -5px 0 20px;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.65;
}

.related-section {
    padding-block: 74px 88px;
    background: #eaf0ea;
    border-top: 1px solid #d1dbd2;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.related-card {
    min-height: 190px;
    padding: 24px;
    background: #fff;
    border: 1px solid #d2dcd3;
    border-radius: var(--radius);
}

.related-card > p {
    margin-bottom: 12px;
    color: var(--forest);
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.related-card h3 {
    min-height: 58px;
    margin-bottom: 22px;
    font-size: 1.16rem;
}

.site-footer {
    padding-block: 48px;
    color: #bcc9bf;
    background: var(--charcoal);
}

.site-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(calc(100% - 40px), var(--content));
    margin-inline: auto;
    gap: 40px;
}

.site-footer p {
    margin: 8px 0 0;
    font-size: 0.86rem;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 24px;
}

.site-footer nav a {
    color: #dce5de;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
}

.not-found {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: min(calc(100% - 40px), 780px);
    min-height: calc(100vh - 250px);
    margin-inline: auto;
    padding-block: 70px;
}

.not-found > p:not(.eyebrow) {
    max-width: 620px;
    margin: 24px 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    color: #fff;
    background: var(--forest);
    border: 1px solid var(--forest);
    border-radius: 5px;
    font-weight: 760;
    text-decoration: none;
}

.button:hover {
    color: #fff;
    background: var(--forest-dark);
}

.button--secondary {
    color: var(--forest-dark);
    background: transparent;
}

.button--secondary:hover {
    color: #fff;
}

@media (max-width: 960px) {
    .main-nav {
        position: fixed;
        top: 68px;
        right: 0;
        bottom: 0;
        left: 0;
        display: none;
        align-content: start;
        padding: 22px 20px;
        background: var(--charcoal);
    }

    .nav-open .main-nav {
        display: grid;
    }

    .main-nav a {
        display: flex;
        align-items: center;
        min-height: 50px;
        padding-inline: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-toggle {
        display: inline-flex;
    }

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

    .article-hero__copy {
        padding: 42px 36px;
    }

    .article-hero__media {
        min-height: 360px;
        aspect-ratio: 16 / 8;
    }

    .article-layout {
        grid-template-columns: 210px minmax(0, 1fr);
        gap: 40px;
    }
}

@media (max-width: 760px) {
    body {
        font-size: 16px;
    }

    .content-width,
    .site-header__inner,
    .hub-toolbar__inner,
    .site-footer__inner {
        width: min(calc(100% - 28px), var(--content));
    }

    .hub-hero {
        min-height: 500px;
        background-position: 62% center;
    }

    .hub-hero__content {
        width: calc(100% - 28px);
        margin-left: 14px;
        padding-block: 60px;
    }

    .hub-toolbar__inner,
    .site-footer__inner {
        align-items: stretch;
        flex-direction: column;
    }

    .hub-toolbar__inner {
        justify-content: center;
        min-height: 135px;
        padding-block: 20px;
        gap: 12px;
    }

    .article-library {
        padding-block: 54px 68px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .article-grid,
    .related-grid,
    .editorial-band__inner {
        grid-template-columns: 1fr;
    }

    .editorial-band__inner {
        gap: 28px;
    }

    .breadcrumbs {
        min-height: 54px;
    }

    .article-hero {
        width: 100%;
        margin-bottom: 0;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .article-hero__copy {
        padding: 38px 20px 36px;
    }

    .article-hero__lead {
        font-size: 1rem;
    }

    .article-hero__media {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .article-layout {
        display: flex;
        flex-direction: column;
        width: min(calc(100% - 36px), var(--reading));
        padding-top: 42px;
        padding-bottom: 68px;
        gap: 38px;
    }

    .article-aside {
        position: static;
        width: 100%;
    }

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

    .article-content {
        font-size: 1rem;
        line-height: 1.75;
    }

    .article-content > p:first-child {
        font-size: 1.08rem;
    }

    .article-content h2 {
        font-size: 1.65rem;
    }

    .article-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .related-section {
        padding-block: 56px 66px;
    }

    .site-footer nav {
        justify-content: flex-start;
    }
}

@media (max-width: 420px) {
    .site-brand {
        font-size: 1rem;
    }

    .article-card__body {
        padding: 21px 20px 24px;
    }

    .fact-list {
        grid-template-columns: 1fr;
    }

    .article-content .steps li {
        padding-left: 50px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}

