/* Shared type system for the homepage and its embedded simulator. */
:root,:host{--medtod-font:Arial,Helvetica,sans-serif;--sans:Arial,Helvetica,sans-serif;--serif:Arial,Helvetica,sans-serif}
body,:host{font-family:var(--medtod-font);font-size:16px;line-height:1.65}
h1,h2,h3,p,a,label,button,input,textarea,select,summary,small,li,dt,dd,th,td,.eyebrow,.editorial-bottom,.ribbon span:first-child,.amount,.reserve-card strong{font-family:var(--medtod-font)}
h1{font-size:clamp(38px,4.5vw,60px);font-weight:700;line-height:1.12;letter-spacing:-1.4px}
h2,.download-section h2,.method h2{font-size:clamp(28px,3vw,40px);font-weight:700;line-height:1.2;letter-spacing:-.7px}
h3,.services h3,.form-card h3,.method h3{font-size:22px;font-weight:600;line-height:1.3;letter-spacing:-.2px}
em,h1 em,h2 em{font-family:var(--medtod-font);font-style:normal;font-weight:inherit}
p,.hero-copy>p,.section-head>p,.services p,.download-intro,.success p,.lede,.method-grid p,.method ul{font-size:16px;line-height:1.65}
.eyebrow,.section-label,.card-kicker{font-size:12px;line-height:1.5;font-weight:700;letter-spacing:1.3px}
.editorial-bottom{font-size:26px;font-weight:600}.editorial-bottom strong{font-weight:600}
.editorial img{display:block;object-fit:contain;object-position:center;width:100%;height:auto;max-height:420px;aspect-ratio:595.276/841.89}
button,.button,.primary,.outline,.text-button,.text-link,.nav-cta,nav,summary,.inputs summary{font-size:14px;font-weight:600;line-height:1.45}
label,.inputs label,form>label,.form-card input,.form-card textarea,select{font-size:14px;line-height:1.5}
.small,.privacy,.optional,.hint,.notice,.disclaimer,.result-context,.amount-note,.reserve-card p:not(.card-kicker),footer p,footer a,footer details,.check label,.chips,.legend,.bar-label,dl,table{font-size:13px;line-height:1.6}
.hero-foot,.editorial-top,.ribbon{font-size:11px;line-height:1.5}
.ribbon span:first-child{font-size:16px}
.download-section li{font-size:16px;line-height:1.65;align-items:flex-start}
.download-section li svg{flex-shrink:0;margin-top:4px}
/* Compact subheadings retain a consistent level inside the calculator. */
.panel h2,.results h2{font-size:28px}
.result-card h3,.reserve-card h3,.flow-box h3{font-size:18px;font-weight:600;line-height:1.35}
.amount,.reserve-card strong{font-family:var(--medtod-font);font-weight:600;font-size:34px;line-height:1.2;letter-spacing:-.8px}
.card-kicker{font-size:11px;letter-spacing:.8px}
.chips{flex-wrap:wrap;gap:8px 18px}
.sim-section medtod-simulator{display:block;min-width:0}
@media(max-width:1000px){
 .hero{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
 .hero h1{font-size:clamp(38px,4.7vw,48px)}
 .services{gap:28px}
}
@media(max-width:700px){
 .hero{grid-template-columns:minmax(0,1fr)}
 h1,.hero h1,:host h1{font-size:clamp(34px,9.2vw,42px);line-height:1.12;letter-spacing:-1px}
 h2,.download-section h2,.method h2{font-size:30px}
 h3,.services h3,.form-card h3,.method h3{font-size:22px}
 .editorial{width:100%;max-width:360px;justify-self:center;margin:34px 0 0;transform:none;padding:20px}
 .editorial img{height:auto;max-height:none;width:100%;aspect-ratio:595.276/841.89}
 .editorial-top{flex-wrap:wrap;gap:8px}
 .hero-foot{letter-spacing:1px}
 .nav-cta{font-size:12px;max-width:48%;gap:8px}
 .services{grid-template-columns:minmax(0,1fr)}
 .form-card{padding:24px 20px}
 .form-card input,.form-card textarea,.money input,select{font-size:16px}
 .panel h2,.results h2{font-size:26px}
 .cards{grid-template-columns:minmax(0,1fr)}
 .result-card{padding:22px}
 .card-kicker{min-height:0}
 .amount,.reserve-card strong{font-size:34px}
 .reserve-card{align-items:flex-start;flex-direction:column}
 :host main{padding-left:18px;padding-right:18px}
 .result-actions{gap:10px}.result-actions button{width:100%}
 .check label{font-size:13px!important}
 footer{overflow-wrap:anywhere}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
