:root {
  --void: #04040a;
  --surface: #101610;
  --text: #dce8dc;
  --bright: #f2f8ee;
  --subtle: #9aa392;
  --muted: #6a7368;
  --accent: #c8f542;
  --accent-glow: #d8ff70;
  --burn: #e879a3;
  --safe: #c8f542;
  --drip: #e8c547;
  --gold: #ffd700;
  --border: #1e2820;
  --glass: rgba(12, 18, 14, 0.55);
  --syne: "Syne", "Segoe UI", sans-serif;
  --body: "Urbanist", "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html,
body {
  min-height: 100%;
  background: var(--void);
  color: var(--text);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

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

button,
input {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

button {
  cursor: pointer;
}

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

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 80;
  padding: 8px 12px;
  background: var(--accent);
  color: #050807;
  border-radius: 8px;
}
.skip:focus {
  left: 8px;
}

.stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.03;
}
.grain-inner {
  position: absolute;
  inset: -200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  animation: 8s steps(10, end) infinite grain;
}

@keyframes grain {
  0%,
  100% {
    transform: translate(0);
  }
  10% {
    transform: translate(-5%, -10%);
  }
  20% {
    transform: translate(-15%, 5%);
  }
  30% {
    transform: translate(7%, -25%);
  }
  40% {
    transform: translate(-5%, 25%);
  }
  50% {
    transform: translate(-15%, 10%);
  }
  60% {
    transform: translate(15%);
  }
  70% {
    transform: translateY(15%);
  }
  80% {
    transform: translate(3%, 35%);
  }
  90% {
    transform: translate(-10%, 10%);
  }
}

.layer {
  position: relative;
  z-index: 10;
}

.glass {
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: var(--glass);
  border: 1px solid rgba(30, 40, 32, 0.45);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--subtle);
  overflow: hidden;
  transition: color 0.3s, border-color 0.3s;
}
.btn:hover {
  color: var(--text);
}
.btn .glass {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  transition: border-color 0.3s;
}
.btn:hover .glass {
  border-color: rgba(200, 245, 66, 0.3);
}
.btn span {
  position: relative;
}

.btn-ghost {
  border: 1px solid rgba(30, 40, 32, 0.45);
  background: transparent;
}
.btn-ghost:hover {
  border-color: rgba(200, 245, 66, 0.3);
}

.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transform: scale(0.94);
  animation: rise 2.2s var(--ease) 0.2s forwards;
}

.hero-mist {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.mist-a,
.mist-b {
  position: absolute;
  filter: blur(100px);
}
.mist-a {
  width: 70%;
  height: 75%;
  background: radial-gradient(ellipse 55% 50% at 50% 38%, rgba(200, 245, 66, 0.1) 0%, rgba(100, 140, 80, 0.05) 45%, transparent 75%);
  animation: breathe 6s ease-in-out infinite;
}
.mist-b {
  width: 50%;
  height: 40%;
  bottom: 5%;
  filter: blur(80px);
  background: radial-gradient(ellipse at 50% 50%, rgba(140, 160, 130, 0.08) 0%, transparent 70%);
  animation: breathe 8s ease-in-out 2s infinite;
}

.hero-fig {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  will-change: transform;
}
.hero-fig canvas,
.hero-fig img {
  max-height: 88vh;
  width: auto;
  max-width: 90vw;
  filter: brightness(1.1) contrast(1.12);
  opacity: 0;
  transition: opacity 0.8s ease;
  animation: idle 7s ease-in-out infinite;
}
.hero-fig canvas.is-on,
.hero-fig img.is-on {
  opacity: 1;
}

.hero-follow {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(circle 45vmax at 50% 50%, rgba(200, 220, 180, 0.06) 0%, transparent 70%);
}

.glyph {
  position: absolute;
  top: 6%;
  left: 0;
  right: 0;
  z-index: 10;
  text-align: center;
  pointer-events: none;
  font-family: var(--syne);
  font-size: clamp(2.4rem, 12vw, 8rem);
  font-weight: 200;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242, 248, 238, 0.8);
  line-height: 1;
  user-select: none;
  padding: 0 16px;
  opacity: 0;
  filter: blur(16px);
  transform: scale(0.85);
  animation: glyph-in 1.6s var(--ease) forwards;
}

