:root {
  font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', sans-serif;
  color: #1a1a1a;
  background: #ffffff;
  line-height: 1.65;
  --color-black: #000000;
  --color-gray-900: #1a1a1a;
  --color-gray-800: #2d2d2d;
  --color-gray-600: #6b6b6b;
  --color-gray-400: #9a9a9a;
  --color-gray-200: #e5e5e5;
  --color-gray-100: #f5f5f5;
  --color-white: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #ffffff;
  color: #1a1a1a;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, 90vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #e5e5e5;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo img {
  height: 72px;
  width: auto;
}

.logo-wordmark {
  font-size: 1.1rem;
  letter-spacing: 0.12em;
}

.primary-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.primary-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #2d2d2d;
  transition: color 200ms ease;
}

.primary-nav a:hover {
  color: #000000;
}

.btn {
  border: 2px solid #000000;
  padding: 0.875rem 2rem;
  background: transparent;
  color: inherit;
  cursor: pointer;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-solid {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.btn-solid:hover {
  background: #1a1a1a;
  border-color: #1a1a1a;
}

.btn-outline {
  border-color: #000000;
  color: #000000;
}

.btn-outline:hover {
  background: #000000;
  color: #ffffff;
}

.btn-ghost {
  border-color: transparent;
  padding-inline: 0;
  border-radius: 0;
  font-weight: 500;
  position: relative;
}

.btn-ghost::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: #0a0a0a;
}

.hero {
  padding: 7rem 0 5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 4rem;
  align-items: center;
  min-height: 70vh;
}

.hero-image {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
  max-height: 550px;
  display: flex;
  align-items: center;
  transition: transform 300ms ease;
}

.hero-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.15);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.eyebrow {
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: #6b6b6b;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 1.1;
  margin: 1.5rem 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #000000;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.2;
  margin-bottom: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #000000;
}

h3 {
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: #000000;
}

.lede {
  font-size: 1.2rem;
  max-width: 560px;
  margin-bottom: 2rem;
  color: #2d2d2d;
  line-height: 1.7;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
}

.hero-phone-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  width: 100%;
  max-width: 500px;
}

.hero-phone-input {
  flex: 1;
  min-width: 200px;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  border: 2px solid #e5e5e5;
  background: #ffffff;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  transition: all 200ms ease;
  color: #1a1a1a;
}

.hero-phone-input:focus {
  outline: none;
  border-color: #000000;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.08);
}

.hero-phone-input::placeholder {
  color: #9a9a9a;
}

.hero-cta-divider {
  text-align: center;
  margin: 1.5rem 0;
  color: #6b6b6b;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  width: 100%;
}

.hero-cta-divider::before,
.hero-cta-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 3rem);
  height: 1px;
  background: #e5e5e5;
}

.hero-cta-divider::before {
  left: 0;
}

.hero-cta-divider::after {
  right: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  font-size: 0.9rem;
}

.stat {
  font-size: 2rem;
  font-weight: 600;
  display: block;
}

.stats > div > .stat + .stat {
  margin-top: 1rem;
}

.hero-panel {
  display: grid;
  gap: 1.5rem;
}

.panel-card {
  padding: 1.75rem;
  border: 1px solid #0a0a0a;
  border-radius: 1.25rem;
}

.panel-card ul {
  padding-left: 1rem;
}

.panel-card li {
  margin-bottom: 0.5rem;
}

.panel-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.section {
  padding: 6rem 0;
}

.section.alt {
  background: #fafafa;
}

