/* Home-only visual statement; brand artwork and existing copy are unchanged. */
body[data-route="/"] .home-how { padding-bottom: 48px; }
body[data-route="/"] .home-how .home-system-diagram { margin-bottom: 0; }
.home-how-link { padding-block: 32px 96px; }
.home-connection-band { background: var(--sage-dark); color: var(--white); }
.home-connection-band .connection-band-inner { padding-block: 96px; }
.home-connection-band .connection-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: stretch;
}
.home-connection-band .connection-column {
  display: grid;
  grid-template-rows: 110px minmax(136px, auto);
  gap: 24px;
  min-width: 0;
  align-content: start;
}
.home-connection-band .connection-phrase {
  font-size: clamp(40px, 3.34vw, 48px);
  font-weight: 300;
  line-height: 1.14;
  letter-spacing: normal;
  color: var(--white);
  margin: 0;
  max-width: none;
  text-align: left;
  text-wrap: balance;
}
.home-connection-band .connection-phrase > span { color: var(--light-sage); }
.home-connection-band .connection-logos {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 64px;
  gap: 8px;
  width: 100%;
  max-width: 376px;
  align-content: start;
}
.home-connection-band .connection-logo-tile {
  height: 64px;
  min-width: 0;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-connection-band .connection-logo-tile img {
  display: block;
  height: 28px;
  width: calc(100% - 24px);
  max-width: 96px;
  object-fit: contain;
  border-radius: 0;
  filter: grayscale(1);
}
.home-connection-band .connection-logo-tile img[alt="Aqara"] { filter: grayscale(1) brightness(0); }
.home-connection-band .connection-logo-more {
  border: 1px dashed var(--olive);
  font-size: 16px;
  line-height: 1.5;
}
.home-connection-band .connection-convergence { height: 112px; }
.home-connection-band .connection-lines { display: block; width: 100%; height: 112px; overflow: visible; }
.home-connection-band .connection-lines path { stroke: var(--olive); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.home-connection-band .connection-mobile-line { display: none; }
.home-connection-band .connection-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 176px;
  height: 56px;
  margin-inline: auto;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  font-size: 28px;
  line-height: 1;
  font-weight: 400;
  transform-origin: center;
}
.home-connection-band .connection-closing {
  margin: 32px 0 0;
  color: var(--white);
  max-width: none;
  font-size: 40px;
  font-weight: 300;
  line-height: 1.2;
  text-align: center;
  text-wrap: balance;
}
.home-connection-band .home-how-link {
  padding: 32px 0 0;
  display: flex;
  justify-content: center;
}
.home-connection-band .home-how-link a.text-link {
  color: var(--white);
}
.home-connection-band .home-how-link a.text-link:hover {
  background-color: var(--light-sage);
  color: var(--ink);
}
@media(max-width:1050px) {
  .home-connection-band .connection-columns { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .home-connection-band .connection-column { grid-template-rows: auto auto; gap: 24px; }
  .home-connection-band .connection-phrase { font-size: clamp(32px, 10.25vw, 40px); }
  .home-connection-band .connection-convergence { height: 40px; }
  .home-connection-band .connection-lines { display: none; }
  .home-connection-band .connection-mobile-line { display: block; width: 1px; height: 40px; margin-inline: auto; background: var(--olive); }
  .home-connection-band .connection-closing { font-size: clamp(26px, 8.2vw, 40px); text-align: left; }
}
@media(prefers-reduced-motion:no-preference) {
  .home-connection-band.is-motion-ready[data-visible="false"] .connection-column { opacity: 0; transform: translateY(12px); }
  .home-connection-band.is-motion-ready[data-visible="false"] .connection-lines path { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .home-connection-band.is-motion-ready[data-visible="false"] .connection-mobile-line { transform: scaleY(0); transform-origin: top; }
  .home-connection-band.is-motion-ready[data-visible="true"] .connection-column { animation: connection-fade .4s ease-out both; animation-delay: calc(var(--column-index) * .2s); }
  .home-connection-band.is-motion-ready[data-visible="true"] .connection-lines path { stroke-dasharray: 1; animation: connection-draw .6s .8s ease-out both; }
  .home-connection-band.is-motion-ready[data-visible="true"] .connection-mobile-line { transform-origin: top; animation: connection-grow .6s .8s ease-out both; }
  .home-connection-band.is-motion-ready[data-visible="true"] .connection-pill { animation: connection-pulse .45s 1.4s ease-in-out both; }
}
@keyframes connection-fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes connection-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes connection-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes connection-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.045); } }
@media(prefers-reduced-motion:reduce) {
  .home-connection-band .connection-column,
  .home-connection-band .connection-lines path,
  .home-connection-band .connection-mobile-line,
  .home-connection-band .connection-pill { animation: none; opacity: 1; transform: none; stroke-dashoffset: 0; }
}