.line {
  position: absolute;
  top: 46%;
  left: 0;
  right: 0;
  z-index: 10;
  text-align: center;
  pointer-events: none;
  font-family: var(--syne);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bright);
  opacity: 0;
  transform: translateY(12px);
  animation: fade-up 1s ease 1.2s forwards;
}

.hero-cta {
  position: absolute;
  bottom: 6%;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.kicker {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  opacity: 0;
  animation: fade 0.8s ease 1.5s forwards;
}
.cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  animation: fade-up 0.8s ease 1.8s forwards;
}
.hero-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade 0.8s ease 2.1s forwards;
}
.hero-soon button {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 0;
}
.hero-soon button:hover {
  color: var(--accent-glow);
}
.hero-soon i {
  width: 1px;
  height: 10px;
  background: rgba(200, 245, 66, 0.25);
}
.go-live {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(216, 255, 112, 0.7);
  opacity: 0;
  animation: fade 0.8s ease 2.2s forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes glyph-in {
  to {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}
@keyframes fade-up {
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes fade {
  to {
    opacity: 1;
  }
}
@keyframes breathe {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}
@keyframes idle {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.005);
  }
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(200, 245, 66, 0.25);
  background: rgba(200, 245, 66, 0.12);
  flex-shrink: 0;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}
.brand-name {
  font-family: var(--syne);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(242, 248, 238, 0.8);
}
.brand-sub {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  color: rgba(200, 245, 66, 0.4);
  margin-left: 4px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(200, 245, 66, 0.1);
  background: rgba(4, 4, 10, 0.6);
  backdrop-filter: blur(16px);
  gap: 12px;
}

.nav-tabs {
  display: none;
  align-items: center;
}
.nav-tabs a {
  padding: 4px 16px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(106, 115, 104, 0.7);
  border-right: 1px solid rgba(200, 245, 66, 0.08);
  transition: color 0.2s, background 0.2s;
}
.nav-tabs a:last-child {
  border-right: 0;
}
.nav-tabs a:hover {
  color: var(--subtle);
  background: rgba(200, 245, 66, 0.03);
}
.nav-tabs a.is-on {
  color: var(--accent-glow);
  background: rgba(200, 245, 66, 0.05);
}

.connect {
  padding: 6px 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-glow);
  border: 1px solid rgba(200, 245, 66, 0.3);
  border-radius: 2px;
}
.connect:hover {
  background: rgba(200, 245, 66, 0.08);
}

.icon-btn {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 6px;
}
.icon-btn span {
  display: block;
  height: 1px;
  width: 16px;
  background: var(--subtle);
  transition: 0.2s;
}
.icon-btn.is-open span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}
.icon-btn.is-open span:nth-child(2) {
  opacity: 0;
}
.icon-btn.is-open span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

.drawer {
  display: none;
  flex-direction: column;
  border-bottom: 1px solid rgba(200, 245, 66, 0.1);
  background: rgba(4, 4, 10, 0.92);
}
.drawer.is-open {
  display: flex;
}
.drawer a,
.drawer button {
  padding: 14px 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: left;
  color: var(--subtle);
  border-bottom: 1px solid rgba(200, 245, 66, 0.06);
}
.drawer a.is-on {
  color: var(--accent-glow);
}

.desk {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.gauges {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid rgba(200, 245, 66, 0.08);
  background: rgba(4, 4, 10, 0.2);
}
@media (min-width: 720px) {
  .gauges {
    grid-template-columns: repeat(3, 1fr);
  }
}

.panel {
  position: relative;
  border: 1px solid rgba(200, 245, 66, 0.2);
  border-radius: 2px;
  overflow: hidden;
  backdrop-filter: blur(16px);
  background: rgba(4, 4, 12, 0.55);
}
.panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(200, 245, 66, 0.6);
}
.panel.is-burn {
  border-color: rgba(232, 121, 163, 0.2);
}
.panel.is-burn::before {
  background: rgba(232, 121, 163, 0.6);
}
.panel.is-safe {
  border-color: rgba(200, 245, 66, 0.2);
}
.panel.is-drip {
  border-color: rgba(232, 197, 71, 0.2);
}
.panel.is-drip::before {
  background: rgba(232, 197, 71, 0.6);
}
.panel.is-gold {
  border-color: rgba(255, 215, 0, 0.2);
}
.panel.is-gold::before {
  background: rgba(255, 215, 0, 0.6);
}

