:root {
  --ink: #07111f;
  --navy: #0b1a30;
  --blue: #2b6fff;
  --blue-hot: #4c8dff;
  --blue-deep: #1646b8;
  --porcelain: #eef3fb;
  --paper: #f7f9fd;
  --line: rgba(76, 141, 255, 0.22);
  --text: #d7e4f8;
  --muted: #8ea4c4;
  --hand: "Shantell Sans", cursive;
  --display: "Bricolage Grotesque", sans-serif;
  --sans: "Outfit", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--ink);
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}

#wavefield,
.mist,
.gridpaper,
.orbs,
.scan,
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

#wavefield {
  z-index: 0;
}

.mist {
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 50% at 12% -10%, rgba(43, 111, 255, 0.32), transparent 55%),
    radial-gradient(ellipse 55% 45% at 92% 8%, rgba(20, 70, 184, 0.28), transparent 50%),
    radial-gradient(ellipse 50% 40% at 70% 100%, rgba(43, 111, 255, 0.16), transparent 55%),
    linear-gradient(180deg, #081427 0%, #070f1c 48%, #06101c 100%);
}

.gridpaper {
  z-index: 2;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(76, 141, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 141, 255, 0.09) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 78%);
  animation: grid-drift 28s linear infinite;
}

.orbs {
  z-index: 2;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.45;
  animation: orb-float 16s ease-in-out infinite;
}

.orb-a {
  width: 280px;
  height: 280px;
  left: 8%;
  top: 18%;
  background: #2b6fff;
}

.orb-b {
  width: 220px;
  height: 220px;
  right: 10%;
  top: 42%;
  background: #4c8dff;
  animation-delay: -6s;
}

.orb-c {
  width: 180px;
  height: 180px;
  left: 42%;
  bottom: 8%;
  background: #163a8a;
  animation-delay: -11s;
}

.scan {
  z-index: 3;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(76, 141, 255, 0.035) 48%,
    transparent 52%
  );
  background-size: 100% 220%;
  animation: scan-move 9s linear infinite;
}

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

.helm,
main,
.colophon {
  position: relative;
  z-index: 5;
}

.helm {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 32px;
  backdrop-filter: blur(18px);
  background: rgba(7, 17, 31, 0.62);
  border-bottom: 1px solid rgba(76, 141, 255, 0.12);
}

.helm.is-scrolled {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.mark {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mark img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 8px 24px rgba(43, 111, 255, 0.35);
}

.mark strong {
  display: block;
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: -0.02em;
}

.mark small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.links {
  display: flex;
  gap: 28px;
}

.links a {
  font-size: 14px;
  color: var(--muted);
  position: relative;
}

.links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--blue-hot);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.links a:hover {
  color: #fff;
}

.links a:hover::after {
  transform: scaleX(1);
}

.tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.glyph,
.swap,
.btn,
.join-dock a,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.glyph {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(76, 141, 255, 0.2);
  background: rgba(14, 32, 62, 0.7);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.glyph img,
.swap img,
.btn img,
.text-link img,
.join-dock img,
.colophon-links img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.glyph:hover,
.swap:hover,
.btn:hover,
.join-dock a:hover {
  transform: translateY(-2px);
  border-color: rgba(76, 141, 255, 0.55);
}

.swap,
.btn.solid {
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, #4c8dff, #2b6fff);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 10px 24px rgba(43, 111, 255, 0.28);
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
}

.burger i {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s ease, top 0.3s ease;
}

.burger i:first-child {
  top: 15px;
}

.burger i:last-child {
  top: 23px;
}

.burger.is-open i:first-child {
  top: 19px;
  transform: rotate(40deg);
}

.burger.is-open i:last-child {
  top: 19px;
  transform: rotate(-40deg);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 72px 8vw 36px;
  min-height: calc(100vh - 76px);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-hot);
  box-shadow: 0 0 0 0 rgba(76, 141, 255, 0.7);
  animation: pulse 1.8s ease-out infinite;
}

