/* Conventional reading layout: paragraph summaries, then supporting lists. */
:root{--reading-blue:#80bfff}
.beap-page h1,.beap-page h2,.beap-page h3{color:var(--green)}
.beap-page .beap-section{padding-block:48px}
.beap-page .detail-reading-layout{display:block;max-width:790px;margin-inline:auto}
.beap-page .detail-reading-layout>aside{display:none}
.beap-page .detail-copy{width:100%;max-width:none}
.beap-page .detail-text-section{margin:0 0 34px}
.beap-page .detail-copy h2,.beap-page .detail-copy h3,.beap-page .detail-copy h4{color:var(--green);font-size:26px;font-weight:600;letter-spacing:-.35px;line-height:1.3;margin:0 0 12px}
.beap-page .detail-copy p,.beap-page .beap-answer p,.beap-page .beap-prose p{font-size:17px;line-height:1.65;letter-spacing:0;margin:0 0 14px;color:#fff}
.beap-page .detail-copy ul,.beap-page .detail-copy ol,.beap-page .beap-answer ul{margin:10px 0 18px;padding-left:23px}
.beap-page .detail-copy li,.beap-page .beap-answer li{font-size:17px;line-height:1.6;margin:0 0 6px;padding-left:2px;color:#fff}
.beap-page .detail-copy li p,.beap-page .beap-answer li p{margin:0}
.beap-page .detail-copy li::marker,.beap-page .beap-answer li::marker{color:var(--reading-blue)}
.beap-page .detail-copy p+ul,.beap-page .detail-copy p+ol{margin-top:8px}
.beap-page .detail-copy a,.beap-page .detail-related a,.beap-page .beap-prose a{color:var(--reading-blue)}
.beap-page .detail-copy .detail-heading-link{color:var(--green);font:inherit;display:inline-block;max-width:100%;transform-origin:left center;text-decoration:none}
.beap-page .detail-heading-link span{color:var(--reading-blue);font-size:.8em;white-space:nowrap}
.beap-page .detail-copy a:hover{color:#b4d9ff;text-shadow:0 0 12px #80bfff55}
.beap-page .detail-copy .detail-heading-link:hover{color:#87ffb8}
.beap-page .beap-kicker,.beap-page .beap-label{color:var(--reading-blue)!important}
.beap-page .detail-technical{margin:0 0 20px;border-color:#294d67;padding:0 16px}
.beap-page .detail-technical summary{font-size:21px;line-height:1.4;color:var(--green);padding:16px 0;font-weight:500}
.beap-page .detail-technical .beap-answer{padding-bottom:8px}
.beap-page .beap-faqs summary{color:var(--green);line-height:1.45}
.beap-page .beap-grid{gap:44px}
.beap-page .detail-related{max-width:790px;padding-bottom:32px}
@media(max-width:760px){
 .beap-page .wrap{width:calc(100% - 40px)}
 .beap-page .beap-section{padding-block:32px}
 .beap-page .detail-copy h2,.beap-page .detail-copy h3{font-size:24px}
 .beap-page .detail-copy p,.beap-page .detail-copy li,.beap-page .beap-answer p,.beap-page .beap-answer li{font-size:17px}
 .beap-page .detail-text-section{margin-bottom:30px}
 .beap-page .beap-hero h1{font-size:38px;line-height:1.13;letter-spacing:-1.2px}
 .beap-page .beap-grid{gap:22px}
 .beap-page .beap-section-nav>.wrap{gap:22px;padding-block:13px}
 body:has(.beap-page) .action-launcher{width:46px;height:46px;right:10px;bottom:10px;padding:0;justify-content:center;border-radius:50%;gap:0}
 body:has(.beap-page) .action-launcher>span:not(.launcher-symbol){display:none}
 body:has(.beap-page) .launcher-symbol{font-size:27px}
}

.detail-text-section[id]{scroll-margin-top:115px}
/* Product names and their own original photographs. */
.beap-page .detail-has-image{display:grid;grid-template-columns:minmax(0,1fr)250px;gap:0 24px;align-items:start}
.beap-page .detail-has-image>h2{grid-column:1/-1}
.beap-page .detail-section-content{grid-column:1;grid-row:2;min-width:0}
.beap-page .detail-text-section:not(.detail-has-image) .detail-section-content{display:block}
.beap-page .detail-section-image{grid-column:2;grid-row:2;margin:3px 0 18px;min-width:0}
.beap-page .detail-section-image img{display:block;width:100%;max-height:320px;object-fit:contain;border-radius:4px}
.beap-page .detail-section-image figcaption,.beap-page .beap-context-photo figcaption,.beap-page .graphic-slide figcaption{font-size:14px;line-height:1.5;margin:10px 0 0;color:#bddcff;text-align:left}
.beap-page .detail-product>h2{font-weight:700}
.beap-context-photo{margin:22px 0 0;max-width:420px}
.beap-context-photo img{display:block;width:100%;height:auto;border-radius:4px}
.beap-news-photo{width:100%;max-height:220px;object-fit:cover;object-position:center;margin:4px 0 24px;border-radius:4px}
#beap-eligibility{background:linear-gradient(#07120ce8,#07120cf2),url('/assets/ace08900e722d7e7.webp') center/cover}
#beap-faq{background:linear-gradient(#07120cf2,#07120ce8),url('/assets/e7f3b045f092de6d.webp') center/cover}
@media(max-width:760px){.beap-page .detail-has-image{display:flex;flex-direction:column;gap:0}.beap-page .detail-section-image{width:min(100%,280px);align-self:center;margin:2px 0 18px}.beap-page .detail-section-image img{max-height:240px}.beap-context-photo{max-width:360px}.beap-news-photo{max-height:180px}}

/* Keep section navigation immediate and avoid double anchor offsets. */
html{scroll-behavior:auto;scroll-padding-top:0}.beap-page .beap-section,.beap-page .detail-text-section[id]{scroll-margin-top:100px}@media(max-width:760px){.beap-page .beap-section,.beap-page .detail-text-section[id]{scroll-margin-top:136px}}

/* Company name leads; the slogan supports it. */
.hero h1.company-name{font-size:clamp(46px,6.2vw,84px);line-height:1.08;letter-spacing:-2px;color:var(--green);margin:0 0 12px}.hero p.hero-tagline{font-size:24px;line-height:1.4;letter-spacing:0;color:#fff;margin:0 0 24px;font-weight:400}@media(max-width:760px){.hero h1.company-name{font-size:48px;letter-spacing:-1.3px}.hero p.hero-tagline{font-size:20px;margin-bottom:20px}}

/* Main company name carries the slow brand-color cycle. */
.hero h1.company-name{animation:energy-agent-header-colors 24s ease-in-out infinite}header .brand-icon{flex:0 0 auto}@media(max-width:760px){header{gap:10px;padding-inline:20px}header nav{width:auto;flex:1;gap:8px 12px;justify-content:flex-end;flex-wrap:wrap}header .brand-icon{align-self:center}}@media(prefers-reduced-motion:reduce){.hero h1.company-name{animation:none;color:#fff}}
/* Keep the actual logo visible independently of the lightning animation. */
.hero-art{position:relative;isolation:isolate}.hero-art img.hero-logo{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);width:76%;max-width:320px;height:auto;aspect-ratio:1;object-fit:contain;mix-blend-mode:screen;filter:none;pointer-events:none}.hero-art video{position:relative;z-index:1}.hero-art>p{display:none}
@media(max-width:760px){.hero-art{display:block;width:100%;max-width:380px;margin:22px auto 8px}.hero-art img.hero-logo{width:72%;max-width:280px}}
/* Divisions are blue; other section headings stay green. */
main h2,main h3{color:var(--green)}.service .code,.service .service-name,.service .service-name a{color:var(--reading-blue)}.beap-page.division-page h1,.beap-page .detail-copy .detail-heading-link,.beap-page .division-title>h2{color:var(--reading-blue)}.beap-page .detail-copy .detail-heading-link:hover{color:#c0e1ff}
/* Estimator and video popups. */
.beap-tool-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:18px 0}.beap-tool-button{border:1px solid #80bfff;background:#0b1924;color:white;border-radius:4px;padding:12px 17px;font-size:15px;font-weight:500;cursor:pointer;transition:transform .2s,box-shadow .2s}.beap-tool-button:hover{transform:translateY(-4px);box-shadow:0 8px 22px #80bfff33}.action-option.tool-choice{width:100%;text-align:left;color:inherit;font:inherit}.tool-dialog{width:min(1000px,calc(100% - 28px));max-height:calc(100dvh - 28px);margin:auto;padding:20px;background:#080e0d;border:1px solid #35678b;border-radius:8px;color:white;overflow:auto}.tool-dialog::backdrop{background:#000b;backdrop-filter:blur(5px)}.tool-dialog-head{position:sticky;top:-20px;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:12px 0;background:#080e0df5}.tool-dialog-head h2{font:600 26px/1.3 Arial,sans-serif;margin:0;color:#80bfff}.tool-dialog-head .action-close{position:static;flex-shrink:0}.tool-help{font:15px/1.6 Arial,sans-serif;margin:10px 0 16px;color:white}.tool-help a{color:#80bfff}.estimator-frame{display:block;width:100%;height:1100px;min-height:800px;border:0;background:#080e0d}.beap-video-frame{display:block;width:100%;aspect-ratio:16/9;border:0;background:#000}.estimator-wrap{max-width:1000px!important}.estimator-wrap>h1{font-size:clamp(34px,4vw,52px);line-height:1.15}.estimator-wrap>p{font-size:17px;line-height:1.65;max-width:790px}.estimator-page .beap-section{padding-top:28px}
@media(max-width:600px){.tool-dialog{width:calc(100% - 16px);padding:12px}.tool-dialog-head{top:-12px}.tool-dialog-head h2{font-size:23px}.beap-tool-actions{gap:9px}.beap-tool-button{padding:11px 14px}.estimator-frame{min-height:1050px}}
/* Brand composition: company name, lightning, then the original EA logo. */
.hero .wrap{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,.72fr) minmax(0,.72fr);gap:14px;align-items:center}
.hero-copy{min-width:0}.hero .hero-copy h1{font-size:clamp(42px,5.2vw,74px)}
.hero-lightning,.hero-logo-panel{min-width:0;display:flex;align-items:center;justify-content:center;background:transparent}
.hero-lightning video{display:block;width:155%;max-width:none;height:auto;flex-shrink:0;mix-blend-mode:screen;mask-image:radial-gradient(ellipse,#000 28%,#000b 49%,transparent 72%);-webkit-mask-image:radial-gradient(ellipse,#000 28%,#000b 49%,transparent 72%)}
.hero-lightning{overflow:hidden;min-height:260px}
.hero-logo-panel img{display:block;width:100%;height:auto;mix-blend-mode:screen;object-fit:contain}
.explainer .power-explanation{max-width:76ch;font-size:17px;line-height:1.65;margin:12px 0 0;color:white;letter-spacing:0}
@media(max-width:900px){.hero .wrap{grid-template-columns:minmax(0,1.4fr) minmax(0,.7fr) minmax(0,.7fr);gap:8px}.hero .hero-copy h1{font-size:46px}.hero-lightning{min-height:180px}}
@media(max-width:760px){.hero .wrap{grid-template-columns:minmax(0,1fr);gap:0}.hero .hero-copy h1{font-size:clamp(40px,10vw,60px)}.hero-lightning{width:min(100%,350px);min-height:0;height:150px;margin:12px auto 0}.hero-lightning video{width:110%}.hero-logo-panel{width:min(66%,240px);margin:-10px auto 0}.hero .hero-copy p{max-width:100%}.explainer .power-explanation{font-size:17px;line-height:1.65}}
@media(max-width:760px){.action-launcher{width:46px!important;height:46px!important;right:10px!important;bottom:10px!important;padding:0!important;justify-content:center;border-radius:50%!important;gap:0!important}.action-launcher>span:not(.launcher-symbol){display:none!important}.launcher-symbol{font-size:27px}.contact .email{overflow-wrap:anywhere}.explainer{padding:20px 16px}.explainer summary{font-size:20px;line-height:1.4}}
#power-explanation{scroll-margin-top:100px}
@media(max-width:760px){main a,footer a{overflow-wrap:anywhere}.tool-dialog,.action-dialog{max-width:calc(100vw - 16px)}button,a,summary{-webkit-tap-highlight-color:#36ed8733}button,summary{touch-action:manipulation}}
.graphic-dialog{box-sizing:border-box;width:max-content;max-width:calc(100vw - 20px);padding:12px;overflow:auto}.graphic-dialog>img{max-width:100%;max-height:calc(100dvh - 110px)}.graphic-dialog .action-close{position:static;flex-shrink:0}
