/* Plug and Solar ("Look B"): white, cobalt #2450e6 with a sun #ffc93c accent, Plus Jakarta Sans + DM Mono,
   rounded bordered cards and a checkout-style buy card. Phone first: 16px gutters, 44px+ tap targets. */
:root {
  --ink: #101828; --text: #344054; --muted: #475467; --line: #e3e7ec; --soft: #f3f5f7; --softer: #fafbfc;
  --tint: #eef2ff; --blue: #2450e6; --blue-d: #1a3cb8; --sun: #ffc93c; --sun-t: #fff6d6; --sun-ink: #6b4f00;
  --ok: #067647; --bad: #b42318; --bad-t: #fef3f2;
  --r-xl: 24px; --r-l: 20px; --r-m: 16px; --r-s: 12px;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gut: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55;
  overflow-x: hidden; overflow-wrap: break-word; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 2px; }
a:hover { color: var(--blue-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.02em; }
h1 { font-size: clamp(30px, 8vw, 46px); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; }
h2, .h2like { font-size: clamp(22px, 5.6vw, 30px); line-height: 1.2; font-weight: 800; margin-bottom: 12px; }
h3 { font-size: 18px; line-height: 1.3; font-weight: 700; 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: 50; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gut); }
.wrap--text { max-width: 760px; }
.muted, .hint { color: var(--muted); }
.small { font-size: 13px; color: var(--muted); }
.center { text-align: center; }
.lead { color: var(--muted); font-size: 17px; max-width: 640px; }
.ico { flex: none; vertical-align: middle; }

/* closed-checkout ribbon */
.ribbon { background: var(--sun-t); border-bottom: 1px solid #f3e2a6; }
.ribbon .kit-closed-note { max-width: 1120px; margin: 0 auto; padding: 9px var(--gut); font-size: 13.5px; font-weight: 600; color: var(--sun-ink); }

/* header */
.hdr { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; gap: 8px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand__word { font-weight: 800; font-size: 19px; letter-spacing: -0.5px; }
.brand__word span, .ftr__brand span { color: var(--blue); }
.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: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; padding: 0; text-decoration: none; }
.iconbtn:hover { color: var(--blue); border-color: #c9d2ff; }
.iconbtn--menu { background: var(--soft); border-color: var(--soft); }
.iconbtn .count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--sun); color: var(--ink); font: 600 12px/20px var(--mono); text-align: center; }
.hdr__nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 30px -18px rgba(16,24,40,.35); }
.hdr__nav.is-open { display: block; }
.hdr__nav ul { list-style: none; margin: 0 auto; padding: 8px var(--gut) 14px; max-width: 1120px; }
.hdr__nav a { display: flex; align-items: center; min-height: 50px; padding: 0 4px; border-bottom: 1px solid var(--line); color: var(--ink);
  text-decoration: none; font-weight: 600; }
.hdr__nav li:last-child a { border-bottom: 0; }
.hdr__nav a[aria-current="page"] { color: var(--blue); }
@media (min-width: 960px) {
  .hdr__nav { display: block; position: static; border: 0; box-shadow: none; background: none; }
  .hdr__nav ul { display: flex; gap: 2px; padding: 0; margin: 0 12px 0 0; }
  .hdr__nav a { min-height: 44px; padding: 0 12px; border: 0; border-radius: 999px; font-size: 15px; }
  .hdr__nav a:hover, .hdr__nav a[aria-current="page"] { background: var(--tint); color: var(--blue); }
  .iconbtn--menu { display: none; }
}

/* chips + buttons */
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: var(--tint); color: var(--blue);
  font-weight: 600; font-size: 13px; line-height: 1.3; margin: 0; }
