:root {
  --paper: #fafaf7;
  --paper-2: #f1f0ea;
  --ink: #1a1a1a;
  --muted: #62615d;
  --line: #d9d5ca;
  --blue: #1e3a5f;
  --blue-dark: #14283f;
  --spruce: #31584a;
  --brick: #8a4f3d;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(20, 28, 36, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 213, 202, 0.78);
  background: rgba(250, 250, 247, 0.94);
  backdrop-filter: blur(12px);
}

.topline {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 7px 18px;
  background: var(--blue-dark);
  color: var(--white);
  font-size: 0.84rem;
}

.topline a {
  text-decoration: none;
  font-weight: 700;
}

.nav-wrap {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.24rem;
  font-weight: 700;
}

.brand span {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  font-size: 0.93rem;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--blue);
}

.nav-links .button {
  color: var(--white);
}

.nav-links .button:hover,
.nav-links .button:focus {
  color: var(--white);
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--blue);
  color: var(--white);
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
.button:focus {
  background: var(--blue-dark);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.52);
  color: var(--white);
}

.button.secondary:hover,
.button.secondary:focus {
  background: rgba(255, 255, 255, 0.22);
}

.button.light {
  background: var(--white);
  border-color: var(--line);
  color: var(--blue);
}

.button.light:hover,
.button.light:focus {
  background: var(--paper-2);
}

.hero {
  min-height: 78svh;
  display: grid;
  align-items: end;
  color: var(--white);
  background-color: var(--blue-dark);
  background-image: linear-gradient(90deg, rgba(8, 14, 22, 0.76), rgba(8, 14, 22, 0.38) 54%, rgba(8, 14, 22, 0.18)), var(--hero-image);
  background-position: center;
  background-size: cover;
}

.hero.page-hero {
  min-height: 58svh;
}

.hero-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 84px 0 56px;
}

.kicker {
  margin: 0 0 14px;
  color: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

h1 {
  max-width: 850px;
  font-size: 3.6rem;
}

h2 {
  font-size: 2.4rem;
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0;
}

.hero-copy {
  max-width: 820px;
}

.hero-copy p:not(.kicker) {
  max-width: 760px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.16rem;
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.hero-proof li,
.chip {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(0, 0, 0, 0.18);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
  font-weight: 750;
}

.section {
  padding: 86px 0;
}

.section.tight {
  padding: 56px 0;
}

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

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

.container {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.72fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

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

.dark-band .section-head p,
.dark-band .muted {
  color: rgba(255, 255, 255, 0.76);
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--brick);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.card-pad {
  padding: 24px;
}

.card h3 + p,
.step h3 + p,
.feature h3 + p {
  margin-top: 10px;
  color: var(--muted);
}

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

.photo-card figcaption {
  padding: 14px 16px 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.proof-item {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 1.2rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 38px;
  align-items: center;
}

.split img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-list {
  display: grid;
  gap: 18px;
}

.feature {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.feature:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding: 24px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--spruce);
  color: var(--white);
  font-weight: 900;
}

.rebate-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(300px, 1fr);
  gap: 28px;
  align-items: start;
}

.rebate-number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.2rem;
  line-height: 1;
}

.fineprint {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.review-card {
  padding: 24px;
}

.review-card p {
  color: var(--muted);
}

.review-card strong {
  display: block;
  margin-top: 18px;
  color: var(--ink);
}

.service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-chips li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--white);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.cta-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
}

.cta-block p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
}

.accordion {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

summary {
  padding: 18px 20px;
  font-weight: 850;
  cursor: pointer;
}

details p {
  padding: 0 20px 20px;
  color: var(--muted);
}

.lead-form {
  display: grid;
  gap: 16px;
}

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

label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #c8c3b8;
  border-radius: 6px;
  padding: 11px 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 126px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(30, 58, 95, 0.18);
  border-color: var(--blue);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.66fr) minmax(0, 1fr);
  gap: 30px;
}

.contact-box {
  display: grid;
  gap: 16px;
  align-self: start;
}

.contact-line {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.contact-line span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-line a {
  display: inline-block;
  margin-top: 5px;
  color: var(--blue);
  font-size: 1.2rem;
  font-weight: 850;
  text-decoration: none;
}

.site-footer {
  background: #121820;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.6fr);
  gap: 28px;
  padding: 44px 0;
}

.site-footer a {
  color: var(--white);
}

.footer-meta {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.footer-links a {
  text-decoration: none;
}

.legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.85rem;
}

.source-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 900px) {
  .topline {
    justify-content: flex-start;
  }

  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  h1 {
    font-size: 1.95rem;
  }

  h2 {
    font-size: 1.95rem;
  }

  .hero {
    min-height: auto;
    background-position: 42% center;
  }

  .hero.page-hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 38px 0 26px;
  }

  .hero-copy p:not(.kicker) {
    margin-top: 14px;
    font-size: 0.96rem;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .section {
    padding: 58px 0;
  }

  .section-head,
  .split,
  .rebate-panel,
  .cta-block,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid.three,
  .grid.four,
  .grid.two,
  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

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

  .cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cta-actions .button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .topline {
    flex-direction: column;
    gap: 4px;
  }

  .nav-links {
    gap: 12px;
  }

  .nav-links .button {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-proof li {
    width: 100%;
  }

  .hero-proof {
    display: none;
  }

  .rebate-number {
    font-size: 3rem;
  }

  .cta-block {
    padding: 24px;
  }
}