.section-head {
  max-width: 760px;
  margin-bottom: 3.5rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

  .grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .grid {
    gap: 1.5rem;
  }

.feature-card,
.guarantee-card {
  border: 1px solid #e5e5e5;
  border-radius: 1.25rem;
  padding: 2rem;
  background: #ffffff;
  min-height: 200px;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover,
.guarantee-card:hover {
  transform: translateY(-6px);
  border-color: #000000;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.feature-card h3,
.guarantee-card h3 {
  margin-bottom: 0.875rem;
}

.feature-card p,
.guarantee-card p {
  color: #2d2d2d;
  line-height: 1.7;
  margin: 0;
}

.process {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.process-step {
  border: 2px solid #e5e5e5;
  background: transparent;
  padding: 1.125rem 1.75rem;
  border-radius: 50px;
  text-align: left;
  font-weight: 500;
  cursor: pointer;
  transition: all 200ms ease;
  color: #2d2d2d;
}

.process-step:hover {
  border-color: #000000;
  background: #fafafa;
}

.process-step.active {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.process-details {
  border: 1px solid #e5e5e5;
  border-radius: 1.5rem;
  padding: 2.5rem;
  min-height: 280px;
  background: #ffffff;
}

.process-panel h3 {
  margin-bottom: 1rem;
}

.process-panel p {
  color: #2d2d2d;
  line-height: 1.7;
  margin: 0;
}

.process-panel {
  display: none;
  animation: fade 250ms ease;
}

.process-panel.active {
  display: block;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: start;
}

.contact-points {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}

.contact-points li {
  margin-bottom: 1rem;
}

.contact-points span {
  font-weight: 600;
}

.contact-form {
  border: 2px solid #000000;
  border-radius: 1.5rem;
  padding: 2.5rem;
  display: grid;
  gap: 1.25rem;
  background: #ffffff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.input-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
}

input,
select {
  font: inherit;
  padding: 0.875rem 1rem;
  border-radius: 10px;
  border: 1.5px solid #e5e5e5;
  background: #ffffff;
  color: #1a1a1a;
  transition: all 200ms ease;
}

input:focus,
select:focus {
  outline: none;
  border-color: #000000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

input::placeholder {
  color: #9a9a9a;
}

.form-note {
  font-size: 0.875rem;
  color: #6b6b6b;
  margin: 0;
  line-height: 1.6;
}

.calculator-card {
  border: 1px solid #0a0a0a;
  border-radius: 1.5rem;
  padding: 2.5rem;
  background: #fff;
  max-width: 800px;
  margin: 0 auto;
}

.calculator-input {
  margin-bottom: 2.5rem;
}

.calculator-input label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.calculator-input input {
  width: 100%;
  font-size: 1.5rem;
  font-weight: 600;
  padding: 1rem 1.25rem;
  border: 2px solid #0a0a0a;
  border-radius: 0.75rem;
  background: #fff;
  text-align: center;
}

.calculator-input input:focus {
  outline: none;
  border-color: #0a0a0a;
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.1);
}

.calculator-note {
  font-size: 0.85rem;
  color: #7a7a7a;
  text-align: center;
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.calculator-results {
  display: grid;
  gap: 1.5rem;
}

.result-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem;
  border: 1px solid #dcdcdc;
  border-radius: 0.75rem;
  background: #f7f7f7;
}

.result-row.highlight {
  background: #0a0a0a;
  color: #fff;
  border-color: #0a0a0a;
}

.result-label {
  font-size: 0.95rem;
  font-weight: 500;
}

.result-value {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: right;
}

.result-period {
  font-size: 0.85rem;
  color: #7a7a7a;
  white-space: nowrap;
}

.result-row.highlight .result-period {
  color: rgba(255, 255, 255, 0.7);
}

.savings-breakdown {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.savings-item {
  text-align: center;
  padding: 1.5rem;
  border: 1px solid #dcdcdc;
  border-radius: 0.75rem;
  background: #fff;
}

.savings-item.highlight {
  background: #0a0a0a;
  color: #fff;
  border-color: #0a0a0a;
}

.savings-amount {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.savings-label {
  font-size: 0.85rem;
  color: #7a7a7a;
  display: block;
}

.savings-item.highlight .savings-label {
  color: rgba(255, 255, 255, 0.7);
}

.final-savings-section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 2px solid #e8e8e8;
}

.final-savings-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.final-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid #dcdcdc;
  border-radius: 0.75rem;
  background: #fff;
}

.final-info-item.highlight {
  background: #0a0a0a;
  color: #fff;
  border-color: #0a0a0a;
}

.final-info-icon {
  font-size: 2rem;
  line-height: 1;
}

.final-info-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.final-info-label {
  font-size: 0.85rem;
  color: #7a7a7a;
  font-weight: 500;
}

.final-info-item.highlight .final-info-label {
  color: rgba(255, 255, 255, 0.7);
}

.final-info-value {
  font-size: 1.1rem;
  font-weight: 700;
}

.subsidized-badge {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  margin-left: 0.5rem;
  font-weight: 500;
}

.total-savings-ticker-section {
  text-align: center;
  padding: 3rem 2rem;
  background: #0a0a0a;
  color: #fff;
  border-radius: 1rem;
  border: 2px solid #0a0a0a;
}

.ticker-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ticker-container {
  margin: 2rem 0;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ticker-value {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  transition: transform 0.3s ease;
}

.ticker-subtitle {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 1rem;
}

@media (max-width: 600px) {
  .ticker-value {
    font-size: 2.5rem;
  }
}

.site-footer {
  border-top: 1px solid #e5e5e5;
  padding: 3.5rem 0 2rem;
  background: #fafafa;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.footer-heading {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
}

.site-footer a {
  color: #1a1a1a;
  transition: color 200ms ease;
  text-decoration: none;
}

.site-footer a:hover {
  color: #000000;
  text-decoration: underline;
}

.fine-print {
  font-size: 0.8rem;
  color: #6b6b6b;
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e5e5;
}

.footer-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-link-list a {
  font-size: 0.95rem;
  font-weight: 500;
}

.footer-legal-section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e5e5;
}

.footer-legal-text {
  font-size: 0.78rem;
  line-height: 1.7;
  color: #5a5a5a;
  max-width: 52rem;
  margin: 0.35rem 0 0;
}

.footer-copyright.fine-print {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e8e8e8;
}

.installers-cta {
  margin-top: 4rem;
  text-align: center;
  padding: 2.5rem;
  border: 2px solid #000000;
  border-radius: 1.25rem;
  background: #ffffff;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.installers-cta p {
  margin-bottom: 1.5rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: #000000;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.faq-item {
  border: 1.5px solid #e5e5e5;
  border-radius: 1rem;
  background: #ffffff;
  overflow: hidden;
  transition: all 200ms ease;
}

.faq-item:hover {
  border-color: #000000;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  background: transparent;
  border: none;
  text-align: left;
  font: inherit;
  font-weight: 600;
  font-size: 1.125rem;
  color: #000000;
  cursor: pointer;
  transition: background 200ms ease;
}

.faq-question:hover {
  background: #fafafa;
}

.faq-icon {
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1;
  color: #000000;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  margin-left: 1.5rem;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease, padding 300ms ease;
  padding: 0 1.5rem;
}

.faq-question[aria-expanded="true"] + .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
  margin: 0;
  color: #2d2d2d;
  line-height: 1.7;
  font-size: 1rem;
}

@media (max-width: 800px) {
  .primary-nav {
    display: none;
  }

  .hero {
    padding: 4rem 0 3rem;
    gap: 2.5rem;
    min-height: auto;
  }

  .hero-image {
    max-height: 400px;
  }

  .section {
    padding: 4rem 0;
  }

  .calculator-card {
    padding: 1.5rem;
  }

  .result-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    text-align: center;
  }

  .result-value {
    font-size: 1.5rem;
  }

  .result-period {
    text-align: center;
  }

  .savings-breakdown {
    grid-template-columns: 1fr;
  }

  .final-savings-info {
    grid-template-columns: 1fr;
  }

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

  .process-steps {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }

  .process-step {
    white-space: nowrap;
  }

  .faq-question {
    padding: 1.25rem;
    font-size: 1rem;
  }

  .faq-answer {
    padding: 0 1.25rem;
  }

  .faq-question[aria-expanded="true"] + .faq-answer {
    padding: 0 1.25rem 1.25rem;
  }
}

