/* Homepage editorial spacing; shared component geometry remains in components.css. */
.home-section-heading {
  max-width: var(--reading-width);
  margin-bottom: 48px;
}
.home-section-heading > :last-child {
  margin-bottom: 0;
}
.home-section-notes {
  max-width: var(--reading-width);
  margin-top: 32px;
}
.home-section-notes p {
  color: var(--text-muted);
}
.home-section-notes h3:not(:first-child) {
  margin-top: 32px;
}
.home-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent-dark);
  font-weight: 700;
}
.home-plan-description {
  color: var(--text-muted);
  font-size: 14px;
}
.home-device-array {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
  width: 100%;
  max-width: 280px;
}
.home-device-screen {
  display: grid;
  place-items: center;
  min-height: 88px;
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  background: var(--white);
  color: var(--text);
  box-shadow: var(--hi-inset),var(--shadow-chip);
}
.home-platform-tiles {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 10px;
  width: 100%;
}
.home-platform-tiles .symbol-tile {
  min-height: 48px;
}
.home-art-recess {
  fill: var(--bg-panel-2);
}
.home-art-face {
  fill: var(--white);
  stroke: var(--border);
  stroke-width: 1;
}
.home-art-accent {
  fill: var(--accent);
}
.home-art-line {
  fill: none;
  stroke: var(--accent-dark);
  stroke-width: 7;
}
.home-art-white {
  fill: var(--white);
}
.home-art-key {
  fill: none;
  stroke: var(--white);
  stroke-width: 3;
  stroke-linecap: round;
}
.home-calendar {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 220px;
  margin-bottom: 24px;
  padding: 20px;
  border: 1px solid var(--border);
  border-top: 12px solid var(--accent);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--hi-inset),var(--shadow-lift);
}
.home-calendar-label {
  color: var(--accent-dark);
  font-size: 13px;
  letter-spacing: .06em;
}
.home-calendar strong {
  font-family: var(--font-display);
  font-size: 68px;
  font-weight: 900;
  line-height: 1.3;
}
.home-calendar strong span {
  margin-left: 6px;
  font-family: var(--font-body);
  font-size: 18px;
}
.home-calendar > :last-child {
  color: var(--text-muted);
}
.home-platform-tiles + .tag,
.home-device-array + .tag,
.feature-art > .tile-grid + .tag {
  margin-top: 24px;
}

/* The scaffold owns the values and markup inside this normal-flow container. */
.server-status:empty {
  display: none;
}
.server-status > :not(.srv-row) {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
}
.server-status:has(> .srv-row) {
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
}
.srv-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  background: var(--bg-panel);
  box-shadow: var(--hi-inset),var(--shadow-chip);
}
.srv-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: var(--radius-circle);
  background: var(--success);
  animation: home-status-breath 3s ease-in-out infinite;
}
.srv-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  flex-shrink: 0;
}
.srv-flag svg,
.srv-flag img {
  width: 24px;
  height: 16px;
  border-radius: var(--radius-s);
}
.srv-name {
  flex: 1 1 100px;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 700;
}
.srv-type {
  max-width: 100%;
  padding: 2px 7px;
  border-radius: var(--radius-s);
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-family: var(--font-mono);
  font-size: 11px;
  overflow-wrap: anywhere;
}
.srv-ms,
.srv-bw {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  color: var(--text-muted);
}
@keyframes home-status-breath {
  0%,100% { opacity: 1; }
  50% { opacity: .45; }
}
@media (max-width: 768px) {
  .home-section-heading {
    margin-bottom: 32px;
  }
  .server-status > :not(.srv-row),
  .server-status:has(> .srv-row) {
    grid-template-columns: minmax(0,1fr);
  }
}
@media (prefers-reduced-motion: reduce) {
  .srv-dot {
    animation: none;
  }
}