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

html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #c9d1d9;
  background: #0d1117;
  line-height: 1.6;
}

/* -------- Helpers -------- */
.container { width: 90%; max-width: 1100px; margin: 0 auto; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.section { padding: 4rem 0; }
.section-alt { padding: 4rem 0; background: #161b22; }
.grid-3 {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.card {
  background: #161b22; padding: 1.5rem; border-radius: 0.5rem;
  border: 1px solid #30363d;
}
h1, h2, h3 { line-height: 1.2; margin-bottom: 1rem; color: #f0f6fc; }
p { margin-bottom: 1rem; }

/* -------- Header -------- */
.site-header {
  background: #0d1117cc;
  backdrop-filter: blur(6px);
  position: sticky; top: 0; z-index: 999;
  border-bottom: 1px solid #21262d;
}
.logo {
  display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: 1.1rem;
}
.logo img { width: 32px; height: 32px; }
.main-nav a {
  margin-left: 1rem; color: #c9d1d9; text-decoration: none; font-size: .95rem;
}
.main-nav a:hover { color: #58a6ff; }

/* -------- Hero -------- */
.hero {
  position: relative; height: 72vh; min-height: 460px; display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.35);
}
.hero-content { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1rem; }
.hero p { font-size: 1.1rem; max-width: 560px; margin-bottom: 2rem; color: #8b949e; }
.cta .btn { margin-right: 1rem; }

/* -------- Buttons -------- */
.btn {
  display: inline-block; padding: .7rem 1.2rem; border-radius: .4rem;
  text-decoration: none; font-weight: 600; transition: .2s;
}
.btn-primary { background: #238636; color: #fff; }
.btn-primary:hover { background: #2ea043; }
.btn-secondary { background: #30363d; color: #c9d1d9; }
.btn-secondary:hover { background: #484f58; }
.btn-outline {
  border: 1px solid #30363d; padding: .6rem 1rem; border-radius: .4rem;
}
.btn-outline:hover { border-color: #58a6ff; color: #58a6ff; }

/* -------- Status -------- */
.status-box {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .8rem 1.2rem; border-radius: .5rem; border: 1px solid #30363d;
  background: #0d1117;
  font-weight: 500;
}
.status-box .dot {
  width: .8rem; height: .8rem; border-radius: 50%;
  background: #8b949e;
}
.status-box.ok .dot { background: #2ea043; }
.status-box.down .dot { background: #f85149; }
.status-box.unknown .dot { background: #8b949e; }

/* -------- Footer -------- */
.site-footer {
  padding: 1.5rem 0; border-top: 1px solid #21262d; background: #0d1117;
  font-size: .9rem; color: #8b949e;
}
.site-footer a { color: #8b949e; }
.site-footer a:hover { color: #58a6ff; }

/* -------- Responsive small nav -------- */
@media (max-width: 750px) {
  .main-nav { display: none; }
}

