/* Total Cool. Data-plate and spec-sheet vocabulary in bright Florida light.
   haze   #e9f2ef  page ground (humid sky)
   sheet  #fbfdfc  spec-sheet paper
   ink    #10302f  stamped ink (deep mangrove)
   gulf   #0a6660  links and rules
   tag    #f7cb15  EnergyGuide yellow
   plate  #d3dad7  aluminum
   flare  #a92c17  warnings, corrosion */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Martian Mono";
  src: url("/fonts/martianmono.woff2") format("woff2");
  font-weight: 100 800;
  font-stretch: 75% 112.5%;
  font-display: swap;
}

:root {
  --haze: #e9f2ef;
  --sheet: #fbfdfc;
  --ink: #10302f;
  --ink-soft: #3c5654;
  --gulf: #0a6660;
  --tag: #f7cb15;
  --tag-deep: #e2b500;
  --plate: #d3dad7;
  --plate-lo: #b9c3bf;
  --flare: #a92c17;
  --rule: #9fb5b0;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--haze);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--gulf); text-decoration-thickness: 1.5px; text-underline-offset: 0.18em; }
a:hover { color: var(--ink); text-decoration-thickness: 3px; text-decoration-color: var(--tag-deep); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.top :focus-visible { outline-color: var(--ink); }
.foot :focus-visible { outline-color: var(--tag); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 0; }

/* ---------- header: the yellow tag ---------- */
.top { background: var(--tag); border-bottom: 3px solid var(--ink); }
.top-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 2rem; padding-top: .7rem; padding-bottom: .7rem; }
.mark {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 800; font-stretch: 125%; font-size: 1.3rem; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none;
}
.mark-rivet { width: .8rem; height: .8rem; border-radius: 50%; border: 2.5px solid var(--ink); background: radial-gradient(circle at 35% 35%, #fff 0 20%, var(--plate-lo) 60%); }
.top nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .1rem 1.4rem; margin: 0; padding: 0; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-stretch: 88%; font-size: 1.02rem; padding: .3rem 0; display: inline-block; border-bottom: 3px solid transparent; }
.top nav a:hover, .top nav a[aria-current] { border-bottom-color: var(--ink); }

/* ---------- the plate ---------- */
.plate {
  position: relative;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.16) 0 1px, rgba(0,0,0,0) 1px 3px),
    linear-gradient(170deg, #e4e9e7 0%, var(--plate) 45%, var(--plate-lo) 100%);
  color: #16211f;
  border-radius: 10px;
  padding: 1.6rem 1.5rem 1.5rem;
  box-shadow: 0 1px 0 #fff inset, 0 -2px 0 rgba(0,0,0,.14) inset, 0 14px 28px -14px rgba(16,48,47,.55), 0 2px 3px rgba(16,48,47,.3);
}
.plate::before, .plate::after {
  content: ""; position: absolute; left: .55rem; right: .55rem; height: .62rem; pointer-events: none;
  background:
    radial-gradient(circle at .31rem 50%, #f4f6f5 0 .1rem, #7f8a87 .22rem, #5d6966 .3rem, transparent .32rem) left / .62rem 100% no-repeat,
    radial-gradient(circle at .31rem 50%, #f4f6f5 0 .1rem, #7f8a87 .22rem, #5d6966 .3rem, transparent .32rem) right / .62rem 100% no-repeat;
}
.plate::before { top: .5rem; }
.plate::after { bottom: .5rem; }
.plate-title { margin: 0 0 .7rem; font-weight: 700; font-stretch: 112%; font-size: .95rem; letter-spacing: .01em; }
.plate dl { margin: 0; border: 1.5px solid #16211f; border-radius: 3px; }
.pf { padding: .45rem .65rem .5rem; border-top: 1.5px solid #16211f; }
.pf:first-child { border-top: 0; }
.pf dt { font-stretch: 72%; font-weight: 600; font-size: .86rem; line-height: 1.2; color: #2e3d3a; }
.pf dd { margin: .1rem 0 0; font-family: var(--mono); font-stretch: 87%; font-weight: 500; font-size: .84rem; line-height: 1.4; text-shadow: 0 1px 0 rgba(255,255,255,.65); }

/* hero plate (home) */
.plate-big { padding: 2rem 1.6rem 1.8rem; max-width: 38rem; }
.plate-big .plate-title { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: 1rem; }
.plate-big .plate-title span:last-child { font-stretch: 75%; font-weight: 500; font-size: .85rem; }
.fields { display: grid; grid-template-columns: repeat(6, 1fr); border: 2px solid #16211f; border-radius: 3px; }
.f {
  position: relative; grid-column: span 3; text-align: left; font: inherit; color: inherit; background: none; cursor: pointer;
  border: 0; border-top: 2px solid #16211f; border-left: 2px solid #16211f;
  padding: .5rem .7rem .6rem; margin: -2px 0 0 -2px; min-width: 0;
}
.f.w6 { grid-column: span 6; }
.f.w2 { grid-column: span 2; }
.f-l { display: block; font-stretch: 70%; font-weight: 600; font-size: .86rem; line-height: 1.2; color: #2e3d3a; padding-right: 1.6rem; }
.f-v { display: block; margin-top: .15rem; font-family: var(--mono); font-stretch: 87%; font-weight: 600; font-size: 1.1rem; line-height: 1.3; letter-spacing: .01em; text-shadow: 0 1px 0 rgba(255,255,255,.7); overflow-wrap: anywhere; }
.f-n, .key-n {
  display: inline-grid; place-items: center; width: 1.45rem; height: 1.45rem; border-radius: 50%;
  background: var(--tag); color: var(--ink); border: 1.5px solid var(--ink);
  font-family: var(--sans); font-weight: 800; font-size: .8rem; line-height: 1; text-shadow: none;
}
.f-n { position: absolute; top: .4rem; right: .4rem; }
.f:hover, .f.on { background: rgba(247,203,21,.55); }
.f:focus-visible { outline-offset: -4px; z-index: 1; }
.plate-foot { margin: .8rem 0 0; font-stretch: 78%; font-size: .86rem; font-weight: 500; }

/* ---------- home ---------- */
.hero { padding-top: 3rem; padding-bottom: 3.5rem; }
.hero h1 { max-width: 17ch; }
.hero .lede { max-width: 38rem; }
.reader { display: grid; grid-template-columns: minmax(0, 38rem) minmax(0, 1fr); gap: 2.5rem 3rem; align-items: start; margin-top: 2.5rem; }
.key { list-style: none; margin: 0; padding: 0; }
.key li { display: grid; grid-template-columns: 1.45rem 1fr; gap: .8rem; padding: .7rem .6rem; border-top: 1.5px solid var(--rule); border-radius: 0; }
.key li:last-child { border-bottom: 1.5px solid var(--rule); }
.key li.on { background: var(--sheet); box-shadow: -4px 0 0 var(--tag-deep); }
.key h3 { margin: 0; font-size: 1.02rem; font-stretch: 100%; font-weight: 700; line-height: 1.3; }
.key p { margin: .15rem 0 0; font-size: .97rem; line-height: 1.5; color: var(--ink-soft); }

.band { padding: 3.2rem 0; }
.band-sheet { background: var(--sheet); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.band h2 { margin-top: 0; }
.band > .wrap > p { max-width: 42rem; }
.split { display: grid; grid-template-columns: minmax(0, 21rem) minmax(0, 1fr); gap: 2rem 3.5rem; align-items: start; }

/* the yellow EnergyGuide-style tag */
.tag {
  background: var(--tag); color: var(--ink); border: 2.5px solid var(--ink); padding: 1.1rem 1.2rem 1.2rem;
  font-stretch: 88%;
}
.tag-h { margin: 0 0 .6rem; padding-bottom: .5rem; border-bottom: 2.5px solid var(--ink); font-weight: 800; font-stretch: 112%; font-size: 1.05rem; line-height: 1.2; }
.tag dl { margin: 0; }
.tag .row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .35rem 0; border-bottom: 1.5px solid rgba(16,48,47,.45); }
.tag .row:last-child { border-bottom: 0; }
.tag dt { font-weight: 600; }
.tag dd { margin: 0; font-family: var(--mono); font-stretch: 87%; font-weight: 600; font-size: .92rem; text-align: right; }
.tag p { margin: .6rem 0 0; font-size: .95rem; line-height: 1.45; }

.climate { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
.climate li { padding: 1rem 0; border-top: 1.5px solid var(--rule); }
.climate h3 { margin: 0 0 .25rem; }
.climate p { margin: 0; color: var(--ink-soft); }

/* ---------- type ---------- */
h1, h2, h3 { line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.7rem); font-weight: 800; font-stretch: 118%; letter-spacing: -0.035em; margin: 0 0 1rem; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); font-weight: 750; font-stretch: 108%; letter-spacing: -0.02em; margin: 2.6rem 0 .7rem; }
h3 { font-size: 1.14rem; font-weight: 700; margin: 1.8rem 0 .4rem; line-height: 1.3; }
.lede { font-size: clamp(1.1rem, 1.7vw, 1.28rem); line-height: 1.5; max-width: 44rem; margin: 0; color: var(--ink-soft); }
p { margin: 0 0 1.05rem; }

/* ---------- guide pages ---------- */
.crumbs { padding-top: 1.4rem; font-stretch: 85%; font-weight: 500; font-size: .95rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .2rem .5rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--rule); }
.crumbs [aria-current] { color: var(--ink-soft); }
.page-head { padding: 1.4rem 0 2.2rem; border-bottom: 3px solid var(--ink); }
.page-head h1 { max-width: 22ch; }
.guide { display: grid; grid-template-columns: 17.5rem minmax(0, 43rem); gap: 3.5rem; padding: 2.4rem 0 4.5rem; align-items: start; }
.guide-solo { grid-template-columns: minmax(0, 43rem); }
.glance { position: sticky; top: 1.2rem; }
.prose > h2:first-child, .prose > p:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose li::marker { color: var(--gulf); font-weight: 700; }
.prose strong { font-weight: 700; }
.val { font-family: var(--mono); font-stretch: 87%; font-size: .88em; font-weight: 500; white-space: nowrap; }

.answer { background: var(--sheet); border-left: 6px solid var(--tag-deep); padding: 1rem 1.2rem; margin: 0 0 1.6rem; font-size: 1.1rem; line-height: 1.5; }
.answer p:last-child { margin-bottom: 0; }
.warn { border: 2px solid var(--flare); border-left-width: 6px; background: var(--sheet); padding: .9rem 1.1rem; margin: 1.4rem 0; }
.warn p { margin: 0; }
.warn strong { color: var(--flare); }

/* rating tables */
.tbl { overflow-x: auto; margin: 1.3rem 0 1.7rem; background: var(--sheet); border: 2px solid var(--ink); }
table { border-collapse: collapse; width: 100%; font-size: .96rem; line-height: 1.4; }
caption { caption-side: top; text-align: left; padding: .6rem .8rem; font-weight: 700; font-stretch: 108%; background: var(--ink); color: #fff; }
th, td { text-align: left; vertical-align: top; padding: .55rem .8rem; border-top: 1.5px solid var(--rule); }
thead th { font-stretch: 78%; font-weight: 700; font-size: .93rem; background: var(--plate); border-top: 0; border-bottom: 2px solid var(--ink); white-space: nowrap; }
tbody th { font-weight: 700; }
td + td, th + th, th + td { border-left: 1.5px solid var(--rule); }
td.n { font-family: var(--mono); font-stretch: 87%; font-size: .86rem; white-space: nowrap; }
.wide table { min-width: 34rem; }

/* diagrams */
figure { margin: 1.6rem 0 1.9rem; }
.dia { background: var(--sheet); border: 2px solid var(--ink); padding: .8rem; }
.dia svg { display: block; width: 100%; }
figcaption { font-size: .95rem; line-height: 1.5; color: var(--ink-soft); margin-top: .7rem; }
figcaption ol { list-style: none; margin: .4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem 1.5rem; counter-reset: k; }
figcaption li { counter-increment: k; display: grid; grid-template-columns: 1.45rem 1fr; gap: .55rem; margin: 0; }
figcaption li::before { content: counter(k); display: inline-grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--tag); border: 1.5px solid var(--ink); color: var(--ink); font-weight: 800; font-size: .76rem; margin-top: .1rem; }
.s { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.s-thin { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; }
.s-dash { fill: none; stroke: var(--ink-soft); stroke-width: 1.5; stroke-dasharray: 5 5; }
.fl-plate { fill: var(--plate); stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; }
.fl-haze { fill: var(--haze); stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; }
.fl-ink { fill: var(--ink); }
.fl-tag { fill: var(--tag); stroke: var(--ink); stroke-width: 2; }
.hot { fill: none; stroke: var(--flare); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.cold { fill: none; stroke: var(--gulf); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.num circle { fill: var(--tag); stroke: var(--ink); stroke-width: 2; }
.num text { font-family: var(--sans); font-weight: 800; font-size: 15px; fill: var(--ink); text-anchor: middle; }
.lab { font-family: var(--sans); font-stretch: 80%; font-weight: 600; font-size: 15px; fill: var(--ink); }

/* index list (hub pages, home) */
.index { list-style: none; margin: 1.4rem 0 0; padding: 0; border-top: 3px solid var(--ink); }
.index li { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr) auto; gap: .3rem 2rem; align-items: baseline; padding: .95rem 0; border-bottom: 1.5px solid var(--rule); margin: 0; }
.index a.t { font-weight: 750; font-stretch: 108%; font-size: 1.18rem; letter-spacing: -0.015em; color: var(--ink); text-decoration-color: var(--tag-deep); text-decoration-thickness: 3px; }
.index a.t:hover { color: var(--gulf); }
.index p { margin: 0; color: var(--ink-soft); }
.index .val { color: var(--ink-soft); }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #d5e3df; margin-top: 0; padding: 3rem 0 3.5rem; font-size: .98rem; }
.foot-in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem 2.5rem; }
.foot-mark { font-weight: 800; font-stretch: 125%; font-size: 1.25rem; color: var(--tag); margin: 0 0 .5rem; letter-spacing: -0.02em; }
.foot p { max-width: 22rem; }
.foot h2 { font-size: 1rem; font-stretch: 100%; letter-spacing: 0; margin: 0 0 .6rem; color: #fff; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: .35rem; }
.foot a { color: #d5e3df; text-decoration-color: rgba(213,227,223,.4); }
.foot a:hover { color: var(--tag); }

/* ---------- responsive ---------- */
@media (max-width: 62rem) {
  .reader, .split { grid-template-columns: minmax(0, 1fr); }
  .guide { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; padding-top: 1.8rem; }
  .glance { position: static; max-width: 30rem; }
  .plate-sm dl { display: grid; grid-template-columns: 1fr 1fr; }
  .plate-sm .pf:nth-child(2) { border-top: 0; }
  .plate-sm .pf:nth-child(even) { border-left: 1.5px solid #16211f; }
  .plate-sm .pf:last-child:nth-child(odd) { grid-column: span 2; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .index li { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 34rem) {
  body { font-size: 1rem; }
  .wrap { padding: 0 1rem; }
  .hero { padding-top: 2rem; padding-bottom: 2.5rem; }
  .plate-big { padding: 1.7rem 1rem 1.5rem; }
  .f-v { font-size: .88rem; }
  .f.w2 { grid-column: span 3; }
  .f.w2.last { grid-column: span 6; }
  .climate, figcaption ol { grid-template-columns: minmax(0, 1fr); }
  .foot-in { grid-template-columns: 1fr; }
  .top nav ul { gap: .1rem 1.1rem; }
  .top nav a { font-size: .97rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
