.hero { margin-bottom: 32px; position: relative; z-index: 2; }
.hero__title { font-size: clamp(24px, 4vw, 36px); font-weight: 700; color: var(--bright);
  letter-spacing: -.02em; line-height: 1.1; margin-bottom: 12px; }
.hero__title .accent { color: var(--accent); }
.hero__sub { color: var(--fg); font-size: 14px; line-height: 1.6; max-width: 64ch; margin-bottom: 20px; }

.status-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: 6px; margin-bottom: 24px;
  background: var(--accent-soft); font-size: 12px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 8px var(--accent); animation: arch-pulse 2s ease-in-out infinite; }
@keyframes arch-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.status-text { color: var(--accent); font-weight: 500; letter-spacing: .05em; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 32px; }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 12px; border: 1px solid var(--line); border-radius: 6px; }
.stat__lbl { color: var(--dim); font-size: 11px; margin-bottom: 4px; }
.stat__val { color: var(--bright); font-size: 18px; font-weight: 600; overflow-wrap: anywhere; }
.cmp__name { overflow-wrap: anywhere; }
.stat__val .plus { color: var(--accent); }

.diagram { padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.01); margin-bottom: 24px; }
.diagram svg { display: block; width: 100%; height: auto; }

.node { cursor: pointer; }
.node rect { transition: fill .15s, stroke .15s; }
.node:hover rect { fill: var(--accent-soft); stroke: var(--accent); }
.node.active rect { fill: var(--accent-soft); stroke: var(--accent); }

.legend { display: flex; flex-wrap: wrap; gap: 12px 20px; padding: 16px;
  border: 1px dashed var(--line); border-radius: 6px; font-size: 12px; }
.legend__item { display: flex; align-items: center; gap: 6px; color: var(--dim); }
.legend__dot { width: 10px; height: 10px; border-radius: 2px; background: var(--dim); }
.legend__dot.orch { background: #FF6B6B; }
.legend__dot.code { background: #4ECDC4; }
.legend__dot.review { background: #FFD93D; }
.legend__dot.test { background: #95E1D3; }
.legend__dot.memory { background: #C589E8; }
.legend__dot.comms { background: var(--line-strong); }

.detail { padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--accent-soft); display: none; }
.detail.active { display: block; }
.detail__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.detail__name { color: var(--bright); font-size: 16px; font-weight: 600; }
.detail__close { color: var(--dim); cursor: pointer; font-size: 18px; line-height: 1; }
.detail__close:hover { color: var(--accent); }
.detail__row { font-size: 12px; color: var(--dim); margin: 4px 0; }
.detail__row .v { color: var(--fg); }
.detail__row .v.ok { color: var(--accent); }
.detail__row .v.idle { color: var(--warn); }

.components { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 700px) { .components { grid-template-columns: repeat(2, 1fr); } }
.cmp { padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.01); }
.cmp__head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.cmp__name { color: var(--bright); font-size: 14px; font-weight: 600; }
.cmp__desc { color: var(--fg); font-size: 13px; line-height: 1.6; }