:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--navy:#08273d;--navy-soft:#123f59;--blue:#005382;--blue-dark:#003f64;--blue-soft:#eaf3f8;--green:#3f7d20;--green-soft:#edf6e8;--orange:#b45309;--orange-soft:#fff4e8;--purple:#69517c;--purple-soft:#f3eef7;--text:#102a3b;--muted:#536b7a;--line:#d6e2e9;--surface:#fff;--surface-alt:#f5f8fa;--danger:brown;--shadow:0 18px 46px #08273d14;--radius-lg:24px;--radius-md:16px;--radius-sm:10px;font-synthesis:none;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{min-width:320px;color:var(--text);background:radial-gradient(circle at 85% 0,#96c67929,#0000 28rem),linear-gradient(#f7fafc 0,#fff 34rem);margin:0;line-height:1.55}button,input,summary{font:inherit}button,summary,input[type=range]{cursor:pointer}a{color:var(--blue-dark);text-underline-offset:.2em}a:hover{color:var(--green)}:focus-visible{outline-offset:3px;outline:3px solid #87bde0}.skip-link{z-index:100;color:#fff;background:var(--navy);border-radius:.5rem;padding:.65rem .9rem;position:fixed;top:-100px;left:.75rem}.skip-link:focus{top:.75rem}.site-header{z-index:10;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#ffffffe6;border-bottom:1px solid #d6e2e9db;position:relative}.header-inner,.page,.footer-inner{width:min(1120px,100% - 2rem);margin-inline:auto}.header-inner{justify-content:space-between;align-items:center;gap:2rem;min-height:78px;display:flex}.brand{flex:none;align-items:center;display:inline-flex}.brand-logo{object-fit:contain;width:138px;height:58px}nav{flex-wrap:wrap;justify-content:flex-end;gap:.4rem 1.35rem;display:flex}nav a{color:var(--text);font-size:.92rem;font-weight:700;text-decoration:none}.page{padding:3.6rem 0 5rem}.hero{grid-template-columns:minmax(0,1.45fr) minmax(270px,.55fr);align-items:end;gap:2.5rem;padding-bottom:3rem;display:grid}.eyebrow,.learning-callout>span,.hero-principle>span{color:var(--blue);letter-spacing:.12em;text-transform:uppercase;margin-bottom:.8rem;font-size:.78rem;font-weight:800;display:block}h1,h2,h3,p{margin-top:0}h1,h2,h3,strong{text-wrap:balance}h1{letter-spacing:-.045em;max-width:780px;margin-bottom:1.2rem;font-size:clamp(2.35rem,5.5vw,4.6rem);line-height:1.03}h1 em{color:var(--green);font-style:normal}.hero-copy>p{max-width:720px;color:var(--muted);margin-bottom:0;font-size:clamp(1rem,2vw,1.2rem)}.hero-principle{color:#fff;background:var(--navy);border-radius:var(--radius-md);box-shadow:var(--shadow);padding:1.35rem 1.45rem}.hero-principle>span{color:#bde19d}.hero-principle strong{font-size:1.15rem;line-height:1.35;display:block}main{gap:2rem;display:grid}.credit-editor,.results-section,.amortization-section,.learning-section{border:1px solid var(--line);background:var(--surface);border-radius:var(--radius-lg);box-shadow:var(--shadow);padding:clamp(1.15rem,3vw,2.2rem)}.section-heading{align-items:flex-start;gap:1rem;margin-bottom:1.7rem;display:flex}.section-heading .step{color:#fff;background:var(--blue);border-radius:50%;flex:0 0 2.15rem;place-items:center;width:2.15rem;height:2.15rem;font-weight:800;display:grid}.section-heading h2,.learning-section h2{letter-spacing:-.025em;margin-bottom:.2rem;font-size:clamp(1.45rem,3vw,2.05rem);line-height:1.2}.section-heading p{color:var(--muted);margin-bottom:0}.credit-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem;display:grid}.purpose-field{max-width:720px;margin-bottom:1.5rem}.text-input{width:100%;min-height:48px;color:var(--text);border-radius:var(--radius-sm);background:#fff;border:1px solid #bdd0dc;padding:.75rem .9rem;font-weight:650}.text-input:focus{border-color:var(--blue);outline:0;box-shadow:0 0 0 3px #0053821f}.field{min-width:0}.field+.field{margin-top:1.25rem}.credit-fields .field+.field,.cost-grid .field+.field{margin-top:0}.label-row{justify-content:space-between;align-items:baseline;gap:1rem;margin-bottom:.55rem;display:flex}label,.label-row label{color:var(--text);font-size:.93rem;font-weight:750}.label-row>span{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;font-size:.78rem;font-weight:700}.field-help{color:var(--muted);margin:.45rem 0 0;font-size:.8rem}.field-help strong{color:var(--blue-dark)}input[type=range]{appearance:none;background:linear-gradient(90deg, #94bed5, var(--line));border-radius:999px;width:100%;height:6px;margin:.65rem 0 1rem}input[type=range]::-webkit-slider-thumb{appearance:none;background:var(--blue);width:22px;height:22px;box-shadow:0 0 0 1px var(--blue);border:3px solid #fff;border-radius:50%}input[type=range]::-moz-range-thumb{background:var(--blue);width:17px;height:17px;box-shadow:0 0 0 1px var(--blue);border:3px solid #fff;border-radius:50%}.number-shell{border-radius:var(--radius-sm);background:#fff;border:1px solid #bdd0dc;align-items:center;gap:.5rem;min-height:48px;display:flex;overflow:hidden}.number-shell:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px #0053821f}.number-shell>span{color:var(--muted);flex:none;padding-right:.85rem;font-size:.88rem;font-weight:700}.number-shell.currency>span:first-child{color:var(--blue);padding-left:.9rem;padding-right:0}.number-shell input{width:100%;min-width:0;color:var(--text);font-variant-numeric:tabular-nums;background:0 0;border:0;outline:0;padding:.75rem .8rem;font-weight:750}.number-shell.currency input{padding-left:.15rem}.number-shell input::placeholder{color:#8ba0ad;font-weight:500}.form-error{color:var(--danger);border-radius:var(--radius-sm);background:#fff1f1;margin:1rem 0 0;padding:.8rem 1rem;font-weight:700}.results-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;display:grid}.cost-details{border-top:1px solid var(--line);margin-top:1.25rem;padding-top:1rem}.cost-details summary,.schedule-details summary{color:var(--blue-dark);font-weight:800}.cost-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem;margin-top:1rem;display:grid}.details-intro{color:var(--muted);margin:.8rem 0 0;font-size:.88rem}.field.compact label{margin-bottom:.4rem;font-size:.82rem;display:inline-block}.results-section{color:#fff;background:var(--navy);border-color:var(--navy)}.results-section .section-heading p{color:#bed0dc}.results-section .section-heading .step{color:var(--navy);background:#bde19d}.result-card{min-width:0;color:var(--text);border-radius:var(--radius-md);background:#fff;padding:1.35rem}.result-card>span{color:var(--blue);letter-spacing:.07em;text-transform:uppercase;font-size:.76rem;font-weight:850;display:block}.result-card>strong{color:var(--navy);font-variant-numeric:tabular-nums;margin-top:.35rem;font-size:clamp(1.45rem,3vw,2.15rem);display:block}.result-card>p{color:var(--muted);margin:.45rem 0 0;font-size:.8rem}.primary-result{box-shadow:inset 0 4px #9bd176}.result-sentence{color:#e5f0f6;max-width:900px;margin:-.25rem 0 1.25rem;font-size:clamp(1rem,2vw,1.2rem)}.result-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1rem;display:grid}.result-detail{min-width:0;color:var(--text);border-radius:var(--radius-md);background:#f7fafc;padding:1.35rem}.result-detail h3{margin-bottom:.8rem;font-size:1.05rem}.result-detail-copy{color:var(--muted);margin-bottom:.75rem;font-size:.85rem}.metric-list{margin:0}.metric-list div{border-bottom:1px solid #e8eff3;justify-content:space-between;align-items:baseline;gap:1rem;padding:.54rem 0;display:flex}.metric-list div:last-child{border-bottom:0}.metric-list dt{color:var(--muted);font-size:.83rem}.metric-list dd{font-variant-numeric:tabular-nums;text-align:right;margin:0;font-size:.9rem;font-weight:800}.breakdown{background:#eaf0f3;border-radius:999px;height:12px;margin-top:1.1rem;display:flex;overflow:hidden}.large-breakdown{height:18px;margin-top:1.25rem}.breakdown span{min-width:0;height:100%}.capital-part,.capital-swatch{background:var(--blue)}.interest-part,.interest-swatch{background:var(--orange)}.cost-part,.cost-swatch{background:var(--purple)}.breakdown-legend,.chart-legend{color:var(--muted);flex-wrap:wrap;gap:.45rem 1rem;margin-top:.7rem;font-size:.74rem;display:flex}.breakdown-legend span,.chart-legend span{align-items:center;gap:.35rem;display:inline-flex}.breakdown-legend i,.chart-legend i{border-radius:50%;width:.65rem;height:.65rem;display:inline-block}.percentage-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;margin:1.25rem 0 0;display:grid}.percentage-list div{border-top:1px solid var(--line);padding-top:.75rem}.percentage-list dt{color:var(--muted);font-size:.78rem}.percentage-list dd{color:var(--navy);margin:.15rem 0 0;font-size:1.2rem;font-weight:800}.learning-callout{color:var(--navy);border-radius:var(--radius-md);background:#dff0d4;margin-top:1.2rem;padding:1.2rem 1.3rem}.learning-callout>span{color:var(--green);margin-bottom:.3rem}.learning-callout h3{margin-bottom:.35rem;font-size:1.1rem}.learning-callout p{margin-bottom:0}.secondary-button{border:1px solid var(--line);min-height:42px;color:var(--blue-dark);border-radius:var(--radius-sm);background:#fff;padding:.65rem 1rem;font-weight:800}.chart-figure{background:var(--surface-alt);border-radius:var(--radius-md);margin:0;padding:1rem}.chart-figure figcaption{justify-content:space-between;align-items:baseline;gap:1rem;margin-bottom:.5rem;display:flex}.chart-figure figcaption span{color:var(--muted);font-size:.78rem}#amortization-chart{width:100%;height:auto;min-height:230px;display:block;overflow:visible}.chart-grid-line{stroke:#d8e3e9;stroke-width:1px}.chart-axis-label{fill:var(--muted);font-size:11px}.chart-capital-bar{fill:var(--blue)}.chart-interest-bar{fill:var(--orange)}.month-explorer{background:var(--blue-soft);border-radius:var(--radius-md);grid-template-columns:minmax(240px,.75fr) minmax(0,1.25fr);gap:1.25rem;margin-top:1.1rem;padding:1.25rem;display:grid}.month-control output{color:var(--blue-dark);font-size:.85rem;font-weight:800}.month-explanation{color:var(--muted);margin:.35rem 0 0;font-size:.87rem}.month-detail{border-radius:var(--radius-sm);background:#fff;min-width:0;padding:1rem}.month-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem 1.25rem;display:grid}.month-metrics div{min-width:0}.month-metrics span,.month-metrics strong{display:block}.month-metrics span{color:var(--muted);font-size:.76rem}.month-metrics strong{color:var(--navy);font-variant-numeric:tabular-nums;margin-top:.15rem;font-size:1rem}.month-breakdown{height:10px;margin-top:1rem}.schedule-details{border:1px solid var(--line);border-radius:var(--radius-md);margin-top:1.1rem;padding:1rem}.schedule-summary{color:var(--muted);margin:.8rem 0;font-size:.88rem}.table-responsive{border:1px solid var(--line);border-radius:var(--radius-sm);max-width:100%;overflow-x:auto}table{border-collapse:collapse;font-variant-numeric:tabular-nums;background:#fff;width:100%;min-width:850px;font-size:.8rem}caption{text-align:left;padding:.8rem;font-weight:800}th,td{text-align:right;white-space:nowrap;border-bottom:1px solid #e5edf2;padding:.65rem .75rem}th:first-child,td:first-child{text-align:center}th{color:var(--navy);background:var(--blue-soft)}tbody tr:nth-child(2n){background:#f8fafb}.secondary-button{border-radius:var(--radius-sm);margin-top:1rem}.secondary-button:hover{color:#fff;background:var(--blue);border-color:var(--blue)}.learning-section{grid-template-columns:minmax(200px,.6fr) minmax(0,1fr);gap:1.5rem 2rem;display:grid}.lesson-list{counter-reset:lessons;margin:0;padding:0;list-style:none}.lesson-list li{counter-increment:lessons;padding:.1rem 0 1.1rem 3rem;position:relative}.lesson-list li:before{content:counter(lessons);color:#fff;background:var(--blue);border-radius:50%;place-items:center;width:2rem;height:2rem;font-weight:800;display:grid;position:absolute;top:0;left:0}.lesson-list strong,.lesson-list span{display:block}.lesson-list span{color:var(--muted);margin-top:.2rem;font-size:.9rem}.assumptions{background:var(--blue-soft);border-radius:var(--radius-md);grid-column:1/-1;padding:1.2rem 1.35rem}.assumptions h3{margin-bottom:.65rem}.assumptions ul{margin:0 0 1rem;padding-left:1.2rem}.assumptions p:last-child{margin-bottom:0}footer{color:#fff;background:var(--navy);padding:2.2rem 0}.footer-inner{align-items:center;gap:1.5rem;display:flex}.footer-inner img{object-fit:contain;flex:0 0 94px;width:94px;height:94px}.footer-inner strong{color:#c7e8af;margin-bottom:.3rem;display:block}.footer-inner p{color:#c6d4dd;max-width:680px;margin-bottom:0;font-size:.85rem}[hidden]{display:none!important}@media (width<=860px){.hero,.learning-section{grid-template-columns:1fr}.credit-fields,.cost-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.credit-fields .field:last-child{grid-column:1/-1}.hero{gap:1.35rem}.hero-principle{max-width:640px}.learning-section{gap:1rem}.assumptions{grid-column:auto}}@media (width<=740px){.page{padding-top:2.4rem}.results-grid,.result-detail-grid,.month-explorer{grid-template-columns:1fr}.chart-figure{padding:.8rem .4rem}}@media (width<=560px){.header-inner,.page,.footer-inner{width:min(100% - 1.1rem,1120px)}.header-inner{align-items:center;gap:.7rem;min-height:68px}.brand-logo{width:126px;height:48px}nav{gap:.3rem .75rem}nav a{font-size:.76rem}h1{font-size:clamp(2.1rem,12vw,3.1rem)}.credit-editor,.results-section,.amortization-section,.learning-section{border-radius:18px;padding:1rem}.section-heading{gap:.7rem}.result-card,.result-detail,.month-explorer{padding:1rem}.credit-fields,.cost-grid{grid-template-columns:1fr}.credit-fields .field:last-child{grid-column:auto}.chart-figure figcaption{flex-direction:column;align-items:flex-start;gap:.3rem}.metric-list div{flex-direction:column;align-items:flex-start;gap:.1rem}.metric-list dd{text-align:left}#amortization-chart{min-height:180px}.footer-inner{align-items:flex-start}.footer-inner img{flex-basis:70px;width:70px;height:70px}}@media (width<=380px){nav a:nth-child(2){display:none}.hero-principle,.learning-callout{padding:1rem}.number-shell>span{padding-right:.55rem;font-size:.78rem}.month-metrics{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important}}
