/* Mini Split Brands — design system
   Palette pulled from the equipment itself: aluminum fin grey, petrol-slate
   nameplate, and the yellow of a US EnergyGuide label used only for signal. */

:root {
  --paper:      #ffffff;
  --mist:       #eef1ef;
  --rule:       #d5dbd8;
  --rule-soft:  #e6eae8;
  --ink:        #1a2226;
  --slate:      #28353b;
  --slate-2:    #35454c;
  --muted:      #5b6a70;
  --on-slate:   #f4f7f5;
  --on-slate-m: #b3c3c7;
  --energy:     #ffd400;
  --energy-ink: #8a6f00;

  --shell:      1180px;
  --gutter:     clamp(1rem, 4vw, 3rem);

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-optical-sizing: auto;
}

h1, h2, h3, h4, .sans { font-family: var(--sans); }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; }

a { color: inherit; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 3px solid var(--energy);
  outline-offset: 2px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--energy);
  color: var(--ink);
  padding: 0.6rem 1rem;
  font-family: var(--sans);
  font-weight: 600;
  z-index: 50;
}
.skip:focus { left: 0; }

/* ---------- header ---------- */

.masthead {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 40;
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 68px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}

.wordmark svg { display: block; flex: none; }

.topnav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
}

.topnav a {
  text-decoration: none;
  color: var(--muted);
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
}

.topnav a:hover { color: var(--ink); border-bottom-color: var(--energy); }

/* ---------- hero ---------- */

.hero {
  background: var(--slate);
  color: var(--on-slate);
  padding-block: clamp(3.5rem, 9vw, 6.5rem);
}

.hero__grid { display: grid; gap: 2.75rem; }

@media (min-width: 1000px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: end;
    gap: 4rem;
  }
}

.hero__copy, .hero__inner { max-width: 54ch; }

.plate {
  margin: 0;
  padding: 0 1.25rem;
  border: 1px solid rgba(244, 247, 245, 0.22);
}

.plate > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(244, 247, 245, 0.14);
}

.plate > div:last-child { border-bottom: 0; }

.plate dt {
  font-size: 0.9375rem;
  line-height: 1.35;
  color: var(--on-slate-m);
  max-width: 22ch;
}

.plate dd {
  margin: 0;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.3125rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.hero h1 {
  font-size: clamp(2.5rem, 6.2vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 600;
  text-wrap: balance;
}

.hero__rule {
  width: 84px;
  height: 6px;
  background: var(--energy);
  margin: 1.75rem 0;
}

.hero p {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.65;
  color: var(--on-slate-m);
  max-width: 54ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin-top: 2.25rem;
}

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.005em;
  text-decoration: none;
  padding: 0.85rem 1.4rem;
  border: 2px solid transparent;
}

.btn--fill { background: var(--energy); color: var(--ink); }
.btn--fill:hover { background: #ffdf40; }

.btn--line { border-color: rgba(244, 247, 245, 0.35); color: var(--on-slate); }
.btn--line:hover { border-color: var(--on-slate); }

/* ---------- section scaffolding ---------- */

.band { padding-block: clamp(3rem, 7vw, 5rem); }
.band--mist { background: var(--mist); }
.band--tight { padding-block: clamp(2.5rem, 5vw, 3.5rem); }

.band__head { max-width: 62ch; margin-bottom: 2.25rem; }

.band__head h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  letter-spacing: -0.03em;
}

.band__head p {
  margin-top: 0.9rem;
  color: var(--muted);
  max-width: 58ch;
}

/* ---------- brand index ---------- */

.index { width: 100%; border-collapse: collapse; }

.index caption {
  caption-side: top;
  text-align: left;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  padding-bottom: 0.75rem;
}

.index th, .index td {
  text-align: left;
  vertical-align: top;
  padding: 1rem 1.25rem 1rem 0;
  border-bottom: 1px solid var(--rule);
}

.index thead th {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 0.6rem;
}

.index tbody tr:hover { background: var(--mist); }

.index__brand {
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.index__note { font-size: 0.9375rem; color: var(--ink); max-width: 46ch; }

.index__site a {
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
}
.index__site a:hover { color: var(--ink); border-bottom-color: var(--ink); }

.chip {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
  padding: 0.15rem 0.5rem;
  white-space: nowrap;
}

.chip--diy { background: var(--energy); color: var(--ink); }
.chip--pro { border: 1px solid var(--rule); color: var(--muted); }
.chip--mixed { border: 1px solid var(--ink); color: var(--ink); }

/* ---------- verdicts ---------- */

.verdicts {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border-block: 1px solid var(--rule);
}

@media (min-width: 720px) {
  .verdicts { grid-template-columns: 1fr 1fr; }
}

.verdict {
  background: var(--paper);
  padding: 1.75rem 1.75rem 1.9rem;
}

.verdict h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: -0.01em;
  margin-bottom: 0.65rem;
}

.verdict__pick {
  font-family: var(--sans);
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  box-shadow: inset 0 -0.35em 0 var(--energy);
  display: inline;
}

.verdict p { margin-top: 0.9rem; font-size: 1rem; }

.verdict__against {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--rule-soft);
  font-size: 0.9375rem;
  color: var(--muted);
}

/* ---------- method ---------- */

.method {
  display: grid;
  gap: 2rem 3rem;
  counter-reset: none;
}

