:root {
  --bg: #121110;
  --bg-2: #191817;
  --ink: #f2eee9;
  --muted: #a8a19a;
  --faint: #6e6860;
  --line: rgba(242, 238, 233, 0.08);
  --line-2: rgba(242, 238, 233, 0.14);
  --up: #3fb950;
  --up-2: #56d364;
  --bad: #f85149;
  --serif: "Libre Baskerville", "Iowan Old Style", Georgia, serif;
  --sans: Geist, ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --r: 10px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.011em;
}
#fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(900px 420px at 12% -8%, rgba(63, 185, 80, 0.09), transparent 58%),
    radial-gradient(700px 380px at 92% 8%, rgba(63, 185, 80, 0.05), transparent 55%),
    linear-gradient(180deg, rgba(18, 17, 16, 0.2), transparent 28%);
}
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--up); color: #06110a; }
:focus-visible { outline: 1px solid var(--up); outline-offset: 3px; }

.nav, .foot, main { width: min(1120px, calc(100% - 40px)); margin: 0 auto; position: relative; z-index: 1; }
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  letter-spacing: -0.04em;
  font-size: 15px;
}
.brand svg { width: 18px; height: 18px; color: var(--up); }
.nav nav { display: flex; gap: 18px; flex: 1; }
.nav nav a { color: var(--muted); font-size: 13.5px; white-space: nowrap; }
.nav nav a:hover, .nav nav a.on { color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
#wallet-btn {
  background: #fff;
  color: #111;
  border: 0;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
}
#wallet-btn:hover { background: #f4f0ea; }
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.03);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12.5px;
  color: var(--muted);
}
.live-pill i {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--up);
  box-shadow: 0 0 0 0 rgba(63, 185, 80, 0.7);
  animation: ping 2.2s ease-out infinite;
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 0 36px;
  color: var(--faint);
  font-size: 12.5px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}
