.v7-home {
  --navy: #080808;
  --secondary: #151515;
  --ice: #6cd7f5;
  --blue: #6cd7f5;
  --paper: #b3b3bb;
  --line: #2c2c2c;
  --v7-width: 1240px;
  --v7-gutter: clamp(20px, 5vw, 72px);
  color: var(--paper);
}

.v7-home .v5-button {
  border-color: var(--white);
  background: var(--white);
  color: var(--navy);
  border-radius: 7px;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.v7-home .v5-button:hover {
  border-color: #d9d9de;
  background: #d9d9de;
}

.v7-home .v5-outline {
  border-color: #37373f;
  background: transparent;
  color: var(--white);
}

.v7-home .v5-outline:hover {
  border-color: #555561;
  background: #1d1d22;
}

.v7-home .v5-explorer {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto;
  min-block-size: 0;
  max-width: 1440px;
  margin-inline: auto;
  padding: clamp(52px, 5.2vw, 84px) clamp(20px, 2.5vw, 36px) clamp(48px, 6vw, 88px);
}

.v7-home #building > .v8-hero {
  display: grid;
  grid-column: 1 / -1;
  align-items: center;
  justify-items: center;
  gap: 20px;
}

.v7-home .v5-pitch {
  display: block;
  padding: 0;
  max-width: 1010px;
  text-align: center;
}

