:root {
  --ink: #07101c;
  --night: #0b1625;
  --panel: #10243a;
  --blue: #1289ff;
  --blue-deep: #0451c8;
  --cyan: #74dcff;
  --cream: #fff5d7;
  --paper: #f8fbff;
  --red: #ff3f57;
  --lime: #bbff4d;
  --muted: #9eb5c8;
  --line: rgba(255, 255, 255, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(0deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 28px 28px,
    radial-gradient(circle at 80% 12%, rgba(116, 220, 255, 0.2), transparent 28rem),
    linear-gradient(135deg, #07101c 0%, #10243a 42%, #07101c 100%);
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.035),
    rgba(255, 255, 255, 0.035) 1px,
    transparent 1px,
    transparent 4px
  );
  mix-blend-mode: overlay;
  opacity: 0.35;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  margin-top: 16px;
  border: 3px solid #000;
  background: rgba(7, 16, 28, 0.82);
  box-shadow: 6px 6px 0 #000;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 900;
  color: var(--cream);
}

.brand img {
  width: 34px;
  height: 34px;
  image-rendering: pixelated;
  border: 2px solid #000;
  background: var(--blue);
}

.brand span,
.eyebrow,
.ticker-band,
.hero-actions,
.join-actions,
.manifesto article span {
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.nav-links a {
  padding: 10px 12px;
}

.nav-links a:hover {
  color: var(--cream);
}

.hero {
  min-height: calc(100svh - 80px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(40px, 7vw, 88px) 0 42px;
}

.hero-copy {
  max-width: 690px;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 8px 10px;
  border: 3px solid #000;
  background: var(--lime);
  box-shadow: 4px 4px 0 #000;
  color: var(--ink);
  font-size: clamp(0.72rem, 1.7vw, 0.86rem);
  font-weight: 900;
}

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

h1 {
  margin-bottom: 18px;
  color: var(--cream);
  font-size: clamp(3.2rem, 10vw, 8.8rem);
  line-height: 0.88;
  font-weight: 950;
  text-wrap: balance;
  text-shadow: 6px 6px 0 #000, 10px 10px 0 var(--blue-deep);
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 28px;
  color: #d8e8f6;
  font-size: clamp(1.08rem, 2.3vw, 1.45rem);
  line-height: 1.45;
}

.hero-actions,
.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.ticker-copy,
.primary-link,
.join-actions a,
.join-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 3px solid #000;
  box-shadow: 5px 5px 0 #000;
  cursor: pointer;
  font-weight: 950;
}

.ticker-copy {
  gap: 14px;
  padding: 0;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
}

.ticker-copy span {
  padding: 13px 18px;
}

.ticker-copy strong {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  background: var(--blue);
  color: #fff;
}

.primary-link,
.join-actions a {
  padding: 0 20px;
  background: var(--red);
  color: #fff;
}

.hero-art {
  position: relative;
  justify-self: end;
  width: min(100%, 520px);
}

.poster-frame {
  position: relative;
  border: 5px solid #000;
  background: #355a70;
  box-shadow: 12px 12px 0 #000;
  overflow: hidden;
}

.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 10px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.poster-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  image-rendering: pixelated;
}

.token-orbit {
  position: absolute;
  right: -22px;
  bottom: -30px;
  width: clamp(108px, 16vw, 178px);
  border: 4px solid #000;
  background: var(--cyan);
  box-shadow: 8px 8px 0 #000;
  transform: rotate(7deg);
}

.token-orbit img {
  display: block;
  width: 100%;
  image-rendering: pixelated;
}

.ticker-band {
  display: flex;
  gap: 28px;
  overflow: hidden;
  border-block: 4px solid #000;
  padding: 14px 0;
  color: var(--ink);
  background: var(--cream);
  box-shadow: 0 7px 0 #000;
  font-weight: 950;
  white-space: nowrap;
}

.ticker-band span {
  flex: 0 0 auto;
}

.wide-signal {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.8fr);
  gap: clamp(24px, 4vw, 46px);
  align-items: center;
  padding: clamp(72px, 9vw, 120px) 0;
}

