:root {
  --bg: #090807;
  --brown: #1b1610;
  --panel: #16120d;
  --panel-2: #211b13;
  --text: #f2efe2;
  --muted: #a99f8d;
  --line: rgba(198, 240, 6, 0.26);
  --acid: #c6f006;
  --acid-soft: rgba(198, 240, 6, 0.1);
  --warn: #f06d3f;
}

* {
  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, "Liberation Mono", monospace;
  background:
    linear-gradient(rgba(198, 240, 6, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 240, 6, 0.02) 1px, transparent 1px),
    radial-gradient(circle at 74% 18%, rgba(198, 240, 6, 0.12), transparent 25%),
    linear-gradient(180deg, var(--brown), var(--bg));
  background-size: 28px 28px, 28px 28px, auto, auto;
}

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

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

.nav {
  width: min(1160px, calc(100% - 34px));
  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: 18px;
  border: 1px solid var(--line);
  background: rgba(9, 8, 7, 0.82);
  backdrop-filter: blur(14px);
}

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

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

.nav nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav nav a,
.actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(198, 240, 6, 0.34);
  background: rgba(27, 22, 16, 0.64);
  color: #ddd6c5;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

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

main {
  width: min(1160px, calc(100% - 34px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: 58px;
  padding: 64px 0 56px;
}

.eyebrow,
.kicker {
  color: var(--acid);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin: 14px 0 22px;
  font-size: clamp(3.2rem, 7.3vw, 7rem);
  line-height: 0.93;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lead {
  max-width: 720px;
  color: #d0c8b8;
  font-size: clamp(0.98rem, 1.45vw, 1.14rem);
  line-height: 1.72;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.frame,
.panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(33, 27, 19, 0.94), rgba(12, 10, 8, 0.96));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.42);
}

.frame {
  padding: 12px;
}

.framebar {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 4px 10px;
  border-bottom: 1px solid rgba(198, 240, 6, 0.16);
  color: var(--muted);
  font-size: 0.68rem;
}

.framebar strong {
  color: var(--acid);
}

.frame img {
  width: 100%;
  display: block;
  margin: 16px 0;
  border: 1px solid rgba(198, 240, 6, 0.24);
  background: #0b0906;
}

.readout {
  display: grid;
  gap: 8px;
}

.readout p {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(198, 240, 6, 0.14);
  background: rgba(198, 240, 6, 0.035);
  color: var(--muted);
  font-size: 0.78rem;
}

.readout strong {
  color: var(--acid);
}

.panels,
.token {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.panel {
  padding: 22px;
}

.wide {
  grid-column: 1 / -1;
}

h2 {
  margin: 10px 0 14px;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h3 {
  margin: 28px 0 10px;
  color: var(--acid);
  font-size: 0.88rem;
  text-transform: uppercase;
}

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

.strip {
  margin: 34px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0d0b08;
  color: var(--acid);
}

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

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

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

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

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

.alert {
  border-color: rgba(240, 109, 63, 0.34);
}

.alert .kicker {
  color: var(--warn);
}

.docs {
  margin-bottom: 72px;
}

.docgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.docgrid div {
  padding: 15px;
  border: 1px solid rgba(198, 240, 6, 0.14);
  background: rgba(0, 0, 0, 0.18);
}

.docgrid strong {
  color: var(--text);
  font-size: 0.78rem;
  text-transform: uppercase;
}

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

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

  .brand span {
    display: none;
  }

  .nav nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero,
  .panels,
  .token,
  .docgrid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 42px;
    gap: 28px;
  }
}
