*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #faf9f7;
  --bg-elevated: #ffffff;
  --text: #1a1a1a;
  --text-muted: #5c5c5c;
  --accent: #c45c26;
  --accent-dark: #9a4520;
  --accent-light: #f4e8df;
  --solar: #2d6a4f;
  --solar-light: #d8f3dc;
  --border: #e8e4df;
  --shadow: 0 4px 24px rgba(26, 26, 26, 0.08);
  --shadow-lg: 0 12px 48px rgba(26, 26, 26, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --header-h: 72px;
  --geo-bar-min-h: 44px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 249, 247, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
  width: min(1200px, 92vw);
  margin-inline: auto;
  padding-inline: 0.25rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  margin-right: 1.25rem;
  padding-right: 1.25rem;
  border-right: 1px solid var(--border);
  font-weight: 700;
  font-size: 1.25rem;
  white-space: nowrap;
}

.logo-icon {
  width: 36px;
  height: 36px;
  color: var(--accent);
}

.logo-icon svg { width: 100%; height: 100%; }

.nav-desktop {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 1.15rem;
  min-width: 0;
}

.nav-desktop a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav-desktop a:hover { color: var(--text); }

.nav-cta {
  background: var(--text);
  color: var(--bg) !important;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta:hover {
  background: var(--accent) !important;
  color: white !important;
  transform: translateY(-1px);
}

.header-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.social-icon:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-light);
}

.footer-social {
  display: flex;
  gap: 1.25rem;
  margin-top: 1rem;
}

.footer-social a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

.footer-social a:hover { color: white; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 1rem 4vw 1.5rem;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.nav-mobile[hidden] { display: none; }

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  padding: 0.75rem 0;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 3rem) 4vw 4rem;
  margin-top: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(26, 26, 26, 0.55) 0%,
    rgba(26, 26, 26, 0.75) 50%,
    rgba(196, 92, 38, 0.35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  color: white;
}

.hero .eyebrow { color: #f4c9a8; }

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: italic;
  color: #ffd4b8;
}

.hero-lead {
  font-size: 1.125rem;
  opacity: 0.92;
  max-width: 560px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 92, 38, 0.35);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: white;
}

.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }

.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8rem;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Trust bar */
.trust-bar {
  background: var(--solar);
  color: white;
  padding: 1rem 0;
  text-align: center;
  font-size: 0.9rem;
}

.trust-bar strong { font-weight: 600; }

.trust-signals {
  padding: 2.5rem 0;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.trust-card {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.trust-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  background: var(--solar-light);
  color: var(--solar);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.trust-card h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.trust-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.trust-card a {
  color: var(--accent);
  font-weight: 500;
}

.guide-clusters {
  text-align: center;
  margin: -1rem 0 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.guide-clusters a {
  color: var(--accent);
  font-weight: 500;
}

.calc-per-sqft {
  display: block;
  font-size: 0.85rem;
  opacity: 0.8;
  margin-top: 0.5rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.cta-band .btn-ghost {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.45);
}

.cta-band .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: white;
}

.footer-copy a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-copy a:hover { color: white; }

/* Guides */
.guides {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.section-header p { color: var(--text-muted); }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-elevated);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--text);
  color: white;
  border-color: var(--text);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card.hidden { display: none; }

.card-link { display: block; height: 100%; }

.card-image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--accent-light);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-image img { transform: scale(1.05); }

.card-body { padding: 1.5rem; }

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.card-tags span {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  background: var(--accent-light);
  color: var(--accent-dark);
  border-radius: 4px;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.card-body > p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

/* Calculator */
.calculator {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--solar-light) 100%);
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.calculator-copy h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  margin-bottom: 1rem;
}

.calculator-copy > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.check-list {
  list-style: none;
}

.check-list li {
  padding: 0.4rem 0 0.4rem 1.75rem;
  position: relative;
  font-size: 0.95rem;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--solar);
  font-weight: 700;
}

.calc-form {
  background: var(--bg-elevated);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.calc-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.calc-form label span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.calc-form input,
.calc-form select,
.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color var(--transition);
}

.calc-form input:focus,
.calc-form select:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.calc-result {
  background: var(--text);
  color: white;
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
}

.calc-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
  margin-bottom: 0.25rem;
}

.calc-price {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
}

.calc-range {
  display: block;
  font-size: 0.9rem;
  opacity: 0.75;
  margin-top: 0.25rem;
}

.calc-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

.calc-next-steps {
  margin-top: 0.75rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-elevated, #faf8f6);
}

.calc-next-steps-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.calc-next-steps-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.calc-next-steps-links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.calc-next-steps-links a:hover {
  text-decoration: underline;
}

.calc-product-picks {
  margin-top: 0.65rem;
  padding: 0.85rem 1rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: var(--surface, #fff);
}

.calc-product-picks-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted, #6b6560);
  margin: 0 0 0.4rem;
}

