* {
  box-sizing: border-box;
}

html {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f7f8fa;
  color: #1f2937;
}

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

.topbar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #111827;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
}

.brand-name {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.brand-subtitle {
  margin-top: 2px;
  font-size: 12px;
  color: #6b7280;
}

.dashboard-link {
  color: #374151;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.dashboard-link:hover {
  color: #111827;
}

.container {
  width: min(100% - 40px, 960px);
  margin: 0 auto;
  padding: 56px 0 40px;
}

.hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #6b7280;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

h1 {
  margin: 0;
  color: #111827;
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.hero-text {
  max-width: 620px;
  margin: 14px 0 0;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.6;
}

.overall-status,
.service-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: #15803d;
  font-size: 13px;
  font-weight: 600;
}

.status-dot {
  width: 9px;
  height: 9px;
  display: inline-block;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px #dcfce7;
}

.summary-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  margin-bottom: 48px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.summary-card h2 {
  margin: 0;
  color: #111827;
  font-size: 17px;
}

.summary-card p {
  margin: 5px 0 0;
  color: #6b7280;
  font-size: 13px;
}

.summary-time {
  color: #9ca3af;
  font-size: 12px;
  white-space: nowrap;
}

.section {
  margin-bottom: 44px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.section-heading h2 {
  margin: 0;
  color: #111827;
  font-size: 18px;
}

.section-heading > span {
  color: #9ca3af;
  font-size: 12px;
}

.service-list {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.service {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
  border-bottom: 1px solid #eef0f3;
}

.service:last-child {
  border-bottom: 0;
}

.service-main {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
}

.service-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 9px;
  background: #f9fafb;
  color: #4b5563;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.service h3 {
  margin: 0;
  color: #1f2937;
  font-size: 14px;
  font-weight: 650;
}

.service p {
  margin: 5px 0 0;
  color: #9ca3af;
  font-size: 12px;
  line-height: 1.4;
}

.endpoint-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.endpoint {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 18px;
  color: #374151;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.endpoint:hover {
  border-color: #9ca3af;
  transform: translateY(-1px);
}

.endpoint span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  font-weight: 650;
}

.endpoint small {
  color: #9ca3af;
  font-size: 11px;
}

footer {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 10px;
  color: #9ca3af;
  font-size: 11px;
}

@media (max-width: 700px) {
  .topbar {
    height: 64px;
    padding: 0 18px;
  }

  .dashboard-link {
    display: none;
  }

  .container {
    width: min(100% - 28px, 960px);
    padding-top: 34px;
  }

  .hero {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .summary-card {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 34px;
  }

  .service {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .service-status {
    margin-left: 57px;
  }

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

  footer {
    flex-wrap: wrap;
  }
}
