@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#183445;--muted:#4D625E;--green:#176B62;--line:#D4DDD8;--bg:#F7F3EB;--cream:#DDECE6;--white:#FFFFFF;--indigo:#5865A8;--clay:#C47655;--serif:Georgia,'Times New Roman',serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--bg);font-family:'DM Sans',Arial,sans-serif;font-size:16px;line-height:1.55;font-weight:500;-webkit-font-smoothing:antialiased}a{color:inherit}button,input,select{font:inherit}button{cursor:pointer}.wrap{width:min(1200px,calc(100% - 64px));margin-inline:auto}.skip-link{position:absolute;top:-100px;left:10px;z-index:10;background:#fff;padding:10px}.skip-link:focus{top:10px}.site-header{background:#F7F3EB;border-bottom:1px solid #D4DDD8}.nav{min-height:90px;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{display:flex;align-items:center;gap:12px;font-family:Manrope,Arial,sans-serif;text-decoration:none;font-size:15px;line-height:1.12;letter-spacing:-.04em}.brand strong{font-weight:800}.brand-mark{width:46px;height:46px;display:grid;place-items:center;background:var(--ink);color:#fff;border-radius:13px;font-family:var(--serif);font-size:30px;letter-spacing:-.13em;padding-right:6px}.brand-mark span,.footer-brand span{color:#C47655}.nav nav{display:flex;align-items:center;gap:38px}.nav nav a{font-size:13px;font-weight:700;text-decoration:none}.nav nav a:hover,.back-link:hover,.method-copy a:hover{color:var(--green)}.nav .nav-cta{padding:13px 18px;border:1px solid #A9BBB2;border-radius:6px}.nav .nav-cta span{margin-left:13px}.nav .nav-cta:hover{border-color:var(--green)}h1,h2,h3,p{margin-top:0}.eyebrow,.section-index{font-size:11px;font-weight:800;letter-spacing:.15em;color:var(--green)}.eyebrow-line{display:inline-block;width:22px;height:1px;background:var(--green);vertical-align:middle;margin-right:10px}.hero{background:#F7F3EB;padding:92px 0 0;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.06fr .94fr;align-items:center;gap:80px}.hero h1,.page-intro h1,.prose-page h1{font-family:Manrope,Arial,sans-serif;font-size:clamp(52px,6vw,83px);line-height:1.08;letter-spacing:-.075em;margin:24px 0 28px;font-weight:700}.hero h1 em,.page-intro h1 em,.prose-page h1 em{font-family:var(--serif);font-weight:400;color:var(--green);letter-spacing:-.055em}.hero-copy{font-size:18px;line-height:1.7;color:#405A56;max-width:530px}.hero-actions{display:flex;align-items:center;gap:25px;margin-top:40px;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;min-height:55px;padding:0 20px;border-radius:6px;font-size:13px;font-weight:800;text-decoration:none;border:0;transition:transform .2s,background .2s}.button:hover{transform:translateY(-2px)}.button-dark{background:var(--ink);color:#fff}.button-dark:hover{background:#12574F}.hero-fine{font-size:12px;color:#4D625E}.hero-visual{min-height:475px;border-radius:18px 18px 0 0;background:#183445;color:#fff;box-shadow:0 20px 60px #1834452B;padding:32px 38px;position:relative;align-self:end}.hero-visual:before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 85% 72%,#2F6771AA,transparent 55%);pointer-events:none}.hero-visual>*{position:relative}.visual-top{display:flex;align-items:center;justify-content:space-between}.visual-icon{font-size:27px;border:1px solid #A7C5BE;border-radius:50%;width:46px;height:46px;display:grid;place-items:center}.visual-kicker,.visual-caption,.visual-bottom{font-size:11px;font-weight:700;letter-spacing:.14em}.visual-kicker{color:#DDECE6}.visual-caption{margin-top:77px;color:#DDECE6}.visual-caption span{color:#DDECE6;padding:0 7px;text-transform:lowercase;font-family:var(--serif);font-size:19px;font-style:italic}.visual-bars{margin:35px 0 44px;display:grid;gap:14px}.visual-bar{height:37px;border:1px solid #A7C5BE55;background:#ffffff0c;border-radius:5px;padding:6px;position:relative}.visual-bar span{position:absolute;top:12px;left:15px;width:36px;height:6px;border-radius:6px;background:#ffffff40}.visual-bar b{height:23px;border-radius:3px;display:block;margin-left:76px}.bar-one b{width:61%;background:#A5D2C0}.bar-two b{width:78%;background:#80B8AC}.bar-three b{width:70%;background:#C47655}.visual-bottom{display:flex;justify-content:space-between;border-top:1px solid #ffffff48;padding-top:18px;color:#DDECE6;letter-spacing:.02em}.hero-foot{height:85px;display:flex;align-items:center;gap:60px;font-size:10px;letter-spacing:.17em;font-weight:800;color:#4D625E}.section{padding:100px 0 115px}.section-heading{max-width:700px;margin-bottom:48px}.section-heading h2,.how-section h2,.method-strip h2{font-family:Manrope,Arial,sans-serif;font-size:clamp(36px,4.5vw,58px);letter-spacing:-.065em;line-height:1.17;margin:16px 0 17px}.section-heading>p:last-child{font-size:15px;color:var(--muted);line-height:1.7}.tool-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.tool-card{min-height:400px;padding:28px;border:1px solid var(--line);border-radius:10px;background:#fff;display:flex;flex-direction:column;justify-content:space-between;text-decoration:none}.tool-card.active{background:#DDECE6;border-color:#BCD8CB;transition:transform .2s,box-shadow .2s}.tool-card.active:hover{transform:translateY(-5px);box-shadow:0 14px 36px #18344520}.tool-top{display:flex;justify-content:space-between;align-items:flex-start}.tool-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:8px;background:#183445;color:#fff;font-size:28px}.tool-icon.light{background:#F1EAE0;color:#4D625E}.pill{font-size:9px;letter-spacing:.1em;font-weight:800;padding:8px 9px;border-radius:4px;color:#4D625E;background:#F1EAE0}.pill.live{color:#176B62;background:#DDECE6}.tool-number{font-weight:800;letter-spacing:.13em;color:#4D625E;font-size:10px}.tool-card h3{font-family:Manrope,Arial,sans-serif;font-size:27px;line-height:1.25;letter-spacing:-.05em;margin:12px 0}.tool-card p:not(.tool-number){color:#405A56;font-size:13px;line-height:1.65;max-width:280px}.tool-link,.tool-soon{font-size:12px;font-weight:800;color:#176B62;border-top:1px solid #BCD8CB;padding-top:22px}.tool-link{display:flex;justify-content:space-between}.tool-soon{color:#4D625E;border-color:#D4DDD8}.how-section{background:#183445;color:#fff;padding:94px 0}.how-grid{display:grid;grid-template-columns:1fr 1fr;gap:90px}.how-section .eyebrow{color:#DDECE6}.how-section h2{margin-bottom:0}.how-steps>div{display:flex;gap:22px;border-bottom:1px solid #A7C5BE77;padding:18px 0}.how-steps>div:first-child{padding-top:0}.how-steps span{font-size:12px;color:#DDECE6;margin-top:4px}.how-steps p{line-height:1.6;color:#DDECE6;font-size:14px;margin:0}.how-steps strong{color:#fff}.site-footer{background:#102A35;color:#DDECE6;padding:56px 0}.footer-grid{display:grid;grid-template-columns:1fr .6fr 1fr;gap:40px}.footer-brand{font-family:Manrope,Arial,sans-serif;color:#fff;font-weight:800;font-size:20px;letter-spacing:-.05em}.footer-grid p{font-size:12px;line-height:1.7;color:#DDECE6}.footer-grid a{display:block;font-size:12px;margin:6px 0 16px;text-decoration:none}.footer-grid a:hover{text-decoration:underline}.footer-note{max-width:350px}
/* Calculator */
.calculator-page{padding-bottom:110px}.page-intro{padding:42px 0 46px;max-width:720px}.back-link{font-size:12px;text-decoration:none;font-weight:700;display:inline-block;margin-bottom:47px;color:#405A56}.page-intro h1{font-size:clamp(54px,6vw,78px);margin:14px 0 20px}.page-intro>p:last-child{font-size:16px;line-height:1.7;color:var(--muted);max-width:600px}.workbench{display:grid;grid-template-columns:1fr 1fr;gap:19px;align-items:start}.input-panel,.result-panel,.analysis-card{border:1px solid var(--line);border-radius:12px;background:#fff}.input-panel,.result-panel{min-height:710px;padding:34px}.panel-heading h2,.analysis-card h2{font-family:Manrope,Arial,sans-serif;letter-spacing:-.05em;font-size:25px;margin:15px 0 10px}.panel-heading p{font-size:13px;line-height:1.65;color:var(--muted);max-width:440px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px 16px;margin:27px 0 0}.field label{display:block;font-size:11px;font-weight:800;color:#183445;margin-bottom:8px}.field input,.field select{height:47px;width:100%;padding:0 13px;color:var(--ink);background:#FFFFFF;border:1px solid #D4DDD8;border-radius:5px;outline:none;font-size:14px}.field input:focus,.field select:focus{border-color:var(--green);box-shadow:0 0 0 3px #176B6221}.field input[aria-invalid=true]{border-color:#a84436}.field-error,.form-error{font-size:12px;color:#9e3e34;margin-top:5px}.form-error{background:#fcece9;padding:10px}.advanced{margin-top:28px;border-top:1px solid #D4DDD8;padding-top:22px}.advanced summary{font-size:13px;font-weight:800;cursor:pointer;list-style:none;display:flex;justify-content:space-between}.advanced summary::-webkit-details-marker{display:none}.advanced summary:after{content:'+';font-size:20px;font-weight:400;line-height:10px;margin-left:auto}.advanced[open] summary:after{content:'−'}.advanced summary span{font-weight:500;color:var(--muted);margin-left:10px;margin-right:10px}.advanced .help{font-size:11px;line-height:1.5;color:#4D625E;margin:14px 0}.advanced .field-grid{grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px}.calculate{width:100%;margin-top:26px}.privacy-note{color:#4D625E;font-size:10px;text-align:center;margin:14px 0 0}.result-panel{background:#DDECE6}.verdict{background:#183445;color:#fff;border-radius:8px;padding:25px;margin:23px 0 15px}.verdict-label{font-size:9px;letter-spacing:.14em;font-weight:800;color:#DDECE6;margin-bottom:15px}.verdict h3{font-family:Manrope,Arial,sans-serif;font-size:28px;letter-spacing:-.05em;margin-bottom:9px}.verdict p:last-child{font-size:13px;color:#DDECE6;line-height:1.6;margin:0}.verdict strong{color:#fff}.outcome-list{display:grid;gap:8px}.outcome{background:#fff;border:1px solid #D4DDD8;padding:17px 19px;border-radius:6px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px}.outcome-name{display:flex;align-items:center;gap:9px}.outcome-name h3{margin:0;font-size:13px}.color-dot{width:9px;height:9px;border-radius:50%;display:inline-block;flex:none}.color-dot.debt{background:#176B62}.color-dot.invest{background:#5865A8}.color-dot.split{background:#C47655}.outcome-value{text-align:right;font-size:19px;font-weight:800;font-family:Manrope,Arial,sans-serif;letter-spacing:-.035em}.outcome-value small{display:block;font-family:'DM Sans',Arial,sans-serif;font-size:9px;font-weight:500;letter-spacing:0;color:#4D625E}.outcome-foot{grid-column:1 / -1;display:flex;justify-content:space-between;gap:8px;border-top:1px solid #D4DDD8;padding-top:9px;font-size:10px;color:#4D625E}.result-definition{color:#4D625E;font-size:11px;line-height:1.5;margin:15px 2px 0}.empty-result{height:100%;min-height:620px;display:flex;align-items:flex-start;justify-content:center;flex-direction:column;padding:0 45px}.empty-result h2{font-family:Manrope,Arial,sans-serif;font-size:39px;letter-spacing:-.06em;line-height:1.16;margin:17px 0 14px}.empty-result p{font-size:14px;line-height:1.7;color:var(--muted);max-width:300px}.empty-graph{height:135px;display:flex;align-items:end;gap:12px;margin-bottom:50px}.empty-graph span{width:36px;border-radius:5px 5px 0 0;background:#B3D6C5;height:55px}.empty-graph span:nth-child(2){height:103px;background:#A7D1BD}.empty-graph span:nth-child(3){height:78px;background:#C7DED0}.empty-divider{width:100%;height:1px;background:#D4DDD8;margin:25px 0}.empty-result>span:last-child{font-size:10px;color:#4D625E;letter-spacing:.12em;font-weight:800}.analysis-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:19px;margin-top:19px}.analysis-card{padding:32px;min-height:385px}.analysis-head{display:flex;justify-content:space-between;gap:15px;align-items:center}.analysis-head p{font-size:11px;color:var(--muted);margin:0}.chart-wrap{display:flex;margin-top:10px;position:relative}.chart-labels{display:flex;flex-direction:column;justify-content:space-between;color:#4D625E;font-size:10px;padding:4px 10px 20px 0;text-align:right;min-width:65px}.chart-wrap svg{width:calc(100% - 65px);height:216px;overflow:visible}.grid-line{stroke:#D4DDD8;stroke-width:1}.zero-line{stroke:#A9BBB2;stroke-width:1;stroke-dasharray:5 6}.chart-years{position:absolute;bottom:-6px;left:65px;right:0;display:flex;justify-content:space-between;color:#4D625E;font-size:10px}.legend{display:flex;gap:20px;flex-wrap:wrap;margin:28px 0 0 65px;font-size:11px;color:#405A56}.legend span{display:flex;align-items:center;gap:6px}.threshold-number{font:700 61px Manrope,Arial,sans-serif;letter-spacing:-.08em;color:var(--green);margin:25px 0 5px}.threshold-number small{font-size:31px}.threshold-number.small{font-size:28px;letter-spacing:-.04em}.analysis-card>p:not(.threshold-number){font-size:13px;line-height:1.65;color:#405A56}.analysis-card .callout{background:#DDECE6;padding:13px;margin-top:25px;border-left:3px solid #A7C5BE}.scenario-section{padding:100px 0 85px}.section-heading.tight{margin-bottom:34px}.table-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:8px;background:#fff}table{width:100%;border-collapse:collapse;min-width:730px;font-size:13px}th,td{text-align:left;padding:20px 18px;border-bottom:1px solid #D4DDD8}thead th{background:#E8EEE9;color:#405A56;font-size:10px;letter-spacing:.08em;text-transform:uppercase}tbody tr:last-child th,tbody tr:last-child td{border:0}tbody th{font-size:13px}tbody th span{display:block;font-weight:400;color:#4D625E;font-size:11px;margin-top:3px}.table-leader{font-weight:800;color:var(--green)}.method-strip{border-top:1px solid var(--line);padding:65px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:80px}.method-strip h2{font-size:38px}.method-copy p{font-size:13px;line-height:1.75;color:#405A56}.method-copy a{font-weight:800;font-size:12px;text-decoration:none;display:inline-block;margin-top:10px}.method-copy a span{margin-left:12px}.prose-page{max-width:850px;padding:75px 0 120px}.prose-page h1{font-size:clamp(52px,6vw,75px)}.prose-page .lede{font-size:19px;color:#405A56;line-height:1.6;margin-bottom:70px}.prose-page h2{font-family:Manrope,Arial,sans-serif;font-size:27px;letter-spacing:-.05em;margin:40px 0 16px}.prose-page p,.prose-page li{font-size:15px;line-height:1.8;color:#405A56}.prose-page li{margin-bottom:8px}.prose-page code{font-size:13px;color:#176B62;background:#DDECE6;padding:4px 6px;border-radius:4px}
@media(max-width:900px){.hero-grid{gap:25px}.hero h1{font-size:59px}.workbench{grid-template-columns:1fr}.input-panel,.result-panel{min-height:0}.empty-result{min-height:420px}.tool-grid{grid-template-columns:1fr 1fr}.tool-card{min-height:350px}.tool-card:last-child{grid-column:1/-1}.analysis-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}.footer-note{grid-column:1/-1}}
@media(max-width:640px){.wrap{width:calc(100% - 32px)}.nav{min-height:72px}.nav nav{gap:0}.nav nav>a:not(.nav-cta){display:none}.nav .nav-cta{font-size:11px;padding:10px}.nav .nav-cta span{margin-left:5px}.brand-mark{width:38px;height:38px;font-size:24px}.brand{font-size:12px}.hero{padding-top:65px}.hero-grid{display:block}.hero h1{font-size:clamp(50px,13vw,70px)}.hero-copy{font-size:16px}.hero-visual{margin-top:63px;min-height:375px;padding:23px}.visual-caption{margin-top:44px}.hero-foot{gap:18px;height:65px;font-size:8px;justify-content:space-between}.section{padding:73px 0}.section-heading h2,.how-section h2{font-size:40px}.tool-grid{grid-template-columns:1fr}.tool-card,.tool-card:last-child{min-height:335px;grid-column:auto}.how-grid,.method-strip{grid-template-columns:1fr;gap:30px}.how-section{padding:70px 0}.footer-grid{grid-template-columns:1fr;gap:10px}.footer-note{grid-column:auto}.calculator-page{padding-bottom:70px}.page-intro{padding-bottom:30px}.back-link{margin-bottom:32px}.page-intro h1{font-size:59px}.workbench{gap:12px}.input-panel,.result-panel,.analysis-card{padding:24px}.field-grid{gap:15px 12px}.field label{font-size:10px}.advanced .field-grid{grid-template-columns:1fr 1fr}.advanced .field-grid .field:last-child{grid-column:1/-1}.empty-result{padding:0 13px;min-height:350px}.analysis-grid{gap:12px;margin-top:12px}.analysis-head{display:block}.analysis-card{min-height:0}.chart-wrap svg{height:175px}.scenario-section{padding:70px 0}.method-strip{padding-top:45px}.prose-page{padding:60px 0 90px}.prose-page h1{font-size:55px}}

