/* CalcMoon Energy — additions on top of the calcmoon base sheet.
   Only defines what the base sheet lacks: tool cards, home sections, hero actions. */

.hero-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:8px}
.hero-actions .btn{width:auto;min-width:190px}
@media(max-width:520px){.hero-actions{flex-direction:column}.hero-actions .btn{width:100%}}

.home-section{padding:26px 0 6px}
.home-section h2{margin-bottom:6px}
.section-sub{color:var(--muted);max-width:62ch;margin-bottom:18px}

.tool-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px;margin:18px 0 8px}
.tool-card{display:flex;flex-direction:column;gap:6px;padding:18px;border:1px solid var(--border);
  border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm);
  text-decoration:none;color:inherit;transition:transform .18s var(--ease),box-shadow .25s var(--ease),border-color .2s}
.tool-card:hover{transform:translateY(-2px);border-color:var(--border-strong);
  box-shadow:0 14px 32px -22px rgba(1,22,30,.55)}
.tc-icon{display:inline-flex;width:34px;height:34px;align-items:center;justify-content:center;
  border-radius:9px;background:var(--accent-soft);color:var(--accent);margin-bottom:4px}
.tc-icon svg{width:19px;height:19px}
.tc-title{font-weight:680;font-size:1.02rem;line-height:1.3}
.tc-desc{font-size:.9rem;color:var(--muted);line-height:1.5;flex:1}
.tc-meta{font-size:.78rem;font-weight:650;color:var(--accent);letter-spacing:.02em;
  font-variant-numeric:tabular-nums;margin-top:4px}

/* header: menu button only on small screens */
.header-inner .menu-btn{display:none}
@media(max-width:860px){
  .header-inner .menu-btn{display:inline-flex}
}
.icon-btn{width:38px;height:38px;padding:0;display:inline-flex;align-items:center;justify-content:center}
.icon-btn svg{width:18px;height:18px}
.brand em{font-style:normal;color:var(--muted);font-weight:600}
.nav a.active{color:var(--text);background:var(--accent-soft)}

/* result figures keep their alignment in the breakdown grid */
.result .breakdown b{font-weight:680}

@media(max-width:760px){
  .tool-layout{grid-template-columns:1fr}
  .tool-grid{grid-template-columns:1fr}
}

/* all-appliances index list */
.idx-list{list-style:none;padding:0;margin:10px 0 26px;display:grid;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:2px 18px}
.idx-list li{padding:9px 0;border-bottom:1px solid var(--border);
  display:flex;justify-content:space-between;gap:12px;align-items:baseline}
.idx-list li a{font-weight:620;color:var(--text)}
.idx-list li a:hover{color:var(--accent)}
.idx-meta{font-size:.78rem;color:var(--muted);white-space:nowrap;
  font-variant-numeric:tabular-nums}
@media(max-width:760px){
  .idx-list{grid-template-columns:1fr}
  .idx-list li{flex-direction:column;gap:2px}
}
