:root {
  --cyan: #06B6D4;
  --lime: #A6F800;
  --ink: #0B0F19;
  --surface: #FFFFFF;
  --muted: #6B7280;
  --line: #D7DEE8;
  --soft: #F4FAFC;
  --danger: #B42318;
  --shadow: 0 18px 60px rgba(11, 15, 25, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.shell {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}

.narrow {
  max-width: 780px;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid rgba(11, 15, 25, 0.08);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  width: 172px;
  height: auto;
}

.hero {
  min-height: 690px;
  background: var(--cyan) url("/assets/hero-bg.svg") center / cover no-repeat;
  color: var(--ink);
  display: flex;
  align-items: center;
  padding: 58px 0 68px;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1,
.thanks-hero h1,
.legal-copy h1 {
  margin: 0;
  max-width: 760px;
  font-size: 2.42rem;
  line-height: 0.99;
  letter-spacing: 0;
}

.hero-sub,
.thanks-hero p,
.form-copy p,
.calendar-placeholder p {
  max-width: 620px;
  margin: 20px 0 0;
  font-size: 1.05rem;
  color: rgba(11, 15, 25, 0.78);
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

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

.button-dark {
  color: var(--surface);
  background: var(--ink);
  box-shadow: 0 14px 30px rgba(11, 15, 25, 0.24);
}

.button-submit {
  width: 100%;
  color: var(--ink);
  background: var(--lime);
  box-shadow: 0 14px 30px rgba(166, 248, 0, 0.26);
}

.button[disabled] {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.mock-bill,
.roof-card {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  padding: 22px;
}

.mock-bill span,
.roof-card span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.mock-bill strong,
.roof-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.45rem;
  line-height: 1.08;
}

.bill-bars {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.bill-bars i {
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--lime));
}

.bill-bars i:nth-child(2) {
  width: 74%;
}

.bill-bars i:nth-child(3) {
  width: 48%;
}

.value-row,
.steps,
.faq,
.calendar-section {
  padding: 64px 0;
}

.value-grid,
.testimonial-grid,
.step-grid {
  display: grid;
  gap: 16px;
}

.value-grid article,
.testimonial-grid figure,
.step-grid li,
.lead-form,
.calendar-slot,
.legal-copy {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.value-grid article,
.testimonial-grid figure,
.step-grid li {
  margin: 0;
  padding: 24px;
}

.value-icon,
.step-grid span {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--ink);
  background: var(--lime);
  font-weight: 800;
}

.value-grid h2,
.step-grid h3 {
  margin: 18px 0 8px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.value-grid p,
.step-grid p,
.testimonial-grid blockquote,
.testimonial-grid figcaption,
.faq-list p,
.legal-copy p,
.legal-copy li {
  color: var(--muted);
}

.value-grid p,
.step-grid p,
.testimonial-grid blockquote,
.faq-list p {
  margin: 0;
}

.proof-strip,
.form-band {
  background: var(--soft);
  padding: 64px 0;
}

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

.section-heading h2,
.form-copy h2,
.calendar-placeholder h2,
.legal-copy h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.04;
  letter-spacing: 0;
}

.testimonial-grid figure {
  box-shadow: 0 10px 34px rgba(11, 15, 25, 0.06);
}

.testimonial-grid blockquote {
  font-size: 1rem;
}

.testimonial-grid figcaption {
  margin-top: 18px;
  font-weight: 800;
}

.form-layout {
  display: grid;
  gap: 28px;
  align-items: start;
}

.form-band {
  scroll-margin-top: 18px;
}

.lead-form {
  padding: 22px;
  box-shadow: var(--shadow);
}

.form-status {
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 700;
}

.field {
  margin-bottom: 16px;
}

.field label,
.radio-group legend {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"] {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--surface);
  outline: none;
}

.field input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.16);
}

.field input[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-help,
.field-error,
.form-note {
  margin: 7px 0 0;
  font-size: 0.86rem;
}

.field-help,
.form-note {
  color: var(--muted);
}

.field-error {
  min-height: 1.2em;
  color: var(--danger);
  font-weight: 700;
}

.radio-group {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}

.radio-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  font-weight: 700;
  cursor: pointer;
}

.radio-card:has(input:checked) {
  border-color: var(--cyan);
  background: rgba(6, 182, 212, 0.08);
}

.radio-card input,
.consent-row input {
  width: 20px;
  height: 20px;
  accent-color: var(--cyan);
  flex: 0 0 auto;
}

.consent-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-top: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #F9FBFC;
}

