/* Search and crawlability layer for the Router homepage.
   Keeps the existing visual hierarchy while making CocoMetric and its purpose
   explicit in the rendered HTML before the interactive boot sequence finishes. */

.router-page .app {
  opacity: 1;
  transform: none;
}

.router-page .app.is-ready {
  opacity: 1;
  transform: none;
}

.router-page .hero-title {
  max-width: 980px;
}

.router-page .hero-brand-line {
  display: block;
  margin: 0 0 12px;
  color: var(--mint, #71ddc9);
  font: 650 clamp(11px, 1vw, 14px)/1 var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.router-page .hero-summary {
  max-width: 900px;
  margin: 16px 0 0;
  color: #aeb8c5;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 450;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

@media (max-width: 760px) {
  .router-page .hero-brand-line {
    margin-bottom: 8px;
    font-size: 10px;
  }

  .router-page .hero-summary {
    max-width: 34rem;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.45;
  }

  .router-page .terminal {
    min-height: min(590px, calc(100svh - 228px));
  }
}

@media (max-height: 700px) and (min-width: 761px) {
  .router-page .hero-brand-line {
    margin-bottom: 7px;
  }

  .router-page .hero-summary {
    margin-top: 8px;
    font-size: 14px;
  }
}

body.coco-walk-active .hero-summary,
body.coco-walk-active .hero-brand-line {
  display: none;
}
