* { box-sizing: border-box; }

:root {
  --bg: #0b0b0b;
  --panel: #121212;
  --text: #f2f0eb;
  --muted: #a6a39d;
  --line: rgba(255,255,255,.12);
  --accent: #d7ff4f;
  --max: 1180px;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.5;
}

body::selection { background: var(--accent); color: #000; }

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

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .035;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  margin: auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 10px; font-family: "Space Grotesk", sans-serif; font-weight: 700; }
.brand img { width: 38px; height: 38px; object-fit: cover; border-radius: 50%; }
.nav nav { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--muted); }
.nav nav a:hover { color: var(--text); }
.nav .nav-cta { color: #000; background: var(--accent); padding: 10px 15px; border-radius: 999px; font-weight: 700; }

.hero {
  width: min(var(--max), calc(100% - 40px));
  min-height: 720px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.eyebrow, .section-label {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: .18em;
  font-weight: 700;
}

.hero h1 {
  margin: 18px 0;
  font: 700 clamp(60px, 8vw, 112px)/.88 "Space Grotesk", sans-serif;
  letter-spacing: -.06em;
}

.hero h1 span { color: var(--muted); }

.lede {
  max-width: 560px;
  color: var(--muted);
  font-size: 19px;
  margin-bottom: 30px;
}

.buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 14px 20px; border-radius: 999px; font-weight: 700; border: 1px solid var(--line); transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--accent); color: #000; border-color: var(--accent); }
.button.secondary { background: transparent; }

.contract { margin-top: 30px; max-width: 590px; }
.contract > span { display: block; color: #777; font-size: 10px; letter-spacing: .15em; margin-bottom: 7px; }
.contract button { width: 100%; background: #101010; color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: flex; gap: 12px; align-items: center; justify-content: space-between; cursor: pointer; }
.contract code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #c9c7c2; font-size: 12px; }
.contract strong { color: var(--accent); font-size: 10px; letter-spacing: .12em; }

.hero-art { position: relative; display: grid; place-items: center; min-height: 500px; }
.image-frame { width: min(450px, 85%); aspect-ratio: 1; overflow: hidden; border-radius: 34% 66% 55% 45% / 46% 42% 58% 54%; border: 1px solid var(--line); transform: rotate(3deg); box-shadow: 0 30px 100px rgba(0,0,0,.5); background: #222; }
.image-frame img { width: 100%; height: 100%; object-fit: cover; }
.orbit { position: absolute; width: 520px; height: 520px; border: 1px solid var(--line); border-radius: 50%; pointer-events: none; }
.orbit-two { width: 620px; height: 360px; transform: rotate(-28deg); }

.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; white-space: nowrap; color: #8e8c87; font: 700 13px "Space Grotesk", sans-serif; letter-spacing: .14em; }
.ticker div { animation: ticker 25s linear infinite; width: max-content; }
.ticker span { color: var(--accent); padding: 0 16px; }
@keyframes ticker { to { transform: translateX(-50%); } }


.story-section {
  width: min(var(--max), calc(100% - 40px));
  margin: auto;
  padding: 120px 0;
  border-bottom: 1px solid var(--line);
}

.story-inner {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: 80px;
  align-items: start;
}

.story-label {
  padding-top: 8px;
}

.story-copy {
  max-width: 760px;
}

.story-copy h2 {
  margin: 0 0 28px;
  font: 700 clamp(48px, 6vw, 76px)/.95 "Space Grotesk", sans-serif;
  letter-spacing: -.05em;
}

.story-copy p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.story-copy strong {
  color: var(--text);
}

.story-copy .lock-link {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(215,255,79,.45);
  text-underline-offset: 4px;
  transition: opacity .2s;
}

.story-copy .lock-link:hover {
  opacity: .75;
}

.section { width: min(var(--max), calc(100% - 40px)); margin: auto; padding: 150px 0; border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.section h2, .community h2 { font: 700 clamp(46px, 6vw, 78px)/.95 "Space Grotesk", sans-serif; letter-spacing: -.05em; margin: 15px 0; }
.section-text { max-width: 520px; align-self: end; color: var(--muted); font-size: 20px; }
.section-text p + p { margin-top: 24px; }

.section-heading { margin-bottom: 55px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.stat { min-height: 150px; padding: 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat span { display: block; color: #777; font-size: 11px; letter-spacing: .14em; margin-bottom: 22px; }
.stat strong { font: 600 23px "Space Grotesk", sans-serif; word-break: break-word; }

.notice { display: flex; align-items: center; gap: 14px; margin-top: 25px; padding: 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; color: var(--muted); }
.notice p { margin: 0; }
.notice strong { color: var(--text); }
.dot { width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px var(--accent); }

.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.roadmap article { min-height: 260px; padding: 30px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(145deg, #121212, #0c0c0c); }
.roadmap article > span { color: var(--accent); font-size: 12px; letter-spacing: .15em; }
.roadmap h3 { font: 600 34px "Space Grotesk", sans-serif; margin: 70px 0 10px; }
.roadmap p { color: var(--muted); margin: 0; }

.community { width: min(var(--max), calc(100% - 40px)); margin: auto; padding: 160px 0; text-align: center; }
.community h2 { margin-bottom: 20px; }
.community > p:not(.section-label) { color: var(--muted); font-size: 18px; }
.center { justify-content: center; margin-top: 30px; }

footer { width: min(var(--max), calc(100% - 40px)); margin: auto; padding: 30px 0 45px; display: flex; justify-content: space-between; color: #666; font-size: 12px; border-top: 1px solid var(--line); }

@media (max-width: 800px) {
  .nav { padding: 18px 0; }
  .nav nav a:not(.nav-cta) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 80px 0 100px; }
  .hero-art { min-height: 380px; order: -1; }
  .image-frame { width: min(330px, 82vw); }
  .orbit { width: 380px; height: 380px; }
  .orbit-two { width: 440px; height: 260px; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .story-inner { grid-template-columns: 1fr; gap: 30px; }
  .story-section { padding: 90px 0; }
  .story-copy p { font-size: 17px; }
  .section { padding: 100px 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .roadmap { grid-template-columns: 1fr; }
  .roadmap article { min-height: 210px; }
  .roadmap h3 { margin-top: 50px; }
  footer { flex-direction: column; gap: 10px; }
}
