.blog-page { --blog-ink: #202923; --blog-muted: #566158; --blog-paper: #f7f6f0; --blog-line: #d8ddd4; --blog-green: #254d37; background: var(--blog-paper); color: var(--blog-ink); }
.blog-page [hidden] { display: none !important; }
.blog-page main { min-width: 0; }
.blog-page main a, .blog-page main button { text-underline-offset: 4px; }
.blog-page a:focus-visible, .blog-page button:focus-visible, .blog-page input:focus-visible, .blog-page summary:focus-visible, .blog-table-scroll:focus-visible { outline: 3px solid #bc4b1b; outline-offset: 5px; }
.blog-wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.blog-eyebrow { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; line-height: 1.6; color: var(--blog-muted); }
.blog-skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: white; color: #202923; padding: 14px 20px; }
.blog-skip:focus { top: 16px; }
.blog-hero { border-bottom: 1px solid var(--blog-line); padding: 72px 0 64px; background: linear-gradient(120deg, #f7f6f0 65%, #eeeee3 65%); }
.blog-hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 64px; }
.blog-hero h1 { font-size: clamp(2.6rem, 5.1vw, 4.65rem); font-weight: 900; line-height: 1.06; letter-spacing: -.055em; margin: 22px 0; }
.blog-hero h1 span { color: #a03d18; }
.blog-intro { color: var(--blog-muted); font-size: 1.12rem; line-height: 1.8; max-width: 650px; }
.blog-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; background: var(--blog-green); color: white; padding: 14px 20px; border-radius: 6px; font-weight: 750; font-size: .9rem; margin-top: 26px; }
.blog-button:hover { background: #173b27; }
.blog-hero-caption { font-size: .75rem; color: var(--blog-muted); margin-top: 18px; }
.blog-ledger { background: #233e2e; color: #fffef5; border-radius: 8px; padding: 32px; transform: rotate(1deg); box-shadow: 12px 12px 0 #d9dfcf; }
.blog-ledger .blog-eyebrow { color: #c2d1bc; }
.blog-ledger-title { font-size: 2.1rem; font-weight: 800; line-height: 1.2; letter-spacing: -.03em; margin: 16px 0 24px; }
.blog-ledger dl > div { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid #4d6656; font-size: .82rem; }
.blog-ledger dd { font-weight: 800; white-space: nowrap; }
.blog-ledger-total { color: #e1efb1; }
.blog-ledger > p:not(.blog-eyebrow):not(.blog-ledger-title) { margin-top: 20px; font-size: .76rem; color: #d1dbcd; line-height: 1.75; }
.blog-ledger > a { display: block; margin-top: 16px; font-size: .8rem; font-weight: 700; text-decoration: underline; }
.blog-feature { display: grid; grid-template-columns: 210px 1fr; gap: 40px; padding-block: 42px; border-bottom: 1px solid var(--blog-line); }
.blog-feature-label { display: flex; flex-direction: column; justify-content: space-between; }
.blog-feature-number { color: #c2cbbf; font-weight: 900; font-size: 3.5rem; line-height: 1; }
.blog-feature h2 { max-width: 760px; font-size: clamp(1.6rem, 2.5vw, 2.1rem); font-weight: 800; line-height: 1.25; letter-spacing: -.03em; margin: 8px 0 12px; }
.blog-feature h2 a:hover, .blog-card h3 a:hover { color: #a03d18; text-decoration: underline; }
.blog-feature p:last-child { color: var(--blog-muted); line-height: 1.75; max-width: 720px; }
.blog-library { padding-block: 56px; scroll-margin-top: 20px; }
.blog-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.blog-section-heading h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; font-weight: 800; letter-spacing: -.035em; margin-top: 8px; }
.blog-section-heading > p, .blog-section-heading > a { color: var(--blog-muted); font-size: .8rem; }
.blog-tools { margin-bottom: 26px; }
.blog-search { max-width: 460px; margin-bottom: 20px; }
.blog-search label { display: block; font-size: .8rem; font-weight: 700; margin-bottom: 8px; }
.blog-search input { width: 100%; padding: 12px 16px; border: 1px solid #a8b5a6; border-radius: 6px; background: white; font-size: .9rem; }
.blog-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-filters button { border: 1px solid #bdc7b8; border-radius: 24px; padding: 10px 16px; min-height: 44px; font-size: .78rem; font-weight: 650; background: transparent; }
.blog-filters button[aria-pressed="true"] { background: var(--blog-green); border-color: var(--blog-green); color: white; }
.blog-filters button:hover { box-shadow: inset 0 0 0 1px var(--blog-green); }
.blog-results { font-size: .8rem; color: var(--blog-muted); margin-bottom: 18px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.blog-card { background: #fffefa; border: 1px solid var(--blog-line); border-radius: 8px; padding: 26px; display: flex; flex-direction: column; min-width: 0; }
.blog-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.blog-tag { font-size: .65rem; letter-spacing: .04em; font-weight: 800; border: 1px solid #d5decd; background: #eef2e7; color: #365039; border-radius: 4px; padding: 5px 8px; align-self: start; }
.blog-card-number { font-size: .75rem; color: #6b786b; }
.blog-card h3 { font-size: 1.28rem; line-height: 1.35; letter-spacing: -.025em; font-weight: 800; margin: 10px 0 14px; }
.blog-card-description, .blog-card > p:not(.blog-eyebrow) { font-size: .88rem; line-height: 1.8; color: var(--blog-muted); }
.blog-card-bottom { display: flex; justify-content: space-between; gap: 10px; padding-top: 22px; margin-top: auto; font-size: .72rem; color: var(--blog-muted); }
.blog-card-bottom > span:last-child { font-size: 1.2rem; color: var(--blog-green); }
.blog-empty { background: #fffefa; border: 1px solid var(--blog-line); border-radius: 8px; padding: 32px; text-align: center; }
.blog-empty h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.blog-calculator-cta { background: #e7edde; border: 1px solid #cedbc4; border-radius: 8px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; padding: 36px; margin-bottom: 24px; }
.blog-calculator-cta h2 { font-size: 2rem; font-weight: 850; line-height: 1.2; letter-spacing: -.035em; margin: 12px 0; }
.blog-calculator-cta p:last-child { color: var(--blog-muted); line-height: 1.8; }
.blog-calculator-links { display: flex; flex-direction: column; justify-content: center; }
.blog-calculator-links a { display: flex; justify-content: space-between; padding: 13px 0; font-size: .88rem; font-weight: 700; border-bottom: 1px solid #bdcbb4; }
.blog-calculator-links a:hover { text-decoration: underline; }
.blog-method { color: var(--blog-muted); font-size: .75rem; line-height: 1.8; margin-bottom: 48px; }
.blog-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; color: var(--blog-muted); font-size: .75rem; margin-bottom: 40px; }
.blog-breadcrumb a { text-decoration: underline; }
.blog-article-header { padding-block: 32px 40px; border-bottom: 1px solid var(--blog-line); }
.blog-article-header h1 { font-size: clamp(2rem, 4.5vw, 3.7rem); line-height: 1.1; font-weight: 900; letter-spacing: -.045em; max-width: 940px; margin: 18px 0 24px; }
.blog-byline { color: var(--blog-muted); font-size: .75rem; line-height: 1.9; margin-top: 24px; }
.blog-byline a { text-decoration: underline; }
.blog-article-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 60px; padding-top: 40px; }
.blog-toc nav { position: sticky; top: 24px; padding-right: 20px; border-right: 1px solid var(--blog-line); }
.blog-toc ol { list-style: none; padding: 0; margin: 12px 0; }
.blog-toc a { display: block; font-size: .8rem; line-height: 1.7; padding: 8px 0; color: var(--blog-muted); }
.blog-toc a:hover { text-decoration: underline; color: var(--blog-green); }
.blog-prose { max-width: 760px; min-width: 0; padding-bottom: 40px; overflow-wrap: anywhere; }
.blog-prose h2 { font-size: 1.65rem; font-weight: 800; line-height: 1.3; letter-spacing: -.025em; margin: 38px 0 18px; }
.blog-prose p, .blog-prose li { font-size: 1rem; line-height: 1.95; color: #425046; }
.blog-prose p { margin-block: 16px; }
.blog-prose ul { list-style: disc; padding-left: 22px; margin-block: 18px; }
.blog-prose li { margin-bottom: 10px; }
.blog-prose section { scroll-margin-top: 24px; }
.blog-prose .blog-lead { font-size: 1.15rem; line-height: 1.85; margin-top: 0; }
.blog-takeaways { background: #eaf0e3; border-left: 4px solid var(--blog-green); padding: 6px 24px 12px; margin: 28px 0; border-radius: 0 6px 6px 0; }
.blog-takeaways h2 { font-size: 1.05rem; margin-top: 20px; }
.blog-takeaways li { font-size: .9rem; }
.blog-table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--blog-line); border-radius: 6px; margin-block: 24px; background: white; }
.blog-prose table { width: 100%; border-collapse: collapse; text-align: left; font-size: .85rem; }
.blog-prose caption { text-align: left; padding: 16px; font-size: .8rem; color: var(--blog-muted); }
.blog-prose th, .blog-prose td { padding: 14px 16px; border-top: 1px solid var(--blog-line); min-width: 130px; vertical-align: top; }
.blog-prose thead { background: #eaf0e3; }
.blog-prose tbody th { font-weight: 600; }
.blog-faq details { border-top: 1px solid var(--blog-line); padding: 18px 0; }
.blog-faq summary { cursor: pointer; font-size: .98rem; font-weight: 750; line-height: 1.6; }
.blog-faq details p { font-size: .9rem; }
.blog-sources { border-top: 1px solid var(--blog-line); margin-top: 36px; }
.blog-sources p, .blog-sources li { font-size: .8rem; }
.blog-sources a { text-decoration: underline; }
.blog-article-cta { border: 1px solid #bdcbb4; background: #e7edde; border-radius: 8px; padding: 26px; margin-top: 36px; }
.blog-article-cta h2 { margin-top: 8px; font-size: 1.5rem; }
.blog-article-cta p { font-size: .9rem; }
.blog-related { padding-block: 40px 64px; border-top: 1px solid var(--blog-line); }
@media (max-width: 950px) { .blog-hero-grid { gap: 36px; } .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .blog-article-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 32px; } }
@media (max-width: 700px) {
    .blog-wrap { width: calc(100% - 32px); }
    .blog-hero { padding: 40px 0; background: var(--blog-paper); }
    .blog-hero-grid, .blog-calculator-cta, .blog-article-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .blog-hero h1 { font-size: clamp(2.45rem, 9vw, 3.7rem); }
    .blog-intro { font-size: 1rem; }
    .blog-ledger { transform: none; padding: 26px; box-shadow: 5px 5px 0 #d9dfcf; }
    .blog-feature { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-block: 30px; }
    .blog-feature-number { display: none; }
    .blog-section-heading { display: block; }
    .blog-section-heading > p, .blog-section-heading > a { display: block; margin-top: 14px; }
    .blog-grid { grid-template-columns: minmax(0, 1fr); }
    .blog-card { padding: 24px; }
    .blog-card-top { margin-bottom: 20px; }
    .blog-calculator-cta { padding: 26px; }
    .blog-calculator-cta h2 { font-size: 1.75rem; }
    .blog-article-header { padding-top: 24px; }
    .blog-breadcrumb { margin-bottom: 28px; }
    .blog-toc nav { position: static; border-right: 0; border-bottom: 1px solid var(--blog-line); padding-bottom: 18px; }
    .blog-toc ol { columns: 1; }
    .blog-prose h2 { font-size: 1.45rem; }
    .blog-prose p, .blog-prose li { font-size: .96rem; }
}