.kicker-line {
  width: 36px;
  height: 1px;
  background: var(--blue);
}

h1 {
  font-family: var(--display);
  font-size: clamp(64px, 8vw, 112px);
  line-height: 0.86;
  letter-spacing: -0.06em;
  color: #fff;
}

h1 .hand {
  display: block;
  font-family: var(--hand);
  font-size: 0.28em;
  letter-spacing: 0.08em;
  color: var(--blue-hot);
  margin-bottom: 12px;
  font-style: italic;
  font-weight: 600;
}

h1 em {
  display: block;
  font-style: italic;
  color: #9ec0ff;
}

.manifesto {
  margin-top: 28px;
  font-family: var(--hand);
  font-size: clamp(22px, 2.4vw, 32px);
  color: #f3f7ff;
}

.lede {
  max-width: 520px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.ca-chip,
.ca-mini {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(76, 141, 255, 0.28);
  background: rgba(10, 24, 46, 0.72);
  color: inherit;
  cursor: pointer;
}

.ca-chip {
  margin-top: 16px;
  max-width: 100%;
  padding: 10px 14px;
  border-radius: 14px;
}

.ca-chip span,
.ca-mini em,
.ca-chip em {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-hot);
}

.ca-chip code,
.ca-mini code {
  font-family: var(--sans);
  font-size: 13px;
  color: #fff;
  word-break: break-all;
}

.ca-chip:hover,
.ca-mini:hover {
  border-color: rgba(76, 141, 255, 0.55);
}

.fact-ca {
  align-items: center;
}

.ca-mini {
  padding: 4px 8px;
  border-radius: 10px;
}

.btn {
  height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 600;
}

.btn.ghost {
  border: 1px solid rgba(76, 141, 255, 0.32);
  background: rgba(10, 24, 46, 0.7);
}

.scope {
  position: relative;
  height: min(560px, 70vw);
  display: grid;
  place-items: center;
}

.scope-well {
  width: min(320px, 58vw);
  aspect-ratio: 1;
  border-radius: 38% 42% 40% 36%;
  overflow: hidden;
  position: relative;
  z-index: 3;
  box-shadow:
    0 0 0 12px rgba(43, 111, 255, 0.12),
    0 30px 80px rgba(20, 60, 160, 0.45);
  animation: blob-breathe 6s ease-in-out infinite;
}

.scope-well img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scope-ring,
.scope-ring.delay {
  position: absolute;
  inset: 8%;
  border: 1px dashed rgba(76, 141, 255, 0.35);
  border-radius: 50%;
  animation: spin 22s linear infinite;
}

.scope-ring.delay {
  inset: 0;
  animation-duration: 34s;
  animation-direction: reverse;
  border-style: dotted;
}

.scope-orbit {
  position: absolute;
  width: 92%;
  height: 92%;
  fill: none;
  stroke: url(#none);
  stroke: rgba(76, 141, 255, 0.55);
  stroke-width: 1.2;
  stroke-dasharray: 8 14;
  animation: spin 18s linear infinite;
}

.scope-trace {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 8%;
  height: 110px;
  z-index: 4;
  overflow: visible;
}

.scope-trace path {
  fill: none;
  stroke: #ffffff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.45));
}

.peg-chip {
  position: absolute;
  right: 0;
  top: 8%;
  z-index: 5;
  min-width: 148px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(8, 20, 39, 0.82);
  border: 1px solid rgba(76, 141, 255, 0.28);
  backdrop-filter: blur(12px);
  animation: chip-jitter 3.4s ease-in-out infinite;
}

.peg-chip span {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.peg-chip strong {
  display: block;
  margin-top: 4px;
  font-family: var(--display);
  font-size: 26px;
}

.peg-chip small {
  color: var(--blue-hot);
  font-family: var(--hand);
}

.ticker {
  overflow: hidden;
  border-block: 1px solid rgba(76, 141, 255, 0.16);
  background: rgba(8, 18, 34, 0.7);
  margin: 12px 0 8px;
}

.ticker-track {
  display: flex;
  gap: 48px;
  width: max-content;
  padding: 14px 0;
  animation: tape 28s linear infinite;
  font-family: var(--hand);
  font-size: 18px;
  color: #bfd2f2;
}

.ticker-track span {
  white-space: nowrap;
}

.ticker-track b {
  color: var(--blue-hot);
  font-weight: 600;
}

.about,
.howtobuy,
.chart,
.joinus {
  padding: 96px 8vw;
}

.section-hand {
  font-family: var(--hand);
  color: var(--blue-hot);
  font-size: 20px;
  margin-bottom: 10px;
}

.section-hand.dark {
  color: var(--blue);
}

h2 {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 62px);
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: #fff;
  max-width: 14ch;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  margin-top: 42px;
}

.about-story p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  margin-bottom: 18px;
}

