:root {
  --ink: #1f2925;
  --muted: #68726c;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --line: #dfe4dc;
  --green: #1e6a4e;
  --green-deep: #154836;
  --mint: #e5f0e9;
  --coral: #e36f58;
  --yellow: #f5d785;
  --shadow: 0 16px 38px rgba(31, 41, 37, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; }
a { color: inherit; }
.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 10px; background: var(--ink); color: white; padding: 10px 14px; z-index: 5; }
.skip-link:focus { left: 10px; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-size: 1.05rem; font-weight: 760; letter-spacing: 0; white-space: nowrap; }
.brand-mark { display: grid; grid-template-columns: repeat(3, 4px); align-items: end; gap: 3px; width: 28px; height: 28px; padding: 4px; border: 1px solid var(--green); border-radius: 5px; }
.brand-mark i { display: block; background: var(--green); border-radius: 1px; }
.brand-mark i:nth-child(1) { height: 6px; }.brand-mark i:nth-child(2) { height: 11px; }.brand-mark i:nth-child(3) { height: 16px; }
nav { display: flex; gap: 24px; }
nav a, .site-footer a { color: var(--muted); font-size: .9rem; text-decoration: none; }
nav a:hover, .site-footer a:hover, .sources a:hover { color: var(--green); text-decoration: underline; }
.intro { padding: 76px 0 52px; display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: end; gap: 52px; }
.eyebrow { color: var(--green); font-size: .74rem; font-weight: 800; letter-spacing: .1em; margin: 0 0 12px; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 20px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 5vw, 4.55rem); font-weight: 500; letter-spacing: 0; line-height: .99; }
h2 { margin-bottom: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.9rem, 3vw, 2.7rem); font-weight: 500; line-height: 1.08; }
h3 { margin-bottom: 7px; font-size: 1.02rem; letter-spacing: 0; }
.lede { max-width: 640px; color: var(--muted); font-size: 1.08rem; }
.intro-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.intro-points span { border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .8rem; padding: 6px 10px; }
.quick-note { background: var(--yellow); border-radius: 7px; display: flex; gap: 13px; padding: 19px; }
.note-icon { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border: 1px solid var(--ink); border-radius: 50%; font-size: .78rem; font-weight: 800; }
.quick-note strong { display: block; margin: 1px 0 4px; font-size: .9rem; }.quick-note p { margin: 0; font-size: .8rem; line-height: 1.4; }
.calculator-section { background: #eef4ef; padding: 58px 0 64px; border-top: 1px solid #d7e2d9; border-bottom: 1px solid #d7e2d9; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 28px; }.section-heading > p { max-width: 345px; margin-bottom: 3px; color: var(--muted); font-size: .92rem; }.section-heading.compact { align-items: center; }
.calculator-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .92fr); gap: 20px; align-items: stretch; }
.calculator-form, .result-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 7px; padding: 30px; box-shadow: var(--shadow); }
.form-heading p { color: var(--muted); font-size: .9rem; margin-bottom: 25px; }
label { display: block; margin: 0 0 8px; font-size: .83rem; font-weight: 720; }
input { width: 100%; border: 1px solid #cbd3cb; border-radius: 5px; color: var(--ink); background: white; font: inherit; outline: none; } input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(30,106,78,.12); }
.money-input, .small-money-input { position: relative; }.money-input span, .small-money-input span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .95rem; }.money-input input { padding: 14px 15px 14px 43px; font-size: 1.2rem; font-weight: 700; }.small-money-input input { padding: 11px 9px 11px 34px; }.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 19px; }.two-columns > div > input { padding: 11px 9px; }
.field-help { min-height: 19px; margin: 7px 0 0; color: var(--muted); font-size: .76rem; }.field-help:empty { display: none; } #salary-error { color: #b53f2c; font-weight: 650; }
.primary-button { width: 100%; margin-top: 22px; padding: 14px 18px; border: 1px solid var(--green-deep); border-radius: 5px; color: white; background: var(--green); font: inherit; font-weight: 750; cursor: pointer; }.primary-button:hover { background: var(--green-deep); }.primary-button span { margin-left: 7px; }.form-footnote { color: var(--muted); font-size: .73rem; line-height: 1.4; margin: 14px 0 0; }
.result-panel { background: var(--ink); border-color: var(--ink); color: white; display: flex; flex-direction: column; }.result-topline { display: flex; justify-content: space-between; gap: 12px; color: #c7d1cb; font-size: .78rem; }.status-dot { display: flex; align-items: center; gap: 5px; }.status-dot::before { content: ""; width: 7px; height: 7px; background: var(--yellow); border-radius: 50%; }.result-panel h2, .result-panel h3 { margin: 28px 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 1.52rem; font-weight: 500; }.calculator-form .form-heading h2 { font-family: inherit; font-size: 1.02rem; font-weight: 700; }.result-description { color: #c7d1cb; font-size: .9rem; }.result-empty { display: grid; place-items: center; flex: 1; min-height: 170px; }.empty-bars { display: flex; align-items: end; gap: 8px; height: 62px; }.empty-bars i { display: block; width: 28px; background: #3c4942; border-radius: 3px 3px 0 0; }.empty-bars i:nth-child(1) { height: 26px; }.empty-bars i:nth-child(2) { height: 44px; }.empty-bars i:nth-child(3) { height: 61px; background: var(--green); }.result-content { margin-top: 11px; }.result-amount { margin: 0 0 21px; color: var(--yellow); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.1rem, 4vw, 3.25rem); line-height: 1; }.breakdown { border-top: 1px solid #435048; margin: 0; }.breakdown div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #435048; font-size: .88rem; }.breakdown dt { color: #d9e1dc; }.breakdown dd { margin: 0; font-weight: 700; }.calculation-note { margin: 14px 0 0; color: #afbbb3; font-size: .73rem; line-height: 1.45; }
.explanation { padding: 74px 0; }.explanation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }.explanation-grid article { border-top: 2px solid var(--green); padding: 20px 4px 0; }.step-number { color: var(--coral); display: block; margin-bottom: 35px; font-family: Georgia, "Times New Roman", serif; font-size: 1.7rem; }.explanation-grid p { color: var(--muted); font-size: .9rem; }
.next-tools { padding: 60px 0 66px; background: #f1ece3; }.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }.tool-card { position: relative; min-height: 180px; padding: 20px; background: var(--surface); border: 1px solid #e2d9c8; border-radius: 7px; }.tool-card h3 { margin-top: 19px; }.tool-card p { color: var(--muted); font-size: .86rem; }.tool-card > span:last-child { position: absolute; bottom: 18px; color: var(--green); font-size: .76rem; font-weight: 760; }.tool-symbol { display: grid; place-items: center; width: 37px; height: 30px; border: 1px solid var(--coral); color: var(--coral); font-family: Georgia, "Times New Roman", serif; font-size: .88rem; }
.sources { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; padding: 70px 0; }.sources-copy { color: var(--muted); font-size: .91rem; }.sources ul { margin: 20px 0; padding-left: 18px; }.sources li { margin-bottom: 9px; }.sources a { color: var(--green); }.updated { font-size: .78rem; }
.tool-card-link { color: inherit; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }.tool-card-link:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.tool-intro { max-width: 850px; padding: 65px 0 39px; }.tool-intro h1 { font-size: clamp(2.5rem, 5vw, 4rem); }.tool-intro .lede { margin-bottom: 0; }
select { width: 100%; padding: 11px 32px 11px 9px; border: 1px solid #cbd3cb; border-radius: 5px; color: var(--ink); background: white; font: inherit; outline: none; } select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(30,106,78,.12); }.custom-row { position: relative; margin-top: 16px; }.custom-row input { padding: 11px 30px 11px 9px; }.custom-row span { position: absolute; right: 11px; bottom: 11px; color: var(--muted); }.formula-box { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 11px; margin: 27px 0; padding: 24px; border: 1px solid #d4dfd5; background: #f2f7f2; color: var(--green-deep); font-family: Georgia, "Times New Roman", serif; font-size: 1.12rem; text-align: center; }.formula-box b { color: var(--coral); font-family: inherit; font-size: 1.4rem; }.article-callout { padding: 17px 19px; border-left: 3px solid var(--coral); background: #fff5ed; color: var(--ink); }.article-callout a { color: var(--green); font-weight: 700; }.article-shell { width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: 70px 0; }.article-shell h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); }.article-lede { color: var(--muted); font-size: 1.13rem; }.article-meta { margin: 25px 0 36px; color: var(--muted); font-size: .8rem; }.article-shell h2 { margin: 42px 0 14px; font-size: 1.9rem; }.article-shell p, .article-shell li { font-size: 1rem; }.article-shell li { margin: 9px 0; }.article-shell a { color: var(--green); }
.site-footer { background: #e2e9e2; border-top: 1px solid #cad7cd; }.footer-inner { min-height: 112px; }.footer-inner > p { margin: 0; color: var(--muted); font-size: .82rem; }.footer-inner > div { display: flex; gap: 18px; }
@media (max-width: 760px) { .shell { width: min(100% - 30px, 1120px); }.header-inner { min-height: 64px; }.header-inner nav { display: none; }.intro { grid-template-columns: 1fr; padding: 53px 0 40px; gap: 28px; }.quick-note { max-width: 420px; }.section-heading, .section-heading.compact { display: block; }.section-heading > p { margin-top: 13px; }.calculator-section { padding: 43px 0; }.calculator-layout { grid-template-columns: 1fr; }.calculator-form, .result-panel { padding: 23px; }.result-panel { min-height: 390px; }.explanation { padding: 52px 0; }.explanation-grid, .tool-grid, .sources { grid-template-columns: 1fr; }.explanation-grid { gap: 25px; }.step-number { margin-bottom: 20px; }.tool-grid { gap: 10px; }.tool-card { min-height: 150px; }.sources { gap: 25px; padding: 53px 0; }.footer-inner { align-items: flex-start; flex-direction: column; gap: 14px; padding: 28px 0; }.footer-inner > div { flex-wrap: wrap; } }
@media (max-width: 420px) { h1 { font-size: 2.45rem; }.two-columns { grid-template-columns: 1fr; gap: 10px; }.intro-points { gap: 7px; }.intro-points span { font-size: .72rem; }.result-panel { min-height: 365px; } }
