/* ═══════════════════════════════════════════════════════════
   HeatChecker — shared stylesheet
   ═══════════════════════════════════════════════════════════ */

:root {
  --green:      #17633f;
  --green-2:    #1f7a4f;
  --green-soft: #eaf6ef;
  --accent:     #f2b134;
  --ink:        #122018;
  --text:       #203127;
  --muted:      #647466;
  --border:     #d8e3dc;
  --bg:         #f7faf8;
  --white:      #fff;
  --danger:     #b42318;
  --danger-soft:#fef3f2;
  --radius:     18px;
  --shadow:     0 10px 35px rgba(18,32,24,.08);
  --shadow-lg:  0 18px 56px rgba(18,32,24,.14);
  --max:        1120px;
}

/* ─── Reset & base ─── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}
h1, h2, h3 {
  font-family: 'Fraunces', serif;
  color: var(--ink);
  line-height: 1.12;
  margin: 0;
}
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

/* ─── Layout ─── */
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.page { display: none; min-height: 100vh; }
.page.active { display: block; }
.section { padding: 72px 0; }
.section-sm { padding: 56px 0; }

/* ─── Typography helpers ─── */
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--green-2);
  margin-bottom: 12px;
}
.section-title { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 14px; }
.section-sub { color: var(--muted); max-width: 640px; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 15px 26px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: var(--white); box-shadow: 0 10px 24px rgba(23,99,63,.25); }
.btn-primary:hover { background: var(--green-2); }
.btn-secondary { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.2); }
.btn-secondary:hover { background: rgba(255,255,255,.06); }
.btn-ghost { background: transparent; color: var(--green); }
a.btn-primary { color: var(--white); }
a.btn-primary:hover { color: var(--white); }

/* ─── Nav ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247,250,248,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--green);
  cursor: pointer;
  user-select: none;
  text-decoration: none;
}
.brand span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: .94rem;
  font-weight: 600;
  cursor: pointer;
}
.nav-links a:hover { color: var(--green); }
/* Override nav-links colour for button inside nav — must be more specific */
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover { color: var(--white); }
.nav-mobile-btn { display: none; }

/* ─── Hero ─── */
.hero {
  background: linear-gradient(180deg, #102219 0%, #132a1e 100%);
  color: var(--white);
  padding: 72px 0 52px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 15%, rgba(36,145,91,.35), transparent 38%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(242,177,52,.12);
  border: 1px solid rgba(242,177,52,.28);
  color: #ffd37a;
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 5vw, 4.25rem);
  max-width: 740px;
  margin-bottom: 16px;
}
.hero p {
  color: rgba(255,255,255,.78);
  max-width: 630px;
  font-size: 1.05rem;
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  font-size: .94rem;
  color: rgba(255,255,255,.82);
}
.hero-points span::before { content: "✓ "; color: #9fe0b9; }
.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow-lg);
}
.hero-card h3 { color: var(--white); font-size: 1.35rem; margin-bottom: 16px; }
.mini-list { display: grid; gap: 14px; }
.mini-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px;
  background: rgba(255,255,255,.05);
  border-radius: 14px;
}
.mini-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.08);
  font-size: 1.25rem;
}
.mini-item strong { display: block; color: var(--white); margin-bottom: 4px; }
.mini-item p { font-size: .92rem; color: rgba(255,255,255,.72); margin: 0; }

/* ─── Trust row ─── */
.trust-row {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.trust-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  justify-content: center;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 600;
}

/* ─── Cards ─── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
  margin-top: 34px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.card p { color: var(--muted); }
.step-num {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green);
  font-family: 'Fraunces', serif;
  font-weight: 700;
  margin-bottom: 16px;
}

/* ─── Band ─── */
.band {
  background: var(--green);
  color: var(--white);
  text-align: center;
  padding: 56px 0;
}
.band .eyebrow { color: rgba(255,255,255,.78); }
.band h2 { color: var(--white); margin-bottom: 10px; font-size: clamp(2rem, 4vw, 3rem); }
.band p { color: rgba(255,255,255,.8); max-width: 620px; margin: 0 auto 24px; }
.band-amount { color: var(--accent); font-size: clamp(2.7rem, 5vw, 4rem); font-family: 'Fraunces', serif; font-weight: 700; }

/* ─── FAQ ─── */
.faq-list { display: grid; gap: 14px; margin-top: 30px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  cursor: pointer;
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-weight: 700;
}
.faq-a { display: none; color: var(--muted); padding-top: 12px; }
.faq-item.open .faq-a { display: block; }

