:root {
  --void: #020805;
  --pine: #06140c;
  --moss: #0c2214;
  --neon: #3dff6e;
  --lime: #b8ff3c;
  --wick: #7cff9a;
  --fog: #8fd4a4;
  --bronze: #c4a35a;
  --ink: #e8ffe9;
  --mute: #7ea889;
  --line: rgba(61, 255, 110, 0.18);
  --glass: rgba(4, 18, 10, 0.62);
  --display: "Cinzel Decorative", "Cinzel", serif;
  --serif: "Cinzel", serif;
  --ui: "Chakra Petch", sans-serif;
  --mono: "Share Tech Mono", ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--void);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

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

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

button {
  font: inherit;
  color: inherit;
  cursor: none;
}

code {
  font-family: var(--mono);
}

.void {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 12% -10%, rgba(61, 255, 110, 0.08), transparent 60%),
    radial-gradient(700px 480px at 92% 8%, rgba(184, 255, 60, 0.05), transparent 55%),
    linear-gradient(180deg, #020805 0%, #04110a 42%, #020805 100%);
}

#candleField {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.38;
}

.fog {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.22;
}

.fog-a {
  width: 42vw;
  height: 42vw;
  left: -8vw;
  top: 18vh;
  background: #145c32;
  animation: drift 22s ease-in-out infinite;
}

.fog-b {
  width: 36vw;
  height: 36vw;
  right: -10vw;
  bottom: 8vh;
  background: #1d6b28;
  animation: drift 28s ease-in-out infinite reverse;
}

.chart-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(61, 255, 110, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 255, 110, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 82%);
}

.scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.08) 0 1px,
    transparent 1px 3px
  );
  opacity: 0.25;
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 48%, #000 100%);
}

.wick-rail {
  position: fixed;
  top: 0;
  left: 10px;
  width: 3px;
  height: 100vh;
  z-index: 40;
  background: rgba(61, 255, 110, 0.08);
}

.wick-rail-fill {
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, var(--lime), var(--neon));
  box-shadow: 0 0 14px var(--neon);
}

.cursor-wick {
  position: fixed;
  width: 14px;
  height: 14px;
  border: 1px solid var(--neon);
  background: rgba(61, 255, 110, 0.18);
  border-radius: 50%;
  pointer-events: none;
  z-index: 80;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 16px rgba(61, 255, 110, 0.45);
  mix-blend-mode: screen;
}

.cursor-wick::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -18px;
  width: 1px;
  height: 18px;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
}

header,
main,
footer,
.tape {
  position: relative;
  z-index: 2;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 28px;
  background: rgba(2, 8, 5, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

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

.brand-mark {
  position: relative;
  width: 46px;
  height: 46px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
}

.brand-pulse {
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(61, 255, 110, 0.35);
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  animation: breathe 3.2s ease-in-out infinite;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-tick {
  font-family: var(--mono);
  color: var(--neon);
  font-size: 12px;
}

.nav-links {
  display: flex;
  gap: 22px;
}

.nav-links a {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fog);
}

.nav-links a:hover {
  color: var(--lime);
}

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

.icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(8, 28, 16, 0.7);
}

.icon-btn img {
  width: 16px;
  height: 16px;
  filter: brightness(1.4);
}

.icon-btn:hover {
  border-color: var(--neon);
  box-shadow: 0 0 16px rgba(61, 255, 110, 0.25);
}

.buy-chip,
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(61, 255, 110, 0.4);
  padding: 10px 16px;
  font-family: var(--ui);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.buy-chip,
.btn-solid {
  background: linear-gradient(135deg, #145c28, #1f8a3a 55%, #0d3a1c);
  color: #eaffea;
  box-shadow: 0 0 24px rgba(61, 255, 110, 0.18);
}

.btn-ghost {
  background: rgba(6, 20, 12, 0.55);
}

.buy-chip img,
.btn img {
  width: 16px;
  height: 16px;
}

.buy-chip:hover,
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(184, 255, 60, 0.28);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--line);
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--neon);
}

