.water-heater-anode-page {
  --wh-teal: #008692;
  --wh-teal-dark: #006b75;
  --wh-ink: #142528;
  --wh-copy: #42565a;
  --wh-line: #d6e0e1;
  --wh-soft: #f3f7f7;
  --wh-warm: #f3e7df;
  --wh-orange: #bd5a2b;
}

.water-heater-anode-page .product-hero {
  background: linear-gradient(120deg, #f8faf9 0%, #edf2f2 100%);
}

.water-heater-anode-page .hero-grid {
  min-height: 620px;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
}

.water-heater-anode-page .hero-copy {
  padding: 56px 62px 64px 0;
}

.water-heater-anode-page .hero-copy h1 {
  max-width: 650px;
  margin-bottom: 22px;
  font-size: clamp(44px, 4.25vw, 64px);
  letter-spacing: -0.035em;
}

.water-heater-anode-page .hero-intro {
  max-width: 650px;
  color: #34484c;
  font-size: 18px;
}

.water-heater-anode-page .hero-figure {
  min-height: 560px;
  background: #f2f5f4;
}

.water-heater-anode-page .hero-figure img {
  object-position: right center;
}

.wh-hero-download {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 6px;
  align-items: center;
  color: var(--wh-teal-dark);
  font-size: 14px;
  font-weight: 800;
}

.wh-hero-microcopy {
  max-width: 650px;
  margin: 13px 0 0;
  color: #5b6c70;
  font-size: 13px;
  line-height: 1.55;
}

.wh-config-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wh-config-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--wh-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(20, 37, 40, 0.08);
  flex-direction: column;
}

.wh-card-media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f4f6f5;
}

.wh-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.wh-config-card:hover .wh-card-media img {
  transform: scale(1.018);
}

.wh-card-copy {
  display: flex;
  padding: 26px 26px 28px;
  flex: 1;
  flex-direction: column;
}

.wh-card-label {
  margin-bottom: 10px;
  color: var(--wh-teal-dark);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.wh-card-copy h3 {
  margin-bottom: 11px;
  font-size: 23px;
}

.wh-card-copy p {
  color: var(--wh-copy);
  font-size: 15px;
}

.wh-card-action {
  width: fit-content;
  margin-top: auto;
  padding-top: 12px;
  color: var(--wh-teal-dark);
  font-size: 14px;
  font-weight: 820;
}

.wh-visualization-note {
  margin: 20px 0 0;
  color: #66787b;
  font-size: 12px;
  text-align: center;
}

.wh-market-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wh-market-card {
  min-width: 0;
  padding: 34px;
  border: 1px solid var(--wh-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(20, 37, 40, 0.06);
}

.wh-market-card h3 {
  margin-bottom: 8px;
  font-size: 27px;
}

.wh-market-card > p {
  color: var(--wh-copy);
}

.wh-market-card .table-scroll {
  margin-top: 24px;
}

.wh-market-card table {
  min-width: 590px;
}

.wh-market-card th,
.wh-market-card td {
  padding: 15px 14px;
}

.wh-reference-note {
  margin: 28px 0 0;
  padding: 20px 22px;
  border-left: 4px solid var(--wh-orange);
  background: #fff;
  color: var(--wh-copy);
  font-size: 14px;
}

.wh-interface-grid,
.wh-oem-layout,
.wh-download-layout {
  display: grid;
  align-items: center;
  gap: 68px;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
}

.wh-interface-photo,
.wh-oem-photo {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--wh-line);
  border-radius: 18px;
  background: #eef2f1;
  box-shadow: 0 20px 52px rgba(20, 37, 40, 0.12);
}

.wh-interface-photo {
  aspect-ratio: 4 / 3;
}

.wh-oem-photo {
  aspect-ratio: 3 / 2;
}

.wh-interface-photo img,
.wh-oem-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wh-copy-lead {
  color: var(--wh-copy);
  font-size: 17px;
}

.wh-control-list,
.wh-order-list,
.wh-proof-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.wh-control-list {
  display: grid;
  gap: 0 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wh-control-list li,
.wh-order-list li,
.wh-proof-list li {
  position: relative;
  padding: 12px 0 12px 21px;
  border-top: 1px solid var(--wh-line);
  color: #34484c;
  font-size: 14px;
}

.wh-control-list li::before,
.wh-order-list li::before,
.wh-proof-list li::before {
  position: absolute;
  top: 20px;
  left: 1px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wh-teal);
  content: "";
}

.wh-risk-callout {
  margin-top: 25px;
  padding: 20px 22px;
  border: 1px solid #e6c2b0;
  border-radius: 10px;
  background: #fbf2ed;
  color: #55362a;
  font-size: 14px;
}

.wh-risk-callout strong {
  color: #3d251d;
}

.wh-inline-actions {
  display: flex;
  margin-top: 26px;
  flex-wrap: wrap;
  gap: 12px;
}

.wh-button {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 19px;
  border: 1px solid var(--wh-teal-dark);
  border-radius: 7px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--wh-teal-dark);
  font-size: 14px;
  font-weight: 820;
  text-align: center;
  text-decoration: none;
}

.wh-button:hover,
.wh-button:focus-visible {
  color: #fff;
  background: #004f56;
}

.wh-button--secondary {
  color: var(--wh-teal-dark);
  background: #fff;
}

.wh-button--secondary:hover,
.wh-button--secondary:focus-visible {
  color: #fff;
}

.wh-oem-section {
  background: var(--wh-soft);
}

