:root {
  --bg: #fafaf7;
  --surface: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --accent: #95c11f;
  --accent-strong: #5f7f12;
  --accent-soft: #f3f9e8;
  --success: #6f9918;
  --warm: #f6f3ec;
  --warning-bg: #fff7ed;
  --warning-text: #9a3412;
  --error: #b42318;
  --shadow: 0 18px 42px rgba(38, 51, 40, 0.1);
  --shadow-soft: 0 8px 22px rgba(38, 51, 40, 0.06);
  --radius: 14px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(243, 249, 232, 0.74) 0%, rgba(250, 250, 247, 0.96) 34%, #ffffff 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.modal-lock {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(95, 127, 18, 0.35);
  outline-offset: 3px;
}

.section-shell {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;
}

#pv-check,
#funding-title,
#faq-title {
  scroll-margin-top: 88px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  min-height: 64px;
  padding: 10px 0;
  background: rgba(250, 250, 247, 0.72);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  font-weight: 760;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: min(128px, 42vw);
  max-height: 36px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-logo:not([hidden]) + .brand-mark {
  display: none;
}

.brand-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(95, 127, 18, 0.18);
  border-radius: 10px;
  color: var(--accent-strong);
  background: var(--accent-soft);
  font-size: 0.82rem;
  letter-spacing: 0;
}

.header-trust {
  display: none;
  align-items: center;
  gap: 18px;
  color: var(--accent-strong);
  font-size: 0.86rem;
  font-weight: 720;
}

.header-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  color: #4f6118;
  white-space: nowrap;
}

.header-trust span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(149, 193, 31, 0.16);
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  min-height: auto;
  padding: 28px 0 24px;
  align-items: center;
}

.hero-content {
  max-width: 690px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 720;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(149, 193, 31, 0.2);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 14px;
  font-size: clamp(2.05rem, 6.4vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.65rem, 4vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.03rem;
  line-height: 1.25;
}

.hero-subtitle {
  max-width: 650px;
  margin-bottom: 18px;
  color: #374151;
  font-size: clamp(1.02rem, 2vw, 1.18rem);
}

.trust-list {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.trust-list li,
.result-list li {
  position: relative;
  padding-left: 28px;
  color: #243028;
}

.trust-list li::before,
.result-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 999px;
  color: var(--accent-strong);
  background: var(--accent-soft);
  font-size: 0.76rem;
  font-weight: 800;
}

.hero-actions {
  display: grid;
  gap: 12px;
  align-items: center;
}

.hero-actions p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.42;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 20px;
  font-weight: 740;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.64;
  transform: none;
}

.button-primary {
  color: #ffffff;
  background: var(--accent-strong);
  box-shadow: 0 10px 24px rgba(95, 127, 18, 0.2);
}

.button-primary:hover {
  background: #536f10;
}

.button-secondary {
  color: var(--text);
  background: #ffffff;
  border-color: var(--border);
}

.button-secondary:hover {
  border-color: rgba(95, 127, 18, 0.3);
  box-shadow: var(--shadow-soft);
}

.hero-visual {
  min-width: 0;
}

.hero-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3.2;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: var(--radius);
  object-fit: cover;
  object-position: 70% 48%;
  box-shadow: var(--shadow);
}

.hero-photo[hidden] {
  display: none;
}

.hero-photo:not([hidden]) + .solar-card {
  display: none;
}

.solar-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f6fbf7);
  box-shadow: var(--shadow);
}

.solar-sky {
  position: relative;
  min-height: 160px;
  background: linear-gradient(180deg, #f8fcff, #effaf2);
}

.sun {
  position: absolute;
  top: 36px;
  right: 48px;
  width: 68px;
  height: 68px;
  border-radius: 999px;
  background: #f7c948;
  box-shadow: 0 0 0 16px rgba(247, 201, 72, 0.14);
}

.cloud {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
}

.cloud-one {
  left: 40px;
  top: 54px;
  width: 110px;
  height: 32px;
}

.cloud-two {
  left: 126px;
  top: 88px;
  width: 74px;
  height: 24px;
}

.roof {
  position: relative;
  min-height: 240px;
  margin: 0 28px 26px;
  clip-path: polygon(50% 0, 100% 36%, 86% 100%, 14% 100%, 0 36%);
  background: linear-gradient(135deg, #4b5563, #222b35);
}

.panel-grid {
  position: absolute;
  inset: 76px 52px 38px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  transform: perspective(700px) rotateX(8deg);
}

.panel-grid span {
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 5px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), transparent 38%),
    linear-gradient(180deg, #1f3a4c, #172635);
}

.visual-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 0 20px 20px;
}

