:root {
  --bg: #0b111e;
  --text: #e2e8f0;
  --accent: #38bdf8;
  --card: #1e293b;
  --border: rgba(56, 189, 248, 0.24);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
}

main.page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(30, 41, 59, 0.95));
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 1.5rem;
}

.eyebrow {
  margin: 0 0 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.76rem;
  color: var(--accent);
}

h1, h2, h3, p { margin-top: 0; }

.hero-badge, .pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
}

.status-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.2);
}

.stats-grid, .dashboard-grid {
  display: grid;
  gap: 1rem;
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.dashboard-grid {
  grid-template-columns: 1.35fr 1fr;
}

.stat-card, .panel {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.15rem 1.2rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}

.asset-stack {
  display: grid;
  gap: 0.8rem;
}

.asset-card, .metric-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
}

.asset-card h3, .metric-card strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--accent);
}

.asset-card ul {
  margin: 0;
  padding-left: 1rem;
  color: #cbd5e1;
}

.metrics-grid {
  display: grid;
  gap: 0.7rem;
}

.metric-card span {
  color: #cbd5e1;
  display: block;
  font-size: 0.95rem;
}

.guide-panel {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.guide-panel a {
  align-self: flex-start;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.guide-panel a:hover {
  text-decoration: underline;
}

@media (max-width: 860px) {
  .stats-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
  }

  main.page-shell {
    padding: 1rem 0.9rem 2rem;
  }
}
