:root {
  --bg: #07111c;
  --bg-raise: #0c1c2c;
  --text: #eef6fb;
  --muted: #c5d6e2;
  --cyan: #3ae0ff;
  --cyan-hot: #9cf6ff;
  --ink: #041820;
  --line: rgba(58, 224, 255, 0.28);
  --display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --body: "Outfit", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --wrap: 1120px;
  --nav: 4.75rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav) + 0.75rem);
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 55% 42% at 88% 8%, rgba(58, 224, 255, 0.14), transparent 58%),
    radial-gradient(ellipse 40% 36% at 6% 72%, rgba(58, 224, 255, 0.07), transparent 62%),
    var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 400;
}

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

button,
a {
  font: inherit;
}

::selection {
  background: var(--cyan);
  color: var(--ink);
}

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

.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;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--cyan);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.skip:focus {
  top: 1rem;
}

.frame {
  position: fixed;
  inset: 8px;
  border: 2px solid rgba(58, 224, 255, 0.82);
  border-radius: 12px;
  pointer-events: none;
  z-index: 80;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.75rem));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  max-width: 14ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  max-width: 18ch;
}

h3 {
  font-size: 1.45rem;
  font-weight: 720;
}

.section-lead,
.lede {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 42rem;
}

.lede {
  margin: 1rem 0 0;
  font-size: 1.2rem;
}

.mono {
  font-family: var(--mono);
  color: var(--text);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav);
  padding: 0.85rem 1.35rem 0.75rem;
  background: rgba(7, 17, 28, 0.84);
  border-bottom: 1px solid rgba(58, 224, 255, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 720;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(58, 224, 255, 0.45), 0 0 18px rgba(58, 224, 255, 0.35);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-menu a:not(.btn):not(.icon-btn) {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.nav-menu a:not(.btn):not(.icon-btn):hover,
.nav-menu a.is-active {
  color: var(--cyan);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  place-items: center;
}

.bars,
.bars::before,
.bars::after {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
}

.bars::before,
.bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.bars::before { top: -5px; }
.bars::after { top: 5px; }

.icon-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(58, 224, 255, 0.5);
  color: var(--text);
  text-decoration: none;
}

.icon-btn:hover {
  color: var(--ink);
  background: var(--cyan);
  border-color: var(--cyan);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--cyan);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(58, 224, 255, 0.22);
}

.btn:hover {
  background: var(--cyan-hot);
}

.btn-sm {
  min-height: 40px;
  padding: 0 0.9rem;
  font-size: 0.92rem;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(58, 224, 255, 0.55);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(58, 224, 255, 0.1);
  color: var(--text);
}

.hero {
  position: relative;
  padding: clamp(1.5rem, 4vh, 2.75rem) 0 clamp(3rem, 6vh, 4.5rem);
  overflow: hidden;
}

.banner {
  margin: 0 0 1.75rem;
}

.banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  filter: drop-shadow(0 18px 40px rgba(0, 190, 220, 0.12));
}

.hero-copy {
  max-width: 40rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.ca-chip {
  margin-top: 1.15rem;
  width: min(100%, 36rem);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.8rem;
  align-items: center;
  text-align: left;
  padding: 0.7rem 0.8rem 0.7rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(8, 22, 36, 0.72);
  color: var(--text);
  cursor: pointer;
}

.ca-chip:hover {
  border-color: var(--cyan);
}

.ca-k {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ca-v {
  font-family: var(--mono);
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}

.ca-go {
  min-height: 36px;
  display: grid;
  place-items: center;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: rgba(58, 224, 255, 0.14);
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 600;
}

.dots span {
  position: absolute;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: float 5.5s ease-in-out infinite;
}

.dots span:nth-child(1) { width: 8px; height: 8px; top: 22%; right: 4%; }
.dots span:nth-child(2) { width: 5px; height: 5px; top: 38%; right: 9%; animation-delay: -1.2s; }
.dots span:nth-child(3) { width: 12px; height: 12px; top: 58%; right: 3%; animation-delay: -2s; }
.dots span:nth-child(4) { width: 6px; height: 6px; top: 74%; right: 8%; animation-delay: -3s; }
.dots span:nth-child(5) { width: 7px; height: 7px; top: 30%; left: 2%; animation-delay: -1.6s; }
.dots span:nth-child(6) { width: 10px; height: 10px; bottom: 12%; left: 5%; animation-delay: -2.6s; }

@keyframes float {
  0%, 100% { transform: translateY(0); opacity: 0.85; }
  50% { transform: translateY(-10px); opacity: 1; }
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(58, 224, 255, 0.04);
}

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

.marquee p {
  margin: 0;
  padding: 0.72rem 0;
  font-family: var(--display);
  font-weight: 720;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--cyan);
  white-space: nowrap;
}

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

.story,
.token,
.buy,
.closer {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.story h2,
.buy h2,
.closer h2 {
  max-width: none;
}

.story-grid,
.closer-grid,
.token-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.token-grid {
  align-items: start;
}

.logo-lockup {
  width: 168px;
  height: 168px;
  position: relative;
  flex: none;
}

.logo-lockup img {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 1px rgba(58, 224, 255, 0.4), 0 0 42px rgba(58, 224, 255, 0.28);
}

.logo-lockup::before,
.logo-lockup::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px solid rgba(58, 224, 255, 0.55);
  animation: ring 3.4s ease-in-out infinite;
}

.logo-lockup::after {
  inset: -24px;
  border-color: rgba(58, 224, 255, 0.22);
  animation-delay: -1.4s;
}

@keyframes ring {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.05); opacity: 0.35; }
}