.chip--sun { background: var(--sun-t); color: var(--sun-ink); font-weight: 700; font-size: 12px; padding: 4px 10px; }
.chip--grey { background: var(--soft); color: var(--ink); font-size: 12px; padding: 5px 10px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; }
.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: 700 16px/1.2 var(--sans); text-decoration: none; cursor: pointer; text-align: center; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-d); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; border-radius: 999px; }
.btn--dark:hover { background: #253248; color: #fff; }
.btn--line { background: #fff; color: var(--ink); border-color: var(--line); border-radius: 999px; }
.btn--line:hover { border-color: var(--blue); color: var(--blue); }
.btn--white { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--pill { border-radius: 999px; }
.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: 4px 18px; margin: 14px 0 0; }
.links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* sections */
.sec { padding: 24px 0; }
.sec--soft { background: var(--soft); padding: 32px 0; margin-top: 16px; }
.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--tint { background: var(--tint); border-color: var(--tint); }
.panel > :last-child { margin-bottom: 0; }
.panel__btn { margin: 16px 0 0; }
.panel__btn .btn { width: 100%; }
.eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--blue); text-transform: none; letter-spacing: 0; }
.stamp { display: inline-block; margin: 6px 0 0; font: 500 13px/1.4 var(--mono); color: var(--muted); }

/* page hero */
.phero { padding: 20px 0 8px; }
.phero h1 { margin-top: 6px; }
.phero__intro { margin-top: 12px; font-size: 17px; color: var(--muted); }
.phero--legal h1 { font-size: clamp(28px, 7vw, 40px); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 2px 6px; margin: 0; padding: 0; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #98a2b3; }
.crumbs li { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; }

/* home hero */
.hhero { padding: 24px 0 0; }
.hhero h1 { margin: 16px 0 0; max-width: 14ch; }
.hhero__intro { margin-top: 12px; font-size: 17px; color: var(--muted); max-width: 560px; }

/* text content */
.wrap--text p, .wrap--text li { color: var(--text); }
.list { margin: 0 0 14px; padding-left: 22px; }
.list li { margin: 4px 0; }
.list--num li::marker { font-family: var(--mono); color: var(--blue); }
.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(--blue); margin-top: 2px; stroke-width: 2.4; }
.note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-l); background: var(--tint); font-size: 15px; margin: 16px 0; }
.note .ico { color: var(--blue); margin-top: 1px; }
.contactline { display: flex; gap: 10px; align-items: center; min-height: 44px; font-weight: 600; }
.contactline .ico { color: var(--blue); }

/* 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-size: 13px; color: var(--muted); font-weight: 700; }
.tbl tbody th { font-weight: 600; color: var(--ink); }
.tbl tbody tr:nth-child(even) { background: var(--softer); }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.matrix { border-collapse: separate; border-spacing: 0; font-size: 14px; width: 100%; }
.matrix th, .matrix td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.matrix thead th { background: var(--soft); font-weight: 800; }
.matrix thead th a { color: var(--ink); text-decoration: none; display: flex; align-items: center; min-height: 44px; }
.matrix thead th span { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }
.matrix tbody th { position: sticky; left: 0; background: #fff; font-weight: 600; color: var(--muted); font-size: 13px; min-width: 116px; box-shadow: 1px 0 0 var(--line); }
.matrix thead td { position: sticky; left: 0; background: var(--soft); box-shadow: 1px 0 0 var(--line); }
.matrix td { font-size: 14px; min-width: 150px; color: var(--ink); }
.matrix thead th { min-width: 150px; }
.matrix tbody tr:last-child > * { border-bottom: 0; }

/* 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: 56px; 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(--blue); }
.faq__item[open] summary .ico { transform: rotate(45deg); }
.faq__a { padding: 0 16px 14px; }
.faq__a p { font-size: 15px; }

/* steps */
.steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.steps li { display: flex; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; }
.steps li > span:last-child { display: flex; flex-direction: column; }
.steps li b { color: var(--ink); }
.steps li span span { color: var(--muted); font-size: 15px; }
.steps__n { flex: none; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 10px;
  background: var(--tint); color: var(--blue); font: 500 15px var(--mono); }

