/* ==========================================================================
   ArcKitty v2 — purple neon night, liquid glass
   ========================================================================== */

:root {
  --night: #07040f;
  --night-2: #12082a;
  --violet: #7c3aed;
  --orchid: #a855f7;
  --lilac: #c084fc;
  --highlight: #e9d5ff;
  --white: #ffffff;
  --text: #f3ecff;
  --muted: rgba(233, 213, 255, .68);
  --dim: rgba(233, 213, 255, .46);

  --font-display: "Unbounded", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-label: "Syncopate", "Unbounded", sans-serif;

  --gutter: 20px;
  --container: 1180px;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-pill: 999px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 76px;
}

@media (max-width: 360px) { :root { --gutter: 16px; } }

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--night);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--night);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }

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

:focus-visible {
  outline: 2px solid var(--highlight);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Sky: nebula + stars (CSS fallback layers + canvas parallax)
   -------------------------------------------------------------------------- */

.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.sky__nebula {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(42% 38% at 18% 18%, rgba(124, 58, 237, .40), transparent 70%),
    radial-gradient(38% 40% at 84% 12%, rgba(168, 85, 247, .30), transparent 70%),
    radial-gradient(50% 42% at 50% 100%, rgba(124, 58, 237, .28), transparent 72%),
    radial-gradient(30% 30% at 72% 60%, rgba(192, 132, 252, .14), transparent 70%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 55%, var(--night) 100%);
  animation: breathe 14s ease-in-out infinite alternate;
}

.sky__stars {
  position: absolute;
  inset: -20% 0;
  background-repeat: repeat;
  opacity: .8;
}
.sky__stars--far {
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(255,255,255,.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 48% 8%,  rgba(255,255,255,.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 74% 36%, rgba(233,213,255,.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 30% 64%, rgba(255,255,255,.45) 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 78%, rgba(255,255,255,.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 60% 90%, rgba(233,213,255,.5) 50%, transparent 51%);
  background-size: 520px 520px;
}
.sky__stars--near {
  background-image:
    radial-gradient(1.5px 1.5px at 20% 40%, rgba(255,255,255,.9) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 66% 18%, rgba(233,213,255,.85) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 84% 62%, rgba(255,255,255,.8) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 40% 84%, rgba(192,132,252,.8) 50%, transparent 51%);
  background-size: 780px 780px;
  opacity: .6;
}
.sky__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.js .sky__stars { display: none; }

@keyframes breathe {
  from { transform: scale(1) translate3d(0,0,0); filter: saturate(1); }
  to   { transform: scale(1.06) translate3d(-1.5%, 1%, 0); filter: saturate(1.15); }
}

/* --------------------------------------------------------------------------
   Liquid glass
   -------------------------------------------------------------------------- */

.glass {
  position: relative;
  isolation: isolate;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255,255,255,.11) 0%, rgba(255,255,255,.05) 38%, rgba(255,255,255,.025) 62%, rgba(168,85,247,.10) 100%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  backdrop-filter: blur(28px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 1px 0 0 rgba(255,255,255,.08),
    inset 0 -1px 0 rgba(124,58,237,.18),
    0 24px 60px -24px rgba(124,58,237,.45),
    0 0 0 1px rgba(255,255,255,.05);
}
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.08) 34%, rgba(192,132,252,.10) 66%, rgba(192,132,252,.40) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}
.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(112deg, transparent 32%, rgba(255,255,255,.10) 44%, rgba(255,255,255,.02) 52%, transparent 66%);
  pointer-events: none;
  z-index: 1;
}
.glass > * { position: relative; z-index: 3; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .01em;
  white-space: nowrap;
  cursor: pointer;
  border: 0;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .35s var(--ease-out);
}
.btn--sm { min-height: 42px; padding: 0 20px; font-size: .9375rem; }

.btn--primary {
  color: #1a0837;
  background: linear-gradient(180deg, #f3e8ff 0%, #d8b4fe 55%, #c084fc 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    inset 0 -2px 0 rgba(124,58,237,.35),
    0 10px 30px -8px rgba(168,85,247,.75),
    0 0 0 1px rgba(233,213,255,.5);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    inset 0 -2px 0 rgba(124,58,237,.35),
    0 16px 40px -8px rgba(168,85,247,.95),
    0 0 0 1px rgba(233,213,255,.7);
}

.btn--glass {
  color: var(--highlight);
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    inset 0 0 0 1px rgba(192,132,252,.35),
    0 10px 30px -14px rgba(124,58,237,.7);
}
.btn--glass:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.4),
    inset 0 0 0 1px rgba(233,213,255,.6),
    0 14px 36px -12px rgba(168,85,247,.8);
}
.btn:active { transform: translateY(0) scale(.98); }

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 14px var(--gutter) 0;
  pointer-events: none;
}
.nav__inner {
  pointer-events: auto;
  width: min(var(--container), 100%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  padding: 8px 10px 8px 14px;
  border-radius: var(--radius-pill);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: .01em;
  font-size: 1.0625rem;
}
.nav__brand img {
  width: 44px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(168,85,247,.7));
}
.nav__links {
  display: flex;
  gap: 4px;
}
.nav__links a {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--muted);
  transition: color .3s, background .3s;
}
.nav__links a:hover { color: var(--white); background: rgba(255,255,255,.07); }
.nav__actions { display: flex; align-items: center; gap: 8px; }