.about-quote {
  font-family: var(--hand);
  font-size: 28px;
  color: #fff !important;
  line-height: 1.3;
}

.about-panel {
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(18, 40, 78, 0.72), rgba(10, 22, 42, 0.86));
  border: 1px solid rgba(76, 141, 255, 0.18);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.meter-head {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}

.meter-head b {
  color: var(--blue-hot);
  font-family: var(--hand);
}

.meter-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.meter-bar i {
  display: block;
  height: 100%;
  width: 42%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1646b8, #4c8dff);
  animation: meter-wave 2.8s ease-in-out infinite;
}

.meter p {
  margin: 12px 0 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.facts {
  list-style: none;
  display: grid;
  gap: 10px;
}

.facts li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid rgba(76, 141, 255, 0.12);
}

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

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.pillar {
  padding: 24px;
  border-radius: 24px;
  background: rgba(10, 22, 42, 0.55);
  border: 1px solid rgba(76, 141, 255, 0.14);
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.pillar:hover {
  transform: translateY(-6px);
  border-color: rgba(76, 141, 255, 0.4);
  background: rgba(16, 36, 70, 0.7);
}

.pillar svg {
  width: 120px;
  height: 36px;
  margin-bottom: 16px;
}

.pillar path {
  fill: none;
  stroke: var(--blue-hot);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
  animation: draw 2.8s ease forwards infinite;
}

.pillar h3 {
  font-family: var(--display);
  font-size: 22px;
  margin-bottom: 8px;
}

.pillar p {
  color: var(--muted);
  line-height: 1.65;
}

.howto-head p:last-child {
  margin-top: 14px;
  color: var(--muted);
  max-width: 46ch;
}

.howto-wave {
  width: 100%;
  height: 72px;
  margin: 28px 0 8px;
}

.howto-wave path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 8 10;
  animation: dash-run 8s linear infinite;
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step {
  padding: 24px 22px;
  border-radius: 24px;
  background: rgba(9, 20, 38, 0.72);
  border: 1px solid rgba(76, 141, 255, 0.14);
  min-height: 260px;
  position: relative;
  overflow: hidden;
}

.step::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(43, 111, 255, 0.12);
  filter: blur(10px);
}

.step-num {
  font-family: var(--hand);
  color: var(--blue-hot);
  font-size: 22px;
}

.step h3 {
  font-family: var(--display);
  font-size: 24px;
  margin: 12px 0 10px;
}

.step p {
  color: var(--muted);
  line-height: 1.65;
}

.text-link {
  margin-top: 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.text-link:hover {
  color: var(--blue-hot);
}

.chart-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.chart-head h2 {
  max-width: none;
}

.chart-bezel {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(76, 141, 255, 0.2);
  background: #0a1424;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.bezel-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #101b2e;
  border-bottom: 1px solid rgba(76, 141, 255, 0.12);
}

.bezel-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2b6fff;
}

.bezel-bar span:nth-child(2) {
  background: #4c8dff;
}

