
:root{
  --navy:#17263c;--green:#00b84f;--green-dark:#008e3d;--ink:#1d2a3a;--muted:#667386;
  --line:#dde3e8;--soft:#f6f8fa;--white:#fff;--amber:#9a6500;--red:#a62d2d;
  --max:1240px;--radius:8px;--shadow:0 8px 28px rgba(23,38,60,.07)
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font:16px/1.55 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
a{color:inherit}img,svg{max-width:100%}button,input,select{font:inherit}.sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.97);border-bottom:1px solid var(--line);backdrop-filter:blur(10px)}
.nav{height:68px;max-width:var(--max);margin:auto;padding:0 22px;display:flex;align-items:center;gap:28px}.logo{display:block;width:154px;height:auto}.navlinks{display:flex;align-items:center;gap:22px;margin-left:auto}.navlinks a{text-decoration:none;font-size:14px;font-weight:650;color:#37465a}.navlinks a:hover{color:var(--navy)}.profile-btn{border:1px solid var(--line);background:#fff;color:var(--navy);font-weight:750;padding:9px 12px;border-radius:6px;cursor:pointer}.mobile-menu{display:none;border:0;background:none;font-size:24px}
.hero{border-bottom:1px solid var(--line);background:#fff}.hero-grid{max-width:var(--max);margin:auto;padding:60px 22px 42px;display:grid;grid-template-columns:220px minmax(0,1fr) 220px;gap:26px;align-items:start}
.hero-center{text-align:center;padding:2px 8px}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.13em;font-weight:800;color:var(--green-dark)}h1{font-size:clamp(38px,5vw,62px);line-height:1.02;letter-spacing:-.045em;margin:11px 0 16px;color:var(--navy)}h2{font-size:clamp(27px,3.2vw,38px);line-height:1.12;letter-spacing:-.025em;margin:0 0 12px;color:var(--navy)}h3{margin:0 0 8px;color:var(--navy)}.lead{font-size:18px;color:var(--muted);max-width:680px;margin:0 auto 25px}.side-card{border:1px solid var(--line);border-radius:var(--radius);padding:17px;background:#fff;text-align:left}.side-card h3{font-size:15px}.mini-list{display:grid;gap:0}.mini-link{font-size:13px;padding:9px 0;border-bottom:1px solid #eef1f3;text-decoration:none;color:#334155}.mini-link:last-child{border:0}.mini-link:hover{color:var(--green-dark)}
.search-wrap{position:relative;max-width:720px;margin:auto}.searchbox{display:flex;border:1px solid #bac4ce;background:#fff;border-radius:7px;box-shadow:var(--shadow);overflow:hidden}.searchbox input{border:0;outline:0;padding:16px 17px;flex:1;min-width:0;font-size:16px}.searchbox button{border:0;background:var(--green);color:#fff;font-weight:800;padding:0 23px;cursor:pointer}.searchbox button:hover{background:var(--green-dark)}.suggestions{position:absolute;z-index:30;left:0;right:0;top:calc(100% + 7px);background:#fff;border:1px solid var(--line);border-radius:6px;box-shadow:0 18px 40px rgba(23,38,60,.14);max-height:400px;overflow:auto;text-align:left}.suggestions[hidden]{display:none}.sugg{padding:11px 13px;border-bottom:1px solid #eef1f3;cursor:pointer}.sugg:hover,.sugg.active{background:#f5f8f6}.sugg strong{display:block;font-size:14px}.sugg span{font-size:12px;color:var(--muted)}.trust{display:flex;justify-content:center;gap:26px;flex-wrap:wrap;margin-top:17px;font-size:13px;color:#4e5c6d}.trust span{display:flex;gap:7px;align-items:center}.trust svg{width:16px;color:var(--green)}
.section{max-width:var(--max);margin:auto;padding:48px 22px}.section.soft{max-width:none;background:var(--soft);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.section.soft>.inner{max-width:var(--max);margin:auto}.section-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;margin-bottom:21px}.section-head p{max-width:620px;color:var(--muted);margin:0}.cluster-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.cluster-card,.tool-card{border:1px solid var(--line);border-radius:var(--radius);background:#fff;text-decoration:none;padding:20px;transition:.18s ease}.cluster-card:hover,.tool-card:hover{border-color:#aebbc5;transform:translateY(-1px);box-shadow:0 8px 22px rgba(23,38,60,.05)}.cluster-icon{width:40px;height:40px;border:1px solid #dce4e2;background:#f7fbf8;color:var(--green-dark);border-radius:7px;display:grid;place-items:center;margin-bottom:20px}.cluster-icon svg{width:23px;height:23px}.cluster-card p,.tool-card p{font-size:14px;color:var(--muted);margin:0}.card-link{display:block;margin-top:17px;font-size:13px;color:var(--green-dark);font-weight:800}.tool-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.tool-meta{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin-bottom:8px}.tool-mode{display:inline-block;background:#f1f5f3;border:1px solid #dce6e0;border-radius:99px;padding:3px 7px;font-size:10px;color:#486153;margin-left:5px}
.question-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:7px 22px}.question-link{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #e7ebee;padding:10px 0;text-decoration:none;font-size:14px}.question-link:hover{color:var(--green-dark)}
.benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.benefit{display:grid;grid-template-columns:34px 1fr;gap:10px}.benefit svg{width:25px;color:var(--green)}.benefit strong{display:block;color:var(--navy)}.benefit span{font-size:13px;color:var(--muted)}
.breadcrumbs{font-size:13px;color:var(--muted);margin-bottom:16px}.breadcrumbs a{color:inherit}.page-hero{background:#fff;border-bottom:1px solid var(--line)}.page-hero-inner{max-width:var(--max);margin:auto;padding:42px 22px}.page-hero h1{font-size:clamp(34px,4vw,50px);max-width:850px}.page-hero .lead{margin:0;text-align:left;max-width:800px}.jumps{display:flex;gap:7px;flex-wrap:wrap;margin-top:20px}.jumps a{border:1px solid var(--line);padding:6px 9px;border-radius:5px;text-decoration:none;font-size:13px;background:#fff}
.tool-layout{max-width:1080px;margin:auto;padding:34px 22px 64px;display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:22px}.wizard{border:1px solid var(--line);border-radius:var(--radius);background:#fff;padding:26px}.progress{height:4px;background:#e9edef;margin:17px 0 26px;border-radius:4px;overflow:hidden}.progress span{display:block;height:100%;background:var(--green)}.choices{display:grid;grid-template-columns:1fr 1fr;gap:8px}.choice{border:1px solid var(--line);background:#fff;padding:12px;text-align:left;border-radius:6px;cursor:pointer;color:#263649}.choice:hover{border-color:#abb6bf}.choice.selected{border-color:var(--green);box-shadow:inset 0 0 0 1px var(--green);background:#f6fbf8}.num-input{width:100%;padding:13px;border:1px solid var(--line);border-radius:6px}.actions{display:flex;justify-content:space-between;gap:10px;margin-top:23px}.btn{border:1px solid var(--line);background:#fff;color:var(--navy);padding:10px 14px;border-radius:6px;font-weight:800;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.btn.primary{background:var(--green);border-color:var(--green);color:#fff}.btn.primary:hover{background:var(--green-dark)}.side-sticky{position:sticky;top:88px}.profile-facts{font-size:13px;color:var(--muted);display:grid;gap:6px}.result{border-top:4px solid var(--green);background:#f7faf8;padding:19px;margin-top:18px}.result.warn{border-color:#d09418;background:#fffaf0}.result.danger{border-color:#b94141;background:#fff7f7}.result .label{font-size:11px;text-transform:uppercase;letter-spacing:.1em;font-weight:900;color:var(--muted)}.result h3{margin-top:5px}.result-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.metric{border:1px solid var(--line);background:#fff;padding:12px}.metric strong{display:block;font-size:20px;color:var(--navy)}.safety{border-left:3px solid #d09418;background:#fff9ef;padding:11px 13px;margin-top:16px;color:#664b16;font-size:14px}
.outline{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:28px}.prose{max-width:800px}.prose h2{font-size:28px;margin-top:38px}.prose h3{font-size:20px;margin-top:26px}.prose p,.prose li{color:#435166}.faq details{border-top:1px solid var(--line);padding:0}.faq summary{list-style:none;cursor:pointer;padding:14px 0;font-weight:750;color:var(--navy)}.faq summary::-webkit-details-marker{display:none}.faq summary:after{content:"+";float:right;color:var(--green)}.faq details[open] summary:after{content:"–"}.faq details p{padding:0 0 14px;margin:0}.toc{position:sticky;top:90px;border-left:2px solid #e5eaed;padding-left:15px}.toc strong{display:block;margin-bottom:8px}.toc a{display:block;text-decoration:none;color:var(--muted);font-size:13px;padding:4px 0}.toc a:hover{color:var(--green-dark)}
.dialog-backdrop{position:fixed;inset:0;background:rgba(15,25,38,.45);z-index:100;display:grid;place-items:center;padding:16px}.dialog-backdrop[hidden]{display:none}.dialog{background:#fff;border-radius:8px;border:1px solid var(--line);width:min(620px,100%);max-height:90vh;overflow:auto;padding:24px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field label{font-size:12px;font-weight:800;display:block;margin-bottom:4px}.field input,.field select{width:100%;padding:10px;border:1px solid var(--line);border-radius:5px}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}
.footer{border-top:1px solid var(--line);background:#fff}.footer-inner{max-width:var(--max);margin:auto;padding:28px 22px;display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:13px}
.mobile-bottom{display:none}
@media(max-width:1000px){.hero-grid{grid-template-columns:1fr}.hero-grid>.side-card{display:none}.cluster-grid{grid-template-columns:repeat(2,1fr)}.tool-grid{grid-template-columns:repeat(2,1fr)}.benefits{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){body{padding-bottom:64px}.nav{height:60px;padding:0 16px}.logo{width:126px}.navlinks a{display:none}.navlinks{gap:8px}.profile-btn{display:none}.mobile-menu{display:block}.hero-grid{padding:39px 16px 28px}.hero-center{padding:0}.hero h1{font-size:39px}.lead{font-size:16px}.searchbox input{padding:14px}.searchbox button{padding:0 15px}.trust{gap:12px;font-size:12px}.section{padding:36px 16px}.section-head{display:block}.section-head p{margin-top:7px}.cluster-grid,.tool-grid,.question-grid,.benefits,.choices,.result-grid,.form-grid{grid-template-columns:1fr}.cluster-card{padding:17px}.tool-layout{grid-template-columns:1fr;padding:24px 16px 50px}.tool-layout aside{order:-1}.side-sticky{position:static}.wizard{padding:20px 16px}.outline{grid-template-columns:1fr}.toc{display:none}.page-hero-inner{padding:32px 16px}.footer-inner{display:block}.mobile-bottom{display:grid;grid-template-columns:repeat(3,1fr);position:fixed;z-index:60;left:0;right:0;bottom:0;height:60px;background:#fff;border-top:1px solid var(--line)}.mobile-bottom a,.mobile-bottom button{border:0;background:#fff;text-decoration:none;display:grid;place-items:center;font-size:11px;color:#4d5b6e}.mobile-bottom svg{width:20px;height:20px;color:var(--navy)}}

/* HouseIt v1.1 */
.confidence-box{border:1px solid var(--line);background:#fff;padding:14px;margin-top:14px;border-radius:6px}.confidence-row{display:flex;justify-content:space-between;gap:14px}.confidence-bar{height:6px;background:#e9edef;border-radius:6px;overflow:hidden;margin-top:9px}.confidence-bar span{display:block;height:100%;background:var(--green)}.missing-list{margin:10px 0 0;padding-left:18px;color:var(--muted);font-size:13px}.next-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin-top:12px}.next-card{display:block;border:1px solid var(--line);border-radius:6px;padding:12px;text-decoration:none;background:#fff}.next-card strong{display:block;color:var(--navy);margin-bottom:3px}.next-card span{font-size:12px;color:var(--muted)}.pro-prep{border:1px solid var(--line);border-radius:6px;padding:16px;background:#fbfcfd;margin-top:18px}.pro-prep ul{columns:2;column-gap:28px;margin:0;padding-left:18px}.saved-panel{border:1px solid var(--line);border-radius:6px;padding:15px;background:#fff;margin-top:18px}.saved-check{padding:9px 0;border-bottom:1px solid #edf0f2}.saved-check:last-child{border-bottom:0}.saved-check a{text-decoration:none;font-size:13px}.saved-check small{display:block;color:var(--muted)}.result-context{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.context-chip{border:1px solid #dfe5e8;background:#fff;padding:4px 7px;border-radius:99px;font-size:11px;color:#536172}.result-tools{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.mobile-result-actions{display:none}@media(max-width:760px){.next-grid{grid-template-columns:1fr}.pro-prep ul{columns:1}.confidence-row{display:block}.result-tools{display:none}.mobile-result-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;position:sticky;bottom:68px;background:#fff;padding:10px 0 0;margin-top:18px;z-index:10}.mobile-result-actions .btn{width:100%}}

/* =========================================================
   HouseIt v1.2 — Home redesign
   ========================================================= */

/* Critical SVG containment: prevents inline/external icons from stretching flex rows */
.site-header svg,.profile-btn svg,.home-main svg,.mobile-bottom svg{width:20px;height:20px;max-width:20px;max-height:20px;display:block}
.profile-btn img,.side-icon img,.search-icon img,.home-trust img,.profile-banner-icon img,.safety-icon img,.mobile-bottom img{
  width:20px;height:20px;display:block;object-fit:contain
}
.profile-btn{display:flex;align-items:center;gap:7px;height:38px}
.profile-icon{display:grid;place-items:center}
.mobile-menu{line-height:1}

.home-main{background:#fff}
.home-hero-section{border-bottom:1px solid var(--line);background:#fff}
.home-hero-grid{
  max-width:1240px;margin:auto;padding:48px 22px 42px;
  display:grid;grid-template-columns:210px minmax(0,1fr) 220px;gap:28px;align-items:start
}
.home-hero-center{text-align:center;padding:4px 0 0;min-width:0}
.home-hero-center h1{
  max-width:760px;margin:12px auto 15px;
  font-size:clamp(42px,5vw,64px);line-height:1.02;letter-spacing:-.047em;color:var(--navy)
}
.home-lead{max-width:720px;margin:0 auto 25px;color:var(--muted);font-size:17px;line-height:1.55}
.home-side{
  background:#fff;border:1px solid var(--line);border-radius:7px;padding:16px;
  box-shadow:0 3px 14px rgba(23,38,60,.025)
}
.home-side-stack{display:grid;gap:11px}
.home-side-title{display:flex;align-items:center;gap:8px;margin-bottom:9px;color:var(--navy);font-size:14px}
.side-icon{display:grid;place-items:center;color:var(--green-dark)}
.home-side-list{display:grid}
.home-list-link{
  display:flex;justify-content:space-between;gap:10px;align-items:center;text-decoration:none;
  padding:9px 0;border-bottom:1px solid #edf1f3;color:#38485c;font-size:12.5px;line-height:1.35
}
.home-list-link:last-child{border-bottom:0}
.home-list-link:hover{color:var(--green-dark)}
.home-list-link .arrow{color:var(--green-dark)}
.home-side-footer{display:inline-block;margin-top:10px;text-decoration:none;color:var(--green-dark);font-size:12px;font-weight:800}
.home-profile-card p{margin:0 0 12px;color:var(--muted);font-size:12.5px;line-height:1.45}
.home-profile-cta{width:100%;font-size:13px;padding:9px 10px}
.home-recent .mini-link{font-size:12.5px}
.home-side .saved-check{padding:7px 0}
.home-side .saved-check a{font-size:12.5px}

.home-search-wrap{position:relative;max-width:760px;margin:auto}
.home-searchbox{
  min-height:62px;border:1px solid #b9c4ce;border-radius:7px;background:#fff;display:flex;align-items:center;
  box-shadow:0 12px 32px rgba(23,38,60,.09);overflow:hidden
}
.search-icon{width:52px;flex:0 0 52px;display:grid;place-items:center;color:#58697d}
.search-icon img{width:22px;height:22px}
.home-searchbox input{
  min-width:0;flex:1;border:0;outline:0;background:#fff;padding:0 12px 0 0;height:60px;
  font-size:16px;color:var(--ink)
}
.home-searchbox input::placeholder{color:#8a96a5}
.home-searchbox button{
  flex:0 0 auto;align-self:stretch;min-width:116px;border:0;background:var(--green);color:#fff;
  padding:0 22px;font-weight:850;cursor:pointer;font-size:14px
}
.home-searchbox button:hover{background:var(--green-dark)}
.home-search-wrap .suggestions{top:calc(100% + 7px)}

.query-chips{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;margin-top:14px}
.query-chip{
  border:1px solid #dfe5e8;background:#fafbfc;color:#46576b;text-decoration:none;border-radius:99px;
  padding:5px 9px;font-size:11.5px
}
.query-chip:hover{border-color:#aebbc5;color:var(--green-dark)}
.home-trust{display:flex;justify-content:center;gap:22px;flex-wrap:wrap;margin-top:18px;color:#4c5c6e;font-size:12.5px}
.home-trust span{display:flex;align-items:center;gap:6px}
.home-trust i{display:grid;place-items:center;color:var(--green);font-style:normal}
.home-trust i img{width:16px;height:16px}

.home-clusters-section,.home-featured-section,.home-questions-section{
  max-width:1240px;margin:auto;padding:48px 22px
}
.home-section-head{display:flex;justify-content:space-between;align-items:end;gap:28px;margin-bottom:21px}
.home-section-head h2{margin:5px 0 0;font-size:31px}
.home-section-head p{max-width:560px;margin:0;color:var(--muted);font-size:14px}
.home-cluster-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:9px}
.home-cluster-card{
  min-width:0;min-height:188px;border:1px solid var(--line);border-radius:7px;background:#fff;
  padding:16px 12px;text-align:center;text-decoration:none;display:flex;flex-direction:column;align-items:center;
  transition:border-color .16s,box-shadow .16s,transform .16s
}
.home-cluster-card:hover{border-color:#aebbc5;box-shadow:0 8px 20px rgba(23,38,60,.05);transform:translateY(-1px)}
.home-cluster-icon{
  width:42px;height:42px;border:1px solid #dfe7e2;border-radius:6px;background:#f8fbf9;
  display:grid;place-items:center;margin-bottom:12px
}
.home-cluster-icon img{width:23px;height:23px}
.home-cluster-card strong{font-size:13px;line-height:1.25;color:var(--navy)}
.home-cluster-desc{font-size:11px;line-height:1.4;color:var(--muted);margin-top:7px}
.home-cluster-link{font-size:11px;color:var(--green-dark);font-weight:800;margin-top:auto;padding-top:12px}
.home-cluster-link b{font-size:13px}

.home-how-section{background:#f7f9fa;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.home-how-inner{max-width:1240px;margin:auto;padding:48px 22px}
.home-steps{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);border-radius:7px;background:#fff}
.home-step{padding:24px;position:relative}
.home-step+ .home-step{border-left:1px solid var(--line)}
.home-step span{display:block;color:var(--green-dark);font-size:12px;font-weight:900;letter-spacing:.08em;margin-bottom:17px}
.home-step strong{display:block;color:var(--navy);font-size:17px;margin-bottom:7px}
.home-step p{margin:0;color:var(--muted);font-size:13px}

.featured-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}
.featured-tool{
  display:flex;flex-direction:column;min-height:176px;border:1px solid var(--line);border-radius:7px;padding:19px;
  text-decoration:none;background:#fff
}
.featured-tool:hover{border-color:#aebbc5;box-shadow:0 8px 22px rgba(23,38,60,.05)}
.featured-kicker{text-transform:uppercase;letter-spacing:.08em;font-size:10px;color:var(--green-dark);font-weight:850;margin-bottom:8px}
.featured-tool strong{color:var(--navy);font-size:17px;margin-bottom:6px}
.featured-tool span{font-size:13px;color:var(--muted);line-height:1.45}
.featured-tool b{margin-top:auto;padding-top:16px;color:var(--green-dark);font-size:12.5px}

.home-profile-banner{padding:0 22px 48px}
.home-profile-banner-inner{
  max-width:1196px;margin:auto;border:1px solid #cfdad4;border-radius:7px;background:#f8fbf9;
  padding:24px 26px;display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:20px
}
.profile-banner-icon{
  width:52px;height:52px;border:1px solid #cbdcd1;background:#fff;border-radius:7px;display:grid;place-items:center
}
.profile-banner-icon img{width:28px;height:28px}
.home-profile-banner h2{font-size:25px;margin:4px 0 5px}
.home-profile-banner p{margin:0;color:var(--muted);font-size:13.5px;max-width:760px}

.home-questions-section{padding-top:0}
.home-question-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px 18px}
.home-question{
  display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--line);
  border-radius:5px;padding:12px 13px;text-decoration:none;background:#fff;color:#35475b;font-size:13px
}
.home-question:hover{border-color:#abb8c2;color:var(--green-dark)}
.home-question b{color:var(--green-dark)}

.home-safety-section{padding:0 22px 52px}
.home-safety-inner{
  max-width:1196px;margin:auto;border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  padding:28px 0;display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:18px;align-items:center
}
.safety-icon{width:42px;height:42px;color:var(--green-dark);display:grid;place-items:center}
.safety-icon img{width:28px;height:28px}
.home-safety-inner h2{font-size:23px;margin:0 0 4px}
.home-safety-inner p{margin:0;color:var(--muted);font-size:13.5px;max-width:800px}

.mobile-bottom img{width:20px;height:20px}

@media(max-width:1120px){
  .home-hero-grid{grid-template-columns:190px minmax(0,1fr) 200px;gap:18px}
  .home-cluster-grid{grid-template-columns:repeat(4,1fr)}
}
@media(max-width:900px){
  .home-hero-grid{grid-template-columns:1fr;padding-top:36px}
  .home-popular,.home-side-stack{display:none}
  .home-hero-center{max-width:760px;margin:auto;width:100%}
  .home-cluster-grid{grid-template-columns:repeat(4,1fr)}
  .featured-grid{grid-template-columns:repeat(2,1fr)}
  .home-question-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
  .home-header .navlinks{display:none}
  .home-hero-grid{padding:31px 16px 30px}
  .home-hero-center h1{font-size:39px;max-width:520px}
  .home-lead{font-size:15px;line-height:1.5;margin-bottom:20px}
  .home-searchbox{min-height:55px}
  .search-icon{width:44px;flex-basis:44px}
  .search-icon img{width:19px;height:19px}
  .home-searchbox input{height:53px;font-size:14px}
  .home-searchbox button{min-width:84px;padding:0 14px;font-size:13px}
  .query-chips{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding-bottom:3px;scrollbar-width:none}
  .query-chips::-webkit-scrollbar{display:none}
  .query-chip{white-space:nowrap}
  .home-trust{justify-content:flex-start;gap:10px 16px;font-size:11.5px}
  .home-clusters-section,.home-featured-section,.home-questions-section{padding:36px 16px}
  .home-section-head{display:block;margin-bottom:17px}
  .home-section-head h2{font-size:27px}
  .home-section-head p{margin-top:6px}
  .home-cluster-grid{grid-template-columns:repeat(2,1fr);gap:8px}
  .home-cluster-card{min-height:168px;padding:14px 10px}
  .home-cluster-desc{font-size:10.5px}
  .home-how-inner{padding:36px 16px}
  .home-steps{grid-template-columns:1fr}
  .home-step+ .home-step{border-left:0;border-top:1px solid var(--line)}
  .home-step{padding:19px}
  .featured-grid,.home-question-grid{grid-template-columns:1fr}
  .home-profile-banner{padding:0 16px 36px}
  .home-profile-banner-inner{grid-template-columns:42px 1fr;padding:18px;gap:13px}
  .profile-banner-icon{width:42px;height:42px}
  .home-profile-banner-inner>.btn{grid-column:1/-1;width:100%}
  .home-profile-banner h2{font-size:22px}
  .home-safety-section{padding:0 16px 38px}
  .home-safety-inner{grid-template-columns:36px 1fr;padding:22px 0}
  .home-safety-inner>.btn{grid-column:1/-1;width:100%}
  .home-safety-inner h2{font-size:21px}
}

/* =========================================================
   HouseIt v1.3 — image-led cluster redesign
   ========================================================= */
.home-preview-strip{max-width:1240px;margin:auto;padding:0 22px 46px}
.home-preview-inner{
  border:1px solid var(--line);border-radius:8px;background:linear-gradient(180deg,#fbfcfd 0%,#ffffff 100%);
  display:grid;grid-template-columns:320px minmax(0,1fr);gap:20px;padding:18px;align-items:center
}
.home-preview-copy h2{margin:6px 0 8px;font-size:28px}
.home-preview-copy p{margin:0;color:var(--muted);font-size:13.5px;line-height:1.55}
.home-preview-rail{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.home-preview-rail img{
  width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px;border:1px solid #e4eaee;background:#fff
}

.home-cluster-visual-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:14px
}
.home-cluster-visual-card{
  display:flex;flex-direction:column;text-decoration:none;background:#fff;border:1px solid var(--line);
  border-radius:10px;overflow:hidden;min-height:100%;transition:transform .16s, box-shadow .16s, border-color .16s
}
.home-cluster-visual-card:hover{
  transform:translateY(-2px);box-shadow:0 12px 28px rgba(23,38,60,.08);border-color:#b4c0ca
}
.home-cluster-visual-media{
  background:#f7f9fa;border-bottom:1px solid #e8edf0;aspect-ratio:4/3;overflow:hidden
}
.home-cluster-visual-media img{
  width:100%;height:100%;object-fit:cover;display:block
}
.home-cluster-visual-body{
  display:flex;flex-direction:column;gap:8px;padding:15px 15px 16px
}
.home-cluster-meta{
  font-size:10px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:var(--green-dark)
}
.home-cluster-visual-body strong{
  color:var(--navy);font-size:16px;line-height:1.25
}
.home-cluster-visual-body p{
  margin:0;color:var(--muted);font-size:12.5px;line-height:1.5;min-height:54px
}
.home-cluster-visual-body span{
  margin-top:auto;color:var(--green-dark);font-size:12.5px;font-weight:800
}

@media(max-width:1120px){
  .home-preview-inner{grid-template-columns:1fr}
  .home-cluster-visual-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:900px){
  .home-preview-rail{grid-template-columns:repeat(2,1fr)}
  .home-cluster-visual-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
  .home-preview-strip{padding:0 16px 36px}
  .home-preview-inner{padding:14px}
  .home-preview-copy h2{font-size:24px}
  .home-preview-rail{grid-template-columns:repeat(2,1fr);gap:8px}
  .home-cluster-visual-grid{grid-template-columns:1fr;gap:12px}
  .home-cluster-visual-body{padding:14px}
  .home-cluster-visual-body p{min-height:0}
}

.rule-meta{margin-top:10px;padding-top:9px;border-top:1px solid #e6ebee;color:var(--muted);font-size:11px;line-height:1.45}

/* HouseIt v1.6 Content Quality */
.entry-action{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:18px}.entry-action span{font-size:13px;color:var(--muted)}
.content-note{border-left:3px solid var(--green);background:#f8fbf9;padding:12px 14px;margin:16px 0;color:#425267;font-size:14px}
.problem-content .prose>section{scroll-margin-top:86px}
.problem-content .prose>section+section{margin-top:36px}
.cluster-editorial{border-top:1px solid var(--line);padding-top:38px}
@media(max-width:760px){.entry-action .btn{width:100%}.problem-content .prose>section+section{margin-top:30px}}

/* =========================================================
   HouseIt v1.7 — Internal UX & Interlinking
   ========================================================= */
.internal-context-row{
  display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:12px
}
.ix-chip{
  display:inline-flex;align-items:center;min-height:28px;padding:5px 9px;border:1px solid #dce4e8;
  border-radius:999px;background:#fff;text-decoration:none;color:#4b5c6f;font-size:11px;font-weight:760
}
.ix-chip:hover{border-color:#aab8c2;color:var(--green-dark);background:#fbfcfd}
.ix-chip-static{cursor:default;background:#f6f8f9}

.ix-section{
  margin-top:40px;padding-top:30px;border-top:1px solid var(--line)
}
.ix-section-head{
  display:flex;justify-content:space-between;align-items:end;gap:28px;margin-bottom:18px
}
.ix-section-head h2{margin:5px 0 0;font-size:27px;line-height:1.15}
.ix-section-head p{max-width:540px;margin:0;color:var(--muted);font-size:13px;line-height:1.5}
.ix-kicker{
  display:block;color:var(--green-dark);font-size:10px;line-height:1.2;font-weight:850;
  letter-spacing:.08em;text-transform:uppercase
}
.ix-grid{display:grid;gap:10px}
.ix-grid-problems{grid-template-columns:repeat(2,minmax(0,1fr))}
.ix-grid-tools{grid-template-columns:repeat(3,minmax(0,1fr))}
.ix-card{
  display:flex;flex-direction:column;min-width:0;padding:15px;border:1px solid var(--line);
  border-radius:6px;background:#fff;text-decoration:none;color:inherit;
  transition:border-color .15s,box-shadow .15s,transform .15s
}
.ix-card:hover{
  border-color:#aab7c0;box-shadow:0 7px 18px rgba(23,38,60,.05);transform:translateY(-1px)
}
.ix-card strong{display:block;margin-top:5px;color:var(--navy);font-size:14px;line-height:1.35}
.ix-card p{margin:6px 0 0;color:var(--muted);font-size:12px;line-height:1.45}
.ix-link{margin-top:auto;padding-top:11px;color:var(--green-dark);font-size:11.5px;font-weight:820}
.ix-problem-card{min-height:104px}
.ix-tool-card{min-height:150px}
.ix-subhead{margin:22px 0 10px;font-size:18px}
.ix-cluster-nav{
  max-width:1196px;margin:0 auto;padding:44px 22px;border-top:1px solid var(--line)
}
.ix-hub-block+.ix-hub-block{margin-top:26px}
.ix-hub-block>h3{margin:0 0 12px;font-size:18px}

.page-hero{
  background:
    linear-gradient(180deg,rgba(248,251,249,.72),rgba(255,255,255,0)),
    #fff;
  border-bottom:1px solid var(--line)
}
.page-hero-inner{padding-top:38px;padding-bottom:38px}
.page-hero h1{max-width:880px}
.page-hero .lead{max-width:800px}
.problem-content .outline,
.section .outline{gap:34px}
.prose h2{letter-spacing:-.025em}
.prose p{line-height:1.68}
.toc{
  position:sticky;top:84px;align-self:start;border:1px solid var(--line);border-radius:6px;
  padding:14px;background:#fbfcfd
}
.toc strong{display:block;margin-bottom:8px}
.toc a{display:block;padding:6px 0;border-bottom:1px solid #edf0f2;font-size:12px;text-decoration:none}
.toc a:last-child{border-bottom:0}
.toc a:hover{color:var(--green-dark)}

@media(max-width:900px){
  .ix-grid-tools{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ix-section-head{display:block}
  .ix-section-head p{margin-top:7px}
}
@media(max-width:760px){
  .ix-grid-problems,.ix-grid-tools{grid-template-columns:1fr}
  .ix-section{margin-top:32px;padding-top:24px}
  .ix-section-head h2{font-size:23px}
  .ix-cluster-nav{padding:34px 16px}
  .toc{position:static}
  .page-hero-inner{padding-top:28px;padding-bottom:30px}
}

.ix-continuity{
  display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:32px 0 4px;padding-top:22px;border-top:1px solid var(--line)
}
.ix-continuity a{
  display:flex;flex-direction:column;gap:4px;padding:12px 13px;border:1px solid var(--line);border-radius:6px;
  text-decoration:none;background:#fff
}
.ix-continuity a:last-child{text-align:right}
.ix-continuity span{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--green-dark);font-weight:850}
.ix-continuity strong{font-size:12.5px;color:var(--navy);line-height:1.35}
@media(max-width:760px){.ix-continuity{grid-template-columns:1fr}.ix-continuity a:last-child{text-align:left}}