/* ─── Checker ─── */
.checker-wrap { padding: 54px 0 72px; }
.checker-shell {
  width: min(720px, calc(100% - 32px));
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  padding: 34px;
}
.checker-top { margin-bottom: 24px; }
.checker-title { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 8px; }
.checker-sub { color: var(--muted); }
.progress { display: flex; gap: 8px; margin: 24px 0 8px; }
.bar { flex: 1; height: 6px; border-radius: 999px; background: #e6eee9; }
.bar.done { background: var(--green); }
.bar.active { background: var(--green-2); }
.step { display: none; }
.step.active { display: block; }
.step-label { color: var(--muted); font-size: .9rem; font-weight: 600; margin-bottom: 8px; }
.step h2 { font-size: clamp(1.5rem, 3.8vw, 2rem); margin-bottom: 10px; }
.step p.step-help { color: var(--muted); margin-bottom: 24px; }
.options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}
.options.single { grid-template-columns: 1fr; }
.option {
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--text);
  border-radius: 14px;
  padding: 16px 18px;
  text-align: left;
  cursor: pointer;
  font-weight: 600;
  transition: .16s ease;
}
.option:hover { border-color: var(--green); background: var(--green-soft); }
.option.selected { border-color: var(--green); background: var(--green-soft); color: var(--green); }
.field { margin-bottom: 16px; }
.label { display: block; margin-bottom: 6px; font-size: .88rem; font-weight: 700; }
.input, .textarea, .select {
  width: 100%;
  border: 2px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  color: var(--text);
  padding: 14px 16px;
  outline: 0;
  transition: .16s ease;
}
.input:focus, .textarea:focus, .select:focus { border-color: var(--green); }
.help { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.error-text { color: var(--danger); font-size: .83rem; margin-top: 6px; display: none; }
.input.invalid, .textarea.invalid, .select.invalid { border-color: var(--danger); background: var(--danger-soft); }
.input.invalid + .error-text { display: block; }
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.back-btn {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
}
.step-count { color: var(--muted); font-size: .88rem; font-weight: 600; }
.result-box {
  padding: 22px;
  border-radius: 18px;
  background: var(--bg);
  border: 1px solid var(--border);
}
.result-badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: .84rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.result-badge.high   { background: #e8f7ee; color: var(--green); }
.result-badge.medium { background: #fff7e7; color: #9a6a00; }
.result-badge.low    { background: #fef3f2; color: var(--danger); }
.result-list { margin: 16px 0 0; padding-left: 18px; color: var(--muted); }
.result-list li + li { margin-top: 8px; }
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  margin-top: 14px;
}
.consent input { margin-top: 4px; accent-color: var(--green); }
.consent p { font-size: .88rem; color: var(--muted); }
.notice {
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
  display: none;
  font-size: .92rem;
  font-weight: 600;
}
.notice.error   { display: block; background: var(--danger-soft); color: var(--danger); border: 1px solid #fecaca; }
.notice.success { display: block; background: var(--green-soft); color: var(--green); border: 1px solid #cfe5d7; }
.notice.warning { display: block; background: #fffbeb; color: #92400e; border: 1px solid #fcd34d; }
.notice.info    { display: block; background: #f0f9ff; color: #075985; border: 1px solid #bae6fd; }
.success-box { text-align: center; padding: 20px 10px; }
.success-box h2 { margin-bottom: 10px; font-size: clamp(1.8rem, 4vw, 2.4rem); }
.success-box p { color: var(--muted); }
.next-panel {
  background: var(--green-soft);
  border: 1px solid #cfe5d7;
  border-radius: 16px;
  padding: 18px;
  text-align: left;
  margin-top: 20px;
}

/* ─── Contact card ─── */
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 28px;
  max-width: 760px;
  margin: 0 auto;
}
.contact-card h2 { margin-bottom: 10px; }
.contact-card p  { color: var(--muted); margin-bottom: 18px; }
.contact-list { display: grid; gap: 10px; margin-top: 18px; color: var(--text); }

/* ─── Footer ─── */
footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .9rem;
}
.footer-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 36px 0 28px;
}
@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title { font-weight: 700; color: var(--ink); font-size: .9rem; margin-bottom: 4px; }
.footer-col a { text-decoration: none; color: var(--muted); font-size: .88rem; transition: color .12s; }
.footer-col a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0 32px; }
.footer-disclaimer {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 720px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { cursor: pointer; text-decoration: none; color: var(--muted); }
.footer-links a:hover { color: var(--green); }

/* ─── Legal pages ─── */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 52px 16px 80px;
}
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 10px; }
.legal h2 { font-size: 1.2rem; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--text); }
.legal .date { color: var(--muted); margin-bottom: 28px; }

/* ─── Article pages ─── */
.article-wrap {
  max-width: 740px;
  margin: 0 auto;
  padding: 52px 16px 80px;
}
.article-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--green-2);
  margin-bottom: 12px;
}
.article-wrap h1 { font-size: clamp(1.9rem, 5vw, 2.7rem); margin-bottom: 16px; }
.article-meta {
  color: var(--muted);
  font-size: .88rem;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.article-wrap h2 { font-size: 1.4rem; margin: 36px 0 12px; }
.article-wrap h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.article-wrap ul,
.article-wrap ol  { padding-left: 22px; margin: 0 0 16px; }
.article-wrap li  { margin-bottom: 6px; }
.article-wrap p   { margin: 0 0 16px; }
.cta-box {
  background: var(--green-soft);
  border: 1px solid #cfe5d7;
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 32px 0;
}
.cta-box p { margin: 0 0 16px; font-weight: 600; color: var(--ink); }
.info-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 24px 0;
  color: var(--text);
}
.info-box p { margin: 0; }
.warning-box {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-left: 4px solid #f59e0b;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 24px 0;
}
.warning-box p { margin: 0; }
.breadcrumb { font-size: .84rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--green); }