.panel-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-bottom: 1px solid inherit;
  background: rgba(4, 4, 12, 0.4);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-glow);
}
.panel.is-burn .panel-bar {
  color: var(--burn);
}
.panel.is-safe .panel-bar {
  color: var(--safe);
}
.panel.is-drip .panel-bar {
  color: var(--drip);
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}
.panel.is-burn .dot {
  background: var(--burn);
}
.panel.is-safe .dot {
  background: var(--safe);
}
.panel.is-drip .dot {
  background: var(--drip);
}

.panel-body {
  background: rgba(4, 4, 10, 0.5);
  backdrop-filter: blur(12px);
}

.gauge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
}
.gauge-ring {
  position: relative;
  width: 128px;
  height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gauge-ring svg {
  position: absolute;
  inset: 0;
}
.gauge-read {
  z-index: 1;
  text-align: center;
  font-family: var(--mono);
}
.gauge-read .big {
  font-size: 24px;
  font-weight: 700;
  color: var(--bright);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}
.gauge-read .sub {
  font-size: 10px;
  color: rgba(106, 115, 104, 0.5);
  font-variant-numeric: tabular-nums;
}
.gauge-read .label {
  font-size: 8px;
  letter-spacing: 0.16em;
  color: rgba(106, 115, 104, 0.5);
}
.gauge-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(106, 115, 104, 0.6);
  font-variant-numeric: tabular-nums;
}
.legend {
  display: flex;
  gap: 12px;
  font-family: var(--mono);
  font-size: 9px;
  color: rgba(106, 115, 104, 0.5);
}
.legend i {
  display: inline-block;
  width: 12px;
  height: 4px;
  border-radius: 99px;
  margin-right: 4px;
  vertical-align: middle;
}
.legend .safe {
  background: rgba(200, 245, 66, 0.6);
}
.legend .burn {
  background: rgba(232, 121, 163, 0.4);
}

.ticker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  border-top: 1px solid rgba(200, 245, 66, 0.08);
  border-bottom: 1px solid rgba(200, 245, 66, 0.08);
  background: rgba(4, 4, 10, 0.3);
  gap: 16px;
  overflow-x: auto;
  flex-wrap: wrap;
}
.tick {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-family: var(--mono);
}
.tick .k {
  font-size: 8px;
  letter-spacing: 0.15em;
  color: rgba(106, 115, 104, 0.4);
}
.tick .v {
  font-size: 11px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--bright);
}
.tick .v.burn {
  color: rgba(232, 121, 163, 0.8);
}
.tick .v.accent {
  color: var(--accent-glow);
}
.tick .v.muted {
  color: var(--muted);
}
.sep {
  width: 1px;
  height: 10px;
  background: rgba(200, 245, 66, 0.1);
}

.work {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 0;
}
@media (min-width: 1024px) {
  .desk {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
  }
  .work {
    grid-template-columns: repeat(12, 1fr);
    overflow: auto;
  }
  .col {
    border-right: 1px solid rgba(200, 245, 66, 0.08);
  }
  .col:last-child {
    border-right: 0;
  }
  .nav-tabs {
    display: flex;
  }
  .icon-btn {
    display: none;
  }
  .glyph {
    font-size: 7.5rem;
    top: 8%;
  }
  .line {
    font-size: 1.875rem;
    top: 48%;
  }
  .hero-cta {
    bottom: 8%;
  }
}
@media (min-width: 1200px) {
  .glyph {
    font-size: 9.5rem;
  }
}

.col {
  display: flex;
  flex-direction: column;
}
.col-4 {
  grid-column: span 1;
}
@media (min-width: 1024px) {
  .col-4 {
    grid-column: span 4;
  }
}