main { padding: 28px 0 56px; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  min-height: 58vh;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-2);
  background: rgba(63, 185, 80, 0.06);
  color: var(--up-2);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12.5px;
  margin-bottom: 22px;
}
.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--up);
}
h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(42px, 5.6vw, 64px);
  letter-spacing: -0.035em;
  line-height: 1.05;
}
h1 em {
  font-style: italic;
  color: var(--up);
  white-space: nowrap;
}
.lede {
  margin-top: 18px;
  max-width: 38em;
  color: var(--muted);
  font-size: 16px;
}
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
  max-width: 420px;
}
.specs span { display: block; color: var(--faint); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.specs strong { display: block; margin-top: 4px; font-size: 20px; font-weight: 500; letter-spacing: -0.03em; }

.term {
  background: #0d0c0b;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35), 0 0 0 1px rgba(63,185,80,0.06);
  min-height: 390px;
  animation: float 7s ease-in-out infinite;
}
.term-head {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}
.term pre {
  margin: 0;
  padding: 16px 16px 18px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}
.t-dim { color: var(--faint); }
.t-cmd { color: var(--ink); }
.t-cmt { color: #5c7a62; }
.t-ok { color: var(--up-2); }
.t-live { color: var(--up); }
.t-chain { color: var(--muted); }
.bars-on { color: var(--up-2); }
.bars-off { color: #3a3732; }
.t-gap { height: 8px; }
.cursor { animation: blink 1s step-end infinite; color: var(--up); }

.band { margin-top: 72px; }
.band-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 16px;
}
.band-head h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.kicker {
  color: var(--up);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.card, .panel, .slip, .log article, .call {
  background: rgba(25, 24, 23, 0.72);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 18px;
  backdrop-filter: blur(10px);
}
.panel h2, .section-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.sub { color: var(--muted); margin: 8px 0 4px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 14px;
  color: var(--faint);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
input, textarea {
  background: #0c0b0a;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  padding: 11px 12px;
  letter-spacing: 0;
  text-transform: none;
  font-size: 13.5px;
  color: var(--ink);
  font-family: var(--mono);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
textarea { min-height: 108px; resize: vertical; }
input:focus, textarea:focus {
  outline: none;
  border-color: rgba(63, 185, 80, 0.55);
  box-shadow: 0 0 0 3px rgba(63, 185, 80, 0.12);
}
.row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.primary, .ghost, .danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.primary { background: #fff; color: #111; }
.primary:hover { transform: translateY(-1px); background: #f4f0ea; }
.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.ghost:hover { border-color: var(--ink); }
.danger { background: transparent; color: var(--bad); border-color: rgba(248, 81, 73, 0.4); }
button:disabled { opacity: 0.45; cursor: wait; transform: none; }
.err { min-height: 1.3em; color: var(--bad); margin-top: 10px; }
.or { margin: 18px 0 2px; color: var(--faint); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.fine { color: var(--muted); font-size: 13.5px; }
.file { position: relative; overflow: hidden; }
.file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps li, .call {
  min-height: 100%;
}
.steps b {
  display: block;
  color: var(--up);
  font-family: var(--mono);
  font-size: 12px;
  margin-bottom: 10px;
}
.steps h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 13.5px; }

.building { max-width: 720px; }
.building h1 { font-size: clamp(36px, 5vw, 52px); }
.meter {
  height: 3px;
  background: #2a2825;
  border-radius: 99px;
  overflow: hidden;
  margin: 22px 0 14px;
}
.meter i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #238636, var(--up-2));
  box-shadow: 0 0 16px rgba(63, 185, 80, 0.6);
  transition: width 0.2s linear;
}

.banner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(63, 185, 80, 0.35);
  background: rgba(63, 185, 80, 0.06);
  border-radius: var(--r);
  padding: 14px 16px;
  margin-bottom: 22px;
}
.seed {
  display: block;
  margin-top: 8px;
  word-break: break-all;
  color: var(--up-2);
  font-family: var(--mono);
  font-size: 12.5px;
}

.head { display: flex; justify-content: space-between; gap: 18px; align-items: end; }
.addr {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.04em;
  word-break: break-all;
  line-height: 1.1;
}

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; }
.stats article {
  background: rgba(25, 24, 23, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px 16px;
}
.stats span { display: block; color: var(--faint); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.stats strong { display: block; margin-top: 6px; font-family: var(--serif); font-size: 30px; font-weight: 700; letter-spacing: -0.03em; }
.stats em { font-style: normal; color: var(--muted); font-size: 12.5px; }

.leaves, #build-leaves {
  display: grid;
  grid-template-columns: repeat(32, 1fr);
  gap: 3px;
  margin: 8px 0 28px;
}
.leaves i, #build-leaves i {
  display: block;
  aspect-ratio: 1;
  border-radius: 2px;
  background: #211f1c;
  border: 1px solid #2c2a26;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.leaves i.spent, #build-leaves i.on {
  background: #3a6a42;
  border-color: #3a6a42;
}
.leaves i.next, #build-leaves i.hot {
  background: var(--up-2);
  border-color: var(--up-2);
  box-shadow: 0 0 10px rgba(86, 211, 100, 0.7);
  animation: pulse 1.4s ease-in-out infinite;
}

.work { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.seg {
  display: flex;
  gap: 4px;
  margin-top: 10px;
  padding: 4px;
  background: #0c0b0a;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.seg button {
  flex: 1;
  background: transparent;
  color: var(--muted);
  border: 0;
  border-radius: 6px;
  padding: 8px;
  text-transform: capitalize;
}
.seg button.on { background: #fff; color: #111; }
.preview { color: var(--muted); margin-top: 12px; min-height: 1.4em; }
.mint a { color: var(--up); }

.slip { border-color: rgba(63, 185, 80, 0.28); }
.slip h3 { font-family: var(--serif); font-size: 22px; font-weight: 700; }
.kv { display: grid; grid-template-columns: 92px 1fr; gap: 6px 10px; margin-top: 12px; font-family: var(--mono); font-size: 12.5px; }
.kv span { color: var(--faint); }
.ok { color: var(--up); }
.bad { color: var(--bad); }
.log { margin-top: 28px; }
.log .digest { height: 26px; margin: 8px 0 6px; }
.slip { margin-top: 12px; }
.panel .section-title + .slip { margin-top: 12px; }
.panel .section-title:nth-of-type(2) { margin-top: 22px; }
.log article {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.log article:hover { border-color: rgba(63,185,80,0.3); transform: translateY(-1px); }
.log b { font-family: var(--mono); font-size: 18px; color: var(--up); }
.tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; align-items: center; }
.tools input { width: 120px; margin: 0; }

.digest {
  display: flex;
  align-items: end;
  gap: 2px;
  height: 42px;
  margin: 12px 0 4px;
}
.digest i {
  flex: 1;
  min-width: 0;
  border-radius: 1px 1px 0 0;
  background: var(--up);
  transform-origin: bottom;
  animation: grow 0.7s cubic-bezier(.2,.8,.2,1) both;
}

.rise { animation: rise 0.75s cubic-bezier(.16,1,.3,1) both; }
.d1 { animation-delay: 0.06s; }
.d2 { animation-delay: 0.12s; }
.d3 { animation-delay: 0.18s; }
.d4 { animation-delay: 0.24s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(63, 185, 80, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(63, 185, 80, 0); }
  100% { box-shadow: 0 0 0 0 rgba(63, 185, 80, 0); }
}
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes grow {
  from { transform: scaleY(0); opacity: 0.2; }
}

@media (max-width: 860px) {
  .hero, .work, .stats, .split, .steps, .log article { grid-template-columns: 1fr; }
  .leaves, #build-leaves { grid-template-columns: repeat(16, 1fr); }
  .nav { flex-wrap: wrap; gap: 12px; }
  .nav nav { order: 3; width: 100%; }
  .nav-right { margin-left: 0; }
  .banner, .head, .foot { flex-direction: column; align-items: flex-start; }
  .addr { font-size: 30px; }
  .hero { min-height: 0; gap: 28px; }
  .term { animation: none; min-height: 320px; }
  h1 { font-size: 40px; }
}

.page-title { font-size: clamp(36px, 5vw, 52px); }
.narrow { max-width: 720px; }
.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--up);
  margin-right: 6px;
  box-shadow: 0 0 0 0 rgba(63,185,80,.55);
  animation: ping 2.2s ease-out infinite;
}
.sorts { display: flex; gap: 6px; }
.sort, .chip {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12.5px;
}
.sort.on, .chip.on { background: #fff; color: #111; border-color: #fff; }
.coin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.coin-card, .preview-card {
  display: block;
  background: rgba(25, 24, 23, 0.8);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 14px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.coin-card:hover { border-color: rgba(63,185,80,0.35); transform: translateY(-2px); }
.coin-top { display: flex; align-items: center; gap: 10px; }
.coin-av {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  overflow: hidden;
  background: #2a2825;
  flex: none;
}
.coin-av.lg, .coin-ph.lg { width: 72px; height: 72px; font-size: 28px; }
.coin-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.coin-ph {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  background: #222;
}
.coin-top strong { display: block; font-size: 14.5px; }
.sym { display: block; color: var(--faint); font-size: 12px; }
.fresh { margin-left: auto; color: var(--up); font-size: 12px; font-style: normal; }
.coin-meta { color: var(--faint); font-size: 12px; margin: 10px 0 8px; }
.att-label {
  display: flex;
  justify-content: space-between;
  color: var(--faint);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.coin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.coin-stats span, .curve span {
  display: block;
  color: var(--faint);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.curve { display: flex; justify-content: space-between; align-items: end; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.empty-coins { color: var(--muted); padding: 28px 0; }

.launch-page { padding-top: 8px; }
.launch-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
  align-items: start;
  margin-top: 28px;
}
.launch-side { position: sticky; top: 18px; display: flex; flex-direction: column; gap: 12px; }
.launch-pad { padding: 20px; }
.media-row { display: grid; grid-template-columns: 160px 1fr; gap: 16px; }
.drop-k, .drop .fine { display: block; }
.drop-box {
  position: relative;
  margin: 8px 0;
  min-height: 132px;
  border: 1px dashed var(--line-2);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--faint);
  overflow: hidden;
  background: #0c0b0a;
}
.drop-box img { width: 100%; height: 132px; object-fit: cover; }
.drop-box input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop.hot .drop-box { border-color: var(--up); }
.schemes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 8px 0 18px;
}
.scheme {
  text-align: left;
  background: #141312;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 12px;
  color: var(--ink);
}
.scheme.on { border-color: var(--up); background: rgba(63,185,80,0.06); }
.scheme.soon { opacity: 0.72; }
.scheme-top { display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; }
.scheme-top span, .scheme p, .scheme-bot span { color: var(--faint); font-size: 11.5px; }
.scheme p { margin: 6px 0; }
.scheme-bot { display: flex; justify-content: space-between; gap: 8px; }
.buy-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.buy-row input { width: 88px; margin: 0; }
.launch-steps { margin: 22px 0 8px; }
.lstep { display: flex; gap: 10px; align-items: center; padding: 6px 0; color: var(--muted); }
.lstep i {
  width: 12px;
  height: 12px;
  border-radius: 99px;
  border: 1px solid var(--line-2);
  flex: none;
}
.lstep.on { color: var(--ink); }
.lstep.on i { border-color: var(--up); background: var(--up); }
.lstep.done { color: var(--up-2); }
.lstep.done i { background: var(--up); border-color: var(--up); }
.leaf-pill {
  font-size: 11px;
  border: 1px solid rgba(63,185,80,0.35);
  color: var(--up);
  border-radius: 99px;
  padding: 3px 8px;
}
.att-head { display: flex; justify-content: space-between; align-items: center; }
.finger { word-break: break-all; font-family: var(--mono); font-size: 12px; color: var(--up-2); }
.coin-page .coin-hero { display: flex; gap: 18px; align-items: center; margin: 18px 0 22px; }
.back { color: var(--muted); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }

@media (max-width: 860px) {
  .coin-grid, .launch-grid, .schemes, .media-row { grid-template-columns: 1fr; }
  .launch-side { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .live-pill i { box-shadow: none; }
}
