*{box-sizing:border-box;margin:0;padding:0}
:root{
  --bg:#07120d;
  --bg-soft:#0a1a14;
  --surface:#0d1d16;
  --surface-hi:#13281f;
  --border:#1a2c23;
  --border-hi:#264236;
  --text:#e6f4ec;
  --muted:#7a9389;
  --accent:#17dc94;
  --good:#17dc94;
  --bad:#ff7676;
  --warn:#ffc857;
  --gap:#243a31;
}
html{scroll-behavior:smooth}
body{
  background:var(--bg);
  color:var(--text);
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  font-size:16px;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  min-height:100vh;
}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}

.page{
  max-width:880px;
  margin:0 auto;
  padding:48px 24px 80px;
}

/* hero */
.hero{
  display:grid;
  grid-template-columns:1fr;
  gap:28px;
  padding:24px;
  background:linear-gradient(160deg,var(--surface-hi),var(--surface) 70%);
  border:1px solid var(--border);
  border-radius:18px;
  margin-bottom:36px;
}
@media (min-width:720px){
  .hero{grid-template-columns:340px 1fr;gap:36px;align-items:center}
}
.hero-photo{position:relative}
.hero-photo img{
  width:100%;
  height:auto;
  display:block;
  border-radius:14px;
  border:1px solid var(--border-hi);
  background:#000;
}
.hero-credit{
  margin-top:8px;
  font-size:11px;
  color:var(--muted);
}
.hero-credit a{color:var(--muted);text-decoration:underline}
.hero-text h1{
  font-size:28px;
  font-weight:800;
  letter-spacing:-0.01em;
  margin-bottom:10px;
}
.hero-text h1 .dot{
  margin-right:12px;
  vertical-align:0.18em;
}
@media (min-width:720px){.hero-text h1{font-size:34px}}
.hero-sub{color:var(--muted);font-size:15px;margin-bottom:14px}
.hero-meta{color:var(--muted);font-size:13px}
.hero-meta time{color:var(--text)}

/* status dot */
.dot{
  display:inline-block;
  width:14px;height:14px;
  border-radius:50%;
  background:var(--muted);
  box-shadow:0 0 0 4px rgba(255,255,255,0.03);
}
.dot-ok{background:var(--good);box-shadow:0 0 0 4px rgba(23,220,148,0.18)}
.dot-bad{background:var(--bad);box-shadow:0 0 0 4px rgba(255,118,118,0.18)}
.dot-unknown{background:var(--muted)}

/* services list */
.services{display:flex;flex-direction:column;gap:14px}
.svc{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:14px;
  padding:18px 20px;
  transition:border-color .15s ease;
}
.svc:hover{border-color:var(--border-hi)}
.svc-row{
  display:flex;align-items:center;gap:14px;
  flex-wrap:wrap;
}
.svc-name{
  font-size:17px;
  font-weight:700;
  flex:1 1 auto;
  min-width:0;
}
.svc-name a{color:var(--text)}
.svc-status{
  font-size:13px;
  color:var(--muted);
  font-variant-numeric:tabular-nums;
}
.svc-bad .svc-status{color:var(--bad)}
.svc-ok .svc-status{color:var(--good)}

/* 24h strip */
.svc-strip{
  display:flex;
  gap:2px;
  margin-top:14px;
  height:28px;
  border-radius:6px;
  overflow:hidden;
  background:var(--bg-soft);
}
.svc-strip .slot{flex:1 1 0;height:100%}
.slot-ok{background:var(--good)}
.slot-bad{background:var(--bad)}
.slot-mixed{background:var(--warn)}
.slot-gap{background:var(--gap)}
.svc-strip-axis{
  display:flex;
  justify-content:space-between;
  font-size:11px;
  color:var(--muted);
  margin-top:6px;
  letter-spacing:0.04em;
  text-transform:uppercase;
}

/* footer */
.foot{
  margin-top:48px;
  color:var(--muted);
  font-size:13px;
  text-align:center;
}

/* dev banner */
.dev-banner{
  background:#d63333;
  color:#fff;
  font-weight:800;
  font-size:13px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  text-align:center;
  padding:10px 16px;
  position:sticky;
  top:0;
  z-index:1000;
  border-bottom:1px solid rgba(0,0,0,0.25);
  box-shadow:0 2px 8px rgba(0,0,0,0.35);
}
.dev-banner code{
  font-family:inherit;
  background:rgba(0,0,0,0.18);
  padding:1px 8px;
  border-radius:4px;
  letter-spacing:0.04em;
}
.dev-banner-link{
  color:#fff;
  text-decoration:underline;
  text-underline-offset:2px;
}
.dev-banner-link:hover{
  text-decoration:none;
  background:rgba(0,0,0,0.18);
  padding:1px 6px;
  border-radius:4px;
}