.pad {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.seg {
  display: flex;
  gap: 2px;
  padding: 2px;
  border-radius: 2px;
  background: rgba(4, 4, 10, 0.6);
  border: 1px solid rgba(30, 40, 32, 0.3);
}
.seg button {
  flex: 1;
  position: relative;
  padding: 8px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(106, 115, 104, 0.5);
}
.seg button:hover {
  color: var(--subtle);
}
.seg button.is-on {
  color: var(--bright);
}
.seg button.is-on::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 2px;
  background: rgba(200, 245, 66, 0.1);
  border: 1px solid rgba(200, 245, 66, 0.15);
}
.seg button span {
  position: relative;
}

.field-lab {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}
.field-lab .k {
  color: rgba(106, 115, 104, 0.5);
}
.field-lab button {
  color: rgba(216, 255, 112, 0.7);
}
.field-lab button:hover {
  color: var(--accent);
}

.field {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 2px;
  background: rgba(4, 4, 10, 0.6);
  border: 1px solid rgba(30, 40, 32, 0.3);
  padding: 12px;
}
.field:focus-within {
  border-color: rgba(200, 245, 66, 0.3);
}
.field input {
  flex: 1;
  outline: none;
  font-family: var(--mono);
  font-size: 18px;
  color: var(--bright);
  font-variant-numeric: tabular-nums;
}
.field input::placeholder {
  color: rgba(106, 115, 104, 0.3);
}
.field .unit {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(106, 115, 104, 0.4);
}

.ghost-cta {
  width: 100%;
  padding: 12px;
  border-radius: 2px;
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(106, 115, 104, 0.4);
  border: 1px solid rgba(30, 40, 32, 0.3);
}

.hair {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 245, 66, 0.1), transparent);
}

.stats3,
.stats2 {
  display: grid;
  gap: 12px;
}
.stats3 {
  grid-template-columns: repeat(3, 1fr);
}
.stats2 {
  grid-template-columns: repeat(2, 1fr);
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.stat .k {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.15em;
  color: rgba(106, 115, 104, 0.4);
}
.stat .v {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.stat .v.burn {
  color: rgba(232, 121, 163, 0.8);
}
.stat .v.safe {
  color: var(--safe);
}
.stat .v.drip {
  color: var(--drip);
}
.stat .v.accent {
  color: var(--accent-glow);
}

.empty {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-align: center;
  color: rgba(106, 115, 104, 0.25);
  padding: 16px 0;
}

.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}
.row-between .k {
  color: rgba(106, 115, 104, 0.5);
}
.row-between .v.safe {
  color: var(--safe);
  font-variant-numeric: tabular-nums;
}

.chart {
  width: 100%;
  height: 160px;
  display: block;
}

.warn {
  border-radius: 2px;
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.1);
  padding: 10px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255, 215, 0, 0.6);
  line-height: 1.5;
}
.warn b {
  color: var(--gold);
}

.gold-seg button.is-on {
  color: var(--gold);
}
.gold-seg button.is-on::before {
  background: rgba(255, 215, 0, 0.1);
  border-color: rgba(255, 215, 0, 0.2);
}

.status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px;
  border-top: 1px solid rgba(200, 245, 66, 0.1);
  background: rgba(4, 4, 10, 0.7);
  backdrop-filter: blur(16px);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.2em;
  color: rgba(106, 115, 104, 0.3);
}
.status .ok {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(216, 255, 112, 0.5);
}
.status .ok i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-glow);
  animation: pulse 1.6s ease-in-out infinite;
}

