/* Reference-led hero, using the approved NEXA brand palette. */
:root{--hero-glass:rgba(255,255,255,.5);--hero-panel:rgba(255,255,255,.9);--hero-border:rgba(255,255,255,.8);--hero-line:#deebe3;--hero-soft:#edf5ef;--hero-shadow:0 26px 90px -15px #07151130,0 0 0 1px #ffffff70;--font-body:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;--font-display:var(--font-body)}
body{font-family:var(--font-body)}.site-header{background:#ffffffee;border-bottom-color:#0b1f3808}.desktop-nav a{color:var(--nexa-muted);font-size:.875rem}.nav-cta{background:var(--nexa-action);min-height:42px;font-size:.8125rem;padding-inline:20px}
.hero-reference{position:relative;isolation:isolate;min-height:calc(100svh - var(--nav-height));padding:36px 24px 64px;background:var(--nexa-cloud);overflow:hidden}
.hero-atmosphere{position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 50% 0%,#fff 10%,#f3faf5 42%,#b6d7c5 100%)}.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center bottom;opacity:0;transition:opacity .8s}.hero-video.is-playing{opacity:1}.hero-wash{position:absolute;inset:0;background:linear-gradient(180deg,#ffffffb8 0%,#ffffff70 32%,#ffffff12 66%,#ffffff20 100%)}.hero-reference .hero-copy{max-width:850px;margin:auto}.hero-badge{display:inline-flex;border:1px solid #b9d5c6;border-radius:50px;padding:7px 15px;background:#ffffffc9;box-shadow:0 3px 10px #123d2010;color:var(--nexa-action);font-size:.75rem;letter-spacing:.085em;font-weight:500;margin-bottom:18px}.hero-reference .hero-eyebrow{font-size:.75rem;letter-spacing:.13em;margin-bottom:12px;color:var(--nexa-muted)}.hero-reference h1{font-size:clamp(4.5rem,6.5vw,6rem);line-height:.98;letter-spacing:-.055em;font-weight:550}.hero-reference h1 span{font-family:var(--font-display);font-style:normal;font-weight:600;font-size:1em;line-height:1.06;letter-spacing:-.055em;color:var(--nexa-green)}html[lang=zh] .hero-reference h1{font-size:clamp(3.1rem,5vw,4.6rem);line-height:1.2;font-weight:550}html[lang=zh] .hero-reference h1 span{font-family:var(--font-body);font-style:normal;font-size:1em;line-height:1.2}.hero-reference .hero-description{font-size:1rem;line-height:1.55;margin-top:18px;color:#4b6055}.hero-reference .hero-description br{display:none}.hero-reference .hero-actions{margin-top:20px;gap:22px;flex-direction:row}.hero-reference .button{min-height:48px;padding:12px 25px;font-size:.875rem}.hero-play{display:inline-flex;align-items:center;gap:10px;font-size:.8125rem;color:var(--nexa-ink);min-height:48px}.hero-play>span{display:grid;place-items:center;width:42px;height:42px;background:#fffffff0;border-radius:50%;box-shadow:0 2px 12px #0b1f3810;transition:transform .2s}.hero-play .icon{width:18px;height:18px;fill:currentColor;stroke-width:0}.hero-play:hover>span{transform:scale(1.08)}
.hero-dashboard{position:relative;margin:32px auto 0;max-width:1072px;background:var(--hero-glass);padding:12px;border-radius:22px;border:1px solid var(--hero-border);box-shadow:var(--hero-shadow);backdrop-filter:blur(16px);text-align:left}.dashboard-shell{background:var(--hero-panel);border:1px solid #fff;border-radius:13px;overflow:hidden}.dashboard-topbar{min-height:64px;padding:14px 24px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--hero-line);background:#ffffffc9}.dashboard-brand{display:flex;align-items:center;gap:18px}.dashboard-brand>img{display:block;width:108px;mix-blend-mode:multiply}.dashboard-brand>span{font-size:.75rem;color:var(--nexa-muted);padding-left:18px;border-left:1px solid var(--hero-line)}.dashboard-demo{font-size:.75rem;color:var(--nexa-muted)}.dashboard-profile{display:flex;align-items:center;gap:9px;font-size:.8125rem}.dashboard-profile>.icon{width:17px;height:17px;color:var(--nexa-action)}.dashboard-layout{display:grid;grid-template-columns:160px minmax(0,1fr)}.dashboard-sidebar{padding:20px 12px 16px;border-right:1px solid var(--hero-line);display:flex;flex-direction:column;gap:5px}.dashboard-sidebar>a,.dashboard-sidebar>span,.dashboard-sidebar-bottom>a{display:flex;align-items:center;gap:10px;min-height:44px;padding:10px;border-radius:8px;font-size:.8125rem;color:var(--nexa-muted)}.dashboard-sidebar .icon{width:18px;height:18px}.dashboard-sidebar .dashboard-active{color:var(--nexa-action);background:#e8f4eb;font-weight:500}.dashboard-sidebar a:hover{background:var(--hero-soft);color:var(--nexa-action)}.dashboard-sidebar-bottom{margin-top:auto;padding-top:36px}.dashboard-sidebar-bottom>span{display:block;font-size:.625rem;letter-spacing:.08em;color:var(--nexa-muted);padding:12px 10px}.dashboard-main{padding:23px 24px 24px;min-width:0;background:#f5faf660}.dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.dashboard-heading h2{font-size:1.3rem;letter-spacing:-.035em;line-height:1.25}.dashboard-heading p{font-size:.8125rem;color:var(--nexa-muted);margin-top:6px}.dashboard-scene{font-size:.75rem;color:var(--nexa-action);padding:7px 10px;border:1px solid #cbe3d3;border-radius:40px;background:#f4faf4;white-space:nowrap}.dashboard-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.dashboard-metric{position:relative;border:1px solid var(--hero-line);background:#ffffffd6;border-radius:10px;padding:16px 14px}.dashboard-metric>.icon{width:18px;height:18px;color:var(--nexa-action);margin-bottom:10px}.dashboard-metric>span{display:block;font-size:.75rem;color:var(--nexa-muted);line-height:1.4}.dashboard-metric>strong{display:block;font-size:1.65rem;line-height:1.2;letter-spacing:-.04em;margin-top:6px;font-weight:500;font-variant-numeric:tabular-nums}.dashboard-metric small{font-size:.75rem;letter-spacing:0;color:var(--nexa-muted);font-weight:400}.dashboard-panels{display:grid;grid-template-columns:1.35fr 1fr;gap:14px}.dashboard-energy,.dashboard-home{border:1px solid var(--hero-line);background:#ffffffe3;border-radius:10px;padding:18px 16px;min-width:0;overflow:hidden}.dashboard-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.dashboard-panel-heading h3{font-size:.875rem;letter-spacing:-.02em;font-weight:550;line-height:1.4}.dashboard-panel-heading>span{font-size:.75rem;color:var(--nexa-muted)}.dashboard-panel-heading>.icon{width:18px;height:18px;color:var(--nexa-action)}.dashboard-legend{display:flex;gap:16px;margin:14px 0 10px;font-size:.75rem;color:var(--nexa-muted)}.dashboard-legend span{display:flex;gap:6px;align-items:center}.dashboard-legend i{width:12px;height:3px;border-radius:2px;background:var(--nexa-action)}.dashboard-legend span+span i{background:var(--nexa-ink)}.dashboard-chart{display:block;width:100%;height:105px;overflow:visible}.chart-grid{fill:none;stroke:var(--hero-line);stroke-width:1;stroke-dasharray:3 6}.chart-solar{fill:none;stroke:var(--nexa-action);stroke-width:2.5;stroke-linecap:round}.chart-home{fill:none;stroke:var(--nexa-ink);stroke-width:1.8;opacity:.7}.dashboard-hours{display:flex;justify-content:space-between;font-size:.75rem;color:var(--nexa-muted);margin-top:8px}.dashboard-allocation{display:flex;align-items:center;gap:10px;font-size:.75rem;color:var(--nexa-muted);border-top:1px solid var(--hero-line);padding-top:16px;margin-top:18px;flex-wrap:wrap}.dashboard-allocation>div{height:5px;display:flex;gap:3px;width:100%;order:1}.dashboard-allocation>span:last-child{margin-left:auto}.dashboard-allocation i{width:var(--portion);background:var(--nexa-action);border-radius:5px}.dashboard-allocation i:nth-child(2){background:var(--nexa-green)}.dashboard-allocation i:nth-child(3){background:var(--nexa-sky)}.dashboard-home{position:relative;background:linear-gradient(145deg,#fff,#eff8f2);padding-bottom:8px}.dashboard-house{position:relative}.dashboard-house picture{width:calc(100% + 36px);margin:8px -18px -13px}.dashboard-house img{display:block;mix-blend-mode:multiply}.dashboard-solar-label{position:absolute;top:16px;right:0;display:flex;gap:5px;align-items:center;padding:6px 8px;border:1px solid #c9e3d1;border-radius:50px;font-size:.75rem;background:#ffffffed;color:var(--nexa-action);box-shadow:0 4px 12px #143c1610}.dashboard-solar-label>.icon{width:14px;height:14px}.dashboard-house-note{text-align:center;font-size:.75rem;color:var(--nexa-muted);margin-top:0}.dashboard-device-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}.dashboard-device-row>button{display:flex;align-items:center;gap:8px;padding:12px 10px;border:1px solid var(--hero-line);border-radius:9px;background:#fff;text-align:left;min-height:66px;transition:background .2s,border-color .2s}.dashboard-device-row>button:hover{background:var(--hero-soft);border-color:#90c7a1}.dashboard-device-row>button>.icon:first-child{width:21px;height:21px;color:var(--nexa-action)}.dashboard-device-row>button>.icon:last-child{width:14px;height:14px;margin-left:auto;color:var(--nexa-muted)}.dashboard-device-row strong{display:block;font-size:.75rem;font-weight:500;line-height:1.4}.dashboard-device-row small{display:block;font-size:.75rem;color:var(--nexa-muted);line-height:1.5}.dashboard-device-row b{font-size:.75rem;font-weight:500;white-space:nowrap;margin-left:auto}.hero-motion{display:flex;align-items:center;gap:7px;min-height:44px;border:1px solid #ffffffd0;border-radius:50px;background:#fffffff0;color:var(--nexa-ink);padding:7px 13px;font-size:.75rem;position:relative;margin:18px auto -44px;width:max-content}.hero-motion>.icon{width:15px;height:15px}.hero-motion:disabled{opacity:.9}html:not(.js-ready) .hero-motion{display:none}.large-type .hero-reference{min-height:0}.large-type .dashboard-layout{grid-template-columns:1fr}.large-type .dashboard-sidebar{display:none}.large-type .dashboard-panels{grid-template-columns:1fr}.large-type .dashboard-topbar,.large-type .dashboard-heading{flex-wrap:wrap}.large-type .dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.large-type .dashboard-device-row{grid-template-columns:1fr}.large-type .dashboard-home{display:none}
@media(min-width:1200px) and (min-height:850px){.hero-reference{padding-top:48px}.hero-reference h1{font-size:6rem}.hero-dashboard{margin-top:36px}}
@media(max-width:1100px){.hero-reference{padding-inline:24px}.hero-dashboard{max-width:960px}.dashboard-layout{grid-template-columns:140px minmax(0,1fr)}.dashboard-main{padding:20px 16px}.dashboard-scene{display:none}.dashboard-device-row{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-device-row b{display:none}.dashboard-topbar{padding:14px 18px}}
@media(max-width:767px){.hero-reference{padding:36px 16px 58px;min-height:0}.hero-badge{font-size:.6875rem;letter-spacing:.055em;padding:7px 11px;margin-bottom:19px}.hero-reference .hero-eyebrow{font-size:.6875rem;letter-spacing:.08em;margin-bottom:15px}.hero-reference h1{font-size:clamp(3.4rem,14.4vw,5.5rem)}html[lang=zh] .hero-reference h1{font-size:clamp(2.8rem,10.8vw,4.5rem)}.hero-reference .hero-description{font-size:1rem;line-height:1.65;max-width:350px;margin:20px auto 0;padding:0 7px}.hero-reference .hero-description br{display:block}.hero-reference .hero-actions{gap:10px;flex-wrap:wrap;margin:22px 0 0}.hero-reference .button{font-size:.8125rem;padding-inline:18px}.hero-play{font-size:.75rem;gap:7px}.hero-play>span{width:38px;height:38px}.hero-dashboard{margin-top:30px;padding:7px;border-radius:18px}.dashboard-shell{border-radius:11px}.dashboard-topbar{padding:12px 14px;min-height:56px;gap:10px}.dashboard-brand>img{width:96px}.dashboard-brand>span,.dashboard-profile{display:none}.dashboard-demo{font-size:.75rem;max-width:145px;text-align:right;line-height:1.5}.dashboard-layout{display:block}.dashboard-sidebar{display:none}.dashboard-main{padding:18px 12px 14px}.dashboard-heading{margin-bottom:18px}.dashboard-heading h2{font-size:1.25rem}.dashboard-heading p{font-size:.8125rem;line-height:1.5}.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:12px}.dashboard-metric{padding:13px 12px}.dashboard-metric>.icon{position:absolute;right:12px;top:12px;width:16px;height:16px;margin:0}.dashboard-metric>span{font-size:.75rem;padding-right:18px}.dashboard-metric>strong{font-size:1.7rem;margin-top:8px}.dashboard-panels{grid-template-columns:1fr;gap:12px}.dashboard-energy{padding:16px 12px}.dashboard-panel-heading h3{font-size:.875rem}.dashboard-panel-heading>span{font-size:.75rem}.dashboard-chart{height:115px}.dashboard-home{display:none}.dashboard-device-row{grid-template-columns:1fr;gap:8px;margin-top:12px}.dashboard-device-row>button{min-height:56px;padding:10px 12px;gap:12px}.dashboard-device-row>button>.icon:first-child{width:22px;height:22px}.dashboard-device-row strong{font-size:.875rem}.dashboard-device-row small{font-size:.75rem}.dashboard-device-row b{display:block;font-size:.8125rem}.dashboard-device-row>button>.icon:last-child{margin-left:8px}.hero-wash{background:linear-gradient(#ffffffa8 0%,#ffffff55 35%,#ffffff22 100%)}.hero-video{object-position:52% bottom}.hero-motion{margin-top:16px}.dashboard-sidebar-bottom{padding-top:20px}}
@media(max-width:360px){.hero-reference{padding-inline:12px}.hero-reference .hero-actions{gap:10px 16px}.hero-play{font-size:.8125rem}.dashboard-demo{max-width:130px}.dashboard-main{padding-inline:10px}}
@media(prefers-reduced-motion:reduce){.hero-video{display:none}.hero-atmosphere{background:linear-gradient(#fff,#dceee2)}.hero-reference .hero-play>span{transform:none}}
/* Keep the energy chart visible early in the desktop scroll. */
@media(min-width:768px){.hero-reference{padding-top:28px}.hero-reference h1{font-size:clamp(4.25rem,6vw,5.4rem)}html[lang=zh] .hero-reference h1{font-size:clamp(3.1rem,4.6vw,4.2rem)}.hero-badge{margin-bottom:14px}.hero-reference .hero-eyebrow{margin-bottom:10px}.hero-reference .hero-description{margin-top:16px}.hero-dashboard{margin-top:28px}.dashboard-topbar{min-height:56px;padding-block:12px}.dashboard-main{padding-block:18px}.dashboard-heading{margin-bottom:16px}.dashboard-metric{padding:12px}.dashboard-metric>.icon{margin-bottom:6px}.dashboard-metric>strong{font-size:1.5rem}.dashboard-house picture{height:170px;width:calc(100% + 20px);margin:8px -10px 0}.dashboard-house img{width:100%;height:100%;object-fit:contain}.dashboard-energy{padding-block:14px}.dashboard-chart{height:96px}.dashboard-allocation{margin-top:12px;padding-top:12px}}
html:not(.js-ready) .dashboard-device-row{display:none}