.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.nav__toggle span {
  display: block; width: 18px; height: 2px;
  background: var(--highlight); border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .3s;
}
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__toggle { display: flex; }
  .nav__brand span { display: none; }
  .nav__links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0; right: 0;
    flex-direction: column;
    gap: 2px;
    padding: 10px;
    border-radius: var(--radius-lg);
    background: rgba(18, 8, 42, .82);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    backdrop-filter: blur(28px) saturate(160%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 0 0 1px rgba(255,255,255,.08), 0 30px 60px -20px rgba(0,0,0,.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility 0s .3s;
  }
  .nav__links a { padding: 12px 16px; font-size: 1.0625rem; }
  .nav__inner.is-open .nav__links {
    opacity: 1; visibility: visible; transform: translateY(0);
    transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility 0s;
  }
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--white);
  text-wrap: balance;
}
.section__head { max-width: 620px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__head p {
  margin-top: 16px;
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 52ch;
}
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.3;
  color: var(--white);
}

.section { position: relative; padding: clamp(80px, 9vw, 130px) 0; }
main { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 40px) 0 56px;
  overflow: hidden;
  isolation: isolate;
}
/* slow aurora band sweeping behind everything; the wrapper fades it into the sky */
.hero__glow {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 50%, transparent 100%);
}
.hero__aurora {
  position: absolute;
  inset: -30% -20%;
  background:
    conic-gradient(from 20deg at 62% 48%,
      transparent 0 14%, rgba(168,85,247,.32) 24%, transparent 36%,
      rgba(192,132,252,.16) 50%, transparent 60%,
      rgba(124,58,237,.34) 74%, transparent 86%);
  filter: blur(90px);
  opacity: .85;
  animation: aurora 34s linear infinite;
}
@keyframes aurora { to { transform: rotate(360deg); } }

.hero__amark {
  position: absolute;
  left: 50%;
  top: 44%;
  z-index: -1;
  width: min(1320px, 140vw);
  transform: translate(-50%, -50%);
  opacity: .13;
  filter: blur(4px) saturate(120%);
  pointer-events: none;
  will-change: transform;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}
.hero__copy { position: relative; z-index: 2; }

.ticker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: var(--radius-pill);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.ticker__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--highlight);
  box-shadow: 0 0 10px var(--orchid), 0 0 20px var(--violet);
  animation: pulse 2.4s ease-in-out infinite;
}
.ticker__sym { color: var(--white); }
.ticker__net { color: var(--muted); font-weight: 600; }
.ticker__net::before { content: ""; display: inline-block; width: 1px; height: 12px; margin-right: 10px; background: rgba(233,213,255,.3); vertical-align: -1px; }

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(.7); opacity: .6; }
}

