:root {
  --ink: #111614;
  --muted: #5b6661;
  --line: #d8ded8;
  --paper: #f7f6f0;
  --white: #ffffff;
  --steel: #26302b;
  --steel-2: #1b211f;
  --green: #4f7d5d;
  --lime: #b9d36b;
  --rust: #b96b47;
  --shadow: 0 18px 50px rgba(20, 30, 25, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  overflow-x: clip;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 48px);
  color: var(--white);
  background: rgba(17, 22, 20, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--lime);
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.header-cta {
  justify-self: end;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
  font-size: 14px;
}

.primary-button {
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(185, 211, 107, 0.24);
}

.secondary-button {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
  font-weight: 700;
}

.primary-button svg,
.secondary-button svg,
.header-cta svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  padding: 120px clamp(20px, 6vw, 76px) 120px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(17, 22, 20, 0.98), rgba(17, 22, 20, 0.92) 42%, rgba(17, 22, 20, 0.28) 74%, rgba(17, 22, 20, 0.38)),
    url("./assets/hero-heat-pump-unit.jpg") right center / auto 94% no-repeat,
    var(--ink);
  background-position:
    center,
    calc(100% + 300px) center,
    center;
  background-size:
    auto,
    auto 94%,
    auto;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 22, 20, 0.1), rgba(17, 22, 20, 0.34));
  pointer-events: none;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--lime);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--green);
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(58px, 9vw, 122px);
  line-height: 0.86;
}

.hero-subtitle {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: clamp(24px, 4vw, 46px);
  line-height: 1.02;
  font-weight: 800;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-bottom {
  position: absolute;
  left: clamp(20px, 6vw, 76px);
  right: clamp(20px, 6vw, 76px);
  bottom: 24px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 980px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-bottom div {
  padding: 16px;
  background: rgba(17, 22, 20, 0.62);
}

.hero-bottom strong,
.hero-bottom span {
  display: block;
}

.hero-bottom strong {
  font-size: 13px;
}

.hero-bottom span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.section {
  padding: clamp(72px, 9vw, 120px) clamp(20px, 5vw, 68px);
  background: var(--white);
}

.band-light {
  background: var(--paper);
}

.band-dark {
  background: var(--steel-2);
  color: var(--white);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.two-col,
.owner-grid,
.scan-layout,
.safety-layout,
.after-lead-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
}

.section h2 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.98;
}

.section p {
  max-width: 650px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.band-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.leak-map {
  display: grid;
  grid-template-columns: repeat(5, minmax(104px, 1fr));
  gap: 10px;
  align-items: stretch;
}

.leak-step {
  min-height: 116px;
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--muted);
  text-align: center;
  font-weight: 750;
}

.leak-step.active {
  color: var(--ink);
  border-color: rgba(79, 125, 93, 0.38);
  box-shadow: var(--shadow);
}

.leak-step svg {
  width: 28px;
  height: 28px;
  color: var(--green);
}

.handoff-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 36px rgba(18, 24, 20, 0.08);
}

.handoff-head,
.handoff-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
  align-items: start;
  padding: 18px 20px;
}

.handoff-head {
  background: var(--steel);
  color: var(--white);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.handoff-row {
  border-top: 1px solid var(--line);
}

.handoff-row strong {
  color: var(--ink);
}

.handoff-row span {
  color: var(--muted);
  line-height: 1.55;
}

.section-heading {
  display: grid;
  gap: 16px;
  margin-bottom: 34px;
}

.deliverables,
.pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.deliverable,
.price-card,
.scan-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 36px rgba(18, 24, 20, 0.08);
}

.deliverable {
  min-height: 210px;
  padding: 24px;
}

.deliverable svg {
  width: 28px;
  height: 28px;
  color: var(--green);
}

.deliverable h3,
.price-card h3,
.scan-panel h3 {
  margin: 18px 0 10px;
  font-size: 22px;
}

.scan-panel h3 {
  margin-top: 0;
}

.deliverable p,
.price-card p,
.scan-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.metric-panel {
  width: min(520px, 100%);
  justify-self: end;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #29342f, #161c19);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.dash-head,
.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dash-head span,
.metric-row span {
  color: rgba(255, 255, 255, 0.7);
}

.dash-head strong,
.metric-row strong {
  color: var(--white);
}

.metric-row .warning {
  color: #ffbc82;
}

.bar-stack {
  display: grid;
  gap: 10px;
  padding-top: 18px;
}

.bar-stack span {
  display: block;
  width: var(--w);
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lime), var(--green));
}

.scan-panel {
  padding: 24px;
}