.visual-metrics div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255, 255, 255, 0.86);
}

.metric-label {
  color: var(--muted);
  font-size: 0.86rem;
}

.benefits {
  padding: 46px 0;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 24px;
}

.section-heading p:last-child,
.wizard-intro p:last-child {
  color: var(--muted);
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.benefit-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.02);
}

.benefit-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.process-section {
  padding: 0 0 30px;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.process-step {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.02);
}

.step-number {
  display: inline-grid;
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 800;
}

.process-step p {
  margin-bottom: 0;
  color: var(--muted);
}

.funding-section {
  padding: 0 0 28px;
}

.funding-note-bar {
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 16px;
  background: rgba(243, 249, 232, 0.72);
}

.funding-note-bar p {
  margin: 0;
  color: #374151;
  font-size: 0.96rem;
}

.funding-note-bar strong {
  color: var(--accent-strong);
}

.funding-note-bar a,
.funding-note-bar .pending-link {
  color: var(--accent-strong);
  font-weight: 740;
  line-height: 1.35;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.icon {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: var(--radius);
  color: var(--accent-strong);
  background: var(--accent-soft);
  font-weight: 820;
}

.wizard-section {
  padding: 36px 0 68px;
}

.wizard-intro {
  max-width: 730px;
  margin-bottom: 22px;
}

.wizard-shell {
  overflow: hidden;
  border: 1px solid rgba(229, 231, 235, 0.94);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 46px rgba(38, 51, 40, 0.08);
}

.progress-wrap {
  padding: 18px 18px 0;
}

.progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 0.9rem;
}

.progress-meta strong {
  margin-left: auto;
  justify-self: end;
  color: var(--accent-strong);
  font-size: 0.84rem;
  font-weight: 700;
}

.progress-track {
  overflow: hidden;
  height: 6px;
  border-radius: 999px;
  background: #edf0eb;
}

.progress-bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--success));
  transition: width 260ms ease;
}

.progress-note {
  display: none;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.wizard-body {
  display: grid;
  gap: 24px;
  padding: 24px 18px 18px;
  animation: fadeUp 240ms ease both;
}

.question-head {
  max-width: 720px;
}

.question-kicker {
  color: var(--accent-strong);
  font-size: 0.88rem;
  font-weight: 760;
}

.question-title {
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 5.5vw, 2rem);
  line-height: 1.14;
  letter-spacing: 0;
}

.question-help {
  margin-bottom: 0;
  color: var(--muted);
}

.options-grid {
  display: grid;
  gap: 12px;
}

.option-card {
  position: relative;
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  color: var(--text);
  background: #ffffff;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.option-card:hover {
  border-color: rgba(95, 127, 18, 0.26);
  box-shadow: 0 8px 20px rgba(38, 51, 40, 0.05);
}

.option-card.is-selected {
  border-color: rgba(95, 127, 18, 0.62);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px rgba(95, 127, 18, 0.12);
}

.option-card.is-low-pressure {
  color: #48564c;
  background: #fbfcfa;
}

.option-check {
  display: grid;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid #cfd8d3;
  border-radius: 999px;
  color: transparent;
  background: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
}

.option-card.is-selected .option-check {
  border-color: var(--accent-strong);
  color: #ffffff;
  background: var(--accent-strong);
}

.option-label {
  font-weight: 680;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label,
.checkbox-row span {
  color: #1f2937;
  font-weight: 680;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--text);
  background: #ffffff;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(95, 127, 18, 0.58);
  outline: none;
  box-shadow: 0 0 0 4px rgba(149, 193, 31, 0.18);
}