.trade-shell {
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--void);
  color: var(--bright);
}
.trade-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(12, 18, 14, 0.8);
  backdrop-filter: blur(12px);
  gap: 8px;
}
.trade-bar .back {
  font-size: 12px;
  color: var(--muted);
}
.trade-bar .pair {
  font-family: var(--syne);
  font-size: 16px;
  font-weight: 600;
}
.trade-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--subtle);
  font-family: var(--mono);
}
.trade-meta .k {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.trade-main {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.trade-card {
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 10;
}
.ext {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
}
.ext:hover {
  opacity: 0.8;
}

.swap {
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(12, 18, 14, 0.75);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(200, 245, 66, 0.15);
  box-shadow: 0 0 80px rgba(200, 245, 66, 0.06), 0 4px 32px rgba(0, 0, 0, 0.4);
}
.swap-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.swap-head h2 {
  font-family: var(--syne);
  font-size: 14px;
  font-weight: 600;
}
.swap-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.eth-px {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent-glow);
  letter-spacing: 0.04em;
}
.usd-line {
  min-height: 16px;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.chip {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(200, 245, 66, 0.2);
  color: var(--accent);
  font-weight: 500;
}
.buy-sell {
  display: flex;
  gap: 4px;
  padding: 2px;
  border-radius: 4px;
  background: var(--void);
  flex: 1;
}
.buy-sell button {
  flex: 1;
  padding: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-radius: 4px;
}
.buy-sell button.is-on {
  background: rgba(200, 245, 66, 0.2);
  color: var(--accent);
}
.liq {
  margin-top: 12px;
  border-radius: 12px;
  padding: 16px;
  background: rgba(12, 18, 14, 0.55);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(200, 245, 66, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.liq-top {
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(200, 245, 66, 0.1);
}
.liq-top .k {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.liq-top .v {
  font-family: var(--mono);
  font-size: 18px;
}
.liq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  text-align: center;
}
.liq-grid .k {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.liq-grid .v {
  font-family: var(--mono);
  font-size: 12px;
}
.note {
  margin-top: 12px;
  text-align: center;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(106, 115, 104, 0.8);
}

.docs {
  max-width: 48rem;
  margin: 0 auto;
  padding: 48px 24px 96px;
}
.docs-hero h1 {
  font-family: var(--syne);
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 200;
  color: rgba(242, 248, 238, 0.9);
  letter-spacing: -0.02em;
}
.docs-hero p {
  font-family: var(--syne);
  font-size: 1.25rem;
  font-weight: 300;
  color: rgba(154, 163, 146, 0.7);
  margin-top: 8px;
}
.rule {
  height: 1px;
  width: 64px;
  margin-top: 24px;
  background: linear-gradient(90deg, rgba(200, 245, 66, 0.3), transparent);
}
.docs section {
  margin-top: 64px;
}
.docs h2 {
  font-family: var(--syne);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgba(242, 248, 238, 0.9);
  margin-bottom: 20px;
}
.prose {
  display: flex;
  flex-direction: column;
  gap: 16px;
  line-height: 1.7;
  color: rgba(154, 163, 146, 0.8);
}
.prose .lead {
  font-size: 1.125rem;
  color: rgba(242, 248, 238, 0.7);
}
.prose em {
  color: rgba(242, 248, 238, 0.6);
  font-style: italic;
}
.prose .accent {
  color: var(--accent-glow);
  font-style: italic;
}
.card {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(16, 22, 16, 0.5);
  padding: 24px 32px;
  margin-top: 24px;
}
.card h3 {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 24px;
}
.fly {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .fly {
    grid-template-columns: repeat(4, 1fr);
  }
  .docs-hero h1 {
    font-size: 4.5rem;
  }
}
.fly article {
  position: relative;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fly .n {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(216, 255, 112, 0.6);
}
.fly h4 {
  font-family: var(--syne);
  font-size: 14px;
  font-weight: 500;
  color: rgba(242, 248, 238, 0.85);
}
.fly p {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(154, 163, 146, 0.6);
}
.fly .arrow {
  display: none;
  position: absolute;
  top: 32px;
  right: -8px;
  color: rgba(106, 115, 104, 0.3);
}
@media (min-width: 768px) {
  .fly .arrow {
    display: block;
  }
}
.repeat {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-style: italic;
  color: rgba(106, 115, 104, 0.6);
  justify-content: center;
  padding-top: 8px;
}
.repeat i {
  height: 1px;
  width: 32px;
  background: rgba(200, 245, 66, 0.2);
}

.kpi {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 8px;
}
@media (min-width: 768px) {
  .kpi {
    grid-template-columns: repeat(3, 1fr);
  }
}
.kpi div {
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(16, 22, 16, 0.5);
  padding: 16px 20px;
  text-align: center;
}
.kpi .n {
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-glow);
  margin-bottom: 4px;
}
.kpi .k {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}
.kpi .s {
  font-size: 10px;
  color: rgba(154, 163, 146, 0.5);
}

.compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 16px;
}
@media (min-width: 768px) {
  .compare {
    grid-template-columns: 1fr 1fr;
  }
}
.compare article {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(16, 22, 16, 0.5);
  padding: 24px;
}
.compare article.is-on {
  border-color: rgba(200, 245, 66, 0.2);
}
.compare h4 {
  font-family: var(--syne);
  font-size: 14px;
  margin-bottom: 16px;
}
.compare article.is-on h4 {
  color: var(--accent-glow);
}
.compare .row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 12px;
}
.compare .row span {
  color: var(--muted);
}
.compare .row b {
  font-family: var(--mono);
  font-weight: 400;
  color: rgba(242, 248, 238, 0.7);
}
.compare .row b.dim {
  color: rgba(154, 163, 146, 0.6);
}
.compare .row b.glow {
  color: var(--accent-glow);
  font-weight: 500;
}

.state {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(16, 22, 16, 0.5);
  padding: 16px 20px;
  margin-top: 8px;
}
.state b {
  font-family: var(--syne);
  font-size: 14px;
  width: 80px;
  flex-shrink: 0;
}
.state b.glow {
  color: var(--accent-glow);
}
.state span {
  font-size: 14px;
  color: rgba(154, 163, 146, 0.7);
}

.bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bullets li {
  display: flex;
  gap: 12px;
  font-size: 14px;
}
.bullets i {
  color: rgba(200, 245, 66, 0.4);
  margin-top: 4px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  font-size: 14px;
}
.table td {
  padding: 12px 20px;
}
.table td:first-child {
  color: rgba(154, 163, 146, 0.6);
}
.table td:last-child {
  font-family: var(--mono);
  text-align: right;
  color: rgba(242, 248, 238, 0.7);
}
.table tr:nth-child(odd) {
  background: rgba(16, 22, 16, 0.5);
}

.swatch {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 4px;
}
.swatch i {
  width: 20px;
  height: 20px;
  border-radius: 2px;
  border: 1px solid var(--border);
}
.docs-end {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
}
.docs-end .rule {
  width: 64px;
  background: linear-gradient(90deg, transparent, rgba(200, 245, 66, 0.2), transparent);
}

.chart-card {
  margin-top: 24px;
}
.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 12px;
  flex-wrap: wrap;
}
.chart-head .k {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.chart-leg {
  display: flex;
  gap: 20px;
  font-size: 10px;
  color: var(--muted);
}
.chart-leg i {
  display: inline-block;
  width: 16px;
  height: 2px;
  border-radius: 99px;
  margin-right: 6px;
  vertical-align: middle;
}
.chart-leg .sup {
  background: rgba(154, 163, 146, 0.5);
}
.chart-leg .px {
  background: var(--accent-glow);
}
.chart-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 12px;
}
.chart-foot .k {
  color: var(--muted);
}
.chart-foot .v {
  color: rgba(242, 248, 238, 0.7);
  margin-top: 4px;
}
.chart-foot .glow {
  color: var(--accent-glow);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: fade-up 0.8s var(--ease) forwards;
}

.tabs {
  display: flex;
  border-bottom: 1px solid rgba(200, 245, 66, 0.08);
  background: rgba(4, 4, 10, 0.2);
}
.tabs button {
  flex: 1;
  padding: 10px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(106, 115, 104, 0.4);
  border-bottom: 2px solid transparent;
}
.tabs button.is-on {
  color: var(--accent-glow);
  border-color: var(--accent);
  background: rgba(200, 245, 66, 0.05);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  padding: 16px;
}
.nft {
  border: 1px solid rgba(200, 245, 66, 0.12);
  border-radius: 4px;
  overflow: hidden;
  background: rgba(4, 4, 10, 0.4);
}
.nft canvas {
  width: 100%;
  height: auto;
  image-rendering: pixelated;
  background: #050807;
}
.nft figcaption {
  padding: 8px 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}

.void-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 80px 16px;
  text-align: center;
}
.void-state .orb {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(200, 245, 66, 0.1);
  background: rgba(200, 245, 66, 0.05);
  overflow: hidden;
}
.void-state .orb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  opacity: 0.5;
}
.void-state p {
  font-family: var(--mono);
  font-size: 13px;
  color: rgba(106, 115, 104, 0.5);
}

