/* ============================================================
   Jerry 2026-11-14 — PAGE HEADERS match the home hero type scale.
   One shared file, linked right after nav.css on every page.
   Words are unchanged; this only sets size, spacing and the green accent rule.
   To undo on all pages at once: empty this file (or restore the *.bak_headers_20261114 pages).
   ============================================================ */

/* Headline: same size, weight and tracking as the home hero headline */
:is(.page-band, .blog-band, .quiz-band, .plans-hero) h1 {
  font-size: clamp(2.15rem, 3.25vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -.025em;
  text-wrap: balance;
  margin-bottom: 0;
}

/* Green accent rule under the headline (the home hero's signature mark) */
:is(.page-band, .blog-band, .quiz-band) h1::after {
  content: "";
  display: block;
  width: 64px; height: 4px; border-radius: 4px;
  margin-top: 1.05rem;
  background: var(--grad-green);
  box-shadow: 0 2px 10px rgba(47,168,79,.35);
}
.quiz-band h1::after { margin-inline: auto; }

/* Intro paragraph: same size and line height as the home lede */
:is(.page-band, .blog-band, .quiz-band, .plans-hero) .lede {
  font-size: clamp(1.02rem, 1.12vw, 1.12rem);
  line-height: 1.68;
  max-width: 58ch;
}
:is(.page-band, .blog-band, .quiz-band) h1 + .lede { margin-top: 1.1rem; }
.quiz-band .lede { margin-inline: auto; }

/* Eyebrow line above the headline: a touch more air */
:is(.page-band, .blog-band, .quiz-band) .eyebrow { margin-bottom: .9rem; }

/* Jump-link chips sit left, under the left-aligned text (ERV vs HRV, Air Quality Guide) */
.page-band .guide-toc { justify-content: flex-start; }

/* Upload Your Planset: same headline + green sub-headline pattern as home */
.plans-hero h1 .text-green {
  position: relative;
  display: block;
  margin-top: 1rem; padding-top: 1.05rem;
  font-size: clamp(1.2rem, 1.75vw, 1.6rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.01em;
}
.plans-hero h1 .text-green::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 64px; height: 4px; border-radius: 4px;
  background: var(--grad-green);
  box-shadow: 0 2px 10px rgba(47,168,79,.35);
}
.plans-hero h1 + .lede { margin-top: 1.2rem; }
@media (max-width: 880px) {
  .plans-hero h1 .text-green::before { left: 50%; transform: translateX(-50%); }
}

/* Blog article title + product name: same family of sizes */
h1.blog-article__title {
  font-size: clamp(2.15rem, 3.25vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -.025em;
  text-wrap: balance;
}
main .pdp__info > h1 {
  font-size: clamp(1.9rem, 2.6vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  text-wrap: balance;
}

/* Phones: same sizes as the home hero on phones */
@media (max-width: 480px) {
  :is(.page-band, .blog-band, .quiz-band, .plans-hero) h1,
  h1.blog-article__title { font-size: clamp(1.8rem, 8vw, 2.1rem); }
  main .pdp__info > h1 { font-size: clamp(1.65rem, 7vw, 1.9rem); }
  :is(.page-band, .blog-band, .quiz-band, .plans-hero) .lede { font-size: 1rem; line-height: 1.62; }
  .plans-hero h1 .text-green { font-size: 1.15rem; }
}
@media (max-width: 380px) {
  :is(.page-band, .blog-band, .quiz-band, .plans-hero) h1,
  h1.blog-article__title { font-size: 1.68rem; }
}

/* Section headings (h2) sit one clear step below the page headline on every page, home included.
   Was clamp(1.7rem, 3.4vw, 2.7rem) = 43px on desktop, almost as big as the new 47px headline. */
h2 { font-size: clamp(1.6rem, 2.5vw, 2.25rem); letter-spacing: -.015em; }
@media (max-width: 480px) {
  h2 { font-size: clamp(1.45rem, 6.4vw, 1.7rem); }
}
