:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #111827;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f8fafc;
  --muted: #94a3b8;
  --green: #10b981;
  --green-dark: #047857;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.shell {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 28px 16px;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 56px);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.16), rgba(17, 24, 39, 0.96));
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(38px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
}

.copy {
  max-width: 640px;
  margin: 18px 0 0;
  color: #cbd5e1;
  font-size: 17px;
  line-height: 1.6;
}

button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 0 22px;
  background: var(--green);
  color: #02140d;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.metric {
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--panel);
}

.metric span,
.metric small {
  display: block;
  color: var(--muted);
}

.metric strong {
  display: block;
  margin: 16px 0 4px;
  font-size: clamp(30px, 5vw, 46px);
  letter-spacing: 0;
}

.status {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.status p {
  margin: 0;
}

.status p + p {
  margin-top: 6px;
}

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

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
