*{box-sizing:border-box} :root{--navy:#03123a;--dark:#081a35;--panel:#102745;--ink:#eaf2fa;--muted:#b1c3d6;--cyan:#59cbe8;--orange:#f45e05;--line:#29435e}html{scroll-behavior:smooth}body{margin:0;background:var(--dark);color:var(--ink);font:16px/1.6 Arial,Helvetica,sans-serif}a{color:var(--cyan)}a:focus-visible,button:focus-visible{outline:3px solid var(--cyan);outline-offset:4px}img{max-width:100%;height:auto;display:block}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(2.1rem,4.5vw,3.65rem);line-height:1.08;letter-spacing:-.035em;margin-bottom:20px}h2{font-size:clamp(1.45rem,2.5vw,2rem);line-height:1.2;margin-bottom:12px}h3{font-size:1.15rem;line-height:1.3;margin-bottom:8px}p{color:var(--muted)}.wrap{width:min(1180px,calc(100% - 48px));margin:auto}.header{background:var(--navy);border-bottom:1px solid var(--line)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:8px 0}.brand img{width:245px;max-width:100%}.nav{display:flex;align-items:center;flex-wrap:wrap;gap:7px 18px}.nav a{color:var(--muted);font-size:.87rem;text-decoration:none;padding:8px 0}.nav a[aria-current=page]{color:var(--cyan);border-bottom:2px solid var(--cyan)}.nav a:hover{color:white}.hero{padding:58px 0;background:radial-gradient(ellipse at 85% 15%,#173b61 0%,transparent 55%),var(--navy)}.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:46px;align-items:center}.eyebrow{color:var(--cyan);font-size:.76rem;letter-spacing:.14em;text-transform:uppercase;font-weight:700;margin-bottom:14px}.lead{font-size:1.12rem;max-width:66ch}.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 19px;border-radius:8px;text-decoration:none;font-weight:700;font-size:.93rem;background:var(--orange);color:#fff;border:1px solid transparent}.btn.secondary{background:transparent;border-color:#68849d;color:var(--ink)}.btn:hover{filter:brightness(1.1)}.section{padding:42px 0}.section+.section{border-top:1px solid var(--line)}.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:18px}.section-head p{margin:0}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.card{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:22px;min-width:0}.card p:last-child{margin-bottom:0}.tag{font-size:.72rem;color:var(--muted);letter-spacing:.05em;text-transform:uppercase;display:block;margin-bottom:10px}.tag.live{color:#87dfb4}.card a:not(.btn){font-weight:700;text-decoration:none}.card a:hover{text-decoration:underline}.preview{padding:12px;background:#071a34;border:1px solid #36516d;border-radius:12px}.preview img{border-radius:6px;width:100%}.preview p{margin:10px 8px 2px;font-size:.85rem}.pagehead{padding:36px 0 12px}.pagehead h1{font-size:clamp(2rem,4vw,3rem)}.screens img{width:100%;border-radius:5px;border:1px solid var(--line);margin-bottom:15px}.callout{display:flex;align-items:center;justify-content:space-between;gap:22px;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:25px}.callout p{margin-bottom:0}.signup{display:grid;grid-template-columns:1fr 1fr;gap:24px}.form{background:#fff;color:#17263b;border-radius:12px;padding:20px;min-height:230px}.form p{color:#475569;font-size:.9rem}.foot{border-top:1px solid var(--line);padding:25px 0;color:var(--muted);font-size:.85rem}.foot .wrap{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.small{font-size:.85rem}.skip{position:absolute;left:-9999px}.skip:focus{left:10px;top:10px;background:white;color:black;padding:10px;z-index:5}@media(max-width:1000px){.header-inner{align-items:flex-start;flex-direction:column;gap:0}.nav{padding-bottom:10px}.hero-grid{gap:25px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.wrap{width:calc(100% - 32px)}.hero{padding:32px 0}.hero-grid,.grid,.grid.two,.signup{grid-template-columns:1fr}.section{padding:28px 0}.brand img{width:205px}.nav{gap:3px 13px}.nav a{font-size:.85rem;padding:9px 0}.section-head,.callout{align-items:flex-start;flex-direction:column}.card{padding:17px}.actions .btn{width:100%}}

.section-title.with-icon{display:flex;align-items:center;gap:12px}.heading-icon,.card-icon{display:inline-grid;place-items:center;flex:none;width:48px;height:48px;border-radius:14px;background:linear-gradient(145deg,#0f3357,#081e38);border:1px solid #335a80;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}.heading-icon{width:42px;height:42px;border-radius:12px}.card-icon{margin-bottom:14px}.heading-icon::before,.card-icon::before,.yt-icon::before{display:block;color:var(--cyan);font-weight:700;font-family:Arial,Helvetica,sans-serif}.tools::before{content:"⌘";font-size:24px}.library::before{content:"▤";font-size:20px}.modbus::before{content:"M";font-size:22px}.loop::before{content:"↻";font-size:24px}.bacnet::before{content:"B";font-size:22px}.calc::before{content:"Σ";font-size:24px}.strategy::before{content:"⚙";font-size:22px}.knowledge::before{content:"?";font-size:22px}.youtube::before{content:"▶";font-size:22px}.meter::before{content:"kWh";font-size:14px}.check::before{content:"✓";font-size:22px}.palette::before{content:"◫";font-size:18px}.bms::before{content:"BLA";font-size:12px;letter-spacing:.06em}.callout-copy{min-width:0}.callout-brand{display:flex;align-items:center;gap:12px}.callout-logo{width:54px;height:auto;flex:none}.btn-icons{display:inline-flex;align-items:center;gap:8px}.btn-logo{width:26px;height:26px;object-fit:contain;background:#fff;border-radius:999px;padding:2px}.yt-icon{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:999px;background:#ff0033}.yt-icon::before{content:"▶";color:#fff;font-size:12px;margin-left:2px}.foot{border-top:1px solid var(--line);padding:28px 0;color:var(--muted);font-size:.85rem;background:#06152c}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr auto;gap:22px;align-items:center}.footer-brand{display:flex;align-items:center;gap:16px}.footer-logo img{width:170px;max-width:100%}.footer-brand strong{display:block;color:var(--ink);margin-bottom:4px}.footer-brand p{margin:0;font-size:.92rem}.footer-links{display:flex;flex-wrap:wrap;gap:10px 18px;justify-content:center}.footer-links a{color:var(--muted);text-decoration:none}.footer-links a:hover{color:#fff}.footer-meta{display:flex;flex-direction:column;gap:2px;align-items:flex-end;text-align:right}.foot .wrap{display:block}.callout .btn{gap:10px}
@media(max-width:1000px){.footer-grid{grid-template-columns:1fr;align-items:flex-start}.footer-links{justify-content:flex-start}.footer-meta{align-items:flex-start;text-align:left}}
@media(max-width:640px){.callout-brand{align-items:flex-start}.callout-logo{width:46px}.heading-icon,.card-icon{width:44px;height:44px}.btn-icons{gap:6px}.btn-logo,.yt-icon{width:24px;height:24px}}


.brand img{background:transparent}.preview img{background:#071a34}
.section-title.with-icon{display:flex;align-items:center;gap:12px}.heading-icon{display:inline-grid;place-items:center;flex:none;width:42px;height:42px;border-radius:12px;background:linear-gradient(145deg,#0f3357,#081e38);border:1px solid #335a80;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}.heading-icon::before{display:block;color:var(--cyan);font-weight:700;font-family:Arial,Helvetica,sans-serif}.tools::before{content:"⌘";font-size:24px}.library::before{content:"▤";font-size:20px}
.card-icon{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:14px;background:linear-gradient(145deg,#153a60,#0b1f38);border:1px solid #335a80;box-shadow:inset 0 1px 0 rgba(255,255,255,.08);margin-bottom:14px;padding:10px}.card-icon img{width:100%;height:100%;object-fit:contain}
.callout{display:grid;grid-template-columns:minmax(0,1fr) 260px;align-items:center;gap:28px;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:24px}.callout-copy{display:flex;align-items:center;gap:20px;min-width:0}.callout-logo{width:210px;max-width:38%;height:auto;display:block}.callout-copy h2{margin:0 0 8px}.callout-copy p{margin:0}.youtube-tile{display:flex;align-items:center;justify-content:center;gap:12px;min-height:92px;padding:18px;border:1px solid #5b7690;border-radius:12px;background:#123056;color:var(--ink);text-decoration:none;font-weight:700;text-align:center}.youtube-tile img{width:34px;height:34px;flex:none}.youtube-tile:hover{filter:brightness(1.08)}
.foot{border-top:1px solid var(--line);padding:24px 0;color:var(--muted);font-size:.85rem;background:#06152c}.footer-simple{display:grid;grid-template-columns:180px 1fr auto;gap:22px;align-items:center}.footer-brandmark img{width:150px;max-width:100%;height:auto;display:block}.footer-copy{color:var(--ink);font-size:1rem;line-height:1.45}.footer-copy small{display:block;color:var(--muted);font-size:.86rem;margin-top:4px}.footer-action a{display:inline-flex;align-items:center;gap:8px;color:var(--cyan);text-decoration:none;font-weight:700}.footer-action img{width:24px;height:24px}.footer-action a:hover{color:#fff}
@media(max-width:1000px){.callout{grid-template-columns:1fr}.youtube-tile{max-width:320px}.footer-simple{grid-template-columns:1fr;align-items:flex-start}.callout-logo{width:170px;max-width:34%}}
@media(max-width:640px){.callout-copy{align-items:flex-start;gap:14px;flex-direction:column}.callout-logo{width:160px;max-width:100%}.youtube-tile{max-width:none;width:100%;min-height:74px}.footer-brandmark img{width:135px}.footer-copy{font-size:.95rem}}


/* v0.2.4 refinements */

.footer-simple{display:grid;grid-template-columns:180px minmax(0,1fr) auto;align-items:end;gap:18px}.footer-brandmark{justify-self:start}.footer-brandmark img{width:138px;height:auto;display:block}.footer-copy{text-align:center;align-self:center;color:var(--ink);font-size:1rem;line-height:1.45}.footer-copy small{display:block;color:var(--muted);font-size:.86rem;margin-top:4px}.footer-action{justify-self:end;align-self:end;padding-bottom:2px}.footer-action a{display:inline-flex;align-items:center;gap:8px;color:var(--cyan);text-decoration:none;font-weight:700}.footer-action img{width:22px;height:22px}.footer-action a:hover{color:#fff}
@media(max-width:900px){.footer-simple{grid-template-columns:1fr;align-items:flex-start}.footer-copy{text-align:left}.footer-action{justify-self:start}}

.foot .wrap.footer-simple{display:grid;grid-template-columns:180px minmax(0,1fr) auto;justify-content:normal;gap:18px;align-items:end;flex-wrap:nowrap}.foot .wrap.footer-simple .footer-brandmark{justify-self:start}.foot .wrap.footer-simple .footer-copy{text-align:center}.foot .wrap.footer-simple .footer-action{justify-self:end;align-self:end}.foot .wrap.footer-simple .footer-action a{justify-content:flex-end}.foot .wrap.footer-simple .footer-action img{display:inline-block}@media(max-width:900px){.foot .wrap.footer-simple{grid-template-columns:1fr;align-items:flex-start}.foot .wrap.footer-simple .footer-copy{text-align:left}.foot .wrap.footer-simple .footer-action{justify-self:start}}

/* Footer uses the same content boundaries as header and sections. */
.foot .wrap.footer-simple{width:calc(100% - 48px);max-width:1180px;margin-inline:auto;grid-template-columns:180px minmax(0,1fr) 180px;align-items:center;gap:18px}.footer-brandmark a{display:block;width:fit-content}.foot .wrap.footer-simple .footer-action{align-self:center;justify-self:end}.footer-action a{white-space:nowrap}.footer-action img{flex:none}.footer-copy{min-width:0}
@media(max-width:900px){.foot .wrap.footer-simple{grid-template-columns:1fr;gap:12px;justify-items:center;text-align:center}.foot .wrap.footer-simple .footer-brandmark,.foot .wrap.footer-simple .footer-action{justify-self:center}.foot .wrap.footer-simple .footer-copy{text-align:center}}
@media(max-width:640px){.foot .wrap.footer-simple{width:calc(100% - 32px)}}
