:root {
  color-scheme: dark;
  --bg: #0a0c0f;
  --panel: #14181f;
  --line: rgba(255, 120, 60, 0.22);
  --rust: #e85d2a;
  --rust2: #ff8a4c;
  --text: #f3efe8;
  --muted: #9a9388;
  --ok: #5ddea0;
  --bad: #ff5d5d;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Bebas Neue", Impact, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

.bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(232, 93, 42, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(80, 40, 20, 0.35), transparent 50%),
    linear-gradient(180deg, #10141a 0%, var(--bg) 40%);
}
.bg::after {
  content: "";
  position: absolute; inset: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.top {
  display: flex; align-items: center; gap: 1.25rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky; top: 0; backdrop-filter: blur(12px);
  background: rgba(10,12,15,0.75); z-index: 10;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; }
.brand__mark {
  width: 2rem; height: 2rem; display: grid; place-items: center;
  border-radius: .4rem; background: var(--rust); color: #111;
  font-weight: 800; font-size: .75rem;
}
.brand__text { font-weight: 700; letter-spacing: .02em; }
.brand__text em { font-style: normal; color: var(--rust2); }
.nav { display: flex; gap: 1rem; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 600; }
.nav a:hover { color: var(--text); }
.top__status {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .35rem .7rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.35); font-size: .8rem; font-weight: 700;
}
.dot { width: .55rem; height: .55rem; border-radius: 50%; background: #666; }
.dot.on { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.dot.off { background: var(--bad); box-shadow: 0 0 10px var(--bad); }

main { width: min(1100px, 100%); margin: 0 auto; padding: 1.5rem; }
.hero { padding: 2.5rem 0 1.5rem; }
.hero__eyebrow {
  text-transform: uppercase; letter-spacing: .14em; color: var(--rust2);
  font-size: .75rem; font-weight: 700; margin: 0 0 .5rem;
}
.hero__title {
  font-family: var(--display); font-size: clamp(4.5rem, 16vw, 9rem);
  line-height: .85; margin: 0; letter-spacing: .04em;
  background: linear-gradient(180deg, #fff 10%, var(--rust) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: 1.35rem; font-weight: 700; margin: .75rem 0 .25rem; }
.hero__sub { color: var(--muted); max-width: 36rem; margin: 0 0 1.5rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .6rem; }
.hero__hint { margin: .75rem 0 0; color: var(--ok); font-weight: 600; font-size: .9rem; }

.btn {
  appearance: none; border: 0; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
  padding: .75rem 1.15rem; border-radius: .55rem;
  font: inherit; font-weight: 700; font-size: .92rem;
}
.btn--primary { background: var(--rust); color: #140a05; }
.btn--primary:hover { background: var(--rust2); }
.btn--ghost {
  background: transparent; color: var(--text);
  border: 1px solid rgba(255,255,255,0.14);
}
.btn--ghost:hover { border-color: var(--rust); color: var(--rust2); }

.grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1.25rem 0;
}
.grid--2 { grid-template-columns: 1.1fr .9fr; }
.card {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1rem; padding: 1.25rem 1.35rem;
}
.card--live { border-color: var(--line); }
.card--wide { margin: 1.25rem 0 2rem; }
.card h2 { margin: 0 0 1rem; font-size: 1.05rem; letter-spacing: .02em; }

.stat { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-bottom: 1rem; }
.stat__n { font-family: var(--display); font-size: 2.4rem; line-height: 1; color: var(--rust2); }
.stat__l { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }

.kv { list-style: none; margin: 0; padding: 0; }
.kv li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .55rem 0; border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: .92rem;
}
.kv li:last-child { border-bottom: 0; }
.kv span { color: var(--muted); }
.kv code, pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--rust2); background: rgba(0,0,0,0.28);
  padding: .15rem .4rem; border-radius: .35rem; font-size: .85rem;
}
pre { display: block; margin: .5rem 0 0; padding: .7rem .8rem; overflow: auto; }

.steps { margin: 0; padding-left: 1.15rem; color: var(--muted); }
.steps li { margin: .45rem 0; }
.steps strong { color: var(--text); }
.note { margin: 1rem 0 0; color: var(--muted); font-size: .88rem; }

.band { margin: 2rem 0; }
.band h2 { margin: 0 0 1rem; }
.feats {
  display: grid; gap: .75rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.feat {
  padding: 1rem; border-radius: .85rem;
  background: rgba(20,24,31,0.9);
  border: 1px solid rgba(255,255,255,0.06);
}
.feat__t { font-weight: 800; margin: 0 0 .25rem; }
.feat__d { margin: 0; color: var(--muted); font-size: .88rem; }

.wipe__when { margin: 0; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; font-weight: 700; }
.wipe__cd {
  font-family: var(--display); font-size: 3rem; color: var(--rust2);
  letter-spacing: .06em; margin: .35rem 0 1rem;
}
.rules { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.rules li { margin: .4rem 0; }

.log {
  font-family: ui-monospace, Menlo, monospace; font-size: .82rem;
  color: var(--muted); max-height: 220px; overflow: auto;
  background: rgba(0,0,0,0.28); border-radius: .6rem; padding: .85rem 1rem;
  white-space: pre-wrap;
}

.foot {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 1.5rem; border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--muted); font-size: .85rem;
}
.foot a { color: var(--rust2); text-decoration: none; }

@media (max-width: 820px) {
  .nav { display: none; }
  .grid, .grid--2 { grid-template-columns: 1fr; }
  .hero { padding-top: 1.5rem; }
}
