:root {
  --paper: #f8f7f2;
  --white: #fffef9;
  --ink: #263f30;
  --muted: #626c60;
  --green: #2b4c36;
  --orange: #af4f32;
  --line: #dce0d4;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
html.library-page { scroll-behavior: auto; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--orange); }
button { cursor: pointer; }
button:disabled, input:disabled { cursor: not-allowed; }
button, input { border-radius: 0; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
input:focus-visible { outline-offset: 2px; }
svg { display: block; flex-shrink: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(2.8rem, 6vw, 5.1rem); line-height: 1.07; letter-spacing: -.047em; }
h1 em, h2 em { color: var(--orange); font-weight: 400; }
h2 { font-size: clamp(2rem, 3.6vw, 2.85rem); line-height: 1.13; letter-spacing: -.035em; }
[hidden] { display: none !important; }
::selection { background: #e6c19e; color: #213829; }
.container { width: calc(100% - 80px); max-width: 1160px; margin-inline: auto; }
.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; }
.skip-link { position: absolute; z-index: 100; top: 8px; left: 16px; padding: 12px 20px; background: var(--green); color: white; transform: translateY(-160%); border-radius: 6px; }
.skip-link:focus { transform: translateY(0); }
.eyebrow { display: flex; align-items: center; gap: 11px; margin-bottom: 20px; color: var(--orange); font-size: 10px; line-height: 1.5; font-weight: 650; letter-spacing: 1.85px; }
.eyebrow > span:not(.status-dot) { margin-right: 3px; color: var(--muted); }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 15px 21px; border: 1px solid var(--green); border-radius: 5px; background: var(--green); color: var(--white); font-size: 13px; font-weight: 550; line-height: 1.5; text-decoration: none; transition: background .2s, transform .2s; }
.button:hover { background: #1e3b2a; transform: translateY(-2px); }
.button svg, .quiet-link svg, .light-link svg, .card-link svg { width: 19px; height: 19px; }
.button-small { padding: 11px 16px; font-size: 12px; gap: 13px; }
.quiet-link, .light-link { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 550; text-decoration: none; }
.quiet-link:hover, .light-link:hover { text-decoration: underline; }
.color-mint { background: #e5ebda; }
.color-peach { background: #f3dfcd; }
.color-sand { background: #eee5ca; }
.color-blue { background: #e0e8e9; }
.color-lavender { background: #e9e3ed; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 23px; font-weight: 650; line-height: 1.2; letter-spacing: -1px; text-decoration: none; white-space: nowrap; }
.brand-mark { width: 31px; height: 31px; display: inline-flex; align-items: center; justify-content: center; background: var(--green); color: var(--white); border-radius: 7px; }
.brand-mark svg { width: 24px; height: 24px; }
.brand-period { color: var(--orange); }
.site-nav { display: flex; align-items: center; gap: 29px; }
.site-nav > a:not(.button) { font-size: 12px; font-weight: 500; text-decoration: none; }
.site-nav > a:not(.button):hover, .site-nav > a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 7px; }
.menu-toggle { display: none; align-items: center; gap: 12px; min-height: 44px; padding: 8px 0 8px 10px; background: transparent; border: 0; color: var(--ink); font-size: 13px; }
.menu-lines { position: relative; width: 19px; height: 13px; border-block: 1.5px solid currentColor; }
.menu-lines::after { position: absolute; inset: 4px 0 auto; height: 1.5px; background: currentColor; content: ""; }

.hero { display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: 12px; padding-top: 62px; padding-bottom: 67px; }
.hero-copy { padding-bottom: 3px; position: relative; z-index: 1; }
.hero .eyebrow { margin-bottom: 25px; font-size: 9px; letter-spacing: 1.8px; }
.hero-description { max-width: 395px; margin-top: 25px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; margin-top: 31px; }
.hero-actions .button { padding: 16px 20px; }
.hero-actions .quiet-link { font-size: 12px; }
.hero-footnote { display: flex; align-items: center; gap: 9px; margin-top: 27px; color: var(--muted); font-size: 10px; }
.tiny-spark svg { width: 14px; height: 14px; color: #798363; }
.hero-visual { min-width: 0; position: relative; }
.hero-art { width: 108%; max-width: 605px; margin-left: -7px; height: auto; }
.art-caption { display: block; margin-top: -3px; padding-left: 46px; color: var(--muted); text-align: center; font-size: 8px; letter-spacing: 2px; }
.principles { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 24px; border-block: 1px solid var(--line); }
.principles p { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 500; }
.principles svg { width: 16px; height: 16px; color: #738163; }
.principles > span { padding-left: 16px; color: var(--muted); font-family: var(--serif); font-style: italic; font-size: 14px; }

.section { padding-block: 83px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 35px; }
.section-heading .eyebrow { margin-bottom: 17px; }
.section-heading-aside { max-width: 310px; padding-bottom: 3px; }
.section-heading-aside p, .section-description { color: var(--muted); font-size: 13px; line-height: 1.9; }
.section-heading-aside .quiet-link { margin-top: 17px; font-size: 12px; }
.section-description { padding-bottom: 5px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; }
.guide-card { min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 9px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.guide-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px #263f3009; }
.guide-card > a { display: flex; height: 100%; flex-direction: column; text-decoration: none; }
.guide-card:focus-within { outline: 3px solid var(--orange); outline-offset: 5px; }
.guide-card a:focus-visible { outline: none; }
.guide-art { position: relative; aspect-ratio: 1.75; display: flex; align-items: center; justify-content: center; }
.guide-art svg { width: 90%; height: 90%; }
.art-index { position: absolute; bottom: 13px; left: 18px; color: #556148; font-size: 6px; letter-spacing: 1.3px; font-weight: 600; }
.guide-card-body { display: flex; flex: 1; flex-direction: column; padding: 23px 23px 24px; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 9px; font-weight: 500; line-height: 1.5; }
.card-meta > span:first-child { color: var(--orange); }
.card-meta > span:last-child { color: var(--muted); white-space: nowrap; }
.guide-card h3 { margin-top: 14px; font-family: var(--serif); font-size: 24px; font-weight: 400; line-height: 1.24; letter-spacing: -.6px; }
.guide-card-body > p { margin-top: 13px; padding-bottom: 22px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.card-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 19px; border-top: 1px solid var(--line); font-size: 10px; font-weight: 600; }
.card-link svg { width: 17px; height: 17px; }

.toolbox-section { background: #eeefe7; border-block: 1px solid #e6e8dd; }
.toolbox-section .section-heading { margin-bottom: 31px; }
.toolbox-controls { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 15px; }
.tool-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.tool-filters button { min-height: 37px; padding: 7px 17px; border: 1px solid #cdd4c3; border-radius: 30px; background: transparent; color: var(--ink); font-size: 11px; transition: background .2s; }
.tool-filters button[aria-pressed="true"] { border-color: var(--green); background: var(--green); color: var(--white); }
.tool-filters button:hover:not([aria-pressed="true"]) { background: #e0e5d6; }
.tool-count { color: var(--muted); font-size: 10px; }
.disclosure-note { display: flex; flex-wrap: wrap; column-gap: 6px; margin-bottom: 25px; color: var(--muted); font-size: 10px; line-height: 1.8; }
.disclosure-note a { display: inline-flex; align-items: center; gap: 2px; color: var(--ink); }
.disclosure-note svg { width: 13px; height: 13px; }
.tools-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tool-card { display: flex; flex-direction: column; min-width: 0; padding: 24px; border: 1px solid #d6dcce; border-radius: 7px; background: #fafbf5; }
.tool-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.tool-logo { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; font-family: var(--serif); font-size: 27px; font-weight: bold; letter-spacing: -2px; line-height: 1; padding-right: 2px; }
.tool-logo.color-sand { font-family: var(--sans); font-size: 16px; letter-spacing: -1px; }
.tool-category { color: var(--muted); font-size: 9px; }
.tool-card h3 { font-size: 16px; line-height: 1.4; letter-spacing: -.3px; font-weight: 600; }
.tool-label { margin-top: 3px; color: var(--orange); font-size: 10px; }
.tool-card > p:not(.tool-label) { margin-top: 13px; margin-bottom: 21px; color: var(--muted); font-size: 12px; line-height: 1.85; }
.tool-card-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: auto; }
.tool-card-bottom a { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; font-size: 10px; font-weight: 600; text-decoration: none; }
.tool-card-bottom a:hover { text-decoration: underline; }
.tool-card-bottom svg { width: 15px; height: 15px; }
.affiliate-label { color: var(--orange); font-size: 9px; font-weight: 500; }

.calculator-section { padding-block: 78px; background: #254532; color: var(--paper); }
.calculator-layout { display: grid; grid-template-columns: .95fr 1fr; align-items: center; gap: 85px; }
.calculator-copy .eyebrow, .calculator-copy .eyebrow > span { color: #d8c7a4; }
.calculator-copy h2 { font-size: clamp(2.3rem, 4.2vw, 3.35rem); line-height: 1.14; }
.calculator-copy h2 em { color: #e5be92; }
.calculator-copy > p:not(.eyebrow) { max-width: 330px; margin-top: 23px; color: #d0d9c9; font-size: 13px; line-height: 1.9; }
.light-link { margin-top: 26px; font-size: 11px; }
.calculator-caveat { display: flex; align-items: center; gap: 13px; margin-top: 41px; color: #cad5c2; }
.calculator-caveat svg { width: 27px; height: 27px; color: #e5be92; }
.calculator-caveat p { font-size: 10px; line-height: 1.7; }
.calculator-card { min-width: 0; padding: 28px; border-radius: 10px; background: #f8f8ef; color: var(--ink); }
.calculator-card-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 25px; }
.calculator-card-heading h3 { max-width: 220px; font-family: var(--serif); font-size: 21px; font-weight: 400; line-height: 1.35; letter-spacing: -.4px; }
.calculator-card-heading > span { margin-top: 7px; color: var(--muted); font-size: 7px; letter-spacing: 1px; white-space: nowrap; }
.calculator-card fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.calculator-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 17px; row-gap: 17px; }
.field { min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font-size: 10px; font-weight: 600; }
.field label span { color: var(--muted); font-weight: 400; }
.field input { width: 100%; min-height: 45px; padding: 7px 12px; border: 1px solid #c9d1bf; border-radius: 4px; background: #fffef9; color: var(--ink); font-size: 20px; line-height: 1.4; }
.field input[aria-invalid="true"] { border: 2px solid #a23d29; }
.field-help { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; line-height: 1.6; }
.calculator-results { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 20px; margin-top: 24px; padding-top: 24px; border-top: 1px solid #d6ddcd; }
.result-label { display: block; color: var(--muted); font-size: 9px; }
.calculator-results output { display: block; margin-top: 0; font-family: var(--serif); font-size: 59px; line-height: 1.25; letter-spacing: -2.5px; overflow-wrap: anywhere; font-variant-numeric: lining-nums; }
.calculator-results output[data-long="true"] { margin-block: 9px; font-size: 29px; letter-spacing: -1px; }
.result-period { display: block; color: var(--muted); font-size: 9px; line-height: 1.5; }
.margin-result { border-left: 1px solid #d6ddcd; padding-left: 24px; }
.margin-result output { margin-block: 7px; font-size: 29px; letter-spacing: -1px; }
.calculator-formula { margin-top: 22px; color: var(--muted); font-size: 8px; line-height: 1.75; }
.calculator-error { margin-top: 14px; color: #9b3325; font-size: 12px; }

.download-section { display: grid; grid-template-columns: 130px 1fr auto; align-items: center; gap: 24px; margin-block: 77px; padding: 43px 42px; border: 1px solid #e8dfcc; border-radius: 9px; background: #f0e9d9; }
.download-section .eyebrow { margin-bottom: 12px; color: #98442d; font-size: 8px; letter-spacing: 1.5px; }
.download-section h2 { font-size: 34px; line-height: 1.16; letter-spacing: -1.2px; }
.download-section p:not(.eyebrow) { margin-top: 13px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.download-section .button { padding: 14px 18px; font-size: 11px; gap: 13px; }
.download-illustration { padding: 4px 0 3px 14px; }
.checklist-paper { position: relative; width: 96px; height: 132px; padding: 14px 13px; border: 1px solid #c2b696; background: #fffaf0; box-shadow: 5px 6px 0 #dfd6bd; transform: rotate(-8deg); }
.checklist-paper > span { display: block; font-size: 5px; letter-spacing: .75px; margin-bottom: 12px; }
.checklist-paper i { display: block; height: 13px; margin-left: 12px; border-bottom: 1px solid #d6d7c4; font-style: normal; }
.checklist-paper i::before { display: block; content: ""; width: 5px; height: 3px; border-left: 1px solid #6d805b; border-bottom: 1px solid #6d805b; transform: rotate(-45deg); margin-left: -11px; }
.checklist-paper > div { position: absolute; right: -15px; bottom: -12px; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: #c9734e; color: #fff8e9; }
.checklist-paper svg { width: 25px; height: 25px; }

.site-footer { border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 45px; padding-block: 50px 43px; }
.footer-brand .brand { font-size: 22px; }
.footer-brand > p { margin-top: 17px; color: var(--muted); font-family: var(--serif); font-size: 18px; line-height: 1.5; letter-spacing: -.3px; }
.footer-top h2 { margin: 5px 0 14px; font-family: var(--sans); font-size: 10px; font-weight: 650; letter-spacing: 0; }
.footer-top > div:not(.footer-brand) > a { display: block; width: fit-content; margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.9; text-decoration: none; }
.footer-top > div:not(.footer-brand) > a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-block: 22px 27px; border-top: 1px solid var(--line); font-size: 9px; color: var(--muted); }
.footer-note { font-family: var(--serif); font-style: italic; font-size: 12px; }
.text-button { padding: 0; border: 0; background: transparent; color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.privacy-status { max-width: 330px; margin-top: 8px; }
.cookie-nav { display: inline-flex; align-items: center; gap: 6px; }
.cookie-nav svg { width: 22px; height: 22px; }
#privacy-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 17px; max-width: 540px; }
.cookie-chip { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 7px 13px; border: 1px solid #c8d1bc; border-radius: 25px; background: #eef0e4; color: var(--ink); font-size: 11px; text-decoration: none; }
.cookie-chip svg { width: 24px; height: 24px; }
.cookie-chip:hover { background: #e5ebda; }
.us-privacy-link { max-width: 250px; font-size: 10px; line-height: 1.6; color: var(--ink); }
#privacy-announcement { flex-basis: 100%; margin: 0; font-size: 11px; }
#privacy-announcement:empty { display: none; }
.cookie-panel { width: min(440px, calc(100% - 36px)); max-height: calc(100dvh - 40px); padding: 28px; border: 1px solid #cdd4c4; border-radius: 18px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 80px #172d2740; overflow: auto; overscroll-behavior: contain; }
.cookie-panel:not([open]) { display: none; }
.cookie-panel::backdrop { background: #1a302b66; backdrop-filter: blur(3px); }
.cookie-close { display: flex; align-items: center; justify-content: center; position: absolute; top: 13px; right: 13px; width: 42px; height: 42px; border: 1px solid #d4dbcb; border-radius: 50%; background: #f0f2e8; color: var(--ink); font-size: 25px; line-height: 1; }
.cookie-close:hover { background: #e4ead9; }
.cookie-illustration { display: flex; align-items: center; gap: 14px; padding-right: 31px; margin-bottom: 16px; }
.cookie-illustration > svg { width: 58px; height: 58px; transform: rotate(-10deg); }
.cookie-illustration > span { max-width: 175px; font-size: 8px; font-weight: 600; letter-spacing: 1.5px; line-height: 1.9; color: #815134; }
.cookie-panel h2 { margin-bottom: 16px; font-size: 38px; line-height: 1.08; }
.cookie-panel > p { font-size: 12px; line-height: 1.8; }
.cookie-panel #cookie-description { color: var(--muted); margin-bottom: 19px; font-size: 13px; }
.cookie-facts { padding: 17px; background: #eaf0e1; border-radius: 10px; }
.cookie-facts p { color: #4d604a; font-size: 11px; line-height: 1.8; }
.cookie-facts p + p { margin-top: 12px; }
.cookie-facts strong { display: block; color: var(--ink); font-weight: 600; }
.cookie-panel .cookie-status { margin-block: 16px; padding-left: 13px; border-left: 2px solid #7e956e; color: #506047; font-size: 11px; }
.cookie-panel .cookie-status[data-tone="warning"] { border-left-color: var(--orange); color: #8e3825; }
.cookie-actions { display: grid; gap: 9px; }
.cookie-actions .button { width: 100%; min-height: 44px; padding: 12px 15px; font-size: 12px; }
.cookie-actions .button:disabled { opacity: .65; transform: none; }
.cookie-actions .cookie-secondary { background: transparent; color: var(--green); border-color: #99ad8c; }
.cookie-actions .cookie-secondary:not(:disabled):hover { background: #e9eddf; }
.cookie-panel .cookie-fineprint { margin-top: 16px; color: var(--muted); font-size: 10px; line-height: 1.8; }
.cookie-links { display: flex; flex-wrap: wrap; gap: 7px 20px; margin-top: 14px; font-size: 10px; }
.cookie-links a { padding-block: 5px; }

.page-heading { padding-top: 77px; padding-bottom: 53px; }
.page-heading h1 { max-width: 880px; font-size: clamp(2.8rem, 5vw, 4.3rem); }
.page-heading > p:not(.eyebrow) { max-width: 710px; margin-top: 24px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.guide-library { padding-bottom: 12px; }
.guide-library .guide-grid { row-gap: 32px; }
.library-heading { padding-bottom: 36px; }
.library-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 11px 25px; margin-top: 28px; color: var(--muted); font-size: 12px; }
.library-facts strong { font-size: 19px; font-weight: 600; color: var(--ink); margin-right: 4px; }
.library-facts > span + span { padding-left: 25px; border-left: 1px solid #cbd3c1; }
.library-controls { margin-bottom: 27px; padding: 25px 27px 20px; border: 1px solid var(--line); border-radius: 9px; background: #eeefe7; }
.library-controls fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
.library-search-row { display: grid; grid-template-columns: minmax(0, 1fr) 230px; align-items: end; gap: 21px; }
.library-search-row label { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 600; }
.library-search-row input, .library-search-row select { width: 100%; min-width: 0; min-height: 47px; padding: 10px 13px; border: 1px solid #b9c4b0; border-radius: 5px; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 15px; }
.library-search-row input::placeholder { color: #687263; opacity: 1; }
.library-search-row select:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.library-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 21px; }
.library-topics button { display: inline-flex; gap: 8px; align-items: center; min-height: 41px; padding: 9px 13px; border: 1px solid #c6cfbd; border-radius: 25px; background: transparent; color: var(--ink); font-size: 11px; }
.library-topics button > span { font-size: 10px; opacity: .9; }
.library-topics button[aria-pressed="true"] { background: var(--green); color: var(--white); border-color: var(--green); }
.library-topics button:hover:not([aria-pressed="true"]) { background: #e1e7d8; }
.library-control-note { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-top: 17px; color: var(--muted); font-size: 10px; }
.library-control-note .text-button { flex-shrink: 0; min-height: 28px; color: var(--ink); }
.library-browse-options { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 7px 20px; margin-top: 13px; padding-top: 13px; border-top: 1px solid #d2d9c8; }
.library-browse-options p { color: var(--muted); font-size: 10px; }
.library-status-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-block: 23px; color: var(--muted); font-size: 11px; }
.library-status-row a { padding-block: 7px; color: var(--ink); }
.library-feedback { margin-block: 18px; padding: 17px 20px; border-left: 3px solid var(--orange); background: #f2e8d9; color: var(--ink); font-size: 13px; }
.library-feedback .text-button { margin-top: 10px; min-height: 28px; }
.library-empty { padding: 48px 25px; text-align: center; border: 1px dashed #bac6b0; border-radius: 8px; background: #f1f2e9; }
.library-empty h3 { font-family: var(--serif); font-size: 28px; font-weight: 400; }
.library-empty p { max-width: 510px; margin: 15px auto 23px; color: var(--muted); font-size: 14px; }
.feed-controls { display: flex; flex-direction: column; align-items: center; gap: 11px; margin-top: 39px; padding-top: 27px; border-top: 1px solid var(--line); text-align: center; }
.auto-load-choice { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 34px; font-size: 13px; cursor: pointer; }
.auto-load-choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--green); }
.feed-controls > p { max-width: 550px; color: var(--muted); font-size: 11px; }
.feed-controls .button { margin-top: 9px; min-width: 220px; }
.feed-controls .feed-end { padding: 13px 20px; font-family: var(--serif); font-size: 17px; color: var(--ink); }
.feed-sentinel { height: 1px; }
.guide-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-block: 38px 16px; }
.guide-pagination a { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; min-height: 44px; padding: 9px 14px; border: 1px solid #cbd3c1; border-radius: 5px; font-size: 13px; text-decoration: none; }
.guide-pagination a[aria-current="page"] { color: var(--white); background: var(--green); border-color: var(--green); }
.library-fallback { margin-top: 20px; font-size: 13px; color: var(--muted); text-align: center; }
.article-heading { padding-block: 48px 34px; }
.back-link { display: inline-block; margin-bottom: 41px; font-size: 12px; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.article-heading .eyebrow { margin-bottom: 17px; }
.article-heading h1 { max-width: 925px; font-size: clamp(2.7rem, 5vw, 4rem); line-height: 1.13; letter-spacing: -.035em; }
.article-deck { max-width: 780px; margin-top: 24px; color: var(--muted); font-size: 19px; line-height: 1.8; }
.article-meta { display: flex; flex-wrap: wrap; gap: 9px 25px; margin-top: 28px; padding-bottom: 31px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.article-meta a { color: var(--ink); }
.article-layout { display: grid; grid-template-columns: 220px minmax(0, 750px); gap: 72px; padding-top: 18px; padding-bottom: 42px; align-items: start; }
.article-sidebar { position: sticky; top: 30px; padding-right: 10px; }
.article-sidebar h2 { margin-bottom: 22px; font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: 1.2px; }
.article-sidebar nav a { display: block; margin-top: 16px; padding-left: 13px; border-left: 1px solid #cbd3c1; color: var(--muted); font-size: 12px; line-height: 1.65; text-decoration: none; }
.article-sidebar nav a:hover { border-left-color: var(--orange); color: var(--ink); }
.sidebar-download { display: block; margin-top: 34px; padding-top: 23px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.8; text-decoration: none; }
.sidebar-download strong { display: flex; align-items: center; gap: 6px; margin-top: 5px; color: var(--ink); font-size: 11px; font-weight: 550; }
.sidebar-download svg { width: 17px; height: 17px; }
.prose { font-size: 16px; line-height: 1.9; }
.prose > p, .prose section > p { margin-block: 17px; }
.prose > p:first-child { margin-top: 0; }
.prose .article-intro { font-family: var(--serif); font-size: 24px; line-height: 1.65; letter-spacing: -.3px; }
.prose h2 { margin-top: 45px; margin-bottom: 19px; font-size: 31px; line-height: 1.25; letter-spacing: -.7px; }
.prose li { padding-left: 5px; margin-block: 11px; }
.prose ul { padding-left: 21px; margin-block: 23px; }
.prose a { overflow-wrap: anywhere; }
.prose a:hover { color: var(--orange); }
.callout { display: flex; align-items: flex-start; gap: 18px; margin-block: 28px; padding: 24px 25px; border-left: 3px solid #c2714c; background: #ebeedf; border-radius: 0 5px 5px 0; }
.callout svg { width: 24px; height: 24px; margin-top: 4px; color: #748761; }
.callout p { font-family: var(--serif); font-size: 19px; line-height: 1.7; }
.article-sources { margin-top: 43px; padding-top: 5px; border-top: 1px solid var(--line); }
.article-sources h2 { margin-top: 27px; font-size: 24px; }
.article-sources p, .article-sources li { font-size: 13px; }
.article-sources svg { display: inline-block; width: 15px; height: 15px; vertical-align: middle; }
.prose .editorial-note { margin-top: 28px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.related-guides { margin-top: 33px; margin-bottom: 82px; padding-top: 50px; border-top: 1px solid var(--line); }
.related-guides .section-heading h2 { font-size: 35px; }
.utility-heading { max-width: 900px; }
.utility-prose { max-width: 900px; padding-bottom: 80px; }
.utility-prose > * { max-width: 760px; }
.utility-prose h2:first-child { margin-top: 0; }
.policy-date { color: var(--muted); font-size: 12px; }
.contact-box { padding: 30px; border: 1px solid var(--line); border-radius: 8px; background: #eef0e5; }
.contact-box .eyebrow { margin-bottom: 12px; }
.contact-box h2 { font-size: 24px; margin-top: 0; }
.contact-box p { margin-top: 14px; font-size: 14px; color: var(--muted); }
.contact-email { font-family: var(--serif); font-size: clamp(1.1rem, 3vw, 1.9rem); overflow-wrap: anywhere; }
.not-found { padding-block: 100px 130px; }
.not-found p:not(.eyebrow) { margin-top: 27px; color: var(--muted); font-size: 16px; }
.not-found .button { margin-top: 32px; }

@media (min-width: 1440px) {
  .hero { padding-block: 75px 76px; }
}

@media (max-width: 1100px) {
  .site-nav { gap: 21px; }
  .hero-actions { gap: 19px; }
  .hero-actions .button { font-size: 12px; padding-inline: 16px; gap: 10px; }
  .hero .eyebrow { font-size: 8px; letter-spacing: 1.4px; }
  .principles > span { display: none; }
  .principles { justify-content: space-around; }
  .calculator-layout { gap: 50px; }
  .calculator-card { padding: 24px; }
  .guide-card-body { padding: 20px; }
  .guide-card h3 { font-size: 22px; }
  .download-section { grid-template-columns: 105px 1fr auto; gap: 20px; padding: 37px 28px; }
  .download-section h2 { font-size: 31px; }
  .download-section .button { font-size: 10px; padding-inline: 13px; }
  .article-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 45px; }
}

@media (max-width: 900px) {
  .container { width: calc(100% - 48px); }
  .header-inner { flex-wrap: wrap; gap: 0; min-height: 84px; padding-block: 20px; }
  .brand { font-size: 22px; }
  .js .menu-toggle { display: inline-flex; }
  .site-nav { width: 100%; flex-wrap: wrap; gap: 15px 25px; margin-top: 19px; padding-top: 20px; border-top: 1px solid var(--line); }
  .js .site-nav:not(.is-open) { display: none; }
  .site-nav > a:not(.button) { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; }
  .site-nav .button { margin-left: auto; }
  .hero { grid-template-columns: 1fr 1fr; padding-block: 47px 53px; gap: 0; }
  .hero h1 { font-size: clamp(2.5rem, 6.4vw, 3.7rem); }
  .hero .eyebrow { font-size: 7px; gap: 7px; letter-spacing: 1px; margin-bottom: 20px; }
  .hero-description { font-size: 14px; margin-top: 20px; }
  .hero-actions { gap: 16px; margin-top: 25px; }
  .hero-footnote { max-width: 260px; font-size: 9px; line-height: 1.8; margin-top: 20px; }
  .hero-art { width: 100%; margin-left: 0; }
  .art-caption { font-size: 6px; margin-top: 6px; padding-left: 25px; }
  .section { padding-block: 65px; }
  .guide-grid { gap: 16px; }
  .guide-card h3 { font-size: 21px; }
  .guide-card-body { padding: 18px 15px; }
  .card-meta { font-size: 8px; align-items: flex-start; }
  .card-meta span:first-child { max-width: 90px; }
  .guide-card-body > p { font-size: 11px; }
  .tool-card { padding: 20px; }
  .tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calculator-layout { gap: 28px; grid-template-columns: .85fr 1fr; }
  .calculator-card { padding: 20px; }
  .calculator-card-heading { display: block; }
  .calculator-card-heading > span { display: inline-block; margin-top: 10px; }
  .calculator-copy h2 { font-size: 40px; }
  .calculator-results { gap: 12px; }
  .calculator-results output { font-size: 48px; }
  .margin-result { padding-left: 16px; }
  .margin-result output { font-size: 25px; }
  .download-section { grid-template-columns: 95px 1fr; padding: 32px; }
  .download-section > .button { grid-column: 2; justify-self: start; font-size: 12px; padding: 14px 19px; }
  .download-illustration { grid-row: span 2; padding-left: 0; }
  .download-section h2 { font-size: 35px; }
  .download-section p:not(.eyebrow) { font-size: 12px; }
  .footer-top { gap: 25px; }
  .article-layout { grid-template-columns: 160px minmax(0, 1fr); gap: 30px; }
  .article-sidebar nav a { font-size: 11px; }
}

@media (max-width: 650px) {
  html { scroll-padding-top: 20px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 80px; padding-block: 17px; }
  .brand { font-size: 21px; gap: 7px; }
  .brand-mark { width: 29px; height: 29px; }
  .site-nav { display: flex; flex-direction: column; align-items: stretch; gap: 5px; }
  .site-nav .button { margin: 7px 0 2px; align-self: flex-start; }
  .hero { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 38px; gap: 24px; }
  .hero-copy { max-width: 530px; }
  .hero h1 { font-size: clamp(2.8rem, 11.8vw, 4.2rem); line-height: 1.08; }
  .hero .eyebrow { font-size: 8px; letter-spacing: 1.25px; margin-bottom: 22px; }
  .hero-description { max-width: 405px; margin-top: 23px; font-size: 15px; }
  .hero-actions { margin-top: 25px; gap: 18px; }
  .hero-actions .button { font-size: 12px; padding: 14px 17px; }
  .hero-actions .quiet-link { font-size: 11px; }
  .hero-footnote { max-width: none; font-size: 9px; margin-top: 22px; }
  .hero-visual { max-width: 480px; justify-self: center; width: 100%; }
  .hero-art { width: 100%; margin-left: 0; }
  .art-caption { margin-top: -5px; font-size: 6px; padding-left: 0; }
  .principles { flex-wrap: wrap; justify-content: flex-start; gap: 15px 25px; padding-block: 22px; }
  .principles p { font-size: 10px; gap: 7px; }
  .principles svg { width: 13px; height: 13px; }
  .section { padding-block: 52px; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading h2 { font-size: 35px; }
  .eyebrow { font-size: 8px; letter-spacing: 1.5px; gap: 8px; }
  .section-heading .eyebrow { margin-bottom: 15px; }
  .section-heading-aside, .section-description { max-width: none; margin-top: 20px; }
  .section-heading-aside p, .section-description { font-size: 12px; }
  .section-heading-aside .quiet-link { margin-top: 13px; }
  .guide-grid { grid-template-columns: 1fr; gap: 23px; max-width: 480px; margin-inline: auto; }
  .guide-art { aspect-ratio: 1.8; }
  .guide-art svg { max-width: 330px; }
  .art-index { font-size: 6px; }
  .guide-card-body { padding: 22px; }
  .card-meta { font-size: 10px; }
  .card-meta span:first-child { max-width: none; }
  .guide-card h3 { font-size: 26px; margin-top: 15px; }
  .guide-card-body > p { font-size: 13px; line-height: 1.8; margin-top: 13px; }
  .card-link { font-size: 11px; padding-top: 17px; }
  .toolbox-controls { flex-wrap: wrap; gap: 11px; margin-bottom: 14px; }
  .tool-filters { gap: 6px; }
  .tool-filters button { min-height: 42px; padding-inline: 14px; font-size: 11px; }
  .tool-count { font-size: 10px; }
  .disclosure-note { margin-bottom: 21px; font-size: 10px; }
  .tools-grid { grid-template-columns: 1fr; gap: 15px; }
  .tool-card { padding: 23px; }
  .tool-top { margin-bottom: 16px; }
  .tool-card h3 { font-size: 19px; }
  .tool-label { font-size: 11px; }
  .tool-card > p:not(.tool-label) { font-size: 13px; }
  .tool-card-bottom a { min-height: 35px; font-size: 11px; }
  .tool-category { font-size: 10px; }
  .calculator-section { padding-block: 52px; }
  .calculator-layout { grid-template-columns: 1fr; gap: 31px; }
  .calculator-copy h2 { font-size: 43px; }
  .calculator-copy > p:not(.eyebrow) { max-width: 390px; font-size: 13px; margin-top: 19px; }
  .calculator-caveat { margin-top: 25px; }
  .calculator-card { padding: 23px; }
  .calculator-card-heading { display: flex; gap: 12px; margin-bottom: 25px; }
  .calculator-card-heading h3 { font-size: 21px; }
  .calculator-card-heading > span { margin-top: 6px; font-size: 7px; }
  .calculator-fields { gap: 18px 13px; }
  .field label { font-size: 10px; }
  .field-help { font-size: 9px; }
  .field input { min-height: 46px; padding-inline: 10px; }
  .calculator-results output { font-size: 54px; }
  .margin-result output { font-size: 28px; }
  .calculator-results { gap: 15px; }
  .result-label, .result-period { font-size: 9px; }
  .calculator-formula { font-size: 9px; }
  .download-section { grid-template-columns: 1fr; margin-block: 48px; padding: 32px 24px; gap: 23px; }
  .download-illustration { display: none; }
  .download-section > .button { grid-column: 1; }
  .download-section h2 { font-size: 33px; }
  .download-section p:not(.eyebrow) { font-size: 12px; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 25px; padding-block: 36px 32px; }
  .footer-brand { grid-column: 1 / -1; padding-bottom: 6px; }
  .footer-brand > p { font-size: 17px; margin-top: 14px; }
  .footer-top h2 { font-size: 11px; margin-bottom: 15px; }
  .footer-top > div:not(.footer-brand) > a { font-size: 11px; margin-top: 9px; }
  .footer-bottom { flex-direction: column; gap: 10px; padding-block: 22px 27px; font-size: 9px; }
  #privacy-controls { justify-content: flex-start; gap: 12px; max-width: 100%; }
  .us-privacy-link { max-width: 210px; }
  .cookie-panel { width: calc(100% - 28px); max-height: calc(100dvh - 28px); padding: 23px 21px; }
  .cookie-panel h2 { font-size: 34px; }
  .cookie-illustration { gap: 10px; }
  .cookie-illustration > svg { width: 49px; height: 49px; }
  .cookie-illustration > span { font-size: 7px; letter-spacing: 1.2px; }
  .cookie-facts { padding: 14px; }
  .page-heading { padding-top: 47px; padding-bottom: 34px; }
  .page-heading h1 { font-size: 45px; }
  .page-heading > p:not(.eyebrow) { margin-top: 23px; font-size: 14px; }
  .guide-library { padding-bottom: 0; }
  .library-heading h1 { font-size: clamp(2.45rem, 10.5vw, 3.2rem); }
  .library-facts { gap: 8px 17px; font-size: 10px; margin-top: 22px; }
  .library-facts > span + span { padding-left: 17px; }
  .library-facts > span:last-child { border: 0; padding-left: 0; flex-basis: 100%; }
  .library-controls { padding: 20px 16px 15px; margin-bottom: 20px; }
  .library-search-row { grid-template-columns: 1fr; gap: 15px; }
  .library-search-row input, .library-search-row select { font-size: 16px; }
  .library-topics { gap: 7px; margin-top: 19px; }
  .library-topics button { padding: 9px 11px; font-size: 11px; min-height: 44px; }
  .library-control-note { flex-direction: column; gap: 6px; font-size: 10px; }
  .library-browse-options { gap: 6px; }
  .library-browse-options p { line-height: 1.8; }
  .library-status-row { font-size: 10px; gap: 10px; margin-block: 16px 22px; }
  .library-empty { padding: 33px 20px; }
  .library-empty h3 { font-size: 25px; }
  .library-empty p { font-size: 13px; }
  .feed-controls { margin-top: 29px; padding-top: 23px; }
  .feed-controls > p { font-size: 10px; }
  .feed-controls .feed-end { font-size: 16px; }
  .guide-pagination { gap: 7px; }
  .guide-pagination a { min-width: 36px; padding-inline: 10px; font-size: 12px; }
  .article-heading { padding-block: 27px 22px; }
  .back-link { font-size: 11px; margin-bottom: 30px; }
  .article-heading h1 { font-size: 41px; }
  .article-deck { font-size: 16px; line-height: 1.8; margin-top: 19px; }
  .article-meta { gap: 8px 15px; margin-top: 23px; padding-bottom: 23px; font-size: 10px; }
  .article-layout { grid-template-columns: 1fr; gap: 24px; padding-top: 2px; padding-bottom: 10px; }
  .article-sidebar { position: static; padding: 20px; background: #eef0e6; border-radius: 6px; }
  .article-sidebar h2 { font-size: 9px; margin-bottom: 11px; }
  .article-sidebar nav a { margin-top: 10px; font-size: 12px; }
  .sidebar-download { display: none; }
  .prose { font-size: 15px; line-height: 1.9; }
  .prose .article-intro { font-size: 22px; }
  .prose h2 { font-size: 28px; margin-top: 34px; margin-bottom: 17px; }
  .callout { padding: 21px 18px; gap: 13px; }
  .callout svg { width: 19px; height: 19px; }
  .callout p { font-size: 18px; }
  .related-guides { padding-top: 35px; margin-top: 24px; margin-bottom: 53px; }
  .related-guides .section-heading h2 { font-size: 32px; }
  .related-guides .section-heading .quiet-link { margin-top: 19px; }
  .utility-prose { padding-bottom: 54px; }
  .contact-box { padding: 23px; }
  .contact-box h2 { font-size: 24px; }
  .not-found { padding-block: 65px 85px; }
  .not-found h1 { font-size: 45px; }
  .not-found p:not(.eyebrow) { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
