:root {
  --bg: #1b1610;
  --dark: #080a07;
  --panel: #12170f;
  --text: #eef5e8;
  --muted: #8f9a86;
  --acid: #c6f006;
  --green: #48ef79;
  --line: rgba(198, 240, 6, 0.28);
  --soft: rgba(198, 240, 6, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  background:
    linear-gradient(rgba(198, 240, 6, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 240, 6, 0.026) 1px, transparent 1px),
    radial-gradient(circle at 50% 44%, rgba(198, 240, 6, 0.16), transparent 28%),
    linear-gradient(180deg, var(--bg), #090906);
  background-size: 28px 28px, 28px 28px, auto, auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: 0.13;
  background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(0, 0, 0, 0.48) 4px 5px);
}

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

.topbar {
  width: min(1180px, calc(100% - 32px));
  min-height: 62px;
  margin: 16px auto 0;
  padding: 9px 10px;
  position: sticky;
  top: 12px;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  background: rgba(8, 10, 7, 0.82);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--acid);
  font-weight: 950;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--dark);
}

.topbar nav {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar nav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(198, 240, 6, 0.32);
  background: rgba(198, 240, 6, 0.035);
  color: #dbe5d4;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.topbar nav a:hover {
  color: var(--acid);
  background: var(--soft);
}

.topbar nav .join {
  color: #0f1404;
  background: var(--acid);
  border-color: var(--acid);
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 72px;
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(360px, 0.88fr) minmax(230px, 0.42fr);
  gap: 24px;
  align-items: center;
  padding: 48px 0 54px;
}

.eyebrow,
.num {
  color: var(--acid);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

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

h1 {
  margin: 12px 0 18px;
  font-size: clamp(2.7rem, 6.7vw, 6.2rem);
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lead {
  max-width: 580px;
  color: #c9d3c1;
  font-size: clamp(0.92rem, 1.32vw, 1.08rem);
  line-height: 1.74;
}

.chip-stage {
  min-height: 590px;
  position: relative;
  display: grid;
  place-items: center;
}

.chip-stage::before {
  content: "";
  position: absolute;
  width: min(100%, 520px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent 0 45%, rgba(198, 240, 6, 0.12) 45% 55%, transparent 55%),
    linear-gradient(transparent 0 45%, rgba(198, 240, 6, 0.12) 45% 55%, transparent 55%),
    rgba(198, 240, 6, 0.035);
  transform: rotate(45deg);
}

.chip-stage img {
  width: min(88vw, 465px);
  aspect-ratio: 1;
  object-fit: cover;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(198, 240, 6, 0.44);
  background: #050705;
  box-shadow: 0 0 70px rgba(198, 240, 6, 0.18), 0 28px 70px rgba(0, 0, 0, 0.42);
  animation: chipPulse 4.8s ease-in-out infinite;
}

.pin {
  position: absolute;
  z-index: 1;
  width: 110px;
  height: 1px;
  background: var(--line);
}

.pin::after {
  content: "";
  position: absolute;
  right: -4px;
  top: -4px;
  width: 9px;
  height: 9px;
  background: var(--acid);
}

.pin-a {
  left: 12px;
  top: 31%;
}

.pin-b {
  right: 12px;
  top: 41%;
  transform: rotate(180deg);
}

.pin-c {
  left: 34px;
  bottom: 27%;
}

.pin-d {
  right: 34px;
  bottom: 22%;
  transform: rotate(180deg);
}

.chip-label {
  position: absolute;
  z-index: 3;
  right: 16px;
  bottom: 58px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: rgba(8, 10, 7, 0.92);
}

.chip-label span,
.chip-label strong {
  display: block;
}

.chip-label span {
  color: var(--muted);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.chip-label strong {
  color: var(--acid);
  font-size: 1.1rem;
}

.console {
  align-self: end;
  display: grid;
  gap: 8px;
  padding-bottom: 88px;
}

.console p {
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(198, 240, 6, 0.18);
  background: rgba(8, 10, 7, 0.8);
}

.console span,
.console strong {
  display: block;
}

.console span {
  color: var(--muted);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.console strong {
  margin-top: 6px;
  color: var(--acid);
  font-size: 0.82rem;
}

.ticker {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--dark);
  color: var(--acid);
}

.ticker div {
  width: max-content;
  min-height: 42px;
  display: flex;
  align-items: center;
  animation: tape 18s linear infinite;
}

.ticker span {
  padding: 0 28px;
  font-size: 0.7rem;
  font-weight: 900;
  white-space: nowrap;
}

.matrix {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  grid-template-rows: auto auto;
  gap: 14px;
  padding: 34px 0 14px;
}

.panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 23, 15, 0.94), rgba(8, 10, 7, 0.98));
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
}

.tall {
  grid-row: span 2;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

h2 {
  margin: 10px 0 12px;
  font-size: 1rem;
  text-transform: uppercase;
}

.panel p,
td,
th {
  color: #c8d2c0;
  font-size: 0.84rem;
  line-height: 1.7;
}

table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(198, 240, 6, 0.14);
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid rgba(198, 240, 6, 0.11);
  text-align: left;
}

th {
  width: 32%;
  color: var(--text);
  font-weight: 950;
}

.docs {
  margin-top: 14px;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.docs-grid div {
  padding: 13px;
  border: 1px solid rgba(198, 240, 6, 0.13);
  background: rgba(0, 0, 0, 0.16);
}

.docs-grid strong {
  color: var(--acid);
  font-size: 0.72rem;
  text-transform: uppercase;
}

@keyframes chipPulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes tape {
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 920px) {
  .topbar {
    align-items: flex-start;
  }

  .brand span {
    display: none;
  }

  .topbar nav {
    gap: 6px;
  }

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

  .hero {
    padding-top: 34px;
  }

  .chip-stage {
    min-height: 420px;
    order: -1;
  }

  .console {
    padding-bottom: 0;
  }

  .pin {
    display: none;
  }
}
