/* ============================================================
   TanklessGeek - Unified Design System (derived from WaterFilterGeek wfg-design.css, 2026-10-29)
   Template-derived: teal/navy, evidence-forward, mobile-first
   ============================================================ */

/* --- Variables --- */
:root {
  --navy:        #0d1b2a;
  --ink:         #203845;
  --muted:       #56707e;
  --teal:        #1a6ba0;
  --teal-dark:   #155a8a;
  --pale:        #e8f2fb;
  --line:        #d7e2e5;
  --paper:       #fff;
  --orange:      #b84b15;
  --bg:          #f5f8f9;
  --max-width:   1140px;
  --radius:      8px;
  --radius-sm:   5px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 17px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
button, select { font: inherit; }
button, a, select { touch-action: manipulation; }
button { cursor: pointer; }
a { color: var(--teal); text-underline-offset: 4px; text-decoration: none; }
a:hover { color: var(--teal-dark); text-decoration: underline; }
button:focus-visible, a:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--orange); outline-offset: 4px;
}

/* --- Typography --- */
h1, h2, h3, h4 { color: var(--navy); line-height: 1.17; letter-spacing: -.03em; }
h1 { font-size: clamp(32px, 4.5vw, 54px); margin: 12px 0 22px; max-width: 800px; }
h2 { font-size: clamp(26px, 3vw, 34px); margin: 0 0 14px; }
h3 { font-size: clamp(20px, 2.5vw, 24px); margin: 10px 0 12px; }
h4 { font-size: 18px; margin: 8px 0 10px; }
p { margin: 0 0 18px; }
.eyebrow {
  font-size: 12px; letter-spacing: .15em; font-weight: 750;
  color: var(--teal); text-transform: uppercase; display: block; margin-bottom: 6px;
}

/* --- Layout --- */
.wrap { max-width: var(--max-width); margin: auto; padding: 0 28px; }

/* ==============================
   HEADER / NAV
   ============================== */
