@import url("living-network.css");
@import url("home-hero.css");
@import url("home-sections.css");

body[data-page="home"] {
  --home-width: 1392px;
  --home-gutter: clamp(20px, 5vw, 88px);
  --home-rail: min(var(--home-width), calc(100% - var(--home-gutter) * 2));
  background: #07121d;
}
body[data-page="home"] #main .section-shell {
  width: var(--home-rail);
  max-width: var(--home-width);
  margin-inline: auto;
}
body[data-page="home"] #homeRanges {
  position: relative;
  margin-top: 0;
  padding-block: clamp(48px, 5.4vw, 88px) 0;
  scroll-margin-top: 12px;
}
.home-range-heading {
  display: grid;
  inline-size: min(49%, 650px);
  gap: 12px;
  margin-bottom: clamp(24px, 2.2vw, 34px);
}
.home-range-heading h2 {
  margin: 0;
  color: #ecf5f8;
  font-size: clamp(38px, 4vw, 68px);
  font-weight: 620;
  line-height: 1.01;
  letter-spacing: -.059em;
}
.home-range-heading h2 em {
  color: var(--showcase-mint);
  font-style: normal;
}
.home-range-heading p {
  max-width: 52ch;
  color: #c0d3db;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
}
body[data-page="home"] .home-showcase-panel {
  background: linear-gradient(114deg, #0b1a26 8%, #102431);
  box-shadow: 0 16px 48px #01081040;
}
body[data-page="home"] .home-showcase-filters {
  border-bottom: 1px solid #213747;
  margin-top: 0;
  padding: 6px 0;
}
body[data-page="home"] .home-showcase-filters[open] {
  background: #091823;
  padding: 6px clamp(16px, 2vw, 28px) 16px;
}
body[data-page="home"] .home-showcase-filters > summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #aec3ce;
  font-size: 14px;
}
.home-showcase-filters > summary::-webkit-details-marker { display: none; }
.home-showcase-filters > summary::before {
  width: 7px;
  height: 7px;
  border: solid var(--showcase-mint);
  border-width: 0 1px 1px 0;
  transform: translateY(-2px) rotate(45deg);
  content: "";
}
.home-showcase-filters[open] > summary::before { transform: translateY(2px) rotate(225deg); }
body[data-page="home"] .site-footer {
  padding-inline: 0;
  margin-top: clamp(48px, 6vw, 90px);
}
body[data-page="home"] .site-footer :is(.footer-top, .footer-bottom) {
  width: var(--home-rail);
  max-width: var(--home-width);
  margin-inline: auto;
}
body[data-page="home"] .footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

body[data-page="home"] .signal-bridge {
  display: grid;
  align-items: center;
  position: relative;
  min-height: 100svh;
  padding-block: clamp(70px, 11svh, 130px);
}
.signal-bridge-copy {
  width: min(42%, 485px);
}
.signal-bridge-copy h2 {
  color: #edf5f6;
  font-size: clamp(58px, 6.7vw, 105px);
  font-weight: 580;
  letter-spacing: -.07em;
  line-height: .96;
}
.signal-bridge-copy h2 em { color: #95f4e8; font-style: normal; }
.signal-mode-switch {
  display: inline-flex;
  gap: 2px;
  margin-block: clamp(23px, 3vw, 40px) 18px;
  padding: 3px;
  border-radius: 6px;
  border: 1px solid #587381;
  background: #06121dec;
}
.signal-mode-switch button {
  min-height: 38px;
  padding: 7px 17px;
  border: 0;
  border-radius: 3px;
  color: #c4d9dd;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
}
.signal-mode-switch button[aria-pressed="true"] { color: #08222a; background: #96eee4; }
#homeSignalDescription {
  max-width: 41ch;
  min-height: 5em;
  margin: 0;
  color: #d4e4e8;
  font-size: clamp(16px, 1.14vw, 19px);
  line-height: 1.57;
}
.signal-path {
  display: flex;
  padding: 0;
  margin: 20px 0 15px;
  list-style: none;
}
.signal-path li {
  display: grid;
  position: relative;
  grid-template-rows: 23px auto;
  align-items: end;
  gap: 6px;
  min-width: 0;
  padding-right: 20px;
  flex: 1;
  color: #a9c1cd;
  font: 11px/1.45 ui-monospace, monospace;
}
.signal-path li:last-child { flex: 0 0 auto; padding-right: 0; }
.signal-path li:not(:last-child)::after {
  position: absolute;
  content: "";
  top: 12px;
  left: 33px;
  right: 9px;
  height: 1px;
  background: linear-gradient(90deg, #a3ebe97a, #36515e);
}
.signal-path .ui-icon { width: 22px; height: 22px; color: #93e4dc; }
.signal-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 44px;
  color: #e0f3f4;
  border-bottom: 1px solid #64868b;
  font-weight: 600;
  font-size: 14px;
}
.signal-detail-link::after {
  width: 6px;
  height: 6px;
  content: "";
  border: solid currentColor;
  border-width: 1px 1px 0 0;
  transform: rotate(45deg);
}
body[data-page="home"] { overflow-x: clip; }
body[data-page="home"] #main { overflow-x: clip; }
@media(max-width: 740px) {
  body[data-page="home"] .signal-bridge {
    align-items: start;
    min-height: max(100svh, 730px);
    padding-block: clamp(72px, 11svh, 96px) 0;
  }
  .signal-bridge-copy { width: 100%; max-width: 440px; }
  .home-range-heading { inline-size: 100%; }
  :is(.signal-bridge-copy, .home-range-heading, .so-hero-copy) { position: relative; isolation: isolate; }
  :is(.signal-bridge-copy, .home-range-heading, .so-hero-copy)::before {
    position: absolute;
    z-index: -1;
    inset: -32px calc(0px - var(--home-gutter)) -35px;
    background: linear-gradient(180deg, transparent, #040e18fa 12%, #040e18fa 87%, transparent);
    pointer-events: none;
    content: "";
  }
  .signal-bridge-copy h2 { font-size: clamp(43px, 9vw, 64px); }
  .signal-bridge-copy h2 br { display: none; }
  .signal-mode-switch { margin-block: 18px 12px; }
  #homeSignalDescription { min-height: 0; font-size: 15px; }
  .signal-path { max-width: 345px; margin-block: 15px 3px; }
  .signal-path li { font-size: 10px; }
  .signal-detail-link { font-size: 13px; min-height: 37px; }
}
