:root {
  color-scheme: dark;
  --green: #24ff4b;
  --green-dim: #15932d;
  --green-dark: #071b0c;
  --ink: #020503;
  --panel: rgba(2, 8, 4, .88);
  --amber: #d5bb6f;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--ink);
}

body {
  color: var(--green);
  font-family: Consolas, "Courier New", monospace;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .38)),
    url("/assets/arena_wasteland_panorama.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 72% 35%, transparent, rgba(0, 0, 0, .63) 70%),
    rgba(5, 8, 4, .28);
}

.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 10;
  opacity: .13;
  background: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 3px,
    rgba(68, 255, 91, .18) 4px
  );
}

.site-head, footer {
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 62px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(36, 255, 75, .42);
  background: rgba(0, 3, 1, .9);
}

.brand {
  color: var(--green);
  display: inline-flex;
  gap: 13px;
  align-items: center;
  text-decoration: none;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .08em;
}

.brand img {
  width: 49px;
  height: 49px;
  object-fit: contain;
}

.site-state {
  font-size: 12px;
  color: #a5d3aa;
}

.site-state span {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 13px var(--green);
}

main {
  width: min(1220px, calc(100% - 36px));
  margin: clamp(36px, 6vw, 88px) auto 52px;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(290px, .85fr);
  gap: 18px;
}

.terminal {
  border: 1px solid rgba(36, 255, 75, .72);
  background: var(--panel);
  box-shadow: inset 0 0 38px rgba(21, 147, 45, .07), 0 18px 70px rgba(0, 0, 0, .45);
}

.hero { padding: clamp(28px, 5vw, 64px); }
.brief { padding: 30px; }

.eyebrow {
  color: #73c57e;
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1 {
  margin: 17px 0 22px;
  max-width: 800px;
  color: #33ff55;
  font-size: clamp(43px, 6.3vw, 82px);
  line-height: .94;
  letter-spacing: -.045em;
  text-shadow: 0 0 28px rgba(36, 255, 75, .24);
}

.lead {
  max-width: 700px;
  color: #c2d4c4;
  font-size: 16px;
  line-height: 1.65;
}

.release-line {
  margin: 31px 0 23px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  color: #6f9274;
  font-size: 11px;
}

.release-line strong { color: var(--green); }

.download {
  display: inline-flex;
  min-height: 58px;
  padding: 0 30px;
  align-items: center;
  justify-content: center;
  color: #001c06;
  background: var(--green);
  border: 1px solid var(--green);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .05em;
  text-decoration: none;
  transition: filter .14s ease, box-shadow .14s ease;
}

.download:not(.disabled):hover {
  filter: brightness(1.16);
  box-shadow: 0 0 28px rgba(36, 255, 75, .35);
}

.download.disabled {
  cursor: not-allowed;
  color: #648269;
  background: #101b12;
  border-color: #355239;
}

.download-meta {
  margin: 11px 0 0;
  color: #82a487;
  font-size: 11px;
}

.brief ol {
  margin: 28px 0;
  padding: 0;
  list-style: none;
  counter-reset: briefing;
}

.brief li {
  counter-increment: briefing;
  display: grid;
  grid-template-columns: 34px 1fr;
  margin: 0 0 23px;
}

.brief li::before {
  content: "0" counter(briefing);
  color: #54785a;
}

.brief li b, .brief li span { grid-column: 2; }
.brief li b { margin-bottom: 4px; }
.brief li span { color: #aab8ac; font-size: 12px; line-height: 1.45; }

.requirements {
  border-top: 1px solid #28552f;
  padding-top: 20px;
  font-size: 11px;
}

.requirements p { color: #9cac9f; line-height: 1.6; }

.integrity {
  grid-column: 1 / -1;
  padding: 20px 24px;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.integrity code {
  display: block;
  margin-top: 9px;
  color: var(--amber);
  font-size: 12px;
  overflow-wrap: anywhere;
}

button {
  flex: 0 0 auto;
  padding: 11px 18px;
  color: var(--green);
  border: 1px solid var(--green);
  background: #051208;
  font: 700 11px Consolas, monospace;
  cursor: pointer;
}

button:disabled { opacity: .35; cursor: not-allowed; }

.beta-note {
  grid-column: 1 / -1;
  color: #bcaf80;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

footer {
  min-height: 54px;
  border-top: 1px solid rgba(36, 255, 75, .42);
  border-bottom: 0;
  color: #55775a;
  font-size: 10px;
}

@media (max-width: 800px) {
  .site-state { display: none; }
  main { grid-template-columns: 1fr; margin-top: 24px; }
  .hero, .brief { padding: 25px; }
  .integrity { align-items: stretch; flex-direction: column; }
  .integrity button { align-self: flex-start; }
}
