/* WattNeeds microsite — simple static styles */
:root {
  --bg: #0f1419;
  --surface: #1a2332;
  --surface2: #243044;
  --text: #e8eef6;
  --muted: #9aa8bc;
  --accent: #3dd6c3;
  --accent2: #5b9fff;
  --warn: #f0b429;
  --border: #2e3d52;
  --ok: #4ade80;
  --radius: 10px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "Cascadia Code", Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--accent); }
.wrap { width: min(960px, 100% - 2rem); margin: 0 auto; }
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
}
.logo {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}
.logo span { color: var(--accent); }
nav { display: flex; flex-wrap: wrap; gap: 0.85rem; font-size: 0.95rem; }
nav a { color: var(--muted); }
nav a:hover, nav a[aria-current="page"] { color: var(--accent); }
main { flex: 1; padding: 1.75rem 0 3rem; }
h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 0.75rem; line-height: 1.25; }
h2 { font-size: 1.25rem; margin: 1.75rem 0 0.6rem; color: var(--accent); }
h3 { font-size: 1.05rem; margin: 1.25rem 0 0.4rem; }
p, li { color: var(--text); }
.lead { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.25rem; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin: 1rem 0;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }
label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
input, select, button, textarea {
  font: inherit;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--text);
  padding: 0.5rem 0.65rem;
  width: 100%;
}
button, .btn {
  background: var(--accent);
  color: #06231f;
  font-weight: 600;
  border: none;
  cursor: pointer;
  padding: 0.65rem 1rem;
  display: inline-block;
  text-align: center;
  width: auto;
}
button:hover, .btn:hover { filter: brightness(1.08); text-decoration: none; }
button.secondary {
  background: transparent;
  color: var(--accent2);
  border: 1px solid var(--border);
}
.btn-soon,
span.btn.btn-soon {
  background: var(--surface2);
  color: var(--muted);
  border: 1px solid var(--border);
  cursor: not-allowed;
  pointer-events: none;
}
span.btn.btn-soon:hover { filter: none; text-decoration: none; }
.device-row {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr 0.9fr auto;
  gap: 0.4rem;
  align-items: end;
  margin-bottom: 0.5rem;
}
@media (max-width: 720px) {
  .device-row { grid-template-columns: 1fr 1fr; }
}
.results {
  background: linear-gradient(145deg, #1a2a3a, #162238);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.results .big {
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--mono);
  color: var(--accent);
}
.results .sub { color: var(--muted); font-size: 0.9rem; }
.disclaimer-box, .callout {
  background: #2a2418;
  border-left: 4px solid var(--warn);
  padding: 0.85rem 1rem;
  margin: 1rem 0;
  border-radius: 0 8px 8px 0;
  color: #f5e6c8;
  font-size: 0.95rem;
}
.callout.info {
  background: #152530;
  border-left-color: var(--accent2);
  color: #cfe3f5;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 0.75rem 0 1.25rem;
}
th, td {
  border: 1px solid var(--border);
  padding: 0.5rem 0.65rem;
  text-align: left;
}
th { background: var(--surface2); color: var(--accent); }
.muted { color: var(--muted); }
.tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: var(--surface2);
  color: var(--muted);
  border: 1px solid var(--border);
}
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 1.25rem 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }
.page-list { list-style: none; padding: 0; }
.page-list li {
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 0;
}
.page-list a { font-weight: 600; }
.mono { font-family: var(--mono); font-size: 0.9em; }
.actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.err { color: #f87171; font-size: 0.9rem; margin-top: 0.5rem; }
