/* HousUp — the estimator in housup.com's frame (Nov. 3 restyle, the approved mockup). Class names and values are the spec's; the
   few additions at the end (.cv-hide, the file rows, the contact screen) are marked. */
body{margin:0;background:#fff;color:#0f1620;font-family:"Archivo",system-ui,-apple-system,"Segoe UI",sans-serif;font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased}
*,*::before,*::after{box-sizing:border-box}
a{color:#0a4fa8}a:hover{color:#0a2f62}
h1,h2,h3{margin:0;font-weight:700;letter-spacing:-.02em}
.wrap{max-width:1440px;margin:0 auto;padding-inline:clamp(16px,5vw,72px)}
.site-head{display:flex;align-items:center;gap:24px;padding:10px 10px 10px 24px;border-radius:999px;background:rgba(17,17,17,.88);color:#fff;font-size:14px;margin-top:16px}
.logo{font-weight:800;font-size:22px;letter-spacing:-.04em;color:#fff;text-decoration:none;margin-right:auto;line-height:1}
.logo .lu{color:#1a8fff}
.site-head nav{display:flex;align-items:center;gap:24px}
.site-head nav a{color:#fff;text-decoration:none;white-space:nowrap}
.site-head nav a[aria-current="page"]{color:#a6ccff}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;text-decoration:none;font-family:inherit;font-weight:700;font-size:15px;line-height:1.2;padding:13px 22px;border-radius:999px;border:1.5px solid transparent;background:#0a6fe0;color:#fff;white-space:nowrap}
.btn:hover{background:#0960c4;color:#fff}
.btn.ghost{background:#fff;color:#0f1620;border-color:#d8dde4}
.btn.ghost:hover{background:#f7f8fa;color:#0f1620}
.site-head .btn{font-size:14px;padding:10px 18px}
.menu{display:none;background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.35);border-radius:999px;padding:10px 18px;font:inherit;font-size:14px;font-weight:700}
.hero{text-align:center;padding:clamp(40px,6vw,72px) 0 28px;display:flex;flex-direction:column;align-items:center;gap:14px}
.eyebrow{font-size:13px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:#0a4fa8}
.hero h1{font-size:clamp(34px,5vw,54px);line-height:1.05;max-width:760px}
.hero p{margin:0;font-size:17px;color:#4f5763;max-width:560px}
.cv{max-width:640px;margin:0 auto;padding-bottom:clamp(48px,7vw,96px)}
.cv-top{display:flex;align-items:center;gap:14px;margin-bottom:30px;min-height:34px}
.cv-back{background:none;border:0;padding:7px 12px 7px 6px;font:inherit;font-size:14px;font-weight:600;color:#4f5763;cursor:pointer;display:inline-flex;align-items:center;gap:6px;border-radius:999px;text-decoration:none}
.cv-back:hover{color:#0f1620;background:#f7f8fa}
.cv-bar{flex:1;height:4px;border-radius:999px;background:#eceff3;overflow:hidden}
.cv-bar span{display:block;height:100%;background:#0a6fe0;border-radius:999px}
.cv-count{font-size:12.5px;color:#6b7380;font-variant-numeric:tabular-nums;white-space:nowrap}
.cv-screen{display:flex;flex-direction:column;gap:20px}
.cv-q{font-size:clamp(27px,3.6vw,38px);line-height:1.1;letter-spacing:-.022em;font-weight:600;margin:0}
.cv-sub{font-size:16.5px;line-height:1.5;color:#4f5763;margin:-8px 0 0}
.cv-tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cv-tiles label{position:relative;display:block;cursor:pointer}
.cv-tiles input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.cv-tiles span.t{display:flex;flex-direction:row;align-items:center;gap:14px;min-height:64px;padding:12px 44px 12px 12px;border:1.5px solid #d8dde4;border-radius:16px;background:#fff}
.cv-tiles .ic{width:40px;height:40px;border-radius:12px;background:#e8f2ff;color:#0a4fa8;display:flex;align-items:center;justify-content:center;flex:none}
.cv-tiles b{font-size:16px;font-weight:600;line-height:1.25}
.cv-tiles label:hover span.t{border-color:#b3bac4}
.cv-tiles input:checked + span.t{border-color:#0a6fe0;background:#e8f2ff;box-shadow:inset 0 0 0 1px #0a6fe0}
.cv-tiles input:checked + span.t::after{content:"";position:absolute;right:14px;top:50%;width:22px;height:22px;margin-top:-11px;border-radius:50%;background:#0a6fe0 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5L20 7'/></svg>") center/13px no-repeat}
.cv-tiles input:focus-visible + span.t{box-shadow:0 0 0 4px #e8f2ff}
.or{display:flex;align-items:center;gap:12px;font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#8a929e}
.or::before,.or::after{content:"";flex:1;height:1.5px;background:#eceff3}
.cv-field{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:600}
.cv-field textarea{font:inherit;font-size:17px;font-weight:400;min-height:96px;padding:14px 16px;border:1.5px solid #d8dde4;border-radius:14px;background:#fff;width:100%;color:#0f1620;resize:vertical;line-height:1.45}
.cv-field textarea::placeholder{color:#8a929e}
.cv-side{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 18px;border:1.5px dashed #b3bac4;border-radius:16px;background:#f3f5f8;text-decoration:none;color:inherit}
.cv-side:hover{border-color:#0a6fe0;background:#e8f2ff;color:inherit}
.cv-side span{display:flex;flex-direction:column;gap:3px;min-width:0}
.cv-side b{font-size:16px;font-weight:600;line-height:1.25}
.cv-side small{font-size:13.5px;color:#4f5763;line-height:1.4}
.cv-side em{font-style:normal;font-weight:700;font-size:15px;color:#0a4fa8;white-space:nowrap;flex:none}
.cv-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-top:4px}
.cv-next{font-size:16px;padding:15px 26px}
.foot{border-top:1.5px solid rgba(15,22,32,.12);padding:28px 0 32px;font-size:13px;color:#4f5763;display:flex;flex-direction:column;gap:12px;line-height:1.5}
.foot .row{display:flex;flex-wrap:wrap;gap:8px 20px;align-items:center;justify-content:space-between}
.foot .links{display:flex;gap:18px}
.foot a{color:#2b3340;text-decoration:none;font-weight:600}
.foot a:hover{color:#0a4fa8}
@media (max-width:640px){
  .site-head{gap:12px;padding:8px 8px 8px 18px}
  .site-head nav,.site-head .btn{display:none}
  .menu{display:inline-flex}
  .hero{padding-top:36px}
  .hero h1{font-size:34px}
  .hero p{font-size:16px}
  .cv-tiles{grid-template-columns:1fr}
  .cv-actions .cv-next{flex:1}
}

/* Size */
.crumbs{display:flex;flex-wrap:wrap;gap:8px;margin:-14px 0 18px}
.crumbs a{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:#0a3f85;background:#e8f2ff;border-radius:999px;padding:6px 12px;text-decoration:none}
.crumbs a:hover{background:#cfe4ff;color:#0a2f62}
.cv-tiles span.t{display:flex;flex-direction:column;gap:3px;justify-content:center;min-height:58px;padding:16px 48px 16px 18px;border:1.5px solid #d8dde4;border-radius:16px;background:#fff}
.cv-tiles b{font-size:17px;font-weight:600;line-height:1.25}
.cv-tiles small{font-size:13.5px;color:#4f5763;line-height:1.4}
.cv-tiles .tag{display:inline-block;margin-top:6px;font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#0a4fa8}
.cv-tiles input:checked + span.t::after{content:"";position:absolute;right:16px;top:50%;width:24px;height:24px;margin-top:-12px;border-radius:50%;background:#0a6fe0 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5L20 7'/></svg>") center/14px no-repeat}
/* Review */
.cv-screen{display:flex;flex-direction:column;gap:18px}
.cv-sub{font-size:16.5px;line-height:1.5;color:#4f5763;margin:-6px 0 0}
.grp{border:1.5px solid #d8dde4;border-radius:16px;background:#fff;overflow:hidden}
.grp-h{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:11px 16px;background:#f7f8fa;border-bottom:1px solid #eceff3;font-size:14px;font-weight:700}
.grp-h em{font-style:normal;color:#6b7380;font-weight:500;font-size:13px;margin-left:8px}
.grp-h b{font-variant-numeric:tabular-nums}
.ln{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 16px;border-top:1px solid #eceff3}
.ln:first-of-type{border-top:0}
.ln input{width:20px;height:20px;margin:0;accent-color:#0a6fe0;cursor:pointer}
.ln .nm{font-size:15px;line-height:1.35}
.ln .qty{display:inline-flex;align-items:center;gap:4px;margin:6px 6px 0 0;font-size:13px;font-weight:600;color:#0a3f85;background:#e8f2ff;border:0;border-radius:999px;padding:6px 12px;min-height:30px;font-family:inherit;cursor:pointer;line-height:1.3}
.ln .note{display:inline-block;margin-top:5px;font-size:12.5px;font-weight:600;color:#8a5a00;background:#fff4dc;border-radius:999px;padding:3px 10px;line-height:1.3}
.ln .pr{text-align:right;font-variant-numeric:tabular-nums}
.ln .pr b{display:block;font-size:15px;font-weight:700;white-space:nowrap}
.ln .pr small{font-size:12px;color:#6b7380;white-space:nowrap}
.add{display:flex;gap:10px}
.add input{flex:1;font:inherit;font-size:16px;min-height:52px;padding:0 16px;border:1.5px solid #d8dde4;border-radius:14px;background:#fff;color:#0f1620}
.add input::placeholder{color:#8a929e}
.add .btn.ghost{padding:13px 18px}
.stick{position:sticky;bottom:12px;margin-top:6px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 10px 10px 20px;background:rgba(17,17,17,.9);color:#fff;border-radius:999px;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 18px 40px -22px rgba(17,17,17,.5)}
.stick b{font-size:17px;font-variant-numeric:tabular-nums}
.stick small{display:block;font-size:12.5px;color:#b3bac4}
.stick .btn{padding:12px 22px}
/* Estimate */
.est{border:1.5px solid #d8dde4;border-radius:24px;padding:24px 24px 20px;display:flex;flex-direction:column;gap:12px;background:#fff}
.est .big{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;font-size:clamp(40px,6vw,60px);font-weight:700;letter-spacing:-.03em;line-height:1}
.est .big small{font-size:17px;font-weight:500;color:#4f5763;letter-spacing:0}
.range{position:relative;margin:26px 0 52px;height:10px;border-radius:999px;background:#eceff3}
.range .fill{position:absolute;left:0;right:0;top:0;bottom:0;border-radius:999px;background:#cfe4ff}
.range .mark{position:absolute;left:44.3%;top:50%;width:20px;height:20px;margin:-10px 0 0 -10px;border-radius:50%;background:#0a6fe0;box-shadow:0 0 0 3px #fff,0 0 0 4.5px #0a6fe0}
.range .lab{position:absolute;top:-26px;left:44.3%;transform:translateX(-50%);font-size:13px;font-weight:700;color:#0a4fa8;white-space:nowrap}
.range .lo,.range .hi{position:absolute;top:16px;font-size:13px;color:#4f5763;white-space:nowrap}
.range .lo{left:0}.range .hi{right:0;text-align:right}
.range .lo b,.range .hi b{display:block;color:#0f1620;font-size:15px}
.est .what{font-size:15px;color:#2b3340}
.est .what b{color:#0f1620}
.est .flag{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;font-size:13.5px;font-weight:600;color:#8a5a00;background:#fff4dc;border-radius:999px;padding:6px 12px}
.est .basis{font-size:13px;color:#6b7380;line-height:1.5}
.sect{display:flex;flex-direction:column;gap:10px}
.sect h3{font-size:18px}
.sect .lede{font-size:14.5px;color:#4f5763;margin:-4px 0 2px}
.cat{display:flex;flex-direction:column;gap:7px;padding:12px 16px;border:1.5px solid #d8dde4;border-radius:14px}
.cat .row{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:15px}
.cat .row b{font-variant-numeric:tabular-nums;white-space:nowrap}
.cat .row small{color:#6b7380;font-size:12.5px;margin-left:6px;white-space:nowrap}
.cat .bar{height:6px;border-radius:999px;background:#eceff3;overflow:hidden}
.cat .bar span{display:block;height:100%;background:#0a6fe0;border-radius:999px}
.more{align-self:center;font-weight:700;font-size:14.5px;text-decoration:none;padding:8px 14px}
.also{border:1.5px dashed #b3bac4;border-radius:16px;padding:14px 16px;display:flex;flex-direction:column;gap:0}
.also .eyebrow{margin-bottom:6px}
.also .r{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid #eceff3;font-size:15px}
.also .r:first-of-type{border-top:0}
.also .r small{display:block;font-size:12.5px;color:#6b7380}
.also .r b{white-space:nowrap;font-variant-numeric:tabular-nums}
.also .r.sum{border-top:1.5px solid #0f1620;font-weight:700}
details{border:1.5px solid #d8dde4;border-radius:14px;padding:0 16px}
summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 0;font-weight:600;font-size:15px}
summary::-webkit-details-marker{display:none}
summary small{color:#6b7380;font-weight:500;font-size:13px}
details p{margin:0 0 14px;font-size:14.5px;color:#2b3340;line-height:1.5}
.foot .legal{font-size:12.5px;color:#6b7380;max-width:980px}
/* Next steps */
.sum{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-radius:14px;background:#f3f5f8;font-size:14.5px}
.sum b{font-size:17px;white-space:nowrap}
.card{border:1.5px solid #d8dde4;border-radius:20px;padding:20px;display:flex;flex-direction:column;gap:12px;background:#fff}
.card.hi{border-color:#0a6fe0;box-shadow:inset 0 0 0 1px #0a6fe0}
.card h3{font-size:18px;display:flex;align-items:center;gap:10px}
.num{display:inline-flex;width:26px;height:26px;border-radius:50%;background:#0a6fe0;color:#fff;font-size:13px;font-weight:700;align-items:center;justify-content:center;flex:none}
.card p{margin:0;font-size:14.5px;color:#4f5763;line-height:1.5}
.card .act{display:flex;gap:10px;flex-wrap:wrap}
.fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.fld{font:inherit;font-size:16px;min-height:52px;padding:0 16px;border:1.5px solid #d8dde4;border-radius:14px;background:#fff;width:100%;color:#0f1620}
.fld::placeholder{color:#8a929e}
.recv{border:1.5px solid #eceff3;border-radius:14px;padding:12px 16px;background:#f7f8fa;font-size:14px;display:flex;flex-direction:column;gap:6px}
.recv b{font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:#4f5763}
.recv span{display:flex;align-items:center;gap:8px}
.recv span::before{content:"";width:16px;height:16px;border-radius:50%;background:#0a6fe0 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5L20 7'/></svg>") center/9px no-repeat;flex:none}
.fine{font-size:12.5px;color:#6b7380;margin:0}
@media (max-width:640px){
  .ln{padding:12px 14px;gap:10px}
  .ln .pr small{display:none}
  .stick{padding:8px 8px 8px 16px}
  .stick b{font-size:15px}
  .est{padding:20px 18px 16px}
  .fields{grid-template-columns:1fr}
  .card .act .btn{flex:1}
  .sum{flex-direction:column;align-items:flex-start}
}

/* --- additions for the live wizard (not in the mockup) --- */
.cv-tiles .ic svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cv-tiles label.chosen span.t{border-color:#0a6fe0;background:#e8f2ff;box-shadow:inset 0 0 0 1px #0a6fe0}
.cv-side.has{border-style:solid;border-color:#0a6fe0;background:#e8f2ff}
.cv-side input[type=file]{display:none}
.cv-err{border:1.5px solid #e2a1a1;background:#fff1f1;color:#8a1f1f;border-radius:14px;padding:12px 16px;font-size:14.5px}
.cv-ai{display:flex;gap:10px;align-items:flex-start;font-size:15px;color:#2b3340;background:#f3f5f8;border-radius:14px;padding:12px 16px}
.cv-ai .dot{width:10px;height:10px;border-radius:50%;background:#0a6fe0;flex:none;margin-top:6px}
.cv-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cv-lab{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:600}
.cv-lab .fld{font-weight:400}
.cv-inputs{display:none}.cv-inputs.show{display:grid}
.cv-wait{display:flex;flex-direction:column;align-items:center;gap:14px;padding:40px 0;text-align:center}
.cv-spin{width:36px;height:36px;border-radius:50%;border:3px solid #eceff3;border-top-color:#0a6fe0;animation:cvspin .9s linear infinite}
@keyframes cvspin{to{transform:rotate(360deg)}}
.ln.off{opacity:.5}.ln.off .nm{text-decoration:line-through}
.ln .qty input{width:70px;font:inherit;font-size:13px;border:1.5px solid #0a6fe0;border-radius:8px;padding:2px 6px;background:#fff;color:#0f1620}
.ln .src{display:block;font-size:12px;color:#6b7380;margin-top:3px}
.limited{border:1.5px solid #f2c46d;background:#fff4dc;border-radius:14px;padding:12px 16px;font-size:14px;color:#5a3a00}
.cat.extra{display:none}.cat.extra.show{display:flex}
.cat .lines{display:none;flex-direction:column;gap:6px;margin-top:6px;border-top:1px solid #eceff3;padding-top:8px}
.cat.open .lines{display:flex}
.cat .lines .ln{padding:6px 0;border-top:0;font-size:14px}
.cat .toggle{background:none;border:0;padding:0;font:inherit;font-size:13px;font-weight:700;color:#0a4fa8;cursor:pointer;text-align:left}
.cat .lines .btn{padding:6px 12px;font-size:13px}
.tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.tag{display:inline-block;font-size:12px;font-weight:600;border-radius:999px;padding:3px 10px;background:#eceff3;color:#4f5763}
.tag.warn{background:#fff4dc;color:#8a5a00}.tag.in{background:#e8f2ff;color:#0a3f85}.tag.na{background:#eceff3;color:#6b7380}
.why{font-size:12.5px;color:#6b7380}
.ticks{display:flex;flex-direction:column;gap:8px;font-size:14px}
.ticks label{display:flex;gap:10px;align-items:flex-start}
.ticks input{width:18px;height:18px;margin-top:2px;accent-color:#0a6fe0}
.consent{font-size:13px;color:#4f5763;line-height:1.5;border:1.5px solid #eceff3;border-radius:14px;padding:12px 16px;background:#f7f8fa}
.oos{border:1.5px solid #cfe4ff;background:#e8f2ff;border-radius:16px;padding:16px 18px;display:flex;flex-direction:column;gap:8px}
.oos b{font-size:16px}
.cv-share-out{font-size:13px;color:#4f5763;word-break:break-all}
.cv-page{background:#fff}
.site-head .menu a{color:inherit;text-decoration:none}
[hidden]{display:none!important}
.cv-tiles.icons span.t{flex-direction:row;align-items:center;justify-content:flex-start;gap:14px;min-height:64px;padding:12px 44px 12px 12px}
.cv-tiles.icons b{font-size:16px}
.hero.compact{padding:clamp(22px,3vw,34px) 0 18px;gap:8px}
.hero.compact h1{font-size:28px}
@media (max-width:640px){ .hero.compact{padding-top:22px} .hero.compact h1{font-size:26px} .cv-row{grid-template-columns:1fr} }
.hw-ref{text-align:center;color:#0a4fa8;font-size:14px;margin:-8px 0 18px}