.consent-row label {
  color: var(--muted);
  font-size: 0.88rem;
}

.consent-row a,
.legal-copy a {
  color: var(--ink);
  font-weight: 800;
}

.consent-error {
  margin-bottom: 8px;
}

.step-grid {
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.faq-layout {
  display: grid;
  gap: 24px;
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px 18px;
}

.faq-list summary {
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.faq-list p {
  margin-top: 12px;
}

.page-main,
.legal-page {
  background: var(--soft);
}

.thanks-hero {
  padding: 72px 0 40px;
  background: var(--cyan) url("/assets/hero-bg.svg") center / cover no-repeat;
}

.calendar-slot {
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.calendar-placeholder {
  max-width: 520px;
  text-align: center;
}

.calendar-placeholder code {
  overflow-wrap: anywhere;
}

.legal-page {
  padding: 48px 0 64px;
}

.legal-copy {
  padding: 28px;
  box-shadow: 0 12px 34px rgba(11, 15, 25, 0.06);
}

.legal-copy h1 {
  margin-bottom: 10px;
}

.legal-copy h2 {
  margin-top: 30px;
  font-size: 1.35rem;
}

.legal-copy p {
  margin: 12px 0 0;
}

.updated {
  font-weight: 800;
}

.site-footer {
  background: var(--ink);
  color: var(--surface);
  padding-top: 34px;
}

.footer-inner {
  display: grid;
  gap: 18px;
  align-items: center;
  justify-items: center;
  padding-bottom: 26px;
}

.footer-logo {
  width: 150px;
  height: auto;
}

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

.footer-links a {
  color: var(--surface);
  font-weight: 800;
  text-decoration: none;
}

.legal-attribution {
  margin: 0;
  padding: 12px 18px 14px;
  color: #9CA3AF;
  font-size: 10pt;
  line-height: 1.35;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 360px) {
  .shell {
    padding: 0 14px;
  }

  .hero h1,
  .thanks-hero h1,
  .legal-copy h1 {
    font-size: 2.08rem;
  }

  .section-heading h2,
  .form-copy h2,
  .calendar-placeholder h2 {
    font-size: 1.74rem;
  }

  .button {
    width: 100%;
  }

  .lead-form,
  .legal-copy {
    padding: 18px;
  }
}

@media (min-width: 720px) {
  .shell {
    padding: 0 28px;
  }

  .header-inner {
    justify-content: flex-start;
  }

  .hero h1,
  .thanks-hero h1,
  .legal-copy h1 {
    font-size: 4.05rem;
  }

  .hero-sub,
  .thanks-hero p,
  .form-copy p {
    font-size: 1.16rem;
  }

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

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

  .radio-group legend,
  .radio-group .field-error {
    grid-column: 1 / -1;
  }

  .footer-inner {
    grid-template-columns: auto 1fr;
    justify-items: start;
  }

  .footer-links {
    justify-self: end;
  }
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(310px, 0.75fr);
  }

  .hero-panel {
    transform: rotate(1deg);
  }

  .form-layout {
    grid-template-columns: minmax(0, 0.84fr) minmax(420px, 1fr);
  }

  .faq-layout {
    grid-template-columns: minmax(0, 0.7fr) minmax(420px, 1fr);
  }

  .lead-form {
    padding: 30px;
  }
}
