:root {
  --bg: #0a1020;
  --panel: #121933;
  --panel-2: #1a2447;
  --text: #eaf0ff;
  --muted: #a9b4d3;
  --accent: #77a4ff;
  --accent-2: #93c5fd;
  --border: #2b3766;
  --ok: #4ade80;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, #09101d 0%, #0d1427 100%);
  color: var(--text);
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  border-bottom: 1px solid var(--border);
  background: rgba(9, 16, 29, 0.88);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.topnav,
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 16px;
}

nav a:hover {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  padding: 40px 0 24px;
}

.eyebrow {
  display: inline-block;
  color: var(--accent-2);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
}

h2, h3 {
  margin-top: 0;
}

.lead {
  color: var(--muted);
  line-height: 1.65;
}

.hero-actions {
  margin-top: 20px;
}

.btn {
  display: inline-block;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  margin-right: 10px;
  background: var(--panel);
}

.btn.primary {
  background: var(--accent);
  color: #0a1020;
  border-color: transparent;
  font-weight: 700;
}

.page {
  padding: 32px 0;
}

.cards-grid,
.status-grid {
  display: grid;
  gap: 24px;
}

.cards-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 24px;
}

.status-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 20px;
}

.card,
.status-pill {
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.metric-row,
.status-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.metric-row {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.metric-row:last-child {
  border-bottom: 0;
}

.status-pill span {
  color: var(--muted);
}

pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  color: #d7e0fb;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  text-align: left;
  padding: 12px;
  border-top: 1px solid var(--border);
}

th {
  color: var(--muted);
}

.footer {
  border-top: 1px solid var(--border);
  margin-top: 32px;
  color: var(--muted);
}

.ok {
  color: var(--ok);
}

@media (max-width: 900px) {
  .hero,
  .cards-grid,
  .status-grid {
    grid-template-columns: 1fr;
  }
}

.logo {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 8px;
}