.hero__title {
  margin-top: 26px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.7rem, 1.4rem + 5.9vw, 6rem);
  line-height: .98;
  letter-spacing: -.025em;
  color: var(--white);
  text-shadow: 0 0 70px rgba(168,85,247,.5);
}
.hero__shimmer {
  display: inline-block;
  background: linear-gradient(100deg, #ffffff 0%, #e9d5ff 28%, #c084fc 50%, #e9d5ff 72%, #ffffff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 28px rgba(192,132,252,.55));
  animation: shimmer 7s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero__sub {
  margin-top: 26px;
  max-width: 50ch;
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  color: var(--muted);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 1.0625rem; }

.contract {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 6px 6px 6px 16px;
  border-radius: var(--radius-pill);
  max-width: 100%;
  font-size: .9375rem;
}
.contract__label { color: var(--dim); font-weight: 600; flex: none; }
.contract__addr {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--highlight);
  letter-spacing: .02em;
  min-width: 0;
}
.contract__short { display: none; }
.contract__copy {
  flex: none;
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 0 0 1px rgba(192,132,252,.25);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .875rem;
  cursor: pointer;
  transition: background .3s;
}
.contract__copy:hover { background: rgba(255,255,255,.16); }
.contract__copy.is-done { background: linear-gradient(180deg, #f3e8ff, #c084fc); color: #1a0837; }
@media (max-width: 1180px) {
  .contract__full { display: none; }
  .contract__short { display: inline; }
}
.btn--lg svg { flex: none; }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 30px;
  padding: 0;
  list-style: none;
  font-size: .875rem;
  font-weight: 600;
  color: var(--dim);
  letter-spacing: .02em;
}
.hero__facts li { display: inline-flex; align-items: center; gap: 9px; }
.step__body a { color: var(--highlight); text-decoration: underline; text-underline-offset: 3px; }
.hero__facts li::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--lilac);
  box-shadow: 0 0 10px var(--orchid);
}

/* Hero stage: halo + orb + rings + floating mascot + glass chips */
.hero__stage {
  position: relative;
  aspect-ratio: 1;
  max-width: 640px;
  width: 100%;
  justify-self: end;
}
.hero__halo {
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(124,58,237,.42), rgba(124,58,237,.12) 50%, transparent 72%);
  filter: blur(30px);
  animation: glow 8s ease-in-out infinite alternate;
}
.hero__orb {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(192,132,252,.6), rgba(168,85,247,.32) 42%, rgba(124,58,237,.08) 68%, transparent 100%);
  filter: blur(6px);
  animation: glow 6s ease-in-out infinite alternate;
}
.hero__ring {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background:
    conic-gradient(from 210deg, transparent 0 55%, rgba(233,213,255,.9) 72%, rgba(168,85,247,.5) 82%, transparent 92%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
  filter: drop-shadow(0 0 8px rgba(192,132,252,.8));
  animation: spin 22s linear infinite;
}
.hero__ring--2 {
  inset: -3%;
  opacity: .55;
  background:
    conic-gradient(from 30deg, transparent 0 60%, rgba(192,132,252,.7) 78%, transparent 90%);
  animation: spin 38s linear infinite reverse;
}
.hero__mascot {
  position: absolute;
  inset: 4% 6% 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1;
}
.hero__mascot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 30px 50px rgba(124,58,237,.6)) drop-shadow(0 0 34px rgba(168,85,247,.3));
}

.hero__chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 10px;
  border-radius: var(--radius-pill);
  font-size: .8125rem;
  line-height: 1.2;
  color: var(--muted);
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.35),
    inset 0 0 0 1px rgba(192,132,252,.28),
    0 18px 40px -12px rgba(124,58,237,.7);
}
.hero__chip picture { display: block; width: 34px; height: 34px; flex: none; }
.hero__chip img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 10px rgba(192,132,252,.7)); }
.hero__chip b { display: block; color: var(--white); font-weight: 700; font-size: .9375rem; }
.hero__chip--1 { left: -2%; top: 11%; }
.hero__chip--2 { right: -4%; bottom: 20%; animation-delay: -3.2s; }