.v7-home .v5-pitch h1 {
  margin: 0;
  color: #f8f8fa;
  font-size: clamp(41px, 6.2vw, 90px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.066em;
  text-wrap: balance;
}

.v7-home .v5-pitch > p {
  max-width: 680px;
  margin: 22px auto 0;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.65;
  text-wrap: pretty;
}

.v7-home .v8-hero > .v5-actions {
  flex-flow: column nowrap;
  gap: 10px;
  width: min(100%, 192px);
  margin: 0;
}

.v7-home .v5-actions .v5-button {
  min-width: 0;
  min-height: 46px;
  padding-inline: 17px;
}

.v7-home .v5-explorer > .v5-art {
  grid-area: 2 / 1;
  justify-self: center;
  width: min(100%, 1094px);
  margin: clamp(28px, 3.1vw, 48px) 0 0;
}

.v7-section-drawing {
  display: block;
  width: 100%;
  height: auto;
}

.v7-signal {
  color: #727681;
  opacity: .72;
  transition: color 170ms ease, opacity 170ms ease;
}

.v7-home .v5-art:has([data-system="hvac"][aria-pressed="true"]) .v7-signal-hvac,
.v7-home .v5-art:has([data-system="environment"][aria-pressed="true"]) .v7-signal-environment,
.v7-home .v5-art:has([data-system="water"][aria-pressed="true"]) .v7-signal-water,
.v7-home .v5-art:has([data-system="equipment"][aria-pressed="true"]) .v7-signal-equipment,
.v7-home .v5-art:has([data-system="cameras"][aria-pressed="true"]) .v7-signal-cameras,
.v7-home .v5-art:has([data-system="security"][aria-pressed="true"]) .v7-signal-security,
.v7-home .v5-art:has([data-system="lighting"][aria-pressed="true"]) .v7-signal-lighting,
.v7-home .v5-art:has([data-system="occupancy"][aria-pressed="true"]) .v7-signal-occupancy,
.v7-home .v5-art:has([data-system="shutoff"][aria-pressed="true"]) .v7-signal-shutoff {
  color: var(--ice);
  opacity: 1;
}

.v7-home .v5-explorer > .v5-connectors {
  display: none;
}

.v7-home .v5-pin::after {
  width: 11px;
  height: 11px;
  border: 1px solid #fafafa;
  background: #27272e;
  transition: background-color 170ms ease, box-shadow 170ms ease;
}

.v7-home .v5-pin.is-active::after,
.v7-home .v5-pin:hover::after {
  border-color: var(--ice);
  background: var(--blue);
  box-shadow: 0 0 0 2px rgb(108 215 245 / 18%);
}

.v7-cost-visual {
  margin: 0;
  padding: clamp(20px, 3.5vw, 50px) 0 clamp(12px, 2vw, 28px);
  border-block: 1px solid var(--line);
  text-align: center;
}

.v7-cost-visual figcaption {
  display: table;
  margin-inline: auto;
  padding: 9px 18px;
  border: 1px solid var(--line);
  background: #151515;
  color: var(--white);
  font-size: clamp(14px, 1.5vw, 21px);
  font-weight: 500;
}

.v7-cost-visual svg {
  display: block;
  width: 100%;
  height: clamp(52px, 7vw, 100px);
  overflow: visible;
}

.v7-cost-visual path {
  fill: none;
  stroke: var(--paper);
  stroke-opacity: .45;
  vector-effect: non-scaling-stroke;
}

.v7-cost-factors {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.v7-cost-factors li {
  position: relative;
  min-height: 58px;
  padding: 16px 2px 8px;
  border-block: 1px solid var(--line);
  color: var(--white);
  font-size: clamp(12px, 1.35vw, 19px);
}

.v7-cost-factors li::before {
  position: absolute;
  inset-block-start: -3px;
  inset-inline-start: 50%;
  width: 7px;
  height: 7px;
  border: 1px solid var(--paper);
  border-radius: 50%;
  background: var(--navy);
  transform: translateX(-50%);
  content: "";
}

.v7-seasonal-plot figcaption {
  margin-bottom: 12px;
  font-size: 13px;
}

.v7-seasonal-plot svg {
  display: block;
  width: 100%;
  height: auto;
}

.v7-home .v5-system-detail {
  border: 0;
  padding: 8px 0 0;
  margin: 0;
  font-size: 13px;
  color: var(--paper);
}

.v7-home .v6-editorial {
  max-width: var(--v7-width);
  margin-inline: auto;
  padding: clamp(48px, 7vw, 100px) var(--v7-gutter);
  gap: clamp(20px, 5vw, 78px);
}

.v7-home .v6-editorial h2 {
  font-size: clamp(29px, 3.6vw, 52px);
  font-weight: 600;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.v7-home .v6-copy p {
  margin-top: 18px;
  max-width: 58ch;
}

.v7-home .v6-demo {
  width: 100%;
}

.v7-home .v6-demo legend {
  color: var(--paper);
  margin-bottom: 14px;
  font-size: 13px;
}

.v7-home .v6-demo-pair {
  gap: 4px;
  border-bottom: 1px solid var(--line);
}

.v7-home .v6-demo-control {
  background: transparent;
  border-color: transparent;
  border-radius: 0;
  padding-inline: 9px;
  color: var(--paper);
  transition: background-color 170ms ease, color 170ms ease;
}

.v7-home .v6-demo-control:has(input:checked) {
  border-color: transparent;
  border-bottom-color: #a0a0a0;
  background: #1c1c1c;
  color: var(--white);
}

.v7-home .v6-demo-control input {
  accent-color: #d5d5d5;
}

.v7-home .v6-demo-feedback {
  margin-top: 17px;
  gap: 8px;
  font-size: 14px;
}

.v7-home .v6-demo-feedback output {
  color: var(--white);
}

.v7-timeline {
  margin-top: 22px;
}

.v7-timeline figcaption {
  margin-bottom: 13px;
  color: var(--paper);
  font-size: 13px;
}

.v7-timeline figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 18px;
}

.v7-schedule-readout output {
  margin-inline-start: 5px;
  color: var(--white);
  font-weight: 600;
  white-space: nowrap;
}

.v7-time-axis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 0;
  font-size: clamp(10px, 1.05vw, 13px);
  font-variant-numeric: tabular-nums;
}

.v7-time-axis span:not(:first-child) {
  justify-self: start;
  transform: translateX(-50%);
}

.v7-time-axis span:last-child {
  transform: translateX(-100%);
}

.v7-schedule-track {
  position: relative;
  height: clamp(50px, 6vw, 82px);
  margin-top: 8px;
  border-block: 1px solid var(--line);
  background: repeating-linear-gradient(to right, #303030 0 1px, transparent 1px calc(100% / 24)), #141414;
}

.v7-schedule-window {
  position: absolute;
  inset-block: 26%;
  inset-inline-start: var(--schedule-left, 0%);
  width: var(--schedule-width, 100%);
  border-inline-start: 2px solid var(--ice);
  background: #4b4b4b;
  transition: inset-inline-start 230ms ease, width 230ms ease, background-color 170ms ease;
}

#v7-schedule-demo:has(input[value="better"]:checked) .v7-schedule-window {
  background: color-mix(in srgb, var(--ice) 29%, #151515);
}

.v7-hour-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px clamp(14px, 4vw, 48px);
  margin-top: 20px;
}

.v7-hour-controls > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 8px;
  font-size: 13px;
}

.v7-hour-controls output {
  color: var(--white);
}

.v7-hour-controls input {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 44px;
  margin: 0;
  accent-color: #d5d5d5;
}

.v7-demo-context {
  color: var(--paper);
  font-size: 12px;
}


/* Shared temperature trace styles also used by the retained weather section. */
.v7-chart-grid {
  stroke: #363636;
  stroke-width: 1;
}

