:root {
  --bg: #07061a;
  --bg-2: #0d0b26;
  --text: #f4f2ff;
  --text-2: #b9b4dc;
  --muted: #8a84b5;
  --violet: #7c5cff;
  --violet-2: #a58bff;
  --indigo: #2d1fd1;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-2: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.12);
  --line-2: rgba(255, 255, 255, 0.2);
  --good: #7cf0c0;
  --bad: #ff8fa3;
  --sans: "Manrope", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; }
code, .mono { font-family: var(--mono); }
b { font-weight: 700; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
[hidden] { display: none !important; }
::selection { background: var(--violet); color: #fff; }

/* soft violet light behind everything */
.aura { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aura i { position: absolute; border-radius: 50%; filter: blur(90px); }
.aura i:nth-child(1) { width: 70vw; height: 70vw; left: -20vw; top: -30vw; background: radial-gradient(circle, rgba(124, 92, 255, 0.35), transparent 65%); }
.aura i:nth-child(2) { width: 60vw; height: 60vw; right: -25vw; top: 10vh; background: radial-gradient(circle, rgba(45, 31, 209, 0.45), transparent 65%); }
.aura i:nth-child(3) { width: 80vw; height: 50vw; left: 10vw; bottom: -30vw; background: radial-gradient(circle, rgba(124, 92, 255, 0.18), transparent 65%); }

/* ---------- buttons ---------- */
.btn {
  appearance: none;
  border: 1px solid var(--line-2);
  background: var(--glass);
  color: var(--text);
  font: 600 14px/1 var(--sans);
  padding: 12px 18px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  backdrop-filter: blur(14px);
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); background: var(--glass-2); }
.btn.white { background: #fff; color: #0d0b26; border-color: #fff; }
.btn.white:hover { box-shadow: 0 8px 30px rgba(165, 139, 255, 0.45); background: #fff; }
.btn.red, .btn.primary {
  background: linear-gradient(135deg, #8f74ff, #5a3dff 55%, #3a24d9);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  box-shadow: 0 8px 30px rgba(90, 61, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn.red:hover { box-shadow: 0 10px 40px rgba(124, 92, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn.ghost { background: transparent; }
.btn.big { padding: 15px 24px; font-size: 15px; }
.btn.full { width: 100%; }
.btn:disabled { opacity: 0.5; pointer-events: none; }

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 20px;
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(16px, 4vw, 48px);
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.brand { justify-self: start; opacity: 0; transition: opacity 0.3s; }
body.scrolled .brand { opacity: 1; }
.pill {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px 6px 6px;
  border-radius: 999px;
  background: rgba(30, 24, 80, 0.45);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.pill a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--text-2); padding: 8px 14px; border-radius: 99px; transition: color 0.2s, background 0.2s; }
.pill a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.pill .pill-logo { padding: 4px; margin-right: 6px; }
.nav-actions { justify-self: end; display: flex; gap: 10px; }

/* ---------- hero ---------- */
.hero-wrap { padding: 14px clamp(12px, 2.4vw, 32px) 0; }
.hero {
  position: relative;
  height: max(640px, min(92vh, 900px));
  border-radius: 34px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(60% 55% at 50% 0%, rgba(150, 120, 255, 0.55), transparent 70%),
    radial-gradient(70% 70% at 100% 100%, rgba(45, 31, 209, 0.8), transparent 70%),
    radial-gradient(60% 60% at 0% 100%, rgba(70, 30, 160, 0.6), transparent 70%),
    linear-gradient(180deg, #3a22a8 0%, #1c1170 45%, #0c0838 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset, 0 30px 120px rgba(60, 30, 200, 0.35);
}
.hero::before {
  /* glowing rim, brighter at the bottom right */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.04) 40%, rgba(190, 160, 255, 0.7));
  -webkit-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: 5;
}
.hero::after {
  /* big faint rings, like the reference */
  content: "";
  position: absolute;
  left: 50%;
  top: 62%;
  width: 1500px;
  height: 1500px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 220px, rgba(255, 255, 255, 0.05) 220px 221px);
  z-index: -1;
  pointer-events: none;
}
#blob { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-title { position: relative; z-index: 2; text-align: center; padding-top: clamp(96px, 12vh, 130px); }
.hero h1 {
  margin: 0;
  font: 500 clamp(84px, 15vw, 230px)/0.86 var(--sans);
  letter-spacing: -0.065em;
  color: #fff;
  text-shadow: 0 10px 60px rgba(40, 20, 140, 0.5);
}
.hero .sub { margin: 10px 0 0; font-size: clamp(15px, 1.4vw, 19px); color: rgba(255, 255, 255, 0.85); font-weight: 400; }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font: 500 12px/1 var(--mono);
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 12px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--line);
}
.status-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 10px var(--good); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: 0.35; } }
.xbtn { padding: 12px 13px; }
.ca-bar { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 6px 6px 6px 8px; max-width: calc(100% - 32px); border-radius: 99px; background: rgba(10, 6, 40, 0.35); border: 1px solid var(--line-2); backdrop-filter: blur(14px); }
.ca-label { font: 600 11px/1 var(--mono); padding: 7px 9px; border-radius: 99px; background: #fff; color: #17122f; }
.ca-bar code { font-size: 13px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ca-bar button, .ca-bar a, .foot-ca button { border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.08); color: #fff; border-radius: 99px; font: 600 12px/1 var(--sans); padding: 8px 12px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.ca-bar button:hover, .ca-bar a:hover, .foot-ca button:hover { background: rgba(255, 255, 255, 0.16); }
.foot-ca { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 8px 8px 8px 16px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); max-width: 100%; }
.foot-ca span { font: 600 11px/1 var(--mono); color: var(--violet-2); }
.foot-ca code { font-size: 13px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.foot-links a { text-decoration: none; font-weight: 600; }
.foot-x { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; }

/* phone mockup */
.phone-stage {
  position: absolute;
  left: 50%;
  /* starts just under the wordmark and runs off the bottom of the frame */
  top: calc(clamp(96px, 12vh, 130px) + clamp(84px, 15vw, 230px) * 0.86 + 180px);
  z-index: 3;
  transform: translateX(-50%);
  perspective: 1400px;
}
.phone {
  width: 320px;
  height: 640px;
  border-radius: 52px;
  padding: 11px;
  background: linear-gradient(145deg, #5b5480, #1d1934 30%, #0e0c1c 70%, #3c3560);
  box-shadow: 0 50px 90px rgba(5, 3, 30, 0.7), inset 0 0 0 1.5px rgba(255, 255, 255, 0.18), inset 0 0 0 4px #0b0a14;
  transform: rotateZ(14deg) rotateY(-14deg) rotateX(6deg);
  animation: sway 9s ease-in-out infinite;
  transform-style: preserve-3d;
}
@keyframes sway {
  0%, 100% { transform: rotateZ(14deg) rotateY(-14deg) rotateX(6deg) translateY(0); }
  50% { transform: rotateZ(11deg) rotateY(-6deg) rotateX(4deg) translateY(-12px); }
}
.screen {
  position: relative;
  height: 100%;
  border-radius: 42px;
  overflow: hidden;
  padding: 54px 18px 18px;
  background:
    radial-gradient(90% 50% at 100% 30%, rgba(124, 92, 255, 0.45), transparent 70%),
    linear-gradient(180deg, #17122f, #0b0918 60%);
  color: #fff;
}
.island { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 96px; height: 28px; border-radius: 20px; background: #000; }
.ph-top { display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 1.2; color: var(--text-2); }
.ph-top b { color: #fff; font-weight: 600; }
.ph-avatar { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; background: rgba(255, 255, 255, 0.06); }
.ph-avatar img { width: 22px; height: 22px; }
.ph-bell { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 14px; }
.ph-title { font-size: 30px; font-weight: 500; line-height: 1.02; letter-spacing: -0.03em; margin: 22px 0 6px; }
.ph-big { display: flex; align-items: flex-end; justify-content: flex-end; gap: 10px; margin-top: -26px; }
.ph-big b { font-size: 64px; font-weight: 500; letter-spacing: -0.05em; line-height: 0.9; }
.ph-chip { font: 500 10px/1 var(--mono); padding: 6px 8px; border-radius: 99px; background: #fff; color: #17122f; margin-bottom: 10px; }
.ph-tabs { display: flex; gap: 14px; font-size: 11px; color: var(--muted); margin: 18px 0 10px; }
.ph-tabs b { color: #fff; font-weight: 600; font-size: 14px; }
.ph-card { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 18px; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line); }
.ph-card b { display: block; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.ph-card small { font-size: 11px; color: var(--muted); }
.ph-thumb { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #a58bff, #4b2fe0); font-size: 20px; flex-shrink: 0; }
.ph-play { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 12px; }
.ph-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.ph-mini { padding: 12px; border-radius: 18px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); min-height: 96px; }
.ph-mini small { font-size: 11px; color: var(--text-2); }
.ring { position: relative; width: 54px; height: 54px; margin: 8px auto 0; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); fill: none; stroke-width: 3.5; }
.ring circle { stroke: rgba(255, 255, 255, 0.12); }
.ring circle.on { stroke: url(#none); stroke: #a58bff; stroke-linecap: round; stroke-dasharray: 8 94.2; transition: stroke-dasharray 1s; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 15px; }
.ph-next { display: block; font-size: 40px; font-weight: 500; letter-spacing: -0.04em; margin-top: 6px; }

.hero-stats { position: absolute; left: 24px; bottom: 24px; z-index: 4; display: flex; padding: 14px 6px; }
.hero-stats div { padding: 0 18px; }
.hero-stats div + div { border-left: 1px solid var(--line); }
.hero-stats small { display: block; font-size: 12px; color: var(--text-2); }
.hero-stats b { font-size: 26px; font-weight: 600; letter-spacing: -0.03em; }
.hero-cta { position: absolute; right: 24px; bottom: 24px; z-index: 4; display: flex; align-items: center; gap: 18px; padding: 14px 14px 14px 20px; max-width: 460px; }
.hero-cta p { margin: 0; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, 0.85); }
.hero-cta b { color: #fff; }

.intro { max-width: 980px; margin: 0 auto; padding: clamp(64px, 9vw, 120px) clamp(16px, 4vw, 48px) 10px; text-align: center; }
.intro p { margin: 0; font-size: clamp(22px, 2.6vw, 36px); line-height: 1.3; font-weight: 400; letter-spacing: -0.02em; color: var(--text-2); }
.intro b { color: #fff; font-weight: 600; }

/* ---------- marquee ---------- */
.marquee { margin-top: 56px; border-block: 1px solid var(--line); overflow: hidden; background: rgba(255, 255, 255, 0.02); }
.marquee-track { display: flex; gap: 56px; width: max-content; padding: 16px 0; animation: scroll 50s linear infinite; font-size: 14px; color: var(--text-2); }
.marquee-track > span { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.marquee-track b { color: #fff; font-weight: 600; }
.marquee-track img { width: 20px; height: 20px; border-radius: 6px; object-fit: cover; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { max-width: 1320px; margin: 0 auto; padding: clamp(64px, 9vw, 120px) clamp(16px, 4vw, 48px) 0; }
.section-head { margin-bottom: 34px; max-width: 760px; }
.section-head.row { display: flex; justify-content: space-between; align-items: end; gap: 20px; max-width: none; flex-wrap: wrap; }
.kicker { font: 500 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet-2); margin: 0 0 16px; }
h2 { font: 500 clamp(40px, 5.6vw, 76px)/0.98 var(--sans); letter-spacing: -0.05em; margin: 0 0 14px; }
h3 { font: 600 20px/1.2 var(--sans); letter-spacing: -0.02em; margin: 0 0 8px; }

/* ---------- the chain ---------- */
.track-wrap {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(124, 92, 255, 0.22), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}
.track {
  position: relative;
  display: flex;
  align-items: center;
  overflow-x: auto;
  padding: 44px 32px 76px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(165, 139, 255, 0.5) transparent;
}
.leg { flex: 0 0 auto; scroll-snap-align: center; }
.handoff { flex: 0 0 90px; position: relative; height: 40px; align-self: center; }
.handoff svg { width: 100%; height: 100%; fill: none; stroke: rgba(165, 139, 255, 0.7); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.handoff small { position: absolute; left: 0; right: 0; top: 44px; text-align: center; color: var(--text-2); font: 500 11px/1 var(--mono); }
.baton {
  position: absolute;
  top: 15px;
  left: 80%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(165, 139, 255, 0.35), 0 0 22px 6px rgba(165, 139, 255, 0.8);
  animation: pass 2.2s cubic-bezier(0.6, 0, 0.3, 1) infinite;
  animation-delay: calc(var(--k, 0) * -0.37s);
}
@keyframes pass {
  0% { left: 80%; opacity: 0; }
  15%, 80% { opacity: 1; }
  100% { left: 4%; opacity: 0; }
}
.loop { position: absolute; left: 32px; right: 32px; bottom: 16px; height: 36px; pointer-events: none; font: 500 11px/1 var(--mono); letter-spacing: 0.08em; }
.loop svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(165, 139, 255, 0.45); stroke-width: 1.5; stroke-dasharray: 5 6; animation: dash 1.4s linear infinite reverse; }
@keyframes dash { to { stroke-dashoffset: -22; } }
.loop span { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); padding: 5px 12px; border-radius: 99px; white-space: nowrap; color: var(--text-2); background: var(--bg-2); border: 1px solid var(--line); }

/* ---------- coin card ---------- */
.bib {
  position: relative;
  display: block;
  width: 240px;
  color: var(--text);
  text-decoration: none;
  padding: 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
a.bib:hover { transform: translateY(-4px); border-color: rgba(165, 139, 255, 0.55); box-shadow: 0 20px 60px rgba(90, 61, 255, 0.3); }
.pin { display: none; }
.bib-band { display: flex; justify-content: space-between; font: 500 10px/1 var(--mono); letter-spacing: 0.14em; color: var(--muted); margin-bottom: 12px; }
.bib-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bib-row img { width: 60px; height: 60px; border-radius: 18px; object-fit: cover; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); }
.bib-leg { text-align: right; }
.bib-leg small { display: block; font: 500 10px/1 var(--mono); letter-spacing: 0.14em; color: var(--muted); }
.bib-leg b { font-size: 58px; font-weight: 500; letter-spacing: -0.06em; line-height: 0.95; background: linear-gradient(180deg, #fff, #b9a8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bib-name { margin-top: 12px; display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.bib-name b { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bib-name span { font: 500 12px/1 var(--mono); color: var(--muted); flex-shrink: 0; }
.lane-bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; margin: 12px 0 10px; }
.lane-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #5a3dff, #a58bff); box-shadow: 0 0 12px rgba(165, 139, 255, 0.8); transition: width 0.6s; }
.lane-bar.gold i { background: linear-gradient(90deg, #a58bff, #fff); }
.bib-stats { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-2); }
.bib-stats b { color: #fff; font-weight: 600; }
.bib-foot { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bib-foot b { color: var(--violet-2); }
.bib .badge { position: absolute; top: -10px; right: 16px; font: 500 10px/1 var(--mono); letter-spacing: 0.1em; padding: 6px 9px; border-radius: 99px; background: #fff; color: #17122f; }
.bib .badge.anchor { background: linear-gradient(135deg, #a58bff, #5a3dff); color: #fff; }
.bib .badge.grad { background: var(--good); color: #062a1c; }
.bib.ghost { background: transparent; border: 1px dashed rgba(165, 139, 255, 0.55); text-align: center; padding: 30px 16px; cursor: pointer; font: inherit; color: var(--text); backdrop-filter: none; }
.bib.ghost b { display: block; font-size: 58px; font-weight: 500; letter-spacing: -0.06em; line-height: 1; }
.bib.ghost span { font-size: 13px; color: var(--text-2); }
.bib.ghost:hover { background: rgba(124, 92, 255, 0.12); }

/* grid + tools */
.tools { display: flex; gap: 10px; flex-wrap: wrap; }
input, textarea, select {
  font: 500 15px/1.3 var(--sans);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  outline: none;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
select option { background: var(--bg-2); }
input::placeholder, textarea::placeholder { color: var(--muted); }
.tools input { width: auto; min-width: 280px; border-radius: 99px; }
input:focus, textarea:focus, select:focus { border-color: rgba(165, 139, 255, 0.7); box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.2); }
.seg { display: inline-flex; border-radius: 999px; padding: 4px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.seg button { border: 0; background: transparent; font: 600 13px/1 var(--sans); padding: 10px 16px; border-radius: 99px; cursor: pointer; color: var(--text-2); }
.seg button.on { background: #fff; color: #17122f; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.grid .bib { width: auto; }
.empty { text-align: center; padding: 48px; border: 1px dashed var(--line-2); border-radius: 28px; }
.empty p { font-size: 26px; font-weight: 500; letter-spacing: -0.03em; margin: 0 0 18px; }
.skeleton { height: 250px; border-radius: 24px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)); background-size: 200% 100%; animation: sk 1.2s infinite; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- how ---------- */
.cascade {
  position: relative;
  display: grid;
  grid-template-columns: 60px repeat(5, 1fr);
  gap: 14px;
  align-items: end;
  padding: 34px 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: radial-gradient(70% 140% at 85% 0%, rgba(124, 92, 255, 0.35), transparent 70%), rgba(255, 255, 255, 0.03);
  margin-bottom: 34px;
}
.lane-num { font: 500 11px/1 var(--mono); letter-spacing: 0.2em; writing-mode: vertical-rl; transform: rotate(180deg); color: var(--muted); align-self: center; }
.cas {
  position: relative;
  border-radius: 20px;
  padding: 18px 12px;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  animation: bump 4s infinite;
  animation-delay: calc((4 - var(--i)) * 0.55s);
}
.cas b { display: block; font-size: 44px; font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.cas span { font: 500 11px/1.2 var(--mono); color: var(--muted); }
.cas.hit { background: linear-gradient(135deg, #8f74ff, #4b2fe0); border-color: rgba(255, 255, 255, 0.3); }
.cas.hit span { color: rgba(255, 255, 255, 0.85); }
@keyframes bump {
  0%, 12%, 100% { transform: translateY(0); box-shadow: none; }
  5% { transform: translateY(-12px); box-shadow: 0 16px 40px rgba(124, 92, 255, 0.5); }
}
.cas .tb {
  position: absolute;
  top: 28px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 18px 5px rgba(165, 139, 255, 0.9);
  opacity: 0;
  animation: fly 4s infinite;
  animation-delay: calc((4 - var(--i)) * 0.55s + 0.12s);
}
@keyframes fly {
  0% { opacity: 0; left: 0; }
  2% { opacity: 1; }
  11% { opacity: 1; left: -55%; }
  13%, 100% { opacity: 0; left: -55%; }
}
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { padding: 22px; border-radius: 24px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.step > b { display: inline-block; font: 500 12px/1 var(--mono); color: var(--violet-2); padding: 7px 10px; border-radius: 99px; border: 1px solid rgba(165, 139, 255, 0.4); margin-bottom: 18px; }
.step p { color: var(--text-2); margin: 0; font-size: 15px; }
.step p b { color: #fff; }

/* ---------- log ---------- */
.log-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; align-items: start; }
.passes { display: grid; gap: 10px; }
.pass {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  text-decoration: none;
  font-size: 13px;
  transition: background 0.2s, border-color 0.2s;
}
.pass:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(165, 139, 255, 0.45); }
.pass .n { font: 500 12px/1 var(--mono); color: var(--muted); }
.pass .who { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 600; }
.pass .who img { width: 30px; height: 30px; border-radius: 10px; object-fit: cover; background: rgba(255, 255, 255, 0.06); }
.pass .who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pass .arrow { font: 500 11px/1 var(--mono); color: var(--violet-2); }
.pass .amt { text-align: right; }
.pass .amt b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.pass .amt small { color: var(--muted); font-size: 11px; }
.passes-empty { padding: 22px; border: 1px dashed var(--line-2); border-radius: 20px; color: var(--text-2); }
.passes-empty b { color: #fff; }
.board { padding: 22px; border-radius: 24px; background: linear-gradient(180deg, rgba(124, 92, 255, 0.16), rgba(255, 255, 255, 0.03)); border: 1px solid var(--line); }
.board ul { list-style: none; margin: 0; padding: 0; font: 400 12.5px/1.5 var(--mono); color: var(--text-2); }
.board li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.board li:last-child { border-bottom: 0; }
.board time { color: var(--violet-2); margin-right: 8px; }

/* ---------- faq ---------- */
.faq details { border-top: 1px solid var(--line); padding: 20px 0; max-width: 880px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--violet-2); font-weight: 300; font-size: 26px; line-height: 0.8; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--text-2); margin: 12px 0 0; max-width: 720px; }
.faq p b { color: #fff; }
.faq code { background: rgba(255, 255, 255, 0.07); padding: 2px 7px; border-radius: 6px; font-size: 12.5px; }

/* ---------- coin page ---------- */
#coin { max-width: 1240px; margin: 0 auto; padding: 100px clamp(16px, 4vw, 48px) 0; }
.back { text-decoration: none; font-size: 14px; color: var(--text-2); }
.back:hover { color: #fff; }
.coin-layout { display: grid; grid-template-columns: 1fr 380px; gap: 22px; margin-top: 18px; align-items: start; }
.bib.big {
  width: auto;
  padding: 28px;
  border-radius: 32px;
  background:
    radial-gradient(70% 80% at 100% 0%, rgba(124, 92, 255, 0.4), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}
.bib.big .bib-band { font-size: 11px; margin-bottom: 22px; }
.bib-top { display: flex; gap: 24px; align-items: center; }
.bib-top img { width: 128px; height: 128px; border-radius: 30px; object-fit: cover; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); flex-shrink: 0; }
.bib-top .bib-leg { text-align: left; }
.bib-top .bib-leg b { font-size: 88px; }
.bib-top h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 500; letter-spacing: -0.04em; margin: 4px 0; line-height: 1; overflow-wrap: anywhere; }
.sym { font: 500 14px/1 var(--mono); color: var(--muted); }
.c-desc { color: var(--text-2); margin: 20px 0; }
.c-relay { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 8px; align-items: stretch; margin: 20px 0; }
.c-relay > a, .c-relay > div { border-radius: 18px; padding: 12px 14px; text-decoration: none; min-width: 0; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.c-relay small { display: block; font: 500 10px/1 var(--mono); letter-spacing: 0.12em; color: var(--muted); margin-bottom: 7px; }
.c-relay b { font-size: 16px; font-weight: 600; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-self { background: linear-gradient(135deg, #8f74ff, #4b2fe0) !important; border-color: rgba(255, 255, 255, 0.3) !important; }
.c-self small { color: rgba(255, 255, 255, 0.75); }
a.c-link[href]:hover { border-color: rgba(165, 139, 255, 0.55); }
.c-arrow { align-self: center; color: var(--violet-2); font-size: 18px; }
.c-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 18px; }
.c-stats div { padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.c-stats dt { font-size: 12px; color: var(--muted); }
.c-stats dd { margin: 6px 0 0; font-size: 22px; font-weight: 600; letter-spacing: -0.03em; white-space: nowrap; }
.row { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--text-2); }
.row b { color: #fff; }
.addr { margin: 22px 0 12px; display: grid; gap: 8px; }
.addr div { display: grid; grid-template-columns: 70px 1fr auto; gap: 10px; align-items: center; font-size: 13px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.addr span { font: 500 11px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.addr code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
.addr button, .quick button { border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.05); color: var(--text); border-radius: 99px; font: 600 12px/1 var(--sans); padding: 8px 12px; cursor: pointer; }
.addr button:hover, .quick button:hover { background: rgba(255, 255, 255, 0.12); }
.c-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.c-links a { border: 1px solid var(--line); border-radius: 99px; padding: 8px 14px; text-decoration: none; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, 0.04); }
.c-links a:hover { border-color: rgba(165, 139, 255, 0.55); }
.sub { margin-top: 10px; }
.trade {
  position: sticky;
  top: 96px;
  padding: 20px;
  border-radius: 28px;
  display: grid;
  gap: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.trade .seg { width: 100%; }
.trade .seg button { flex: 1; font-size: 14px; padding: 12px; }
.field { display: grid; gap: 7px; }
.field > span { font-size: 12px; font-weight: 600; color: var(--text-2); }
.amt { position: relative; }
.amt input { font-size: 28px; font-weight: 600; letter-spacing: -0.03em; padding-right: 64px; }
.amt span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font: 500 13px/1 var(--mono); color: var(--muted); }
.quick { display: flex; gap: 6px; flex-wrap: wrap; }
.bal { margin: 0; font: 500 12.5px/1.2 var(--mono); color: var(--text-2); }
.trade-msg { margin: 0; font-size: 14px; color: var(--text-2); }
.trade-msg b { color: #fff; }
.trade-msg.ok { color: var(--good); font-weight: 600; }
.trade-msg.err { color: var(--bad); font-weight: 600; }
.trade-msg a { color: inherit; font-weight: 700; }

/* ---------- launch sheet ---------- */
.sheet { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
.sheet-bg { position: absolute; inset: 0; background: rgba(4, 3, 16, 0.7); backdrop-filter: blur(8px); }
.sheet-card {
  position: relative;
  width: min(960px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 30px;
  border-radius: 32px;
  background: radial-gradient(70% 60% at 100% 0%, rgba(124, 92, 255, 0.3), transparent 70%), #100d2b;
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
}
.sheet-card h2 { font-size: clamp(34px, 4vw, 52px); }
.x { position: absolute; top: 18px; right: 18px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.06); color: var(--text); width: 40px; height: 40px; border-radius: 50%; font-size: 22px; cursor: pointer; line-height: 1; }
.launch-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; margin: 10px 0 22px; }
.fields { display: grid; gap: 12px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.drop { display: flex; align-items: center; gap: 14px; border: 1px dashed rgba(165, 139, 255, 0.5); border-radius: 18px; padding: 16px; cursor: pointer; background: rgba(255, 255, 255, 0.03); font-weight: 600; }
.drop.over { background: rgba(124, 92, 255, 0.15); }
.drop img { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; }
.drop small { color: var(--muted); font-weight: 400; }
.socials summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--text-2); }
.socials .field { margin-top: 10px; }
.preview { display: grid; gap: 16px; align-content: start; justify-items: center; padding: 24px 16px; border-radius: 26px; border: 1px solid var(--line); background: radial-gradient(80% 80% at 50% 0%, rgba(124, 92, 255, 0.4), transparent 70%), rgba(255, 255, 255, 0.02); }
.checks { list-style: none; margin: 0; padding: 14px 16px; display: grid; gap: 7px; border-radius: 18px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); font-size: 14px; width: 100%; color: var(--text-2); }
.checks b { color: #fff; }
.checks li::before { content: "✓  "; color: var(--violet-2); font-weight: 800; }

/* ---------- footer ---------- */
.foot { margin-top: 120px; border-top: 1px solid var(--line); padding: 40px clamp(16px, 4vw, 48px) 52px; text-align: center; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 500; letter-spacing: -0.05em; }
.foot p { color: var(--muted); margin: 12px auto 0; max-width: 620px; font-size: 14px; }
.foot a { color: var(--violet-2); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #fff; color: #17122f; padding: 12px 20px; border-radius: 99px; font-weight: 600; z-index: 90; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s, transform 0.7s; }
.reveal.in { opacity: 1; transform: none; }

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

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .log-grid, .coin-layout { grid-template-columns: 1fr; }
  .trade { position: static; }
  .hero-stats { display: none; }
}
@media (max-width: 760px) {
  .nav { grid-template-columns: auto 1fr; top: 12px; }
  .pill { display: none; }
  .buy-btn { display: none; }
  .ca-bar code { max-width: 150px; }
  .brand { opacity: 1; }
  .hero { height: 760px; border-radius: 26px; }
  .hero-title { padding-top: 92px; }
  .status-pill { font-size: 10px; white-space: nowrap; }
  .phone-stage { transform: translateX(-50%) scale(0.82); transform-origin: top center; }
  .hero-cta { left: 12px; right: 12px; bottom: 12px; max-width: none; flex-direction: column; align-items: stretch; gap: 12px; text-align: center; padding: 16px; }
  .steps, .launch-grid, .two { grid-template-columns: 1fr; }
  .cascade { grid-template-columns: repeat(5, 1fr); padding: 18px 12px; gap: 6px; }
  .lane-num { display: none; }
  .cas { padding: 12px 4px; border-radius: 14px; }
  .cas b { font-size: 26px; }
  .cas span { font-size: 9px; }
  .cas .tb { top: 16px; width: 9px; height: 9px; }
  .c-relay { grid-template-columns: 1fr; }
  .c-arrow { transform: rotate(-90deg); justify-self: center; }
  .c-stats { grid-template-columns: 1fr 1fr; }
  .bib-top { flex-direction: column; align-items: flex-start; }
  .bib-top .bib-leg b { font-size: 68px; }
  .pass { grid-template-columns: 1fr auto; }
  .pass .n, .pass .arrow { display: none; }
  .tools input { min-width: 0; width: 100%; }
  .sheet-card { padding: 22px; }
}