.wh-process-grid {
  display: grid;
  margin-top: 38px;
  border-top: 1px solid #aebfc1;
  border-left: 1px solid #aebfc1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wh-process-card {
  min-height: 205px;
  padding: 28px;
  border-right: 1px solid #aebfc1;
  border-bottom: 1px solid #aebfc1;
  background: #fff;
}

.wh-process-card span {
  display: block;
  margin-bottom: 36px;
  color: var(--wh-orange);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  font-weight: 820;
}

.wh-process-card p {
  color: var(--wh-copy);
  font-size: 14px;
}

.wh-quality-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wh-quality-card {
  min-height: 230px;
  padding: 27px;
  border: 1px solid #4f6468;
  border-radius: 12px;
  background: #1c2e32;
}

.wh-quality-card span {
  display: block;
  width: 36px;
  height: 4px;
  margin-bottom: 42px;
  background: #61ced1;
}

.wh-quality-card h3 {
  color: #fff;
  font-size: 19px;
}

.wh-quality-card p {
  color: #b7c7c9;
  font-size: 14px;
}

.wh-standards-note {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid #53686c;
  color: #b8c8ca;
  background: #192b2f;
  font-size: 13px;
}

.wh-standards-heading {
  margin-top: 70px;
}

.wh-download-section {
  color: #e8f0f0;
  background: linear-gradient(135deg, #0b2d31 0%, #006b75 100%);
}

.wh-download-section h2,
.wh-download-section h3 {
  color: #fff;
}

.wh-download-section .section-kicker {
  color: #8ce1df;
}

.wh-download-copy > p:not(.section-kicker) {
  max-width: 630px;
  color: #c7d9da;
  font-size: 17px;
}

.wh-download-card {
  display: grid;
  min-height: 260px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  gap: 24px;
  grid-template-columns: 72px minmax(0, 1fr);
}

.wh-pdf-mark {
  display: grid;
  width: 68px;
  height: 82px;
  border-radius: 7px 7px 12px 7px;
  place-items: center;
  color: #fff;
  background: var(--wh-orange);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.wh-download-card h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.wh-download-meta {
  margin-bottom: 22px;
  color: #b8d2d3;
  font-size: 13px;
}

.wh-download-card .wh-button {
  border-color: #fff;
  color: #0b2d31;
  background: #fff;
}

.wh-download-card .wh-button:hover,
.wh-download-card .wh-button:focus-visible {
  color: #0b2d31;
  background: #dff2f1;
}

.wh-rfq .conversion-rfq-layout {
  grid-template-columns: minmax(0, 0.75fr) minmax(500px, 1.25fr);
}

.wh-rfq .conversion-rfq-intro h2 {
  margin-bottom: 16px;
}

.wh-rfq .conversion-rfq-intro > p {
  color: var(--wh-copy);
}

.wh-rfq .conversion-rfq-form input[type="file"] {
  min-height: 50px;
  padding: 9px;
  background: #f8faf9;
}

.wh-rfq .conversion-rfq-form input[type="hidden"] {
  display: none;
}

.wh-honeypot {
  display: none !important;
}

.wh-rfq-direct {
  display: grid;
  margin-top: 26px;
  gap: 10px;
}

.wh-rfq-direct a {
  width: fit-content;
  color: var(--wh-teal-dark);
  font-size: 14px;
  font-weight: 820;
}

.wh-final-cta {
  padding: 76px 0;
  color: #fff;
  background: #142528;
}

.wh-final-layout {
  display: grid;
  align-items: center;
  gap: 44px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.wh-final-layout h2 {
  max-width: 820px;
  margin-bottom: 12px;
  color: #fff;
}

.wh-final-layout p {
  max-width: 780px;
  color: #b9c8ca;
}

.wh-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.wh-final-actions .wh-button--secondary {
  border-color: #7b9497;
  color: #fff;
  background: transparent;
}

@media (max-width: 1080px) {
  .wh-quality-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .water-heater-anode-page .hero-copy {
    padding-right: 40px;
  }
}

@media (max-width: 900px) {
  .water-heater-anode-page .hero-grid,
  .wh-interface-grid,
  .wh-oem-layout,
  .wh-download-layout,
  .wh-rfq .conversion-rfq-layout,
  .wh-final-layout {
    gap: 42px;
    grid-template-columns: 1fr;
  }

  .water-heater-anode-page .hero-copy {
    padding: 48px 0 38px;
  }

  .water-heater-anode-page .hero-figure {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .wh-config-grid {
    grid-template-columns: 1fr;
  }

  .wh-config-card {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  }

  .wh-card-media {
    height: 100%;
    aspect-ratio: auto;
  }

  .wh-market-grid {
    grid-template-columns: 1fr;
  }

  .wh-final-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .water-heater-anode-page .hero-copy h1 {
    font-size: 38px;
  }

  .water-heater-anode-page .hero-contact-actions {
    grid-template-columns: 1fr 1fr;
  }

  .wh-hero-download {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .wh-config-card {
    display: flex;
  }

  .wh-card-media {
    aspect-ratio: 4 / 3;
  }

  .wh-card-copy,
  .wh-market-card,
  .wh-download-card {
    padding: 22px;
  }

  .wh-market-card .table-scroll {
    margin-right: -22px;
  }

  .wh-control-list,
  .wh-process-grid,
  .wh-quality-grid {
    grid-template-columns: 1fr;
  }

  .wh-download-card {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .wh-pdf-mark {
    width: 52px;
    height: 64px;
    font-size: 12px;
  }

  .wh-inline-actions,
  .wh-final-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .wh-inline-actions .wh-button,
  .wh-final-actions .wh-button {
    width: 100%;
  }

  .wh-final-cta {
    padding: 58px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wh-card-media img {
    transition: none;
  }
}
