:root{--ink:#0b1738;--muted:#62708c;--line:#e2e9f2;--blue:#0d72f4;--green:#0aa96e;--soft:#f6f9fd;--card:#fff;--shadow:0 20px 60px rgba(20,43,84,.09)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f7faff;color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-decoration:none}button,select{font:inherit}.wrap{width:min(1240px,calc(100% - 40px));margin:auto}.topbar{height:72px;background:rgba(255,255,255,.94);backdrop-filter:blur(16px);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:30}.navrow{height:100%;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;gap:9px;font-size:23px;font-weight:700;letter-spacing:-.04em}.brandmark{width:34px;height:34px;display:inline-flex}.brandmark svg{width:100%;height:100%}.desktop-nav{margin-left:auto;display:flex;gap:27px}.desktop-nav a{font-size:14px;color:#32415f}.desktop-nav a:hover{color:var(--blue)}.nav-cta{font-size:13px;font-weight:700;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:white}
.hero{padding:22px 0 0}.hero-shell{min-height:430px;display:grid;grid-template-columns:51% 49%;border-radius:30px;overflow:hidden;background:#edf6ff;box-shadow:var(--shadow);border:1px solid #dce7f3}.hero-copy{padding:54px 48px;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(105deg,#f6fbff 0%,#eef8ff 78%,rgba(238,248,255,.72) 100%);position:relative;z-index:2}.eyebrow{text-transform:uppercase;letter-spacing:.15em;font-size:11px;font-weight:700;color:#61769f;margin-bottom:16px}.eyebrow.dark{color:#4a638d}.hero h1{font-size:clamp(47px,5.4vw,74px);line-height:.96;letter-spacing:-.055em;margin:0;max-width:700px}.hero h1 span{color:var(--blue)}.hero-copy>p{font-size:18px;line-height:1.55;color:#475978;max-width:650px;margin:21px 0 26px}.hero-links{display:flex;gap:10px;flex-wrap:wrap}.button{height:48px;padding:0 17px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;font-size:14px;font-weight:700}.button.primary{background:var(--blue);color:white;box-shadow:0 8px 24px rgba(13,114,244,.22)}.button.secondary{background:white;border:1px solid var(--line)}.featured{display:inline-flex;align-items:center;gap:7px;margin-top:19px;color:#6b7892;font-size:11px;font-weight:700}.featured span{width:7px;height:7px;border-radius:50%;background:var(--green)}.hero-visual{position:relative;min-width:0;background:#ddeaf3;overflow:hidden}.hero-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(238,248,255,.65) 0%,rgba(238,248,255,0) 28%);pointer-events:none}.hero-visual picture{display:block;width:100%;height:100%}.hero-visual img{width:100%;height:100%;object-fit:cover;object-position:center center;display:block;transform:none}.hero-rate{position:absolute;z-index:3;right:22px;top:22px;background:rgba(255,255,255,.95);border:1px solid rgba(220,231,243,.95);border-radius:17px;padding:14px 16px;box-shadow:0 14px 32px rgba(14,43,84,.11);min-width:196px}.hero-rate small{display:block;font-size:11px;color:#5b6e8d;line-height:1.35}.hero-rate strong{display:block;font-size:25px;letter-spacing:-.04em;margin:4px 0 2px}.hero-rate span{font-size:10px;color:#71809c}
.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:12px}.category{min-height:92px;background:white;border:1px solid var(--line);border-radius:18px;display:flex;align-items:center;gap:13px;padding:16px;box-shadow:0 3px 13px rgba(23,47,84,.025);transition:.2s ease}.category:hover{transform:translateY(-2px);box-shadow:0 14px 35px rgba(23,47,84,.07)}.cat-icon{width:45px;height:45px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto}.cat-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.cat-icon.sun{background:#fff5df;color:#eea214}.cat-icon.car{background:#e9f3ff;color:#1478ef}.cat-icon.plug{background:#e6f8ef;color:#09a36b}.cat-icon.bars{background:#e7f8f0;color:#0ba86f}.category b{display:block;font-size:14px;margin-bottom:3px}.category small{font-size:11px;color:#6b7890;line-height:1.4}.category i{font-style:normal;margin-left:auto;font-size:20px;color:#8290aa}
.product-section{padding:64px 0 72px}.section-intro{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:24px}.section-intro h2{font-size:clamp(32px,4vw,48px);letter-spacing:-.045em;line-height:1.03;margin:0;max-width:760px}.section-intro>p{max-width:510px;margin:0;color:var(--muted);font-size:14px;line-height:1.55}.finder{display:grid;grid-template-columns:.9fr 1.1fr .75fr 1.1fr .9fr .8fr auto;gap:12px;padding:18px;background:white;border:1px solid var(--line);border-radius:20px;box-shadow:0 10px 32px rgba(20,43,84,.06);margin-bottom:16px}.field label{display:block;font-size:11px;font-weight:700;color:#5c6b87;margin:0 0 7px}.select-wrap{position:relative}.select-wrap select{width:100%;height:49px;border:1px solid #d9e3ef;border-radius:12px;background:#fbfdff;color:#172444;padding:0 38px 0 13px;appearance:none;outline:none;cursor:pointer}.select-wrap select:focus{border-color:#7db5f7;box-shadow:0 0 0 3px rgba(13,114,244,.08)}.field>input{width:100%;height:49px;border:1px solid #d9e3ef;border-radius:12px;background:#fbfdff;color:#172444;padding:0 13px;outline:none;font:inherit}.field>input:focus{border-color:#7db5f7;box-shadow:0 0 0 3px rgba(13,114,244,.08)}.select-wrap svg{position:absolute;width:18px;height:18px;right:12px;top:50%;transform:translateY(-50%);fill:none;stroke:#6d7b94;stroke-width:1.8;pointer-events:none}.calculate{align-self:end;height:49px;border:0;border-radius:12px;background:var(--blue);color:#fff;padding:0 22px;display:flex;align-items:center;justify-content:center;gap:9px;font-weight:700;cursor:pointer;box-shadow:0 8px 24px rgba(13,114,244,.2)}.calculate:hover{background:#0867e4}.calculate svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.calculate.loading{opacity:.7;pointer-events:none}.result-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:16px}.result-card,.side-card{background:white;border:1px solid var(--line);border-radius:22px;box-shadow:0 8px 30px rgba(20,43,84,.045)}.result-card{padding:24px}.result-heading{display:flex;justify-content:space-between;gap:20px;align-items:start}.result-heading small{text-transform:uppercase;letter-spacing:.08em;font-size:10px;color:#657596;font-weight:700}.result-heading h3{font-size:28px;letter-spacing:-.035em;margin:5px 0 5px}.result-heading p{font-size:12px;color:var(--muted);margin:0}.year-pill{font-size:11px;background:#f0f5fb;border:1px solid #e3eaf2;border-radius:999px;padding:8px 10px;color:#566783;white-space:nowrap}.result-grid{display:grid;grid-template-columns:1.15fr .85fr .85fr;gap:11px;margin-top:20px}.metric{min-height:144px;border:1px solid #e7edf4;border-radius:17px;padding:18px;display:flex;align-items:center;gap:14px;background:#fbfdff}.metric.main{background:linear-gradient(135deg,#eefbf5,#e5f8ef);border-color:#ddf1e7}.metric-icon{width:45px;height:45px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto;background:white}.metric-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.metric-icon.road{color:#08a36a}.metric-icon.bolt{color:#f2a516;background:#fff7e6}.metric-icon.gauge{color:#2a76e7;background:#edf5ff}.metric small{display:block;color:#60708c;font-size:11px;margin-bottom:6px}.metric strong{display:block;font-size:28px;letter-spacing:-.04em;margin-bottom:4px}.metric.main strong{font-size:42px;color:#078b5b}.metric span{font-size:11px;color:#6e7c95}.result-note{margin-top:13px;border-radius:13px;background:#f5f8fc;padding:11px 12px;display:flex;align-items:flex-start;gap:9px;color:#65738e;font-size:11px;line-height:1.45}.result-note svg{width:17px;height:17px;flex:0 0 auto;fill:none;stroke:#4176b9;stroke-width:1.8;stroke-linecap:round}.side-stack{display:grid;gap:16px}.side-card{padding:19px}.rate-card small{font-size:11px;color:#667693}.rate-number{font-size:31px;font-weight:700;letter-spacing:-.04em;margin:5px 0 2px}.rate-card p{font-size:11px;color:#74819a;margin:0 0 13px}.rate-row{display:flex;justify-content:space-between;gap:14px;padding-top:10px;margin-top:10px;border-top:1px solid #edf1f6;font-size:11px;color:#6d7a92}.rate-row b{color:#263754}.card-title{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:8px}.card-title h4{font-size:14px;margin:0}.card-title a{font-size:10px;color:var(--blue);font-weight:700}.popular-list{display:grid}.popular-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:10px 0;border-bottom:1px solid #edf1f6}.popular-item:last-child{border-bottom:0}.popular-item b{display:block;font-size:12px;margin-bottom:2px}.popular-item span{font-size:10px;color:#78849a}.popular-item strong{font-size:12px;color:#09895d;white-space:nowrap}.trust-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}.trust-grid>div{background:white;border:1px solid var(--line);border-radius:17px;padding:17px;display:grid;grid-template-columns:auto 1fr;column-gap:11px;align-items:center}.trust-icon{width:38px;height:38px;border-radius:50%;background:#eaf4ff;color:#1b75e8;display:grid;place-items:center;grid-row:1/3}.trust-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.trust-grid b{font-size:13px}.trust-grid p{font-size:10px;color:#71809a;margin:3px 0 0;line-height:1.4}footer{border-top:1px solid var(--line);background:white;padding:28px 0}.footer-row{display:flex;align-items:center;justify-content:space-between;gap:20px}.footer-brand{font-size:18px}.footer-brand .brandmark{width:28px;height:28px}.footer-row p{font-size:11px;color:#79849a;margin:5px 0 0}.footer-links{display:flex;gap:20px;font-size:11px;color:#566582}
@media(max-width:1000px){.desktop-nav{display:none}.nav-cta{margin-left:auto}.hero-shell{grid-template-columns:1fr;min-height:0}.hero-copy{padding:42px 38px 28px}.hero-visual{min-height:340px}.hero-visual:after{background:linear-gradient(180deg,rgba(238,248,255,.35),rgba(238,248,255,0) 30%)}.category-grid{grid-template-columns:repeat(2,1fr)}.finder{grid-template-columns:repeat(2,1fr)}.calculate{grid-column:1/-1}.result-layout{grid-template-columns:1fr}.side-stack{grid-template-columns:1fr 1fr}.result-grid{grid-template-columns:1fr 1fr}.metric.main{grid-column:1/-1}.trust-grid{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:640px){.wrap{width:min(100% - 24px,1240px)}.topbar{height:64px}.brand{font-size:20px}.brandmark{width:31px;height:31px}.nav-cta{display:none}.hero{padding-top:12px}.hero-shell{border-radius:23px}.hero-copy{padding:29px 23px 24px}.hero h1{font-size:41px;line-height:.98}.hero-copy>p{font-size:15px;margin:17px 0 21px}.hero-links{display:grid}.button{width:100%}.hero-visual{min-height:260px}.hero-visual{min-height:330px;aspect-ratio:4/5}.hero-visual picture{position:absolute;inset:0}.hero-visual img{object-position:center 57%;transform:none}.hero-rate{right:12px;top:12px;min-width:164px;padding:11px 12px}.hero-rate strong{font-size:21px}.category-grid{grid-template-columns:1fr;margin-top:10px}.category{min-height:76px}.product-section{padding:48px 0 56px}.section-intro{display:block}.section-intro>p{margin-top:12px}.finder{grid-template-columns:1fr;padding:14px}.calculate{grid-column:auto}.result-card{padding:17px}.result-heading{display:block}.year-pill{display:inline-block;margin-top:12px}.result-heading h3{font-size:23px}.result-grid{grid-template-columns:1fr}.metric.main{grid-column:auto}.metric{min-height:112px;padding:15px}.metric.main strong{font-size:38px}.metric strong{font-size:25px}.side-stack{grid-template-columns:1fr}.trust-grid{grid-template-columns:1fr}.footer-row{display:block}.footer-links{margin-top:18px;flex-wrap:wrap}}

/* header identity synced with utility / solar / EV catalog */
.brand .brand-mark{width:40px;height:40px;display:block;flex:0 0 auto}.brand b{color:#14b75c}.brand{font-weight:600;letter-spacing:-.035em}
@media(max-width:640px){.brand .brand-mark{width:36px;height:36px}.brand{font-size:20px}}


/* v0.10 visual consistency: align homepage with premium inner-product system */
:root{--home-shell:1280px}
body{font-family:var(--cr-font);background:#f6f9fc}
.wrap{width:min(var(--home-shell),calc(100% - 40px))}
.topbar{height:72px}
.navrow{gap:30px}.brand{font-size:23px;font-weight:700;letter-spacing:-.035em}.brand .brand-mark{width:40px;height:40px}
.desktop-nav{gap:25px}.desktop-nav a{font-size:13px;color:#26364d}
.hero{padding-top:18px}.hero-shell{grid-template-columns:48% 52%;min-height:424px;border-radius:26px;box-shadow:0 14px 42px rgba(18,45,72,.07)}
.hero-copy{padding:48px 42px;background:linear-gradient(105deg,#f4f9fd 0%,#edf6ff 84%,rgba(237,246,255,.7) 100%)}
.hero h1{font-size:clamp(46px,4.9vw,66px);line-height:.99;letter-spacing:-.048em;max-width:650px}
.hero-copy>p{font-size:17px;max-width:590px;margin:18px 0 23px}
.hero-visual:after{background:linear-gradient(90deg,rgba(237,246,255,.5),rgba(237,246,255,0) 22%)}
.category-grid{gap:14px}.category{min-height:88px;border-radius:16px;box-shadow:0 7px 22px rgba(24,51,79,.045)}
.product-section{padding-top:54px}.section-intro h2{font-size:clamp(31px,3.7vw,44px)}
.finder{padding:17px;border-radius:18px;box-shadow:0 8px 24px rgba(24,51,79,.055)}
.result-card,.side-card{border-radius:19px}.result-card{padding:22px}.metric{min-height:132px}.metric.main strong{font-size:40px}
.trust-grid>div{border-radius:15px}
@media(max-width:1000px){.hero-shell{grid-template-columns:1fr}.hero-copy{padding:38px 34px 26px}.hero-visual{min-height:330px}}
@media(max-width:640px){
 .wrap{width:min(100% - 24px,var(--home-shell))}.hero-shell{border-radius:20px}.hero-copy{padding:27px 21px 22px}.hero h1{font-size:39px;line-height:1}.hero-copy>p{font-size:15px}.hero-visual{min-height:300px;aspect-ratio:auto}.hero-visual picture{position:static;height:auto}.hero-visual img{height:auto;min-height:300px;object-fit:cover;object-position:center 54%}.hero-rate{right:10px;top:10px}
}

/* Homepage calculator interaction polish 2026-09-29 */
.finder select{min-height:48px;transition:border-color .16s ease,box-shadow .16s ease}
.finder select:focus{border-color:#2b7de9!important;box-shadow:0 0 0 3px rgba(43,125,233,.12)!important;outline:none}
.calculate{min-height:48px;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
.calculate:hover{transform:translateY(-1px)}.calculate:active{transform:translateY(0)}
.calculate.is-busy{pointer-events:none;opacity:.78}.calculate.is-done{box-shadow:0 0 0 4px rgba(14,166,107,.11)}
.result-card.result-updated{animation:crResultFlash .55s ease}
@keyframes crResultFlash{0%{box-shadow:0 0 0 0 rgba(14,166,107,.22)}100%{box-shadow:0 0 0 10px rgba(14,166,107,0)}}
@media(max-width:900px){.finder{grid-template-columns:1fr 1fr!important}.calculate{grid-column:1/-1;width:100%}}
@media(max-width:560px){.finder{grid-template-columns:1fr!important}.calculate{grid-column:auto}.hero-media picture,.hero-media img{width:100%;height:100%;object-fit:cover}.result-grid{grid-template-columns:1fr!important}}


/* v0.7.3 homepage header parity */
.home-head-actions{margin-left:auto;display:flex;align-items:center;gap:10px}
.home-menu-btn{display:none;width:40px;height:40px;padding:9px;border:1px solid #dce5ed;border-radius:10px;background:#fff;cursor:pointer}
.home-menu-btn span{display:block;height:2px;background:#21344b;border-radius:2px;margin:4px 0}
.home-mobile-nav{display:none;background:#fff;border-top:1px solid #edf2f6;box-shadow:0 14px 24px rgba(17,40,67,.08)}
.home-mobile-nav.open{display:block}
.home-mobile-nav .wrap{display:grid;padding:10px 0 14px}
.home-mobile-nav a{padding:11px 2px;font-weight:600;font-size:14px;color:#273a51;border-bottom:1px solid #f0f4f7}
.home-mobile-nav a:last-child{border-bottom:0}
@media(max-width:1000px){.home-menu-btn{display:block}.home-head-actions{margin-left:auto}}
@media(max-width:640px){
  .topbar{height:64px}
  .brand .brand-mark{width:36px;height:36px}
  .brand{font-size:20px}
  .home-head-actions{gap:8px}
  .home-menu-btn{display:block;flex:0 0 auto}
  .nav-cta{display:none}
}


/* v0.7.7 homepage product completion */
.result-layout{align-items:start}
.result-card,.side-stack{align-self:start}
.home-result-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.home-result-grid .metric.main,.home-result-grid .metric:nth-child(4){grid-column:auto}
.vehicle-summary{margin-top:13px;border:1px solid #e7edf4;border-radius:15px;padding:13px 14px;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.9fr);gap:18px;align-items:center;background:#fff}
.vehicle-summary-main{display:flex;align-items:center;gap:12px;min-width:0}.vehicle-brand-mark{width:48px;height:42px;border-radius:11px;border:1px solid #e7edf4;background:#fbfdff;display:grid;place-items:center;flex:0 0 auto;padding:7px}.vehicle-brand-mark[hidden]{display:none}.vehicle-brand-mark img{max-width:100%;max-height:100%;object-fit:contain}.vehicle-summary small,.vehicle-summary span{display:block;font-size:10px;color:#71809a}.vehicle-summary b{display:block;font-size:13px;margin:2px 0 1px;color:#263754}.vehicle-summary-rate{padding-left:18px;border-left:1px solid #e8edf3}.vehicle-summary-rate b{white-space:normal}
.rate-card-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.rate-rank{font-size:10px;font-weight:700;color:#49617e;background:#f1f5f9;border:1px solid #e2e9f0;border-radius:999px;padding:6px 8px;white-space:nowrap}.rate-compare{position:relative;height:8px;border-radius:999px;background:linear-gradient(90deg,#d9eaf8,#b7d7f0 45%,#ffd9b0 72%,#f3a76d);margin:13px 2px 5px}.rate-compare span{position:absolute;top:50%;width:3px;height:16px;border-radius:2px;transform:translate(-50%,-50%)}.rate-us-marker{background:#64748b}.rate-state-marker{background:#0b2038;box-shadow:0 0 0 2px #fff}.rate-scale{display:flex;justify-content:space-between;font-size:9px;color:#8591a4;margin-bottom:4px}
.popular-item{grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 0}.popular-logo{width:38px;height:34px;border-radius:9px;background:#f8fafc;border:1px solid #e8edf3;display:grid;place-items:center;padding:6px}.popular-logo[hidden]{display:none}.popular-logo img{max-width:100%;max-height:100%;object-fit:contain}.popular-copy{min-width:0}.popular-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.popular-cost{text-align:right}.popular-cost strong{display:block}.popular-cost span{font-size:9px;color:#7b889b}
.result-layout,.result-card,.side-stack,.side-card,.home-result-grid,.metric,.vehicle-summary,.vehicle-summary-main,.vehicle-summary-rate,.popular-list,.popular-item,.popular-copy{min-width:0}
@media(max-width:1000px){.result-layout{grid-template-columns:minmax(0,1fr)}.side-stack{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.vehicle-summary{grid-template-columns:1fr}.vehicle-summary-rate{padding-left:0;padding-top:12px;border-left:0;border-top:1px solid #e8edf3}}
@media(max-width:640px){.side-stack{grid-template-columns:minmax(0,1fr)}.home-result-grid{grid-template-columns:minmax(0,1fr)}.vehicle-summary{padding:12px}.popular-item{grid-template-columns:38px minmax(0,1fr) auto;width:100%}.popular-logo{width:34px;height:32px}.popular-cost{min-width:64px}.rate-card-top{align-items:center}}

.vehicle-summary-rate b span{display:inline}.vehicle-summary-rate b{display:block}
.popular-item:has(.popular-logo[hidden]){grid-template-columns:minmax(0,1fr) auto}
@media(max-width:640px){.popular-item:has(.popular-logo[hidden]){grid-template-columns:minmax(0,1fr) auto}}
.result-actions{display:flex;justify-content:flex-end;margin-top:18px}.result-detail-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border:1px solid rgba(18,48,74,.14);border-radius:12px;background:#fff;color:#12304a;font-weight:700;text-decoration:none}.result-detail-link:hover{border-color:rgba(18,48,74,.28);background:#f8fbfd}@media(max-width:700px){.result-actions{justify-content:stretch}.result-detail-link{width:100%;justify-content:center}}

/* v0.8.1 CalcuRiver three-pillar homepage foundation */
.home-core-section{border-top:1px solid #e7edf4;padding:62px 0 68px}
.home-core-section:nth-of-type(even){background:#f9fbfd}
.home-core-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);gap:16px;align-items:start}
.home-core-form{background:#fff;border:1px solid var(--line);border-radius:19px;padding:18px;box-shadow:0 8px 28px rgba(20,43,84,.045);min-width:0}
.home-core-fields{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1fr) minmax(0,1fr) auto;gap:12px;align-items:end}
.home-core-fields-compact{grid-template-columns:minmax(0,.95fr) minmax(0,1.1fr) auto}
.home-core-form .field{min-width:0}
.unit-input{position:relative}.unit-input input{width:100%;height:49px;border:1px solid #d9e3ef;border-radius:12px;background:#fbfdff;color:#172444;padding:0 72px 0 13px;outline:none;font:inherit;min-width:0}.unit-input input:focus{border-color:#7db5f7;box-shadow:0 0 0 3px rgba(13,114,244,.08)}.unit-input span{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:10px;color:#7a879c;font-weight:700;pointer-events:none}
.home-core-calculate{white-space:nowrap;padding-inline:18px}
.home-core-helper{margin-top:13px;padding-top:12px;border-top:1px solid #edf2f6;color:#71809a;font-size:10px;line-height:1.5}
.home-core-result{align-self:start;min-width:0;border-radius:19px;padding:22px;background:linear-gradient(145deg,#0d2439,#122f4b);color:#fff;box-shadow:0 12px 32px rgba(11,32,52,.12)}
.home-core-result>div:first-child small{display:block;text-transform:uppercase;letter-spacing:.08em;font-size:9px;font-weight:700;color:#9fb2c7}.home-core-result>div:first-child strong{display:block;font-size:40px;line-height:1;letter-spacing:-.045em;margin:8px 0 7px}.home-core-result>div:first-child>span{display:block;font-size:11px;color:#b8c7d6}
.home-core-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:18px}.home-core-metrics>div{min-width:0;padding:12px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:rgba(255,255,255,.045)}.home-core-metrics span{display:block;font-size:9px;color:#9fb2c7;margin-bottom:5px}.home-core-metrics b{display:block;font-size:14px;color:#fff;overflow-wrap:anywhere}
.home-core-detail{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:17px;padding-top:14px;border-top:1px solid rgba(255,255,255,.12);color:#fff;font-size:11px;font-weight:700;text-decoration:none}.home-core-detail span{font-size:17px}.home-core-detail:hover{color:#d6ecff}
.home-core-result.result-updated{animation:crDarkResultFlash .55s ease}@keyframes crDarkResultFlash{0%{box-shadow:0 0 0 0 rgba(46,149,239,.25),0 12px 32px rgba(11,32,52,.12)}100%{box-shadow:0 0 0 10px rgba(46,149,239,0),0 12px 32px rgba(11,32,52,.12)}}
.solar-home-section .home-core-result{background:linear-gradient(145deg,#173227,#12402d)}
.appliance-home-section .home-core-result{background:linear-gradient(145deg,#18283d,#243c5b)}
.category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1000px){.home-core-layout{grid-template-columns:1fr}.home-core-fields,.home-core-fields-compact{grid-template-columns:repeat(2,minmax(0,1fr))}.home-core-calculate{grid-column:1/-1;width:100%}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.home-core-section{padding:46px 0 52px}.home-core-fields,.home-core-fields-compact{grid-template-columns:minmax(0,1fr)}.home-core-calculate{grid-column:auto}.home-core-form{padding:14px}.home-core-result{padding:18px}.home-core-result>div:first-child strong{font-size:34px}.home-core-metrics{grid-template-columns:1fr}.category-grid{grid-template-columns:1fr}}

/* v0.12.4 input UX bugfix: remove native number spinners and preserve readable value space */
input[type="number"]{-moz-appearance:textfield;appearance:textfield;font-variant-numeric:tabular-nums}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.field>input[type="number"]{padding-left:13px;padding-right:13px;min-width:0;line-height:normal}
.unit-input input[type="number"]{padding-left:13px;padding-right:72px;min-width:0;line-height:normal}
input[type="number"]:focus{outline:none}
@media(max-width:430px){
  .field>input[type="number"],.unit-input input[type="number"]{font-size:16px}
  .unit-input input[type="number"]{padding-right:68px}
}

/* v0.12.5 calculate affordance + result scroll target */
.calculate svg{display:none!important}.result-card,.home-core-result{scroll-margin-top:88px}


/* v0.12.6 global visual system cleanup — match inner-site rhythm without redesign */
:root{
  --cr-shell:1280px;
  --cr-space-1:8px;
  --cr-space-2:16px;
  --cr-space-3:20px;
  --cr-space-4:24px;
  --cr-section:56px;
  --cr-section-mobile:44px;
}
body{font-weight:400}
.wrap{width:min(var(--cr-shell),calc(100% - 40px))}
.topbar{height:68px}
.navrow{gap:28px}
.brand{font-size:22px;font-weight:700;letter-spacing:-.035em}
.brandmark{width:36px;height:36px}
.desktop-nav{gap:24px}
.desktop-nav a{font-size:14px;font-weight:600}
.nav-cta{font-size:14px;font-weight:600;padding:9px 13px}
.category-grid{gap:12px;margin-top:16px}
.product-section{padding:var(--cr-section) 0 64px}
.home-core-section{padding:var(--cr-section) 0 64px}
.section-intro{gap:24px;margin-bottom:24px}
.finder{gap:12px;padding:20px;margin-bottom:16px}
.result-card{padding:24px}
.trust-grid{gap:12px;margin-top:16px}
@media(max-width:640px){
  .wrap{width:min(100% - 24px,var(--cr-shell))}
  .topbar{height:64px}
  .brand{font-size:20px}
  .brand .brandmark{width:36px;height:36px}
  .navrow{gap:12px}
  .product-section,.home-core-section{padding:var(--cr-section-mobile) 0 48px}
  .finder{padding:14px}
}

/* v0.12.7 alignment normalization */
.result-layout{align-items:start}
.result-card,.side-stack{align-self:start}
.section-intro{align-items:flex-end}
.home-core-layout{align-items:stretch}
.home-core-form,.home-core-result{height:100%}
.home-core-result{align-self:stretch}
.side-stack{gap:16px}
.footer-row{align-items:center}
.footer-links{align-items:center}
@media(max-width:640px){
  .side-stack{gap:16px}
  .footer-row{display:grid;grid-template-columns:1fr;align-items:start;gap:16px}
  .footer-links{margin-top:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;align-items:start}
}

/* v0.12.8 — Option A color system */
:root{
  --ink:#21344B;
  --muted:#62708C;
  --line:#D9E3EF;
  --blue:#2B7DE9;
  --green:#14B75C;
  --soft:#F8FAFC;
  --card:#FBFDFF;
}
body{background:#F8FAFC;color:#21344B}
.topbar,footer{background:rgba(251,253,255,.96)}
.desktop-nav a{color:#21344B}
.nav-cta,.button.secondary,.finder,.result-card,.side-card,.trust-grid>div{background:#FBFDFF}
.select-wrap select,.field>input,.unit-input input,.metric,.vehicle-brand-mark{background:#FBFDFF;color:#21344B;border-color:#D9E3EF}
.calculate,.button.primary{background:#2B7DE9}
.calculate:hover,.button.primary:hover{background:#256FD3}
.brand b{color:#14B75C}
.metric.main{background:linear-gradient(135deg,#EEF8F2,#E7F6ED);border-color:#D8EDDF}
.metric.main strong,.popular-item strong{color:#14A65A}
.result-note{background:#F8FAFC}
/* Dark result families: keep dark cards, but move away from near-black navy. */
.solar-result-card,.bill-result-card,.home-energy-result-card,
body[data-calc="solar"] .result-card.dark,
body[data-calc="bill"] .result-card.dark,
body[data-calc="appliance"] .result-card.dark{
  background:linear-gradient(145deg,#1D3552 0%,#274665 100%)!important;
}
/* Option A: all homepage core result surfaces share one navy family; green remains semantic accent only. */
.home-core-result,
.solar-home-section .home-core-result,
.appliance-home-section .home-core-result{
  background:linear-gradient(145deg,#1D3552 0%,#274665 100%)!important;
  box-shadow:0 12px 32px rgba(29,53,82,.14);
}
/* Accessible filled-action companion to Option A blue. */
.button.primary,.calculate,.home-core-calculate{background:#256FD3!important}
.button.primary:hover,.calculate:hover,.home-core-calculate:hover{background:#1F63C4!important}

/* v0.12.10 — footer brand standardization */
.footer-brand-standard{display:inline-flex;align-items:center;gap:8px;font-size:18px;font-weight:700;letter-spacing:-.035em;color:#21344B}
.footer-brand-standard .brand-mark{width:30px;height:30px;display:block;flex:0 0 auto}
.footer-brand-standard b{color:#14B75C}
@media(max-width:640px){.footer-brand-standard .brand-mark{width:28px;height:28px}}

/* v0.16.4.2 — shared global header normalization */
.site-header.premium-header{height:68px;background:rgba(251,253,255,.96);border-bottom:1px solid #D9E3EF;position:sticky;top:0;z-index:50;backdrop-filter:blur(12px)}
.site-header .header-inner{height:100%;display:flex;align-items:center;gap:28px}
.site-header .brand{font-size:22px;font-weight:700;letter-spacing:-.5px}
.site-header .brand-mark{width:36px;height:36px}
.site-header .desktop-nav{gap:24px;margin-left:12px}
.site-header .desktop-nav a{font-size:14px;font-weight:600;color:#21344B}
.site-header .head-actions{margin-left:auto;display:flex;align-items:center;gap:10px}
.site-header .menu-btn{width:40px;height:40px;padding:9px;border:1px solid #dce5ed;border-radius:10px;background:#fff}
.site-header .menu-btn span{display:block;height:2px;background:#21344b;border-radius:2px;margin:4px 0}
@media(max-width:1100px){.site-header .desktop-nav{display:none}.site-header .menu-btn{display:block}}
@media(max-width:700px){.site-header.premium-header{height:64px}.site-header .brand{font-size:20px}.site-header .brand-mark{width:36px;height:36px}.site-header .header-inner{gap:12px}}

/* v0.16.4.3 — homepage product result themes */
.solar-home-section .home-core-result{
  background:radial-gradient(circle at 90% 8%,rgba(237,203,91,.18),transparent 31%),linear-gradient(145deg,#5f4e19 0%,#75601f 58%,#877029 100%)!important;
  box-shadow:0 12px 32px rgba(83,65,18,.16)!important;
}
.bill-home-section .home-core-result{
  background:radial-gradient(circle at 90% 8%,rgba(87,192,174,.18),transparent 31%),linear-gradient(145deg,#123d39 0%,#174c46 58%,#1d5d55 100%)!important;
  box-shadow:0 12px 32px rgba(15,61,56,.16)!important;
}
.appliance-home-section .home-core-result{
  background:radial-gradient(circle at 90% 8%,rgba(118,175,197,.15),transparent 31%),linear-gradient(145deg,#273f4b 0%,#2f4858 58%,#395868 100%)!important;
  box-shadow:0 12px 32px rgba(39,63,75,.15)!important;
}
.solar-home-section .home-core-result *,
.bill-home-section .home-core-result *,
.appliance-home-section .home-core-result *{color:#fff}
.solar-home-section .home-core-result small,
.solar-home-section .home-core-result span,
.bill-home-section .home-core-result small,
.bill-home-section .home-core-result span,
.appliance-home-section .home-core-result small,
.appliance-home-section .home-core-result span{color:rgba(255,255,255,.72)!important}

/* v0.16.4.4 — Battery discoverability without adding another homepage calculator */
.cat-icon.battery{background:#eeedf8;color:#4b4b78}
.category-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:1180px){.category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.category-grid{grid-template-columns:1fr}}

/* v0.18.0.2 — Palette C homepage calculator themes */
#ev-calc .calculate{background:#12304a!important;color:#fff!important;box-shadow:0 8px 24px rgba(18,48,74,.20)!important}
#ev-calc .calculate:hover{background:#0f293f!important}
#solar-calc .calculate{background:#a15c32!important;color:#fff!important;box-shadow:0 8px 24px rgba(161,92,50,.20)!important}
#solar-calc .calculate:hover{background:#8e4f2a!important}
#bill-calc .calculate{background:#1c6258!important;color:#fff!important;box-shadow:0 8px 24px rgba(28,98,88,.20)!important}
#bill-calc .calculate:hover{background:#174f48!important}
#home-energy-calc .calculate{background:#2f4858!important;color:#fff!important;box-shadow:0 8px 24px rgba(47,72,88,.19)!important}
#home-energy-calc .calculate:hover{background:#273c49!important}

.solar-home-section .home-core-result{background:radial-gradient(circle at 90% 8%,rgba(225,150,103,.18),transparent 31%),linear-gradient(145deg,#874825 0%,#a15c32 58%,#b96c3c 100%)!important;box-shadow:0 12px 32px rgba(126,66,34,.18)!important}
.bill-home-section .home-core-result{background:radial-gradient(circle at 90% 8%,rgba(100,210,190,.18),transparent 31%),linear-gradient(145deg,#165148 0%,#1c6258 58%,#25766a 100%)!important;box-shadow:0 12px 32px rgba(20,79,70,.18)!important}
.appliance-home-section .home-core-result{background:radial-gradient(circle at 90% 8%,rgba(118,175,197,.15),transparent 31%),linear-gradient(145deg,#273f4b 0%,#2f4858 58%,#395868 100%)!important;box-shadow:0 12px 32px rgba(39,63,75,.15)!important}

/* v0.20.2 platform hub identity */
.cat-icon.ownership{background:#edf1f6;color:#12304a}

/* v0.38.0 visual consistency — optical SVG alignment, not just box centering */
.cat-icon{position:relative}
.cat-icon.car svg{width:23.5px;height:23.5px;transform:translateY(.8px)}
.cat-icon.sun svg{width:21.5px;height:21.5px;transform:translateY(.15px)}
.cat-icon.bars svg{width:21px;height:21px;transform:translateY(.55px)}
.cat-icon.plug svg{width:21.5px;height:21.5px;transform:translateY(.45px)}
.cat-icon.ownership svg{width:22.75px;height:22.75px;transform:translateY(-.2px)}
.category>span:nth-child(2){min-width:0}
.category>i{line-height:1;transform:translateY(-.5px)}
.trust-icon svg{transform:translateY(.2px)}
.metric-icon.road svg{transform:translateY(.45px)}
.metric-icon.bolt svg{transform:translateY(.2px)}
.metric-icon.gauge svg{transform:translateY(.4px)}

/* v0.40.2 — homepage interaction parity with inner-product cards. */
.category:focus-visible,
.popular-item:focus-visible,
.result-detail-link:focus-visible,
.footer-links a:focus-visible{
  outline:3px solid rgba(43,125,233,.22);
  outline-offset:3px;
}
.category:focus-visible{border-color:#bfd2e3;background:#fff}

/* v0.41.0 — homepage manufacturer identity parity */
.popular-item{grid-template-columns:46px minmax(0,1fr) auto;}
.popular-logo{width:44px;height:32px;padding:2px;overflow:visible;}
.popular-logo img,.vehicle-brand-mark img{display:block;will-change:transform;}
.popular-logo.logo-ready,.vehicle-brand-mark.logo-ready{visibility:visible;}
@media(max-width:640px){
  .popular-item{grid-template-columns:44px minmax(0,1fr) auto;}
  .popular-logo{width:42px;height:30px;padding:2px;}
}

/* v0.41.2 — homepage readability pass */
:is(
  .eyebrow,.featured,.hero-rate small,.hero-rate span,.category small,.field label,
  .result-heading small,.year-pill,.metric small,.metric span,.result-note,.rate-card small,
  .rate-card p,.rate-row,.card-title a,.popular-item span,.trust-grid p,.footer-row p,
  .footer-links,.vehicle-summary small,.vehicle-summary span,.rate-rank,.rate-scale,
  .popular-cost span,.unit-input span,.home-core-helper,.home-core-result>div:first-child small,
  .home-core-result>div:first-child>span,.home-core-metrics span,.home-core-detail
){font-size:12px!important;line-height:1.45}

/* v0.42.1 homepage calculator typography parity */
.finder .field label{font-size:13px;line-height:1.35;font-weight:700;letter-spacing:.005em}
.finder select,.finder input,.unit-input input{font-size:16px;line-height:1.2}
.result-heading small{font-size:12px;line-height:1.35}
.result-heading p{font-size:13px;line-height:1.5}
.year-pill{font-size:12px;line-height:1.2}
.metric small{font-size:13px;line-height:1.35}
.metric span{font-size:12px;line-height:1.4}
.result-note{font-size:13px;line-height:1.5}
.rate-card small,.rate-card p,.rate-row{font-size:12px;line-height:1.45}
.card-title a{font-size:12px}
.popular-item b{font-size:13px}
.popular-item span,.popular-cost span{font-size:12px;line-height:1.35}
.popular-item strong{font-size:13px}
.trust-grid p{font-size:12px;line-height:1.45}
.vehicle-summary small,.vehicle-summary span{font-size:12px;line-height:1.35}
.vehicle-summary b{font-size:14px}
.rate-rank{font-size:12px}
.rate-scale{font-size:11px}
.unit-input span{font-size:12px}
.home-core-helper{font-size:12px;line-height:1.5}
.home-core-result>div:first-child small{font-size:12px}
.home-core-result>div:first-child>span{font-size:13px}
.home-core-metrics span{font-size:12px;line-height:1.35}
.home-core-metrics b{font-size:15px}
.home-core-detail{font-size:13px}

/* v0.42.3 — homepage responsive typography final normalization */
.rate-scale,.popular-cost span{font-size:12px!important;line-height:1.35}
@media(max-width:700px){
  .finder select,.finder input,.unit-input input{font-size:16px!important}
}

/* v0.42.5 — homepage logo geometry normalization. The actual painted mark is
   cropped before fitting, so whitespace in source files cannot make Audi,
   Polestar, Acura or Kia look tiny, and Tesla/Rivian cannot overfill the slot. */
.popular-logo,.vehicle-brand-mark{overflow:hidden!important}
.popular-logo img.logo-geometry-normalized{
  width:82%!important;height:78%!important;max-width:82%!important;max-height:78%!important;object-fit:contain!important;transform:none!important;margin:auto;
}
.vehicle-brand-mark img.logo-geometry-normalized{
  width:80%!important;height:78%!important;max-width:80%!important;max-height:78%!important;object-fit:contain!important;transform:none!important;margin:auto;
}

/* v0.42.7 — EV result/identity alignment root-cause fix.
   Generic span rules were overriding the grid centering of these shells. */
.metric .metric-icon{
  display:grid;
  place-items:center;
}
.vehicle-summary .vehicle-brand-mark{
  display:grid;
  place-items:center;
}
.metric-icon.road svg,
.metric-icon.bolt svg,
.metric-icon.gauge svg{
  transform:none;
}
