:root {
  color-scheme: dark;
  --bg: #020403;
  --panel: #080b09;
  --panel-2: #0d100e;
  --line: #222a24;
  --text: #f3f7f1;
  --muted: #a0aaa2;
  --green: #76b900;
  --green-2: #b8ff2c;
  --red: #d91f3c;
  --cyan: #6ffcff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(rgba(118, 185, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 185, 0, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 68% 18%, rgba(118, 185, 0, 0.16), transparent 28rem),
    radial-gradient(circle at 78% 62%, rgba(217, 31, 60, 0.12), transparent 25rem),
    var(--bg);
  background-size: 22px 22px, 22px 22px, auto, auto, auto;
  color: var(--text);
  font-family:
    "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.scanline {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.025),
    rgba(255, 255, 255, 0.025) 1px,
    transparent 1px,
    transparent 5px
  );
  mix-blend-mode: screen;
  opacity: 0.35;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.access-form {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--green);
  background: #0c1408;
  color: var(--green-2);
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  box-shadow: 4px 4px 0 rgba(118, 185, 0, 0.22);
}

.nav {
  gap: 30px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.nav a:hover,
.header-action:hover {
  color: var(--green-2);
}

.header-action,
.button,
.access-form button {
  border: 1px solid var(--green);
  background: var(--green);
  color: #071000;
  font-weight: 800;
  text-transform: uppercase;
}

.header-action {
  padding: 10px 14px;
  font-size: 12px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
  gap: 46px;
  align-items: center;
  width: min(var(--max), calc(100% - 40px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 52px 0 70px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green-2);
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(54px, 8vw, 112px);
  line-height: 0.9;
  font-weight: 900;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 5vw, 62px);
  line-height: 1;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 14px;
  font-size: 22px;
}

.hero-text,
.section-copy,
.feature p,
.form-note {
  color: var(--muted);
  line-height: 1.8;
}

.hero-text {
  max-width: 620px;
  font-size: 18px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button,
.access-form button {
  min-height: 48px;
  padding: 14px 22px;
  cursor: pointer;
}

.button.secondary {
  background: transparent;
  color: var(--text);
  border-color: #4b564d;
}

.button:hover,
.access-form button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--red);
}

.hero-visual {
  min-height: 560px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(118, 185, 0, 0.28);
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(118, 185, 0, 0.16) 49% 51%, transparent 52%),
    radial-gradient(circle, rgba(118, 185, 0, 0.14), transparent 54%),
    rgba(5, 8, 6, 0.72);
  overflow: hidden;
}

.pixel-stage {
  position: relative;
  width: min(86vw, 440px);
  aspect-ratio: 1;
}

.core-grid {
  position: absolute;
  inset: 18%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  transform: rotate(45deg);
}

.core-grid span {
  background: var(--green);
  box-shadow: 0 0 24px rgba(118, 185, 0, 0.72);
  animation: pulse 2.6s ease-in-out infinite;
}

.core-grid span:nth-child(3n) {
  background: var(--red);
  animation-delay: 0.4s;
}

.orbit {
  position: absolute;
  border: 1px dashed rgba(184, 255, 44, 0.5);
}

.orbit-a {
  inset: 10%;
  animation: spin 18s linear infinite;
}

.orbit-b {
  inset: 3%;
  transform: rotate(25deg);
  border-color: rgba(111, 252, 255, 0.35);
  animation: spin 24s linear infinite reverse;
}

.signal-card {
  position: absolute;
  min-width: 150px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(2, 4, 3, 0.86);
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
}

.signal-card strong,
.signal-card span {
  display: block;
}

.signal-card span {
  margin-top: 8px;
  color: var(--green-2);
}

.card-a {
  top: 8%;
  left: -2%;
}

.card-b {
  right: -2%;
  bottom: 10%;
}

.ticker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 96px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ticker div {
  padding: 22px 18px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-family: Consolas, "Courier New", monospace;
  text-transform: uppercase;
}

.ticker div:last-child {
  border-right: 0;
}

.ticker span,
.feature-index {
  color: var(--green-2);
}

.section,
.access {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

.section-heading {
  max-width: 800px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 42px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature {
  min-height: 260px;
  padding: 28px;
  background: var(--panel);
}

.feature:hover {
  background: var(--panel-2);
}

.feature-index {
  display: inline-block;
  margin-bottom: 42px;
  font-family: Consolas, "Courier New", monospace;
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 42px;
  align-items: center;
}

.console {
  border: 1px solid var(--line);
  background: #030604;
  font-family: Consolas, "Courier New", monospace;
}

.console-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.console-row:last-child {
  border-bottom: 0;
}

.console-row span {
  color: var(--muted);
}

.console-row strong {
  color: var(--green-2);
  text-transform: uppercase;
}

.access {
  margin-bottom: 60px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.access h2 {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.access-form {
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.access-form input {
  width: min(420px, 100%);
  min-height: 48px;
  border: 1px solid var(--line);
  background: #050806;
  color: var(--text);
  padding: 0 16px;
  font: inherit;
}

.form-note {
  margin: 18px 0 0;
  font-size: 13px;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(0.88);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 860px) {
  .site-header {
    width: min(100% - 28px, var(--max));
  }

  .nav {
    display: none;
  }

  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 40px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .ticker,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .ticker div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .ticker div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .header-action {
    display: none;
  }

  h1 {
    font-size: 48px;
  }

  .access-form {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .access-form button {
    width: 100%;
    text-align: center;
  }
}
