:root {
  --accent: #8fe3a9;
  --accent-rgb: 143, 227, 169;
  --green: var(--accent);
  --hands-tint: sepia(1) saturate(1.4) hue-rotate(80deg) brightness(0.95);
  --reach-time: 2.6s;
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --mono: "Space Mono", "Courier New", Courier, monospace;
  --ink: #e8e8e8;
  --ink-dim: rgba(232, 232, 232, 0.62);
  --line: rgba(255, 255, 255, 0.14);
  --cut: 14px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: #000;
  color: #fff;
  overflow: hidden;
  font-family: var(--mono);
}

/* ---------- background ---------- */

.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.035) 0px,
    rgba(255, 255, 255, 0.035) 1px,
    transparent 1px,
    transparent 4px
  );
}

.scanbeam {
  position: fixed;
  left: 0;
  right: 0;
  top: -20vh;
  height: 20vh;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.05) 50%, transparent);
  animation: scan 9s linear infinite;
}

@keyframes scan { to { transform: translateY(140vh); } }

.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 3;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.6s steps(4) infinite;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-2%, 3%); }
  50%  { transform: translate(3%, -1%); }
  75%  { transform: translate(-1%, -3%); }
  100% { transform: translate(2%, 2%); }
}

.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.75) 100%);
}


/* ---------- landing ---------- */

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 0;
}

.hands {
  position: relative;
  width: 100vw;
  user-select: none;
  transition: filter 1.4s ease, opacity 1.4s ease;
}

body.entered .hands {
  filter: blur(7px) grayscale(1);
  opacity: 0.16;
  pointer-events: none;
}

body.entered .join,
body.entered .socials {
  opacity: 0;
  animation: none;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.hands img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.hands-green {
  position: absolute;
  inset: 0;
  filter: var(--hands-tint);
  opacity: 0.6;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 22%, #000 78%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 22%, #000 78%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: 0% 100%;
          mask-size: 0% 100%;
  transition: -webkit-mask-size var(--reach-time) ease-in-out;
  transition: mask-size var(--reach-time) ease-in-out;
}

.hands.is-hot .hands-green {
  -webkit-mask-size: 130% 100%;
          mask-size: 130% 100%;
}

.join {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05em;
  color: #e8e8e8;
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.9), rgba(8, 8, 8, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 24px rgba(0, 0, 0, 0.7);
  text-decoration: none;
  font-size: clamp(0.65rem, 1.2vw, 1.15rem);
  line-height: 1.15;
  white-space: nowrap;
  padding: 0.9em 2em;
  cursor: pointer;
  animation: blink 3.2s ease-in-out infinite;
  transition: color 1.2s ease, border-color 1.2s ease, box-shadow 1.2s ease, background 1.2s ease;
}

.join-top { font-size: 0.7em; letter-spacing: 0.55em; text-indent: 0.55em; opacity: 0.7; }
.join-bottom { font-weight: 700; letter-spacing: 0.28em; text-indent: 0.28em; }

.join::before,
.join::after {
  content: "";
  position: absolute;
  width: 0.7em;
  height: 0.7em;
  border: 1px solid currentColor;
  transition: inherit;
}
.join::before { top: -5px; left: -5px; border-right: 0; border-bottom: 0; }
.join::after  { bottom: -5px; right: -5px; border-left: 0; border-top: 0; }

.join:hover,
.join:focus-visible {
  animation: none;
  opacity: 1;
  color: var(--green);
  border-color: rgba(var(--accent-rgb), 0.7);
  background: linear-gradient(180deg, rgba(14, 28, 18, 0.92), rgba(5, 12, 7, 0.96));
  box-shadow: inset 0 1px 0 rgba(var(--accent-rgb), 0.2), 0 0 24px rgba(var(--accent-rgb), 0.28), 0 8px 24px rgba(0, 0, 0, 0.7);
  text-shadow: 0 0 10px rgba(var(--accent-rgb), 0.5);
  outline: none;
}
.join:hover .join-top { opacity: 0.9; }

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.08; }
}