.calc-product-picks-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.calc-product-picks-list a {
  font-size: 0.86rem;
  font-weight: 600;
}

.calc-product-picks-more {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
}

.calc-product-picks-more a {
  font-weight: 600;
}

.hub-research-path {
  padding: 2.5rem 0 0;
}

.hub-research-steps {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: research-step;
  display: grid;
  gap: 1rem;
}

.hub-research-steps li {
  counter-increment: research-step;
  padding: 1rem 1.15rem 1rem 3.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  position: relative;
}

.hub-research-steps li::before {
  content: counter(research-step);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: var(--solar);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-research-steps strong {
  display: block;
  margin-bottom: 0.25rem;
}

.article-trust-byline {
  margin: 0.75rem 0 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--accent);
  background: var(--surface-elevated, #faf8f6);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.article-trust-updated {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
}

.article-trust-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.article-hub-links {
  padding: 1.5rem 0 0.5rem;
  border-top: 1px solid var(--border);
}

.article-hub-links-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.article-hub-links-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.article-hub-links-list a {
  font-weight: 600;
  font-size: 0.92rem;
}

.hero-actions--focused .btn-primary {
  min-width: 12rem;
}

.start-path-more {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.start-path-more a {
  font-weight: 600;
  margin-right: 1rem;
}

.home-premium-downloads {
  padding: 2rem 0 0;
}

/* About */
.about {
  padding: 5rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  display: grid;
  gap: 1rem;
}

.about-card {
  background: var(--bg-elevated);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform var(--transition);
}

.about-card:hover { transform: translateX(8px); }

.about-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }

.about-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.about-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.about-copy h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  margin-bottom: 1rem;
}

