/* Homepage reading rhythm; first-screen components use the shared styles. */
.home-section-lead{
  max-width:900px;
  margin-bottom:var(--space-4);
}
.home-section-lead h2{
  margin-top:0;
  margin-bottom:var(--space-3);
}
.home-section-lead>p:last-child{
  color:var(--muted);
  line-height:1.85;
}
.home-reading-note{
  margin-top:var(--space-3);
  padding-top:var(--space-4);
  border-top:1px solid var(--line);
  max-width:960px;
}
.home-reading-note h3,
.home-route-guide h3,
.home-plan-explainer h3,
.home-billing-note h3,
.home-status-block h3{
  margin-top:0;
}
.home-reading-note p,
.home-route-guide p,
.home-plan-explainer p,
.home-billing-note p{
  color:var(--muted);
  line-height:1.85;
}
.home-reading-note a,
.home-billing-note a,
.home-status-caption a{
  color:var(--accent-dark);
}
.home-platform-list{
  display:flex;
  flex-wrap:wrap;
  gap:var(--space-2) var(--space-3);
  padding-left:var(--space-3);
  margin:0;
  color:var(--ink);
}
.home-route-guide{
  display:grid;
  grid-template-columns:minmax(0,3fr) minmax(0,2fr);
  gap:var(--space-4);
  align-items:start;
  margin-top:var(--space-4);
}
.home-status-block{
  margin-top:var(--space-6);
  padding-top:var(--space-4);
  border-top:1px solid var(--line);
}
.home-status-caption{
  color:var(--muted);
  font-size:var(--text-sm);
  line-height:1.8;
}
.home-pricing-surface{
  background:var(--panel-2);
  border-block:1px solid var(--line);
}
.home-plan-explainer{
  display:grid;
  grid-template-columns:minmax(0,3fr) minmax(0,2fr);
  gap:var(--space-4);
  margin-top:var(--space-6);
  align-items:start;
}
.home-pack-list{
  display:grid;
  gap:var(--space-1);
  padding-left:var(--space-3);
  color:var(--ink);
  font-family:var(--font-mono);
  font-size:var(--text-base);
}
.home-billing-note{
  margin-top:var(--space-4);
  padding-top:var(--space-4);
  border-top:1px solid var(--line);
}
.home-article-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:var(--space-3);
}
.home-section-link{
  margin-top:var(--space-4);
  margin-bottom:0;
}
.home-final{
  padding-bottom:var(--space-8);
}

/* The injected status list remains in normal document flow. */
.server-status{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:var(--space-2);
}
.server-status:empty{
  display:none;
}
.server-status>div:not(.srv-row){
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:var(--space-2);
  grid-column:1 / -1;
}
.srv-row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:var(--space-1);
  min-width:0;
  max-width:100%;
  padding:var(--space-2);
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--r-pane);
  font-size:var(--text-sm);
}
.srv-dot{
  flex:none;
  width:8px;
  height:8px;
  border-radius:var(--r-round);
  background:var(--ok);
  box-shadow:0 0 0 3px var(--accent-08);
}
.srv-flag{
  display:inline-flex;
  flex:none;
  align-items:center;
  justify-content:center;
  width:24px;
  height:18px;
  overflow:hidden;
  border-radius:var(--r-flag);
}
.srv-flag svg,
.srv-flag img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.srv-name{
  min-width:0;
  flex:1 1 96px;
  overflow-wrap:anywhere;
  color:var(--ink);
  font-weight:var(--weight-semibold);
}
.srv-type{
  max-width:100%;
  padding:3px 8px;
  border-radius:var(--r-pill);
  color:var(--accent-dark);
  background:var(--accent-08);
  font-size:var(--text-xs);
  overflow-wrap:anywhere;
}
.srv-ms,
.srv-bw{
  color:var(--muted);
  font-family:var(--font-mono);
  font-size:var(--text-xs);
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
@media(max-width:768px){
  .home-route-guide,
  .home-plan-explainer,
  .home-article-grid{
    grid-template-columns:minmax(0,1fr);
  }
  .server-status,
  .server-status>div:not(.srv-row){
    grid-template-columns:minmax(0,1fr);
  }
  .home-final{
    padding-bottom:var(--space-6);
  }
}