:root{
  --bg:#0b0f12;
  --ink:#020617;
  --text:#111827;
  --muted:#6b7280;
  --brand:#14b8a6;
  --brand-ink:#065f46;
  --paper:#ffffff;
  --soft:#f5f7fb;
  --ring:rgba(20,184,166,.35);
  --border:#e5e7eb;
}

*{box-sizing:border-box;margin:0;padding:0}
body{
  font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,sans-serif;
  color:var(--text);
  background:var(--paper);
}
a{color:var(--brand);text-decoration:none}
a:hover{text-decoration:underline}
.wrap{max-width:1100px;margin:0 auto;padding:0 20px}

/* Header */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}
.site-header .wrap{
  display:flex;align-items:center;justify-content:space-between;
  min-height:64px;gap:16px;
}
.logo{display:flex;align-items:center;gap:8px;font-weight:800;color:var(--ink);}
.logo-icon{font-size:1.3rem;}
.site-nav{display:flex;gap:18px;align-items:center;}
.site-nav a{font-weight:600;color:var(--text);}
.btn{
  display:inline-block;
  padding:.7rem 1rem;
  border-radius:.7rem;
  border:0;
  background:var(--brand);
  color:#fff;
  font-weight:700;
}
.btn-small{padding:.45rem .8rem;font-size:.9rem;}
.btn-ghost{
  background:transparent;
  color:var(--brand);
  border:1px solid var(--brand);
}
.menu-toggle{
  display:none;
  background:none;border:0;font-size:1.3rem;
}
@media(max-width:840px){
  .site-nav{
    position:absolute;inset:64px 0 auto 0;
    background:#fff;
    flex-direction:column;
    align-items:flex-start;
    padding:16px 20px;
    border-bottom:1px solid var(--border);
    display:none;
  }
  .site-nav.open{display:flex;}
  .menu-toggle{display:block;}
}

/* Hero */
.hero{
  padding:56px 0 40px;
  background:linear-gradient(180deg,#e6fff8,#ffffff);
}
.hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:32px;
  align-items:flex-start;
}
.hero-copy{max-width:540px;}
.hero h1{
  font-size:clamp(2.2rem,3.6vw,3.4rem);
  line-height:1.08;
  margin-bottom:10px;
}
.hero h1 em{font-style:italic;color:var(--brand-ink);}
.hero p{margin-bottom:12px;max-width:40rem;}
.trustbar{
  margin-top:12px;
  display:flex;flex-wrap:wrap;
  gap:10px;
  color:var(--muted);
  font-size:.9rem;
}

.hero-form{
  margin-top:18px;
  max-width:420px;
  background:#fff;
  border-radius:14px;
  border:1px solid var(--border);
  padding:16px 16px 10px;
  box-shadow:0 20px 45px rgba(15,23,42,.09);
}
.hero-form-title{
  font-size:1rem;
  margin-bottom:6px;
}

/* Make OpenSolar widget behave inside the card */
#opensolar_lead_container{
  position:static !important;
  width:100% !important;
}
#opensolar_lead_container iframe,
#opensolar_lead_container form{
  width:100% !important;
  max-width:100% !important;
}

/* Hero art */
.hero-art{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;}
.hero-art-card{
  position:relative;
  width:100%;
  max-width:360px;
  height:220px;
  border-radius:18px;
  background:#ecfeff;
  overflow:hidden;
}
.hero-art-roof{
  position:absolute;
  inset:auto 12% 40%;
  height:40%;
  background:#d1fae5;
  border-radius:18px 18px 4px 4px;
}
.hero-art-panels{
  position:absolute;
  inset:auto 18% 50%;
  height:22%;
  background:#0f172a;
  border-radius:8px;
}
.hero-art-sun{
  position:absolute;
  width:40px;height:40px;
  border-radius:999px;
  background:var(--brand);
  top:24px;right:30px;
}
.hero-art-caption{
  margin-top:8px;
  font-size:.85rem;
  color:var(--muted);
}

/* Sections */
.section{padding:40px 0;border-top:1px solid #f1f5f9;}
.section-alt{background:#f8fafc;}
.section h2{margin-bottom:8px;font-size:1.6rem;}
.section-sub{color:var(--muted);max-width:48rem;margin-bottom:18px;}

.grid2{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:24px;
}
.card{
  background:#ffffff;
  border-radius:14px;
  border:1px solid var(--border);
  padding:18px;
}
.card-soft{background:#f9fafb;}
.packages-list{margin-left:1.1rem;}
.packages-list li{margin-bottom:4px;}

.checklist{
  list-style:none;
  margin-top:10px;
}
.checklist li::before{
  content:"✓";
  color:var(--brand);
  margin-right:6px;
}

.instant-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:24px;
}
.instant-widget #opensolar_ai_container{
  position:static !important;
  width:100% !important;
}
.instant-widget iframe,
.instant-widget form{
  width:100% !important;
  max-width:100% !important;
}

/* Steps */
.how{padding:32px 0;}
.how h2{margin-bottom:12px;}
.steps{
  list-style:none;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.steps li{
  border-radius:12px;
  border:1px dashed #cbd5f5;
  padding:12px;
  background:#f8fafc;
  font-size:.95rem;
}

/* FAQ */
.faq details{
  border-radius:12px;
  border:1px solid var(--border);
  padding:10px 12px;
  background:#fff;
  margin-bottom:8px;
}
.faq summary{
  cursor:pointer;
  font-weight:600;
}

/* CTA */
.cta{
  padding:40px 0;
  background:linear-gradient(180deg,#ecfeff,#ffffff);
  border-top:1px solid #e5f5ff;
}
.cta .wrap{
  text-align:center;
}
.cta h2{margin-bottom:8px;}
.cta p{margin-bottom:14px;color:var(--muted);}

/* Footer */
.site-footer{
  border-top:1px solid var(--border);
  padding:20px 0;
  background:#0b1120;
  color:#e5e7eb;
}
.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:20px;
}
.site-footer a{color:#a5f3fc;}
.site-footer .logo-text{color:#e5e7eb;}
.fine{font-size:.85rem;color:#9ca3af;}

@media(max-width:900px){
  .hero-grid,
  .grid2,
  .instant-grid,
  .steps,
  .footer-grid{
    grid-template-columns:1fr;
  }
  .hero{
    padding-top:40px;
  }
}