.socials {
  position: absolute;
  left: 50%;
  top: 54.5%;
  transform: translateX(-50%);
  display: flex;
  gap: clamp(0.9rem, 1.6vw, 1.6rem);
  align-items: center;
}

.social {
  display: inline-flex;
  color: rgba(255, 255, 255, 0.55);
  width: clamp(0.9rem, 1.5vw, 1.35rem);
  height: clamp(0.9rem, 1.5vw, 1.35rem);
  transition: color 0.4s ease, transform 0.4s ease, filter 0.4s ease;
}
.social-uni { width: clamp(1.15rem, 1.9vw, 1.7rem); height: clamp(1.15rem, 1.9vw, 1.7rem); }
.social svg { width: 100%; height: 100%; display: block; }
.uni-mask {
  display: block;
  width: 100%;
  height: 100%;
  background: currentColor;
  -webkit-mask: url("uniswap.png") center / contain no-repeat;
          mask: url("uniswap.png") center / contain no-repeat;
}
.social:hover,
.social:focus-visible {
  color: var(--green);
  transform: translateY(-1px);
  filter: drop-shadow(0 0 6px rgba(var(--accent-rgb), 0.6));
  outline: none;
}

.credits {
  position: fixed;
  left: 0;
  right: 0;
  bottom: clamp(0.9rem, 2vh, 1.6rem);
  z-index: 1;
  text-align: center;
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-indent: 0.35em;
  color: rgba(255, 255, 255, 0.32);
  pointer-events: none;
  transition: opacity 0.8s ease;
}
body.entered .credits { opacity: 0; }

/* ---------- preloader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: #000;
  display: grid;
  place-items: center;
  transition: opacity 0.6s ease, visibility 0s linear 0.6s;
}
.loader i {
  width: 14px;
  height: 14px;
  background: var(--green);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  box-shadow: 0 0 16px rgba(var(--accent-rgb), 0.7);
  animation: pulse 1.1s ease-in-out infinite;
}
body.ready .loader { opacity: 0; visibility: hidden; }

/* ---------- header ---------- */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-110%);
  transition: opacity 0.9s ease 0.4s, transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s, visibility 0s linear 1.3s;
}
body.entered .topbar {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.9s ease 0.4s, transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s, visibility 0s;
}

.topbar-shell {
  --tcut: 14px;
  --clip: polygon(
    0 0, 100% 0,
    100% calc(100% - var(--tcut)), calc(100% - var(--tcut)) 100%,
    var(--tcut) 100%, 0 calc(100% - var(--tcut))
  );
  width: min(100%, 1200px);
  padding: 0 1px 1px;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.5), rgba(255, 255, 255, 0.18) 30%, rgba(255, 255, 255, 0.18) 70%, rgba(var(--accent-rgb), 0.5));
  clip-path: var(--clip);
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.7));
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.6rem 1rem;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.92), rgba(6, 6, 6, 0.94));
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  clip-path: var(--clip);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.45em;
  text-indent: 0.1em;
}
.brand-mark {
  width: 12px;
  height: 12px;
  background: var(--green);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.6);
}

.burger {
  display: none;
  width: 34px;
  height: 30px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
}
.burger i {
  position: absolute;
  left: 6px;
  right: 6px;
  height: 1px;
  background: #fff;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), top 0.35s ease;
}
.burger i:first-child { top: 11px; }
.burger i:last-child { top: 18px; }
.burger[aria-expanded="true"] i:first-child { top: 14.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 14.5px; transform: rotate(-45deg); }

