.home-facts {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-panel);
}
.home-facts-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.home-facts-row p {
  min-width: 0;
  color: var(--text-muted);
  font-size: var(--text-small);
}
.home-facts-row strong {
  color: var(--text);
  font-size: var(--text-lead);
  font-weight: var(--weight-medium);
}
.home-window-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  align-items: start;
  gap: 16px;
}
.home-window-pair > * {
  min-width: 0;
}
.home-window-narrow {
  margin-top: 44px;
}
.home-window-wide {
  margin-bottom: 20px;
}
.home-window-pair .mini-panel {
  padding: 16px;
  font-size: var(--text-small);
}
.home-window-pair .mini-chrome {
  flex-wrap: wrap;
}
.home-security-panel {
  display: grid;
  justify-items: start;
  gap: 16px;
}
.home-security-panel > svg {
  color: var(--success);
}
.home-security-panel p {
  font-size: var(--text-small);
}
.home-device-tray {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  color: var(--text-muted);
}
.home-terms-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 32px;
  align-items: center;
}
.home-terms-layout > * {
  min-width: 0;
}
.home-card-copy {
  margin-top: 16px;
  color: var(--text-muted);
}
.home-terms-layout .ticket-row {
  padding-right: 32px;
}
.home-routes,
.home-pricing,
.home-journal {
  background: var(--bg-panel-2);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.home-route-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 32px;
}
.home-route-notes > * {
  min-width: 0;
}
.home-route-notes h3 {
  font-size: var(--text-lead);
}
.home-route-notes p {
  margin-top: 12px;
  color: var(--text-muted);
}
.home-reading-note {
  margin-top: 32px;
  max-width: 920px;
  color: var(--text-muted);
}
.home-reading-note .article-link {
  margin-top: 16px;
}
.home-plan-description {
  font-size: var(--text-small);
  color: var(--text-muted);
}
.home-pack-note {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
}
.home-pack-note > div {
  min-width: 0;
}
.home-pack-note p {
  margin-top: 16px;
  color: var(--text-muted);
}
.home-pack-note > .badge {
  flex-shrink: 0;
}
.home-articles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.home-articles-grid > * {
  min-width: 0;
}
.home-all-articles {
  margin-top: 28px;
}

/* The scaffold owns the contents and values; this page only supplies layout. */
.server-status {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.server-status:empty {
  display: none;
}
.server-status .srv-row {
  display: grid;
  grid-template-columns: 8px 24px minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-panel);
  box-shadow: inset 0 1px 0 var(--hi);
  font-size: var(--text-small);
}
.server-status .srv-dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-round);
  background: var(--success);
  box-shadow: 0 0 0 3px var(--success-tint);
}
.server-status .srv-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  min-width: 0;
}
.server-status .srv-flag svg,
.server-status .srv-flag img {
  display: block;
  width: 22px;
  height: 16px;
  border-radius: var(--radius-xs);
}
.server-status .srv-name {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--text);
}
.server-status .srv-type {
  max-width: 100%;
  padding: 2px 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  background: var(--bg-panel-2);
  color: var(--text-muted);
  font-size: var(--text-caption);
  overflow-wrap: anywhere;
}
.server-status .srv-ms,
.server-status .srv-bw {
  min-width: 0;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  text-align: right;
  overflow-wrap: anywhere;
}
@media (max-width: 1080px) {
  .home-terms-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .home-terms-layout .ticket-row {
    padding-right: 0;
  }
  .server-status {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .home-facts-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .home-route-notes,
  .home-articles-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .home-pack-note {
    flex-direction: column;
  }
}
@media (max-width: 640px) {
  .home-window-pair {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .home-window-narrow {
    margin-top: 24px;
  }
  .home-window-wide {
    margin-top: 0;
    margin-bottom: 0;
  }
  .server-status .srv-row {
    grid-template-columns: 8px 24px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 14px;
  }
  .server-status .srv-ms {
    grid-column: 3;
    text-align: left;
  }
  .server-status .srv-bw {
    grid-column: 4;
  }
}