/* Wall Solar Panels, theme "gable". Drawing-sheet look: white paper on a faint drafting grid, slate ink line work,
   sun gold #ca8a04 for angle markers, dimension lines and the main button. Fira Sans for text, Fira Code for labels,
   dimensions and spec values. Square corners, 1.5px ink rules, numbered sheet labels. Phone first. */
:root {
  --ink: #0f172a; --ink2: #1e293b; --text: #334155; --muted: #5b6b80; --line: #cbd5e1; --hair: #e2e8f0;
  --paper: #ffffff; --wash: #f5f7fa; --grid: rgba(15, 23, 42, .04);
  --gold: #ca8a04; --gold-d: #7c4a03; --gold-t: #fef6dc; --gold-l: #f1d98a;
  --ok: #166534; --bad: #b91c1c;
  --sans: "Fira Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Fira Code", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gut: 16px; --max: 1180px; --r: 4px; --shadow: 5px 5px 0 rgba(15, 23, 42, .08);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--text); background-color: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px; padding-bottom: calc(76px + env(safe-area-inset-bottom)); overflow-x: hidden; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--gold-d); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
h1, h2, h3, .h1like, .h2like { color: var(--ink); font-family: var(--sans); margin: 0 0 .5em; }
h1, .h1like { font-size: clamp(32px, 8.4vw, 56px); line-height: 1.04; font-weight: 800; letter-spacing: -.025em; }
h2, .h2like { font-size: clamp(24px, 5.2vw, 34px); line-height: 1.15; font-weight: 800; letter-spacing: -.015em; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 700; margin-top: 1.4em; }
p { margin: 0 0 1em; }
.small { font-size: 14px; color: var(--muted); }
.muted { color: var(--muted); }
.lead { font-size: 18.5px; max-width: 760px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 14px; background: var(--ink); color: #fff; }
.skip:focus { left: 8px; }
.ico { flex: none; }

.frame { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.frame--text { max-width: 812px; }

/* labels */
.tag { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 500 12.5px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--gold-d); }
.tag::before { content: ""; width: 22px; height: 2px; background: var(--gold); }
.sheetno { display: inline-block; margin: 0 0 12px; padding: 2px 9px; border: 1.5px solid var(--ink); border-radius: 2px; font: 500 12px/1.5 var(--mono); color: var(--ink); background: #fff; }
.sheet__label { display: inline-block; margin: 0 0 12px; padding: 3px 9px; background: var(--ink); color: #fff; font: 500 11.5px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; border-radius: 2px; }
.stamp { font: 500 13px var(--mono); color: var(--muted); }
.pill { display: inline-block; padding: 4px 12px; border: 1.5px solid var(--ink); font: 500 14px var(--mono); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 11px 20px; border-radius: var(--r);
  font: 700 16px/1.2 var(--sans); text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: transform .12s, box-shadow .12s, background .12s; }
.btn:active { transform: translate(1px, 1px); }
.btn--gold { background: var(--gold); color: var(--ink); border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.btn--gold:hover { background: #e0a00e; color: var(--ink); }
.btn--ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--ink:hover { background: var(--ink2); color: #fff; }
.btn--line { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--wash); color: var(--ink); }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; box-shadow: none; }
.btnrow { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 0; }
.links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-weight: 600; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 2px solid var(--ink); }
.top__in { display: flex; align-items: center; gap: 12px; min-height: 62px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.logo__txt { font-size: 19px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; }
.logo__txt b { font-weight: 800; }
.top__acts { display: flex; align-items: center; gap: 8px; }
.tbtn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 10px;
  background: #fff; color: var(--ink); border: 1.5px solid var(--ink); border-radius: var(--r); font: 700 15px var(--sans); text-decoration: none; cursor: pointer; }
.tbtn--join { display: none; background: var(--gold); }
.tbtn .count { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--gold); color: var(--ink); font: 700 12px/20px var(--sans); }
.menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 2px solid var(--ink); }
.menu.is-open { display: block; }
.menu ul { list-style: none; margin: 0 auto; padding: 8px var(--gut) 14px; max-width: var(--max); }
.menu a { display: flex; align-items: center; min-height: 48px; padding: 0 4px; border-bottom: 1px dashed var(--line); text-decoration: none; font-weight: 700; color: var(--ink); }
.menu a[aria-current="page"] { color: var(--gold-d); }
.menu a[aria-current="page"]::before { content: ""; width: 8px; height: 8px; margin-right: 10px; background: var(--gold); }
.strip { background: var(--gold-t); border-top: 1px solid var(--gold-l); }
.strip .kit-closed-note { margin: 0; padding: 8px 0; font-size: 13.5px; font-weight: 600; color: var(--gold-d); }
@media (min-width: 1100px) {
  .menu { display: block; position: static; border: 0; background: none; }
  .menu ul { display: flex; gap: 2px; padding: 0; }
  .menu a { min-height: 40px; padding: 0 10px; border: 0; font-size: 15px; font-weight: 600; border-radius: 2px; }
  .menu a:hover { background: var(--wash); }
  .menu a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--gold); color: var(--ink); }
  .menu a[aria-current="page"]::before { display: none; }
  .tbtn--menu { display: none; }
  .logo { margin-right: 18px; }
  .menu { margin-right: auto; }
}
@media (min-width: 900px) { .tbtn--join { display: inline-flex; } }

/* crumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 16px; padding: 0; font: 500 12.5px var(--mono); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 4px; color: var(--gold); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* home hero */
.hero { padding: 26px 0 8px; }
.hero__grid { display: grid; gap: 22px; }
.hero__intro { font-size: 18.5px; max-width: 34em; }
.hero__stat { display: grid; gap: 2px; margin: 18px 0 4px; padding: 12px 16px; border-left: 5px solid var(--gold); background: #fff; box-shadow: var(--shadow); max-width: 30em; }
.hero__statn { font: 700 clamp(22px, 5.4vw, 30px)/1.2 var(--sans); color: var(--ink); }
.hero__stats { font: 500 13px/1.5 var(--mono); color: var(--muted); }
.hero__ph { margin-top: 26px; }
.hero__photo { aspect-ratio: 16 / 9; }
.fnote { margin: 12px 0 0; font-size: 13.5px; color: var(--muted); max-width: 70em; }
@media (min-width: 960px) {
  .hero { padding-top: 46px; }
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
}

/* page head */
.head { padding: 22px 0 28px; border-bottom: 1.5px solid var(--ink); background: linear-gradient(#fff, rgba(255, 255, 255, .7)); }
.head__intro { font-size: 18.5px; max-width: 40em; }
.head__grid { display: grid; gap: 22px; }
.head__photo { aspect-ratio: 16 / 9; }
@media (min-width: 900px) {
  .head { padding: 30px 0 40px; }
  .head__grid--two { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 44px; align-items: center; }
}
.head--legal h1 { font-size: clamp(30px, 6vw, 44px); }

/* bands */
.band { padding: 40px 0; }
.band + .band { border-top: 1px dashed var(--line); }
.band--grid { background: rgba(245, 247, 250, .75); }
.band--join { background: var(--ink); color: #dbe3ee; border-top: 0 !important; }
.band--join h2 { color: #fff; }
@media (min-width: 900px) { .band { padding: 60px 0; } }

/* sheets and figures */
.sheet { position: relative; background: #fff; border: 1.5px solid var(--ink); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); }
.sheet > :last-child { margin-bottom: 0; }
.sheet--gold { background: var(--gold-t); border-color: var(--gold-d); }
.sheetfig { margin: 0; background: #fff; border: 1.5px solid var(--ink); border-radius: var(--r); padding: 10px; box-shadow: var(--shadow); }
.sheetfig figcaption { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); font: 500 12.5px/1.5 var(--mono); color: var(--muted); }
.bigfig { font: 700 clamp(24px, 5.6vw, 32px)/1.2 var(--sans); color: var(--ink); margin: 0 0 12px; }
.bigfig em { font-style: normal; color: var(--gold-d); }

/* diagrams */
.dg { display: block; width: 100%; height: auto; overflow: visible; }
.dg-ink { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.dg-ink2 { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.dg-hair { fill: none; stroke: var(--hair); stroke-width: 1; }
.dg-hairline { fill: none; stroke: #94a3b8; stroke-width: 1; }
.dg-wallfill { fill: #eef2f6; stroke: none; }
.dg-glass { fill: #e6f0f8; stroke: var(--ink); stroke-width: 1.6; }
.dg-panel { fill: var(--ink2); stroke: var(--ink); stroke-width: 2; }
.dg-cell { fill: none; stroke: #64748b; stroke-width: 1; }
.dg-panelline { stroke: var(--ink2); stroke-width: 10; stroke-linecap: square; fill: none; }
.dg-panelbar { fill: var(--ink2); }
.dg-inv { fill: #475569; stroke: var(--ink); stroke-width: 1.6; }
.dg-cable { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.dg-cable--dc { stroke-dasharray: 7 5; }
.dg-socket { fill: #fff; stroke: var(--ink); stroke-width: 2.2; }
.dg-ground { stroke: var(--ink); stroke-width: 2.6; fill: none; }
.dg-dim { stroke: var(--gold); stroke-width: 1.8; fill: none; }
.dg-sun { fill: #fcd34d; stroke: var(--gold); stroke-width: 2; }
.dg-sun--dim { fill: #fef3c7; }
.dg-ray { stroke: var(--gold); stroke-width: 2.2; stroke-dasharray: 1 7; stroke-linecap: round; fill: none; }
.dg-arc { fill: none; stroke: var(--gold); stroke-width: 2.6; }
.dg-guide { stroke: #94a3b8; stroke-width: 1.2; stroke-dasharray: 4 4; fill: none; }
.dg-t { font: 500 17px var(--mono); fill: var(--text); }
.dg-t--c { text-anchor: middle; }
.dg-t--gold { fill: var(--gold-d); }
.dg-t--light { fill: #fff; }
.dg-stop { stroke: var(--bad); stroke-width: 3.2; stroke-linecap: round; fill: none; }
.dg-ok { stroke: var(--gold); stroke-width: 5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.dg-box { fill: #fff; stroke: var(--ink); stroke-width: 1.8; }
.dg-rcd { fill: var(--gold-t); stroke: var(--gold); stroke-width: 2; }
.dg-flow { stroke: var(--gold); stroke-width: 4; fill: none; stroke-linecap: round; }
.dg-flowhead { fill: none; stroke: var(--gold); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.dg-flow--grid, .dg-flowhead--grid { stroke: #64748b; }
.dg-path { fill: none; stroke: #b6c2d1; stroke-width: 2; stroke-dasharray: 3 6; }
.dg-path--on { stroke: var(--gold); stroke-width: 4; stroke-dasharray: none; }
.dg-fix { fill: var(--gold); stroke: var(--ink); stroke-width: 1.4; }

/* split: drawing + text */
.split { display: grid; gap: 22px; align-items: center; }
.split__body > :last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 52px; }
  .split--flip .split__fig { order: 2; }
}

/* photo feature */
.ph { position: relative; margin: 0; overflow: hidden; border: 1.5px solid var(--ink); border-radius: var(--r); background: var(--wash); box-shadow: var(--shadow); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph__tag { position: absolute; left: 10px; bottom: 10px; padding: 2px 8px; background: rgba(15, 23, 42, .78); color: #fff; font: 500 11.5px/1.6 var(--mono); border-radius: 2px; }
.pf { display: grid; gap: 22px; align-items: center; }
.pf__media { aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .pf { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 52px; } .pf--flip .pf__media { order: 2; } }

/* lists */
.list { padding-left: 1.2em; }
.list li { margin: .35em 0; }
.list li::marker { color: var(--gold); }
.ticks { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ico { margin-top: 3px; color: var(--ink); background: var(--gold-t); border: 1.5px solid var(--gold); border-radius: 2px; padding: 1px; width: 22px; height: 22px; }
.ticks--stop .ico { color: var(--bad); background: #fff; border-color: var(--bad); border-radius: 50%; }
.band--join .ticks .ico { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.seq { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.seq li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.seq__n { font: 500 15px/1.6 var(--mono); color: var(--gold-d); }
.seq li > span:last-child { display: grid; gap: 2px; }
.seq b { color: var(--ink); }
.seq--plain li > span:last-child { display: block; }
.note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; background: var(--gold-t); border-left: 4px solid var(--gold); font-size: 15.5px; }
.note .ico { margin-top: 2px; color: var(--gold-d); }
.formq { margin: 0; padding: 16px; border: 1.5px dashed var(--ink); background: #fff; font-family: var(--mono); font-size: 14px; }

/* cells (cards) */
.cells { display: grid; gap: 14px; }
.cell { background: #fff; border: 1.5px solid var(--ink); border-radius: var(--r); padding: 18px; }
.cell h3 { margin-top: 0; }
.cell p:last-child { margin-bottom: 0; }
.cell__code { margin: 0 0 6px; font: 500 12.5px var(--mono); color: var(--gold-d); }
@media (min-width: 700px) { .cells { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cells { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* zones (coverage list) */
.zones { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.zones li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.zones b { color: var(--ink); }
.zones span { font-size: 15px; color: var(--muted); }
@media (min-width: 760px) { .zones { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }

/* tables */
.tscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 12px; border: 1.5px solid var(--ink); border-radius: var(--r); background: #fff; }
.spec { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec th, .spec td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hair); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec th[scope="row"] { width: 38%; font-weight: 600; color: var(--ink); background: var(--wash); border-right: 1px solid var(--hair); }
.spec td { font-family: var(--mono); font-size: 14px; color: var(--ink2); }
.spec--cols thead th { background: var(--ink); color: #fff; font: 500 12.5px var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.spec--cols td { font-family: var(--sans); font-size: 15px; }
.spec--matrix { min-width: 640px; }
.spec--matrix thead th { background: var(--ink); color: #fff; padding: 12px; font: 700 16px var(--sans); }
.spec--matrix thead th a { color: #fff; text-decoration-color: var(--gold); }
.spec--matrix thead td { background: var(--ink); }
.spec--matrix th[scope="row"] { width: 22%; min-width: 130px; }

/* kit cards */
.kits { display: grid; gap: 16px; }
.kc { display: flex; flex-direction: column; background: #fff; border: 1.5px solid var(--ink); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.kc__media { display: block; border-bottom: 1.5px solid var(--ink); }
.kc__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.kc__code { margin: 0; font: 500 12.5px var(--mono); color: var(--gold-d); }
.kc__name { margin: 0; font-size: 22px; }
.kc__name a { text-decoration: none; }
.kc__suits { margin: 0; font-size: 15px; color: var(--muted); }
.kc__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 6px 0 8px; padding-top: 8px; border-top: 1px dashed var(--line); margin-top: auto; }
.kc__price { margin: 0; font: 500 15px var(--mono); color: var(--ink); }
.kits--small .kc__name { font-size: 18px; }
@media (max-width: 639px) {
  .kc { display: grid; grid-template-columns: 128px minmax(0, 1fr); }
  .kc__media { border-bottom: 0; border-right: 1.5px solid var(--ink); }
  .kc__media .kimg, .kc__media .kimg img { height: 100%; }
  .kc__media .kimg img { aspect-ratio: auto; }
  .kc__media .kimg__tag { font-size: 9.5px; left: 4px; bottom: 4px; padding: 0 4px; }
  .kc__body { padding: 12px; gap: 4px; }
  .kc__name { font-size: 19px; }
  .kc__suits { font-size: 14px; }
  .kc .btn { min-height: 44px; padding: 8px 12px; font-size: 15px; }
}
@media (min-width: 640px) { .kits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .kits { grid-template-columns: repeat(4, minmax(0, 1fr)); } .kits--small { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.kimg { position: relative; display: block; overflow: hidden; }
.kimg img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 897; object-fit: cover; }
.kimg__tag { position: absolute; left: 8px; bottom: 8px; padding: 1px 7px; background: rgba(15, 23, 42, .78); color: #fff; font: 500 11px/1.6 var(--mono); border-radius: 2px; }
.kit-stock { margin: 0; padding: 2px 8px; font: 500 12px var(--mono); border: 1.5px solid currentColor; border-radius: 2px; }
.kit-stock--waitlist { color: var(--gold-d); background: var(--gold-t); }
.kit-stock--preorder { color: var(--ink); background: #fff; }

/* kit page */
.kit { padding: 18px 0 34px; border-bottom: 1.5px solid var(--ink); }
.kit__top { display: grid; gap: 24px; }
.kit__fig { margin: 0; border: 1.5px solid var(--ink); border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.kit__fig figcaption { padding: 8px 12px; border-top: 1px dashed var(--line); font: 500 12px/1.5 var(--mono); color: var(--muted); }
.kit__fig--draw { padding: 10px; overflow: visible; }
.kit__fig--draw figcaption { padding: 8px 0 0; }
.kit__sum { font-size: 18px; }
.dims { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 16px 0; border: 1.5px solid var(--ink); border-radius: var(--r); background: #fff; }
.dims div { padding: 10px 12px; border-bottom: 1px solid var(--hair); }
.dims div:nth-child(odd) { border-right: 1px solid var(--hair); }
.dims div:nth-last-child(-n+2) { border-bottom: 0; }
.dims dt { font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.dims dd { margin: 2px 0 0; font: 700 18px var(--sans); color: var(--ink); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; }
.chips li { padding: 3px 9px; border: 1px solid var(--line); background: #fff; font: 500 12.5px var(--mono); color: var(--text); border-radius: 2px; }
.buy { background: #fff; border: 2px solid var(--ink); border-radius: var(--r); padding: 18px; box-shadow: 6px 6px 0 var(--gold); }
.buy__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.buy__title { margin: 0; font-size: 20px; font-weight: 800; color: var(--ink); }
.buy__note { font-size: 15px; margin: 10px 0; }
.rows { margin: 10px 0; }
.rows__r { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.rows__r dt { color: var(--text); }
.rows__r dd { margin: 0; font-family: var(--mono); font-size: 15px; color: var(--ink); text-align: right; }
.rows__r--total { border-bottom: 0; border-top: 1.5px solid var(--ink); font-weight: 700; }
.rows__r--total dt { color: var(--ink); }
.rows--mono .rows__r dt { font-size: 15px; }
.rows__r--hi dd { color: var(--gold-d); font-weight: 500; }
.rows__r--hi.is-best dd { color: var(--ok); }
@media (min-width: 900px) {
  .kit { padding: 28px 0 52px; }
  .kit__top { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); grid-template-areas: "photo info" "draw info"; column-gap: 46px; row-gap: 18px; align-items: start; }
  .kit__fig--photo { grid-area: photo; }
  .kit__fig--draw { grid-area: draw; }
  .kit__info { grid-area: info; position: sticky; top: 84px; }
}
.jump { position: sticky; top: 64px; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.jump ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 8px 0; overflow-x: auto; scrollbar-width: none; }
.jump ul::-webkit-scrollbar { display: none; }
.jump a { display: inline-block; white-space: nowrap; padding: 6px 10px; font: 500 13px var(--mono); color: var(--text); text-decoration: none; border: 1px solid var(--line); border-radius: 2px; }
.jump a:hover { border-color: var(--ink); color: var(--ink); }
.band--kit h2 { margin-bottom: .6em; }
.dispatch { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1.5px solid var(--ink); background: #fff; }

/* calculator */
.calc { display: grid; gap: 0; background: #fff; border: 2px solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.calc__in { padding: 18px; }
.calc__out { padding: 18px; background: var(--wash); border-top: 1.5px solid var(--ink); }
.calc__h { margin: 0 0 6px; font-size: 21px; font-weight: 800; color: var(--ink); line-height: 1.2; }
.calc__intro { font-size: 15.5px; }
.calc--mini .calc__out { padding-top: 14px; }
.calc__adv { margin-top: 10px; border-top: 1px dashed var(--line); padding-top: 10px; }
.calc__adv summary { cursor: pointer; font-weight: 700; color: var(--ink); min-height: 40px; display: flex; align-items: center; }
@media (min-width: 900px) {
  .calc:not(.calc--mini) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .calc:not(.calc--mini) .calc__in { padding: 26px; }
  .calc:not(.calc--mini) .calc__out { padding: 26px; border-top: 0; border-left: 1.5px solid var(--ink); }
}
.field { display: grid; gap: 6px; margin: 0 0 14px; min-width: 0; border: 0; padding: 0; }
.field > label, .field > legend, .pair label { font-weight: 700; color: var(--ink); font-size: 15.5px; padding: 0; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; font-size: max(16px, 1em); color: var(--ink);
  background: #fff; border: 1.5px solid var(--ink); border-radius: var(--r); }
.field textarea { min-height: 120px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.field.is-bad input, .field.is-bad select { border-color: var(--bad); }
.hint { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.hint.is-ok { color: var(--ok); } .hint.is-bad { color: var(--bad); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pair > div { display: grid; gap: 6px; }
.seg { display: grid; gap: 6px; }
.seg--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seg--5 label:first-child { grid-column: 1 / -1; }
.seg--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seg label { position: relative; display: block; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 6px 8px; text-align: center; border: 1.5px solid var(--ink); border-radius: var(--r);
  font-weight: 600; font-size: 15px; color: var(--ink); background: #fff; line-height: 1.2; }
.seg input:checked + span { background: var(--ink); color: #fff; box-shadow: inset 0 -4px 0 var(--gold); }
.seg input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (min-width: 560px) { .seg--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } .seg--5 label:first-child { grid-column: auto; } }
.calc--mini .seg--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .calc--mini .seg--5 label:first-child { grid-column: 1 / -1; }
@media (min-width: 560px) { .calc--mini .seg--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } .calc--mini .seg--5 label:first-child { grid-column: auto; } .calc--mini .seg span { font-size: 13.5px; } }
.readout { display: grid; gap: 4px; }
.readout__label { margin: 0; font: 500 12.5px var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.readout__big { margin: 0 0 4px; font: 800 clamp(28px, 7vw, 38px)/1.1 var(--sans); color: var(--ink); }
.readout__why { font-size: 14.5px; margin: 6px 0 10px; }
.readout__assume { font-size: 13px; color: var(--muted); }
.readout__warn { padding: 10px 12px; background: var(--gold-t); border-left: 4px solid var(--gold); font-size: 14.5px; }
.readout .btn + .btn { margin-top: 8px; }
.rec { margin: 4px 0 12px; padding: 12px 14px; background: #fff; border: 1.5px solid var(--ink); border-left: 6px solid var(--gold); }
.rec__h { margin: 0; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.rec__kit { margin: 4px 0; font-weight: 700; color: var(--ink); font-size: 17px; }
.rec .small { margin: 0; }

/* wall check */
.wc__group { margin-bottom: 30px; padding-bottom: 6px; border-bottom: 1px dashed var(--line); }
.wc__q { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.wc__q legend { display: flex; gap: 10px; align-items: flex-start; padding: 0; margin-bottom: 8px; font-weight: 700; color: var(--ink); font-size: 17px; }
.wc__n { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1.5px solid var(--ink); background: var(--gold); font: 500 14px var(--mono); color: var(--ink); border-radius: 2px; }
.wc__q .hint { margin: -2px 0 10px 40px; }
.wc__opts { display: grid; gap: 6px; margin-left: 40px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; }
.opt span { display: flex; align-items: center; min-height: 46px; padding: 8px 12px 8px 40px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; font-size: 15.5px; color: var(--ink); position: relative; }
.opt span::before { content: ""; position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border: 1.5px solid var(--ink); border-radius: 50%; background: #fff; }
.opt input:checked + span { border-color: var(--ink); background: var(--gold-t); }
.opt input:checked + span::before { background: var(--gold); box-shadow: inset 0 0 0 3px #fff; }
.opt input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (max-width: 480px) { .wc__opts { margin-left: 0; } .wc__q .hint { margin-left: 0; } }
.wc__msg { color: var(--bad); font-weight: 700; }
.wc__result { margin-top: 28px; }
.wc__result:focus { outline: none; }
.wc__score { display: flex; align-items: baseline; gap: 8px; margin: 0; font: 800 56px/1 var(--sans); color: var(--ink); }
.wc__of { font: 500 20px var(--mono); color: var(--muted); }
.wc__verdict { font-size: 19px; font-weight: 700; color: var(--ink); margin: 10px 0 14px; }
.wc__sub { margin: 14px 0 6px; font: 500 12.5px var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.wc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.wc__list li { display: flex; gap: 10px; align-items: flex-start; }
.wc__ico { flex: none; width: 14px; height: 14px; margin-top: 6px; border-radius: 50%; }
.wc__ico--stop { background: var(--bad); }
.wc__ico--fix { background: var(--gold); border-radius: 2px; }

/* FAQs */
.qa { border-top: 1.5px solid var(--ink); }
.qa__item { border-bottom: 1px solid var(--line); }
.qa__item summary { display: flex; justify-content: space-between; gap: 14px; align-items: center; min-height: 56px; padding: 12px 0; cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); font-size: 17px; }
.qa__item summary::-webkit-details-marker { display: none; }
.qa__item summary .ico { transition: transform .15s; color: var(--gold-d); }
.qa__item[open] summary .ico { transform: rotate(45deg); }
.qa__a { padding: 0 0 14px; }
.qa__a > :last-child { margin-bottom: 0; }

/* join */
.joinx { display: grid; gap: 24px; }
.joinx .sheet__label { background: var(--gold); color: var(--ink); }
.band--join .kit-list { background: #fff; color: var(--text); border: 2px solid var(--gold); border-radius: var(--r); padding: 18px; margin: 0; }
@media (min-width: 900px) { .joinx { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; } }
.kit-list { background: #fff; border: 1.5px solid var(--ink); border-radius: var(--r); padding: 16px; }
.kit-list__title { font-size: 19px; color: var(--ink); }
.kit-list__intro { font-size: 15px; }
.kit-list__field label { font-weight: 700; color: var(--ink); font-size: 15px; }
.kit-list__field input { border: 1.5px solid var(--ink); border-radius: var(--r); color: var(--ink); }
.kit-list__btn { background: var(--gold); color: var(--ink); border: 1.5px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.kit-list__msg { color: var(--bad); }
.kit-list__tick { font-size: 15px; }
.kit-list__tick input, .kit-terms input { accent-color: var(--gold); }

/* forms */
.form { display: grid; gap: 2px; }
.form__msg { color: var(--bad); font-weight: 700; }
.inrow { display: flex; gap: 8px; }
.inrow input { flex: 1; }
.contactline { display: flex; gap: 10px; align-items: center; }

/* next box */
.nextbox { padding: 20px; border: 2px solid var(--ink); background: var(--gold-t); border-radius: var(--r); box-shadow: var(--shadow); }
.nextbox__t { font-size: 19px; font-weight: 700; color: var(--ink); }

/* basket */
.co { display: grid; gap: 16px; }
.co__step, .co__sum { margin-bottom: 14px; }
.co__h { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); font-size: 18px; margin-bottom: 12px; }
.co__n { font: 500 13px var(--mono); padding: 2px 6px; background: var(--ink); color: #fff; border-radius: 2px; }
.bline { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; padding: 8px 0; }
.bline__name { margin: 0; font-weight: 700; }
.bline__meta { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.bline__rm { background: none; border: 0; color: var(--bad); font-weight: 700; cursor: pointer; min-height: 40px; }
.errors { color: var(--bad); font-weight: 600; }
@media (min-width: 900px) { .co { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; } .co__side { position: sticky; top: 84px; } }

/* thank you */
.thanks-alt { padding: 6px 0; }
.kit-thanks { margin-top: 14px; padding: 18px; border: 2px solid var(--ink); background: var(--gold-t); border-radius: var(--r); }
.kit-thanks__title { font-size: 22px; color: var(--ink); }

/* footer */
.foot { margin-top: 0; padding: 40px 0 28px; background: var(--ink); color: #b7c3d3; font-size: 15px; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { text-decoration: underline; text-decoration-color: var(--gold); color: #fff; }
.foot__head { display: grid; gap: 8px; padding-bottom: 20px; border-bottom: 1px dashed #334155; }
.foot__logo { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 500; }
.foot__logo b { font-weight: 800; }
.foot__tag { margin: 0; max-width: 40em; }
.foot__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; padding: 22px 0; }
.foot__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot__col li a, .foot__btn { display: inline-flex; align-items: center; min-height: 36px; }
.foot__h { margin: 0 0 8px; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--gold); }
.foot__btn { background: none; border: 0; padding: 0; color: #fff; font: inherit; cursor: pointer; }
.foot__rules { display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px; border: 1px solid #334155; font-size: 14px; }
.foot__rules .ico { margin-top: 3px; color: var(--gold); }
.foot__small { font-size: 13px; margin: 14px 0 0; color: #8fa0b5; }
@media (min-width: 760px) { .foot__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* bottom dock (phones) */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: #fff; border-top: 2px solid var(--ink); }
.dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 54px; border-radius: var(--r);
  color: var(--ink); text-decoration: none; font: 600 11.5px/1.2 var(--sans); }
.dock a[aria-current="page"] { background: var(--wash); box-shadow: inset 0 3px 0 var(--gold); }
.dock .dock__cta { background: var(--gold); border: 1.5px solid var(--ink); }
.dock a:active { transform: scale(.97); }
@media (min-width: 900px) { .dock { display: none; } body { padding-bottom: 0; } }

/* toast + consent */
.toast { position: fixed; left: 12px; right: 12px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 70; max-width: 480px; margin: 0 auto; padding: 14px 16px; background: var(--ink); color: #fff; border-radius: var(--r); box-shadow: var(--shadow); }
.toast a { color: var(--gold); font-weight: 700; }
.consent { position: fixed; left: 12px; right: 12px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 80; max-width: 520px; margin: 0 auto; padding: 18px;
  background: #fff; border: 2px solid var(--ink); border-radius: var(--r); box-shadow: 6px 6px 0 var(--gold); }
.consent__title { margin: 0 0 6px; font-weight: 800; font-size: 18px; color: var(--ink); }
.consent p { font-size: 14.5px; }
.consent__btns { display: flex; gap: 8px; }
.consent__btns .btn { flex: 1; }
@media (min-width: 900px) { .toast, .consent { bottom: 16px; left: auto; right: 16px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Plug-in solar kit pieces (generator/partials/_kit.html). Appended to the theme CSS on kit sites only.
   Structure only, at zero specificity: colours, fonts and borders come from the theme, which can restyle any of it.
   Mobile first: fields fill the width, tap targets are 44px or more, long words wrap instead of scrolling sideways. */
:where(.kit-list, .kit-terms, .kit-note, .kit-stock, .kit-closed, .kit-closed-note, .kit-thanks) { box-sizing: border-box; max-width: 100%; overflow-wrap: anywhere; }
:where(.kit-list) { display: grid; gap: .75rem; margin: 1rem 0; min-width: 0; }
:where(.kit-list *, .kit-list *::before, .kit-list *::after) { box-sizing: border-box; }
:where(.kit-list__title, .kit-thanks__title) { margin: 0; font-weight: 700; }
:where(.kit-list__intro, .kit-list__msg) { margin: 0; }
:where(.kit-list__msg) { font-weight: 600; }
:where(.kit-list__field) { display: grid; gap: .3rem; min-width: 0; }
:where(.kit-list__field input) { width: 100%; max-width: 100%; min-height: 48px; padding: .6rem .75rem; font: inherit; font-size: max(16px, 1em); }
:where(.kit-list__tick, .kit-terms) { display: flex; gap: .65rem; align-items: flex-start; min-height: 44px; padding: .4rem 0; cursor: pointer; }
:where(.kit-list__tick input, .kit-terms input) { flex: none; width: 24px; height: 24px; margin: .1rem 0 0; }
:where(.kit-list__btn) { width: 100%; min-height: 48px; }
:where(.kit-hp) { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
:where(.kit-stock) { display: inline-block; margin: .25rem 0; font-weight: 700; }
:where(.kit-opt) { font-weight: 400; opacity: .8; }
:where(.kit-thanks__lines) { padding-left: 1.2rem; }
@media (min-width: 40em) { :where(.kit-list__btn) { width: auto; justify-self: start; padding-inline: 1.5rem; } }
