/* CoolSleeper — independent cooling-sheet comparisons, September 2026
   Distinct from BoxVerdict (cream/forest/serif) and AirVerdict (sky/CADR/tech).
   Moonlight indigo + glacier. Geometric display, no cream paper, no forest green. */

:root {
  --ink: #161822;
  --ink-soft: #2c3142;
  --muted: #5c6270;
  --line: #d4d8e4;
  --paper: #eef1f6;
  --paper-2: #e3e7f0;
  --card: #ffffff;
  --night: #1a1d32;
  --night-2: #252a48;
  --indigo: #3c4294;
  --indigo-2: #2f3478;
  --moon: #8b91c4;
  --glacier: #3d8f8c;
  --glacier-2: #2f7370;
  --ember: #c56a32;
  --ember-bg: #f6eadf;
  --good: #1f6b55;
  --warn: #8a5a12;
  --shadow: 0 12px 32px rgba(26, 29, 50, 0.08);
  --radius: 12px;
  --max: 70rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Figtree, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  background-image:
    radial-gradient(ellipse at 12% -10%, rgba(61, 143, 140, 0.09), transparent 46%),
    radial-gradient(ellipse at 100% 0%, rgba(60, 66, 148, 0.08), transparent 42%);
}

img { max-width: 100%; height: auto; }
a { color: var(--indigo); text-underline-offset: 0.18em; }
a:hover { color: var(--glacier-2); }

h1, h2, h3, h4 {
  font-family: Syne, "Trebuchet MS", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--night);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 5.2vw, 3.15rem); }
h2 { font-size: clamp(1.45rem, 3vw, 1.95rem); margin-top: 0.15em; }
h3 { font-size: 1.18rem; font-weight: 700; }

p { margin: 0 0 1em; }
p.lede { font-size: 1.18rem; color: var(--ink-soft); max-width: 42rem; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--night); color: #fff;
  padding: 0.6rem 1rem; z-index: 100;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

.disclosure-bar {
  background: var(--night);
  color: #e8eaf4;
  font-size: 0.8rem;
  text-align: center;
  padding: 0.48rem 1rem;
}
.disclosure-bar a { color: #c5c9ee; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(238, 241, 246, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.65rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex; align-items: center; gap: 0.55rem;
  text-decoration: none; color: var(--night);
  font-family: Syne, sans-serif;
  font-weight: 700; font-size: 1.22rem;
  letter-spacing: -0.04em;
}
.logo svg { flex-shrink: 0; }
.logo small {
  display: block;
  font-family: Figtree, sans-serif;
  font-weight: 600; font-size: 0.66rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin-top: 0.12rem;
}

.nav-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 8px; cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block; width: 1.15rem; height: 2px;
  background: var(--night); position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

#nav-check { position: absolute; opacity: 0; pointer-events: none; }

.site-nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--card);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 1.1rem 1rem;
  box-shadow: var(--shadow);
}
.site-nav a {
  display: block; padding: 0.7rem 0.4rem;
  text-decoration: none; color: var(--ink);
  font-weight: 650; min-height: 2.75rem;
  border-bottom: 1px solid var(--paper-2);
}
.site-nav a[aria-current="page"] { color: var(--indigo); }
#nav-check:checked ~ .site-nav { display: block; }

@media (min-width: 920px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex; position: static;
    background: transparent; border: 0; box-shadow: none;
    padding: 0; gap: 0.1rem;
  }
  .site-nav a {
    border: 0; padding: 0.5rem 0.65rem;
    font-size: 0.92rem; min-height: auto; border-radius: 8px;
  }
  .site-nav a:hover { background: var(--paper-2); }
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 1.4rem 1.1rem 3.5rem; }

.hero {
  padding: 1.7rem 0 1.25rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}
.kicker {
  font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--glacier-2); margin: 0 0 0.55rem;
}
.meta { color: var(--muted); font-size: 0.92rem; margin-top: 0.75rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.35rem; min-height: 2.85rem;
  padding: 0.65rem 1.15rem; border-radius: 8px;
  font-weight: 700; font-size: 0.95rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--indigo); color: #fff; }
