/* NB Heat Pump Quotes — one-page site */

:root {
  --navy: #1B2E4A;
  --navy-deep: #142238;
  --orange: #F47C20;
  --orange-soft: #FFF1E4;
  --ink: #1F2933;
  --muted: #52606D;
  --line: #DDE3EA;
  --bg: #FFFFFF;
  --bg-tint: #F6F8FA;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
}

.wrap {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */

.site-header {
  border-bottom: 3px solid var(--orange);
  padding: 14px 0;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
}

.wordmark .badge {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wordmark .name {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.2px;
  line-height: 1.15;
}

/* ---------- Hero ---------- */

.hero {
  padding: 28px 0 34px;
}

h1 {
  margin: 0 0 14px;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  font-weight: 800;
  color: var(--navy);
}

.hero p.lede {
  margin: 0 0 24px;
  font-size: 18px;
  color: var(--muted);
}

.btn-call {
  display: block;
  width: 100%;
  background: var(--orange);
  color: var(--navy);
  text-decoration: none;
  text-align: center;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.2px;
  padding: 22px 16px;
  border-radius: 12px;
  box-shadow: 0 4px 0 #C8611264;
}

.btn-call:active { transform: translateY(2px); box-shadow: 0 2px 0 #C8611264; }

.btn-sub {
  margin: 14px 0 0;
  text-align: center;
  font-size: 16px;
  color: var(--muted);
}

.btn-sub a { color: var(--navy); font-weight: 700; }

/* ---------- Sections ---------- */

section { padding: 30px 0; border-top: 1px solid var(--line); }

h2 {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.3px;
}

h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
}

p { margin: 0 0 14px; }

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 18px 46px;
  font-size: 17px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps li:last-child { padding-bottom: 0; }

.cards { display: grid; gap: 14px; }

.card {
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-left: 5px solid var(--orange);
  border-radius: 10px;
  padding: 16px 18px;
}

.card p { margin: 0; color: var(--muted); }

/* ---------- Rebates table ---------- */

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border: 1px solid var(--line);
}

thead th {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}

tbody th { background: var(--orange-soft); font-weight: 800; color: var(--navy); white-space: nowrap; }

.fine {
  margin: 14px 0 0;
  font-size: 14.5px;
  color: var(--muted);
  font-style: italic;
}

.fine a { color: var(--navy); }

/* ---------- Who we are ---------- */

.who {
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
  padding: 22px;
  margin: 0;
  font-size: 17.5px;
  border: 0;
}

.who h2 { color: #fff; }

.who p { color: #E3E9F0; }

.who p:last-child { margin-bottom: 0; }

/* ---------- FAQ ---------- */

.faq-item { padding: 0 0 18px; }

.faq-item:last-child { padding-bottom: 0; }

.faq-item p { margin: 0; color: var(--muted); }

/* ---------- Final CTA ---------- */

.final-cta { text-align: center; }

.final-cta h2 { margin-bottom: 8px; }

.final-cta p.lede { color: var(--muted); margin-bottom: 20px; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 3px solid var(--orange);
  background: var(--bg-tint);
  padding: 22px 0 30px;
  font-size: 15px;
  color: var(--muted);
}

.site-footer p { margin: 0 0 6px; }

.site-footer a { color: var(--navy); font-weight: 600; }

.site-footer .sep { color: var(--line); padding: 0 4px; }

/* ---------- Privacy page ---------- */

.doc { padding: 26px 0 40px; }

.doc h1 { font-size: 28px; margin-bottom: 6px; }

.doc .updated { color: var(--muted); font-size: 15px; margin-bottom: 22px; }

.doc h2 { font-size: 20px; margin: 26px 0 10px; }

.doc ul { margin: 0 0 14px; padding-left: 22px; }

.doc li { margin-bottom: 6px; }

.back-link { display: inline-block; margin-top: 26px; font-weight: 700; color: var(--navy); }


/* Rebate table stacks into blocks on phones */
@media (max-width: 639px) {
  table, tbody, tr, th, td { display: block; }

  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

  tbody tr {
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 14px;
  }

  tbody tr:last-child { margin-bottom: 0; }

  tbody th {
    border: 0;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
    padding: 12px 14px;
  }

  tbody td { border: 0; padding: 12px 14px 0; }

  tbody td:last-child { padding-bottom: 14px; }

  tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--muted);
    margin-bottom: 2px;
  }
}

/* ---------- Larger screens ---------- */

@media (min-width: 640px) {
  h1 { font-size: 40px; }
  .hero { padding: 44px 0 48px; }
  .btn-call { font-size: 26px; padding: 24px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .card { border-left: 1px solid var(--line); border-top: 5px solid var(--orange); }
  section { padding: 40px 0; }
}
