:root {
  --bg: #020303;
  --panel: #0b1012;
  --panel-2: #111719;
  --ink: #edf4ef;
  --muted: #8d9a95;
  --green: #b8ff32;
  --blue: #2463ff;
  --line: rgba(237, 244, 239, 0.16);
  --max: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Mono", monospace;
}

body::before {
  content: "";
  position: fixed;
  z-index: 8;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 100% 4px;
}

img,
svg {
  display: block;
}

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

button {
  border-radius: 0;
}

.site-noise {
  position: fixed;
  z-index: 7;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 76px;
  padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

.site-header.scrolled {
  border-color: var(--line);
  background: rgba(2, 3, 3, 0.86);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font: 800 19px "Syne", sans-serif;
  letter-spacing: -0.06em;
  text-decoration: none;
}

.brand img {
  object-fit: contain;
}

.brand-accent {
  color: var(--green);
}

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

.site-nav a {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--green);
}

.site-nav .header-buy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--green);
  color: var(--bg);
  font-weight: 500;
}

.site-nav .header-buy:hover,
.site-nav .header-buy:focus-visible {
  color: var(--bg);
  box-shadow: 0 0 28px rgba(184, 255, 50, 0.22);
  transform: translateY(-1px);
}

.header-buy img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.header-buy span {
  margin-left: 1px;
  font-size: 10px;
}

.menu-toggle {
  display: none;
}

.section-shell {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section[id] {
  scroll-margin-top: 76px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 48%) minmax(0, 52%);
  align-items: center;
  min-height: 100svh;
  padding-top: 90px;
}

.hero-copy,
.hero-art {
  min-width: 0;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--green);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font: 800 clamp(60px, 7vw, 108px) / 0.86 "Syne", sans-serif;
  letter-spacing: -0.085em;
}

.hero h1 em,
.section-heading h2 em {
  color: var(--green);
  font-style: normal;
}

.hero-lede {
  max-width: 440px;
  margin: 32px 0 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 9px;
}

.hero-meta b {
  margin-left: 5px;
  color: var(--ink);
  font-weight: 400;
}

.actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  gap: 8px;
}