@keyframes glow {
  from { opacity: .8; transform: scale(.98); }
  to   { opacity: 1; transform: scale(1.04); }
}
@keyframes spin { to { transform: rotate(360deg); } }

.float { animation: floaty 7s ease-in-out infinite; }
.float--slow { animation-duration: 9s; }
@keyframes floaty {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(0, -16px, 0) rotate(-1deg); }
}

.sparkle { position: absolute; pointer-events: none; }
.sparkle img { width: 100%; height: auto; }
.sparkle--hero1 { width: 22%; top: -6%; right: 2%; }
.sparkle--hero2 { width: 11%; left: 4%; bottom: 22%; animation-delay: -1.7s; }
.sparkle--hero3 { width: 8%; left: 30%; top: 2%; animation-delay: -3s; }
.twinkle { animation: twinkle 4.5s ease-in-out infinite; }
@keyframes twinkle {
  0%, 100% { opacity: .55; transform: scale(.9) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.1) rotate(8deg); }
}

/* pointer parallax layers (JS sets --px / --py on the hero) */
.hero [data-depth] {
  --px: 0; --py: 0;
  translate: calc(var(--px) * var(--depth, 0) * 1px) calc(var(--py) * var(--depth, 0) * 1px);
  transition: translate .6s var(--ease-out);
}

/* Hero load sequence (JS adds .is-ready to <html>) */
.js .hero__seq {
  opacity: 0;
  transform: translateY(18px);
}
.js.is-ready .hero__seq {
  opacity: 1;
  transform: none;
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: calc(.12s + var(--i) * .11s);
}
.js .hero__stage { opacity: 0; transform: translateY(24px) scale(.97); }
.js.is-ready .hero__stage {
  opacity: 1; transform: none;
  transition: opacity 1.2s var(--ease-out) .25s, transform 1.2s var(--ease-out) .25s;
}

@media (max-width: 900px) {
  .hero {
    min-height: 0;
    padding: calc(var(--nav-h) + 8px) 0 44px;
    text-align: center;
  }
  .hero__grid { grid-template-columns: 1fr; gap: 0; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }

  .hero__stage {
    order: -1;
    width: min(62vw, 260px);
    max-width: none;
    justify-self: center;
    margin: 0 auto -6px;
  }
  .hero__halo { inset: -10%; }
  .hero__ring--2 { display: none; }
  .hero__chip { display: none; }
  .sparkle--hero1 { width: 20%; top: -2%; right: -4%; }
  .sparkle--hero2 { width: 10%; left: -2%; bottom: 26%; }
  .sparkle--hero3 { display: none; }
  .hero__amark { top: 22%; width: 170vw; opacity: .1; }

  .ticker { padding: 6px 14px 6px 10px; font-size: .8125rem; }
  .hero__title {
    margin-top: 16px;
    font-size: clamp(1.9rem, 8.6vw, 3.4rem);
    line-height: 1.02;
    letter-spacing: -.03em;
  }
  .hero__sub {
    margin: 14px auto 0;
    max-width: 34ch;
    font-size: 1rem;
    line-height: 1.55;
  }
  .hero__sub-extra { display: none; }

  .hero__cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    max-width: 360px;
    margin-top: 22px;
  }
  .hero__cta .btn { width: 100%; min-height: 52px; padding: 0 20px; font-size: 1rem; }

  .contract {
    width: 100%;
    max-width: 360px;
    justify-content: space-between;
    margin-top: 10px;
    padding: 5px 5px 5px 16px;
    font-size: .875rem;
  }
  .contract__addr { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .contract__copy { min-height: 34px; }

  .hero__facts { display: none; }
}


/* --------------------------------------------------------------------------
   Ecosystem rail (marquee)
   -------------------------------------------------------------------------- */