.field-hint {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.field-error {
  margin-bottom: 0;
  color: var(--error);
  font-size: 0.9rem;
}

.notice {
  border: 1px solid rgba(154, 52, 18, 0.18);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--warning-text);
  background: var(--warning-bg);
}

.result-box {
  display: grid;
  gap: 18px;
  border: 1px solid rgba(95, 127, 18, 0.18);
  border-radius: var(--radius);
  padding: 20px;
  background: linear-gradient(180deg, #ffffff, rgba(243, 249, 232, 0.82));
}

.result-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checkbox-group {
  display: grid;
  gap: 12px;
}

.checkbox-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  border: 1px solid #dfe5df;
  border-radius: var(--radius);
  padding: 13px;
  background: #fbfcfa;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--accent-strong);
}

.checkbox-row p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.wizard-actions {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.contact-card {
  border: 1px solid rgba(95, 127, 18, 0.16);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: #334139;
  background: var(--accent-soft);
}

.contact-card p {
  margin-bottom: 0;
}

.contact-card-title {
  margin-bottom: 4px !important;
  color: var(--accent-strong);
  font-weight: 760;
}

.contact-fields {
  align-items: start;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
}

.contact-time {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px;
  background: #ffffff;
}

.time-option {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  font-weight: 700;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.time-option:hover,
.time-option.is-selected {
  border-color: rgba(95, 127, 18, 0.18);
  color: var(--accent-strong);
  background: var(--accent-soft);
}

.submit-status {
  margin: 0;
  color: var(--error);
}

.thank-you {
  display: grid;
  gap: 16px;
  padding: 24px 18px;
  animation: fadeUp 240ms ease both;
}

.success-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(111, 153, 24, 0.26);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--accent-strong);
  background: var(--accent-soft);
  font-weight: 760;
}

.next-step {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  background: #ffffff;
}

.next-step p {
  margin: 4px 0 0;
}

.next-step-muted {
  background: #fbfcfa;
}

.faq-section {
  padding: 0 0 42px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.02);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 16px 18px;
  color: var(--text);
  font-weight: 760;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  display: grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  color: var(--accent-strong);
  background: var(--accent-soft);
  font-size: 1.1rem;
  font-weight: 760;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.faq-item a,
.faq-item .pending-link {
  color: var(--accent-strong);
  font-weight: 740;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: space-between;
  padding: 24px 0 38px;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a {
  color: var(--accent-strong);
  font-weight: 740;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

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

.footer-links a:hover {
  text-decoration: underline;
}

.footer-cta {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border: 1px solid rgba(95, 127, 18, 0.22);
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--accent-soft);
}

.checkbox-row a {
  color: var(--accent-strong);
  font-weight: 740;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (min-width: 640px) {
  .header-trust {
    display: inline-flex;
  }

  .brand-logo {
    width: min(150px, 20vw);
    max-height: 40px;
  }

  .hero-actions {
    grid-template-columns: max-content 1fr;
  }

  .hero-photo {
    aspect-ratio: 16 / 12;
  }

  .visual-metrics {
    grid-template-columns: 1fr 1.4fr;
  }

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

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

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

  .wizard-actions {
    grid-template-columns: max-content 1fr;
  }

  .wizard-actions .button-primary {
    justify-self: end;
  }

  .thank-you,
  .wizard-body,
  .progress-wrap {
    padding-inline: 28px;
  }
}

@media (min-width: 920px) {
  .hero {
    grid-template-columns: minmax(0, 0.98fr) minmax(390px, 1.02fr);
    gap: 54px;
    padding-top: 36px;
  }

  .hero-photo {
    aspect-ratio: 1 / 0.86;
  }

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

  .wizard-shell {
    display: grid;
    grid-template-columns: 300px 1fr;
  }

  .progress-wrap {
    border-right: 1px solid var(--border);
    padding: 28px;
    background: linear-gradient(180deg, rgba(243, 249, 232, 0.82), #ffffff);
  }

  .progress-meta {
    display: grid;
    gap: 6px;
  }

  .progress-note {
    display: block;
  }

  .wizard-body {
    min-height: 520px;
    align-content: space-between;
    padding: 32px;
  }

  .thank-you {
    grid-column: 1 / -1;
    padding: 42px;
  }
}