.topnav { display: flex; align-items: center; gap: clamp(0.8rem, 2.5vw, 2.2rem); }
.topnav a {
  position: relative;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  padding: 0.35rem 0;
  transition: color 0.3s ease;
}
.topnav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--green);
  clip-path: polygon(0 0, calc(100% - 4px) 0, 100% 100%, 4px 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.topnav a:hover, .topnav a:focus-visible, .topnav a.is-active { color: var(--green); outline: none; }
.topnav a:hover::after, .topnav a:focus-visible::after, .topnav a.is-active::after { transform: scaleX(1); }

/* ---------- inside (scroll container) ---------- */

.inside {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 1.2s ease 0.5s, transform 1.2s ease 0.5s, visibility 0s linear 1.7s;
}
body.entered .inside {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 1.2s ease 0.5s, transform 1.2s ease 0.5s, visibility 0s;
}
.inside::-webkit-scrollbar { width: 6px; }
.inside::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.18); }

.inside-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  width: min(100% - 2rem, 1200px);
  margin: 0 auto;
  padding-block: 6rem 3rem;
}

.inside-media { aspect-ratio: 1 / 1; max-height: 70vh; width: 100%; margin: 0 auto; }

.head {
  --rx: 0deg; --ry: 0deg; --px: 0px; --py: 0px; --gx: 50%; --gy: 50%;
  width: 100%;
  height: 100%;
  perspective: 900px;
}
.head-card {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  will-change: transform;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}
.head-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transform: translate3d(var(--px), var(--py), 0) scale(1.06);
}
.head-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, 0.09), transparent 45%);
  mix-blend-mode: screen;
}

.inside-copy { color: var(--ink); }
.inside-kicker {
  margin: 0 0 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  color: var(--green);
  opacity: 0.85;
}
.inside-title {
  margin: 0 0 1.25rem;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6.5vw, 5.4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #f2f2f2;
}
.inside-title em, .section-title em { font-style: italic; color: var(--green); }

.dots { display: inline-flex; gap: 0.12em; margin-left: 0.08em; vertical-align: baseline; }
.dots i {
  display: inline-block;
  width: 0.14em;
  height: 0.14em;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0.3em rgba(var(--accent-rgb), 0.7);
  opacity: 0;
  animation: dot-cycle 2.4s ease-in-out infinite;
}
.dots i:nth-child(2) { animation-delay: 0.3s; }
.dots i:nth-child(3) { animation-delay: 0.6s; }
@keyframes dot-cycle {
  0%        { opacity: 0; }
  15%, 55%  { opacity: 1; }
  80%, 100% { opacity: 0; }
}

.inside-text {
  margin: 0 0 1rem;
  font-size: clamp(0.85rem, 1.15vw, 1.05rem);
  line-height: 1.7;
  color: var(--ink-dim);
  max-width: 52ch;
}
.inside-text-strong { color: var(--ink); }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

/* chamfered buttons */
.btn {
  --bclip: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  border: 0;
  clip-path: var(--bclip);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  background: rgba(255, 255, 255, 0.35);
  clip-path: var(--bclip);
  -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;
}
.btn > span { position: relative; z-index: 1; }
.btn-arrow {
  position: relative;
  z-index: 1;
  font-style: normal;
  margin-left: 0.8em;
  text-indent: 0;
  letter-spacing: 0;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
/* light sweep */
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}
.btn:hover::after, .btn:focus-visible::after { left: 120%; }
.btn:hover .btn-arrow { transform: translate(3px, -3px); }
.btn:hover, .btn:focus-visible { background: rgba(255, 255, 255, 0.12); outline: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { color: #000; background: var(--green); box-shadow: 0 0 0 rgba(var(--accent-rgb), 0); transition: box-shadow 0.35s ease, background 0.3s ease; }
.btn-primary::before { background: transparent; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--green); box-shadow: 0 0 28px rgba(var(--accent-rgb), 0.45); }
.btn-primary::after { background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.7), transparent); }
.btn:disabled { opacity: 0.35; cursor: not-allowed; }
.btn:disabled::after { display: none; }

.inside-links { display: flex; align-items: center; gap: 1.4rem; margin-top: 2rem; }
.inside-links .social { width: 1.5rem; height: 1.5rem; color: rgba(255, 255, 255, 0.5); }
.inside-links .social-uni { width: 2rem; height: 2rem; }