.story blockquote {
  margin: 1.25rem 0 1.1rem;
  padding: 0;
  border: 0;
}

.story blockquote p {
  margin: 0;
  font-family: var(--display);
  font-weight: 720;
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text);
}

.story blockquote p::after {
  content: "";
  display: block;
  width: 7.5rem;
  height: 3px;
  margin-top: 0.75rem;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
}

.story p,
.buy .step p,
.token .section-lead,
.closer .section-lead,
.footer p {
  color: var(--muted);
}

.story p {
  margin: 0 0 0.9rem;
  max-width: 40rem;
}

.spec-card {
  background: linear-gradient(180deg, rgba(16, 36, 54, 0.92), rgba(8, 20, 34, 0.92));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 0.4rem 1.35rem 1.35rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(58, 224, 255, 0.04);
}

.spec {
  margin: 0 0 1.1rem;
}

.spec div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(58, 224, 255, 0.14);
}

.spec dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.spec dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
}

.spec div.spec-ca {
  grid-template-columns: 7.5rem minmax(0, 1fr);
}

.spec div.spec-ca dd {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 1.05rem;
  overflow-wrap: anywhere;
  color: var(--cyan);
}

.steps {
  list-style: none;
  margin: 2.2rem 0 0;
  padding: 0 0 0 0.15rem;
  border-left: 2px solid rgba(58, 224, 255, 0.38);
}

.step {
  position: relative;
  padding: 0 0 2.4rem 1.6rem;
}

.step:last-child {
  padding-bottom: 0;
}

.step::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.4rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.step h3 {
  margin-bottom: 0.45rem;
}

.step p {
  margin: 0;
  max-width: 42rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  font-family: var(--mono);
  font-size: 0.8rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(58, 224, 255, 0.05);
}

.closer {
  padding-top: 1rem;
}

.closer-grid {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 50%, rgba(58, 224, 255, 0.12), transparent 28%),
    var(--bg-raise);
}

.footer {
  padding: 0.5rem 0 3.5rem;
}

.footer-grid {
  display: grid;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(58, 224, 255, 0.14);
}

.footer-brand {
  margin: 0;
  color: var(--text);
  font-family: var(--display);
  font-weight: 720;
  letter-spacing: -0.03em;
}

.footer p {
  margin: 0.25rem 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.3rem;
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--cyan);
}

.disclaimer {
  max-width: 52rem;
  font-size: 0.92rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%) translateY(0.6rem);
  z-index: 90;
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--cyan);
  color: var(--ink);
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

@media (max-width: 840px) {
  .nav-toggle {
    display: grid;
  }

  .nav-menu {
    display: none;
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    top: calc(100% - 0.2rem);
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: #0c1c2c;
  }

  .nav.is-open .nav-menu {
    display: flex;
  }

  .nav-menu .btn {
    width: 100%;
  }

  .nav-menu .icon-btn {
    width: 44px;
  }

  .story-grid,
  .token-grid,
  .closer-grid {
    grid-template-columns: 1fr;
  }

  .logo-lockup {
    width: 128px;
    height: 128px;
  }

  .logo-lockup img {
    width: 128px;
    height: 128px;
  }
}

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

  .frame {
    inset: 5px;
    border-radius: 8px;
  }

  .actions,
  .actions .btn,
  .ca-chip,
  .spec-card .btn {
    width: 100%;
  }

  .ca-chip {
    grid-template-columns: 1fr auto;
  }

  .ca-k {
    grid-column: 1 / -1;
  }

  .dots span:nth-child(5),
  .dots span:nth-child(6) {
    display: none;
  }

  h1 {
    max-width: 12ch;
  }
}

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

  .marquee-track,
  .dots span,
  .logo-lockup::before,
  .logo-lockup::after {
    animation: none;
  }
}
