:root {
  --hec-green: #4d9f24;
  --hec-green-dark: #2f7119;
  --hec-green-soft: #edf7e8;
  --hec-amber: #d8a21b;
  --hec-amber-soft: #fff7db;
  --hec-ink: #142132;
  --hec-muted: #5b6672;
  --hec-line: #dce3dc;
  --hec-surface: #ffffff;
  --hec-band: #f6f8f5;
  --hec-dark: #172432;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--hec-surface);
  color: var(--hec-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

.hecPage a {
  color: var(--hec-green-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.hecPage a:focus-visible,
.hecPage summary:focus-visible {
  outline: 3px solid #f0c54a;
  outline-offset: 3px;
}

.hecTop {
  align-items: center;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1240px;
  min-height: 88px;
  padding: 9px 24px;
}

.hecLogo {
  display: inline-flex;
  flex: 0 0 auto;
}

.hecLogo img {
  display: block;
  height: 62px;
  object-fit: contain;
  width: auto;
}

.hecTop nav,
.hecFooter nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}

.hecTop nav a,
.hecFooter nav a {
  color: var(--hec-ink);
  font-size: 0.91rem;
  font-weight: 700;
  text-decoration: none;
}

.hecTop nav a:hover,
.hecFooter nav a:hover {
  color: var(--hec-green-dark);
  text-decoration: underline;
}

.hecHero {
  align-items: center;
  background: var(--hec-green-soft);
  border-bottom: 1px solid #cfe2c7;
  border-top: 1px solid #dcebd6;
  display: grid;
  gap: clamp(36px, 7vw, 100px);
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  min-height: min(640px, calc(100vh - 88px));
  padding: clamp(64px, 8vw, 118px) max(24px, calc((100vw - 1192px) / 2));
}

.hecHeroCopy {
  max-width: 790px;
}

.hecEyebrow {
  color: var(--hec-green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hecHero h1 {
  font-size: clamp(2.25rem, 4.8vw, 4.7rem);
  line-height: 1.04;
  margin: 0;
  max-width: 950px;
}

.hecLead {
  color: #344250;
  font-size: clamp(1.04rem, 1.7vw, 1.3rem);
  margin: 24px 0 0;
  max-width: 780px;
}

.hecHeroActions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hecButton {
  align-items: center;
  background: var(--hec-green-dark);
  border: 1px solid var(--hec-green-dark);
  border-radius: 6px;
  color: #fff !important;
  display: inline-flex;
  font-size: 0.94rem;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  text-align: center;
  text-decoration: none !important;
}

.hecButton:hover {
  background: #245714;
  border-color: #245714;
}

.hecButtonSecondary {
  background: #fff;
  color: var(--hec-green-dark) !important;
}

.hecButtonSecondary:hover {
  background: var(--hec-amber-soft);
  border-color: var(--hec-amber);
}

.hecHeroProof {
  border-left: 4px solid var(--hec-amber);
  padding: 8px 0 8px 26px;
}

.hecHeroProof span,
.hecHeroProof strong,
.hecHeroProof p {
  display: block;
}

.hecHeroProof span {
  color: var(--hec-muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hecHeroProof strong {
  font-size: 1.2rem;
  margin-top: 8px;
}

.hecHeroProof p {
  color: var(--hec-muted);
  font-size: 0.92rem;
  margin: 10px 0 0;
}

.hecBand {
  padding: clamp(62px, 7vw, 104px) 24px;
}

.hecBandMuted {
  background: var(--hec-band);
  border-bottom: 1px solid #e3e8e2;
  border-top: 1px solid #e3e8e2;
}

.hecBandDark {
  background: var(--hec-dark);
  color: #fff;
}

.hecBandDark .hecEyebrow {
  color: #b7e49b;
}

.hecBandDark .hecSectionHead p {
  color: #d7e0e7;
}

.hecContainer {
  margin: 0 auto;
  max-width: 1192px;
}

.hecSectionHead {
  max-width: 820px;
}

.hecSectionHead h2,
.hecSplit h2,
.hecRestore h2,
.hecMethod h2,
.hecCta h2 {
  font-size: clamp(1.72rem, 3vw, 2.65rem);
  line-height: 1.15;
  margin: 0;
}

.hecSectionHead > p:last-child,
.hecSplit > div > p,
.hecRestore > div > p,
.hecCta p {
  color: var(--hec-muted);
  margin: 16px 0 0;
}

.hecMetrics {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 38px;
}

.hecMetric {
  background: #fff;
  border: 1px solid var(--hec-line);
  border-radius: 8px;
  min-width: 0;
  padding: 24px;
}

.hecMetric strong,
.hecMetric span,
.hecMetric small {
  display: block;
}

.hecMetric strong {
  color: var(--hec-green-dark);
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1;
}

.hecMetric span {
  font-weight: 800;
  margin-top: 13px;
}

.hecMetric small {
  color: var(--hec-muted);
  font-size: 0.8rem;
  margin-top: 5px;
}

.hecDisclosure,
.hecSampleNote {
  background: var(--hec-amber-soft);
  border-left: 4px solid var(--hec-amber);
  color: #4e4320 !important;
  margin: 28px 0 0 !important;
  padding: 15px 18px;
}

.hecTableWrap {
  margin-top: 34px;
  overflow-x: auto;
}

.hecTableWrap table {
  border-collapse: collapse;
  min-width: 680px;
  width: 100%;
}

.hecTableWrap th,
.hecTableWrap td {
  border-bottom: 1px solid var(--hec-line);
  padding: 15px 16px;
  text-align: right;
  white-space: nowrap;
}

.hecTableWrap thead th {
  background: #eaf3e6;
  color: #2a4124;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.hecTableWrap th:first-child,
.hecTableWrap td:first-child {
  left: 0;
  position: sticky;
  text-align: left;
}

.hecTableWrap tbody th:first-child {
  background: var(--hec-band);
}

.hecSplit {
  align-items: start;
  display: grid;
  gap: clamp(34px, 6vw, 86px);
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
}

.hecVitals {
  border-top: 1px solid var(--hec-line);
  margin: 0;
}

.hecVitals > div {
  align-items: center;
  border-bottom: 1px solid var(--hec-line);
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
}

.hecVitals dt {
  font-weight: 800;
}

.hecVitals dd {
  color: var(--hec-green-dark);
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0;
  text-align: right;
}

.hecVitals small {
  color: var(--hec-muted);
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
}

.hecBeforeAfter {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 36px;
  max-width: 760px;
}

.hecBeforeAfter > div {
  border-left: 4px solid #70808f;
  padding: 10px 24px;
}

.hecBeforeAfter > div:last-child {
  border-color: #88d35e;
}

.hecBeforeAfter span,
.hecBeforeAfter strong,
.hecBeforeAfter small {
  display: block;
}

.hecBeforeAfter span {
  color: #cbd5dd;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hecBeforeAfter strong {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  margin-top: 10px;
}

.hecBeforeAfter small {
  color: #cbd5dd;
  margin-top: 6px;
}

.hecRestore {
  align-items: center;
  display: grid;
  gap: clamp(36px, 7vw, 90px);
  grid-template-columns: minmax(0, 1fr) 280px;
}

.hecRestoreResult {
  border: 2px solid var(--hec-line);
  border-radius: 8px;
  padding: 26px;
}

.hecRestoreResult.isPass {
  background: var(--hec-green-soft);
  border-color: #9fcd88;
}

.hecRestoreResult.isPending {
  background: var(--hec-amber-soft);
  border-color: #e6c45e;
}

.hecRestoreResult span,
.hecRestoreResult strong,
.hecRestoreResult small,
.hecRestoreResult time {
  display: block;
}

.hecRestoreResult span {
  font-size: 0.79rem;
  font-weight: 900;
}

.hecRestoreResult strong {
  font-size: 3rem;
  line-height: 1;
  margin-top: 15px;
}

.hecRestoreResult small,
.hecRestoreResult time {
  color: var(--hec-muted);
  font-size: 0.8rem;
  margin-top: 5px;
}

.hecFacts {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 36px;
}

.hecFacts article {
  background: #fff;
  border: 1px solid var(--hec-line);
  border-radius: 8px;
  padding: 23px;
}

.hecFacts h3 {
  font-size: 1rem;
  margin: 0;
}

.hecFacts p {
  margin: 9px 0 14px;
}

.hecFacts a {
  font-size: 0.82rem;
  font-weight: 800;
}

.hecMethod {
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
}

.hecMethod ol {
  counter-reset: method;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hecMethod li {
  border-bottom: 1px solid var(--hec-line);
  counter-increment: method;
  padding: 15px 0 15px 48px;
  position: relative;
}

.hecMethod li::before {
  align-items: center;
  background: var(--hec-green-soft);
  border-radius: 50%;
  color: var(--hec-green-dark);
  content: counter(method);
  display: flex;
  font-weight: 900;
  height: 30px;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 12px;
  width: 30px;
}

.hecUpdated {
  color: var(--hec-muted);
  font-size: 0.8rem;
  grid-column: 2;
  margin: 0;
}

.hecFaq details {
  border-bottom: 1px solid var(--hec-line);
  max-width: 900px;
}

.hecFaq details:first-of-type {
  border-top: 1px solid var(--hec-line);
  margin-top: 34px;
}

.hecFaq summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
  padding: 18px 46px 18px 0;
  position: relative;
}

.hecFaq summary::-webkit-details-marker {
  display: none;
}

.hecFaq summary::after {
  color: var(--hec-green-dark);
  content: "+";
  font-size: 1.6rem;
  position: absolute;
  right: 10px;
  top: 10px;
}

.hecFaq details[open] summary::after {
  content: "−";
}

.hecFaq details p {
  color: var(--hec-muted);
  margin: -2px 0 20px;
  max-width: 780px;
}

.hecCta {
  background: var(--hec-green-soft);
  border-bottom: 1px solid #cfe2c7;
  border-top: 1px solid #cfe2c7;
  padding: 48px 24px;
}

.hecCta .hecContainer {
  align-items: center;
  display: flex;
  gap: 30px;
  justify-content: space-between;
}

.hecCta p {
  max-width: 720px;
}

.hecFooter {
  align-items: center;
  color: var(--hec-muted);
  display: flex;
  font-size: 0.84rem;
  gap: 30px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1240px;
  padding: 28px 24px;
}

@media (max-width: 980px) {
  .hecTop {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 18px;
  }

  .hecHero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hecHeroProof {
    max-width: 560px;
  }

  .hecMetrics,
  .hecFacts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hecSplit,
  .hecRestore,
  .hecMethod {
    grid-template-columns: 1fr;
  }

  .hecUpdated {
    grid-column: 1;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .hecTop {
    min-height: 0;
    padding-left: 18px;
    padding-right: 18px;
  }

  .hecLogo img {
    height: 54px;
    max-width: min(214px, 70vw);
  }

  .hecTop nav {
    gap: 7px 14px;
  }

  .hecTop nav a {
    font-size: 0.82rem;
  }

  .hecHero {
    gap: 34px;
    padding: 56px 18px;
  }

  .hecHero h1 {
    font-size: 2.32rem;
  }

  .hecHeroActions,
  .hecHeroActions .hecButton {
    width: 100%;
  }

  .hecBand {
    padding: 56px 18px;
  }

  .hecMetrics,
  .hecFacts,
  .hecBeforeAfter {
    grid-template-columns: 1fr;
  }

  .hecMetric {
    padding: 20px;
  }

  .hecTableWrap {
    overflow: visible;
  }

  .hecTableWrap table,
  .hecTableWrap tbody,
  .hecTableWrap tr,
  .hecTableWrap th,
  .hecTableWrap td {
    display: block;
    width: 100%;
  }

  .hecTableWrap table {
    min-width: 0;
  }

  .hecTableWrap th,
  .hecTableWrap td {
    position: static;
    white-space: normal;
  }

  .hecTableWrap thead {
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }

  .hecTableWrap tr {
    background: #fff;
    border: 1px solid var(--hec-line);
    border-radius: 8px;
    margin-bottom: 14px;
    padding: 8px 16px;
  }

  .hecTableWrap tbody th:first-child {
    background: transparent;
    border-bottom: 1px solid var(--hec-line);
    padding: 14px 0;
    position: static;
  }

  .hecTableWrap td {
    align-items: center;
    border-bottom: 1px solid var(--hec-line);
    display: flex;
    justify-content: space-between;
    padding: 11px 0;
    text-align: right;
  }

  .hecTableWrap td:last-child {
    border-bottom: 0;
  }

  .hecTableWrap td::before {
    color: var(--hec-muted);
    content: attr(data-label);
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
  }

  .hecVitals > div {
    align-items: flex-start;
  }

  .hecRestoreResult {
    width: 100%;
  }

  .hecCta {
    padding: 42px 18px;
  }

  .hecCta .hecContainer,
  .hecFooter {
    align-items: flex-start;
    flex-direction: column;
  }

  .hecCta .hecButton {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
