.p4-page {
  --ink: #19564d;
  --muted: #5e736c;
  --paper: #f8f6ef;
  background: var(--paper);
}
.p4-commercial {
  --ink: #183c4c;
  --muted: #59717c;
  --paper: #f4f6f6;
  --line: #d3dee0;
}
.p4-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 62px;
  padding-bottom: 58px;
}
.p4-hero h1 {
  font-size: clamp(38px, 4.2vw, 59px);
  letter-spacing: -2.5px;
  max-width: 630px;
}
.p4-hero .lede {
  max-width: 530px;
  margin-bottom: 28px;
}
.p4-hero-note {
  font-size: 11px;
  margin: 17px 0 0;
  color: var(--muted);
}
.p4-scene {
  background: #e7ede2;
  border-radius: 160px 160px 8px 8px;
  overflow: hidden;
  padding: 20px 16px 24px;
}
.p4-scene svg {
  width: 100%;
  height: auto;
  display: block;
}
.p4-scene-caption {
  border-top: 1px solid #b9cec0;
  padding: 20px 16px 0;
}
.p4-scene-caption span {
  display: block;
  font-size: 9px;
  letter-spacing: 1.8px;
  margin-bottom: 10px;
}
.p4-scene-caption strong {
  font-size: 14px;
  font-weight: 500;
}
.p4-commercial .p4-hero {
  background: #173544;
  color: #f1f5ef;
}
.p4-commercial .p4-hero .lede,
.p4-commercial .p4-hero-note {
  color: #bdd0d0;
}
.p4-commercial .p4-hero .button {
  background: #d3e994;
  color: #173544;
  border-color: #d3e994;
}
.p4-commercial .p4-scene {
  background: #203f4e;
  border-radius: 8px;
  padding-top: 0;
}
.p4-commercial .p4-scene-caption {
  border-color: #47616e;
}
.p4-intro-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.p4-intro-strip > div {
  display: flex;
  gap: 17px;
  align-items: start;
}
.p4-intro-strip b {
  font-size: 12px;
  color: #738d73;
  font-weight: 400;
}
.p4-intro-strip strong {
  display: block;
  font-size: 13px;
  margin-bottom: 7px;
}
.p4-intro-strip span {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  display: block;
}
.p4-rule-note {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 26px;
}
.p4-workspace {
  scroll-margin-top: 22px;
  outline: none;
}
.p4-form-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}
.p4-steps {
  padding: 28px 0;
}
.p4-steps ol {
  list-style: none;
  padding: 0;
  margin: 28px 0 40px;
}
.p4-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.p4-steps li[aria-current] {
  color: var(--ink);
  font-weight: bold;
}
.p4-steps li[aria-current] > span {
  background: var(--ink);
  color: white;
}
.p4-steps li > span {
  border: 1px solid var(--line);
  border-radius: 50%;
  padding: 7px;
  font-size: 10px;
}
.p4-steps li small {
  margin-left: auto;
}
.p4-steps p {
  font-size: 23px;
  line-height: 1.4;
  letter-spacing: -0.5px;
}
.p4-steps > small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  display: block;
  max-width: 200px;
}
.p4-form h3 {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.6px;
  margin: 0 0 14px;
}
.p4-step-note {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 750px;
  margin-bottom: 28px;
}
.p4-form .fields {
  gap: 24px;
}
.p4-form .field {
  line-height: 1.6;
  min-width: 0;
}
.p4-form input,
.p4-form select {
  min-height: 48px;
  background: #f9faf7;
}
.p4-form [aria-invalid="true"] {
  border-color: #a72c25;
}
.p4-form input[readonly] {
  background: #e9eeeb;
}
.p4-result h2 {
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 18px 0;
}
.p4-result-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 28px 0;
}
.p4-result-cards article {
  padding: 28px;
  background: #e3ece1;
  border: 1px solid #c9dac7;
  border-radius: 8px;
  min-width: 0;
}
.p4-commercial .p4-result-cards article {
  background: #e5edef;
  border-color: var(--line);
}
.p4-result-cards span,
.p4-result-cards small {
  font-size: 12px;
  display: block;
  line-height: 1.7;
}
.p4-result-cards strong {
  display: block;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.25;
  margin: 17px 0;
  font-weight: 500;
  letter-spacing: -1px;
}
.p4-notes {
  padding: 24px;
  background: #edece2;
  border-radius: 8px;
  margin: 20px 0;
  font-size: 13px;
  line-height: 1.85;
}
.p4-notes h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}
.p4-notes ul {
  list-style: disc;
  padding-left: 18px;
  margin-bottom: 0;
}
.p4-notes li + li {
  margin-top: 8px;
}
.p4-breakdown {
  border: 1px solid var(--line);
  padding: 26px;
  border-radius: 8px;
  background: white;
}
.p4-breakdown h3 {
  font-size: 18px;
  font-weight: 500;
}
.p4-breakdown dl {
  margin: 18px 0;
}
.p4-breakdown dl > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.6;
}
.p4-breakdown dd {
  text-align: right;
  white-space: nowrap;
  margin: 0;
  font-weight: 600;
}
.p4-result .assumptions {
  overflow-wrap: anywhere;
  background: white;
}
.p4-energy {
  background: #1c4050;
  color: #eff6f1;
  padding: 28px;
  border-radius: 8px;
  margin: 24px 0;
}
.p4-energy > div > span {
  font-size: 10px;
  letter-spacing: 1.3px;
}
.p4-energy h3 {
  font-size: 29px;
  font-weight: 500;
  margin: 10px 0 24px;
}
.p4-energy-bar {
  height: 20px;
  background: #789da3;
  border-radius: 3px;
  overflow: hidden;
}
.p4-energy-bar span {
  height: 100%;
  display: block;
  background: #d3e994;
}
.p4-energy-legend {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin: 16px 0;
  flex-wrap: wrap;
}
.p4-energy .p4-energy-legend span {
  letter-spacing: 0;
  font-size: 12px;
}
.p4-energy-legend i {
  width: 8px;
  height: 8px;
  background: #d3e994;
  display: inline-block;
  margin-right: 6px;
}
.p4-energy-legend span + span i {
  background: #789da3;
}
.p4-energy p {
  font-size: 12px;
  line-height: 1.8;
  margin: 0;
  color: #bed0d1;
}
.p4-scenarios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.p4-scenarios article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 23px;
  min-width: 0;
}
.p4-scenarios article.featured {
  border: 2px solid #63887e;
  padding: 22px;
}
.p4-scenarios .eyebrow {
  letter-spacing: 0.7px;
  font-size: 10px;
}
.p4-scenarios h3 {
  font-size: 25px;
  margin: 22px 0;
  font-weight: 500;
}
.p4-scenarios h3 small {
  font-size: 11px;
}
.p4-scenarios dl > div {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.6;
}
.p4-scenarios dd {
  font-size: 15px;
  margin: 4px 0 0;
}
.p4-payback {
  margin-top: 24px;
}
.p4-payback small {
  font-size: 11px;
  display: block;
  color: var(--muted);
  line-height: 1.6;
}
.p4-payback strong {
  display: block;
  font-size: 22px;
  font-weight: 500;
  margin: 8px 0;
}
.p4-contact {
  max-width: 760px;
  padding-top: 20px;
  font-size: 14px;
  line-height: 1.8;
}
.p4-page .faq h2 {
  font-size: 30px;
  font-weight: 500;
  margin-top: 20px;
  line-height: 1.3;
}
@media (max-width: 900px) {
  .p4-hero-grid {
    gap: 25px;
  }
  .p4-form-layout {
    grid-template-columns: 200px 1fr;
    gap: 22px;
  }
  .p4-scenarios {
    gap: 10px;
  }
  .p4-scenarios article {
    padding: 17px;
  }
  .p4-scenarios article.featured {
    padding: 16px;
  }
  .p4-page .header {
    gap: 12px;
  }
  .p4-page .brand {
    font-size: 16px;
  }
}
@media (max-width: 680px) {
  .p4-page .header {
    flex-wrap: wrap;
  }
  .p4-page .brand {
    font-size: 16px;
  }
  .p4-page .brand-mark {
    flex-shrink: 0;
  }
  .p4-hero-grid {
    grid-template-columns: 1fr;
    padding-top: 36px;
    padding-bottom: 32px;
    gap: 30px;
  }
  .p4-hero h1 {
    font-size: 39px;
    letter-spacing: -1.7px;
  }
  .p4-scene {
    max-width: 460px;
    width: 100%;
    margin: auto;
  }
  .p4-scene svg {
    max-height: 260px;
  }
  .p4-intro-strip {
    gap: 14px;
    grid-template-columns: 1fr;
  }
  .p4-intro-strip > div {
    align-items: center;
  }
  .p4-intro-strip strong {
    margin-bottom: 2px;
  }
  .p4-form-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .p4-steps {
    padding: 0;
  }
  .p4-steps > .eyebrow,
  .p4-steps > p,
  .p4-steps > small {
    display: none;
  }
  .p4-steps ol {
    display: flex;
    gap: 7px;
    margin: 0;
    flex-wrap: wrap;
  }
  .p4-steps li {
    padding: 7px 0;
    font-size: 10px;
    gap: 5px;
    border: none;
  }
  .p4-steps li small {
    display: none;
  }
  .p4-result-cards,
  .p4-scenarios {
    grid-template-columns: 1fr;
  }
  .p4-result h2 {
    font-size: 29px;
  }
  .p4-result-cards article,
  .p4-energy,
  .p4-notes,
  .p4-breakdown {
    padding: 20px;
  }
  .p4-result-cards strong {
    font-size: 29px;
  }
  .p4-breakdown dl > div {
    font-size: 11px;
    gap: 10px;
  }
  .p4-scenarios dl > div {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
  }
  .p4-scenarios dd {
    text-align: right;
    margin: 0;
    white-space: nowrap;
  }
  .p4-step-note {
    font-size: 13px;
  }
  .p4-workspace .form-panel {
    padding: 20px;
  }
  .p4-page .footer nav {
    flex-wrap: wrap;
  }
  .p4-page .eyebrow {
    letter-spacing: 1px;
  }
}