/* Decision guide and a homepage that links only to live content. */
.tool-grid.one-tool{grid-template-columns:1.1fr .9fr}.tool-information{border:1px solid var(--line);background:#fff;border-radius:10px;padding:35px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.tool-information h3{font:700 30px/1.25 Manrope,Arial,sans-serif;letter-spacing:-.05em;margin:17px 0}.tool-information p{font-size:14px;line-height:1.7;color:var(--muted);max-width:390px}.tool-information a{font-size:12px;font-weight:800;color:var(--green);text-decoration:none;margin-top:14px}.tool-information a:hover{text-decoration:underline}.tool-information a span{margin-left:10px}.example-notice{font-size:12px;line-height:1.5;color:#183445;background:#DDECE6;border-left:3px solid var(--green);padding:10px 12px;margin:0 0 24px}.decision-guide{padding:90px 0 55px}.guide-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.guide-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:33px}.guide-number{color:var(--green);font-size:12px;font-weight:800}.guide-card h3{font:700 23px/1.3 Manrope,Arial,sans-serif;letter-spacing:-.045em;margin:18px 0}.guide-card p,.worked-example p,.faq p,.further-reading p{font-size:14px;line-height:1.75;color:#405A56}.worked-example{margin-top:24px;padding:43px;background:#E8EEE9;border-radius:10px}.worked-example h2,.faq h2{font:700 clamp(32px,3.6vw,45px)/1.2 Manrope,Arial,sans-serif;letter-spacing:-.055em;margin:14px 0 19px}.worked-example>div:first-child{max-width:680px}.example-table-wrap{overflow-x:auto;background:#fff;border-radius:7px;margin:27px 0}.example-table-wrap table{min-width:600px}.example-table-wrap caption{padding:16px 18px;text-align:left;background:#fff;color:#405A56;font-size:12px;font-weight:700}.example-table-wrap th,.example-table-wrap td{padding:15px}.worked-example .example-caption{font-size:12px;color:#4D625E}.faq{padding:80px 0 30px}.faq h2{margin-bottom:30px}.faq details{border-bottom:1px solid var(--line);padding:18px 4px}.faq summary{font:700 15px/1.5 Manrope,Arial,sans-serif;cursor:pointer;list-style:none;position:relative;padding-right:30px}.faq summary::-webkit-details-marker{display:none}.faq summary:after{content:'+';position:absolute;right:2px;top:0;font-size:22px;color:var(--green)}.faq details[open] summary:after{content:'−'}.faq details p{max-width:760px;margin:15px 0 3px}.further-reading{border-left:3px solid #BCD8CB;background:#DDECE6;padding:22px 28px;margin-top:45px}.further-reading p{margin-bottom:0}.further-reading a{color:var(--green)}
@media(max-width:900px){.tool-grid.one-tool{grid-template-columns:1fr}.guide-columns{grid-template-columns:1fr}}
@media(max-width:640px){.tool-grid.one-tool{grid-template-columns:1fr}.tool-information{padding:27px}.worked-example{padding:25px}.decision-guide{padding-top:70px}.faq{padding-top:65px}}

/* Readable type scale for the new ink / teal / sand palette. */
.brand{font-size:17px;font-weight:700}
.nav nav a{font-size:15px}
.eyebrow,.section-index{font-size:12px;font-weight:800}
.hero h1 em,.page-intro h1 em,.prose-page h1 em{font-weight:700}
.hero-copy{font-size:20px;line-height:1.65;font-weight:500}
.hero-fine{font-size:14px;font-weight:600}
.button{font-size:15px;font-weight:800}
.hero-foot,.visual-kicker,.visual-caption,.visual-bottom{font-size:12px}
.section-heading>p:last-child{font-size:17px;font-weight:500}
.tool-number{font-size:12px}
.tool-card h3{font-size:30px;font-weight:800}
.tool-card p:not(.tool-number){font-size:16px;line-height:1.6;font-weight:500;max-width:360px}
.tool-link,.tool-soon{font-size:14px}
.tool-information h3{font-size:32px;font-weight:800}
.tool-information p{font-size:16px;font-weight:500}
.tool-information a{font-size:14px}
.how-steps span,.how-steps p{font-size:16px}
.footer-grid p,.footer-grid a{font-size:14px}
.page-intro>p:last-child{font-size:18px;font-weight:500}
.back-link{font-size:14px}
.panel-heading h2,.analysis-card h2{font-size:28px;font-weight:800}
.panel-heading p{font-size:15px;font-weight:500}
.field label{font-size:13px;font-weight:800}
.field input,.field select{height:51px;font-size:16px;font-weight:600}
.field-error,.form-error{font-size:13px}
.advanced summary{font-size:15px}
.advanced .help,.privacy-note{font-size:13px}
.example-notice{font-size:14px;font-weight:700}
.verdict-label{font-size:12px}
.verdict h3{font-size:30px;font-weight:800}
.verdict p:last-child{font-size:16px;font-weight:500}
.outcome-name h3{font-size:16px;font-weight:800}
.outcome-value{font-size:23px}
.outcome-value small{font-size:12px;font-weight:600}
.outcome-foot{font-size:13px;flex-wrap:wrap}
.result-definition{font-size:13px}
.analysis-head p,.analysis-card>p:not(.threshold-number){font-size:15px}
.legend{font-size:13px}
.chart-labels,.chart-years{font-size:12px}
table,tbody th{font-size:15px}
thead th{font-size:12px}
tbody th span{font-size:13px}
.guide-card h3{font-size:26px;font-weight:800}
.guide-card p,.worked-example p,.faq p,.further-reading p{font-size:16px;font-weight:500}
.example-table-wrap caption,.worked-example .example-caption{font-size:14px}
.faq summary{font-size:17px}
.method-copy p{font-size:16px;font-weight:500}
.method-copy a{font-size:14px}
.prose-page p,.prose-page li{font-size:16px}
.button-dark{background:var(--green)}
.button-dark:hover{background:#12574F}
@media(max-width:640px){
  .brand{font-size:14px}
  .nav .nav-cta{font-size:12px}
  .hero-copy{font-size:18px}
  .hero-foot{font-size:10px}
  .field-grid,.advanced .field-grid{grid-template-columns:1fr}
  .advanced .field-grid .field:last-child{grid-column:auto}
  .outcome{grid-template-columns:minmax(0,1fr) auto}
  .outcome-value{font-size:20px}
}

/* Match the approved visual reference: ink navigation, mint mark, serif titles. */
.site-header{background:var(--ink);color:#FFFFFF;border-bottom-color:#35515D}
.nav{min-height:72px}
.brand{color:#FFFFFF;gap:10px;font-family:'DM Sans',Arial,sans-serif;font-weight:700;letter-spacing:-.02em;line-height:1.2;white-space:nowrap}
.brand-mark{width:38px;height:38px;flex:none;border-radius:7px;background:var(--cream);color:var(--ink);font-size:27px;padding-right:5px}
.brand-mark span{color:var(--ink)}
.nav nav{gap:28px}
.nav nav a{color:var(--cream);font-weight:600}
.nav nav a:hover{color:#FFFFFF;text-decoration:underline;text-underline-offset:4px}
.hero h1,.page-intro h1,.prose-page h1{font-family:var(--serif);font-weight:400;letter-spacing:-.035em;line-height:1.12}
.hero h1{font-size:clamp(54px,6.1vw,78px)}
.page-intro{max-width:960px}
.page-intro h1{font-size:clamp(52px,5.5vw,70px)}
.hero h1 em,.page-intro h1 em,.prose-page h1 em{font-family:var(--serif);font-weight:400;letter-spacing:-.035em;color:var(--green)}
@media(max-width:640px){
  .nav{min-height:64px;gap:12px}
  .brand{font-size:14px}
  .brand-mark{width:34px;height:34px;font-size:24px}
  .nav nav{gap:0}
  .nav nav>a:not(.nav-cta){display:inline}
  .nav nav a:first-child{display:none}
  .nav nav a{font-size:13px}
  .hero h1{font-size:clamp(48px,12vw,64px)}
  .page-intro h1{font-size:clamp(49px,12vw,64px)}
}

/* Interactive trajectory: retain the static monthly chart until Plotly renders. */
.analysis-card.wide{min-width:0}
.trajectory-shell{position:relative;min-height:385px;margin-top:12px}
.trajectory-plot{width:100%;height:385px}
.trajectory-fallback{position:absolute;inset:0;background:#fff;padding-top:8px}
.trajectory-fallback[hidden],.chart-hint[hidden]{display:none}
.trajectory-fallback .chart-wrap{padding-bottom:22px}
.trajectory-fallback .chart-wrap svg{height:245px}
.trajectory-fallback .chart-years{bottom:0;left:65px;right:0;padding:0 5.4%;display:flex;justify-content:space-between;font-size:12px}
.trajectory-fallback .legend{margin:16px 0 0 65px}
.chart-caption,.chart-hint{font-size:13px;line-height:1.5;color:var(--muted);margin:14px 0 0}
.annual-data{margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}
.annual-data summary{cursor:pointer;font-size:14px;font-weight:800;color:var(--green)}
.annual-data summary:hover{text-decoration:underline}
.annual-data .table-scroll{margin-top:15px;max-height:350px;overflow:auto}
.annual-data table{min-width:540px;font-size:13px}
.annual-data caption{text-align:left;padding:12px 14px;font-size:12px;color:var(--muted)}
.annual-data th,.annual-data td{padding:10px 13px;white-space:nowrap}
.annual-data thead{position:sticky;top:0}
@media(max-width:640px){
  .trajectory-shell{min-height:385px}
  .trajectory-fallback .chart-labels{min-width:55px}
  .trajectory-fallback .chart-wrap svg{width:calc(100% - 55px)}
  .trajectory-fallback .chart-years{left:55px;font-size:11px}
  .trajectory-fallback .legend{margin-left:0;gap:8px 15px}
  .chart-caption,.chart-hint{font-size:12px}
}

/* In-page comparison feedback. The form still submits normally without JavaScript. */
.calculate:disabled{cursor:wait;opacity:.7;transform:none}
.submit-status{color:var(--green);font-size:13px;font-weight:700;line-height:1.5;margin:12px 0 0}
.submit-status:empty{display:none}
#results-heading:focus,.form-error:focus,.field-error:focus{outline:2px solid var(--green);outline-offset:5px}

/* Mortgage decision page */
.mortgage-page .page-intro{max-width:1000px}
.mortgage-page .mortgage-guide{padding:90px 0 50px}
.mortgage-page .outcome-foot{justify-content:flex-start;gap:6px 16px}
.mortgage-page .outcome-foot span:last-child{width:100%;font-weight:700;color:var(--ink)}
.mortgage-page .result-panel .panel-heading p strong{color:var(--ink)}
.mortgage-page .worked-example{margin-top:20px}
.mortgage-page .further-reading{margin-bottom:75px}
.mortgage-page .analysis-card .callout{font-size:14px}
@media(max-width:640px){
  .mortgage-page .mortgage-guide{padding-top:70px}
  .mortgage-page .outcome-foot{gap:5px 12px}
}

/* Car cash, loan, and lease comparison */
.tool-information.after-tools{margin-top:20px;min-height:200px}
.car-page .input-group-label{font:800 18px/1.3 Manrope,Arial,sans-serif;letter-spacing:-.035em;margin:30px 0 -12px}
.car-page .input-help{font-size:13px;line-height:1.6;color:var(--muted);margin:15px 0 0}
.car-page .outcome-foot{justify-content:flex-start;gap:6px 15px}
.car-page .result-definition{line-height:1.6}
.car-page .resale-section{padding-top:0}
.color-dot.cash{background:var(--green)}
.color-dot.loan{background:var(--indigo)}
.color-dot.lease{background:var(--clay)}

/* Emergency reserve tool and the four-tool home grid. */
.tool-grid.four-tools{grid-template-columns:repeat(2,minmax(0,1fr))}
.tool-grid.four-tools .tool-card{min-height:345px}
.tool-grid.four-tools .tool-card:last-child{grid-column:auto}
.reserve-page .input-group-label{font:800 18px/1.3 Manrope,Arial,sans-serif;letter-spacing:-.035em;margin:30px 0 -12px}
.reserve-page .input-help{font-size:13px;line-height:1.6;color:var(--muted);margin:15px 0 0}
.reserve-page .panel-heading p strong{color:var(--ink)}
.reserve-page .outcome-foot{justify-content:flex-start;gap:6px 20px}
.reserve-page .result-definition{font-size:13px;line-height:1.65}
.reserve-page .result-definition strong{color:var(--ink)}
.reserve-page .trajectory-shell{min-height:430px}
.reserve-page .reserve-stress{padding-top:80px}
.color-dot.savings{background:var(--green)}
.color-dot.short{background:var(--indigo)}
.color-dot.extended{background:var(--clay)}
.color-dot.severe{background:var(--ink)}

/* Rent versus buy and the five-tool home layout. */
.tool-grid.five-tools{grid-template-columns:repeat(6,minmax(0,1fr))}
.tool-grid.five-tools .tool-card{grid-column:span 2;min-height:345px}
.tool-grid.five-tools .tool-card:nth-last-child(-n+2){grid-column:span 3}
.housing-page .page-intro{max-width:1010px}
.housing-page .input-group-label{font:800 18px/1.3 Manrope,Arial,sans-serif;letter-spacing:-.035em;margin:30px 0 -12px}
.housing-page .input-help{font-size:13px;line-height:1.6;color:var(--muted);margin:15px 0 0}
.housing-page .panel-heading p strong{color:var(--ink)}
.housing-page .outcome-foot{justify-content:flex-start;gap:6px 16px}
.housing-page .result-definition{font-size:13px;line-height:1.65}
.housing-page .housing-rent-stress{padding-top:0}
.color-dot.buy{background:var(--green)}
.color-dot.rent{background:var(--indigo)}
@media(max-width:900px){
  .tool-grid.five-tools{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tool-grid.five-tools .tool-card,.tool-grid.five-tools .tool-card:nth-last-child(-n+2){grid-column:auto}
  .tool-grid.five-tools .tool-card:last-child{grid-column:1/-1}
}
@media(max-width:640px){
  .tool-grid.four-tools{grid-template-columns:1fr}
  .reserve-page .input-group-label{margin-top:25px}
  .reserve-page .trajectory-shell{min-height:475px}
  .reserve-page .trajectory-fallback .legend{gap:6px 12px}
  .reserve-page .reserve-stress{padding-top:65px}
  .tool-grid.five-tools{grid-template-columns:1fr}
  .tool-grid.five-tools .tool-card,.tool-grid.five-tools .tool-card:nth-last-child(-n+2){grid-column:auto}
  .housing-page .input-group-label{margin-top:25px}
  .housing-page .housing-rent-stress{padding-top:0}
}
