:root {
  --void: #07091a;
  --ink: #eef3ff;
  --ink-soft: rgba(238, 243, 255, 0.72);
  --line: rgba(238, 243, 255, 0.12);
  --coral: #ff8f73;
  --coral-deep: #ffb199;
  --blue: #7eb6ff;
  --suit: #f4f7fb;
  --display: "Unbounded", "Avenir Next", "Segoe UI", sans-serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, "Cascadia Mono", monospace;
  --nav: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  min-height: 100%;
  overflow-x: clip;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--void);
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input {
  font: inherit;
  color: inherit;
}

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

::selection {
  background: #6d4dff;
  color: white;
}

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

#stars,
.glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.glow {
  background:
    radial-gradient(ellipse 52% 42% at 88% 6%, rgba(140, 70, 255, 0.42), transparent 68%),
    radial-gradient(ellipse 42% 36% at 6% 92%, rgba(40, 110, 255, 0.3), transparent 70%),
    radial-gradient(ellipse 28% 22% at 72% 78%, rgba(255, 120, 80, 0.14), transparent 70%),
    linear-gradient(180deg, #07091a 0%, #0b1022 48%, #070912 100%);
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--suit);
  color: var(--void);
  padding: 8px 12px;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral-deep);
}

.rec {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 0 rgba(255, 143, 115, 0.55);
  animation: pulse 1.8s ease-out infinite;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.92;
}

h1 span {
  display: block;
}

h1 span:last-child {
  color: var(--coral-deep);
}

h2 {
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  max-width: 12ch;
  text-wrap: balance;
}

h3 {
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
  margin-bottom: 6px;
}

.body {
  margin-top: 18px;
  max-width: 46ch;
  color: var(--ink-soft);
}

.caption {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
}

.text-link {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn svg {
  display: block;
}

.btn-primary {
  background: var(--suit);
  color: var(--void);
}

.btn-primary:hover {
  background: var(--coral);
}

.btn-ghost {
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(238, 243, 255, 0.28);
}

.btn-ghost:hover {
  box-shadow: inset 0 0 0 1px var(--suit);
}

.btn-small {
  min-height: 36px;
  padding: 0 14px;
  background: var(--suit);
  color: var(--void);
  font-size: 0.82rem;
}

.btn-small:hover {
  background: var(--coral);
}

.btn-light {
  background: var(--suit);
  color: var(--void);
}

.btn-light:hover {
  background: var(--coral);
}

.btn-line {
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(238, 243, 255, 0.35);
}

.btn-line:hover {
  box-shadow: inset 0 0 0 1px var(--suit);
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--nav);
  padding: 14px 28px;
  background: rgba(7, 9, 26, 0.72);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(7, 9, 26, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

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

.nav-links a:not(.btn) {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links a:not(.btn):hover {
  color: var(--coral-deep);
}

.menu-toggle {
  position: relative;
  z-index: 5;
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s ease, top 0.2s ease;
}

.menu-toggle span:first-child {
  top: 18px;
}

.menu-toggle span:last-child {
  top: 25px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

.hero {
  padding: 28px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 420px);
  gap: 48px;
  align-items: center;
}

.hero-grid > *,
.about-grid > *,
.buy-grid > *,
.footer-grid > *,
.phases > * {
  min-width: 0;
}

.hero h1 {
  font-size: clamp(3.4rem, 7.4vw, 6.4rem);
}

.ticker-line {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--blue);
}

.lede {
  max-width: 22em;
  margin-top: 16px;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 300;
  line-height: 1.35;
  text-wrap: balance;
}

.contract {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 16px;
  align-items: center;
  max-width: 560px;
  margin-top: 28px;
  padding: 14px 14px 14px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 12, 28, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.contract-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.contract code {
  grid-column: 1 / -1;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.45;
  word-break: break-all;
}

.fine {
  max-width: 52ch;
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.hero-art {
  position: relative;
  display: grid;
  justify-items: center;
  padding: 28px;
  overflow: clip;
}

.orbit {
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(238, 243, 255, 0.28);
  border-radius: 50%;
  animation: spin 36s linear infinite;
}

.orbit::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 16px var(--coral);
}

.frame {
  position: relative;
  width: min(100%, 360px);
  padding: 10px;
  border-radius: 36px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02));
  box-shadow:
    0 30px 80px rgba(70, 40, 180, 0.35),
    0 0 80px rgba(60, 120, 255, 0.18);
  animation: float 6.5s ease-in-out infinite;
}

.frame img {
  width: 100%;
  border-radius: 28px;
}

.corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  z-index: 2;
}

.tl {
  top: 0;
  left: 0;
  border-right: 0;
  border-bottom: 0;
}

.tr {
  top: 0;
  right: 0;
  border-left: 0;
  border-bottom: 0;
}