.v7-chart-labels {
  fill: #b3b3bb;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.v7-temp-curve {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.v7-temp-curve {
  stroke: var(--ice);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.v7-temp-dot {
  fill: var(--ice);
}

@media (min-width: 761px) {
  .v7-chart-labels { font-size: 11px; }
  .v7-temp-curve { stroke-width: 2; }
}
.v7-home .v5-pitch > .v7-hero-support {
  margin-top: 10px;
  font-size: clamp(14px, 1.1vw, 16px);
}

.v7-home .v6-copy > .v7-comparison-message {
  max-width: none;
  margin-top: 0;
  color: var(--white);
  font-size: clamp(17px, 1.65vw, 23px);
  font-weight: 600;
}

.v7-weather-factors,
.v7-bms-comparison ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.v7-weather-factors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 16px;
  font-size: 13px;
}

.v7-weather-factors li {
  border-top: 1px solid var(--line);
  padding: 8px 0;
}

.v7-bms-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}

.v7-bms-comparison > div {
  padding: clamp(14px, 2.5vw, 32px) clamp(12px, 3vw, 44px);
}

.v7-bms-comparison > div + div {
  border-inline-start: 1px solid var(--line);
}

.v7-bms-comparison h3 {
  margin: 0 0 clamp(10px, 2vw, 24px);
  color: var(--white);
  font-size: clamp(16px, 2.35vw, 34px);
  font-weight: 500;
  letter-spacing: -.045em;
}

.v7-bms-comparison li {
  padding: clamp(8px, 1vw, 14px) 0;
  border-top: 1px solid var(--line);
  color: var(--paper);
  font-size: clamp(13px, 1.25vw, 18px);
}

.v7-bms-comparison > div + div h3,
.v7-bms-comparison > div + div li {
  color: var(--white);
  font-weight: 600;
}

.v7-home .v6-closing > p {
  max-width: 68ch;
}

.v7-home .v6-closing {
  justify-items: center;
  gap: 24px;
  text-align: center;
}

.v7-home .v6-closing .v5-actions {
  justify-content: center;
}

@media (min-width: 1100px) {
  .v7-home [aria-labelledby="operating-costs-title"] {
    padding-block: 72px;
    gap: 34px;
  }

  .v7-home [aria-labelledby="operating-costs-title"] > .v6-copy {
    max-width: 820px;
  }

  .v7-home #building {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: clamp(28px, 4vw, 58px);
    padding-block: 48px 62px;
  }

  .v7-home #building > .v8-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, .55fr);
    column-gap: clamp(28px, 4vw, 58px);
    margin-bottom: 22px;
  }

  .v7-home .v8-hero > .v5-pitch {
    justify-self: stretch;
    max-width: none;
    text-align: left;
  }

  .v7-home #building h1 {
    max-width: 8.4em;
    font-size: clamp(52px, 4.65vw, 67px);
    text-wrap: wrap;
  }

  .v7-home .v8-hero > .v5-pitch > p {
    margin: 18px 0 0;
  }

  .v7-home .v8-hero > .v5-pitch > .v7-hero-support {
    margin-top: 10px;
  }

  .v7-home #building > .v5-art {
    grid-area: 2 / 1;
    align-self: start;
    width: min(100%, 875px);
    margin: 18px 0 0;
  }

}