.btn-primary:hover { background: var(--indigo-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--night); border-color: var(--night); }
.btn-ghost:hover { background: var(--night); color: #fff; }
.btn-glacier { background: var(--glacier); color: #fff; }
.btn-glacier:hover { background: var(--glacier-2); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.1rem 0 0.2rem; }

.grid { display: grid; gap: 1rem; }
@media (min-width: 700px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem 1.3rem;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 0.35em; }
.card p:last-child { margin-bottom: 0; }

.cluster-card {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit; min-height: 100%;
}
.cluster-card:hover { border-color: var(--indigo); }

.verdict {
  background: var(--night); color: #e8eaf4;
  border-radius: var(--radius); padding: 1.3rem 1.4rem;
}
.verdict h2, .verdict h3 { color: #fff; }
.verdict p { color: #cfd3e6; }
.verdict a { color: #b8ece8; }

.callout {
  border-left: 4px solid var(--glacier);
  background: #eef6f5;
  padding: 0.9rem 1.1rem;
  border-radius: 0 10px 10px 0;
  margin: 1.2rem 0;
}

.compare-wrap { margin: 1.4rem 0 2rem; overflow-x: auto; }
table.compare {
  width: 100%; border-collapse: collapse; min-width: 44rem;
  background: var(--card); border: 1px solid var(--line);
  font-size: 0.95rem;
}
table.compare th, table.compare td {
  padding: 0.7rem 0.75rem; text-align: left;
  border-bottom: 1px solid var(--line); vertical-align: top;
}
table.compare thead th {
  background: var(--night); color: #eef0f8;
  font-weight: 650; font-size: 0.92rem;
}
table.compare tbody th {
  font-weight: 650; color: var(--ink-soft);
  width: 10rem; background: #f5f6fb;
  position: sticky; left: 0;
}
table.compare tbody tr:last-child td,
table.compare tbody tr:last-child th { border-bottom: 0; }
table.compare caption {
  text-align: left; font-size: 0.85rem;
  color: var(--muted); padding-bottom: 0.55rem;
  caption-side: bottom; padding-top: 0.6rem;
}

.compare-cards { display: grid; gap: 1rem; }
.spec-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.spec-list li {
  display: flex; justify-content: space-between; gap: 0.8rem;
  padding: 0.45rem 0; border-bottom: 1px solid var(--paper-2);
  font-size: 0.95rem;
}
.spec-list span { color: var(--muted); }
.spec-list b { font-weight: 650; text-align: right; }

@media (max-width: 799px) { .desktop-table { display: none; } }
@media (min-width: 800px) { .compare-cards { display: none; } }

.pick { display: grid; gap: 1rem; margin: 1.2rem 0 2rem; }
@media (min-width: 760px) {
  .pick { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
}
.badge {
  display: inline-block;
  background: var(--ember-bg); color: #7a3e14;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.22rem 0.5rem; border-radius: 999px; margin-bottom: 0.5rem;
}
.badge-cool {
  background: #dceeee; color: #1d5c59;
}

.section { margin: 2.2rem 0; }
.prose ol.steps { padding-left: 1.2rem; }
.prose ol.steps li { margin: 0.45rem 0; }
.toc a { display: inline-block; margin: 0.2rem 0.7rem 0.2rem 0; }

.site-footer {
  background: var(--night);
  color: #c9cde0;
  padding: 2rem 1.1rem 2.4rem;
  font-size: 0.92rem;
}
.site-footer .foot-wrap { max-width: var(--max); margin: 0 auto; }
.site-footer a { color: #b8ece8; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.7rem 1.1rem; margin: 0.8rem 0 1.1rem; }
.site-footer p { margin: 0 0 0.7em; }
.fine { font-size: 0.82rem; color: #9aa0b8; }

code { font-size: 0.9em; background: var(--paper-2); padding: 0.1em 0.35em; border-radius: 4px; }
.verdict code { background: rgba(255,255,255,0.1); color: #e8eaf4; }
