*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --c-accent: #2563eb;
  --c-accent-hover: #1d4ed8;
  --c-bg: #0b1121;
  --c-bg-alt: #111827;
  --c-border: #1f2937;
  --c-heading: #f9fafb;
  --c-text: #d1d5db;
  --c-text-mute: #6b7280;
  --maxw: 1080px;
  --radius: 10px;
}

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
      Helvetica, Arial, 'Noto Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: var(--c-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  margin: 0 auto;
  max-width: var(--maxw);
  padding: 0 24px;
}

/* Header */
.site-header {
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  align-items: center;
  color: var(--c-heading);
  display: flex;
  font-size: 1.05rem;
  font-weight: 600;
  gap: 10px;
  letter-spacing: -.01em;
}

.logo-mark {
  flex: 0 0 28px;
  height: 28px;
  width: 28px;
}

.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  color: var(--c-text);
  font-size: .94rem;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}

.main-nav a:hover {
  color: var(--c-heading);
  text-decoration: none;
}

.main-nav a.active {
  border-bottom-color: var(--c-accent);
  color: var(--c-heading);
}

/* Hero */
.hero {
  padding: 96px 0 72px;
  text-align: center;
}

.hero h1 {
  color: var(--c-heading);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero .lead {
  color: var(--c-text);
  font-size: 1.15rem;
  margin: 0 auto 32px;
  max-width: 680px;
}

.btn {
  background: var(--c-accent);
  border-radius: 8px;
  color: #fff;
  display: inline-block;
  font-size: .95rem;
  font-weight: 600;
  padding: 12px 26px;
  text-decoration: none;
  transition: background .15s ease;
}

.btn:hover {
  background: var(--c-accent-hover);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--c-border);
  color: var(--c-heading);
}

.btn-ghost:hover {
  background: var(--c-bg-alt);
}

/* Sections */
section {
  padding: 64px 0;
}

.section-alt {
  background: var(--c-bg-alt);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

h2 {
  color: var(--c-heading);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 14px;
}

h3 {
  color: var(--c-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.section-intro {
  color: var(--c-text);
  margin-bottom: 40px;
  max-width: 640px;
}

/* Cards */
.cards {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.card p {
  color: var(--c-text);
  font-size: .95rem;
}

/* Stats */
.stats {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  text-align: center;
}

.stat-value {
  color: var(--c-heading);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -.02em;
}

.stat-label {
  color: var(--c-text-mute);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 4px;
}

/* Status table */
.status-table {
  border-collapse: collapse;
  font-size: .95rem;
  width: 100%;
}

.status-table th,
.status-table td {
  border-bottom: 1px solid var(--c-border);
  padding: 14px 16px;
  text-align: left;
}

.status-table th {
  color: var(--c-text-mute);
  font-weight: 500;
  width: 200px;
}

.status-ok {
  color: #34d399;
  font-weight: 600;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--c-border);
  color: var(--c-text-mute);
  font-size: .86rem;
  padding: 36px 0;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 12px;
}

.footer-links a {
  color: var(--c-text-mute);
}

/* Responsive */
@media (max-width: 720px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 18px;
  }

  section {
    padding: 48px 0;
  }
}