.toast-wrap {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  padding: 10px 16px;
  border-radius: 8px;
  background: rgba(12, 18, 14, 0.92);
  border: 1px solid rgba(200, 245, 66, 0.25);
  color: var(--bright);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  backdrop-filter: blur(12px);
}

.err {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 24px;
}
.err h1 {
  font-family: var(--syne);
  font-size: 4rem;
  font-weight: 200;
  color: var(--bright);
}
.err p {
  color: var(--muted);
}

.soon {
  opacity: 0.55;
  cursor: not-allowed;
}

.home-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 20px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), background 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.home-nav.is-on {
  opacity: 1;
  pointer-events: auto;
  transform: none;
  background: rgba(4, 4, 10, 0.72);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(200, 245, 66, 0.1);
}
.home-links {
  display: none;
  gap: 22px;
}
.home-links a {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(106, 115, 104, 0.75);
}
.home-links a:hover {
  color: var(--accent-glow);
}
.home-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.home-nav-actions .btn {
  padding: 8px 16px;
}
.nav-chip {
  display: none;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid rgba(200, 245, 66, 0.18);
  padding: 6px 10px;
  border-radius: 2px;
}
.nav-chip:hover {
  color: var(--accent-glow);
}
.scroll-cue {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.2em;
  animation: cue 2.2s ease-in-out 2.4s infinite;
  opacity: 0;
}
@keyframes cue {
  0%,
  100% {
    opacity: 0.25;
    transform: translateY(0);
  }
  50% {
    opacity: 0.8;
    transform: translateY(6px);
  }
}