.scan-panel label {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 10px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.scan-panel input,
.scan-panel select {
  min-height: 42px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #fbfbf8;
  color: var(--ink);
}

.scan-panel select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 18px,
    calc(100% - 12px) 18px;
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.bot-field {
  display: none;
}

.form-note {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.form-note a,
.text-link {
  color: var(--green);
  font-weight: 800;
  text-underline-offset: 3px;
}

.form-note a:hover,
.text-link:hover {
  color: var(--ink);
}

.scan-copy .check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
  color: var(--ink);
  font-weight: 750;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-list svg {
  width: 19px;
  height: 19px;
  color: var(--green);
}

.full {
  width: 100%;
  margin-top: 18px;
  border: 0;
}

.price-card {
  padding: 26px;
}

.price-card.featured {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.price-card.featured p {
  color: rgba(255, 255, 255, 0.72);
}

.label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(79, 125, 93, 0.12);
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.featured .label {
  color: var(--ink);
  background: var(--lime);
}

.safety-list {
  display: grid;
  gap: 12px;
}

.safety-list div {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.safety-list span {
  color: var(--muted);
  line-height: 1.55;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 5vw, 68px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
  text-underline-offset: 3px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
}

.privacy-page {
  background: var(--paper);
}

.privacy-shell {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 126px 0 72px;
}

.privacy-hero {
  display: grid;
  gap: 18px;
  max-width: 780px;
}

.privacy-hero h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 88px);
  line-height: 0.98;
}

.privacy-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.privacy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 24px;
  align-items: start;
  margin-top: 36px;
}

.privacy-copy {
  display: grid;
  gap: 14px;
}

.privacy-block {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.privacy-block h2,
.privacy-form h2 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.15;
}

.privacy-block p,
.privacy-block li {
  color: var(--muted);
  line-height: 1.65;
}

.privacy-block p {
  margin: 0 0 12px;
}

.privacy-block p:last-child {
  margin-bottom: 0;
}

.privacy-block ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.privacy-form {
  position: sticky;
  top: 96px;
}

.privacy-form .eyebrow {
  margin: 0;
}

.privacy-form input,
.privacy-form textarea {
  min-height: 42px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #fbfbf8;
  color: var(--ink);
}

.privacy-form textarea {
  min-height: 136px;
  padding: 12px;
  resize: vertical;
}

.thanks-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(247, 246, 240, 0.98), rgba(247, 246, 240, 0.82)),
    url("./assets/hero-heat-pump-unit.jpg") right center / auto 100% no-repeat,
    var(--paper);
}

.thanks-shell {
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 34px;
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: 48px 0;
}

.thanks-brand {
  color: var(--ink);
}

.thanks-card {
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.thanks-card h1 {
  max-width: 620px;
  font-size: clamp(42px, 8vw, 76px);
  line-height: 0.95;
}

.thanks-card p {
  max-width: 620px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 90vh;
    padding-bottom: 170px;
    background-size: auto 78%;
    background-position:
      center,
      right bottom,
      center;
  }

  .hero-bottom {
    grid-template-columns: 1fr;
  }

  .two-col,
  .owner-grid,
  .scan-layout,
  .safety-layout,
  .after-lead-layout {
    grid-template-columns: 1fr;
  }

  .metric-panel {
    justify-self: start;
  }

  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .privacy-form {
    position: static;
  }

  .leak-map,
  .deliverables,
  .pricing {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 14px;
    gap: 10px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-cta span {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 88px;
    padding-left: 18px;
    padding-right: 18px;
    padding-bottom: 26px;
    background:
      linear-gradient(180deg, rgba(17, 22, 20, 0.96), rgba(17, 22, 20, 0.88)),
      url("./assets/hero-heat-pump-unit.jpg") 42% bottom / cover no-repeat,
      var(--ink);
  }

  h1 {
    font-size: clamp(50px, 16vw, 58px);
  }

  .hero-subtitle {
    margin-top: 18px;
    font-size: clamp(25px, 9vw, 34px);
    line-height: 1.05;
  }

  .hero-copy {
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.55;
  }

  h2,
  h3,
  .eyebrow {
    overflow-wrap: anywhere;
  }

  .eyebrow {
    font-size: 12px;
    letter-spacing: 0.08em;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    margin-top: 24px;
  }

  .hero-content,
  .hero-bottom {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .hero-bottom {
    position: relative;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 20px;
  }

  .hero-bottom div {
    padding: 12px 10px;
  }

  .hero-bottom strong,
  .hero-bottom span {
    font-size: 12px;
  }

  .hero-bottom span {
    overflow-wrap: anywhere;
  }

  .handoff-head {
    display: none;
  }

  .handoff-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px;
  }

  .leak-map,
  .deliverables,
  .pricing {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .privacy-shell {
    width: min(100% - 28px, 1120px);
    padding-top: 96px;
  }

  .privacy-hero h1 {
    font-size: clamp(42px, 13vw, 56px);
  }
}