.rail { padding: 8px 0 clamp(60px, 7vw, 100px); }
.rail__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 auto 26px;
  font-family: var(--font-label);
  font-size: .5625rem;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
}
.rail__label i {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--lilac);
  box-shadow: 0 0 8px var(--orchid);
}
.marquee {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
  border-radius: var(--radius-pill);
  overflow: hidden;
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee::before, .marquee::after { display: none; }
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.marquee__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 34px;
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: .01em;
  color: rgba(233,213,255,.72);
  white-space: nowrap;
}
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

.logo {
  display: inline-block;
  width: 30px;
  height: 30px;
  background: var(--highlight);
  -webkit-mask: var(--logo) center / contain no-repeat;
  mask: var(--logo) center / contain no-repeat;
  filter: drop-shadow(0 0 8px rgba(168,85,247,.6));
}
.logo--wide { width: 142px; height: 28px; }

/* --------------------------------------------------------------------------
   Story
   -------------------------------------------------------------------------- */

.story__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}
.story__media { position: relative; }
.frame {
  padding: 12px;
  border-radius: var(--radius-xl);
}
.frame img {
  border-radius: calc(var(--radius-xl) - 12px);
  width: 100%;
  box-shadow: 0 30px 80px -30px rgba(124,58,237,.8);
}
.story__paw {
  position: absolute;
  width: 26%;
  right: -7%;
  bottom: -6%;
  transform: rotate(-16deg);
  animation: floaty 8s ease-in-out infinite -3s;
}
.story__copy p { margin-top: 18px; color: var(--muted); max-width: 54ch; }
.story__copy p:first-of-type { margin-top: 22px; font-size: 1.125rem; color: var(--text); }

.facts {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.facts li {
  padding: 18px 18px 16px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.facts strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .9375rem;
  color: var(--white);
  line-height: 1.3;
}
.facts span { font-size: .875rem; color: var(--muted); line-height: 1.45; }

@media (max-width: 900px) {
  .story__grid { grid-template-columns: 1fr; }
  .story__media { max-width: 520px; margin-inline: auto; width: 100%; }
  .story__paw { right: -3%; width: 22%; }
  .facts { grid-template-columns: 1fr; }
  .facts li { flex-direction: row; align-items: baseline; gap: 12px; flex-wrap: wrap; }
  .facts strong { min-width: 150px; }
}

/* --------------------------------------------------------------------------
   Brand banner
   -------------------------------------------------------------------------- */

.banner { position: relative; padding: 0 0 clamp(80px, 9vw, 130px); }
.banner__frame {
  position: relative;
  width: min(1400px, 100% - 2 * var(--gutter));
  margin-inline: auto;
  border-radius: clamp(16px, 2.5vw, 36px);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.10),
    inset 0 1px 0 rgba(255,255,255,.25),
    0 40px 120px -40px rgba(124,58,237,.85),
    0 0 80px -20px rgba(168,85,247,.35);
}
.banner__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), inset 0 1px 0 rgba(255,255,255,.35);
  background: linear-gradient(112deg, transparent 40%, rgba(255,255,255,.08) 50%, transparent 60%);
  pointer-events: none;
}
.banner__frame img { width: 100%; }
@media (max-width: 600px) {
  .banner__frame img { height: 230px; object-fit: cover; object-position: 50% 50%; }
}

/* --------------------------------------------------------------------------
   Tokenomics
   -------------------------------------------------------------------------- */

.tokens {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.token {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 26px 26px;
  min-height: 210px;
  border-radius: var(--radius-lg);
}
.token__label { font-size: .9375rem; font-weight: 600; color: var(--dim); }
.token__value {
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem);
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -.01em;
  text-shadow: 0 0 30px rgba(168,85,247,.5);
  overflow-wrap: anywhere;
}
.token__value--long { font-size: min(2rem, 8.4cqi); letter-spacing: -.02em; }
.token__note { font-size: .875rem; color: var(--muted); line-height: 1.45; }
.fineprint {
  margin-top: 22px;
  font-size: .875rem;
  color: var(--dim);
}

