:root {
  --bg: #f4efe6;
  --surface: rgba(255, 251, 245, 0.88);
  --surface-strong: #fff9f1;
  --border: rgba(55, 44, 34, 0.12);
  --text: #1f1a16;
  --muted: #6c625a;
  --healthy: #1f7a47;
  --investigate: #8b5e00;
  --degraded: #b23a2b;
  --offline: #6b2bb2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 211, 138, 0.45), transparent 28rem),
    linear-gradient(160deg, #f4efe6 0%, #efe5d4 100%);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
}

.shell {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 64px;
}

.hero,
.panel {
  backdrop-filter: blur(10px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(80, 54, 28, 0.08);
}

.hero {
  padding: 28px;
  margin-bottom: 20px;
}

.eyebrow,
.meta,
.small-copy {
  color: var(--muted);
  font-family: "Courier New", monospace;
  letter-spacing: 0.02em;
}

h1,
h2 {
  margin: 0 0 10px;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 0.94;
  max-width: 12ch;
}

.subhead {
  max-width: 52rem;
  font-size: 1.05rem;
  color: var(--muted);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-family: "Courier New", monospace;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  background: var(--surface-strong);
  border: 1px solid var(--border);
}

.pill-healthy { color: var(--healthy); border-color: rgba(31, 122, 71, 0.28); }
.pill-investigate { color: var(--investigate); border-color: rgba(139, 94, 0, 0.28); }
.pill-degraded { color: var(--degraded); border-color: rgba(178, 58, 43, 0.28); }
.pill-offline { color: var(--offline); border-color: rgba(107, 43, 178, 0.28); }
.pill-neutral { color: var(--muted); }

.grid {
  display: grid;
  gap: 20px;
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 20px;
}

.panel {
  padding: 22px;
}

.stack {
  display: grid;
  gap: 12px;
}

.kv-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kv-list dt {
  color: var(--muted);
  font-family: "Courier New", monospace;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.kv-list dd {
  margin: 0;
  font-size: 1rem;
}

.card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.44);
}

.card-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

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

.card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.notes {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 10px;
}

@media (max-width: 760px) {
  .two-up,
  .kv-list {
    grid-template-columns: 1fr;
  }

  .shell {
    width: min(100% - 20px, 1100px);
    padding-top: 20px;
  }

  .hero,
  .panel {
    border-radius: 18px;
  }
}