/* ─── Articles listing ─── */
.page-header {
  background: linear-gradient(180deg, #102219 0%, #132a1e 100%);
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 15%, rgba(36,145,91,.3), transparent 40%);
  pointer-events: none;
}
.page-header-inner { position: relative; }
.page-header .eyebrow { color: rgba(255,255,255,.7); }
.page-header h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 12px; }
.page-header p  { color: rgba(255,255,255,.75); max-width: 560px; margin: 0; }
.articles-section { padding: 56px 0 80px; }
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
  margin-top: 32px;
}
.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  transition: .18s ease;
}
.article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(18,32,24,.12);
  border-color: var(--green);
}
.article-tag {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--green-2);
  background: var(--green-soft);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 12px;
}
.article-card h3  { font-size: 1.05rem; margin-bottom: 10px; color: var(--ink); flex: 1; }
.article-card p   { font-size: .88rem; color: var(--muted); margin: 0 0 16px; }
.article-read     { font-size: .84rem; font-weight: 700; color: var(--green); margin-top: auto; }

/* ─── Pillar page ─── */
.page-hero {
  background: linear-gradient(180deg, #102219 0%, #132a1e 100%);
  color: var(--white);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 15%, rgba(36,145,91,.35), transparent 40%);
  pointer-events: none;
}
.page-hero-inner { position: relative; max-width: 800px; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 16px; }
.page-hero h1 span { color: var(--accent); }
.page-hero p  { color: rgba(255,255,255,.8); font-size: 1.05rem; max-width: 620px; margin-bottom: 28px; }
.content-wrap { max-width: 800px; margin: 0 auto; padding: 56px 16px 80px; }
.content-wrap h2 { font-size: 1.6rem; margin: 44px 0 14px; }
.content-wrap h3 { font-size: 1.15rem; margin: 28px 0 10px; }
.content-wrap ul,
.content-wrap ol  { padding-left: 22px; margin: 0 0 16px; }
.content-wrap li  { margin-bottom: 8px; }
.content-wrap p   { margin: 0 0 16px; }
.qualify-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: .93rem; }
.qualify-table th {
  background: var(--green-soft);
  color: var(--ink);
  font-weight: 700;
  text-align: left;
  padding: 12px 16px;
  border: 1px solid var(--border);
}
.qualify-table td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  vertical-align: top;
  background: var(--white);
}
.qualify-table tr:nth-child(even) td { background: var(--bg); }
.tick  { color: #17633f; font-weight: 700; }
.cross { color: #b42318; font-weight: 700; }
.maybe { color: #92400e; font-weight: 700; }
.steps { display: grid; gap: 18px; margin: 24px 0; }
.step-item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.step-item .step-num {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--green-soft);
  border: 1px solid #cfe5d7;
  display: grid;
  place-items: center;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  color: var(--green);
  font-size: 1.1rem;
}
.step-item h3 { margin: 0 0 6px; font-size: 1rem; }
.step-item p  { margin: 0; color: var(--muted); font-size: .92rem; }
.cluster-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  margin: 24px 0;
}
.cluster-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--text);
  transition: .16s ease;
  display: block;
}
.cluster-card:hover { border-color: var(--green); background: var(--green-soft); transform: translateY(-1px); }
.cluster-tag { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--green-2); margin-bottom: 6px; display: block; }
.cluster-card h3 { font-size: .96rem; margin: 0 0 4px; color: var(--ink); }
.cluster-card p  { font-size: .84rem; color: var(--muted); margin: 0; }

