/* Newcastle Solar Shop theme "gloaming" (the North East word for dusk). Look B base: white, rounded bordered cards,
   checkout-style cards. Dusk plum #86198f with a low-sun amber, Geologica + Martian Mono. The signature is the spec
   sheet: sortable matrices with monospaced figures, datasheet-style product cards and a capacity readout.
   Phone first: 16px gutters, 44px+ tap targets, app-style bottom tab bar. */
:root {
  --ink: #1d1124; --text: #3d3346; --muted: #6a5f73; --line: #ebe3ef; --line-2: #ddd1e3; --soft: #f7f3f8; --softer: #fbf9fc;
  --plum: #86198f; --plum-d: #6b1373; --plum-t: #fbf0fc; --plum-2: #f3e1f5; --night: #22122b; --night-2: #3b1745;
  --sun: #f59e0b; --sun-t: #fff3dc; --sun-ink: #7c2d12;
  --ok: #067647; --bad: #b42318; --bad-t: #fef3f2;
  --r-xl: 22px; --r-l: 18px; --r-m: 14px; --r-s: 10px;
  --sans: "Geologica", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Martian Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gut: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6;
  overflow-x: hidden; overflow-wrap: break-word; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--plum); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--plum-d); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { margin: 0; color: var(--ink); letter-spacing: -0.015em; font-weight: 700; }
h1 { font-size: clamp(29px, 7.6vw, 48px); line-height: 1.1; letter-spacing: -0.025em; }
h2, .h2like { font-size: clamp(21px, 5.4vw, 29px); line-height: 1.22; margin-bottom: 12px; }
h3 { font-size: 17.5px; line-height: 1.35; margin: 20px 0 8px; }
p { margin: 0 0 12px; }
.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: 80; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 var(--gut); }
.wrap--text { max-width: 780px; }
.muted, .hint { color: var(--muted); }
.small { font-size: 13px; color: var(--muted); }
.lead { color: var(--muted); font-size: 17px; max-width: 660px; }
.ico { flex: none; vertical-align: middle; }
.mono, .num { font-family: var(--mono); font-feature-settings: "tnum" 1; letter-spacing: -0.01em; }

/* label style used across the theme: small mono caps, like a datasheet heading */
.eyebrow, .tag { margin: 0 0 8px; font: 500 11.5px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--plum); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--plum-t); margin: 0; }
.tag--sun { background: var(--sun-t); color: var(--sun-ink); }
.tag--grey { background: var(--soft); color: var(--muted); }
.stamp { display: inline-block; margin: 8px 0 0; font: 400 12px/1.5 var(--mono); color: var(--muted); }