.wide-image {
  border: 5px solid #000;
  background: #1a3147;
  box-shadow: 10px 10px 0 #000;
  overflow: hidden;
}

.wide-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1915 / 821;
  object-fit: cover;
}

.signal-copy h2,
.manifesto h2,
.join h2 {
  margin-bottom: 14px;
  color: var(--cream);
  font-size: clamp(2rem, 4.6vw, 4.7rem);
  line-height: 0.96;
  text-shadow: 4px 4px 0 #000;
}

.signal-copy p,
.manifesto p,
.join p {
  color: #d6e4ef;
  font-size: 1.05rem;
  line-height: 1.55;
}

.manifesto {
  padding: 14px 0 clamp(72px, 10vw, 116px);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.manifesto article {
  min-height: 230px;
  padding: 22px;
  border: 4px solid #000;
  background: linear-gradient(180deg, rgba(18, 137, 255, 0.96), rgba(4, 81, 200, 0.96));
  box-shadow: 8px 8px 0 #000;
}

.manifesto article:nth-child(2) {
  background: linear-gradient(180deg, rgba(255, 63, 87, 0.96), rgba(146, 22, 43, 0.96));
}

.manifesto article:nth-child(3) {
  background: linear-gradient(180deg, rgba(187, 255, 77, 0.96), rgba(53, 130, 45, 0.96));
}

.manifesto article:nth-child(3) h3,
.manifesto article:nth-child(3) p,
.manifesto article:nth-child(3) span {
  color: var(--ink);
}

.manifesto article span {
  display: block;
  margin-bottom: 42px;
  color: var(--cream);
  font-size: 0.86rem;
  font-weight: 950;
}

.manifesto h3 {
  margin-bottom: 10px;
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1;
}

.manifesto article p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
}

.join {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-bottom: 42px;
  padding: 24px;
  border: 5px solid #000;
  background: rgba(255, 245, 215, 0.1);
  box-shadow: 10px 10px 0 #000;
}

.join > img {
  width: 118px;
  height: 118px;
  object-fit: cover;
  image-rendering: pixelated;
  border: 3px solid #000;
}

.join h2 {
  font-size: clamp(1.9rem, 4vw, 3.5rem);
}

.join p {
  margin-bottom: 0;
}

.join-actions {
  justify-content: flex-end;
}

.join-actions button {
  padding: 0 18px;
  background: var(--paper);
  color: var(--ink);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 20;
  transform: translate(-50%, 20px);
  padding: 12px 18px;
  border: 3px solid #000;
  background: var(--lime);
  box-shadow: 5px 5px 0 #000;
  color: var(--ink);
  font-weight: 950;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 860px) {
  .site-shell {
    width: min(100% - 22px, 680px);
  }

  .topbar {
    top: 10px;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .wide-signal,
  .join {
    grid-template-columns: 1fr;
  }

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

  .hero-art {
    justify-self: stretch;
    order: -1;
    width: min(100%, 520px);
    margin: 0 auto;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 5.7rem);
  }

  .token-orbit {
    right: -8px;
    bottom: -18px;
  }

  .wide-signal {
    padding-block: 70px;
  }

  .manifesto-grid {
    grid-template-columns: 1fr;
  }

  .manifesto article {
    min-height: 190px;
  }

  .join {
    text-align: left;
  }

  .join-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .site-shell {
    width: min(100% - 16px, 420px);
  }

  .topbar,
  .poster-frame,
  .wide-image,
  .manifesto article,
  .join {
    box-shadow: 5px 5px 0 #000;
  }

  .hero-actions,
  .join-actions {
    align-items: stretch;
  }

  .ticker-copy,
  .primary-link,
  .join-actions a,
  .join-actions button {
    width: 100%;
  }

  .ticker-copy {
    justify-content: space-between;
  }

  .join {
    padding: 18px;
  }
}
