:root {
  --paper: #f6f5ef;
  --ink: #203d34;
  --muted: #505f55;
  --line: #cbd3c8;
  --green: #193e34;
  --gold: #f1d89f;
  --error: #a52420;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Trebuchet MS', Verdana, sans-serif; font-size: 1.25rem; line-height: 1.65; overflow-wrap: anywhere; }
a { color: inherit; text-underline-offset: .2em; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .65; }
:focus-visible { outline: 3px solid #a26311; outline-offset: 5px; }
input:focus-visible, select:focus-visible { outline-offset: 3px; }
.wrap { width: calc(100% - 80px); max-width: 1280px; margin-inline: auto; }
.masthead { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); padding-block: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; font-weight: 700; letter-spacing: -.6px; text-decoration: none; }
.mark { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; background: var(--green); color: var(--gold); border-radius: 8px; font-size: 1.3rem; }
.brand-dot { color: #8b6020; margin-left: -11px; }
nav { display: flex; flex-wrap: wrap; gap: 12px 30px; font-size: 1.125rem; }
nav a { display: inline-flex; align-items: center; min-height: 48px; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.heading { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 48px 0 36px; }
.eyebrow { margin: 0 0 12px; font-size: 1rem; letter-spacing: .1em; font-weight: 700; color: var(--muted); }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; line-height: 1.15; letter-spacing: -.04em; margin: 0; }
h1 { font-size: clamp(2.75rem, 2rem + 2vw, 4rem); }
h2 { font-size: clamp(2.2rem, 1.8rem + 1vw, 3rem); }
h3 { font-size: 1.375rem; line-height: 1.4; margin: 0 0 12px; }
.heading-intro { font-size: 1.375rem; color: var(--muted); line-height: 1.6; margin: 18px 0 0; }
.year-tag { border: 1px solid var(--line); background: #eeeee4; padding: 14px 20px; border-radius: 8px; font-size: 1.125rem; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #46664c; margin-right: 7px; vertical-align: middle; }
.tag-divider { padding: 0 8px; }
.calculator { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #aebfb0; border-radius: 16px; overflow: hidden; background: #fffefa; box-shadow: 0 12px 32px #193e3408; }
form, .result { min-width: 0; padding: 36px; }
.section-label { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 1.375rem; font-weight: 700; line-height: 1.4; margin-bottom: 30px; }
.section-label > span:first-child { min-width: 0; display: flex; align-items: center; gap: 12px; }
.step-number { display: inline-grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: #e5ece1; color: var(--green); font-size: 1.125rem; }
.quiet { color: var(--muted); font-weight: 400; }
.section-label .quiet { width: 100%; font-size: 1.125rem; }
label { display: block; font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; line-height: 1.5; }
select, input:not([type=checkbox]) { background: #fffefa; color: var(--ink); border: 2px solid #7b8b7d; border-radius: 8px; width: 100%; min-width: 0; min-height: 64px; padding: 14px 16px; font-size: 1.375rem; }
select { margin-bottom: 28px; font-size: 1.25rem; text-overflow: ellipsis; }
input::placeholder { color: #626d64; opacity: 1; }
.money-input { display: flex; align-items: center; position: relative; }
.money-input > span:first-child { position: absolute; left: 18px; color: var(--muted); font-size: 1.375rem; }
.money-input input { padding-left: 40px; }
.money-input .suffix { position: absolute; right: 16px; font-size: 1.125rem; color: var(--muted); }
.money-input:has(.suffix) input { padding-right: 116px; }
.required, .optional { display: inline-block; font-size: 1.125rem; color: var(--muted); font-weight: 400; margin-left: 8px; }
.hint, .error { margin: 10px 0 0; font-size: 1.125rem; line-height: 1.6; color: var(--muted); }
.error { color: var(--error); font-weight: 700; }
.error:empty, .copy-feedback:empty { display: none; }
[aria-invalid=true] { border-color: var(--error)!important; }
.magi-builder { margin: 18px 0 28px; border: 1px solid var(--line); border-radius: 8px; background: #f2f4ec; padding: 0 16px; }
.magi-builder summary { padding: 14px 0; min-height: 56px; font-size: 1.125rem; cursor: pointer; }
.magi-builder[open] { padding-bottom: 20px; }
.builder-grid { display: grid; gap: 18px; margin-top: 14px; }
.secondary, .copy { min-height: 56px; border: 2px solid #7b8b7d; border-radius: 8px; padding: 12px 18px; font-size: 1.125rem; }
.secondary { background: #fffefa; color: var(--green); margin-top: 18px; }
.part-d-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; }
.part-d-heading > label { flex: 1 1 100%; }
.part-d-heading .check { flex: 0 1 auto; }
.check { display: flex; align-items: center; gap: 12px; min-height: 48px; font-size: 1.125rem; font-weight: 400; }
.check input { accent-color: var(--green); width: 26px; height: 26px; flex-shrink: 0; margin: 0; }
.calculate { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 68px; padding: 16px 22px; border: 2px solid var(--green); border-radius: 8px; background: var(--green); color: #fffefa; font-size: 1.375rem; font-weight: 700; margin-top: 30px; }
.calculate:hover { background: #2a5546; }
.calculate span { font-size: 1.75rem; }
.privacy { font-size: 1.125rem; color: var(--muted); margin: 18px 0 0; }
.privacy span { margin-right: 5px; }
.result { background: var(--green); color: #fffdf5; }
.result .section-label { color: #fffdf5; }
.result .step-number { background: #36594b; color: #fffdf5; }
.result-badge { font-size: 1.125rem; font-weight: 400; border: 1px solid #92ac9a; border-radius: 6px; padding: 7px 12px; }
.result-kicker { font-size: 1.25rem; color: #e0e9df; margin: 0 0 12px; }
.big-number, .empty-number { font-family: Georgia, serif; font-size: clamp(3rem, 2rem + 3vw, 4.75rem); font-weight: 400; line-height: 1.15; letter-spacing: -.04em; margin: 0; color: var(--gold); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.empty-number { font-size: 5.5rem; margin-top: 28px; }
.empty-number span { margin-left: 12px; }
.empty-description { font-family: Georgia, serif; font-size: 2rem; line-height: 1.4; margin: 24px 0 36px; max-width: 15ch; }
.empty-steps { display: flex; align-items: end; gap: 10px; height: 110px; margin-bottom: 30px; }
.empty-steps span { flex: 1; background: #426453; border-top: 3px solid #abc2a3; height: 18%; }
.empty-steps span:nth-child(2) { height: 34%; }
.empty-steps span:nth-child(3) { height: 50%; }
.empty-steps span:nth-child(4) { height: 66%; }
.empty-steps span:nth-child(5) { height: 82%; }
.empty-steps span:nth-child(6) { height: 100%; background: #7e895d; border-color: var(--gold); }
.empty-foot { font-size: 1.25rem; color: #e0e9df; border-top: 1px solid #78917f; padding-top: 24px; }
.annual { font-size: 1.25rem; color: #e0e9df; margin: 12px 0 0; }
.annual strong { color: #fffdf5; }
.tier-track { display: flex; gap: 6px; margin: 26px 0 18px; }
.tier-track span { height: 7px; flex: 1; background: #78917f; border-radius: 3px; }
.tier-track .active { background: var(--gold); }
.breakdown { margin: 0; font-variant-numeric: tabular-nums; }
.breakdown > div { display: flex; align-items: start; justify-content: space-between; gap: 16px; padding: 14px 0; font-size: 1.25rem; }
.breakdown dt { min-width: 0; }
.breakdown dd { margin: 0; font-size: 1.375rem; text-align: right; overflow-wrap: anywhere; min-width: 0; }
.breakdown small { display: block; font-size: 1.125rem; color: #d1dfd1; line-height: 1.5; margin-top: 4px; }
.subtotal, .total { border-top: 1px solid #78917f; margin-top: 8px; padding-top: 22px!important; }
.total dd { color: var(--gold); font-size: 1.625rem; }
.premium-note { font-size: 1.125rem; color: #e0e9df; margin: 10px 0; }
.cliff { font-size: 1.125rem; border-left: 3px solid var(--gold); padding-left: 16px; color: #f1e3c0; margin: 24px 0; }
.copy { background: transparent; border-color: #92ac9a; color: #fffdf5; display: flex; justify-content: space-between; align-items: center; width: 100%; }
.copy:hover { background: #2c5141; }
.copy-feedback { font-size: 1.125rem; color: var(--gold); margin: 10px 0 0; }
.trust-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 24px 0; font-size: 1.125rem; border-bottom: 1px solid var(--line); color: var(--muted); }
.content-section { padding: 64px 0; border-bottom: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 26px; }
.section-heading > p { font-size: 1.125rem; margin: 0; }
.body-copy { max-width: 75ch; font-size: 1.25rem; color: var(--muted); margin: 0 0 28px; }
.table-shell { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: 1.125rem; font-variant-numeric: tabular-nums; }
caption { text-align: left; background: #e9ece1; padding: 20px; font-weight: 700; font-size: 1.25rem; }
th, td { padding: 20px 14px; border-bottom: 1px solid var(--line); }
thead th { font-weight: 700; color: var(--muted); font-size: 1.125rem; background: #f0f1e9; }
tbody th { font-weight: 400; }
tbody tr:last-child > * { border-bottom: 0; }
tbody tr.current { background: #e0eada; }
tbody tr.current th { font-weight: 700; box-shadow: inset 4px 0 var(--green); }
.separate-table { margin-top: 32px; }
.method, .faq { display: grid; grid-template-columns: .9fr 1.2fr; gap: 64px; }
.prose p, .faq details p { font-size: 1.25rem; line-height: 1.8; color: var(--muted); margin: 0 0 30px; max-width: 65ch; }
.prose p:last-child { margin-bottom: 0; }
.year-flow { display: flex; flex-wrap: wrap; flex-wrap: wrap; gap: 28px; align-items: center; margin-top: 36px; }
.year-flow strong { font-family: Georgia, serif; font-weight: 400; font-size: 2.75rem; }
.year-flow span { display: block; font-size: 1.125rem; color: var(--muted); }
.year-flow > span { font-size: 1.75rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { position: relative; cursor: pointer; font-size: 1.25rem; font-weight: 700; list-style: none; padding: 24px 36px 24px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:after { content: '+'; position: absolute; right: 2px; top: 18px; font-size: 1.75rem; font-weight: 400; }
.faq details[open] summary:after { content: '−'; }
.sources { padding: 40px 0; }
.sources h2 { font-family: inherit; font-size: 1.375rem; letter-spacing: 0; font-weight: 700; }
.sources ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-left: 24px; margin: 24px 0; font-size: 1.125rem; }
.sources li span { display: block; color: var(--muted); margin-top: 10px; }
footer { border-top: 1px solid var(--line); padding: 30px 0 40px; }
footer .brand { font-size: 1.375rem; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip:focus { position: absolute; top: 10px; left: 10px; background: white; padding: 12px; z-index: 5; }
[hidden] { display: none!important; }
@media (max-width: 68em) {
  .wrap { width: calc(100% - 48px); }
  form, .result { padding: 28px; }
  .heading { align-items: start; }
  .year-tag { max-width: 240px; }
  .method, .faq { gap: 36px; }
}
@media (max-width: 56em) {
  .calculator { grid-template-columns: 1fr; }
  .heading, .section-heading { display: block; }
  .year-tag { max-width: none; display: inline-block; margin-top: 24px; }
  .section-heading > p { margin-top: 20px; }
  .method, .faq { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .sources ol { grid-template-columns: 1fr; gap: 24px; }
  .masthead { flex-wrap: wrap; gap: 8px; }
  .section-label .quiet { width: auto; }
  .table-shell { overflow: visible; border: 0; }
  table, tbody { display: block; }
  caption { display: block; border-radius: 8px; }
  thead { display: none; }
  tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; padding: 24px 20px; border: 1px solid var(--line); border-radius: 8px; margin-top: 14px; background: #fffefa; }
  tbody tr > * { border: 0; padding: 0; min-width: 0; overflow-wrap: anywhere; }
  tbody tr > th { grid-column: 1 / -1; font-weight: 700; font-size: 1.25rem; box-shadow: none!important; }
  td:before { content: attr(data-label); display: block; color: var(--muted); font-size: 1.125rem; margin-bottom: 4px; }
}
@media (max-width: 40em) {
  .wrap { width: calc(100% - 32px); }
  .masthead { padding-block: 18px; }
  .brand { font-size: 1.25rem; gap: 10px; }
  .brand-dot { margin-left: -9px; }
  nav { gap: 4px 20px; }
  .heading { padding: 32px 0 28px; }
  h1 { font-size: 2.75rem; }
  .heading-intro { font-size: 1.25rem; }
  .eyebrow { font-size: 1rem; letter-spacing: .06em; }
  form, .result { padding: 24px 20px; }
  .section-label .quiet { width: 100%; }
  .section-label { margin-bottom: 24px; }
  .result-badge { margin-left: 48px; }
  .breakdown > div { flex-wrap: wrap; gap: 6px 16px; }
  .breakdown dd { margin-left: auto; }
  .content-section { padding: 44px 0; }
  .year-tag { padding: 12px 16px; }
}
@media (max-width: 23em) {
  tbody tr { grid-template-columns: 1fr; }
  .calculate { padding-inline: 14px; font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation: none!important; transition: none!important; }
}
@media print {
  nav, form, .copy, .skip { display: none; }
  .wrap { width: 100%; }
  .calculator { display: block; }
  .result { background: white; color: black; }
  .result * { color: black!important; }
  .trust-line { display: none; }
}