/* ─── Consent banner ─── */
#consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  background: var(--ink);
  color: rgba(255,255,255,.88);
  font-size: .85rem;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 16px rgba(0,0,0,.18);
}
#consent-banner p { margin: 0; flex: 1; min-width: 200px; line-height: 1.45; }
#consent-banner a { color: #9fe0b9; text-decoration: underline; cursor: pointer; }
.consent-btns { display: flex; gap: 10px; flex-shrink: 0; }
.consent-btns button {
  border: 0; border-radius: 999px;
  padding: 8px 18px;
  font-size: .85rem; font-weight: 700;
  cursor: pointer; transition: .15s ease;
}
#consent-accept { background: var(--green); color: #fff; }
#consent-accept:hover { background: var(--green-2); }
#consent-decline { background: transparent; color: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.25); }
#consent-decline:hover { background: rgba(255,255,255,.07); }

/* ─── Timeline (installation article) ─── */
.timeline { margin: 24px 0; display: grid; gap: 14px; }
.timeline-item { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; }
.timeline-day {
  background: var(--green-soft);
  border: 1px solid #cfe5d7;
  border-radius: 12px;
  padding: 8px 4px;
  text-align: center;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: .9rem;
  color: var(--green);
  line-height: 1.2;
}
.timeline-content h3 { margin: 0 0 6px; font-size: 1rem; }
.timeline-content p  { margin: 0; font-size: .92rem; color: var(--muted); }

/* ─── EPC rating badges ─── */
.rating-badge { display: inline-block; font-weight: 700; padding: 2px 10px; border-radius: 4px; font-size: .9rem; }
.rating-a { background: #00a550; color: #fff; }
.rating-b { background: #50b747; color: #fff; }
.rating-c { background: #a8c43c; color: #fff; }
.rating-d { background: #f0c024; color: #222; }
.rating-e { background: #ef8023; color: #fff; }
.rating-f { background: #e5371e; color: #fff; }
.rating-g { background: #c01b27; color: #fff; }

/* ─── Comparison / summary tables ─── */
.comparison-table,
.summary-table,
.epc-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: .92rem;
}
.comparison-table th,
.summary-table th,
.epc-table th {
  background: var(--green-soft);
  color: var(--ink);
  font-weight: 700;
  text-align: left;
  padding: 10px 14px;
  border: 1px solid var(--border);
}
.comparison-table td,
.summary-table td,
.epc-table td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  vertical-align: top;
  background: var(--white);
}
.comparison-table tr:nth-child(even) td,
.summary-table tr:nth-child(even) td,
.epc-table tr:nth-child(even) td { background: var(--bg); }

/* ─── Mobile hamburger nav ───
   Add these rules into styles.css, replacing the existing
   @media (max-width: 900px) block at the bottom of the file.
   ─────────────────────────────────────────────────────────── */

/* Hamburger button — hidden on desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: background .15s ease;
}
.nav-hamburger:hover { background: var(--green-soft); }
.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
  transform-origin: center;
}
/* Animate into X when open */
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown — hidden by default */
.nav-mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(18,32,24,.1);
}
.nav-mobile-menu.open { display: block; }
.nav-mobile-inner {
  display: flex;
  flex-direction: column;
  padding: 16px 0 20px;
  gap: 4px;
}
.nav-mobile-inner a {
  display: block;
  padding: 12px 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: .96rem;
  border-radius: 10px;
  transition: background .12s ease, color .12s ease;
}
.nav-mobile-inner a:hover {
  background: var(--green-soft);
  color: var(--green);
}
.nav-mobile-inner .btn-primary {
  margin-top: 8px;
  text-align: center;
  color: var(--white);
}
.nav-mobile-inner .btn-primary:hover { color: var(--white); }

/* ─── REPLACE the existing @media (max-width: 900px) block with this ─── */
@media (max-width: 900px) {
  .hero-grid,
  .cards,
  .articles-grid { grid-template-columns: 1fr; }
  .nav-links      { display: none; }         /* hide desktop nav links */
  .nav-hamburger  { display: flex; }         /* show hamburger */
  .cluster-grid   { grid-template-columns: 1fr; }
}

/* ─── Keep the existing @media (max-width: 640px) block unchanged ─── */
@media (max-width: 640px) {
  .options { grid-template-columns: 1fr; }
  .checker-shell { padding: 24px; }
  .hero { padding-top: 56px; }
  .container { width: min(var(--max), calc(100% - 24px)); }
  .hero-actions { gap: 16px; }
  .hero-points  { gap: 16px; }
  .cards        { gap: 16px; }
  .articles-grid { gap: 16px; }
}

/* ─── New additions ─── */
.hero-disclaimer {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 0.75rem;
}

.submit-note {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.page-disclaimer {
  color: var(--muted);
  font-size: 0.8rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}
