/* MortgageMatters.ai: design, layout and accessibility fixes.
   Loaded last on every page (tools/apply-site-fixes.py), so these rules override each page's inline CSS.
   Keep everything here instead of editing the generated pages: Jesse's builder rewrites them. */

/* 1. Brand colours: since Nov 14 Jesse's pages use the Luminate palette (navy #0F2D52, blue #1F6FD1, light blue
   #8EC5FF, spectrum accent line under the logo), which passes contrast, so nothing is overridden here any more.
   Our own additions below use the same palette (his old -> new table in the Luminate colour brief). */
#mm-ask-widget{background:var(--navy) !important;}
#mm-ask-widget:hover{background:var(--navy-mid) !important;}

/* 2. Buttons on teal sections: a white pill with dark text, so the button does not disappear into the band. */
.state-strip .state-go,
.jesse-bar .btn-primary,
.jesse-card .btn-p{background:#fff !important;color:var(--ink) !important;}
.state-strip .state-go:hover,.jesse-bar .btn-primary:hover,.jesse-card .btn-p:hover{background:#EEF3F9 !important;opacity:1;}
.jesse-card .btn-g{background:transparent !important;border:1.5px solid rgba(255,255,255,.75) !important;color:#fff !important;}
.btn-p,.btn-primary{text-align:center;}

/* 3. Readable text on teal and dark backgrounds. */
.state-strip-text p,.jesse-bar p,.jc-body p,.state-hero-sub{color:rgba(255,255,255,.92) !important;}
.state-hero-sub{font-weight:400 !important;}
.state-hero .hero-lbl,.hm,.hero-meta-item{color:rgba(255,255,255,.92) !important;}
.jc-av{background:#fff !important;color:var(--navy) !important;border:none !important;}
.db h5,.db .db-h{color:rgba(255,255,255,.65) !important;}
.db p{color:rgba(255,255,255,.75) !important;}
.disc-full{color:rgba(255,255,255,.62) !important;}
.disc-full a,.db a{color:var(--sky,#8EC5FF) !important;text-decoration:underline;}
.db .db-h{font-size:.63rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;margin:0 0 .6rem;}
.art-callout{color:#3a3a3a;}
.cx-steplbl.locked{color:#6B7A8F !important;}
.dscr-steplbl-locked{color:#6B7A8F !important;}
.dscr-step-num{opacity:1 !important;background:#d8d5cf;color:#fff;}
.dscr-metric.neg .dscr-metric-val,.dscr-metric.neg .dscr-metric-lbl{color:#B3261E !important;}

/* 4. The decorative ring in dark heroes was painted over the heading text. */
.hero>*{position:relative;z-index:1;}

/* 5. Headings: Lora at 600, the weight Jesse's pages load for bold headings (our self-hosted Lora also has 700). */
h1,h2,.si-h2{font-weight:600;}
.si-h2{line-height:1.15;}
h1,h2,.hero-sub{text-wrap:balance;}

/* 6. Line up hero, footer and band content with the page column (.sw is 920px including its padding). */
.disc-inner,.state-strip-inner,.state-hero-inner{max-width:calc(var(--max) - 4rem) !important;}
#mm-browse{max-width:var(--max) !important;padding:2.5rem 2rem !important;}
#mm-browse h2{font-weight:400;}

/* 7. Navigation: never overflow; on tablets and phones the links become a scrollable row under the logo. */
@media(max-width:1180px){
  nav{flex-wrap:wrap;height:auto !important;padding:.55rem 1.25rem !important;row-gap:.35rem;}
  .nav-links{display:flex !important;order:3;width:100%;overflow-x:auto;gap:1.2rem !important;padding:.3rem 0 .2rem;scrollbar-width:none;-webkit-overflow-scrolling:touch;}
  .nav-links::-webkit-scrollbar{display:none;}
  .nav-links a{display:inline-block;padding:.35rem 0;}
}

/* 8. Homepage: Hot Market Thermometer and state panel. */
.thermo-zip{min-width:0;width:100%;}
.thermo-mini-card h4{min-height:2.8em;}
.si-section{padding:2rem !important;}
.si-divider{margin:0 2rem !important;}
.state-select{min-width:0;}
@media(max-width:480px){
  .state-select-wrap{flex:1 1 100% !important;flex-wrap:wrap;min-width:0 !important;max-width:none !important;}
  .state-go{flex:1 0 100%;text-align:center;}
}
#bridge [style*="grid-template-columns:1fr 1fr"]{grid-template-columns:repeat(auto-fit,minmax(260px,1fr)) !important;}

/* 9. Card grids: 3 even columns instead of 4 + 2 orphans. */
.features,.doc-features{grid-template-columns:repeat(3,1fr) !important;}
.features:has(> :nth-child(4):last-child),.doc-features:has(> :nth-child(4):last-child),
.features:has(> :nth-child(2):last-child),.doc-features:has(> :nth-child(2):last-child){grid-template-columns:repeat(2,1fr) !important;}
@media(max-width:700px){.features,.doc-features{grid-template-columns:1fr !important;}}
.doc-feature{background:#fff;border-radius:var(--rlg);}
.card+.card,[style*="display:grid"]>.card{margin-top:0;}

/* 10. Call-to-action card on phones: stack the avatar, full-width buttons. */
@media(max-width:480px){
  .jesse-card{flex-direction:column;gap:.9rem;}
  .jc-body{min-width:0 !important;}
  .jc-btns a{flex:1 1 100%;text-align:center;}
}

/* 11. Lists and checklists. */
.sw ul:not([class]),.sw ol:not([class]),.ft-src{padding-left:1.25rem;}
.sw ul:not([class]) li{margin-bottom:.35rem;}
.checklist li{display:block !important;position:relative;padding-left:1.5rem !important;}
.checklist li::before{position:absolute;left:0;top:.45rem;}
.sw h3{font-size:1rem;font-weight:700;color:var(--ink);line-height:1.35;margin:1.5rem 0 .35rem;}

/* 12. Tables on phones: scroll inside their box instead of widening the page. */
@media(max-width:600px){
  .art-table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;}
  .art-table th,.art-table td{padding:.45rem .55rem;}
  .mm-tbl{min-width:0 !important;font-size:.8rem;}
  .mm-tbl th,.mm-tbl td{padding:.45rem .4rem;}
}
.art-table td{vertical-align:top;}
.art-table th{vertical-align:bottom;}

/* 13. Articles. */
.art-hero .art-hero{display:none;}
.art-card{display:flex !important;flex-direction:column;}
.art-card-meta{margin-top:auto;}
.art-example .ex-lbl,.art-toc a{color:var(--navy);}
@media(max-width:600px){.filter-btn{padding:10px 16px;}}

/* 14. State first-time-buyer pages: hero on phones. */
@media(max-width:480px){
  .state-hero-top{flex-direction:column;align-items:flex-start;gap:.6rem;}
  .state-badge{width:44px;height:44px;font-size:1.2rem;}
}

/* 15. States index: two columns of states on phones. */
.mm-states{grid-template-columns:repeat(auto-fill,minmax(160px,1fr)) !important;}
.mm-states li{border-radius:14px;}

/* 16. Ask page form. */
.ask-card .go{border-radius:30px;background:var(--navy);}
.ask-card .go:hover{background:var(--navy-mid);}
.ask-card .consent input{width:20px;height:20px;accent-color:var(--navy);}

/* 17. Calculators. */
.cx-verdict,.cx-disc{border-radius:0 var(--rlg) var(--rlg) 0 !important;}
.cx-how{border-radius:0 var(--rlg) var(--rlg) 0 !important;}
@media(max-width:480px){.rm-proj-vals{width:120px !important;}}

/* 18. 404 page: footer reaches the bottom of the window. */
body.mm-404{min-height:100vh;display:flex;flex-direction:column;}
body.mm-404 .disc-footer{margin-top:auto;}

/* 19. Floating "Ask Jesse" button: keep the end of each page clear of it on phones. */
@media(max-width:520px){.disc-footer{padding-bottom:88px !important;}}

/* 20. Faint inline white text (hero byline, state call-to-action paragraph). */
[style^="color:rgba(255,255,255,.3)"],[style*=";color:rgba(255,255,255,.3)"],[style*=" color:rgba(255,255,255,.3)"],
[style^="color:rgba(255,255,255,.35)"],[style*=";color:rgba(255,255,255,.35)"],
[style^="color:rgba(255,255,255,.4)"],[style*=";color:rgba(255,255,255,.4)"]{color:rgba(255,255,255,.7) !important;}
[style^="color:rgba(255,255,255,.5)"],[style*=";color:rgba(255,255,255,.5)"],[style*=" color:rgba(255,255,255,.5)"],
[style^="color:rgba(255,255,255,.55)"],[style*=";color:rgba(255,255,255,.55)"],[style*=" color:rgba(255,255,255,.55)"]{color:rgba(255,255,255,.9) !important;}

/* 21. Last contrast items found by Lighthouse. */
.jesse-card h3,.jesse-card .jc-body h3{color:#fff !important;}
.cx-steplbl.locked,.dscr-steplbl-locked{color:#6f6a64 !important;}
#state-panel [style*="border-radius:50%"][style*="color:var(--sky)"]{background:#fff !important;color:var(--navy) !important;border:none !important;}

/* 22. Beat My Rate upload form (assets/beat-upload.js). */
.bmr-status{margin-top:.75rem;font-size:.85rem;border-radius:var(--rlg);padding:1rem 1.15rem;}
.bmr-bad{background:#fef3f2;border:1px solid #fecdca;color:#B3261E;}
.bmr-ok{background:#ecfdf3;border:1px solid #abefc6;color:#067647;}
.bmr-form-wrap,.bmr-form{display:grid;gap:.7rem;}
.bmr-status.bmr-form{background:#fff;border:1px solid var(--border);}
.bmr-form label{display:grid;gap:.3rem;font-size:.8rem;font-weight:600;color:var(--ink);}
.bmr-form input[type=text],.bmr-form input[type=email],.bmr-form input[type=tel],.bmr-form textarea{width:100%;font:inherit;font-weight:400;padding:10px 14px;border:1px solid var(--border-dk);border-radius:14px;background:#fff;color:var(--ink);}
.bmr-form input:focus,.bmr-form textarea:focus{outline:2px solid #bfe9e5;border-color:var(--navy);}
.bmr-opt{font-weight:400;color:var(--muted);}
.bmr-file{margin:0;color:var(--ink);}
.bmr-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0;}
.bmr-consent{display:flex !important;grid-template-columns:none;gap:.55rem;align-items:flex-start;font-weight:400 !important;color:var(--muted) !important;line-height:1.5;}
.bmr-consent input{width:20px;height:20px;flex-shrink:0;margin-top:1px;accent-color:var(--navy);}
.bmr-send{justify-self:start;border:none;cursor:pointer;font-family:inherit;padding:11px 22px !important;}
.bmr-send:disabled{opacity:.6;cursor:wait;}
.bmr-err{margin:0;color:#B3261E;min-height:1.1em;}
#upload-box.bmr-picked{border-style:solid !important;border-color:var(--navy) !important;}

/* 23. Rhode Island page: heading for the FAQs brought over from the old site. */
.faq-more-h{font-family:'Lora',serif;font-weight:600;font-size:1.3rem;color:var(--ink);margin:2rem 0 .4rem;}

/* 24. State page hero: line the paragraph and checklist up with the title (they sat under the badge),
   and give the teal some depth (subtle gradient + the same ring the dark heroes have). */
@media(min-width:481px){.state-hero-sub,.state-hero .hero-meta{margin-left:72px;}}
.state-hero{position:relative;overflow:hidden;}
.state-hero::before{content:'';position:absolute;top:-140px;right:-120px;width:420px;height:420px;border:70px solid rgba(255,255,255,.06);border-radius:50%;pointer-events:none;}
.state-hero-inner{position:relative;z-index:1;}
.state-badge{background:rgba(255,255,255,.14) !important;border-color:rgba(255,255,255,.3) !important;}

/* 25. Logo: back to the original clean wordmark (white "Mortgage", light teal "Matters").
   The orange-to-teal text gradient turned brown in the middle. */
.nav-brand{background:none !important;-webkit-text-fill-color:#fff !important;color:#fff !important;}
.nav-brand span{-webkit-text-fill-color:var(--sky) !important;color:var(--sky) !important;}

/* 26. Top menu: show where you are (set by assets/nav-active.js) */
.nav-links a.is-active{color:#fff !important;font-weight:600;position:relative;}
.nav-links a.is-active::after{content:'';position:absolute;left:0;right:0;bottom:-6px;height:2px;border-radius:2px;background:var(--sky);}
@media(max-width:1180px){.nav-links a.is-active::after{bottom:0;}}
/* In-page links land below the sticky menu instead of under it */
[id]{scroll-margin-top:84px;}
@media(max-width:1180px){[id]{scroll-margin-top:70px;}} /* the phone / tablet header is one row (55px) since the dropdown menu */
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto !important;}}

/* 27. Market thermometer: the "Check your zip" card had no data source; it is now "Ask about your zip" (it sends the
   zip to Jesse as a question, tools/apply-site-fixes.py), so it is shown again. */

/* 28. FAQs added from the dashboard: "Updated <date>" under the answer */
.faq-a .faq-date{font-size:.74rem;color:var(--muted);margin:.35rem 0 0;}
.faq-a ul,.faq-a ol{margin:0 0 .6rem 1.25rem;font-size:.88rem;color:var(--muted);line-height:1.75;}

/* 29. Reverse mortgage: the three payout boxes stack on phones (side by side they were squeezed) */
@media(max-width:520px){
  div:has(> div > #rm-lump){grid-template-columns:1fr !important;}
  div:has(> div > #rm-lump) > div{display:grid;grid-template-columns:auto 1fr auto;align-items:center;column-gap:.6rem;text-align:left !important;padding:.7rem .9rem !important;}
  div:has(> div > #rm-lump) > div > div:first-child{grid-row:span 2;margin:0 !important;}
  div:has(> div > #rm-lump) > div > div:nth-child(2){margin:0 !important;}
  div:has(> div > #rm-lump) > div > div:nth-child(3){grid-row:span 2;grid-column:3;font-size:1.1rem !important;}
  div:has(> div > #rm-lump) > div > div:nth-child(4){grid-column:2;margin:0 !important;}
}

/* 30. Bridge vs selling: hints above side-by-side boxes take the same space, so the boxes line up */
@media(min-width:481px){.dscr-fg .cx-hint{min-height:2.9em;}}

/* 31. State pages: tables with 4+ columns become one card per row on phones (labels from tools/apply-site-fixes.py) */
@media(max-width:600px){
  .ft-table.ft-stack thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);}
  .ft-table.ft-stack,.ft-table.ft-stack tbody,.ft-table.ft-stack tr,.ft-table.ft-stack td{display:block;width:100%;}
  .ft-table.ft-stack tr{border:1px solid var(--border);border-radius:var(--rlg,12px);background:#fff;margin:0 0 .75rem;padding:.35rem 0;}
  .ft-table.ft-stack td{border:0 !important;padding:.3rem .9rem !important;}
  .ft-table.ft-stack td:first-child{font-size:.95rem;padding-top:.55rem !important;}
  .ft-table.ft-stack td:not(:first-child)::before{content:attr(data-label);display:block;font-size:.66rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:.1rem;}
}

/* 32. "Ask Jesse" button on phones: shorter, hides while you type or scroll down (it covered buttons and fields),
   comes back when you scroll up. Behaviour in assets/nav-active.js. */
@media(max-width:520px){
  #mm-ask-widget{font-size:0 !important;padding:11px 16px !important;transition:transform .25s ease,opacity .25s ease;}
  #mm-ask-widget::after{content:"Ask Jesse";font-size:.86rem;}
  #mm-ask-widget.mm-away,body:has(input:focus,select:focus,textarea:focus) #mm-ask-widget{transform:translateY(110px);opacity:0;pointer-events:none;}
}
@media(prefers-reduced-motion:reduce){#mm-ask-widget{transition:none !important;}}

/* 33. Contrast: state tags on the Articles page (orange on light orange) and the small label on the
   bridge-vs-selling result header (white at 85% on teal) were just below the readable minimum. */
.art-tag.state{color:#1858A8 !important;border-color:rgba(31,111,209,.45) !important;}
.cx-head .k{opacity:.95 !important;}

/* 34. Admin dashboard on phones: the top bar and two-column forms were wider than the screen, which also pushed
   the sign-in box partly off-screen. */
@media(max-width:700px){
  .topbar{flex-wrap:wrap;gap:.6rem;padding:.75rem 1rem;}
  .topbar-status{display:none;}
  .topbar-nav{flex-wrap:wrap;gap:.4rem;}
  .field-row,.field-row-3,#step-output > div[style*="grid-template-columns:1fr 1fr"]{grid-template-columns:1fr !important;}
  .main{padding:1.25rem 1rem !important;min-width:0;}
  .shell > *{min-width:0;}
  pre,.output-box{max-width:100%;overflow-x:auto;}
}

/* 35. "Share this tool" button on Condo Checker and Divorce Buyout (as on the old site) */
.mm-share-row{display:flex;justify-content:center;margin-top:1.1rem;}
.mm-share{display:inline-flex;align-items:center;gap:7px;background:transparent;border:1.5px solid rgba(255,255,255,.55);color:#fff;font:600 .82rem/1 Inter,system-ui,sans-serif;padding:9px 16px;border-radius:30px;cursor:pointer;}
.mm-share:hover{background:rgba(255,255,255,.1);border-color:#fff;}
.mm-share:focus-visible{outline:3px solid #fff;outline-offset:2px;}
.mm-share svg{width:15px;height:15px;flex-shrink:0;}

/* 36. "Last updated" date on pages that had none visible (AI-search brief); from the page's own dateModified */
.mm-updated{max-width:var(--max,1100px);margin:0 auto;padding:1rem 2rem 1.5rem;font-size:.78rem;color:var(--muted);}

/* 37. Readability (full-site contrast scan, Nov 12): step numbers 2 and 3 were invisible until reached, disabled
   buttons and the state badge were just under the minimum. */
.dscr-steplbl .dscr-step-num{opacity:1 !important;background:#DCE3EC !important;color:#44546A !important;}
.dscr-steplbl-active .dscr-step-num,.dscr-steplbl-done .dscr-step-num{background:var(--navy) !important;color:#fff !important;}
.cx-num{background:#DCE3EC;color:#44546A;}
.cx-steplbl.active .cx-num,.cx-steplbl.done .cx-num{background:var(--navy);color:#fff;}
#dscr-advance-btn:disabled,.cx-btn:disabled{color:#44546A !important;}
#nextBtn:disabled{opacity:1 !important;background:#DCE3EC !important;color:#44546A !important;} /* same grey as the other calculators' disabled buttons */
.state-badge{background:rgba(0,0,0,.14) !important;border-color:rgba(255,255,255,.35) !important;}

/* 38. Motion (assets/mm-motion.js): preloader on the first page of a visit, gentle reveal on scroll, hero entrance,
   card and button hover, menu underline, FAQ fade, page cross-fade. Subtle on purpose; all of it is off for people
   who prefer reduced motion, and nothing is hidden when JavaScript doesn't run. Delete this section and
   assets/mm-motion.js (and the head script added by apply-site-fixes.py) to remove it. */
html.mm-pre::before{content:'';position:fixed;inset:0;z-index:99998;pointer-events:none;
  background:var(--lum-g,linear-gradient(90deg,#F6A623,#EF5B4C,#C7378F,#6B4CC6,#2D8CE6,#22B8A8)) center calc(50% + 34px)/0 3px no-repeat,#0A2140;
  animation:mmPreBar .9s cubic-bezier(.4,0,.2,1) .1s forwards,mmPreOut .4s ease 2.2s forwards;}
html.mm-pre::after{content:'Mortgage Matters';position:fixed;left:50%;top:50%;z-index:99999;pointer-events:none;
  transform:translate(-50%,-50%);font:600 2.1rem/1 'Lora',Georgia,serif;letter-spacing:.005em;white-space:nowrap;
  background:linear-gradient(90deg,#fff 0 54%,#8EC5FF 54% 100%);-webkit-background-clip:text;background-clip:text;color:transparent;
  animation:mmPreIn .5s ease both,mmPreOut .4s ease 2.2s forwards;}
html.mm-pre-out::before,html.mm-pre-out::after{opacity:0 !important;transition:opacity .4s ease;}
@keyframes mmPreBar{to{background-size:150px 3px,auto;}}
@keyframes mmPreIn{from{opacity:0;transform:translate(-50%,calc(-50% + 8px));}to{opacity:1;transform:translate(-50%,-50%);}}
@keyframes mmPreOut{to{opacity:0;visibility:hidden;}}

/* hero entrance (movement only: the heading is never invisible, so it doesn't delay the page's main paint) */
@keyframes mmRise{from{transform:translateY(14px);}to{transform:none;}}
@keyframes mmFadeUp{from{opacity:0;transform:translateY(10px);}to{opacity:1;transform:none;}}
.mm-ready .hero h1,.mm-ready .state-hero h1,.mm-ready .art-hero h1{animation:mmRise .8s cubic-bezier(.2,.7,.2,1) both;}
.mm-ready .hero .hero-sub,.mm-ready .hero .hero-meta-item,.mm-ready .hero .mm-share-row,.mm-ready .state-hero-sub,.mm-ready .art-meta{animation:mmFadeUp .8s cubic-bezier(.2,.7,.2,1) .12s both;}
/* the decorative rings drift slowly */
@keyframes mmRing{from{transform:translate(0,0) scale(1);}to{transform:translate(22px,14px) scale(1.05);}}
.hero::before,.state-hero::before{animation:mmRing 16s ease-in-out infinite alternate;}

/* reveal on scroll */
.mm-reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease var(--mm-d,0s),transform .7s cubic-bezier(.2,.7,.2,1) var(--mm-d,0s);}
.mm-reveal.mm-in{opacity:1;transform:none;}
.mm-reveal .mm-reveal-child{opacity:0;transform:translateY(16px);transition:opacity .6s ease var(--mm-d,0s),transform .6s cubic-bezier(.2,.7,.2,1) var(--mm-d,0s);}
.mm-reveal.mm-in .mm-reveal-child{opacity:1;transform:none;}

/* hover: cards lift, buttons lift a little */
.art-card,.feat,.doc-feature,.si-list-card,.si-program-card,.thermo-mini-card,.card,#related a,.mm-faq-item{transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;}
.art-card:hover,.feat:hover,.doc-feature:hover,.si-list-card:hover,.si-program-card:hover,.thermo-mini-card:hover,.card:hover,#related a:hover{transform:translateY(-4px);box-shadow:0 12px 30px rgba(19,36,61,.09);}
.btn-p,.btn-primary,.btn-g,.nav-apply,.state-go,.mm-btn,.cx-btn.ready,.mm-share{transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease,color .2s ease,border-color .2s ease;}
.btn-p:hover,.btn-primary:hover,.btn-g:hover,.nav-apply:hover,.state-go:hover,.mm-btn:hover,.cx-btn.ready:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,.14);}
.btn-p:active,.btn-primary:active,.btn-g:active,.nav-apply:active,.mm-btn:active{transform:translateY(0);box-shadow:none;}
/* menu: the underline slides in on hover (and stays on the current page) */
.nav-links a{position:relative;}
.nav-links a::after{content:'';position:absolute;left:0;right:0;bottom:-6px;height:2px;border-radius:2px;background:var(--sky,#8EC5FF);transform:scaleX(0);transform-origin:left center;transition:transform .25s ease;}
.nav-links a:hover::after,.nav-links a.is-active::after{transform:scaleX(1);}
@media(max-width:1180px){.nav-links a::after{bottom:0;}}
/* FAQ answers fade in when opened */
.faq-item.open .faq-a{animation:mmFadeUp .3s ease;}
.faq-icon{transition:transform .25s ease;}
/* page-to-page cross-fade (browsers that support it) */
@view-transition{navigation:auto;}
::view-transition-old(root),::view-transition-new(root){animation-duration:.22s;}

@media(prefers-reduced-motion:reduce){
  html.mm-pre::before,html.mm-pre::after{display:none !important;}
  .mm-reveal,.mm-reveal .mm-reveal-child{opacity:1 !important;transform:none !important;transition:none !important;}
  .hero::before,.state-hero::before,.mm-ready .hero h1,.mm-ready .state-hero h1,.mm-ready .art-hero h1,.mm-ready .hero .hero-sub,.mm-ready .hero .hero-meta-item,.mm-ready .state-hero-sub,.mm-ready .art-meta,.faq-item.open .faq-a{animation:none !important;}
  .art-card:hover,.feat:hover,.doc-feature:hover,.si-list-card:hover,.si-program-card:hover,.thermo-mini-card:hover,.card:hover,#related a:hover,.btn-p:hover,.btn-primary:hover,.btn-g:hover,.nav-apply:hover,.state-go:hover,.mm-btn:hover{transform:none !important;}
}
@media print{html.mm-pre::before,html.mm-pre::after{display:none !important;}.mm-reveal,.mm-reveal .mm-reveal-child{opacity:1 !important;transform:none !important;}}

/* 39. Icons: one consistent line-icon set (Lucide, ISC licence; tools/icons.py) instead of emoji, which look
   different on every device. Feature icons sit on a soft teal tile. */
.mm-ico{width:1.15em;height:1.15em;display:inline-block;vertical-align:-.2em;flex-shrink:0;}
.fi:has(> .mm-ico),.feat-icon:has(> .mm-ico){width:46px;height:46px;border-radius:12px;background:rgba(15,45,82,.08);color:var(--navy,#0F2D52);
  display:flex;align-items:center;justify-content:center;margin-bottom:.8rem !important;font-size:1rem !important;}
.fi > .mm-ico,.feat-icon > .mm-ico{width:23px;height:23px;}
div:has(> #rm-lump) > div:first-child,div:has(> #rm-monthly) > div:first-child,div:has(> #rm-loc) > div:first-child{color:var(--navy,#0F2D52);}
div:has(> #rm-lump) .mm-ico,div:has(> #rm-monthly) .mm-ico,div:has(> #rm-loc) .mm-ico{width:24px;height:24px;}
.dscr-addr-lbl .mm-ico{margin-right:.2rem;}
.bmr-file .mm-ico{color:var(--navy,#0F2D52);margin-right:.15rem;}
/* hover: the tile warms up a little */
.feat:hover .fi:has(> .mm-ico),.doc-feature:hover .feat-icon:has(> .mm-ico),.card:hover .fi:has(> .mm-ico){background:rgba(15,45,82,.14);}

/* 40. Admin: same logo as the site (white "Mortgage", light-teal "Matters", orange dot); signed-out visitors see a
   clean branded sign-in screen and nothing of the dashboard (assets: admin/admin-lock.js). */
.topbar-brand .mm-brand-m,.brand .mm-brand-m{color:#8EC5FF !important;-webkit-text-fill-color:#8EC5FF !important;background:none !important;}
.topbar-dot,.topbar .brand .dot{background:var(--red,#1F6FD1) !important;width:7px !important;height:7px !important;}
.mm-brand-admin{font-family:Inter,system-ui,sans-serif;font-size:.7rem;font-weight:500;color:rgba(255,255,255,.55);margin-left:.4rem;letter-spacing:.04em;}
/* the questions inbox has a white top bar: dark "Mortgage", brand-teal "Matters" */
.topbar .brand{color:#13243D;}
.topbar .brand .mm-brand-m{color:#1F6FD1 !important;-webkit-text-fill-color:#1F6FD1 !important;}
.topbar .brand .mm-brand-admin{color:#56657A;}
html.mm-locked,html.mm-locked body{background:#0A2140 !important;}
html.mm-locked body > *:not(.mm-login){visibility:hidden !important;}
.mm-login{background:#0A2140 !important;}
.mm-login form{border-radius:18px !important;box-shadow:0 30px 80px rgba(0,0,0,.45) !important;}
.mm-login form::before{content:'Mortgage Matters';display:table;margin:0 0 1.1rem;font:600 1.35rem/1 'Lora',Georgia,serif;
  background:linear-gradient(90deg,#13243D 0 53%,#1F6FD1 53% 100%);-webkit-background-clip:text;background-clip:text;color:transparent;}
.mm-login button{background:#1F6FD1 !important;}
.mm-login button:hover{background:#1858A8 !important;}

/* 41. "Back to top" button (assets/mm-motion.js): shows after scrolling, above the Ask Jesse button */
.mm-top{position:fixed;right:22px;bottom:84px;z-index:899;width:44px;height:44px;border-radius:50%;border:0;padding:0;cursor:pointer;
  background:#0A2140;color:#fff;box-shadow:0 6px 18px rgba(0,0,0,.22);display:flex;align-items:center;justify-content:center;
  opacity:0;transform:translateY(12px);pointer-events:none;transition:opacity .25s ease,transform .25s ease,background-color .2s ease;}
.mm-top.mm-top-on{opacity:1;transform:none;pointer-events:auto;}
.mm-top:hover{background:#1F6FD1;}
.mm-top:focus-visible{outline:3px solid #1F6FD1;outline-offset:3px;}
.mm-top{width:48px;height:48px;}
.mm-top .mm-top-arrow{width:20px;height:20px;position:relative;}
/* progress ring: light-teal line that fills clockwise from the top as you scroll */
.mm-top .mm-top-ring{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg);}
.mm-top-ring circle{fill:none;stroke-width:2.5;}
.mm-top-track{stroke:rgba(255,255,255,.16);}
.mm-top-bar{stroke:#8EC5FF;stroke-linecap:round;transition:stroke-dashoffset .12s linear;}
.mm-top:hover .mm-top-bar{stroke:#fff;}
.mm-top.mm-top-solo{bottom:22px;}
@media(max-width:520px){
  .mm-top{right:14px;bottom:72px;width:46px;height:46px;}
  .mm-top.mm-top-solo,#mm-ask-widget.mm-away ~ .mm-top{bottom:14px;}
  body:has(input:focus,select:focus,textarea:focus) .mm-top{opacity:0;pointer-events:none;}
}
@media(prefers-reduced-motion:reduce){.mm-top{transition:none;}}
@media print{.mm-top{display:none !important;}}

/* 42. Admin polish: line icons instead of emoji, consistent sizes and colours */
.topbar-btn,.action-btn,.cat-tag,.tag,.mm-btn{display:inline-flex;align-items:center;gap:.45rem;}
.topbar-btn .mm-ico{width:15px;height:15px;}
.topbar-btn{transition:background-color .15s ease,border-color .15s ease,color .15s ease;}
.sidebar-item .si-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;color:#A39E96;transition:color .15s ease;}
.sidebar-item .si-icon .mm-ico{width:17px;height:17px;}
.sidebar-item:hover .si-icon,.sidebar-item.active .si-icon{color:var(--navy);}
.sidebar-section > div .mm-ico{width:13px;height:13px;color:#1F6FD1;margin-right:.15rem;vertical-align:-2px;}
.action-btn .mm-ico,.cat-tag .mm-ico,.tag .mm-ico{width:14px;height:14px;}
.cat-tag.selected .mm-ico,.tag.selected .mm-ico{color:#fff;}
.mm-ico.mm-ok{color:#137A58;}
.mm-ico.mm-todo{color:#C9C4BC;}
[id^="chk-"]{display:flex;align-items:center;gap:.45rem;}
[id^="chk-"] .mm-ico{width:16px;height:16px;}
.mm-msg .mm-ico{width:16px;height:16px;vertical-align:-3px;}
.mm-msg a .mm-ico{width:13px;height:13px;vertical-align:-1px;}
/* selected tags and the inbox's teal: the darker brand teal, so white text on it is readable (and matches the site) */
.cat-tag.selected,.tag.selected{background:var(--navy) !important;border-color:var(--navy) !important;color:#fff !important;}
body:has(.topbar .brand) {--teal:#0F2D52;}

/* 43. Admin interaction (admin/admin-ui.js): toasts, confirm dialogs, smooth panel changes, hover / press / focus
   feedback, loading spinners on busy buttons. */
/* toasts */
.mm-toasts{position:fixed;right:20px;bottom:20px;z-index:10000;display:flex;flex-direction:column;gap:10px;align-items:flex-end;pointer-events:none;}
.mm-toast{pointer-events:auto;display:flex;align-items:center;gap:10px;min-width:260px;max-width:420px;padding:12px 12px 12px 14px;border-radius:12px;
  background:#0A2140;color:#fff;font:500 .86rem/1.4 Inter,system-ui,sans-serif;box-shadow:0 12px 32px rgba(0,0,0,.25);
  opacity:0;transform:translateY(10px) scale(.98);transition:opacity .22s ease,transform .22s ease;}
.mm-toast.mm-in{opacity:1;transform:none;}
.mm-toast .mm-ico{width:19px;height:19px;flex-shrink:0;}
.mm-toast-ok .mm-ico{color:#8EC5FF;} .mm-toast-bad .mm-ico{color:#FCA5A5;} .mm-toast-info .mm-ico{color:#93C5FD;}
.mm-toast-text{flex:1;}
.mm-toast-x{background:none;border:0;color:rgba(255,255,255,.6);cursor:pointer;padding:4px;border-radius:6px;display:flex;}
.mm-toast-x:hover{color:#fff;background:rgba(255,255,255,.1);}
.mm-toast-x .mm-ico{width:15px;height:15px;color:inherit !important;}
/* confirm dialog */
.mm-modal-back{position:fixed;inset:0;z-index:10001;background:rgba(20,22,24,.55);display:flex;align-items:center;justify-content:center;padding:20px;
  opacity:0;transition:opacity .18s ease;backdrop-filter:blur(2px);}
.mm-modal-back.mm-in{opacity:1;}
.mm-dialog{background:#fff;border-radius:16px;padding:24px 24px 20px;width:min(440px,100%);box-shadow:0 30px 80px rgba(0,0,0,.3);
  transform:translateY(8px) scale(.97);transition:transform .18s ease;font-family:Inter,system-ui,sans-serif;}
.mm-modal-back.mm-in .mm-dialog{transform:none;}
.mm-dialog-title{font:600 1.35rem/1.25 'Lora',Georgia,serif;color:#13243D;margin:0 0 .5rem;}
.mm-dialog-text{font-size:.9rem;line-height:1.6;color:#56657A;margin:0 0 1.2rem;word-break:break-word;}
.mm-dialog-row{display:flex;justify-content:flex-end;gap:.6rem;}
.mm-dbtn{padding:10px 18px;border-radius:30px;border:1px solid #E2DFDA;background:#fff;color:#333;font:600 .86rem Inter,system-ui,sans-serif;cursor:pointer;
  transition:background-color .15s ease,transform .1s ease,box-shadow .15s ease;}
.mm-dbtn:hover{background:#F4F2EF;}
.mm-dbtn:active{transform:scale(.97);}
.mm-dbtn-primary{background:#1F6FD1;border-color:#1F6FD1;color:#fff;}
.mm-dbtn-primary:hover{background:#1858A8;}
.mm-dbtn-danger{background:#B3261E;border-color:#B3261E;color:#fff;}
.mm-dbtn-danger:hover{background:#9A1D14;}
.mm-dbtn:focus-visible{outline:3px solid rgba(31,111,209,.35);outline-offset:2px;}

/* smooth section and step changes (runs each time a panel is shown) */
@keyframes mmAdmIn{from{opacity:0;transform:translateY(8px);}to{opacity:1;transform:none;}}
.panel.active,#step-brief,#step-claude,#step-output,.detail-col > *{animation:mmAdmIn .28s ease both;}

/* hover / press feedback */
.topbar-btn,.action-btn,.mm-btn,.tag,.cat-tag,.claude-send,.btn,.tab,.item,.sidebar-item,.art-list-item,.mm-faq-item,.card-box{
  transition:background-color .15s ease,border-color .15s ease,color .15s ease,box-shadow .2s ease,transform .15s ease;}
.topbar-btn:hover{transform:translateY(-1px);}
.btn-outline:hover{border-color:rgba(255,255,255,.5);color:#fff;background:rgba(255,255,255,.06);}
.btn-navy:hover{filter:brightness(1.08);box-shadow:0 6px 16px rgba(15,45,82,.35);}
.topbar-btn:active,.action-btn:active,.mm-btn:active,.tag:active,.cat-tag:active,.claude-send:active,.btn:active,.tab:active{transform:scale(.96);}
.tag:hover,.cat-tag:hover{border-color:var(--navy);color:var(--navy);}
.tag.selected:hover,.cat-tag.selected:hover{color:#fff;}
.sidebar-item{position:relative;}
.sidebar-item::before{content:'';position:absolute;left:-16px;top:8px;bottom:8px;width:3px;border-radius:0 3px 3px 0;background:var(--navy);transform:scaleY(0);transition:transform .2s ease;}
.sidebar-item.active::before{transform:scaleY(1);}
.sidebar-item:hover{transform:translateX(2px);}
.art-list-item:hover,.mm-faq-item:hover{box-shadow:0 8px 24px rgba(19,36,61,.07);transform:translateY(-2px);}
.item:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(19,36,61,.06);}
.tab:hover{border-color:var(--teal);color:var(--teal);}
.tab.on:hover{color:#fff;}
.btn:hover{filter:brightness(.97);}
.progress-step.active span:first-child,.progress-step.active > :first-child{box-shadow:0 0 0 4px rgba(15,45,82,.14);}

/* fields: a soft teal glow when focused */
.field input,.field select,.field textarea,.claude-input,#mm-faq-q,#mm-faq-a,.mm-faq select,.detail-col textarea,.detail-col input{transition:border-color .15s ease,box-shadow .15s ease;}
.field input:focus,.field select:focus,.field textarea:focus,.claude-input:focus,#mm-faq-q:focus,#mm-faq-a:focus,.detail-col textarea:focus,.detail-col input:focus{
  border-color:var(--navy) !important;box-shadow:0 0 0 3px rgba(31,111,209,.16) !important;outline:none;}

/* busy buttons show a spinner */
@keyframes mmSpin{to{transform:rotate(360deg);}}
button[aria-busy="true"]{position:relative;cursor:wait !important;opacity:.85;}
button[aria-busy="true"]::before{content:'';display:inline-block;width:13px;height:13px;margin-right:8px;vertical-align:-2px;border-radius:50%;
  border:2px solid currentColor;border-right-color:transparent;animation:mmSpin .7s linear infinite;}

@media(prefers-reduced-motion:reduce){
  .panel.active,#step-brief,#step-claude,#step-output,.detail-col > *{animation:none !important;}
  .mm-toast,.mm-modal-back,.mm-dialog{transition:none !important;}
  .topbar-btn:hover,.sidebar-item:hover,.art-list-item:hover,.mm-faq-item:hover,.item:hover{transform:none !important;}
}
/* elements marked hidden stay hidden, whatever display style a class gives them (e.g. "Cancel edit") */
[hidden]{display:none !important;}

/* 44. Admin sidebar stays in place while the main area scrolls (desktop); on phones and small tablets it was hidden
   (State FAQs etc. could not be reached), now it is a sideways-scrolling row under the top bar. */
@media(min-width:769px){
  .shell > .sidebar{position:sticky;top:var(--mm-topbar-h,56px);height:calc(100vh - var(--mm-topbar-h,56px));align-self:start;
    overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;}
}
@media(max-width:768px){
  .shell > .sidebar{display:block !important;padding:.55rem .75rem !important;border-right:0 !important;border-bottom:1px solid var(--border);overflow:visible;}
  .shell > .sidebar .sidebar-section:not(:first-child),.shell > .sidebar .sidebar-label{display:none !important;}
  .shell > .sidebar .sidebar-section:first-child{display:flex;gap:.35rem;overflow-x:auto;margin:0 !important;scrollbar-width:none;}
  .shell > .sidebar .sidebar-section:first-child::-webkit-scrollbar{display:none;}
  .shell > .sidebar .sidebar-item{width:auto;flex:0 0 auto;white-space:nowrap;padding:.45rem .7rem;}
  .shell > .sidebar .sidebar-item::before{display:none;}
  .shell > .sidebar .sidebar-item:hover{transform:none;}
}

/* 45. DSCR calculators (homepage and /dscr/ share one dscrCalc, tools/apply-site-fixes.py): the line that says which
   blank boxes were estimated */
.dscr-est-note{font-size:.74rem;line-height:1.55;color:var(--muted);background:var(--champ-lt,#F7F9FC);border:1px dashed var(--border,#DCE3EC);border-radius:var(--r,10px);padding:.6rem .85rem;margin:-.4rem 0 1rem;}

/* 46. "Ask Jesse" in a box (assets/ask-modal.js), and the Ask page shown inside it (?embed=1) */
.mm-ask-dlg{margin:auto;padding:0;border:0;border-radius:16px;width:min(640px,calc(100vw - 24px));height:min(860px,calc(100dvh - 24px));max-width:none;max-height:none;overflow:hidden;background:#F7F9FC;box-shadow:0 24px 70px rgba(0,0,0,.35);}
.mm-ask-dlg[open]{display:flex;flex-direction:column;}
.mm-ask-dlg::backdrop{background:rgba(17,17,17,.55);}
.mm-ask-dlg-bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.65rem .75rem .65rem 1.1rem;background:#0A2140;color:#fff;font:600 1rem/1.2 Inter,system-ui,sans-serif;}
.mm-ask-dlg-bar strong{color:#fff !important;font-weight:600;font-size:1rem;}
.mm-ask-dlg-x{flex:none;width:40px;height:40px;border:0;border-radius:50%;background:transparent;color:#fff;font-size:1.7rem;line-height:1;cursor:pointer;}
.mm-ask-dlg-x:hover{background:rgba(255,255,255,.12);}
.mm-ask-dlg-x:focus-visible{outline:3px solid #8EC5FF;outline-offset:2px;}
.mm-ask-dlg-frame{flex:1;width:100%;border:0;background:#F7F9FC;}
html.mm-ask-open{overflow:hidden;}
@media(max-width:600px){.mm-ask-dlg{width:100vw;height:100dvh;border-radius:0;}}
html.mm-embed nav,html.mm-embed .breadcrumb,html.mm-embed .hero,html.mm-embed footer,html.mm-embed .mm-top,html.mm-embed .mm-updated,html.mm-embed #mm-ask-widget{display:none !important;}
html.mm-embed #ask{padding-top:1.25rem;}
/* the homepage calculator's "blank maintenance / closing costs" warning: same amber box as Jesse's /dscr/ package */
.dscr-blank-note{font-size:.78rem;color:#7A4F0F;background:#FEF3E2;border:1px solid #B7791F;border-radius:var(--r,10px);padding:.65rem .85rem;margin:0 0 1rem;line-height:1.55;}

/* 47. Top menu with dropdowns (assets/mm-nav.js, menu markup MENU_UL in tools/apply-site-fixes.py) */
.mm-menu{display:flex;align-items:center;gap:1.15rem;list-style:none;margin:0;padding:0;}
.mm-dd{position:relative;}
.mm-dd-btn{display:inline-flex;align-items:center;gap:6px;background:none;border:0;padding:.4rem 0;margin:0;cursor:pointer;color:rgba(255,255,255,.72);font:500 .68rem/1 Inter,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;}
.mm-dd-btn::after{content:'';width:5px;height:5px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .2s ease;}
.mm-dd-btn[aria-expanded="true"]::after{transform:translateY(1px) rotate(-135deg);}
.mm-dd-btn:hover,.mm-dd-btn:focus-visible,.mm-dd-btn[aria-expanded="true"],.mm-dd-btn.is-current,.mm-dd:has(a.is-active)>.mm-dd-btn{color:#fff;}
.mm-dd-btn:focus-visible{outline:2px solid var(--sky,#8EC5FF);outline-offset:4px;border-radius:2px;}
.mm-dd-list{display:none;position:absolute;top:calc(100% + 16px);left:-16px;min-width:290px;list-style:none;margin:0;padding:.45rem;background:#fff;border-radius:14px;box-shadow:0 18px 45px rgba(0,0,0,.22);z-index:400;}
.mm-dd-list::before{content:'';position:absolute;left:0;right:0;top:-16px;height:16px;}
.mm-dd-btn[aria-expanded="true"]+.mm-dd-list{display:block;}
@media(hover:hover) and (min-width:1181px){.mm-dd:hover>.mm-dd-list{display:block;}}
.nav-links .mm-dd-list a{display:block;padding:.6rem .8rem;border-radius:9px;color:#13243D !important;font-size:.86rem;font-weight:600;letter-spacing:0;text-transform:none;white-space:normal;line-height:1.3;}
.nav-links .mm-dd-list a span{display:block;margin-top:2px;font-size:.74rem;font-weight:400;color:#56657A;}
.nav-links .mm-dd-list a:hover,.nav-links .mm-dd-list a:focus-visible{background:#EEF3F9;outline:none;}
.nav-links .mm-dd-list a.is-active{background:#E8F0FA;}
.nav-links .mm-dd-list a::after,.nav-links .mm-dd-list a.is-active::after{display:none !important;}
.nav-links>li>a span{display:none;}
.mm-menu-btn{display:none;}
@media(max-width:1180px){
  nav{flex-wrap:nowrap !important;}
  .nav-links.mm-menu{display:none !important;}
  .mm-menu-btn{display:inline-flex;align-items:center;gap:8px;margin-left:auto;background:none;border:1px solid rgba(255,255,255,.28);border-radius:999px;padding:7px 14px;color:#fff;font:600 .72rem/1 Inter,system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;cursor:pointer;}
  .mm-menu-btn:focus-visible{outline:2px solid var(--sky,#8EC5FF);outline-offset:2px;}
  .mm-menu-ico,.mm-menu-ico::before,.mm-menu-ico::after{display:block;width:14px;height:1.5px;background:currentColor;border-radius:2px;transition:transform .2s ease,opacity .2s ease;}
  .mm-menu-ico{position:relative;}
  .mm-menu-ico::before,.mm-menu-ico::after{content:'';position:absolute;left:0;}
  .mm-menu-ico::before{top:-4.5px;} .mm-menu-ico::after{top:4.5px;}
  nav.mm-open .mm-menu-ico{background:transparent;}
  nav.mm-open .mm-menu-ico::before{transform:translateY(4.5px) rotate(45deg);}
  nav.mm-open .mm-menu-ico::after{transform:translateY(-4.5px) rotate(-45deg);}
  nav.mm-open .nav-links.mm-menu{display:block !important;position:absolute;top:100%;left:0;right:0;width:auto;max-height:calc(100dvh - 64px);overflow-y:auto;margin:0;padding:.35rem 1.25rem 1.1rem;background:#0A2140;border-bottom:2px solid var(--navy,#0F2D52);box-shadow:0 18px 30px rgba(0,0,0,.3);}
  .mm-menu>li{border-bottom:1px solid rgba(255,255,255,.09);}
  .mm-menu>li:last-child{border-bottom:0;}
  .nav-links.mm-menu>li>a,.mm-dd-btn{display:flex;width:100%;justify-content:space-between;align-items:center;padding:.95rem 0 !important;color:#fff !important;font-size:.78rem;}
  .nav-links.mm-menu>li>a::after{display:none !important;}
  .mm-dd-list{position:static;min-width:0;padding:0 0 .6rem;background:transparent;box-shadow:none;border-radius:0;}
  .nav-links .mm-dd-list a{color:#fff !important;padding:.55rem .75rem;}
  .nav-links .mm-dd-list a span{color:rgba(255,255,255,.62);}
  .nav-links .mm-dd-list a:hover,.nav-links .mm-dd-list a:focus-visible,.nav-links .mm-dd-list a.is-active{background:rgba(255,255,255,.08);}
}
@media(hover:hover) and (min-width:1181px){.mm-dd.mm-hover-off:hover>.mm-dd-btn[aria-expanded="false"]+.mm-dd-list{display:none;}}
@media(max-width:480px){
  nav{gap:.6rem !important;padding-left:1rem !important;padding-right:1rem !important;}
  .mm-menu-btn{padding:9px 10px;font-size:0;letter-spacing:0;gap:0;}  /* icon only on small phones (the button keeps its "Menu" label for screen readers) */
  .mm-menu-btn .mm-menu-ico{margin:0;}
}
@media(prefers-reduced-motion:reduce){.mm-dd-btn::after,.mm-menu-ico,.mm-menu-ico::before,.mm-menu-ico::after{transition:none;}}

/* 48. Homepage: a short FAQ under every section, and the new Condo / Divorce / LGBTQ+ sections (tools/site_extras.py) */
.mm-home-faq{margin-top:1.75rem;padding-top:1.1rem;border-top:1px dashed var(--border,#DCE3EC);}
.mm-home-faq-h{font-size:.68rem !important;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--muted,#56657A);margin:0 0 .35rem !important;font-family:Inter,system-ui,sans-serif !important;}
.mm-home-faq .faq-a p{margin:0;}
.mm-home-faq-more{display:inline-block;margin-top:.85rem;font-size:.84rem;font-weight:600;color:var(--navy,#0F2D52);text-decoration:none;}
.mm-home-faq-more:hover{text-decoration:underline;}
.mm-home-cta{margin-top:1.1rem;}
@media(max-width:360px){nav{gap:.45rem !important;padding-left:.75rem !important;padding-right:.75rem !important;}.nav-brand{font-size:.98rem !important;}.nav-apply{padding:7px 10px !important;font-size:.6rem !important;}}

/* 49. Luminate colour update (Nov 14): two readability fixes on Jesse's recoloured pages.
   - Article category tag: his blue #1F6FD1 on the dark navy article header was 2.7:1; his light blue reads at about 8:1.
   - 2-1 buydown page: the "Run your offer or listing strategy by me" box is dark navy and its heading inherited the same
     navy (invisible). */
.art-hero .art-tag[style]{background:rgba(142,197,255,.12) !important;color:var(--sky,#8EC5FF) !important;border-color:rgba(142,197,255,.35) !important;}
.cta h2{color:#fff;}

/* 50. Homepage sections showing the Condo / Divorce / LGBTQ+ pages: their styles are inline in the homepage
   (<style id="mm-embed-css">, tools/site_extras.py), so a cached older copy of this file cannot break them. */

/* 51. Example figures in calculator boxes (Jesse, Nov 18: "make it more clear that the default figures in the fields are
   examples"): the grey text starts with "e.g." and is lighter and in italics, so it does not look like a typed figure. */
input[type="number"]::placeholder{color:#647387;font-style:italic;opacity:1;} /* 4.8:1 on white, 4.6:1 on the light grey boxes */
/* the reverse mortgage age and rate boxes were too narrow for their hints ("e.g. 70", "6.5 if blank") */
.dscr-input.dscr-sm#rm-age,.dscr-input.dscr-sm#rm-rate{width:132px;}

/* 52. Homepage reverse mortgage section: the disclosures from /reverse-mortgage/ (tools/site_extras.py). */
.mm-home-disc{margin-top:1.75rem;}
.mm-home-disc .mm-home-disc-h{font-family:'Lora',serif;font-size:1.35rem;font-weight:600;color:var(--ink);margin:0 0 .85rem;line-height:1.25;}

/* 53. About page: Jesse's quotes (his "Jesse's approach" section, Nov 18). */
.mm-bio-quote{margin:1.25rem 0;padding:1rem 1.25rem;border-left:3px solid var(--navy);background:var(--champ-lt);border-radius:0 var(--rlg,20px) var(--rlg,20px) 0;}
.mm-bio-quote p{font-family:'Lora',serif;font-style:italic;font-size:1.15rem;color:var(--ink);line-height:1.5;margin:0;}
.mm-bio-quote footer{margin-top:.5rem;font-size:.84rem;font-weight:600;color:var(--muted);}
.mm-bio-list p{font-size:1rem;line-height:1.5;margin:0 0 .55rem;} /* one line each, a gap between them when they wrap */
.mm-bio-list p:last-of-type{margin-bottom:0;}

/* 54. "Contact Jesse" button next to "Share this page" (physician loans page and its homepage section, Nov 19). Its look is
   inline on the button (cache-safe); this is only the hover and keyboard focus. */
.mm-contact:hover{background:#EEF3F9 !important;border-color:#EEF3F9 !important;}
.mm-contact:focus-visible{outline:3px solid #fff;outline-offset:2px;}