.about-copy p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* CTA band */
.cta-band {
  background: var(--text);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.cta-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.cta-inner p {
  opacity: 0.8;
  margin-bottom: 1.75rem;
}

/* Contact */
.contact {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.contact > .container > div > p,
.contact-grid > div > p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.contact-email {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.5rem;
  transition: color var(--transition);
}

.contact-email:hover { color: var(--accent-dark); }

.social-links {
  display: flex;
  gap: 1.25rem;
}

.social-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

.social-links a:hover { color: var(--accent); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-form label span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-note {
  font-size: 0.9rem;
  color: var(--solar);
  font-weight: 500;
}

.form-note.form-error {
  color: #b42318;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Newsletter */
.newsletter {
  padding: 4.5rem 0;
  background: linear-gradient(135deg, var(--accent-light) 0%, #fff 55%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.newsletter h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.newsletter-copy p {
  color: var(--text-muted);
  margin: 0;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.newsletter-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.newsletter-form label span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.newsletter-fields {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: end;
}

.newsletter-form input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  background: #fff;
}

.newsletter-form input:focus {
  outline: 2px solid rgba(196, 92, 38, 0.25);
  border-color: var(--accent);
}

.newsletter-fine {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

.newsletter-fine a {
  color: var(--accent);
  font-weight: 500;
}

.newsletter-compact {
  padding: 2.5rem 0;
}

.newsletter-compact .newsletter-inner {
  grid-template-columns: 1fr;
  gap: 1.25rem;
  text-align: center;
}

.newsletter-compact .newsletter-fields {
  max-width: 520px;
  margin: 0 auto;
}

/* Footer */
.site-footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.footer-brand .logo-text {
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-brand p { font-size: 0.9rem; }

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-nav a:hover { color: white; }

.footer-disclosure {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.5rem;
}

.footer-disclosure a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-disclosure a:hover { color: white; }

.form-privacy-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.form-privacy-note a {
  color: var(--accent);
}

.legal-page { padding-bottom: 3rem; }

.footer-copy {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Blog article pages */
.article-header {
  padding: calc(var(--header-h) + 3rem) 0 2rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.article-header .container { max-width: 760px; }

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 1.5rem;
  transition: gap var(--transition);
}

.article-back:hover { gap: 0.65rem; }

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.article-tags span {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  background: var(--accent-light);
  color: var(--accent-dark);
  border-radius: 4px;
}

.article-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.article-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.article-hero {
  max-width: 900px;
  margin: 2rem auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.article-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 2rem 4vw 4rem;
}

/* Adsterra ad slots */
.ad-slot {
  margin: 1.5rem auto;
  padding: 0.75rem 0;
  text-align: center;
}

.ad-slot-label {
  margin: 0 0 0.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.75;
}

.ad-slot-leaderboard-pair {
  margin: 1.5rem auto;
  padding: 0 4vw;
  text-align: center;
}

.ad-slot--leaderboard {
  max-width: 728px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.ad-slot--mobile-banner {
  display: none;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  min-height: 50px;
}

.ad-slot--leaderboard-native {
  display: none;
  max-width: 900px;
  margin: 0 auto;
  min-height: 90px;
}

.ad-slot--skyscraper {
  max-width: 160px;
  margin-left: auto;
  margin-right: auto;
  min-height: 300px;
}

.ad-slot--rectangle {
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.ad-slot--native {
  max-width: 900px;
  padding: 0 4vw 1rem;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 680px) 300px;
  gap: 2rem 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 4vw;
  align-items: start;
}

.article-layout > .article-body {
  margin: 0;
  padding: 2rem 0 4rem;
  max-width: none;
}

.article-ad-sidebar {
  position: sticky;
  top: 6.5rem;
  padding-top: 2rem;
}

.home-ad-row {
  display: flex;
  justify-content: center;
  padding: 0 4vw;
}

.ad-slot--inline-mobile {
  display: none;
  margin: 1.75rem auto;
}

.ad-slot--inline-desktop {
  display: none;
  margin: 2rem auto;
}

.ad-slot--rectangle-mid {
  margin-left: auto;
  margin-right: auto;
}

.calculator-ad-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 4vw 2rem;
}

.ad-slot-home-mid {
  grid-column: 1 / -1;
  margin: 0.5rem auto 1rem;
}

.ad-slot-tools-hub {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.ad-slot--tools-leaderboard {
  width: 100%;
  max-width: 728px;
}

.ad-slot--desktop-only-native {
  display: block;
}

@media (max-width: 760px) {
  .ad-slot--desktop-only-native {
    display: none !important;
  }
}

.ad-slot--native-post-intro {
  margin: 0 auto;
  min-height: 90px;
}

.article-ad-sidebar .ad-slot--native {
  max-width: 300px;
  padding: 0;
}

@media (min-width: 1025px) {
  .article-ad-sidebar .ad-slot--rectangle {
    display: block;
  }

  .ad-slot--inline-mobile {
    display: none !important;
  }

  .ad-slot--inline-desktop {
    display: block;
  }
}

@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-ad-sidebar {
    position: static;
    padding-top: 0;
    order: 2;
    display: none;
  }

  .article-layout > .article-body {
    order: 1;
    padding-bottom: 1.5rem;
  }

  .ad-slot--inline-mobile {
    display: block;
  }
}

@media (min-width: 761px) {
  .ad-slot--leaderboard-desktop {
    display: block;
  }

  .ad-slot--leaderboard-mobile,
  .ad-slot--mobile-banner {
    display: none !important;
  }
}

@media (max-width: 760px) {
  .ad-slot--leaderboard-desktop {
    display: none !important;
  }

  .ad-slot--leaderboard-native {
    display: block;
  }

  .ad-slot--leaderboard-mobile,
  .ad-slot--mobile-banner {
    display: none !important;
  }
}

.article-body h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin: 2rem 0 0.75rem;
}

.article-body p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.article-body ul {
  margin: 0 0 1.25rem 1.5rem;
  color: var(--text-muted);
}

.article-body li { margin-bottom: 0.5rem; }

.article-body strong { color: var(--text); }

.product-box {
  background: var(--accent-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.75rem 0;
}

.product-box h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--accent-dark);
}

.product-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(196, 92, 38, 0.15);
}

.product-list li:last-child { border-bottom: none; }

.affiliate-link {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.affiliate-link:hover { color: var(--accent-dark); }

.affiliate-disclosure {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: var(--bg);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.article-figure {
  margin: 2rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.article-figure img {
  width: 100%;
  height: auto;
}

.article-figure figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.soft-cta {
  margin: 2.5rem 0;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.soft-cta p {
  margin-bottom: 1rem;
  color: var(--text);
}

.related-guides {
  padding: 3rem 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.related-guides h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1.25rem;
}

.related-guides ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.related-guides a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.related-guides a:hover { color: var(--accent-dark); }

.footer-areas {
  grid-column: 1 / -1;
  padding-top: 1.5rem;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-areas h3 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
}

.footer-areas p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

.footer-contact {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-contact a:hover { color: white; }

/* Responsive */
@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .header-social { display: none; }
  .menu-toggle { display: flex; }
  .trust-grid { grid-template-columns: 1fr; }
  .calculator-grid,
  .about-grid,
  .contact-grid,
  .newsletter-inner { grid-template-columns: 1fr; }
  .newsletter-fields { grid-template-columns: 1fr; }
  .about-visual { order: 2; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero-stats { flex-direction: column; gap: 1rem; }
  .card-grid { grid-template-columns: 1fr; }
  .hero { min-height: 85vh; }
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content > * {
  animation: fadeUp 0.7s ease backwards;
}

.hero-content .eyebrow { animation-delay: 0.1s; }
.hero-content h1 { animation-delay: 0.2s; }
.hero-content .hero-lead { animation-delay: 0.3s; }
.hero-content .hero-actions { animation-delay: 0.4s; }
.hero-content .hero-stats { animation-delay: 0.5s; }

.card {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow var(--transition);
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Nav active state */
.nav-desktop a.nav-active {
  color: var(--accent);
  font-weight: 600;
}

/* Topic hubs */
.topic-hubs {
  padding: 4rem 0 2rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.topic-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.topic-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.topic-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.topic-body {
  padding: 1.1rem 1.25rem 1.35rem;
}

.topic-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.topic-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.topic-solar {
  border-color: rgba(45, 106, 79, 0.35);
  background: linear-gradient(180deg, var(--solar-light) 0%, var(--bg) 40%);
}

.topic-trade {
  min-height: 120px;
  justify-content: center;
}

.topic-trade .topic-body {
  padding: 1.5rem 1.25rem;
}

/* Solar / section hub pages */
.hub-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  margin-top: var(--header-h);
}

.hub-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hub-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hub-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.72) 0%, rgba(45, 106, 79, 0.45) 100%);
}

.hub-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  color: white;
}

.hub-hero-content .eyebrow { color: #b8e0c8; }

.hub-hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hub-hero-content h1 em { font-style: italic; color: #d8f3dc; }

.hub-lead {
  font-size: 1.1rem;
  opacity: 0.92;
  margin-bottom: 1.75rem;
  max-width: 56ch;
}

.hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hub-hero .btn-ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
}

.hub-hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hub-intro {
  padding: 3.5rem 0;
}

.hub-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.hub-intro h2 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.hub-intro p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.hub-card-stack {
  display: grid;
  gap: 1rem;
}

.hub-link-card {
  display: block;
  padding: 1.25rem 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.hub-link-card:hover {
  border-color: var(--solar);
  box-shadow: var(--shadow);
}

.hub-card-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--solar);
}

.hub-link-card h3 {
  font-size: 1.05rem;
  margin: 0.35rem 0 0.4rem;
}

.hub-link-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.hub-calculator {
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.hub-calculator-alt {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.calc-result-solar .calc-detail {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.calc-fieldset {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin: 0;
}

.calc-fieldset legend {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0 0.35rem;
}

.calc-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
}

.calc-check input { margin-top: 0.2rem; accent-color: var(--solar); }

.calc-email-capture {
  padding-bottom: 3rem;
}

.calc-email-inner {
  max-width: 560px;
  margin-inline: auto;
  padding: 1.5rem 1.75rem;
  background: var(--solar-light);
  border: 1px solid rgba(45, 106, 79, 0.2);
  border-radius: var(--radius-lg);
  text-align: center;
}

.calc-email-inner h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--solar);
}

.calc-email-inner > p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.calc-email-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.calc-email-form input[type="email"] {
  flex: 1 1 200px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
}

.hub-resources {
  padding: 3rem 0 4rem;
}

.hub-card-grid .card { opacity: 1; transform: none; }

/* Homepage tools hub */
.tools-hub {
  padding: 3.5rem 0 2rem;
  background: linear-gradient(180deg, var(--bg-alt, #f8f6f3) 0%, var(--bg) 120px);
  border-top: 1px solid var(--border);
}

.tools-hub-intro {
  text-align: center;
  max-width: 42rem;
  margin-bottom: 2rem;
}

.tools-hub-intro h2 {
  margin-bottom: 0.75rem;
}

.tools-hub-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.tools-select-wrap {
  margin-bottom: 2rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.tool-select-label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tool-select-label > span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.tool-select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  appearance: auto;
}

.tool-select:hover,
.tool-select:focus {
  border-color: var(--accent, #c45c26);
  outline: none;
  box-shadow: 0 0 0 3px rgba(196, 92, 38, 0.15);
}

.tools-panels .tool-panel {
  padding: 0 0 3rem;
}

.tools-panels .tool-panel[hidden] {
  display: none;
}

.tools-panels .tool-panel.is-active {
  display: block;
}

.tools-panels .calculator-grid {
  align-items: start;
}

.section-calculator {
  border-top: 1px solid var(--border);
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  background: var(--bg);
}

.section-calculator .calc-state {
  font-size: 0.95rem;
}

.hub-calculator + .article-figure {
  max-width: 680px;
  margin: 0 auto 2rem;
  padding: 0 4vw;
}

@media (min-width: 901px) and (max-width: 1280px) {
  .nav-desktop {
    gap: 0.7rem;
  }

  .nav-desktop a {
    font-size: 0.78rem;
  }

  .logo {
    font-size: 1.1rem;
  }
}

@media (max-width: 900px) {
  .hub-intro-grid { grid-template-columns: 1fr; }
}

/* ClearPath / Payhip downloads */
.resources-hub {
  padding: 2.5rem 0 3rem;
}

.resources-hub--secondary {
  padding-top: 1rem;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.resource-grid--homeowner {
  margin-bottom: 1.5rem;
}

.resource-card--featured {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
  box-shadow: var(--shadow);
}

.resource-card--free {
  border-style: dashed;
}

.resource-free-link {
  display: inline-block;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
  transition: border-color var(--transition), color var(--transition);
}

.resource-free-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.ad-slot-before-related {
  display: grid;
  gap: 1.25rem;
  justify-items: center;
  padding: 1.5rem 0 0.5rem;
  margin: 0 auto;
  max-width: min(728px, 92vw);
}

.resources-hub-intro {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2rem;
}

.resources-hub-lead {
  color: var(--text-muted);
  margin: 0.75rem 0 0;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.resource-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.resource-topic {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

.resource-card h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
}

.resource-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}

.resource-meta {
  font-size: 0.85rem !important;
  margin-top: 0.25rem !important;
}

.resource-price {
  font-weight: 600;
  color: var(--text);
}

.resource-cta {
  margin-top: 0.75rem !important;
}

.payhip-link {
  display: inline-block;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
  transition: background var(--transition), color var(--transition);
}

.payhip-link:hover {
  background: var(--accent);
  color: #fff;
}

.resources-store-link {
  text-align: center;
  margin: 2rem 0 0.75rem;
}

.payhip-disclosure {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 40rem;
  margin: 0 auto;
}

/* Performance: hero LCP + CLS */
.hero--optimized {
  min-height: clamp(520px, 72vh, 820px);
  aspect-ratio: 16 / 9;
  max-height: 820px;
}

.hero--optimized .hero-bg {
  aspect-ratio: 16 / 9;
}

.hero-stats,
.hero-actions,
.stat-num,
.stat-label {
  min-height: 1.25em;
}

.hero-bg picture,
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Ad slot reserved heights (no inline styles) */
.ad-slot--reserved.ad-slot--iframe.ad-slot--rectangle,
.ad-slot--reserved.ad-slot--iframe.ad-slot--inline-desktop {
  min-height: 286px;
}

.ad-slot--reserved.ad-slot--iframe.ad-slot--inline-mobile {
  min-height: 286px;
}

.ad-slot--reserved.ad-slot--iframe.ad-slot--leaderboard-desktop {
  min-height: 126px;
}

.ad-slot--reserved.ad-slot--iframe.ad-slot--leaderboard-mobile,
.ad-slot--reserved.ad-slot--iframe.ad-slot--mobile-banner {
  min-height: 86px;
}

.ad-slot--reserved.ad-slot--iframe.ad-slot--skyscraper {
  min-height: 336px;
}

.ad-slot--reserved.ad-slot--native,
.ad-slot--reserved.ad-slot--native.ad-slot-home-mid {
  min-height: 300px;
}

.calc-cta-link {
  color: #ffd4b8;
}

.home-about-blurb {
  padding: 2.5rem 0;
  background: var(--surface-elevated, #f7f4f0);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.home-about-blurb h2 {
  font-size: 1.45rem;
  margin: 0 0 1rem;
}

.home-about-blurb p {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
  max-width: 68ch;
}

.home-about-blurb ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.home-about-blurb a {
  font-weight: 600;
}

.footer-nap {
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-nap p {
  margin: 0 0 0.35rem;
}

/* Geo context bar — sits below fixed header */
.geo-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  margin-top: var(--header-h);
  background: var(--surface-elevated, #f7f4f0);
  border-bottom: 1px solid var(--border);
  padding: 0.55rem 0;
  font-size: 0.88rem;
  min-height: var(--geo-bar-min-h);
}

.geo-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.85rem;
}

.geo-bar-text {
  margin: 0;
  color: var(--text-muted);
  flex: 0 1 auto;
  min-width: 0;
}

.geo-bar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
}

.geo-change-btn,
.geo-apply-btn,
.geo-clear-btn {
  font: inherit;
  font-size: 0.85rem;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}

.geo-change-btn:hover,
.geo-apply-btn:hover {
  border-color: var(--accent, #c45c26);
  color: var(--accent, #c45c26);
}

.geo-clear-btn {
  background: transparent;
  color: var(--text-muted);
}

.geo-picker-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  width: 100%;
  padding-top: 0.35rem;
}

.geo-picker-panel[hidden] {
  display: none !important;
}

@media (min-width: 901px) {
  .geo-change-btn {
    display: none;
  }

  .geo-picker-panel {
    display: flex !important;
    flex-wrap: nowrap;
    width: auto;
    padding-top: 0;
  }

  .geo-picker-panel[hidden] {
    display: flex !important;
  }

  .geo-bar-inner {
    flex-wrap: nowrap;
    gap: 0.65rem 0.85rem;
  }

  .geo-bar-text {
    flex: 0 0 auto;
    max-width: none;
    white-space: nowrap;
  }

  .geo-bar-actions {
    flex: 1 1 auto;
    flex-wrap: nowrap;
    justify-content: flex-end;
  }

  .geo-state-pick {
    max-width: 11rem;
  }

  .geo-city-input,
  .geo-zip-input {
    min-width: 7.5rem;
    max-width: 10rem;
  }
}

@media (max-width: 900px) {
  .geo-bar {
    padding: 0.65rem 0;
  }

  .geo-bar-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .geo-bar-text {
    width: 100%;
    line-height: 1.35;
  }

  .geo-bar-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .geo-change-btn {
    width: 100%;
    text-align: center;
    padding: 0.5rem 0.75rem;
  }

  .geo-picker-panel.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    padding: 0.55rem 0 0;
    border-top: 1px dashed var(--border);
    margin-top: 0.35rem;
  }

  .geo-bar-pick {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
  }

  .geo-state-pick,
  .geo-city-input,
  .geo-zip-input {
    width: 100%;
    max-width: none;
  }

  .geo-apply-btn,
  .geo-clear-btn {
    width: 100%;
    text-align: center;
    padding: 0.5rem 0.75rem;
  }
}

.geo-bar-pick {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 0.85rem;
}

.geo-city-input,
.geo-zip-input {
  font: inherit;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  min-width: 9rem;
}

.geo-zip-input {
  min-width: 5.5rem;
  max-width: 7rem;
}

.geo-bar-pick-label {
  color: var(--text-muted);
  white-space: nowrap;
}

.geo-state-pick {
  font: inherit;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  max-width: 12rem;
}

.geo-bar--compact {
  padding: 0.45rem 0;
  font-size: 0.82rem;
}

/* Main content follows geo bar — drop duplicate header offsets */
body:has(#geo-bar) .hero {
  padding-top: 3rem;
}

body:has(#geo-bar) .hub-hero {
  margin-top: 0;
  padding-top: 3rem;
}

body:has(#geo-bar) .article-header {
  padding-top: 2.5rem;
}

.geo-region-tip {
  margin: 0;
  padding: 0.65rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-top: 1px dashed var(--border);
}

.geo-regional-panel {
  padding: 2rem 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.geo-regional-panel--compact {
  padding: 1.25rem 0;
}

.geo-regional-inner h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin: 0.35rem 0 0.75rem;
}

.geo-weather-summary {
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

.geo-weather-notes {
  margin: 0 0 1.25rem;
  line-height: 1.55;
}

.geo-regional-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.geo-regional-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

.geo-regional-card h4 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
}

.geo-regional-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.geo-work-timing {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.geo-hear-card {
  padding: 2rem 0;
  background: linear-gradient(180deg, var(--accent-light) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.geo-hear-inner h3 {
  margin: 0.35rem 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.3rem;
}

.geo-hear-prompt {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--text-muted, #5a6472);
}

.geo-hear-status-line {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  text-transform: capitalize;
}

.geo-hear-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
  margin: 0 0 0.75rem;
}

.geo-hear-secondary {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--accent);
}

.geo-hear-disclaimer {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.geo-link-muted {
  opacity: 0.85;
}

.hear-state-grid {
  display: grid;
  gap: 0.85rem;
}

.hear-state-row {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) minmax(6rem, auto) 1fr;
  gap: 0.75rem 1rem;
  align-items: start;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
}

.hear-state-row strong {
  display: block;
}

.hear-verified-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted, #5a6472);
}

.hear-primary-cta {
  font-weight: 600;
}

.hear-state-status {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: capitalize;
  color: var(--accent);
}

@media (max-width: 720px) {
  .hear-state-row {
    grid-template-columns: 1fr;
  }
}

/* Premium Payhip CTA */
.payhip-premium-cta {
  background: linear-gradient(135deg, #1a2a1f 0%, #2d3b32 100%);
  color: #f5f0e8;
  padding: 2rem 0;
  margin: 0;
}

.payhip-premium-cta--compact {
  padding: 1.25rem 0;
}

.payhip-premium-inner h3 {
  margin: 0.35rem 0 0.5rem;
  font-family: var(--font-serif, "Instrument Serif", serif);
  font-size: 1.35rem;
  color: #fff;
}

.payhip-premium-inner p {
  margin: 0 0 0.75rem;
  color: rgba(245, 240, 232, 0.88);
  max-width: 42rem;
}

.payhip-premium-inner .eyebrow {
  color: #c9e4b5;
}

.payhip-premium-cta-link .payhip-link {
  display: inline-block;
  background: #e8a838;
  color: #1a2a1f;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.payhip-premium-cta-link .payhip-link:hover {
  background: #f0b84a;
  color: #1a2a1f;
}

.resource-card--featured {
  border: 2px solid var(--accent, #c45c26);
  grid-column: 1 / -1;
}

/* Below-fold sections: skip layout/paint until near viewport */
.content-deferred {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

/* Monetization paths */
.start-paths,
.money-path-tools,
.product-research-strip {
  padding: 3rem 0;
}

.start-path-grid,
.money-tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.start-path-card,
.money-tool-card {
  display: block;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.start-path-card:hover,
.money-tool-card:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(26, 26, 26, 0.06);
}

.start-path-card h3,
.money-tool-card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}

.start-path-card p,
.money-tool-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.money-tool-cta {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

.product-research-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.product-research-link {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.product-research-link:hover {
  text-decoration: underline;
}

.home-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.home-product-card {
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.home-product-card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.45rem;
}

.home-product-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 0.85rem;
}

.home-product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}

.home-product-guide {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
}

.home-product-guide:hover {
  text-decoration: underline;
}

.home-product-shop {
  font-size: 0.85rem;
}

.home-product-shop .affiliate-link {
  font-weight: 600;
}

.home-product-disclosure {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Article CTAs + product tables */
.cta-box {
  margin: 1.75rem 0;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-elevated, #faf8f6);
}

.cta-box--start {
  border-left: 4px solid var(--accent);
}

.cta-box-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.35rem;
}

.cta-box-title {
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
}

.cta-box-links {
  margin: 0;
  padding-left: 1.2rem;
}

.cta-box-links a {
  font-weight: 600;
}

.cta-box-note {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.article-toc {
  margin: 1.5rem 0 2rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.article-toc-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

.article-toc ol {
  margin: 0;
  padding-left: 1.25rem;
}

.product-compare-wrap {
  margin: 2rem 0;
}

.product-compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.product-compare th,
.product-compare td {
  border: 1px solid var(--border);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.product-compare thead th {
  background: var(--surface);
  font-weight: 600;
}

.product-compare-note {
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.product-cta .affiliate-link,
.product-cta a {
  display: inline-block;
  font-weight: 600;
  white-space: nowrap;
}

.conversion-block {
  margin: 2.5rem 0 1rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(196, 92, 38, 0.08), rgba(196, 92, 38, 0.02));
  border: 1px solid rgba(196, 92, 38, 0.2);
}

.conversion-actions {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-secondary {
  background: white;
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background: var(--accent);
  color: white;
}

.article-faq {
  margin: 2rem 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}

.faq-item summary {
  font-weight: 600;
  cursor: pointer;
}

.faq-item p {
  margin: 0.5rem 0 0;
  color: var(--text-muted);
}

/* Fixed-size ad containers — reduce CLS */
.ad-slot--reserved {
  overflow: hidden;
  contain: layout style;
}

.ad-slot-post-intro {
  margin: 2rem auto;
}

.hub-product-section {
  padding: 1rem 0 2rem;
}

/* Honeypot — hidden from users, visible to bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* Trust box — calculators & money pages */
.trust-box {
  margin: 1.5rem auto 2rem;
  max-width: var(--container, 1100px);
  padding: 0 1.25rem;
}

.trust-box-inner {
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2, #f8f7f4);
  font-size: 0.92rem;
}

.trust-box-title {
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.trust-box-list {
  margin: 0;
  padding-left: 1.1rem;
}

.trust-box-list li + li {
  margin-top: 0.35rem;
}

.trust-box-more {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
}

.trust-box--compact .trust-box-inner {
  padding: 0.9rem 1rem;
}

/* Savings finder */
.savings-finder,
.decision-cards {
  padding: 3rem 0;
}

.savings-finder-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 1.5rem;
}

.savings-finder-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 220px;
}

.savings-finder-select {
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.savings-finder-hint {
  width: 100%;
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted, #5c5c5c);
}

.savings-finder-geo-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--accent);
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}

.savings-finder-result {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: var(--surface);
}

.savings-finder-kicker {
  font-size: 0.9rem;
  color: var(--muted, #5c5c5c);
  margin: 0 0 1rem;
}

.savings-finder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.savings-finder-card h3 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.savings-finder-links {
  margin: 0;
  padding-left: 1.1rem;
}

/* Decision cards */
.decision-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.decision-card {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.decision-card-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted, #5c5c5c);
  margin: 0 0 0.35rem;
}

.decision-card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}

.decision-card-verdict {
  margin: 0 0 0.5rem;
}

.decision-card-cta {
  font-weight: 600;
}

/* Best brands tier badges */
.tier-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.tier-badge--good { background: #e8f4ea; color: #1a5c2e; }
.tier-badge--better { background: #e8f0fa; color: #1a3d6e; }
.tier-badge--best { background: #f5ebe0; color: #6b3f1a; }

/* HEAR jump card */
.hear-jump-card {
  position: sticky;
  top: 4.5rem;
  z-index: 20;
  background: var(--surface, #fff);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
  margin-bottom: 1rem;
}

.hear-jump-inner {
  display: grid;
  gap: 0.75rem;
}

.hear-jump-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hear-jump-picker {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-width: 280px;
}

.hear-state-jump {
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

@media (max-width: 900px) {
  .hear-jump-card {
    top: 3.5rem;
  }
  .hear-state-row {
    scroll-margin-top: 7.5rem;
  }
}

.hear-state-row {
  scroll-margin-top: 5.5rem;
}

.article-layout--no-sidebar .article-body {
  max-width: 100%;
}

.start-path-grid--primary {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.start-path-card--primary h3 {
  font-size: 1.02rem;
}

/* Vet contractors finder */
.vet-finder {
  margin: 2rem 0 2.5rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  scroll-margin-top: 5.5rem;
}

.vet-finder-lead {
  margin: 0 0 1.25rem;
  color: var(--muted, #5c5c5c);
}

.vet-finder-controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vet-finder-location {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: flex-end;
}

.vet-finder-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 160px;
  flex: 1 1 160px;
}

.vet-finder-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted, #5c5c5c);
}

.vet-finder-select,
.vet-finder-input {
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  width: 100%;
}

.vet-finder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.vet-trade-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.vet-trade-tab {
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  color: inherit;
}

.vet-trade-tab.is-active,
.vet-trade-tab[aria-selected="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.vet-finder-prompt {
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.04);
  border-radius: var(--radius);
  font-size: 0.92rem;
}

.vet-finder-context {
  margin: 1rem 0 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.vet-finder-disclaimer {
  margin: 1.25rem 0 0;
  font-size: 0.85rem;
  color: var(--muted, #5c5c5c);
}

.vet-contractor-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.vet-contractor-card {
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.vet-card-header {
  margin-bottom: 0.35rem;
}

.vet-card-name {
  margin: 0;
  font-size: 1.05rem;
}

.vet-card-trade {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: var(--muted, #5c5c5c);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.vet-card-area {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
}

.vet-card-rating {
  margin: 0 0 0.5rem;
}

.vet-card-rating-src {
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--muted, #5c5c5c);
}

.vet-card-note,
.vet-card-editorial {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
}

.vet-list-note {
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  color: var(--muted, #5c5c5c);
}

.vet-coming-soon {
  margin-bottom: 1rem;
}

.vet-coming-soon h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.vet-coming-soon-note {
  font-size: 0.88rem;
  color: var(--muted, #5c5c5c);
}

.vet-fallback-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.vet-fallback-card {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.02);
}

.vet-fallback-card h4 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.vet-fallback-hint {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  color: var(--muted, #5c5c5c);
}

.vet-fallback-links {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .vet-finder {
    padding: 1rem;
  }

  .vet-finder-actions {
    width: 100%;
  }

  .vet-finder-actions .btn {
    flex: 1 1 auto;
  }
}

/* Best brands hub */
.best-brands-nav {
  position: sticky;
  top: calc(var(--header-h, 56px) + var(--geo-bar-min-h, 44px));
  z-index: 8;
  margin: 1.5rem 0 2rem;
  padding: 0.85rem 1rem;
  background: var(--surface, #fff);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.best-brands-nav-label {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted, #5c5c5c);
}

.best-brands-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.best-brands-tab {
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  text-decoration: none;
  color: inherit;
  background: transparent;
  white-space: nowrap;
}

.best-brands-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.best-brands-tab.is-active,
.best-brands-tab[aria-current="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.best-brands-section {
  scroll-margin-top: 9rem;
  margin-bottom: 2.5rem;
}

.best-brands-section > h2 {
  margin-bottom: 0.5rem;
}

.best-brands-intro {
  margin: 0 0 1rem;
  color: var(--muted, #5c5c5c);
  font-size: 0.95rem;
}

.product-compare--research td:nth-child(3) {
  font-size: 0.92rem;
  line-height: 1.45;
  max-width: 28rem;
}

.product-compare--research .product-cta {
  font-size: 0.88rem;
  white-space: normal;
}

.product-compare--research .product-cta a {
  display: inline-block;
  margin-bottom: 0.25rem;
}

.home-best-brands-nav {
  margin-top: 1rem;
}

.home-best-brands-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.home-best-brands-chip {
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.82rem;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
}

.home-best-brands-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 600px) {
  .best-brands-nav {
    top: calc(var(--header-h, 56px) + 8px);
  }

  .best-brands-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
  }
}

/* Sister-site crosslinks — RoofingHut ↔ GetSunHut */
.portfolio-crosslink {
  padding: 2.25rem 0;
  background: linear-gradient(135deg, #f0f7ff 0%, #fff8eb 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.portfolio-crosslink-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.portfolio-crosslink-copy h2 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  margin: 0.35rem 0 0.75rem;
  color: var(--text);
}

.portfolio-crosslink-copy p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 1rem;
}

.portfolio-crosslink-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0;
}

.portfolio-crosslink-aside {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}

.portfolio-crosslink-aside-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 0.65rem;
}

.portfolio-crosslink-aside ul {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text);
}

.portfolio-crosslink--compact {
  padding: 1rem 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.portfolio-crosslink--compact .portfolio-crosslink-inner p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

.portfolio-crosslink--inline {
  margin: 1.5rem 0;
  padding: 1rem 1.15rem;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.06), rgba(245, 158, 11, 0.06));
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.portfolio-crosslink--inline p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text);
}

.hub-link-card--sister {
  border-color: rgba(37, 99, 235, 0.25);
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.start-path-card--sister {
  border-style: dashed;
  border-color: rgba(37, 99, 235, 0.35);
}

@media (max-width: 768px) {
  .portfolio-crosslink-grid {
    grid-template-columns: 1fr;
  }
}