/* tiles (cards block) */
.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; }
.tile h3 { margin-top: 6px; }

/* key-value rows (checkout style) */
.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: 11px 0; border-bottom: 1px solid var(--line); }
.kv__row dt { flex: 0 1 auto; color: var(--muted); font-size: 14px; min-width: 6.5em; }
.kv__row dd { flex: 0 1 auto; min-width: 0; margin: 0; font-family: var(--mono); font-weight: 500; text-align: right; overflow-wrap: break-word; }
.kv__row--total { border-bottom: 0; padding-top: 13px; }
.kv__row--total dt { color: var(--ink); font-weight: 700; font-size: 15px; }
.kv__row--total dd { font-size: 18px; }
.kv--tight .kv__row { padding: 8px 0; }

/* kit picker */
.sec--pick { padding-top: 20px; }
.picker { border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; background: #fff; }
.picker__media { background: var(--soft); }
.picker__img { width: 100%; height: 220px; object-fit: contain; }
.picker__body { padding: 18px; }
.picker__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.picker__title { margin: 0; font-weight: 800; font-size: 18px; }
.picker__opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.opt { display: flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 9px 12px; border-radius: 14px; border: 1px solid var(--line);
  text-decoration: none; color: var(--ink); background: #fff; }
.opt b { font-size: 14px; }
.opt span { font: 400 12px/1.35 var(--mono); color: var(--muted); }
.opt[aria-pressed="true"] { border: 2px solid var(--blue); background: var(--tint); padding: 8px 11px; }
.opt:hover { border-color: var(--blue); }
.picker .btn { margin-top: 8px; }
.picker__small { margin: 10px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
@media (min-width: 860px) {
  .picker { display: grid; grid-template-columns: 1.1fr 1fr; }
  .picker__media { display: flex; align-items: center; }
  .picker__img { height: 100%; min-height: 360px; }
  .picker__body { padding: 26px; }
  .picker__opts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* kit cards */
.kgrid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.kgrid--small { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kcard { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; background: #fff; min-width: 0; }
.kcard__media { display: block; background: var(--soft); }
.kcard__media img { width: 100%; height: 150px; object-fit: contain; }
.kcard__body { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; flex: 1; }
.kcard__mount { margin: 0; font-size: 12px; font-weight: 700; color: var(--blue); }
.kcard__name { margin: 0; font-size: 17px; }
.kcard__name a { display: flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; }
.kcard__spec { margin: 0; font: 400 12.5px/1.5 var(--mono); color: var(--muted); }
.kcard__price { margin: 6px 0 10px; font: 500 18px var(--mono); }
.kcard .btn { margin-top: auto; min-height: 48px; font-size: 15px; }
.kcard .kit-stock { margin: 4px 0 0; }
.kgrid--small .kcard__media img { height: 96px; }
.kgrid--small .kcard__body { padding: 10px 12px 12px; }
.kgrid--small .kcard__name { font-size: 15px; }
.kgrid--small .kcard__spec { font-size: 11.5px; }
.kgrid--small .kcard .kit-list, .kgrid--small .kcard .kit-stock { display: none; }
@media (min-width: 860px) { .kgrid--small { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* stock labels + kit list form (shared kit pieces, restyled) */
.kit-stock { display: inline-flex; align-self: flex-start; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.kit-stock--waitlist { background: var(--soft); color: var(--muted); }
.kit-stock--preorder { background: var(--sun-t); color: var(--sun-ink); }
.kit-list { margin: 14px 0 0; padding: 16px; border-radius: var(--r-m); background: var(--soft); }
.kit-list p { margin: 0; }
.kit-list__title { font-size: 17px; font-weight: 800; }
.kit-list__intro { font-size: 14px; color: var(--muted); }
.kit-list__field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.kit-list__field input { border: 1px solid var(--line); border-radius: 14px; background: #fff; font-family: var(--sans); color: var(--ink); }
.kit-list__field input:focus { border-color: var(--blue); outline: 3px solid #c9d2ff; }
.kit-list__tick { font-size: 14px; }
.kit-list__tick input, .kit-terms input { accent-color: var(--blue); }
.kit-list__msg { color: var(--bad); font-size: 14px; }
.kit-list__btn { background: var(--blue); color: #fff; border: 0; border-radius: var(--r-m); font: 700 16px var(--sans); cursor: pointer; min-height: 52px; }
.kit-list__btn:hover { background: var(--blue-d); }
.kit-note { font-size: 13.5px; color: var(--muted); margin: 10px 0 0; }
.kit-closed { margin: 12px 0 0; font-weight: 600; }
.kit-terms { font-size: 14px; color: var(--text); }
.kit-thanks { margin: 16px 0 0; padding: 18px; border-radius: var(--r-l); background: var(--tint); }
.kit-thanks__title { font-size: 22px; font-weight: 800; }
.kcard .kit-list { padding: 12px; margin-top: 8px; }

/* product page */
.pdp { padding: 12px 0 8px; }
.pdp__top { display: grid; gap: 16px; margin-top: 8px; }
.pdp__fig { margin: 0; }
.pdp__img { width: 100%; height: 240px; object-fit: contain; background: var(--soft); border-radius: var(--r-xl); }
.pdp__fig figcaption { margin-top: 6px; font-size: 12px; color: var(--muted); }
.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: 15.5px; }
.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: baseline; gap: 10px; }
.buy__title { margin: 0; font-weight: 800; font-size: 18px; }
.buy .kit-stock { margin-top: 8px; }
.buy__note { margin: 8px 0 0; padding: 12px; border-radius: var(--r-m); background: var(--soft); font-size: 14px; }
.addkit { margin-top: 12px; }
.addkit__msg { margin: 8px 0 0; font-size: 14px; font-weight: 600; }
.sec--pdp { padding: 18px 0; }
.sec--pdp h2 { font-size: 22px; }
.boxlist { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.boxlist li { display: flex; gap: 10px; font-size: 15px; color: var(--text); }
.boxlist .ico { color: var(--blue); margin-top: 3px; }
.specs { margin: 0; border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; font-size: 14px; }
.specs div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.specs div:nth-child(even) { background: var(--softer); }
.specs div:last-child { border-bottom: 0; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; color: var(--ink); }
.specs + .small { margin-top: 8px; }
.dispatch { display: flex; gap: 10px; align-items: center; margin: 0; }
.dispatch .ico { color: var(--blue); }
@media (min-width: 860px) {
  .pdp__top { grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: start; }
  .pdp__media { position: sticky; top: 84px; }
  .pdp__img { height: 420px; }
}

/* estimator */
.est__grid { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; margin: 0 0 14px; min-width: 0; }
.field label, .field legend { 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); border-radius: 14px;
  background: var(--soft); font: 400 16px/1.4 var(--sans); color: var(--ink); }
.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; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid #c9d2ff; background: #fff; }
.field input[type=number], #co-pc { font-family: var(--mono); }
.field--radios { border: 0; padding: 0; margin: 0 0 14px; }
.field--radios legend { margin-bottom: 6px; }
.radio { display: flex; gap: 10px; align-items: center; min-height: 48px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 8px; cursor: pointer; font-size: 15px; }
.radio input { width: 20px; height: 20px; accent-color: var(--blue); flex: none; }
.radio:has(input:checked) { border-color: var(--blue); background: var(--tint); }
.est__adv { margin: 4px 0 0; }
.est__adv summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; font-weight: 600; color: var(--blue); }
.est__adv[open] summary { margin-bottom: 8px; }
.est__card { border: 1px solid var(--line); border-radius: var(--r-xl); padding: 18px; background: #fff; }
.est__label { margin: 0; font-size: 13px; font-weight: 700; color: var(--muted); }
.est__big { margin: 4px 0 0; font-size: clamp(24px, 6.5vw, 32px); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.est__assume { margin: 12px 0; font-size: 13px; color: var(--muted); }
.est__warn { padding: 12px; border-radius: 14px; background: var(--sun-t); color: var(--sun-ink); font-size: 14px; font-weight: 600; }
.est__card .btn + .btn { margin-top: 10px; }
.est--mini .est__grid { gap: 4px; }
.est--mini .est__card { border: 0; padding: 0; margin-top: 4px; }
@media (min-width: 860px) {
  .est:not(.est--mini) .est__grid { grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
  .est--mini .est__grid { grid-template-columns: 1fr 1.2fr; gap: 24px; }
  .est__out { position: sticky; top: 84px; }
}

/* quiz */
.quiz__q { border: 1px solid var(--line); border-radius: var(--r-l); padding: 14px; margin: 0 0 12px; min-width: 0; }
.quiz__q legend { display: flex; align-items: center; gap: 10px; padding: 0 6px; font-weight: 700; font-size: 16px; }
.quiz__n { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 9px; background: var(--tint); color: var(--blue); font: 500 14px var(--mono); flex: none; }
.quiz__opts { display: grid; gap: 8px; margin-top: 8px; }
.pill { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; font-size: 15px; }
.pill input { width: 20px; height: 20px; accent-color: var(--blue); flex: none; margin: 0; }
.pill:has(input:checked) { border: 2px solid var(--blue); background: var(--tint); padding: 7px 13px; }
.quiz__msg { color: var(--bad); font-weight: 600; }
.quiz__result { margin-top: 24px; }
.quiz__result:focus { outline: none; }
.quiz__kit { display: grid; gap: 12px; margin-bottom: 24px; }
.quiz__kit img { width: 100%; height: 170px; object-fit: contain; background: var(--soft); border-radius: var(--r-m); }
.quiz__kit .kname { margin: 0; font-size: 20px; font-weight: 800; }
@media (min-width: 640px) { .quiz__opts { grid-template-columns: 1fr 1fr; } }

/* forms + checkout */
.form .btn { margin-top: 4px; }
.form__msg { color: var(--bad); font-weight: 600; }
.inrow { display: flex; gap: 8px; }
.inrow input { flex: 1; min-width: 0; }
.inrow .btn { min-height: 48px; padding: 10px 18px; }
.co { display: grid; gap: 14px; }
.co__main { display: grid; gap: 14px; min-width: 0; }
.co__form { display: grid; gap: 14px; }
.co__h { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-weight: 800; font-size: 18px; }
.co__n { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 9px; background: var(--tint); color: var(--blue); font: 500 14px var(--mono); }
.hint { font-size: 14px; margin: 0; }
.hint.is-ok { color: var(--ok); font-weight: 600; }
.hint.is-bad { color: var(--bad); font-weight: 600; }
.bline { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.bline:first-child { border-top: 0; padding-top: 0; }
.bline img { width: 72px; height: 50px; object-fit: contain; background: var(--soft); border-radius: 10px; }
.bline__name { margin: 0; font-weight: 700; font-size: 15px; }
.bline__name a { color: var(--ink); text-decoration: none; }
.bline__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; margin-top: 4px; }
.bline__price { font-family: var(--mono); }
.bline__rm { min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--bad); font: 600 14px var(--sans); cursor: pointer; text-decoration: underline; }
.bline .kit-stock { margin-top: 4px; }
.co__sum .kv { margin-top: 0; border-top: 0; }
.co__sum [data-sum-lines] .kv__row dt { color: var(--ink); }
.co__terms { margin: 10px 0 12px; padding: 12px; background: var(--soft); border-radius: var(--r-m); }
.co__terms a { font-weight: 600; }
.errors { margin: 0 0 12px; padding: 12px 14px; border-radius: var(--r-m); background: var(--bad-t); color: var(--bad); font-size: 14px; font-weight: 600; }
.errors ul { margin: 0; padding-left: 18px; }
.field.is-bad input { border-color: var(--bad); background: var(--bad-t); }
@media (min-width: 900px) {
  .co { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; gap: 24px; }
  .co__side { position: sticky; top: 84px; }
}

/* next box + thanks */
.nextbox { display: grid; gap: 4px; padding: 20px; border-radius: var(--r-xl); background: var(--ink); color: #fff; }
.nextbox__t { margin: 0; font-weight: 800; font-size: 20px; color: #fff !important; }
.nextbox .btnrow { margin-top: 10px; }
.nextbox .btn--line { background: transparent; color: #fff; border-color: #475467; }
.h1like { font-size: clamp(30px, 8vw, 44px); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 10px; }
.thanks-alt p:not(.h1like) { color: var(--muted); font-size: 17px; }
[data-thanks-ref] { margin-top: 12px; font-family: var(--mono); }

/* legal: cancellation form */
.form-quote { margin: 12px 0; padding: 16px 18px; border-left: 4px solid var(--blue); 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(20px, 5vw, 24px); margin-top: 8px; }
.tpl-legal code, .wrap--text code { font-family: var(--mono); font-size: 13px; }

/* footer */
.ftr { margin-top: 32px; padding: 28px 0 36px; background: var(--ink); color: #cfd6e1; font-size: 14px; }
.ftr__brand { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; font-size: 20px; color: #fff; text-decoration: none; letter-spacing: -0.5px; }
.ftr__brand span { color: var(--sun); }
.ftr__tag { margin: 4px 0 18px; color: #cfd6e1; max-width: 460px; }
.ftr__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.ftr__col:first-child { grid-column: 1 / -1; }
.ftr__head { margin: 0 0 4px; font-weight: 700; color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.ftr__col ul { list-style: none; margin: 0; padding: 0; }
.ftr__col:first-child ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
.ftr a, .ftr__btn { display: flex; align-items: center; min-height: 44px; color: #cfd6e1; 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 #253248; color: #cfd6e1; }
.ftr__small { margin: 0; font-size: 13px; color: #98a2b3; }
@media (min-width: 860px) {
  .ftr__cols { grid-template-columns: 1.3fr 1fr 1fr; }
  .ftr__col:first-child { grid-column: auto; }
}

/* toast + consent */
.toast { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; max-width: 480px; margin: 0 auto; padding: 14px 16px; border-radius: var(--r-m);
  background: var(--ink); color: #fff; font-size: 15px; box-shadow: 0 12px 30px -10px rgba(16,24,40,.5); }
.toast a { color: var(--sun); font-weight: 700; }
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; max-width: 520px; margin: 0 auto; padding: 18px; border-radius: var(--r-xl);
  background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 40px -16px rgba(16,24,40,.45); }
.consent__title { margin: 0 0 6px; font-weight: 800; font-size: 17px; }
.consent p { font-size: 14px; color: var(--text); }
.consent__btns { display: flex; gap: 8px; }
.consent__btns .btn { flex: 1; min-height: 48px; }

@media (min-width: 860px) {
  :root { --gut: 24px; }
  .sec { padding: 32px 0; }
  .hhero { padding-top: 40px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.wrap--text .kit-thanks__title, .wrap--text .h1like { color: var(--ink); }

/* versus: rooftop vs plug-in, step count side by side */
.vs { display: grid; gap: 12px; margin-top: 16px; }
.vs__side { border: 1px solid var(--line); border-radius: var(--r-xl); padding: 20px; background: #fff; }
.vs__side--grey { background: var(--softer); }
.vs__side--sun { border: 2px solid var(--sun); background: #fff; box-shadow: 0 8px 28px rgba(255, 201, 60, .18); }
.vs__tag { font: 500 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 6px; }
.vs__t { margin: 0 0 4px; font-size: 22px; }
.vs__count { margin: 0 0 14px; color: var(--muted); }
.vs__count b { font-size: 34px; line-height: 1; color: var(--ink); font-weight: 800; margin-right: 4px; }
.vs__side--sun .vs__count b { color: var(--blue); }
.vs__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vs__steps li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text); }
.vs__n { flex: none; width: 24px; height: 24px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font: 500 12px/1 var(--mono); background: var(--soft); color: var(--ink); }
.vs__side--sun .vs__n { background: var(--sun); color: var(--ink); }
.vs__foot { margin: 16px 0 0; padding-top: 12px; border-top: 1px dashed var(--line); font-weight: 600; color: var(--ink); font-size: 15px; }
.vs__or { margin: -4px auto; width: 44px; height: 44px; border-radius: 999px; background: var(--ink); color: #fff; display: flex;
  align-items: center; justify-content: center; font: 500 13px/1 var(--mono); position: relative; z-index: 1; }
@media (min-width: 820px) {
  .vs { grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 0 14px; }
  .vs__or { margin: auto 0; }
}

/* ---------- lifestyle photos (AI-made, tagged "Illustrative image") ---------- */
.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 { position: absolute; left: 10px; bottom: 10px; padding: 3px 8px; border-radius: 999px; background: rgba(16, 24, 40, .62);
  color: #fff; font: 500 11px/1.4 var(--mono); letter-spacing: .02em; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

/* home hero with photo: photo card first on phones, split on desktop */
.hhero--photo { padding-top: 14px; }
.hhero__grid { display: grid; gap: 18px; }
.hhero--photo .hhero__media { order: -1; aspect-ratio: 4 / 3; box-shadow: 0 18px 40px rgba(16, 24, 40, .14); }
.hhero--photo h1 { max-width: 16ch; }
.hfacts { list-style: none; margin: 20px 0 4px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hfacts li { display: flex; flex-direction: column; gap: 2px; padding: 12px 10px; border-radius: var(--r-m); background: var(--soft); }
.hfacts b { font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.hfacts span { font-size: 12.5px; line-height: 1.3; color: var(--muted); }
@media (min-width: 900px) {
  .hhero__grid { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; }
  .hhero--photo .hhero__media { order: 0; aspect-ratio: 5 / 4; }
}
.phero__media { margin-top: 18px; aspect-ratio: 16 / 9; }

/* photo feature: picture + copy, app-card feel */
.pf { display: grid; gap: 18px; align-items: center; }
.pf__media { aspect-ratio: 4 / 3; }
.pf__body h2 { margin-top: 0; }
@media (min-width: 900px) {
  .pf { grid-template-columns: 1fr 1fr; gap: 44px; }
  .pf--flip .pf__media { order: 2; }
}

/* general kit-list sign-up */
.joinbox { display: grid; gap: 18px; padding: 22px; border-radius: var(--r-xl); background: linear-gradient(160deg, var(--tint), #fff 70%); border: 1px solid var(--line); }
.joinbox .kit-list { background: #fff; border-radius: var(--r-l); }
@media (min-width: 900px) { .joinbox { grid-template-columns: 1fr 1fr; gap: 36px; padding: 36px; align-items: start; } }

/* ---------- app-style bottom tab bar (phones and small tablets) ---------- */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .92);
  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: 14px;
  color: var(--muted); text-decoration: none; font-size: 11.5px; font-weight: 700; }
.tabbar a[aria-current="page"] { color: var(--blue); background: var(--tint); }
.tabbar .tabbar__cta { color: var(--ink); background: var(--sun); }
.tabbar a:active { transform: scale(.96); }
body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
.consent { bottom: calc(78px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) {
  .tabbar { display: none; }
  body { padding-bottom: 0; }
  .consent { bottom: 12px; }
}

/* 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; } }