.tape {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 14, 8, 0.85);
}

.tape-track {
  display: flex;
  gap: 36px;
  width: max-content;
  padding: 8px 0;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--wick);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: tape 28s linear infinite;
}

.hero {
  min-height: calc(100vh - 118px);
  padding: 48px 28px 72px;
  display: grid;
  align-items: center;
}

.hero-flare {
  position: absolute;
  left: 8%;
  top: 28%;
  width: 54%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--lime), var(--neon), transparent);
  filter: blur(1px);
  animation: flare 4.8s ease-in-out infinite;
  pointer-events: none;
}

.hero-shell {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}

.live-wick {
  width: 8px;
  height: 18px;
  background: var(--neon);
  box-shadow: 0 0 12px var(--neon);
  animation: wick 1.6s ease-in-out infinite;
}

.sep {
  opacity: 0.4;
}

.display {
  margin: 10px 0 18px;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(56px, 8vw, 108px);
  line-height: 0.86;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.display-line {
  display: block;
  text-shadow: 0 0 24px rgba(61, 255, 110, 0.28);
}

.display-line.slash {
  position: relative;
}

.display-line.slash::after {
  content: "";
  position: absolute;
  left: -6%;
  top: 52%;
  width: 112%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #d8ff6a 20%, #3dff6e 50%, transparent);
  box-shadow: 0 0 18px #b8ff3c;
  animation: slash 3.6s ease-in-out infinite;
}

.hero-tag {
  max-width: 34ch;
  font-size: 18px;
  color: var(--fog);
}

.hero-meta,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  background: var(--glass);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.meta-pill img {
  width: 14px;
  height: 14px;
}

.meta-k {
  color: var(--mute);
}

.breath-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 10px var(--neon);
  animation: breathe 2.4s ease-in-out infinite;
}

.ca-bar {
  margin-top: 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  background: rgba(4, 16, 10, 0.78);
  border: 1px solid var(--line);
}

.ca-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}

#contractDisplay {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--wick);
}

.ca-copy {
  border: 1px solid var(--line);
  background: #0a2214;
  padding: 6px 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ca-copy:hover,
.ca-copy.is-copied {
  border-color: var(--neon);
  color: var(--lime);
}

.hero-stage {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  border: 1px dashed rgba(61, 255, 110, 0.22);
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
}

.orbit-a {
  width: 86%;
  height: 86%;
  animation: spin 26s linear infinite;
}

.orbit-b {
  width: 72%;
  height: 72%;
  animation: spin 18s linear infinite reverse;
}

.orbit-c {
  width: 58%;
  height: 58%;
  border-style: solid;
  animation: breathe 3.8s ease-in-out infinite;
}

.logo-chamber {
  position: relative;
  width: min(460px, 86%);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  box-shadow: 0 0 60px rgba(61, 255, 110, 0.18);
  border: 1px solid rgba(61, 255, 110, 0.28);
}

.hero-logo,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-video.is-live {
  opacity: 1;
}

.stage-readout {
  position: absolute;
  right: 0;
  bottom: 18px;
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-family: var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

.stage-readout strong {
  color: var(--lime);
  font-size: 28px;
  text-shadow: 0 0 16px rgba(184, 255, 60, 0.45);
}

section {
  padding: 92px 28px;
}

.section-head {
  max-width: 1240px;
  margin: 0 auto 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 16px 28px;
}

.kicker {
  width: 100%;
  margin: 0;
  font-family: var(--mono);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--neon);
  font-size: 12px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.head-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--fog);
}

.head-link img {
  width: 18px;
  height: 18px;
}

.about-grid,
.rungs,
.chart-frame,
.banner-frame,
.foot {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 28px;
}

.about-panel,
.stat,
.rung,
.chart-frame,
.banner-frame {
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.about-panel {
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.about-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--lime), transparent);
}

.lede {
  font-size: 22px;
  color: var(--ink);
}

