.nexus-main { max-width: 72rem; }

.nexus-badge {
  display: inline-block;
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.nexus-section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
}

.nexus-section h2 {
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  margin: 0 0 0.35rem;
}

.nexus-lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.nexus-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
}

.nexus-card {
  padding: 1.25rem 1.35rem;
  border: 1px solid color-mix(in srgb, var(--text) 12%, transparent);
  border-radius: 4px;
  background: color-mix(in srgb, var(--bg) 96%, var(--accent) 4%);
  transition: border-color 0.2s, transform 0.15s;
}

.nexus-card:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  transform: translateY(-2px);
}

.nexus-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.nexus-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.nexus-links {
  margin-top: 0.85rem !important;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.nexus-links a {
  font-size: 0.85rem;
  font-weight: 500;
}

.nexus-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
  font-size: 0.9rem;
  color: var(--muted);
}

.nexus-status {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.15rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 3px;
}

.nexus-status-live {
  color: #1b5e20;
  background: color-mix(in srgb, #4caf50 18%, var(--bg));
  border: 1px solid color-mix(in srgb, #4caf50 35%, transparent);
}

.nexus-status-partial {
  color: #e65100;
  background: color-mix(in srgb, #ff9800 15%, var(--bg));
  border: 1px solid color-mix(in srgb, #ff9800 35%, transparent);
}

.nexus-status-broken {
  color: #b71c1c;
  background: color-mix(in srgb, #f44336 12%, var(--bg));
  border: 1px solid color-mix(in srgb, #f44336 30%, transparent);
}

.nexus-audit {
  margin-top: 2rem;
  padding: 1rem 1.15rem;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: 4px;
  font-size: 0.88rem;
  color: var(--muted);
}

.nexus-audit strong { color: var(--text); }
