:root {
  --bg-color: #ffffff;
  --text-main: #1b1f24;
  --text-muted: #57606a;
  --text-tertiary: #8c959f;
  --border-color: #d0d7de;
  --link-color: #0969da;
  --code-bg: #f6f8fa;
  --color-operational: #2da44e;
  --color-fault: #cf222e;
  --color-unknown: #6e7781;
  --shadow-pulse: rgba(45, 164, 78, 0.4);
  --code-font:
    ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono,
    monospace;
}

html {
  height: 100%;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji";
  background-color: var(--bg-color);
  color: var(--text-main);
  max-width: 640px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  padding: 80px 24px;
  box-sizing: border-box;
  line-height: 1.5;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.logo {
  margin-bottom: 24px;
}

.title {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 16px 0;
  letter-spacing: -0.5px;
  color: var(--text-main);
  line-height: 1.25;
}

.tech-credit {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-family: var(--code-font);
}

.tech-credit a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.tech-credit a:hover {
  color: var(--link-color);
}

.version-tag {
  color: var(--text-tertiary);
  margin-left: 4px;
  font-weight: 400;
}

.separator {
  height: 1px;
  background-color: var(--border-color);
  margin: 0 auto 48px auto;
  width: 100%;
  opacity: 0.5;
}

.hero-section {
  margin-bottom: 56px;
  width: 100%;
}

.status-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.status-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--color-unknown);
  transform: translateZ(0);
}

.status-dot.pulse {
  box-shadow: 0 0 0 0 var(--shadow-pulse);
  animation: pulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 var(--shadow-pulse);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

.status-text {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--text-main);
}

.meta-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--code-font);
  font-size: 11px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.meta-pill strong {
  color: var(--text-muted);
  margin-left: 6px;
  font-weight: 600;
}

.endpoints-wrapper {
  max-width: 460px;
  margin: 0 auto;
  text-align: left;
  width: 100%;
}

.endpoints-header {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-tertiary);
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-align: center;
}

.endpoint-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 4px;
  border-bottom: 1px solid #eaeaea;
  transition: background-color 0.2s;
}

.endpoint-row:first-of-type {
  border-top: 1px solid #eaeaea;
}

.endpoint-row:hover {
  background-color: rgba(0, 0, 0, 0.01);
}

.endpoint-path {
  font-family: var(--code-font);
  font-size: 13px;
  color: var(--text-main);
  background: var(--code-bg);
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.endpoint-path:hover {
  background: #eef1f4;
  color: var(--link-color);
}

.endpoint-path.copied {
  background: var(--color-operational);
  color: white;
  border-color: var(--color-operational);
}

.endpoint-desc {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
}

.state-operational .status-dot {
  background-color: var(--color-operational);
}
.state-fault .status-dot {
  background-color: var(--color-fault);
}
.state-unknown .status-dot {
  background-color: var(--color-unknown);
}

.error-banner {
  margin-top: 16px;
  color: var(--color-fault);
  font-size: 13px;
  font-weight: 500;
  background: #ffebe9;
  padding: 8px 16px;
  border-radius: 6px;
  display: inline-block;
}

.footer {
  margin-top: auto;
  padding-top: 80px;
  padding-bottom: 48px;
  font-size: 11px;
  color: var(--text-tertiary);
}

.footer-links {
  margin-bottom: 8px;
}

.footer-link {
  color: var(--text-tertiary);
  text-decoration: none;
  margin: 0 8px;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--link-color);
}