.about-panel p {
  color: var(--fog);
}

.stat-stack {
  display: grid;
  gap: 12px;
}

.stat {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}

.stat-k {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

.stat strong {
  font-family: var(--serif);
  font-size: 20px;
}

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

.rung {
  padding: 24px 20px 28px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.rung:hover {
  transform: translateY(-6px);
  border-color: rgba(61, 255, 110, 0.45);
}

.rung-candle {
  height: 84px;
  display: flex;
  justify-content: center;
  align-items: end;
}

.rung-candle i {
  width: 2px;
  height: 22px;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
}

.rung-candle b {
  width: 18px;
  background: linear-gradient(180deg, #9dff4a, #1d8a3a);
  box-shadow: 0 0 18px rgba(61, 255, 110, 0.4);
}

.rung:nth-child(1) b { height: 28px; }
.rung:nth-child(2) b { height: 40px; }
.rung:nth-child(3) b { height: 52px; }
.rung:nth-child(4) b { height: 68px; }

.rung-n {
  font-family: var(--mono);
  color: var(--neon);
  letter-spacing: 0.16em;
}

.rung h3 {
  margin: 6px 0;
  font-family: var(--serif);
  text-transform: uppercase;
}

.rung p {
  color: var(--fog);
  margin-top: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--wick);
}

.text-link img {
  width: 16px;
  height: 16px;
}

.text-link.static {
  color: var(--mute);
}

.chart-frame {
  position: relative;
  min-height: 640px;
  overflow: hidden;
}

.chart-frame iframe {
  width: 100%;
  height: 640px;
  border: 0;
  background: #0b1210;
}

.chart-pending {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 12px;
  text-align: center;
  color: var(--fog);
  background:
    linear-gradient(180deg, rgba(4, 16, 10, 0.2), rgba(4, 16, 10, 0.7)),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(61, 255, 110, 0.04) 40px, rgba(61, 255, 110, 0.04) 41px);
}

.chart-pending a {
  color: var(--lime);
  font-family: var(--mono);
}

.banner-frame {
  overflow: hidden;
}

.banner-frame img {
  width: 100%;
  height: min(62vh, 620px);
  object-fit: cover;
  filter: saturate(1.08) contrast(1.05);
}

.banner-frame figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-top: 1px solid var(--line);
}

.banner-frame p {
  margin: 0;
  max-width: 40ch;
  color: var(--fog);
}

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 28px;
  border-top: 1px solid var(--line);
  color: var(--mute);
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  color: var(--ink);
}

.foot-brand img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
}

.foot-links {
  display: flex;
  gap: 18px;
}

.foot-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
}

.foot-links img {
  width: 14px;
  height: 14px;
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(30px, -24px, 0); }
}

@keyframes breathe {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

@keyframes wick {
  0%, 100% { transform: scaleY(0.7); opacity: 0.7; }
  50% { transform: scaleY(1.15); opacity: 1; }
}

@keyframes flare {
  0%, 100% { opacity: 0.25; transform: translateX(-8%); }
  50% { opacity: 1; transform: translateX(8%); }
}

@keyframes slash {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

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

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

@media (hover: none), (pointer: coarse) {
  body,
  button {
    cursor: auto;
  }

  .cursor-wick {
    display: none;
  }
}

@media (max-width: 980px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    padding: 16px 22px 22px;
    background: rgba(2, 8, 5, 0.96);
    border-bottom: 1px solid var(--line);
  }

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

  .nav-toggle {
    display: block;
  }

  .hero-shell,
  .about-grid,
  .rungs {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 380px;
  }

  .display {
    font-size: 58px;
  }

  .banner-frame figcaption,
  .ca-bar,
  .foot {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .head-link {
    margin-left: 0;
  }

  .wick-rail {
    left: 4px;
  }
}

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

  .buy-chip span {
    display: none;
  }

  .hero,
  section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .chart-frame,
  .chart-frame iframe {
    min-height: 480px;
    height: 480px;
  }
}