/* ---------- live strip ---------- */

.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(100% - 2rem, 1200px);
  margin: 0 auto 4rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #131313 0%, #0a0a0a 100%);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.4rem 1.2rem;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat-label { font-size: 0.6rem; letter-spacing: 0.35em; color: rgba(255, 255, 255, 0.45); }
.stat-value {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  color: #f2f2f2;
  line-height: 1.1;
}
.stat-value.is-live { color: var(--green); }
.stat-value { font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; gap: 0.5rem; }
.stat { position: relative; transition: background 0.4s ease; }
.stat:hover { background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%); }
.stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 8px;
  height: 8px;
  border-left: 1px solid rgba(var(--accent-rgb), 0.6);
  border-top: 1px solid rgba(var(--accent-rgb), 0.6);
}
.tick { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.tick i { display: block; height: 100%; width: 0%; background: var(--green); box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.8); }
.tick i.run { animation: tick 12s linear forwards; }
@keyframes tick { from { width: 0%; } to { width: 100%; } }
.stat-hot { background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.07), transparent 70%); }
.stat-hot .stat-label { color: var(--green); }
.live-dot {
  display: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.9);
  animation: pulse 1.6s ease-in-out infinite;
}
.live-dot.is-on { display: inline-block; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.7); } }
.stat-sub { font-size: 0.6rem; letter-spacing: 0.15em; color: rgba(255, 255, 255, 0.35); }

/* ---------- sections ---------- */

.section {
  width: min(100% - 2rem, 1200px);
  margin: 0 auto;
  padding-block: 4.5rem;
  border-top: 1px solid var(--line);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.45em;
  color: var(--green);
  opacity: 0.85;
}
.section-kicker i {
  width: 22px;
  height: 1px;
  background: var(--green);
  box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.8);
}
.section-idx {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.3);
  font-variant-numeric: tabular-nums;
}
.section-title {
  margin: 0 0 2.4rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.02;
  color: #f2f2f2;
}

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card {
  position: relative;
  padding: 1.8rem 1.6rem 1.6rem;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(255, 255, 255, 0.06), transparent 60%),
    linear-gradient(160deg, #181818 0%, #0e0e0e 55%, #070707 100%);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  background: linear-gradient(160deg, rgba(var(--accent-rgb), 0.45), rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0.05));
  clip-path: inherit;
  -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;
}
.card { transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.45s ease; overflow: hidden; }
.card:hover {
  transform: translateY(-4px);
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(var(--accent-rgb), 0.14), transparent 60%),
    linear-gradient(160deg, #161c17 0%, #0e0e0e 55%, #070707 100%);
}
.card::after {
  content: attr(data-ghost);
  position: absolute;
  right: -0.1em;
  bottom: -0.35em;
  font-family: var(--serif);
  font-size: 7rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.035);
  pointer-events: none;
  transition: color 0.45s ease, transform 0.45s ease;
}
.card:hover::after { color: rgba(var(--accent-rgb), 0.09); transform: translateY(-6px); }
.card-num {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  color: var(--green);
}
.card-num::after { content: ""; width: 28px; height: 1px; background: rgba(var(--accent-rgb), 0.5); }
.card h3, .card p { position: relative; z-index: 1; }
.card h3 {
  margin: 0.8rem 0 0.7rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.7rem;
  color: #f2f2f2;
}
.card p { margin: 0; font-size: 0.8rem; line-height: 1.7; color: var(--ink-dim); }

.note {
  margin: 2.2rem 0 0;
  max-width: 78ch;
  font-size: 0.78rem;
  line-height: 1.75;
  color: var(--ink-dim);
}
.note-tight { margin-top: 1rem; }
code {
  font-family: var(--mono);
  font-size: 0.9em;
  color: #f2f2f2;
  background: rgba(255, 255, 255, 0.07);
  padding: 0.05em 0.35em;
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 1.4rem; }

