:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --page: #ffffff;
  --soft: #f5f5f7;
  --soft-2: #fbfbfd;
  --line: #d2d2d7;
  --red: #c9253a;
  --red-dark: #9f1d31;
  --green: #2d7d68;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 58px;
  padding: 0 clamp(20px, 5vw, 72px);
  background: rgba(251, 251, 253, .82);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  backdrop-filter: saturate(180%) blur(20px);
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  width: 190px;
  height: auto;
}

nav {
  display: flex;
  justify-content: center;
  gap: 34px;
  color: #424245;
  font-size: .86rem;
  font-weight: 500;
}

nav a,
.header-action {
  transition: color .18s ease, opacity .18s ease;
}

nav a:hover,
.header-action:hover {
  color: var(--red);
}

.header-action {
  color: var(--red);
  font-size: .86rem;
  font-weight: 600;
}

.header-action::after {
  content: ">";
  padding-left: 5px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(360px, 1.18fr);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
  min-height: min(770px, calc(100vh - 58px));
  padding: clamp(46px, 7vw, 86px) clamp(20px, 5vw, 72px) 42px;
  background: linear-gradient(180deg, #fff 0%, #f7f7f9 100%);
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: .82rem;
  font-weight: 700;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.4rem, 7vw, 6.7rem);
  font-weight: 700;
  line-height: .93;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2.35rem, 5vw, 5.2rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 9px;
  font-size: 1.35rem;
  font-weight: 650;
}

.lede {
  max-width: 570px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.24rem, 2vw, 1.62rem);
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.button,
.quote-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: .96rem;
  font-weight: 600;
}

.button.primary,
.quote-form button {
  background: var(--red);
  color: #fff;
}

.button.secondary {
  color: var(--red);
  background: transparent;
}

.button.secondary::after {
  content: ">";
  padding-left: 6px;
}

.hero-visual {
  position: relative;
  margin: 0;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: auto 8% -8% 8%;
  height: 26%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, .16), transparent 65%);
  filter: blur(14px);
}

.hero-visual img {
  position: relative;
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, .08);
}

.hero-visual figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 260px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 12px;
  color: #424245;
  font-size: .85rem;
  font-weight: 500;
  backdrop-filter: blur(18px);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0 clamp(20px, 5vw, 72px);
  background: var(--soft);
}

.proof-strip div {
  min-height: 118px;
  padding: 28px 8px;
  background: var(--soft);
  text-align: center;
}

.proof-strip dt {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
}

.proof-strip dd {
  margin: 0;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.35;
}

.band {
  padding: clamp(58px, 7vw, 96px) clamp(20px, 5vw, 72px);
  background: #111113;
  color: #fff;
  text-align: center;
}

.intro-band p {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(2rem, 4.5vw, 4.5rem);
  font-weight: 650;
  line-height: 1.05;
}

.section,
.quote-section {
  padding: clamp(64px, 9vw, 128px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 920px;
  margin: 0 auto clamp(30px, 5vw, 58px);
  text-align: center;
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.system-grid article,
.timeline article,
.calculator,
.quote-form {
  background: var(--soft-2);
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 22px;
}

.system-grid article {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  isolation: isolate;
}

.system-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 78% 12%, rgba(201, 37, 58, .12), transparent 34%),
    linear-gradient(180deg, #fff, var(--soft-2));
}

.system-card h3 {
  font-size: 1.52rem;
}

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

.system-grid p,
.timeline p,
.savings p,
.quote-section p,
footer p {
  color: var(--muted);
  line-height: 1.48;
}

.icon {
  position: absolute;
  left: 26px;
  top: 24px;
  color: var(--red);
  font-size: .95rem;
  font-weight: 700;
}

.mini-roof,
.battery-meter,
.output-chart {
  margin: 34px 0 auto;
}

.mini-roof {
  position: relative;
  height: 128px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, transparent 45%, rgba(0, 0, 0, .08) 46% 48%, transparent 49%),
    linear-gradient(180deg, #eef7ff, #fff);
  border: 1px solid rgba(0, 0, 0, .06);
}

.mini-roof span {
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 28px;
  height: 44px;
  background: #1f3342;
  transform: skewX(-18deg);
  border-radius: 7px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .2) inset;
}

.mini-roof span::before,
.mini-roof span::after {
  content: "";
  position: absolute;
  inset: 10px 12px;
  border-top: 1px solid rgba(142, 214, 226, .55);
  border-bottom: 1px solid rgba(142, 214, 226, .55);
}