@media (max-width: 1000px) { .tokens { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .tokens { grid-template-columns: 1fr; }
  .token { min-height: 0; padding: 22px 22px 20px; }
  .token__value { margin-top: 4px; }
}

/* --------------------------------------------------------------------------
   How to buy
   -------------------------------------------------------------------------- */

.howto__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.howto__head { position: sticky; top: calc(var(--nav-h) + 24px); margin-bottom: 0; }
.howto__head .btn { margin-top: 28px; }

.steps { display: grid; gap: 14px; }
.step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 22px 26px 22px 20px;
  border-radius: var(--radius-lg);
}
.step__paw {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  animation: floaty 7s ease-in-out infinite;
}
.step:nth-child(2) .step__paw { animation-delay: -2s; }
.step:nth-child(3) .step__paw { animation-delay: -4s; }
.step:nth-child(4) .step__paw { animation-delay: -6s; }
.step__paw img { width: 56px; height: auto; filter: drop-shadow(0 6px 16px rgba(124,58,237,.6)); }
.step__n { font-size: .8125rem; font-weight: 700; color: var(--lilac); letter-spacing: .04em; }
.step__body h3 { margin-top: 4px; }
.step__body p { margin-top: 8px; font-size: .9375rem; color: var(--muted); max-width: 52ch; }

@media (max-width: 900px) {
  .howto__grid { grid-template-columns: 1fr; }
  .howto__head { position: static; margin-bottom: 8px; }
}
@media (max-width: 420px) {
  .step { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 18px 18px 18px 14px; }
  .step__paw { width: 48px; height: 48px; }
  .step__paw img { width: 42px; }
}

/* --------------------------------------------------------------------------
   Cinematic panel
   -------------------------------------------------------------------------- */

.cinema {
  position: relative;
  min-height: clamp(420px, 62vw, 760px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin: 0 0 clamp(80px, 9vw, 130px);
}
.cinema__media { position: absolute; inset: -20% 0; will-change: transform; }
.cinema__media picture { height: 100%; }
.cinema__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.cinema__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--night) 0%, rgba(7,4,15,0) 22%, rgba(7,4,15,0) 70%, var(--night) 100%);
}
.cinema__inner { position: relative; padding: 0 0 clamp(36px, 5vw, 72px); }
.cinema__caption {
  max-width: 520px;
  padding: 26px 30px;
  border-radius: var(--radius-lg);
}
.cinema__line {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 1rem + 1.1vw, 1.75rem);
  line-height: 1.25;
  color: var(--white);
  text-wrap: balance;
}
.cinema__sub { margin-top: 10px; color: var(--muted); font-size: 1rem; }

@media (max-width: 600px) {
  .cinema { min-height: 540px; }
  .cinema__media img { object-position: 50% 40%; }
  .cinema__caption { padding: 22px 22px; }
}

/* --------------------------------------------------------------------------
   Roadmap
   -------------------------------------------------------------------------- */

.roadmap__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.phases {
  position: relative;
  display: grid;
  gap: 14px;
}
.phases::before {
  content: "";
  position: absolute;
  left: 51px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(180deg, rgba(233,213,255,.9), rgba(168,85,247,.35) 60%, rgba(168,85,247,0));
  filter: drop-shadow(0 0 6px rgba(168,85,247,.9));
  z-index: 0;
}
.phase {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 22px 26px 22px 20px;
  border-radius: var(--radius-lg);
}
.phase__paw { width: 64px; height: 64px; display: grid; place-items: center; }
.phase__paw img { width: 48px; height: auto; filter: drop-shadow(0 6px 16px rgba(124,58,237,.6)); transition: transform .5s var(--ease-out); }
.phase:nth-child(1) .phase__paw img { width: 40px; opacity: .85; }
.phase:nth-child(2) .phase__paw img { width: 46px; }
.phase:nth-child(3) .phase__paw img { width: 52px; }
.phase:nth-child(4) .phase__paw img { width: 58px; }
.phase__tag {
  font-family: var(--font-label);
  font-size: .625rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--lilac);
}
.phase h3 { margin-top: 6px; }
.phase p { margin-top: 8px; font-size: .9375rem; color: var(--muted); max-width: 48ch; }