@media (max-width: 570px) {
  .v7-home .v5-pitch > p {
    margin-top: 16px;
  }

  .v7-home .v5-actions .v5-button {
    padding-inline: 10px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html:has(.v7-home) {
    scroll-behavior: smooth;
  }

  .v7-home .v5-pitch,
  .v7-home .v5-explorer > .v5-art {
    animation: v7-enter 560ms ease-out both;
  }

  @keyframes v7-enter {
    from { opacity: 0; transform: translateY(9px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

.v7-home #building > .v8-twin-panel {
  grid-area: 3 / 1;
  width: 100%;
  min-width: 0;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

@media (min-width: 1100px) {
  .v7-home #building > .v8-twin-panel {
    grid-area: 2 / 2;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--secondary);
  }
}

.v8-twin-group {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

.v8-twin .v8-twin-group,
.v8-twin-status {
  margin-top: 12px;
}

.v8-twin-group legend,
.v8-twin-status > p {
  padding: 0;
  margin: 0 0 6px;
  color: var(--paper);
  font-size: 12px;
  font-weight: 600;
}

.v8-twin-systems,
.v8-twin-panel .v8-twin-areas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  border: 0;
}

.v8-twin-systems {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.v7-home #building .v8-twin-panel .v5-system[aria-pressed="true"] {
  background: var(--ice);
  border-color: var(--ice);
  color: var(--navy);
}

.v8-twin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.v7-home .v8-twin-panel :is(.v5-system, .v8-twin-areas label, .v8-twin-actions .v5-button) {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 44px;
  padding: 6px 8px;
  border: 1px solid #444449;
  border-radius: 6px;
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  line-height: 1.25;
  text-align: center;
  box-shadow: none;
}

.v8-twin-panel .v5-system strong {
  color: inherit;
  font-size: inherit;
}

.v7-home .v8-twin-panel :is(.v5-system, .v8-twin-areas label, .v8-twin-actions .v5-button):hover:not([aria-pressed="true"], :has(input:checked)) {
  border-color: var(--paper);
  background: var(--secondary);
}

.v7-home .v8-twin-panel :is([aria-pressed="true"], .v8-twin-areas label:has(input:checked)) {
  border-color: var(--ice);
  background: color-mix(in srgb, var(--ice) 13%, var(--navy));
  color: var(--ice);
}

.v8-twin-panel .v8-twin-areas label:has(input:focus-visible) {
  outline: 2px solid var(--ice);
  outline-offset: 1px;
}

.v8-twin-status {
  padding: 8px 10px;
  border-inline-start: 2px solid var(--ice);
  background: var(--secondary);
}

.v8-twin-status output {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}

.v7-home .v8-twin-actions .v5-button[hidden],
.v8-twin-zones rect {
  display: none;
}

.v8-twin-zones {
  fill: var(--ice);
  fill-opacity: .09;
  stroke: var(--ice);
  stroke-opacity: .8;
  pointer-events: none;
}

.v8-twin-zones rect {
  vector-effect: non-scaling-stroke;
}

#building[data-twin-area="second"] [data-twin-zone="second"],
#building[data-twin-area="first"] [data-twin-zone="first"],
#building[data-twin-area="mechanical"] [data-twin-zone="mechanical"] {
  display: inline;
}

#building[data-twin-scheduled] .v7-signal-hvac path {
  stroke-dasharray: 6 4;
}

.v7-home #building[data-twin-leak] .v7-signal-water,
.v7-home #building[data-twin-leak] .v7-signal-shutoff {
  color: var(--ice);
  opacity: 1;
}

#building[data-twin-area="first"] .v7-signal-lighting {
  transform: translateY(98px);
}

.v7-home #building[data-twin-unoccupied] .v7-signal-lighting {
  color: var(--paper);
  opacity: .35;
}

.v8-system-information {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.v8-system-information h2 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}

.v8-system-information p {
  margin: 6px 0 0;
  color: var(--paper);
  font-size: 13px;
  line-height: 1.55;
}

.v8-system-information .v8-system-benefit {
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
}

.v8-information-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ice);
  font-size: 13px;
}

.v8-information-link:hover {
  color: var(--white);
}

/* The retained HVAC demo is independent of the removed secondary monitor. */
.v7-scheduling-section .v7-schedule-readout output,
.v7-scheduling-section .v6-demo-feedback output { color: var(--ice); }
.v8-twin-areas input,
.v7-scheduling-section .v6-demo legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

/* V9 final spacing: preserve the SVG, typography and interaction targets. */
.v7-home .v5-explorer {
  padding-block: 32px;
}
.v7-home #building > .v8-hero { gap: 16px; }
.v7-home .v8-hero > .v5-pitch > p { margin-top: 12px; }
.v7-home .v8-hero > .v5-pitch > .v7-hero-support { margin-top: 8px; }
.v7-home #building > .v5-art { margin-top: 16px; }
.v7-home #building > .v8-twin-panel { margin-top: 12px; padding-top: 10px; }
.v7-home .v8-twin-systems { gap: 4px 6px; }
.v7-home .v8-system-information { margin-top: 8px; padding-top: 8px; }
.v7-home .v8-system-information h2 { margin-bottom: 6px; }
.v7-home .v8-twin .v8-twin-group,
.v7-home .v8-twin-status { margin-top: 8px; }
.v7-home .v8-twin-status { padding: 8px; }
@media (min-width: 1100px) {
  .v7-home #building {
    max-width: 1520px;
    column-gap: clamp(28px, 3.5vw, 52px);
    padding-block: 28px 36px;
  }
  .v7-home #building > .v8-hero { column-gap: clamp(28px, 3.5vw, 52px); margin-bottom: 16px; }
  .v7-home #building > .v5-art { align-self: center; margin: 0; }
  .v7-home #building > .v8-twin-panel { margin: 0; padding: 12px; }
}
