/* Inverter and Battery House: warm sand, amber and forest green. Zilla Slab for headings, Public Sans for text.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #FBF4E3;
  --surface: #FFFDF6;
  --soft: #F3E4BC;
  --ink: #2A2418;
  --muted: #6A5F47;
  --line: #E6D6A8;
  --line-strong: #CDB878;
  --brand: #14532D;
  --brand-hover: #0F3F22;
  --brand-ink: #FFF7DD;
  --brand-text: #14532D;
  --amber: #F59E0B;
  --eyebrow: #9A5B00;
  --badge-bg: #F59E0B;
  --badge-ink: #2A1800;
  --out-bg: #14532D;
  --out-ink: #FFF7DD;
  --out-accent: #FCD34D;
  --out-btn: #FCD34D;
  --out-btn-ink: #2A1800;
  --head: "Zilla Slab", Georgia, serif;
  --body: "Public Sans", system-ui, sans-serif;
  --radius: 8px;
  --radius-lg: 12px;
  --btn-radius: 8px;
  --wrap: 1180px;
  --gap: 22px;
}
h1, h2, h3 { font-weight: 700; letter-spacing: -.01em; line-height: 1.1; }
.btn { font-family: var(--head); font-weight: 700; font-size: 1.05rem; }
.eyebrow { color: var(--eyebrow); font: 700 .86rem var(--head); letter-spacing: .14em; text-transform: uppercase; }
.ic { color: var(--brand); }

.strip { background: var(--amber); color: #2A1800; font-size: .9rem; font-weight: 600; }
.strip .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 38px; }
.strip span { display: inline-flex; align-items: center; gap: 8px; }
.strip .ic { width: 18px; height: 18px; color: #2A1800; }
.strip a { color: #2A1800; font-weight: 800; text-decoration: none; }
@media (max-width: 600px) { .strip span { display: none; } .strip .wrap { justify-content: center; } }
.header { background: var(--bg); border-bottom: 3px double var(--line-strong); }
.header > .wrap { min-height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 46px; height: 46px; }
.logo span { display: grid; line-height: 1.05; }
.logo b { font: 700 1.2rem var(--head); color: var(--brand); }
.logo small { font-size: .76rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 420px) { .header .logo b { white-space: normal; font-size: 1rem; } }
.nav a { font: 600 1.02rem var(--head); }
.nav a:hover, .nav a[aria-current="page"] { background: var(--soft); color: var(--brand); }

.hero { padding-block: clamp(32px, 6vw, 80px); background: repeating-linear-gradient(135deg, #FBF4E3 0 22px, #F8EDCF 22px 44px); border-bottom: 3px double var(--line-strong); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); margin: 10px 0 16px; }
.hero .t-actions { margin-top: 24px; }
.hero-card { background: #fff; border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; box-shadow: 8px 8px 0 var(--amber); }
.hero-card svg { width: 100%; height: auto; }
.meter { list-style: none; display: grid; gap: 8px; padding: 14px 18px 18px; border-top: 2px solid var(--ink); background: #FFFDF6; }
.meter li { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 10px; font-size: .86rem; font-weight: 600; }
.meter i { display: block; height: 12px; border-radius: 3px; background: repeating-linear-gradient(90deg, var(--amber) 0 10px, transparent 10px 13px); width: var(--w); }
.ticks-band { padding-block: 0; background: var(--brand); color: var(--brand-ink); }
.ticks { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) { .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ticks li { display: flex; align-items: center; gap: 10px; padding: 18px 14px; font: 600 1.05rem var(--head); }
.ticks .ic { color: #FCD34D; }
.c-card { background: var(--surface); border: 2px solid var(--ink); border-radius: 12px; box-shadow: 5px 5px 0 var(--line-strong); }
.c-img { border-bottom: 2px solid var(--ink); }
.c-filters button { border: 2px solid var(--ink); background: var(--surface); font-family: var(--head); font-size: .98rem; }
.c-filters button[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.team-band { background: #F3E4BC; border-block: 3px double var(--line-strong); }
.page-head { background: #F8EDCF; border-bottom: 3px double var(--line-strong); margin-bottom: clamp(24px, 4vw, 44px); }
.numbers-band { background: var(--ink); color: #FFF7DD; }
.numbers b { color: #FCD34D; } .numbers span { color: #E8DDBB; }
.card, .quotes li, .cd-side, .adm-steps li { border: 2px solid var(--ink); background: var(--surface); border-radius: 12px; }
.pick, .checklist label, .seg span, .stepper { border: 2px solid var(--line-strong); background: var(--surface); }
.pick:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand) inset; background: #F1F7E8; }
.inline-check { display: flex; align-items: center; gap: 10px; min-height: 40px; font-weight: 600; }
.inline-check input { width: 20px; height: 20px; accent-color: var(--brand); }
.load-list { list-style: none; display: grid; gap: 8px; }
.load-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; border: 2px solid var(--line-strong); border-radius: 10px; background: var(--surface); }
.load-list small { display: block; color: var(--muted); }
.tool-out { border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--amber); }
.out-total { font-size: clamp(1.6rem, 4vw, 2.3rem); }
.cta-band { padding-block: clamp(44px, 6vw, 76px); background: var(--amber); color: #2A1800; border-block: 3px double var(--ink); }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); max-width: 22ch; }
.cta-band p { margin-top: 6px; font-weight: 500; max-width: 50ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-primary { background: var(--brand); color: #FFF7DD; }
.cta-band .btn-ghost { border-color: #2A1800; color: #2A1800; }
.footer { background: var(--ink); color: #D8CCA8; --footer-line: rgba(255,255,255,.18); }
.footer .logo b, .footer h2 { color: #FFF7DD; }
.footer .logo small { color: #D8CCA8; }
.f-about { margin-top: 12px; max-width: 34ch; }
.footer .credit a { color: #FCD34D; }
