* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f7f8f8;
  color: #16201f;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #f7f8f8;
}

.page {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 64px;
}

.hero {
  max-width: 820px;
}

.eyebrow,
.candidate-id {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #0f766e;
}

h1 {
  margin: 0;
  font-size: clamp(2.15rem, 4.6vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.lead {
  margin: 20px 0 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #40524f;
}

.status {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 36px 0;
  overflow: hidden;
  border: 1px solid #dce4e2;
  border-radius: 8px;
  background: #dce4e2;
}

.status div,
.candidate {
  background: #ffffff;
}

.status div {
  padding: 16px;
}

.status span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.78rem;
  color: #60706d;
}

.status strong {
  font-size: 0.95rem;
}

.candidate-list {
  display: grid;
  gap: 16px;
}

.candidate {
  padding: 22px;
  border: 1px solid #dce4e2;
  border-radius: 8px;
}

.candidate h2 {
  margin: 0 0 16px;
  font-size: 1.28rem;
  line-height: 1.25;
  letter-spacing: 0;
}

pre {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 0.95rem/1.75 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  color: #21312f;
}

@media (max-width: 760px) {
  .page {
    width: min(100% - 24px, 640px);
    padding: 32px 0 44px;
  }

  .status {
    grid-template-columns: 1fr;
  }

  .candidate {
    padding: 18px;
  }
}