.mini-roof span::after {
  inset: 0;
  border: 0;
  background: repeating-linear-gradient(90deg, transparent 0 42px, rgba(142, 214, 226, .45) 43px 44px);
}

.mini-roof i {
  position: absolute;
  right: 28px;
  top: 22px;
  width: 40px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffd36d;
  box-shadow: 0 0 0 18px rgba(255, 211, 109, .18);
}

.battery-meter {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  height: 128px;
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 20px;
  background: linear-gradient(180deg, #f7fbff, #fff);
}

.battery-meter span {
  align-self: end;
  border-radius: 12px;
  background: linear-gradient(180deg, #54d18a, #1f9f6e);
}

.battery-meter span:nth-child(1) { height: 46%; }
.battery-meter span:nth-child(2) { height: 68%; }
.battery-meter span:nth-child(3) { height: 92%; }

.output-chart {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  height: 128px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, .06);
  background:
    linear-gradient(180deg, rgba(0, 113, 227, .08), transparent),
    #fff;
}

.output-chart span {
  flex: 1;
  height: var(--h);
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, #0071e3, #75bfff);
}

.process-section {
  background: var(--soft);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), #0071e3);
}

.timeline article {
  position: relative;
  min-height: 235px;
  padding: 26px 24px 24px;
  background:
    linear-gradient(180deg, #fff, #fbfbfd);
}

.timeline article span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  aspect-ratio: 1;
  margin-bottom: 38px;
  background: var(--ink);
  border: 4px solid var(--soft);
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
}

.timeline article h3::before {
  display: none;
}

.savings {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .55fr);
  align-items: center;
  gap: clamp(28px, 7vw, 105px);
}

.savings > div {
  max-width: 760px;
}

.calculator {
  display: grid;
  gap: 16px;
  padding: 26px;
}

.calculator label,
.quote-form label {
  display: grid;
  gap: 8px;
  color: #424245;
  font-size: .92rem;
  font-weight: 600;
}

input,
select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
}

input[type="range"] {
  min-height: 24px;
  padding: 0;
  accent-color: var(--red);
}

output {
  color: var(--ink);
  font-size: 2rem;
  font-weight: 700;
}

.estimate {
  display: grid;
  gap: 6px;
  margin-top: 4px;
  padding: 22px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 18px;
}

.estimate span {
  color: var(--red);
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  font-weight: 700;
  line-height: .95;
}

.estimate small {
  color: var(--muted);
  font-weight: 500;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(320px, .62fr);
  gap: clamp(28px, 7vw, 105px);
  align-items: center;
  background: #111113;
  color: #fff;
}

.quote-copy {
  max-width: 760px;
}

.quote-section p {
  color: rgba(255, 255, 255, .66);
  font-size: 1.12rem;
}

.quote-form {
  display: grid;
  gap: 15px;
  padding: 24px;
  color: var(--ink);
  background: #fff;
}

.quote-form button {
  width: 100%;
  margin-top: 2px;
}

.botcheck {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.contact-panel {
  display: grid;
  width: 100%;
  margin-top: 28px;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 108px;
  width: 100%;
  padding: 24px 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(239, 247, 255, .98));
  border: 1px solid rgba(0, 113, 227, .34);
  border-radius: 22px;
  box-shadow: 0 20px 55px rgba(0, 113, 227, .18);
  transition: transform .18s ease, box-shadow .18s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 70px rgba(0, 113, 227, .24);
}

.contact-card span {
  display: grid;
  gap: 6px;
}

.contact-card small {
  color: #424245;
  font-size: .92rem;
  font-weight: 600;
}

.contact-card strong {
  color: #0071e3;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-card b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 15px;
  background: #0071e3;
  border-radius: 999px;
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
}

.contact-card b::after {
  content: " >";
  padding-left: 5px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
  text-align: center;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  background: var(--soft);
  border-top: 1px solid rgba(0, 0, 0, .06);
}

footer img {
  width: 170px;
}

footer p {
  margin-bottom: 0;
  text-align: right;
  font-size: .92rem;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  nav {
    display: none;
  }

  .hero,
  .savings,
  .quote-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    text-align: center;
  }

  .hero-copy,
  .lede {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

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

@media (max-width: 640px) {
  .site-header {
    min-height: 54px;
    padding-inline: 16px;
  }

  .brand img {
    width: 154px;
  }

  .header-action {
    font-size: .82rem;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .proof-strip,
  .system-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    padding-inline: 20px;
  }

  .hero-visual figcaption {
    position: static;
    margin-top: 10px;
  }

  .contact-card {
    align-items: flex-start;
    flex-direction: column;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  footer p {
    text-align: left;
  }
}