.action {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: 500 10px "DM Mono", monospace;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.action img {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.action i {
  margin-left: auto;
  color: var(--muted);
  font-size: 15px;
  font-style: normal;
}

.action:hover,
.action:focus-visible {
  border-color: var(--green);
  box-shadow: 0 0 24px rgba(184, 255, 50, 0.09);
  transform: translateY(-2px);
}

.action-primary {
  border-color: var(--green);
  background: var(--green);
  color: var(--bg);
}

.action-primary i {
  color: var(--bg);
}

.x-icon {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.contract-line {
  margin: 20px 0;
  color: var(--muted);
  font-size: 9px;
}

.contract-line code {
  margin-left: 8px;
  color: var(--ink);
  font-size: 9px;
  overflow-wrap: anywhere;
}

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: min(74vh, 720px);
}

.hero-character {
  position: relative;
  z-index: 2;
  display: block;
  width: 95%;
  max-width: 700px;
  height: auto;
  filter: contrast(1.06) saturate(1.1);
  mix-blend-mode: screen;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(184, 255, 50, 0.25);
  border-radius: 50%;
  transform: rotate(-24deg);
}

.orbit-one {
  width: 90%;
  height: 36%;
}

.orbit-two {
  width: 70%;
  height: 64%;
  border-color: rgba(36, 99, 255, 0.34);
  transform: rotate(54deg);
}

.scan-line {
  position: absolute;
  z-index: 3;
  top: 45%;
  width: 75%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  box-shadow: 0 0 14px var(--green);
  animation: scan 5s ease-in-out infinite;
}

.telemetry {
  position: absolute;
  z-index: 4;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.t-one {
  top: 25%;
  left: 5%;
}

.t-two {
  top: 34%;
  right: 6%;
  color: var(--green);
}

.t-three {
  bottom: 23%;
  left: 15%;
  color: var(--blue);
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: var(--gutter);
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.scroll-cue span {
  margin-left: 8px;
  color: var(--green);
  font-size: 15px;
}

.roadmap,
.market {
  padding-top: 150px;
  padding-bottom: 150px;
}

.section-heading {
  display: flex;
  align-items: baseline;
  gap: 35px;
  margin-bottom: 70px;
}

.section-heading .eyebrow {
  margin: 0;
}

.section-heading h2 {
  font-size: clamp(46px, 7vw, 92px);
  white-space: nowrap;
}

.section-heading > p:last-child {
  max-width: 290px;
  margin: 0 0 0 auto;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.phase {
  position: relative;
  min-width: 0;
  min-height: 285px;
  padding: 22px 18px 0;
  border-right: 1px solid var(--line);
}

.phase:first-child {
  border-left: 1px solid var(--line);
}

.phase-no {
  color: var(--green);
  font-size: 9px;
}

.phase-mark {
  position: absolute;
  top: 16px;
  right: 16px;
  color: rgba(237, 244, 239, 0.08);
  font: 700 46px "Syne", sans-serif;
}

.phase h3 {
  margin: 50px 0 15px;
  font: 700 26px "Syne", sans-serif;
  letter-spacing: -0.06em;
}

.phase p {
  max-width: 220px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.phase-state {
  position: absolute;
  bottom: 20px;
  color: var(--blue);
  font-size: 9px;
}

.market {
  padding-top: 0;
}

.market-frame {
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.market-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 10px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.market-top > span i {
  margin-right: 5px;
  vertical-align: middle;
}

.market-open {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  text-decoration: none;
}

.market-open img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.market-open i {
  font-style: normal;
}

.market-open:hover,
.market-open:focus-visible {
  color: var(--green);
}

.iframe-wrap {
  position: relative;
  height: 560px;
  background: var(--bg);
}

.iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.frame-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(circle at 50% 50%, rgba(36, 99, 255, 0.1), transparent 45%), var(--bg);
  text-align: center;
}

.frame-fallback[hidden] {
  display: none !important;
}

.fallback-icon {
  margin-bottom: 20px;
  color: var(--green);
  font-size: 55px;
  line-height: 1;
}

.frame-fallback h3 {
  margin: 0 0 10px;
  font: 700 22px "Syne", sans-serif;
}

.frame-fallback p {
  max-width: 360px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.outline-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 15px;
  border: 1px solid var(--green);
  color: var(--green);
  font-size: 10px;
  text-decoration: none;
}

.outline-button img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.outline-button i {
  font-style: normal;
}

.outline-button:hover,
.outline-button:focus-visible {
  background: var(--green);
  color: var(--bg);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: auto;
  padding: 28px var(--gutter);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.footer-brand {
  color: var(--ink);
  font-size: 15px;
}

.toast {
  position: fixed;
  z-index: 50;
  right: 22px;
  bottom: 22px;
  max-width: calc(100vw - 44px);
  padding: 14px 18px;
  background: var(--green);
  color: var(--bg);
  font-size: 10px;
  pointer-events: none;
  transform: translateY(100px);
  transition: transform 0.3s;
}

.toast.show {
  transform: translateY(0);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: none;
}

.js .reveal-delay {
  transition-delay: 0.14s;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

@keyframes scan {
  0%,
  100% {
    opacity: 0.1;
    transform: translateY(-90px);
  }

  50% {
    opacity: 1;
    transform: translateY(90px);
  }
}

@media (max-width: 1050px) and (min-width: 801px) {
  .hero h1 {
    font-size: clamp(58px, 7.4vw, 78px);
  }

  .actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .roadmap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .phase:nth-child(odd) {
    border-left: 1px solid var(--line);
  }

  .phase {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 800px) {
  .site-header {
    padding-inline: 20px;
    background: rgba(2, 3, 3, 0.76);
    backdrop-filter: blur(12px);
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--line);
    background: var(--panel);
    cursor: pointer;
  }

  .menu-toggle > span:not(.sr-only) {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--ink);
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 22px 20px 28px;
    border-bottom: 1px solid var(--line);
    background: rgba(2, 3, 3, 0.98);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    font-size: 12px;
  }

  .site-nav .header-buy {
    justify-content: center;
    text-align: center;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    padding-top: 125px;
    padding-bottom: 80px;
  }

  .hero-copy,
  .hero-art {
    width: 100%;
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(31px, 10.5vw, 62px);
    letter-spacing: -0.1em;
  }

  .hero-lede {
    margin-top: 24px;
    font-size: 12px;
  }

  .hero-meta {
    gap: 12px;
  }

  .actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .action {
    padding-inline: 10px;
    font-size: 9px;
  }

  .hero-art {
    height: min(92vw, 520px);
    margin-top: 36px;
  }

  .hero-character {
    width: 100%;
    max-width: 100%;
  }

  .scroll-cue {
    display: none;
  }

  .roadmap,
  .market {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .section-heading {
    display: block;
    margin-bottom: 42px;
  }

  .section-heading h2 {
    margin: 15px 0 25px;
    font-size: clamp(32px, 10vw, 56px);
    white-space: normal;
  }

  .section-heading > p:last-child {
    max-width: 390px;
    margin: 0;
  }

  .roadmap-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .phase,
  .phase:first-child {
    min-height: 220px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .phase h3 {
    margin-top: 34px;
  }

  .iframe-wrap {
    height: 460px;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

@media (max-width: 480px) {
  .actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .market-top {
    align-items: flex-start;
    gap: 12px;
  }

  .market-open span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .scan-line {
    animation: none;
  }

  .js .reveal,
  .action,
  .site-nav a,
  .toast {
    transition: none;
  }
}