@media (min-width: 760px) {
  .method { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.method h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.method p { font-size: 1rem; color: var(--muted); max-width: 46ch; }

/* ---------- faq ---------- */

.faq { max-width: 74ch; }

.faq details {
  border-bottom: 1px solid var(--rule);
}

.faq summary {
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  padding: 1.15rem 2.5rem 1.15rem 0;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  position: absolute;
  right: 0.35rem;
  top: 1.55rem;
  width: 13px;
  height: 13px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.faq details[open] summary::after { transform: rotate(225deg); top: 1.75rem; }

.faq details > div { padding-bottom: 1.35rem; max-width: 66ch; color: var(--muted); }

/* ---------- footer ---------- */

.footer {
  background: var(--slate);
  color: var(--on-slate-m);
  padding-block: 3rem 2.25rem;
  font-size: 0.9375rem;
}

.footer a { color: var(--on-slate); }

.footer__top {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--slate-2);
}

@media (min-width: 760px) {
  .footer__top { grid-template-columns: 1.4fr 1fr; align-items: start; }
}

.footer__mark {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--on-slate);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  font-family: var(--sans);
  font-weight: 500;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__links a { text-decoration: none; border-bottom: 1px solid var(--slate-2); }
.footer__links a:hover { border-bottom-color: var(--energy); }

.footer__legal { padding-top: 1.75rem; font-size: 0.875rem; max-width: 78ch; }
.footer__legal p { margin-bottom: 0.7rem; }

/* ---------- responsive index ---------- */

@media (max-width: 719px) {
  .index, .index tbody, .index tr, .index td { display: block; width: 100%; }
  .index caption { display: block; width: 100%; padding-bottom: 1.1rem; }
  .index thead { position: absolute; left: -9999px; }
  .index tr { border-bottom: 1px solid var(--rule); padding-block: 1.1rem; }
  .index tr:hover { background: transparent; }
  .index td { border: 0; padding: 0 0 0.45rem; }
  .index td:last-child { padding-bottom: 0; }
  .index__brand { font-size: 1.25rem; white-space: normal; }
  .index__note { max-width: none; }
}

@media (max-width: 599px) {
  .topnav { gap: 1.1rem; font-size: 0.875rem; }
  .topnav .topnav__about { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ---------- brand pages ---------- */

.crumbs {
  font-family: var(--sans);
  font-size: 0.875rem;
  color: var(--on-slate-m);
  margin-bottom: 1.5rem;
}

.crumbs a { text-decoration: none; border-bottom: 1px solid rgba(244, 247, 245, 0.3); }
.crumbs a:hover { border-bottom-color: var(--energy); }
.crumbs span { color: rgba(244, 247, 245, 0.55); padding-inline: 0.5rem; }

.page-head h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.page-head .dek {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  color: var(--on-slate-m);
  max-width: 56ch;
  margin-top: 1.25rem;
}

.dateline {
  font-family: var(--sans);
  font-size: 0.8125rem;
  color: var(--on-slate-m);
  margin-top: 1.75rem;
}

.layout { display: grid; gap: 3rem; }

@media (min-width: 940px) {
  .layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 4rem; align-items: start; }
}

.prose { max-width: 68ch; }

.prose h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  letter-spacing: -0.03em;
  margin: 2.75rem 0 0.9rem;
}

.prose h2:first-child { margin-top: 0; }

.prose > p:first-of-type { font-size: 1.125rem; }

.prose ul { margin: 0 0 1.1em; padding-left: 1.15rem; }
.prose li { margin-bottom: 0.4rem; }

.prose a { text-decoration: none; border-bottom: 1px solid var(--rule); }
.prose a:hover { border-bottom-color: var(--ink); }

.bluf {
  border-left: 4px solid var(--energy);
  padding: 0.35rem 0 0.35rem 1.25rem;
  margin-bottom: 2rem;
}

.bluf p { font-size: 1.1875rem; line-height: 1.6; }

.callout {
  background: var(--mist);
  border: 1px solid var(--rule);
  padding: 1.15rem 1.35rem;
  margin: 0 0 2rem;
  font-size: 0.9375rem;
}

.callout strong { font-family: var(--sans); }

.facts {
  border: 1px solid var(--rule);
  padding: 0 1.15rem;
  margin: 0;
  background: var(--paper);
}

.facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule-soft);
}

.facts > div:last-child { border-bottom: 0; }

.facts dt { font-size: 0.875rem; color: var(--muted); max-width: 16ch; }

.facts dd {
  margin: 0;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  text-align: right;
}

.aside__title {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.aside + .aside { margin-top: 2.25rem; }

.maker {
  display: block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 2px solid var(--ink);
  padding: 0.75rem 1rem;
  text-align: center;
}

.maker:hover { background: var(--ink); color: var(--paper); }

.split { display: grid; gap: 1.75rem 2.5rem; margin-bottom: 1rem; }

@media (min-width: 640px) { .split { grid-template-columns: 1fr 1fr; } }

.split h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.6rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--ink);
}

.split ul { margin: 0; padding-left: 1.15rem; font-size: 0.9375rem; }
.split li { margin-bottom: 0.45rem; }

.gaps { font-size: 0.9375rem; color: var(--muted); }

.related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
}

.related-list li { border-bottom: 1px solid var(--rule); }
.related-list a { display: block; padding: 0.7rem 0; text-decoration: none; }
.related-list a:hover { color: var(--muted); }

.hero--page { padding-block: clamp(2.75rem, 6vw, 4rem); }