.bezel-bar span:nth-child(3) {
  background: #8eb6ff;
}

.bezel-bar b {
  margin-left: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.chart-bezel iframe {
  width: 100%;
  height: min(72vh, 720px);
  border: 0;
  background: #0a1424;
}

.joinus {
  padding-top: 40px;
}

.join-sheet {
  background: var(--paper);
  color: #1a2740;
  border-radius: 36px;
  padding: 48px 6vw 56px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  position: relative;
  overflow: hidden;
}

.join-sheet::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(43, 111, 255, 0.08) 48%, transparent 62%);
  animation: sheen 7s ease-in-out infinite;
  pointer-events: none;
}

.join-sheet h2 {
  color: #10203a;
  max-width: 16ch;
}

.banner-frame {
  margin: 32px 0 24px;
  aspect-ratio: 3 / 1;
  width: 100%;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #d7e3f5;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(43, 111, 255, 0.08);
}

.banner-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4% 6%;
}

.join-copy {
  max-width: 58ch;
  color: #4a5d7a;
  line-height: 1.7;
}

.join-dock {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.join-dock a {
  min-height: 52px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid #d5e2f6;
  background: #fff;
  color: #163056;
  font-weight: 600;
}

.join-dock a img {
  filter: none;
}

.colophon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 8vw 40px;
  color: var(--muted);
  border-top: 1px solid rgba(76, 141, 255, 0.12);
}

.mark.faint img {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.colophon-links {
  display: flex;
  gap: 10px;
}

.colophon-links a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(76, 141, 255, 0.16);
}

.rise {
  opacity: 0;
  transform: translateY(28px);
}

.rise.is-in {
  animation: rise-in 0.9s ease forwards;
}

.rise.late.is-in {
  animation-delay: 0.18s;
}

@keyframes grid-drift {
  from { background-position: 0 0; }
  to { background-position: 72px 72px; }
}

@keyframes orb-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(20px, -24px, 0) scale(1.08); }
}

@keyframes scan-move {
  from { background-position: 0 -220%; }
  to { background-position: 0 220%; }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(76, 141, 255, 0.6); }
  100% { box-shadow: 0 0 0 12px rgba(76, 141, 255, 0); }
}

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

@keyframes blob-breathe {
  0%, 100% { border-radius: 38% 42% 40% 36%; transform: scale(1); }
  50% { border-radius: 42% 36% 44% 40%; transform: scale(1.03); }
}

@keyframes chip-jitter {
  0%, 100% { transform: translate(0, 0); }
  30% { transform: translate(1px, -2px); }
  60% { transform: translate(-2px, 1px); }
}

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

@keyframes meter-wave {
  0%, 100% { width: 28%; }
  40% { width: 86%; }
  70% { width: 41%; }
}

@keyframes draw {
  50% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 180; }
}

@keyframes dash-run {
  to { stroke-dashoffset: -200; }
}

@keyframes sheen {
  0%, 100% { transform: translateX(-20%); }
  50% { transform: translateX(20%); }
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero,
  .about-grid,
  .pillars,
  .steps {
    grid-template-columns: 1fr;
  }

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

  .scope {
    height: 460px;
  }

  .links {
    position: fixed;
    inset: 76px 16px auto;
    display: none;
    flex-direction: column;
    gap: 18px;
    padding: 20px;
    border-radius: 18px;
    background: rgba(8, 18, 34, 0.94);
    border: 1px solid rgba(76, 141, 255, 0.2);
  }

  .links.is-open {
    display: flex;
  }

  .burger {
    display: block;
  }

  .swap span {
    display: none;
  }

  .colophon {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .helm {
    padding: 14px 16px;
  }

  .about,
  .howtobuy,
  .chart,
  .joinus {
    padding: 72px 20px;
  }

  h1 {
    font-size: 64px;
  }

  .peg-chip {
    right: 8px;
  }

  .join-sheet {
    padding: 32px 20px 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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