.table-wrap {
  overflow-x: auto;
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--line);
  background:
    radial-gradient(100% 60% at 0% 100%, rgba(255, 255, 255, 0.04), transparent 60%),
    linear-gradient(170deg, #151515 0%, #0c0c0c 60%, #070707 100%);
}
.tbl { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.tbl th, .tbl td { padding: 0.9rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.tbl th { font-size: 0.6rem; letter-spacing: 0.35em; color: rgba(255, 255, 255, 0.45); font-weight: 400; }
.tbl td:first-child { color: var(--ink-dim); }
.tbl td:not(:first-child) { font-family: var(--serif); font-size: 1.25rem; color: #f2f2f2; }
.tbl tbody tr { transition: background 0.25s ease; }
.tbl tbody tr:hover { background: rgba(255, 255, 255, 0.04); }
.tbl-total td { border-bottom: 0; }
.tbl-total td:not(:first-child) { color: var(--green); }
.tbl-kv td:not(:first-child) { font-family: var(--mono); font-size: 0.82rem; }
.tbl-addr td:not(:first-child) { word-break: break-all; font-size: 0.72rem; }
.tbl-addr a { color: var(--green); text-decoration: none; }

.code {
  margin: 0;
  padding: 1.2rem 1.3rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  line-height: 1.7;
  color: var(--ink);
  background: linear-gradient(180deg, #111 0%, #080808 100%);
  border: 1px solid var(--line);
  border-left: 2px solid var(--green);
  overflow-x: auto;
  white-space: pre;
}
.c-k { color: rgba(255, 255, 255, 0.45); }
.verify { margin-top: 1rem; }
.verify summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  color: rgba(255, 255, 255, 0.45);
  padding: 0.6rem 0;
  transition: color 0.3s ease;
}
.verify summary::-webkit-details-marker { display: none; }
.verify summary::before { content: "+ "; color: var(--green); }
.verify[open] summary::before { content: "− "; }
.verify summary:hover { color: var(--green); }
.verify .code { margin-top: 0.6rem; }
.list a { color: var(--green); text-decoration: none; }
.note a { color: var(--green); text-decoration: none; }
.c-g { color: var(--green); }

.list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--ink-dim);
}
.stack .list { padding: 1.2rem 1.3rem; border: 1px solid var(--line); background: linear-gradient(170deg, #131313 0%, #0b0b0b 60%, #070707 100%); }
.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  background: var(--green);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.list strong { color: #f2f2f2; }

/* example timeline */
.timeline { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.timeline li {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--ink-dim);
}
.timeline li:last-child { border-bottom: 0; }
.timeline { position: relative; padding: 0.4rem 1rem 0.4rem 0.6rem; margin-left: 0.6rem; border: 1px solid var(--line); background: linear-gradient(170deg, #151515 0%, #0c0c0c 60%, #070707 100%); }
.timeline::before { content: ""; position: absolute; left: 0; top: 1rem; bottom: 0.6rem; width: 1px; background: linear-gradient(to bottom, rgba(var(--accent-rgb), 0.6), rgba(255, 255, 255, 0.12)); }
.timeline li { position: relative; padding-left: 1rem; transition: background 0.25s ease; }
.timeline li:hover { background: rgba(255, 255, 255, 0.02); }
.timeline li::before { content: ""; position: absolute; left: -0.6rem; top: 1.45rem; width: 7px; height: 7px; margin-left: -3px; background: #0a0a0a; border: 1px solid rgba(255, 255, 255, 0.35); transform: rotate(45deg); }
.timeline li.tl-pay::before { background: var(--green); border-color: var(--green); box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.8); }
.timeline b { color: #f2f2f2; font-weight: 700; }
.tl-block { font-family: var(--serif); font-size: 1.5rem; color: #f2f2f2; line-height: 1; padding-top: 0.15rem; }
.tl-pot { color: rgba(255, 255, 255, 0.45); }
.tl-out { color: var(--green); }
.tl-pay .tl-block { color: var(--green); }
.tl-dead { opacity: 0.55; }

/* stepped timeline */
.timeline.is-stepping li {
  opacity: 0.12;
  filter: blur(1.5px);
  transform: translateX(10px);
  transition: opacity 0.55s ease, filter 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.timeline.is-stepping li.tl-dead { opacity: 0.12; }
.timeline.is-stepping li.is-on { opacity: 1; filter: none; transform: none; }
.timeline.is-stepping li.tl-dead.is-on { opacity: 0.55; }
.timeline.is-stepping li.is-on:last-of-type,
.timeline.is-stepping li.is-on.is-current { background: rgba(var(--accent-rgb), 0.04); }
.timeline.is-stepping li.is-current::before { box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.18), 0 0 8px rgba(var(--accent-rgb), 0.8); }

/* dashboard */
.dash { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.dash-panel {
  position: relative;
  padding: 1.6rem;
  background:
    radial-gradient(100% 70% at 100% 0%, rgba(255, 255, 255, 0.05), transparent 60%),
    linear-gradient(170deg, #171717 0%, #0d0d0d 60%, #070707 100%);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.dash-panel::before, .dash-panel::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: rgba(var(--accent-rgb), 0.7);
  border-style: solid;
}
.dash-panel::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.dash-panel::after  { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.dash-row { display: flex; flex-direction: column; gap: 0.3rem; }
.mono { font-family: var(--mono); font-size: 0.78rem; color: var(--ink); word-break: break-all; }
.dash-msg { margin: 0; font-size: 0.7rem; line-height: 1.6; color: rgba(255, 255, 255, 0.45); }
.dash-msg.is-err { color: #ff6b6b; }
.dash-msg.is-ok { color: var(--green); }
.payouts { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.74rem; }
.payouts li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid var(--line); color: var(--ink-dim); }
.payouts li:last-child { border-bottom: 0; }
.payouts .amt { color: var(--green); }
.payouts a { color: inherit; text-decoration: none; }
.muted { color: rgba(255, 255, 255, 0.35); }

/* faq */
.faq { display: flex; flex-direction: column; gap: 0.6rem; max-width: 860px; }
.qa {
  border: 1px solid var(--line);
  background: linear-gradient(170deg, #141414 0%, #0b0b0b 60%, #070707 100%);
  transition: border-color 0.3s ease;
}
.qa[open], .qa:hover { border-color: rgba(var(--accent-rgb), 0.4); }
.qa summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: #f2f2f2;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-family: var(--mono); color: var(--green); font-size: 1rem; transition: transform 0.3s ease; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { margin: 0; padding: 0 1.3rem 1.2rem; font-size: 0.8rem; line-height: 1.7; color: var(--ink-dim); }
.qa p a { color: var(--green); text-decoration: none; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.cards .reveal:nth-child(2) { transition-delay: 0.1s; }
.cards .reveal:nth-child(3) { transition-delay: 0.2s; }

/* footer */
.inside-footer {
  position: relative;
  width: min(100% - 2rem, 1200px);
  margin: 2rem auto 0;
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.inside-footer::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 120px;
  height: 1px;
  background: var(--green);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.8);
}
.foot-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  gap: 3rem;
  position: relative;
  z-index: 1;
}
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; }
.foot-word {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5em;
  color: #fff;
}
.foot-tag { margin: 0; font-size: 0.74rem; line-height: 1.75; color: var(--ink-dim); }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.foot-col { display: flex; flex-direction: column; gap: 0.6rem; }
.foot-h { font-size: 0.58rem; letter-spacing: 0.4em; color: rgba(255, 255, 255, 0.35); margin-bottom: 0.4rem; }
.foot-col a {
  position: relative;
  width: fit-content;
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 0.76rem;
  transition: color 0.3s ease, padding-left 0.3s ease;
}
.foot-col a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--green);
  transition: width 0.3s ease;
}
.foot-col a:hover { color: #fff; padding-left: 0.9rem; }
.foot-col a:hover::before { width: 0.55rem; }
.foot-kv { font-size: 0.72rem; color: var(--ink-dim); }
.foot-kv b { font-weight: 400; color: rgba(255, 255, 255, 0.35); margin-right: 0.5rem; letter-spacing: 0.15em; font-size: 0.6rem; }
.foot-ghost {
  position: relative;
  margin-top: 2.5rem;
  font-family: var(--serif);
  font-size: clamp(4rem, 17vw, 15rem);
  line-height: 0.85;
  letter-spacing: -0.02em;
  text-align: center;
  user-select: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 30%, transparent 100%);
}
.foot-ghost span {
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12);
  /* top half transparent, bottom half the gradient; slide it up on hover */
  background: linear-gradient(180deg, transparent 0%, transparent 50%, #fff 50%, var(--green) 68%, rgba(var(--accent-rgb), 0.2) 100%);
  background-size: 100% 200%;
  background-position: 0 0;
  -webkit-background-clip: text;
          background-clip: text;
  cursor: default;
  transition: background-position 0.7s ease, -webkit-text-stroke-color 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.9s ease;
}
/* hovered letter lights up with gradient fill; neighbours catch a faint glow */
.foot-ghost span:hover {
  background-position: 0 100%;
  -webkit-text-stroke-color: rgba(var(--accent-rgb), 0.9);
  filter: drop-shadow(0 0 18px rgba(var(--accent-rgb), 0.55));
  transform: translateY(-6px);
  transition-duration: 0.25s;
}
.foot-ghost span:hover + span { -webkit-text-stroke-color: rgba(var(--accent-rgb), 0.45); transition-duration: 0.25s; }
.foot-ghost:has(span:hover) span:has(+ span:hover) { -webkit-text-stroke-color: rgba(var(--accent-rgb), 0.45); transition-duration: 0.25s; }
.foot-bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: -1rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.35);
  position: relative;
  z-index: 1;
}
.foot-sep { width: 4px; height: 4px; background: rgba(var(--accent-rgb), 0.6); transform: rotate(45deg); }
.foot-up { margin-left: auto; color: rgba(255, 255, 255, 0.5); text-decoration: none; transition: color 0.3s ease; }
.foot-up:hover { color: var(--green); }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .foot-top { grid-template-columns: 1fr; gap: 2rem; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .strip, .hist-totals { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cards { grid-template-columns: 1fr; }
  .split, .dash { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .inside-hero { grid-template-columns: 1fr; align-content: center; gap: 1.5rem; padding-top: 5.5rem; }
  .inside-media { max-height: 42vh; }
  .inside-text { max-width: none; }
  .section { padding-block: 3rem; }
}

@media (max-width: 760px) {
  .topbar-inner { padding: 0.75rem 1rem 1rem; }
  .brand { letter-spacing: 0.3em; font-size: 0.78rem; }
  .burger { display: block; }
  .topnav {
    position: fixed;
    z-index: 6;
    left: 16px;
    right: 16px;
    top: 64px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.4rem 0;
    background: linear-gradient(180deg, #141414, #070707);
    border: 1px solid var(--line);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
  }
  .topnav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s; }
  .topnav a { padding: 0.9rem 1.2rem; font-size: 0.7rem; letter-spacing: 0.3em; border-bottom: 1px solid var(--line); }
  .topnav a:last-child { border-bottom: 0; }
  .topnav a::after { display: none; }
}

@media (max-width: 560px) { .foot-cols { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .join, .dots i, .scanbeam, .grain, .tick { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.tick i { display: block; height: 100%; width: 0%; background: var(--green); box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.8); }
.tick i.run { animation: tick 12s linear forwards; }
@keyframes tick { from { width: 0%; } to { width: 100%; } }
.stat-hot { background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.07), transparent 70%); }
.stat-hot .stat-label { color: var(--green); }
.live-dot { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hands-green { transition-duration: 0.6s; }
  .inside { scroll-behavior: auto; }
}
