/*
Theme Name: Home Energy Guides
Author: You
Version: 1.0
*/

:root{
  --bg:#ffffff;
  --text:#0b1f33;
  --muted:#5b6b7c;
  --card:#f6f8fb;
  --border:#e4eaf1;
  --accent:#2f7d32;
  --accent2:#1f5ea8;
  --max: 1120px;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
}
a{color:var(--accent2); text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:var(--max); margin:0 auto; padding:0 20px}
.header{
  border-bottom:1px solid var(--border);
  background:#fff;
  position:sticky; top:0; z-index:20;
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:16px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:800;
  color:var(--text);
}
.brand-badge{
  width:34px; height:34px; border-radius:10px;
  background:linear-gradient(135deg, #2f7d32, #1f5ea8);
}
.nav{
  display:flex; align-items:center; gap:14px; flex-wrap:wrap;
}
.nav a{color:var(--text); font-weight:600; font-size:14px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  background:var(--accent);
  color:#fff !important;
  border-radius:10px;
  padding:10px 14px;
  font-weight:700;
  border:1px solid rgba(0,0,0,.05);
}
.btn.secondary{
  background:#fff; color:var(--text) !important;
  border:1px solid var(--border);
}
.hero{
  padding:56px 0 28px;
  background: radial-gradient(1200px 500px at 30% 10%, #e7f3ff 0%, #ffffff 65%);
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:24px;
  align-items:center;
}
@media (max-width: 900px){
  .hero-grid{grid-template-columns: 1fr}
}
.h1{font-size:46px; line-height:1.08; margin:0 0 12px}
@media (max-width: 900px){ .h1{font-size:38px} }
.lead{color:var(--muted); font-size:18px; margin:0 0 18px}
.hero-actions{display:flex; gap:12px; flex-wrap:wrap}

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:16px;
}
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:16px;
  padding:16px;
}
.section{padding:26px 0}
.h2{font-size:26px; margin:0 0 10px}
.p{margin:0 0 10px; color:var(--muted)}
.kpi-row{
  display:grid; grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
@media (max-width: 900px){ .kpi-row{grid-template-columns: 1fr} }

.list{
  margin:0; padding:0; list-style:none;
  display:flex; flex-direction:column; gap:10px;
}
.list a{
  display:flex; justify-content:space-between; gap:10px;
  padding:12px 12px;
  border-radius:12px;
  background:#fff;
  border:1px solid var(--border);
  color:var(--text);
  font-weight:650;
}
.small{font-size:13px; color:var(--muted)}

.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:12px;
  background:#fff;
}
.table th, .table td{
  padding:10px 12px;
  border-bottom:1px solid var(--border);
  font-size:14px;
  text-align:left;
}
.table th{background:#f1f5f9; font-weight:800}
.table tr:last-child td{border-bottom:none}

.assumptions{
  background:#fff;
  border:1px dashed #c8d4e3;
  border-radius:14px;
  padding:14px;
}
.footer{
  border-top:1px solid var(--border);
  padding:26px 0;
  color:var(--muted);
  background:#fff;
}
.footer-links{display:flex; gap:12px; flex-wrap:wrap; margin-bottom:8px}
.footer-links a{color:var(--muted); font-weight:650; font-size:13px}