.bl {
  bottom: 0;
  left: 0;
  border-right: 0;
  border-top: 0;
}

.br {
  right: 0;
  bottom: 0;
  border-left: 0;
  border-top: 0;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(8, 12, 28, 0.55);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: ticker 32s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee p {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 14px 11px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mark {
  color: var(--coral);
}

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

.glance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.glance p {
  min-width: 0;
  padding: 28px 18px;
  container-type: inline-size;
}

.glance p + p {
  border-left: 1px solid var(--line);
}

.glance span {
  display: block;
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.glance strong {
  display: block;
  max-width: 100%;
  font-family: var(--display);
  font-size: clamp(1.05rem, 11cqi, 2.05rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.section {
  padding: 96px 0;
  scroll-margin-top: 24px;
}

.about-grid,
.buy-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}

.about-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.buy-grid {
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
}

.card,
.net {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(8, 12, 28, 0.66);
}

.card div,
.net div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 16px 20px;
}

.card div + div,
.net div + div {
  border-top: 1px solid var(--line);
}

.card dt,
.net dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.card dd,
.net dd {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.section-head {
  margin-bottom: 28px;
}

.chart-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #0c1224;
  min-height: 480px;
}

.chart-frame iframe {
  display: block;
  width: 100%;
  height: 560px;
  border: 0;
}

.chart-link {
  margin-top: 14px;
}

.add-chain {
  margin-top: 22px;
}

.steps {
  list-style: none;
  padding: 0;
}

.steps li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.steps span {
  font-family: var(--display);
  font-size: 1.7rem;
  color: var(--coral);
  letter-spacing: -0.04em;
}

.steps p {
  max-width: 58ch;
  color: var(--ink-soft);
}

.net {
  margin-top: 22px;
}

.net dd {
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0;
}

.roadmap {
  padding-top: 20px;
}

.phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  list-style: none;
  padding: 0;
}

.phases li {
  padding-top: 18px;
  border-top: 1px solid rgba(238, 243, 255, 0.4);
}

.phases span {
  display: block;
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: 2.1rem;
  color: var(--coral);
}

.phases p {
  margin-top: 8px;
  color: var(--ink-soft);
  max-width: 32ch;
}

.finale {
  background:
    radial-gradient(520px 240px at 88% 120%, rgba(140, 70, 255, 0.45), transparent 60%),
    radial-gradient(420px 200px at 10% 110%, rgba(255, 120, 80, 0.2), transparent 60%),
    #090d1c;
  padding: 104px 0;
  border-top: 1px solid var(--line);
}

.finale h2 {
  max-width: 10ch;
}

.finale-inner > p:last-of-type {
  max-width: 36ch;
  margin-top: 18px;
  color: var(--ink-soft);
}

.footer {
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
}

.wordmark {
  font-family: var(--display);
  font-size: 1.8rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.ticker {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.disclaimer {
  max-width: 68ch;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.footer-ca {
  letter-spacing: 0;
  text-transform: none;
  overflow-wrap: anywhere;
}

.footer-base a:hover {
  color: var(--ink);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 70;
  max-width: min(420px, calc(100% - 32px));
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--suit);
  color: var(--void);
  font-size: 0.92rem;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

main,
.footer {
  position: relative;
  z-index: 1;
}

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

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(255, 143, 115, 0);
  }
}

@keyframes float {
  50% {
    transform: translateY(-10px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 981px) {
  .nav {
    backdrop-filter: blur(16px);
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 3;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    background: #07091a;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links a:not(.btn) {
    font-family: var(--display);
    font-size: clamp(1.8rem, 8vw, 2.6rem);
    letter-spacing: -0.04em;
    text-transform: none;
  }

  .hero-grid,
  .about-grid,
  .buy-grid,
  .phases,
  .glance-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 12px;
  }

  .hero-art {
    order: -1;
    padding-top: 8px;
  }

  .frame {
    width: min(100%, 260px);
  }

  .glance p + p {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

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

  .glance p:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .glance p:nth-child(3),
  .glance p:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .section {
    padding: 72px 0;
  }

  .footer-grid {
    gap: 18px;
  }

  .chart-frame,
  .chart-frame iframe {
    min-height: 420px;
    height: 420px;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(1120px, calc(100% - 32px));
  }

  .nav {
    padding-inline: 16px;
  }

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

  .glance p:nth-child(even),
  .glance p + p {
    border-left: 0;
  }

  .glance p + p {
    border-top: 1px solid var(--line);
  }

  .card div,
  .net div,
  .steps li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .finale {
    padding: 72px 0;
  }

  .footer-base {
    flex-direction: column;
  }
}

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

  .rec,
  .marquee-track,
  .frame,
  .orbit,
  .js .reveal {
    animation: none;
    transition: none;
    transform: none;
  }
}