.site-head {
  border-bottom: 1px solid var(--line);
  background: var(--navy);
  position: sticky; top: 0; z-index: 200;
}
.head-inner {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 66px; gap: 20px; padding: 12px 28px; flex-wrap: wrap;
  max-width: var(--max-width); margin: auto;
}
.logo {
  font-size: 1.35rem; font-weight: 900; color: #fff;
  letter-spacing: -.5px; text-decoration: none; white-space: nowrap; flex-shrink: 0;
}
.logo span { color: #6cb8ec; }
.main-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.main-nav a, .main-nav > .nav-dropdown > a {
  color: rgba(255,255,255,.85); font-size: 14px; font-weight: 600;
  padding: 8px 12px; border-radius: 4px; text-decoration: none;
  transition: background .15s, color .15s;
}
.main-nav a:hover, .main-nav > .nav-dropdown > a:hover {
  background: rgba(255,255,255,.1); color: #fff;
}
/* dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--navy); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius); min-width: 220px; padding: 8px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.3); z-index: 300;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block; padding: 10px 18px; color: rgba(255,255,255,.82);
  font-size: 14px; font-weight: 500;
}
.dropdown-menu a:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav-toggle {
  display: none; background: none; border: none; color: #fff; font-size: 22px;
  padding: 6px; cursor: pointer;
}

/* ==============================
   HERO
   ============================== */
.hero {
  padding: 60px 0 52px;
  background: linear-gradient(125deg, #edf3fa, #f6f9fc);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .85fr; gap: 60px; align-items: center;
}
.hero h1 { font-size: clamp(34px, 4vw, 52px); margin-bottom: 18px; }
.lede { font-size: 18px; color: var(--muted); max-width: 620px; margin-bottom: 24px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; border: 0;
  background: var(--teal); color: white; font-weight: 700; font-size: 15px;
  padding: 14px 22px; min-height: 48px; border-radius: var(--radius-sm);
  transition: background .15s; white-space: nowrap;
}
.btn:hover { background: var(--teal-dark); text-decoration: none; color: white; }
.btn.secondary {
  color: var(--navy); border: 1.5px solid #b8cbd1; background: white;
}
.btn.secondary:hover { background: var(--pale); }
.btn.ghost {
  background: transparent; color: white;
  border: 1.5px solid rgba(255,255,255,.55);
}
.btn.ghost:hover { background: rgba(255,255,255,.12); color: white; border-color: rgba(255,255,255,.85); }
.btn.orange { background: var(--orange); }
.btn.orange:hover { background: #9a3f12; }
.helper { margin-top: 10px; font-size: 13px; color: var(--muted); }

/* ==============================
   FILTER FINDER WIDGET
   ============================== */
.finder {
  padding: 27px; background: white; border: 1px solid var(--line);
  border-radius: 10px; box-shadow: 0 12px 34px rgba(22,59,76,.06);
}
.finder h2 { font-size: 22px; margin-bottom: 6px; }
.finder p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.finder label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.finder select {
  width: 100%; padding: 11px; margin: 0 0 14px;
  border: 1px solid #b9cbd2; background: white; border-radius: var(--radius-sm);
  color: var(--ink); font-size: 15px;
}
.finder .btn { width: 100%; margin-top: 4px; }
.finder-result {
  padding: 18px; background: var(--pale); border-radius: 6px;
  margin-top: 16px; font-size: 14px;
}
.finder-result h3 { font-size: 18px; margin-bottom: 8px; }
.finder-result a { font-weight: 700; }

/* ==============================
   RIBBON / TRUST BAR
   ============================== */
.ribbon {
  padding: 14px 0; background: white; border-block: 1px solid var(--line);
}
.ribbon .wrap {
  display: flex; gap: 24px; flex-wrap: wrap;
  justify-content: space-between; font-size: 13px; color: var(--muted);
}
.ribbon span { font-weight: 600; }

/* ==============================
   CATEGORY QUICK LINKS
   ============================== */
.cat-bar {
  background: #E8F2FB; border-bottom: 1px solid var(--line);
  padding: 0; overflow-x: auto;
}
.cat-bar-inner {
  max-width: var(--max-width); margin: auto; padding: 0 28px;
  display: flex; gap: 0;
}
.cat-bar a {
  display: inline-block; padding: 14px 20px;
  font-size: 14px; font-weight: 600; color: var(--ink);
  text-decoration: none; border-right: 1px solid var(--line); white-space: nowrap;
  transition: color .15s, background .15s;
}
.cat-bar a:last-child { border-right: none; }
.cat-bar a:hover { background: white; color: var(--teal); }
.cat-bar a.highlight { color: var(--orange); }

/* ==============================
   SECTION BLOCKS
   ============================== */
.block { padding: 52px 0; }
.block-sm { padding: 36px 0; }

/* Grid 3 */
.grid3 {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; margin-top: 24px;
}
.card {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  transition: box-shadow .15s;
}
.card:hover { box-shadow: 0 6px 20px rgba(16,46,66,.1); }
.card p { font-size: 15px; color: var(--muted); }
.card .number { font-size: 12px; letter-spacing: .1em; color: var(--teal); font-weight: 800; }
.card a { font-size: 15px; font-weight: 700; }
.card h3 { font-size: 20px; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }

/* Feature / dark block */
.feature { background: var(--navy); color: #d9e8ec; }
.feature h2 { color: white; }
.feature h3 { color: white; }
.feature .eyebrow { color: #90d3d3; }
.feature .lede { color: #c9dce3; }
.feature p { color: #c9dce3; }

/* Resource list */
.resource {
  padding: 15px 0; border-bottom: 1px solid var(--line);
  display: flex; gap: 20px; justify-content: space-between; align-items: center;
}
.resource a { text-decoration: none; font-weight: 650; color: var(--ink); }
.resource a:hover { color: var(--teal); }
.resource span { color: var(--muted); font-size: 14px; white-space: nowrap; }

/* Offer box */
.offer { background: var(--pale); border-radius: var(--radius); padding: 28px; }
.offer h3 { margin-top: 0; font-size: 20px; }

/* ==============================
   PRODUCT CARDS (homepage)
   ============================== */
.product-cards { display: grid; gap: 20px; margin-top: 24px; }
.product-card {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  position: relative; overflow: hidden;
}
.product-card.top-pick { border-left: 4px solid var(--teal); }
.product-badge {
  display: inline-block; padding: 4px 11px;
  font-size: 12px; font-weight: 800; letter-spacing: .04em;
  border-radius: 4px; margin-bottom: 12px;
  background: var(--pale); color: var(--teal);
}
.product-badge.orange { background: #fff4ee; color: var(--orange); }
.product-badge.dark { background: #e8ecef; color: var(--ink); }

.product-card-inner {
  display: grid; grid-template-columns: 1fr 200px; gap: 24px; align-items: start;
}
.product-image { display: flex; align-items: center; justify-content: center; }
.product-image img { border-radius: 6px; max-height: 220px; width: auto; }

.product-card h3 { font-size: 22px; margin-bottom: 8px; }
.rating { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.rating .stars { color: #f59e0b; }
.best-for { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.limitation { font-size: 13px; color: #c0392b; margin-bottom: 8px; }
.annual-cost { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.key-specs {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr;
  gap: 6px 14px; margin-bottom: 16px;
}
.key-specs li { font-size: 14px; color: var(--ink); }
.key-specs li strong { color: var(--navy); }
.price { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.price .price-note { font-size: 14px; font-weight: 400; color: var(--muted); }

.cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 20px; min-height: 44px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 15px; text-decoration: none;
  background: var(--teal); color: white; border: 0;
  transition: background .15s;
}
.cta-btn:hover { background: var(--teal-dark); text-decoration: none; color: white; }
.cta-outline {
  background: white; color: var(--navy); border: 1.5px solid var(--line);
}
.cta-outline:hover { background: var(--pale); color: var(--navy); }

/* Quick picks strip */
.quick-picks {
  background: white; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 24px; margin-bottom: 28px;
}
.quick-picks-title { font-size: 14px; font-weight: 800; color: var(--navy); margin-bottom: 14px; letter-spacing: .01em; }
.quick-picks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.quick-pick-item {
  padding: 14px; background: var(--bg); border-radius: 6px;
  border: 1px solid var(--line);
}
.quick-pick-badge {
  display: inline-block; font-size: 11px; font-weight: 800;
  padding: 3px 8px; border-radius: 3px; margin-bottom: 8px;
  background: var(--pale); color: var(--teal);
}
.quick-pick-badge.orange { background: #fff4ee; color: var(--orange); }
.quick-pick-item h4 { font-size: 14px; margin-bottom: 5px; color: var(--navy); }
.quick-pick-item p { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.quick-pick-cta { font-size: 13px; font-weight: 700; color: var(--teal); }

/* ==============================
   GUIDE / ARTICLE CARDS GRID
   ============================== */
.guides-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px;
}
.guide-card {
  background: white; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; display: flex; flex-direction: column;
  transition: box-shadow .15s;
}
.guide-card:hover { box-shadow: 0 6px 20px rgba(16,46,66,.12); }
.guide-card img { width: 100%; height: 160px; object-fit: cover; }
.guide-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.guide-card h3 { font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.guide-card p { font-size: 14px; color: var(--muted); flex: 1; margin-bottom: 10px; }
.read-more { font-size: 14px; font-weight: 700; color: var(--teal); }

/* Section header */
.section-header { margin-bottom: 4px; }
.section-header h2 { margin-bottom: 6px; }
.section-header p { color: var(--muted); font-size: 16px; }

/* ==============================
   ARTICLE / BUYING-GUIDE LAYOUT
   ============================== */
.article-head { padding: 40px 0 0; }
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--teal); }
.article-head h1 { font-size: clamp(30px, 4vw, 44px); max-width: 860px; }
.byline { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.disclosure {
  font-size: 12.5px; line-height: 1.55; color: #9aa7b0;
  text-align: center; max-width: 720px; margin: 10px auto 18px;
  padding: 12px 0; border: 0;
}
.article-layout {
  display: grid; grid-template-columns: minmax(0, 760px) 220px;
  gap: 52px; align-items: start; padding-bottom: 60px;
}
.article-body { min-width: 0; }
.article-body h2 {
  font-size: clamp(24px, 2.5vw, 30px); margin: 38px 0 16px;
  padding-top: 8px; border-top: 2px solid var(--line);
}
.article-body h3 { font-size: 22px; margin: 24px 0 12px; }
.article-body p { max-width: 72ch; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 18px; }
.article-body li { margin-bottom: 8px; font-size: 16px; }

/* Verdict / quick-answer box */
.verdict {
  background: var(--pale); padding: 24px 28px;
  border-left: 4px solid var(--teal); border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 32px;
}
.verdict h2 { margin: 4px 0 12px; font-size: 23px; border: none; padding-top: 0; }
.verdict p { font-size: 16px; max-width: none; }

/* TOC sidebar */
.toc { margin-top: 4px; border-top: 3px solid var(--teal); padding: 16px 0; }
.toc strong { font-size: 14px; color: var(--navy); display: block; margin-bottom: 8px; }
.toc a {
  display: block; padding: 7px 0; font-size: 14px;
  text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.toc a:hover { color: var(--teal); }

/* Badge */
.badge {
  display: inline-block; padding: 4px 9px; background: #f0f5f7;
  color: var(--muted); border-radius: 4px; font-size: 12px; font-weight: 700;
  margin-bottom: 10px;
}

/* Data table */
.tablewrap { overflow-x: auto; margin: 18px 0 24px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.data-table th {
  background: var(--navy); color: white; text-align: left;
  padding: 13px 14px; font-size: 14px;
}
.data-table td {
  padding: 14px; border-bottom: 1px solid var(--line); vertical-align: top;
}
.data-table tr:nth-child(even) td { background: #f5f8f9; }
.data-table td:first-child { font-weight: 650; }
.data-table a { font-weight: 700; }

/* Pick card */
.pick {
  margin: 24px 0; padding: 26px; background: white;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.pick h3 { font-size: 24px; }
.pick-photo {
  min-height: 120px; background: #f0f5f6;
  border: 1px solid var(--line); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  margin: 16px 0; padding: 12px;
}
.pick-photo img { max-height: 200px; width: auto; border-radius: 4px; }
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 18px 0; }
.fit strong { display: block; color: var(--navy); margin-bottom: 6px; font-size: 15px; }
.fit p { font-size: 15px; max-width: none; }
.cost {
  border-block: 1px solid var(--line); padding: 14px 0;
  margin: 12px 0 18px; font-size: 14px; color: var(--ink);
}

/* FAQ / details */
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; color: var(--navy); font-weight: 700; font-size: 16px; }
details p { margin-top: 12px; font-size: 16px; }

/* Note box */
.note {
  background: #fff5ea; border-left: 4px solid var(--orange);
  padding: 16px 20px; font-size: 14px; margin: 22px 0; border-radius: 0 6px 6px 0;
}

/* Affiliate disclosure */
.aff-disclosure {
  font-size: 12.5px; color: #9aa7b0; padding: 12px 0;
  background: none; border: 0; text-align: center;
  max-width: 720px; margin: 18px auto;
}

/* ==============================
   FOOTER
   ============================== */
.site-footer {
  border-top: 1px solid var(--line); padding: 28px 0 32px;
  font-size: 13px; color: var(--muted); background: white; margin-top: 40px;
}
.footer-inner {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  max-width: var(--max-width); margin: auto; padding: 0 28px;
}
.footer-inner a { color: var(--muted); }
.footer-inner a:hover { color: var(--teal); }
.footer-logo { font-size: 18px; font-weight: 900; color: var(--navy); letter-spacing: -.5px; }
.footer-logo span { color: var(--teal); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 900px) {
  .hero-grid, .article-layout { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 36px 0; }
  .finder { max-width: 580px; }
  .toc { display: none; }
  .grid3, .guides-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .split { gap: 24px; }
  .product-card-inner { grid-template-columns: 1fr; }
  .product-image { display: none; }
  .quick-picks-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  html { font-size: 16px; }
  .wrap { padding-inline: 18px; }
  .head-inner { padding: 14px 20px; }
  .logo { font-size: 1.15rem; }
  .main-nav { display: none; }
  .main-nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); padding: 12px 18px; border-top: 1px solid rgba(255,255,255,.1); }
  .main-nav.open a { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .main-nav.open .dropdown-menu { position: static; border: none; box-shadow: none; padding: 0 0 0 14px; background: transparent; display: block; }
  .nav-toggle { display: block; }
  .hero { padding: 28px 0 24px; }
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  .grid3, .guides-grid, .split, .fit { grid-template-columns: 1fr; }
  .cat-bar-inner { gap: 0; }
  .cat-bar a { padding: 12px 14px; font-size: 13px; }
  .quick-picks-grid { grid-template-columns: 1fr; }
  .block { padding: 32px 0; }
  .data-table { min-width: 560px; }
  .article-head h1 { font-size: 28px; }
  .verdict { padding: 18px 20px; }
  .pick, .product-card { padding: 20px; }
  .section-header h2 { font-size: 22px; }
  .cta-btns { flex-direction: column; }
  .cta-btn { width: 100%; text-align: center; }
  .lede { font-size: 16px; }
  .ribbon .wrap { gap: 12px; }
  .ribbon span { width: 100%; }
}

/* ============================================================
   COMPATIBILITY LAYER - legacy class aliases → design system
   Added 2026-09-16. Allows pages built with old class names
   to render correctly without full HTML rewrite.
   ============================================================ */

/* Layout containers */
.page-layout {
  max-width: var(--max-width); margin: auto; padding: 0 28px;
  display: grid; grid-template-columns: minmax(0, 760px) 220px;
  gap: 52px; align-items: start; padding-bottom: 60px;
}
.article-content {
  max-width: var(--max-width); margin: auto; padding: 0 28px 60px;
}
.article-body, .main-content { min-width: 0; }
.article-header { padding: 40px 0 0; }
.article-header h1 { font-size: clamp(30px, 4vw, 44px); max-width: 860px; color: var(--navy); line-height: 1.17; letter-spacing: -.03em; margin: 12px 0 22px; }
.article-hero {
  padding: 40px 28px 0; max-width: var(--max-width); margin: auto;
}
.article-hero h1 { font-size: clamp(30px, 4vw, 44px); max-width: 860px; color: var(--navy); line-height: 1.17; letter-spacing: -.03em; }
.article-section { margin-bottom: 36px; }
.article-section h2 { font-size: clamp(24px, 2.5vw, 30px); margin: 38px 0 16px; padding-top: 8px; border-top: 2px solid var(--line); color: var(--navy); }
.article-section h3 { font-size: 22px; margin: 24px 0 12px; color: var(--navy); }
.article-section p { max-width: 72ch; margin: 0 0 18px; }
.article-section ul, .article-section ol { padding-left: 24px; margin-bottom: 18px; }
.article-section li { margin-bottom: 8px; font-size: 16px; }

/* Breadcrumb */
.breadcrumb {
  font-size: 13px; color: var(--muted); margin: 0 auto 18px;
  max-width: var(--max-width); padding: 14px 28px 0;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb span { margin: 0 5px; }

/* Trust bar */
.trust-bar, .trust-stats {
  padding: 14px 0; background: white; border-block: 1px solid var(--line);
}
.trust-bar-inner {
  display: flex; gap: 24px; flex-wrap: wrap; max-width: var(--max-width);
  margin: auto; padding: 0 28px; justify-content: space-around;
}
.trust-item, .trust-stat {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  text-align: center;
}
.trust-num, .num { font-size: 22px; font-weight: 900; color: var(--navy); }
.trust-label, .lbl { font-size: 13px; color: var(--muted); font-weight: 600; }
.trust-block { display: flex; gap: 32px; flex-wrap: wrap; margin: 16px 0; }

/* Sidebar */
.sidebar { padding-top: 4px; }
.sidebar-widget { margin-bottom: 24px; border-top: 3px solid var(--teal); padding: 16px 0; }
.sidebar-widget strong { font-size: 14px; color: var(--navy); display: block; margin-bottom: 8px; }
.toc-list { list-style: none; padding: 0; margin: 0; }
.toc-list li a, .toc-title + ul a {
  display: block; padding: 7px 0; font-size: 14px;
  text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line);
}
.toc-list li a:hover { color: var(--teal); }
.toc-title { font-size: 14px; font-weight: 800; color: var(--navy); margin-bottom: 8px; display: block; }
.sidebar-cta { padding: 16px; background: var(--pale); border-radius: var(--radius); margin-bottom: 16px; }
.sidebar-product { padding: 14px 0; border-bottom: 1px solid var(--line); }

/* FAQ */
.faq-section { margin: 32px 0; }
.faq-item { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq-question { color: var(--navy); font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.faq-answer { font-size: 16px; color: var(--ink); }
.faq-answer p { margin: 0 0 12px; }

/* Quick picks (legacy inline style) */
.quick-pick {
  background: var(--pale); padding: 16px; border-radius: var(--radius-sm);
  border-left: 3px solid var(--teal); margin-bottom: 12px;
}

/* Table scroll wrapper */
.table-scroll, .table-wrap { overflow-x: auto; margin: 18px 0 24px; }
.table-scroll table, .table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table-scroll th, .table-wrap th {
  background: var(--navy); color: white; text-align: left;
  padding: 13px 14px; font-size: 14px;
}
.table-scroll td, .table-wrap td {
  padding: 14px; border-bottom: 1px solid var(--line); vertical-align: top;
}
.table-scroll tr:nth-child(even) td, .table-wrap tr:nth-child(even) td { background: #f5f8f9; }
.table-scroll td:first-child, .table-wrap td:first-child { font-weight: 650; }

/* Specs list */
.specs-list { list-style: none; padding: 0; margin: 16px 0; border-top: 1px solid var(--line); }
.specs-list li { padding: 8px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
.specs-list li strong { color: var(--navy); }

/* Pros / cons */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 18px 0; }
.pros h4, .cons h4 { font-size: 16px; margin-bottom: 10px; }
.pros h4 { color: #1a7f4f; }
.cons h4 { color: #c0392b; }
.pros ul, .cons ul { list-style: none; padding: 0; }
.pros li::before { content: "✓ "; color: #1a7f4f; font-weight: 700; }
.cons li::before { content: "✗ "; color: #c0392b; font-weight: 700; }
.pros li, .cons li { padding: 4px 0; font-size: 14px; }

/* Product variants */
.product-name a { font-weight: 700; color: var(--teal); }
.product-img img { max-height: 200px; width: auto; }
.product-info { flex: 1; }
.product-link { font-weight: 700; color: var(--teal); }
.product-rating { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.product-recommendation { padding: 16px; background: var(--pale); border-left: 4px solid var(--teal); border-radius: 0 var(--radius) var(--radius) 0; margin: 16px 0; }
.rating-text { font-size: 14px; color: var(--muted); }

/* Quick verdict */
.quick-verdict {
  background: var(--pale); padding: 20px 24px;
  border-left: 4px solid var(--teal); border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 24px;
}

/* Badges */
.badge-accent { background: var(--pale); color: var(--teal); }
.badge-blue { background: #e8f4f8; color: #1a5e8a; }
.badge-dark { background: #e8ecef; color: var(--ink); }
.badge-navy { background: var(--navy); color: white; }
.badge-steel { background: #dde5ea; color: #36555f; }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; border: 0;
  background: var(--teal); color: white; font-weight: 700; font-size: 15px;
  padding: 12px 20px; min-height: 44px; border-radius: var(--radius-sm);
  transition: background .15s;
}
.btn-primary:hover { background: var(--teal-dark); text-decoration: none; color: white; }
.btn-sm { padding: 8px 14px; min-height: 36px; font-size: 13px; }
.cta-blue { background: var(--teal); }
.cta-box { padding: 20px; background: var(--pale); border-radius: var(--radius); margin: 16px 0; }

/* Info / note boxes */
.info-box { background: #e8f4f8; border-left: 4px solid #4a90c4; padding: 16px 20px; margin: 18px 0; border-radius: 0 6px 6px 0; font-size: 14px; }
.affiliate-disclosure { font-size: 12.5px; color: #9aa7b0; padding: 12px 0; background: none; border: 0; text-align: center; max-width: 720px; margin: 18px auto; }

/* Section separator */
.section-sep { border: 0; border-top: 2px solid var(--line); margin: 36px 0; }

/* Container (generic wrapper) */
.container { max-width: var(--max-width); margin: auto; padding: 0 28px; }

/* Star colors */
.star-orange { color: #f59e0b; }

/* Calc widgets */
.calc-box { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.calc-row { margin-bottom: 16px; }
.calc-field { width: 100%; padding: 11px; border: 1px solid #b9cbd2; background: white; border-radius: var(--radius-sm); font-size: 15px; color: var(--ink); }
.calc-btn { display: inline-flex; align-items: center; justify-content: center; background: var(--teal); color: white; font-weight: 700; font-size: 15px; padding: 12px 22px; min-height: 44px; border-radius: var(--radius-sm); border: 0; cursor: pointer; transition: background .15s; }
.calc-btn:hover { background: var(--teal-dark); }
.calc-result { padding: 18px; background: var(--pale); border-radius: 6px; margin-top: 16px; }
.result-num { font-size: 28px; font-weight: 900; color: var(--navy); }

/* Hero banner alt style */
.hero-banner { padding: 60px 28px 52px; background: linear-gradient(125deg, #edf3fa, #f6f9fc); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.hero-banner > img { display: block; max-width: min(100%, var(--max-width)); height: auto; margin: 0 auto 28px; border-radius: 8px; position: relative; z-index: 1; }
.hero-overlay { position: relative; z-index: 1; max-width: var(--max-width); margin: 0 auto; padding-inline: 28px; }
@media (max-width: 700px) { .hero-overlay { padding-inline: 18px; } }
.hero-title { font-size: clamp(34px, 4vw, 52px); margin-bottom: 18px; color: var(--navy); line-height: 1.17; letter-spacing: -.03em; }

/* Finder attention pulse (hero Find my filter CTA) */
@keyframes finderAttn { 0% { box-shadow: 0 0 0 0 rgba(26,157,160,.65); } 100% { box-shadow: 0 0 0 22px rgba(26,157,160,0); } }
#finder-widget.finder-attn { animation: finderAttn .8s ease-out 3; border-radius: 12px; outline: 3px solid var(--teal); outline-offset: 4px; transition: outline-color .4s; }
#finder-widget.finder-attn .finder-choice:first-of-type { box-shadow: 0 0 0 3px var(--teal); }

/* Label */
.label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.label-orange { color: var(--orange); }

/* Top-pick border (already in CSS but ensure alias) */
.product-card.top-pick { border-left: 4px solid var(--teal); }

/* Responsive overrides for compat classes */
@media (max-width: 900px) {
  .page-layout { grid-template-columns: 1fr; gap: 28px; }
  .sidebar { display: none; }
  .pros-cons { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .article-content, .article-hero, .breadcrumb, .container { padding-inline: 18px; }
  .page-layout { padding-inline: 18px; }
  .trust-bar-inner { flex-direction: column; align-items: center; gap: 12px; }
  .trust-block { gap: 16px; }
  .table-scroll table, .table-wrap table { min-width: 560px; }
}

/* ===== PATH CARDS WITH IMAGES (Change 1) ===== */
.path-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.path-card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  display: block;
}
.path-card-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}
.path-card-body a {
  margin-top: auto;
  padding-top: 8px;
}

/* ===== REVIEWER / EDITORIAL BLOCK (Change 3) ===== */
.reviewer-block {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--pale);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 24px;
}
.reviewer-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid var(--line);
}
.reviewer-text {
  flex: 1;
}
.reviewer-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 2px;
}
.reviewer-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.reviewer-bio {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 620px) {
  .reviewer-block { flex-direction: column; align-items: flex-start; }
  .reviewer-img { width: 64px; height: 64px; }
}

/* ==============================
   FILTER FINDER v2 — CLICKABLE CHOICES
   ============================== */

/* Widget container — replaces old .finder form */
#finder-widget {
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 34px rgba(22,59,76,.07);
  min-height: 200px;
}

.finder-heading {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--navy);
}

.finder-q-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
}

/* Choice buttons grid */
.finder-choices {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.finder-choice {
  display: block;
  width: 100%;
  padding: 16px 20px;
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
  line-height: 1.3;
}

.finder-choice:hover,
.finder-choice:focus-visible {
  border-color: var(--teal);
  background: var(--pale);
  color: var(--navy);
  outline: none;
}

.finder-choice.selected {
  border-color: var(--teal);
  background: #e0f4f5;
  color: var(--navy);
}

/* Progress bar */
.finder-progress-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.finder-progress-text {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .03em;
  white-space: nowrap;
}

.finder-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  display: inline-block;
  transition: background .2s;
}

.finder-dot.active {
  background: var(--teal);
}

.finder-subtext {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

/* AI trigger link */
.finder-ai-link-row {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin-top: 10px;
}

.finder-ai-link {
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.finder-ai-link:hover {
  color: var(--teal-dark);
}

/* Back button */
.finder-back-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  font-weight: 600;
  margin-top: 10px;
  display: block;
}

.finder-back-btn:hover {
  color: var(--ink);
}

/* ── RESULT BOX ── */
.finder-result-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.finder-result-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0;
}

.finder-result-heading {
  font-size: 20px;
  color: var(--navy);
  margin: 0;
}

.finder-result-desc {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* Top pick card */
.finder-top-pick {
  background: var(--pale);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.finder-pick-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
  background: white;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  border: 1px solid var(--line);
}

.finder-pick-name {
  font-size: 17px;
  color: var(--navy);
  margin: 0;
}

.finder-pick-why {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.finder-pick-cta {
  align-self: flex-start;
  font-size: 15px;
  margin-top: 4px;
}

/* Alt picks */
.finder-alt-picks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.finder-alt-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin: 0;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.finder-alt-pick {
  font-size: 13px;
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: baseline;
}

.finder-alt-badge {
  font-size: 11px;
  font-weight: 800;
  color: var(--teal);
  margin-right: 4px;
}

.finder-alt-link {
  font-weight: 700;
  color: var(--teal);
  font-size: 13px;
  margin-left: 4px;
}

/* Compare CTA */
.finder-compare-cta {
  width: 100%;
  text-align: center;
}

.finder-secondary-cta {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  text-align: center;
  margin-top: -6px;
}

/* Why details */
.finder-why-details {
  font-size: 13px;
  color: var(--muted);
}

.finder-why-details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--teal);
  font-size: 13px;
  list-style: none;
}

.finder-why-details summary::before {
  content: '▸ ';
}

.finder-why-details[open] summary::before {
  content: '▾ ';
}

.finder-why-details p {
  margin-top: 6px;
  font-size: 13px;
}

/* Restart */
.finder-restart-btn {
  background: none;
  border: none;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  align-self: center;
  padding: 4px 0;
}

.finder-restart-btn:hover { color: var(--ink); text-decoration: underline; }

/* ── AI PANEL ── */
.finder-ai-textarea {
  width: 100%;
  padding: 12px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  resize: vertical;
  min-height: 90px;
  margin-bottom: 10px;
}

.finder-ai-textarea:focus {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-color: var(--teal);
}

.finder-ai-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 8px;
}

.finder-ai-status {
  font-size: 13px;
  color: var(--muted);
  min-height: 20px;
}

.finder-ai-footer {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.finder-ai-explanation {
  font-size: 14px;
  color: var(--ink);
  background: var(--pale);
  border-left: 3px solid var(--teal);
  padding: 10px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 0;
}

.finder-ai-clarify-q {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

/* Fallback box */
.finder-result-fallback {
  background: var(--pale);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.finder-helper {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

/* ── SESSION INTENT STRIP (on guide pages) ── */
.wfg-intent-strip {
  background: var(--pale);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

.wfg-intent-label {
  font-weight: 700;
  color: var(--teal);
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  #finder-widget {
    padding: 20px 18px;
  }

  .finder-choice {
    padding: 15px 16px;
    font-size: 15px;
  }

  .finder-top-pick {
    padding: 14px;
  }

  .finder-ai-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .finder-ai-actions .btn {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .finder-choices {
    gap: 8px;
  }

  .finder-choice {
    padding: 14px;
    font-size: 15px;
  }
}

/* hero-compact band */
.hero-compact { padding: 34px 28px 30px; }
.hero-compact .hero-title { font-size: clamp(26px, 3.2vw, 40px); margin: 6px 0 0; }
.hero-kicker { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--accent); }

/* ============================================================
   TANKLESSGEEK DECISION LAYER (2026-10-29)
   Same tokens/spacing as the WFG system; adds the
   gas / electric / help-me-choose routing and pending notices.
   ============================================================ */
.route-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:22px; }
.route-card { display:flex; flex-direction:column; gap:6px; padding:20px; background:#fff; border:1px solid var(--line); border-radius:var(--radius); color:var(--ink); text-decoration:none; transition:border-color .15s, box-shadow .15s; }
.route-card:hover { border-color:var(--teal); box-shadow:0 8px 22px rgba(13,27,42,.08); text-decoration:none; color:var(--ink); }
.route-card strong { font-size:18px; color:var(--navy); }
.route-card span { font-size:14px; color:var(--muted); }
.route-card em { font-style:normal; font-weight:700; color:var(--teal); font-size:14px; margin-top:auto; }
.route-card.primary { border:2px solid var(--teal); }
.fit-list { list-style:none; margin:0 0 14px; padding:0; font-size:15px; }
.fit-list li { padding:6px 0; border-bottom:1px dashed var(--line); }
.fit-list li:last-child { border-bottom:0; }
.fit-list b { color:var(--navy); }
.pending-note { display:block; font-size:14px; color:var(--muted); background:var(--bg); border:1px dashed #b9c6d0; border-radius:var(--radius-sm); padding:10px 14px; }
.img-pending { display:flex; align-items:center; justify-content:center; min-height:180px; background:var(--bg); border:1px dashed var(--line); border-radius:var(--radius); color:var(--muted); font-size:13px; text-align:center; padding:12px; }
.tg-cards { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.tg-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:22px; display:grid; grid-template-columns:1fr 130px; gap:18px; }
.tg-card img { max-height:180px; width:auto; margin:auto; object-fit:contain; }
.tg-card h3 { margin-top:4px; font-size:20px; }
.tg-card .cta-btns { display:flex; gap:10px; flex-wrap:wrap; margin-top:6px; }
.compare-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:var(--radius); background:#fff; }
.compare { width:100%; border-collapse:collapse; font-size:15px; min-width:620px; }
.compare th, .compare td { text-align:left; padding:13px 16px; border-bottom:1px solid var(--line); vertical-align:top; }
.compare thead th { background:var(--navy); color:#fff; font-size:13px; letter-spacing:.04em; text-transform:uppercase; }
.compare tbody th { color:var(--navy); font-weight:700; width:24%; }
.help-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.start-here { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:22px; margin:22px 0 28px; }
.start-here h2 { font-size:22px; margin-bottom:6px; }
.start-here .route-grid { margin-top:14px; }
.site-head .main-nav a.active { background:rgba(255,255,255,.12); color:#fff; }
@media (max-width: 900px) {
  .route-grid, .help-grid { grid-template-columns:1fr; }
  .tg-cards { grid-template-columns:1fr; }
}
@media (max-width: 620px) {
  .tg-card { grid-template-columns:1fr; padding:18px; }
  .tg-card .img-wrap { order:-1; }
  .tg-card img { max-height:150px; }
  .compare th, .compare td { padding:11px 12px; font-size:14px; }
}
/* contrast fixes for legacy markup on the light system (gate WCAG check) */
.site-footer a, .site-footer .footer-links a { color: var(--muted); }
.site-footer a:hover { color: var(--teal); }
.site-footer p, .affiliate-disclosure, .aff-disclosure, .aff-disclosure span { color: var(--muted); }
.product-badge, .product-badge[class*="badge-"] { background: var(--navy); color: #fff; }
.product-badge.badge-blue { background: var(--teal); color: #fff; }
.sidebar-cta { background: var(--navy); color: #fff; }
.sidebar-cta h4, .sidebar-cta p { color: #fff; }
.pending-note, p.pending-note { color: var(--muted); }
/* guide/tool layout polish (2026-10-29 QC) */
[id] { scroll-margin-top: 84px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.comparison-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15px; }
.comparison-table th, .comparison-table td { word-break: normal; overflow-wrap: normal; padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison-table thead th { background: var(--navy); color: #fff; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.sidebar-widget { padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: var(--radius); }
.sidebar-cta { padding: 20px 18px; border-radius: var(--radius); }
.sidebar-cta .cta-btn { display: block; text-align: center; margin-top: 10px; }
@media (max-width: 620px) { .comparison-table { font-size: 14px; } }
#quick-picks .comparison-table { table-layout: auto; min-width: 760px; }
#quick-picks .comparison-table th, #quick-picks .comparison-table td { white-space: normal; }
.route-grid.cols-2 { grid-template-columns: repeat(2,1fr); }
.route-grid.cols-3 { grid-template-columns: repeat(3,1fr); }
#next-step h2 { border-top: 0; padding-top: 0; margin-top: 4px; }
@media (max-width: 700px) { .route-grid.cols-2, .route-grid.cols-3 { grid-template-columns: 1fr; } }