/* coming-soon ribbon */
.ribbon { background: var(--night); color: #f1e6f4; }
.ribbon p { max-width: 1140px; margin: 0 auto; padding: 9px var(--gut); font-size: 13.5px; font-weight: 500; }
.ribbon b { color: var(--sun); font-weight: 600; }

/* header: a dusk rule across the top, white bar below */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); }
.hdr::before { content: ""; display: block; height: 3px; background: linear-gradient(90deg, var(--night-2), var(--plum) 55%, var(--sun)); }
.hdr__in { display: flex; align-items: center; gap: 8px; min-height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand__word { display: flex; flex-direction: column; line-height: 1.05; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.brand__word small { font: 500 10px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--plum); margin-top: 3px; }
.hdr__acts { display: flex; gap: 6px; align-items: center; }
.iconbtn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; padding: 0; text-decoration: none; }
.iconbtn:hover { color: var(--plum); border-color: var(--line-2); }
.iconbtn--menu { background: var(--soft); border-color: var(--soft); }
.hdr__nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 30px -20px rgba(29,17,36,.4); }
.hdr__nav.is-open { display: block; }
.hdr__nav ul { list-style: none; margin: 0 auto; padding: 6px var(--gut) 14px; max-width: 1140px; }
.hdr__nav a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 4px; border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-weight: 500; }
.hdr__nav a::after { content: "→"; font-family: var(--mono); color: var(--muted); font-size: 13px; }
.hdr__nav li:last-child a { border-bottom: 0; }
.hdr__nav a[aria-current="page"] { color: var(--plum); font-weight: 600; }
@media (min-width: 980px) {
  .hdr__nav { display: block; position: static; border: 0; box-shadow: none; background: none; }
  .hdr__nav ul { display: flex; gap: 2px; padding: 0; margin: 0 10px 0 0; }
  .hdr__nav a { min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px; font-size: 15px; }
  .hdr__nav a::after { display: none; }
  .hdr__nav a:hover, .hdr__nav a[aria-current="page"] { background: var(--plum-t); color: var(--plum); }
  .iconbtn--menu { display: none; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 22px; border-radius: var(--r-m);
  border: 1px solid transparent; font: 600 16px/1.2 var(--sans); text-decoration: none; cursor: pointer; text-align: center; }
.btn--plum { background: var(--plum); color: #fff; }
.btn--plum:hover { background: var(--plum-d); color: #fff; }
.btn--line { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--line:hover { border-color: var(--plum); color: var(--plum); }
.btn--night { background: var(--night); color: #fff; }
.btn--night:hover { background: var(--night-2); color: #fff; }
.btn--wide { display: flex; width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btnrow { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.links { display: flex; flex-wrap: wrap; gap: 0 18px; margin: 12px 0 0; }
.links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* sections */
.sec { padding: 26px 0; }
.sec--soft { background: var(--soft); padding: 34px 0; }
.sec--rule .wrap { border-top: 1px solid var(--line); padding-top: 26px; }
.panel { border: 1px solid var(--line); border-radius: var(--r-xl); padding: 20px; background: #fff; }
.panel--soft { background: var(--soft); border-color: var(--soft); }
.panel--plum { background: var(--plum-t); border-color: var(--plum-2); }
.panel > :last-child { margin-bottom: 0; }
.panel__btn { margin: 16px 0 0; }
.sechead { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 6px 16px; margin-bottom: 12px; }
.sechead h2 { margin: 0; }
.sechead .lead { margin: 6px 0 0; }

/* page hero */
.phero { padding: 14px 0 6px; }
.phero h1 { margin-top: 6px; max-width: 22ch; }
.phero__intro { margin-top: 12px; font-size: 17px; color: var(--muted); max-width: 680px; }
.phero__intro p { color: var(--muted); }
.phero--legal h1 { font-size: clamp(27px, 7vw, 40px); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0 6px; margin: 0; padding: 0; font: 400 12px/1.4 var(--mono); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #b3a7bb; }
.crumbs li { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
.crumbs a:hover { color: var(--plum); }

/* home hero: copy, then the dusk readout card */
.hhero { padding: 20px 0 6px; }
.hhero__grid { display: grid; gap: 20px; }
.hhero h1 { margin: 12px 0 0; max-width: 17ch; }
.hhero__intro { margin-top: 12px; font-size: 17px; color: var(--muted); max-width: 560px; }
.hhero__intro p { color: var(--muted); }
.readout { position: relative; border-radius: var(--r-xl); padding: 18px; color: #f4ecf6; overflow: hidden;
  background: radial-gradient(120% 90% at 100% 0%, rgba(245,158,11,.28), transparent 55%), linear-gradient(160deg, var(--night) 10%, var(--night-2) 60%, #5b1563); }
.readout::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 28px; opacity: .35;
  background: repeating-linear-gradient(90deg, #f4ecf6 0 1px, transparent 1px 12px); -webkit-mask: linear-gradient(transparent, #000); mask: linear-gradient(transparent, #000); }
.readout__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.readout__label { margin: 0; font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #e3c9ea; }
.seg { display: inline-flex; padding: 3px; border-radius: 12px; background: rgba(255,255,255,.1); }
.seg button { min-height: 44px; min-width: 64px; padding: 0 12px; border: 0; border-radius: 9px; background: none; color: #f4ecf6; font: 500 13px var(--mono); cursor: pointer; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--night); }
.readout__big { margin: 14px 0 2px; font: 500 clamp(38px, 11vw, 56px)/1 var(--mono); letter-spacing: -0.04em; color: #fff; }
.readout__big span { font-size: .42em; letter-spacing: 0; color: var(--sun); margin-left: 6px; }
.readout__sub { margin: 0 0 12px; font-size: 13.5px; color: #e3c9ea; }
.readout dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: relative; z-index: 1; }
.readout dl div { padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.08); }
.readout dt { font-size: 12.5px; color: #e3c9ea; }
.readout dd { margin: 2px 0 0; font: 500 19px/1.2 var(--mono); color: #fff; }
.readout dd small { font-size: 11px; color: #e3c9ea; }
.readout__note { position: relative; z-index: 1; margin: 12px 0 6px; font-size: 12px; line-height: 1.45; color: #e3c9ea; }
.ph.hband { margin-top: 20px; aspect-ratio: 16 / 9; }
@media (min-width: 900px) {
  .hhero { padding-top: 40px; }
  .hhero__grid { grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }
  .readout { padding: 24px; }
  .ph.hband { aspect-ratio: 21 / 8; margin-top: 28px; }
}

/* the "never with a plug-in kit" notice */
.nokit { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0 0; padding: 14px 16px; border-radius: var(--r-l);
  background: var(--sun-t); color: var(--sun-ink); border: 1px solid #f6d9a6; }
.nokit .ico { color: var(--sun-ink); margin-top: 2px; }
.nokit p { margin: 0; color: var(--sun-ink); font-size: 15px; }
.nokit b { display: block; font-weight: 700; }
.sec--nokit { padding: 6px 0 0; }

/* text content */
.wrap--text p, .wrap--text li { color: var(--text); }
.list { margin: 0 0 14px; padding-left: 22px; }
.list li { margin: 5px 0; }
.list--num li::marker { font-family: var(--mono); color: var(--plum); font-size: 13px; }
.checks { list-style: none; margin: 4px 0 14px; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.checks .ico { color: var(--plum); margin-top: 3px; stroke-width: 2.4; }
.nots { list-style: none; margin: 4px 0 14px; padding: 0; display: grid; gap: 8px; }
.nots li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-m); font-size: 15px; }
.nots .ico { color: var(--bad); margin-top: 3px; }
.nots b { color: var(--ink); }
.note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-l); background: var(--plum-t); font-size: 15px; margin: 16px 0; }
.note .ico { color: var(--plum); margin-top: 2px; }
.note span { color: var(--text); }
.contactline { display: flex; gap: 10px; align-items: center; min-height: 44px; font-weight: 600; }
.contactline .ico { color: var(--plum); }

/* plain tables */
.tscroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-l); margin: 8px 0 14px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.tbl thead th { background: var(--soft); font: 500 11.5px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tbl tbody th { font-weight: 600; color: var(--ink); }
.tbl tbody tr:last-child > * { border-bottom: 0; }

/* spec matrix: dark head, sticky first column, mono figures, sortable */
.mx-wrap { position: relative; }
.mx-scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-l); background: #fff; }
.mx { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.mx th, .mx td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; white-space: nowrap; }
.mx thead th { background: var(--night); color: #f1e6f4; font: 500 11px/1.35 var(--mono); text-transform: uppercase; letter-spacing: .06em; vertical-align: bottom; white-space: normal; min-width: 92px; }
.mx thead th:first-child { border-top-left-radius: calc(var(--r-l) - 1px); position: sticky; left: 0; z-index: 2; min-width: 136px; }
.mx thead th:last-child { border-top-right-radius: calc(var(--r-l) - 1px); }
.mx thead th small { display: block; text-transform: none; letter-spacing: 0; color: #cdb6d6; font-size: 10.5px; margin-top: 2px; }
.mx__sort { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; width: 100%; min-height: 44px; padding: 0; border: 0; background: none;
  color: inherit; font: inherit; text-transform: inherit; letter-spacing: inherit; text-align: left; cursor: pointer; }
.mx__sort::after { content: "↕"; font-size: 12px; color: #b79ac2; }
.mx th[aria-sort="ascending"] .mx__sort::after { content: "↑"; color: var(--sun); }
.mx th[aria-sort="descending"] .mx__sort::after { content: "↓"; color: var(--sun); }
.mx tbody th { position: sticky; left: 0; z-index: 1; background: #fff; font-weight: 600; color: var(--ink); box-shadow: 1px 0 0 var(--line); white-space: normal; min-width: 136px; }
.mx tbody th a { color: var(--plum); }
.mx td { color: var(--ink); }
.mx td.is-num { font-family: var(--mono); font-feature-settings: "tnum" 1; text-align: right; font-size: 13.5px; }
.mx tbody tr:nth-child(even) > * { background: var(--softer); }
.mx tbody tr:last-child > * { border-bottom: 0; }
.mx tbody tr:hover > * { background: var(--plum-t); }
.mx__foot { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.mx__hint { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 8px; font: 400 11.5px/1.4 var(--mono); color: var(--muted); }
.pill { display: inline-flex; padding: 3px 9px; border-radius: 999px; background: var(--plum-t); color: var(--plum); font: 500 11px/1.4 var(--mono); white-space: nowrap; }

/* FAQ */
.faq { border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.faq__item + .faq__item { border-top: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 58px; padding: 12px 16px;
  cursor: pointer; font-weight: 600; font-size: 15.5px; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .ico { transition: transform .2s; color: var(--plum); }
.faq__item[open] summary { color: var(--plum); }
.faq__item[open] summary .ico { transform: rotate(45deg); }
.faq__a { padding: 0 16px 14px; }
.faq__a p { font-size: 15px; color: var(--text); }

/* steps */
.steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 0; border-left: 2px solid var(--plum-2); margin-left: 14px; }
.steps li { position: relative; display: flex; flex-direction: column; padding: 4px 0 18px 26px; }
.steps li:last-child { padding-bottom: 4px; }
.steps__n { position: absolute; left: -15px; top: 2px; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px;
  border-radius: 999px; background: #fff; border: 2px solid var(--plum); color: var(--plum); font: 500 12px var(--mono); }
.steps li b { color: var(--ink); }
.steps li > span:not(.steps__n) { color: var(--muted); font-size: 15px; }

/* tiles */
.tiles { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.tile { border: 1px solid var(--line); border-radius: var(--r-l); padding: 16px; background: #fff; }
.tile h3 { margin-top: 8px; }
.tile p { color: var(--text); font-size: 15px; margin: 0; }

/* product cards: datasheet label with a big mono figure */
.pgrid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.pcard { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; background: #fff; min-width: 0; }
.pcard__media { display: block; position: relative; background: var(--soft); }
.pcard__media .kimg img { aspect-ratio: 1200 / 897; }
.pcard__fig { position: absolute; right: 10px; top: 10px; padding: 6px 10px; border-radius: 10px; background: rgba(255,255,255,.94); font: 500 17px/1 var(--mono); color: var(--ink); letter-spacing: -0.03em; }
.pcard__fig span { font-size: 11px; color: var(--plum); letter-spacing: 0; margin-left: 3px; }
.pcard__body { display: flex; flex-direction: column; gap: 4px; padding: 14px; flex: 1; }
.pcard__kind { margin: 0; font: 500 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--plum); }
.pcard__name { margin: 0; font-size: 18px; }
.pcard__name a { display: flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; }
.pcard__name a:hover { color: var(--plum); }
.pcard__text { margin: 0 0 6px; font-size: 14.5px; color: var(--muted); }
.pcard__rows { margin: 4px 0 12px; border-top: 1px dashed var(--line-2); }
.pcard__rows div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line-2); font-size: 13.5px; }
.pcard__rows dt { color: var(--muted); }
.pcard__rows dd { margin: 0; font-family: var(--mono); font-size: 12.5px; text-align: right; color: var(--ink); }
.pcard .btn { margin-top: auto; min-height: 48px; font-size: 15px; }
.pcard .kit-stock { align-self: flex-start; }

/* stock labels + list form */
.kit-stock { display: inline-flex; padding: 4px 10px; border-radius: 999px; font: 500 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.kit-stock--waitlist { background: var(--sun-t); color: var(--sun-ink); }
.kit-stock--preorder { background: var(--plum-t); color: var(--plum); }
.kit-list { margin: 14px 0 0; padding: 16px; border-radius: var(--r-l); background: var(--soft); border: 1px solid var(--line); }
.kit-list p { margin: 0; }
.kit-list__title { font-size: 18px; font-weight: 700; }
.kit-list__intro { font-size: 14.5px; color: var(--muted); }
.kit-list__field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.kit-list__field input, .kit-list__field select { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff;
  font: 400 16px/1.4 var(--sans); color: var(--ink); }
.kit-list__field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.kit-list__field input:focus, .kit-list__field select:focus { border-color: var(--plum); outline: 3px solid var(--plum-2); }
.kit-list__tick { font-size: 14px; color: var(--text); }
.kit-list__tick input, .kit-terms input { accent-color: var(--plum); }
.kit-list__msg { color: var(--bad); font-size: 14px; }
.kit-list__btn { background: var(--plum); color: #fff; border: 0; border-radius: var(--r-m); font: 600 16px var(--sans); cursor: pointer; min-height: 52px; }
.kit-list__btn:hover { background: var(--plum-d); }
.kit-closed { margin: 12px 0 0; font-weight: 600; }
.kit-thanks { margin: 16px 0 0; padding: 18px; border-radius: var(--r-l); background: var(--plum-t); }
.kit-thanks__title { font-size: 22px; font-weight: 700; color: var(--ink); }

/* product page */
.pdp { padding: 8px 0 6px; }
.pdp__top { display: grid; gap: 16px; margin-top: 4px; }
.pdp__fig { margin: 0; }
.pdp__fig .kimg { border-radius: var(--r-xl); }
.pdp__fig figcaption { margin-top: 6px; font-size: 12px; color: var(--muted); }
.pdp__draw { display: none; margin-top: 12px; padding: 12px; border: 1px dashed var(--line-2); border-radius: var(--r-xl); background: var(--softer); }
.pdp__draw img { width: 100%; height: auto; }
.pdp__info h1 { font-size: clamp(26px, 6.6vw, 38px); line-height: 1.15; }
.pdp__sum { margin: 10px 0 0; color: var(--muted); font-size: 16px; }
.pdp__fact { display: flex; align-items: baseline; gap: 10px; margin: 14px 0 0; padding: 12px 14px; border-radius: var(--r-m); background: var(--plum-t); }
.pdp__fact b { font: 500 30px/1 var(--mono); letter-spacing: -0.04em; color: var(--ink); }
.pdp__fact b span { font-size: 14px; color: var(--plum); margin-left: 4px; letter-spacing: 0; }
.pdp__fact small { font-size: 13px; color: var(--muted); }
.card { border: 1px solid var(--line); border-radius: var(--r-xl); padding: 18px; background: #fff; }
.buy { margin-top: 16px; }
.buy__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.buy__title { margin: 0; font-weight: 700; font-size: 18px; }
.buy .kv { margin-top: 10px; }
.buy .kit-list { margin-top: 12px; }
.sec--pdp { padding: 18px 0; }
.sec--pdp h2 { font-size: clamp(20px, 5vw, 24px); }
@media (min-width: 880px) {
  .pdp__top { grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: start; }
  .pdp__media { position: sticky; top: 92px; }
  .pdp__draw { display: block; }
}

/* key-value rows */
.kv { margin: 12px 0 0; border-top: 1px solid var(--line); }
.kv__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.kv__row dt { color: var(--muted); font-size: 14px; }
.kv__row dd { margin: 0; font-family: var(--mono); font-size: 13.5px; text-align: right; }

/* three-column spec sheet on product pages */
.sheet { border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.sheet__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 4px 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.sheet__row:nth-child(even) { background: var(--softer); }
.sheet__row:last-child { border-bottom: 0; }
.sheet__k { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.sheet__v { font-family: var(--mono); font-size: 13px; color: var(--ink); }
.sheet__v.is-tbc { color: var(--muted); }
.sheet__why { grid-column: 1 / -1; font-size: 13.5px; color: var(--muted); }
@media (min-width: 720px) {
  .sheet__row { grid-template-columns: 1fr 1fr 1.4fr; }
  .sheet__why { grid-column: auto; }
}

/* tools: sizer and finder */
.tool { display: grid; gap: 16px; }
.tool__step { border: 1px solid var(--line); border-radius: var(--r-xl); padding: 16px; background: #fff; min-width: 0; }
.tool__h { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 18px; }
.tool__n { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 999px; background: var(--plum); color: #fff; font: 500 12px var(--mono); flex: none; }
.tool__opts { display: grid; gap: 8px; }
.opt { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-m); cursor: pointer; font-size: 15px; background: #fff; }
.opt input { width: 20px; height: 20px; accent-color: var(--plum); flex: none; margin: 0; }
.opt span small { display: block; font-size: 13px; color: var(--muted); }
.opt:has(input:checked) { border-color: var(--plum); background: var(--plum-t); box-shadow: inset 0 0 0 1px var(--plum); }
.loads { display: grid; gap: 8px; }
.load { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-m); }
.load:has(input[type=checkbox]:checked) { border-color: var(--plum); background: var(--plum-t); }
.load > input[type=checkbox] { width: 22px; height: 22px; accent-color: var(--plum); margin: 0; }
.load__name { font-weight: 600; font-size: 15px; }
.load__nums { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px; }
.load__nums label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.load__nums input { width: 74px; min-height: 44px; padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; font: 400 16px var(--mono); color: var(--ink); }
.load__nums input:focus { border-color: var(--plum); outline: 3px solid var(--plum-2); }
.result { border-radius: var(--r-xl); padding: 18px; background: var(--night); color: #f4ecf6; }
.result h2, .result h3 { color: #fff; }
.result__big { margin: 6px 0 4px; font: 500 clamp(30px, 9vw, 44px)/1.05 var(--mono); letter-spacing: -0.03em; color: #fff; }
.result__big span { font-size: .45em; color: var(--sun); letter-spacing: 0; margin-left: 6px; }
.result p, .result li { color: #e3c9ea; }
.result .kv { border-color: rgba(255,255,255,.14); }
.result .kv__row { border-color: rgba(255,255,255,.14); }
.result .kv__row dt { color: #e3c9ea; }
.result .kv__row dd { color: #fff; }
.result__warn { margin: 12px 0 0; padding: 12px; border-radius: 12px; background: var(--sun-t); color: var(--sun-ink) !important; font-size: 14px; font-weight: 600; }
.result__warn:empty { display: none; }
.result .btn--line { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.result a:not(.btn) { color: #fde68a; }
.fres { display: grid; gap: 12px; }
.fres__block { border: 1px solid var(--line); border-radius: var(--r-l); padding: 16px; background: #fff; }
.fres__block h3 { margin-top: 0; }
.fres__fig { font: 500 26px/1.1 var(--mono); letter-spacing: -0.03em; color: var(--ink); margin: 2px 0 6px; }
.fres__fig span { font-size: 13px; color: var(--plum); margin-left: 6px; letter-spacing: 0; }
@media (min-width: 900px) {
  .tool--split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; gap: 24px; }
  .tool__out { position: sticky; top: 92px; }
  .tool__opts--3 { grid-template-columns: repeat(3, 1fr); }
  .tool__opts--2 { grid-template-columns: repeat(2, 1fr); }
}

.tool__in { display: grid; gap: 16px; min-width: 0; }
fieldset.tool__step { margin: 0; }
.result .tool__h, .result .eyebrow { color: #fff; }
.result .eyebrow { color: #e3c9ea; }
.tool__n--sun { background: var(--sun); color: var(--night); }
.result__fit { margin-top: 12px; }
.result__small { color: #e3c9ea !important; margin-top: 10px; }
.form__small { margin-top: 10px; }

/* forms */
.field { display: grid; gap: 6px; margin: 0 0 14px; min-width: 0; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; max-width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 12px;
  background: var(--softer); font: 400 16px/1.4 var(--sans); color: var(--ink); }
.field input:focus, .field textarea:focus { border-color: var(--plum); outline: 3px solid var(--plum-2); background: #fff; }
.form__msg { color: var(--bad); font-weight: 600; }
.form .btn { margin-top: 4px; }
.kit-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* join box */
.joinbox { display: grid; gap: 18px; padding: 20px; border-radius: var(--r-xl); border: 1px solid var(--plum-2);
  background: linear-gradient(170deg, var(--plum-t), #fff 65%); }
.joinbox .kit-list { background: #fff; margin: 0; }
.joinbox h2 { margin-top: 4px; }
@media (min-width: 900px) { .joinbox { grid-template-columns: 1fr 1fr; gap: 36px; padding: 34px; align-items: start; } }

/* photo feature */
.ph { position: relative; margin: 0; border-radius: var(--r-xl); overflow: hidden; background: var(--soft); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph__tag, .kimg__tag { position: absolute; left: 10px; bottom: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(29,17,36,.66);
  color: #fff; font: 400 10.5px/1.5 var(--mono); letter-spacing: .02em; }
.pf { display: grid; gap: 18px; align-items: center; }
.pf__media { aspect-ratio: 4 / 3; }
.pf__body h2 { margin-top: 0; }
.pf__body p { color: var(--text); }
@media (min-width: 900px) {
  .pf { grid-template-columns: 1fr 1fr; gap: 44px; }
  .pf--flip .pf__media { order: 2; }
}
.kimg { position: relative; display: block; overflow: hidden; border-radius: inherit; }
.kimg img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 897; object-fit: cover; }

/* next box */
.nextbox { display: grid; gap: 4px; padding: 20px; border-radius: var(--r-xl); background: var(--night); color: #fff; }
.nextbox__t { margin: 0; font-weight: 700; font-size: 20px; color: #fff !important; }
.nextbox .btnrow { margin-top: 10px; }
.nextbox .btn--line { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }

/* reviews placeholder */
.empty { text-align: center; padding: 28px 18px; border: 1px dashed var(--line-2); border-radius: var(--r-xl); background: var(--softer); }
.empty p { color: var(--muted); }
.empty__big { font: 500 34px/1 var(--mono); color: var(--ink); margin: 0 0 8px; }

/* thanks */
.h1like { font-size: clamp(29px, 7.6vw, 42px); font-weight: 700; line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 10px; color: var(--ink); }
.thanks-alt p:not(.h1like) { color: var(--muted); font-size: 17px; }

/* legal */
.form-quote { margin: 12px 0; padding: 16px 18px; border-left: 4px solid var(--plum); background: var(--soft); border-radius: 0 var(--r-m) var(--r-m) 0; }
.form-quote p { font-size: 15px; overflow-wrap: anywhere; }
.tpl-legal .wrap--text h2 { font-size: clamp(19px, 5vw, 23px); margin-top: 8px; }
.wrap--text code { font-family: var(--mono); font-size: 12px; }

/* footer */
.ftr { margin-top: 36px; padding: 30px 0 38px; background: var(--night); color: #d9cfe0; font-size: 14px; }
.ftr__brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; font-size: 19px; color: #fff; text-decoration: none; letter-spacing: -0.02em; }
.ftr__tag { margin: 4px 0 18px; color: #d9cfe0; max-width: 480px; }
.ftr__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.ftr__head { margin: 0 0 4px; font: 500 11px/1.4 var(--mono); color: var(--sun); text-transform: uppercase; letter-spacing: .1em; }
.ftr__col ul { list-style: none; margin: 0; padding: 0; }
.ftr a, .ftr__btn { display: flex; align-items: center; min-height: 44px; color: #d9cfe0; text-decoration: none; }
.ftr a:hover, .ftr__btn:hover { color: #fff; text-decoration: underline; }
.ftr__btn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: left; }
.ftr__rules { margin: 20px 0 6px; padding-top: 16px; border-top: 1px solid #3b2a45; color: #d9cfe0; }
.ftr__small { margin: 0; font-size: 13px; color: #b9a9c4; }
@media (min-width: 860px) { .ftr__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* bottom tab bar on phones */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px;
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-top: 1px solid var(--line); }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; border-radius: 12px;
  color: var(--muted); text-decoration: none; font-size: 11px; font-weight: 600; }
.tabbar a[aria-current="page"] { color: var(--plum); background: var(--plum-t); }
.tabbar .tabbar__cta { color: #fff; background: var(--plum); }
.tabbar a:active { transform: scale(.96); }
body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
@media (min-width: 980px) {
  .tabbar { display: none; }
  body { padding-bottom: 0; }
}

@media (min-width: 860px) {
  :root { --gut: 24px; }
  .sec { padding: 34px 0; }
}
@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; } }