.roadmap__stage {
  position: relative;
  aspect-ratio: 481 / 600;
  max-width: 460px;
  width: 100%;
  justify-self: center;
}
.roadmap__glow {
  position: absolute;
  inset: 10% 0 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(168,85,247,.45), rgba(124,58,237,.15) 55%, transparent 100%);
  filter: blur(10px);
  animation: glow 7s ease-in-out infinite alternate;
}
.roadmap__mascot { position: absolute; inset: 0; }
.roadmap__mascot img {
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 30px 50px rgba(124,58,237,.5));
}
.sparkle--road { width: 34%; top: -14%; right: 2%; animation-duration: 3.8s; }

@media (max-width: 900px) {
  .roadmap__grid { grid-template-columns: 1fr; }
  .roadmap__stage { max-width: min(62vw, 320px); margin-top: 24px; }
}
@media (max-width: 420px) {
  .phases::before { left: 37px; }
  .phase { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 18px 18px 18px 14px; }
  .phase__paw { width: 48px; height: 48px; }
  .phase:nth-child(n) .phase__paw img { width: 40px; }
}

/* --------------------------------------------------------------------------
   Community
   -------------------------------------------------------------------------- */

.community {
  position: relative;
  min-height: clamp(520px, 56vw, 720px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.community__media { position: absolute; inset: -18% 0; will-change: transform; }
.community__media picture { height: 100%; }
.community__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.community__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--night) 0%, rgba(7,4,15,.15) 30%, rgba(7,4,15,.35) 70%, var(--night) 100%);
}
.community__inner { position: relative; display: flex; justify-content: center; padding: clamp(60px, 8vw, 100px) 0; }
.community__card {
  max-width: 640px;
  width: 100%;
  padding: clamp(32px, 5vw, 56px);
  text-align: center;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.06) 38%, rgba(255,255,255,.03) 62%, rgba(168,85,247,.14) 100%);
}
.community__card p { margin: 16px auto 0; max-width: 40ch; color: var(--muted); font-size: 1.0625rem; }
.community__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
@media (max-width: 380px) { .community__cta .btn { width: 100%; } }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  position: relative;
  z-index: 1;
  padding: clamp(56px, 7vw, 90px) 0 40px;
}
.footer__inner {
  display: grid;
  gap: 26px;
  justify-items: center;
  text-align: center;
}
.footer__brand img {
  width: 96px;
  margin-inline: auto;
  filter: drop-shadow(0 0 22px rgba(168,85,247,.7));
  animation: glowpulse 5s ease-in-out infinite alternate;
}
@keyframes glowpulse {
  from { filter: drop-shadow(0 0 14px rgba(168,85,247,.5)); }
  to   { filter: drop-shadow(0 0 30px rgba(192,132,252,.9)); }
}
.footer__tag {
  margin-top: 16px;
  font-family: var(--font-label);
  font-size: .625rem;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--dim);
}
.footer__disclaimer {
  max-width: 62ch;
  font-size: .875rem;
  line-height: 1.6;
  color: var(--dim);
}
.footer__copy { font-size: .875rem; color: var(--muted); font-weight: 600; }

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }


/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001s !important;
  }
  .js .hero__seq, .js .hero__stage, .js .reveal { opacity: 1; transform: none; }
  .hero [data-depth] { translate: 0 0 !important; }
  .marquee__track { animation: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 60;
  transform: translate(-50%, 16px);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: rgba(18, 8, 42, .85);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 0 0 1px rgba(192,132,252,.35), 0 20px 50px -14px rgba(124,58,237,.7);
  color: var(--white);
  font-weight: 600;
  font-size: .9375rem;
  white-space: nowrap;
  max-width: calc(100% - 2 * var(--gutter));
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), visibility 0s .35s;
}
.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), visibility 0s;
}