.home-ticker {
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(200, 245, 66, 0.08);
}

.home {
  position: relative;
  z-index: 10;
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 24px 80px;
}
.home-sec {
  padding: 88px 0 8px;
}
.sec-k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-glow);
  margin-bottom: 14px;
}
.home-sec h2 {
  font-family: var(--syne);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: rgba(242, 248, 238, 0.92);
  margin-bottom: 28px;
  max-width: 18ch;
}
.home-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
.tine-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.tine-copy {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(154, 163, 146, 0.8);
}
.home-italic {
  margin-top: 22px;
  font-style: italic;
  color: rgba(242, 248, 238, 0.6);
}
.home-kpi {
  margin-top: 20px;
}
.home-nfts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.home-nfts .nft canvas {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
}
.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq details {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(16, 22, 16, 0.5);
  padding: 4px 20px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--syne);
  font-size: 15px;
  padding: 14px 0;
  color: rgba(242, 248, 238, 0.88);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq details p {
  padding: 0 0 16px;
  color: rgba(154, 163, 146, 0.8);
  line-height: 1.65;
  font-size: 14px;
}
.home-close {
  text-align: center;
  padding: 96px 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.home-close h2 {
  font-family: var(--syne);
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 200;
  max-width: none;
  margin: 0;
}
.site-foot {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 24px 40px;
  border-top: 1px solid rgba(200, 245, 66, 0.1);
  background: rgba(4, 4, 10, 0.55);
}
.site-foot .foot-sub {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.2em;
  color: rgba(106, 115, 104, 0.4);
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.foot-links a:hover,
.foot-links button:hover {
  color: var(--accent-glow);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (min-width: 768px) {
  .home-links {
    display: flex;
  }
  .nav-chip {
    display: inline-flex;
  }
  .home-split {
    grid-template-columns: 1.15fr 0.85fr;
  }
  .tine-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .site-foot {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    padding: 32px 40px 48px;
  }
}

@media (max-width: 719px) {
  .glyph {
    font-size: 2.6rem;
    letter-spacing: 0.14em;
  }
  .line {
    font-size: 1.15rem;
    letter-spacing: 0.14em;
  }
  .hero-fig canvas,
  .hero-fig img {
    max-height: 72vh;
  }
  .cta-row {
    gap: 10px;
  }
  .btn,
  .btn-ghost {
    padding: 10px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero-stage,
  .glyph,
  .line,
  .kicker,
  .cta-row,
  .hero-soon,
  .go-live,
  .scroll-cue,
  [data-reveal],
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .grain-inner {
    animation: none;
  }
}
