/* bamp — soft, round, dark, with a yellow top. Plus Jakarta Sans everywhere, Archivo Black for the
   big shouting lines. Cards are 24px-round on #161616, pills are 999px, motion is slow and springy. */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Archivo+Black&family=JetBrains+Mono:wght@400;500;600&display=swap");
:root {
  --bg: #141210; --card: #161616; --card2: #1C1A17; --card3: #232120; --line: #272727; --line2: #333130;
  --ink: #F3F1EA; --ink2: #B5B1A8; --ink3: #837F76; --black: #0B0A09;
  --y: #FDDA26; --y2: #FFE45C; --y-ink: #141210; --up: #3DDC84; --down: #FF5C5C; --up-soft: rgba(61, 220, 132, .14); --down-soft: rgba(255, 92, 92, .14); --y-soft: rgba(253, 218, 38, .14);
  --ff: "Plus Jakarta Sans", system-ui, sans-serif; --ff-d: "Archivo Black", "Plus Jakarta Sans", sans-serif; --ff-m: "JetBrains Mono", ui-monospace, monospace;
  --r: 16px; --r2: 24px; --pill: 999px; --ease: cubic-bezier(.22, 1, .36, 1); --w: min(1240px, calc(100% - 48px));
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15.5px/1.55 var(--ff); -webkit-font-smoothing: antialiased; min-height: 100vh; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--y); color: var(--y-ink); }
:focus-visible { outline: 2px solid var(--y); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.wrap { width: var(--w); margin: 0 auto; }
.mono { font-family: var(--ff-m); font-feature-settings: "tnum"; }
.muted { color: var(--ink2); } .dim { color: var(--ink3); }
.pay { color: var(--up); } .stamp-c { color: var(--down); }
.hidden { display: none !important; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
h1 { font-family: var(--ff-d); font-weight: 400; font-size: clamp(38px, 5.2vw, 68px); letter-spacing: -.01em; line-height: 1; text-transform: uppercase; }
h2 { font-size: clamp(26px, 3vw, 36px); }
h3 { font-size: 18px; }
p { margin: 0; }
.lede { font-size: 18px; line-height: 1.5; color: var(--ink2); max-width: 58ch; }
.cap { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.link { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line2); }
.link:hover { text-decoration-color: var(--ink); }

/* ---- buttons & pills ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: var(--r); border: 0; background: var(--card3); color: var(--ink); font-weight: 700; font-size: 15px; white-space: nowrap; transition: transform .25s var(--ease), background .2s, opacity .2s, box-shadow .25s var(--ease); }
.btn:hover { transform: translateY(-2px); background: #2c2a28; }
.btn:active { transform: translateY(0) scale(.98); }
.btn.y { background: var(--y); color: var(--y-ink); box-shadow: 0 10px 30px -12px rgba(253, 218, 38, .55); }
.btn.y:hover { background: var(--y2); }
.btn.dark { background: var(--black); color: var(--ink); }
.btn.dark:hover { background: #1a1816; }
.btn.line { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line2); }
.btn.line:hover { background: rgba(255, 255, 255, .04); }
.btn.pill { border-radius: var(--pill); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 13.5px; }
.btn.lg { height: 54px; padding: 0 26px; font-size: 16px; border-radius: 18px; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--pill); background: var(--card3); font-size: 12px; font-weight: 700; color: var(--ink2); white-space: nowrap; }
.tag.up, .tag.ok { background: var(--up-soft); color: var(--up); } .tag.warn, .tag.down { background: var(--down-soft); color: var(--down); } .tag.y { background: var(--y-soft); color: var(--y); }

/* ---- header: the yellow bar ---- */
.top { position: sticky; top: 0; z-index: 40; background: var(--y); color: var(--y-ink); }
.top-in { height: 60px; display: flex; align-items: center; gap: 10px; }
.brand { display: inline-flex; align-items: baseline; gap: 10px; margin-right: 10px; }
.brand b { font-family: var(--ff-d); font-weight: 400; font-size: 26px; letter-spacing: -.01em; line-height: 1; text-transform: uppercase; }
.brand span { display: none; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 9px 16px; border-radius: var(--pill); font-weight: 700; font-size: 15px; color: var(--y-ink); transition: background .2s, color .2s; }
.nav a:hover { background: rgba(0, 0, 0, .08); }
.nav a.on { background: var(--black); color: var(--y); }
.sp { flex: 1; }
.search { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: var(--pill); background: rgba(0, 0, 0, .1); min-width: 200px; color: rgba(20, 18, 16, .6); }
.search span { font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.search input { flex: 1; border: 0; outline: 0; background: none; font-size: 14px; color: var(--y-ink); font-weight: 600; }
.search input::placeholder { color: rgba(20, 18, 16, .5); }
.top .btn { height: 40px; border-radius: var(--pill); }
.top .btn.line { box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, .25); color: var(--y-ink); }
.top .btn.dark { background: var(--black); color: var(--ink); }
.burger { display: none; }
.xbtn { width: 40px; padding: 0; font-weight: 800; }
#privySlot .btn { height: 40px; border-radius: var(--pill); background: var(--black); color: var(--ink); box-shadow: none; }

/* ---- hero: yellow block, big black type, the floating payslip ---- */
.hero-band { background: var(--y); color: var(--y-ink); margin-top: -1px; }
.hero { padding: 54px 0 56px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero .cap { color: rgba(20, 18, 16, .6); font-weight: 800; }
.hero h1 { margin-top: 12px; }
.hero .lede { margin-top: 20px; color: rgba(20, 18, 16, .78); font-weight: 500; }
.hero .cta { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; align-items: center; }
.hero .cta .link { color: rgba(20, 18, 16, .75); text-decoration-color: rgba(20, 18, 16, .3); font-weight: 700; margin-left: 6px; }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 30px; }
.feats div { background: rgba(0, 0, 0, .08); border-radius: var(--r2); padding: 14px 16px; }
.feats b { display: block; font-weight: 800; font-size: 15px; } .feats span { font-size: 13px; color: rgba(20, 18, 16, .7); font-weight: 500; }
.liveline { margin-top: 18px; font-size: 13px; font-weight: 600; color: rgba(20, 18, 16, .7); display: flex; align-items: center; gap: 8px; }
.liveline i { width: 8px; height: 8px; border-radius: 50%; background: var(--y-ink); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(20, 18, 16, .35); } 60% { box-shadow: 0 0 0 8px transparent; } }
.liveline b { color: var(--y-ink); }

/* the payslip — dark card floating on the yellow */
.stub { position: relative; background: var(--card2); color: var(--ink); border-radius: 28px; padding: 24px 26px 26px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); animation: bob 6s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-.4deg); } 50% { transform: translateY(-10px) rotate(.4deg); } }
.stub .hd { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.stub .hd b { font-weight: 800; font-size: 17px; white-space: nowrap; }
.stub .hd span { font-size: 12.5px; color: var(--ink3); text-align: right; }
.stub .who { display: flex; align-items: center; gap: 12px; margin: 18px 0 8px; }
.avatar { width: 44px; height: 44px; border-radius: 14px; object-fit: cover; background: var(--card3); display: grid; place-items: center; color: var(--ink3); font-weight: 800; flex: 0 0 auto; }
.stub .who b { display: block; font-size: 15px; } .stub .who small { color: var(--ink3); font-size: 12.5px; }
.stub .ln { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.stub .ln span:first-child { color: var(--ink3); font-weight: 600; }
.stub .ln .v { font-weight: 700; text-align: right; }
.stub .net { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 16px; padding-top: 4px; }
.stub .net span { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.stub .net b { font-weight: 800; font-size: 40px; letter-spacing: -.03em; color: var(--up); line-height: 1; }
.stub .net small { display: block; font-size: 12px; color: var(--ink3); text-align: right; margin-top: 4px; font-weight: 500; }
.stamp { position: absolute; right: 22px; top: 62px; padding: 6px 14px; border-radius: 12px; background: var(--up); color: #0b1a10; font-weight: 800; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; transform: rotate(-8deg); }
.stamp.due { background: var(--y); color: var(--y-ink); }
.printing .ln, .printing .who, .printing .net { animation: rise .5s var(--ease) both; }
.printing .ln:nth-child(2) { animation-delay: .1s; } .printing .ln:nth-child(3) { animation-delay: .2s; } .printing .ln:nth-child(4) { animation-delay: .3s; } .printing .ln:nth-child(5) { animation-delay: .4s; } .printing .ln:nth-child(6) { animation-delay: .5s; } .printing .net { animation-delay: .65s; }
.printing .stamp { animation: slap .45s var(--ease) 1s both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes slap { from { transform: rotate(-8deg) scale(1.8); opacity: 0; } to { transform: rotate(-8deg) scale(1); opacity: 1; } }

/* ---- ticker strip ---- */
.tape { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--black); }
.tape-in { display: flex; gap: 40px; width: max-content; padding: 12px 0; animation: tickerScroll 40s linear infinite; font-size: 13px; font-weight: 600; color: var(--ink2); }
.tape-in span b { color: var(--y); font-weight: 800; }
.tape-in span i { font-style: normal; color: var(--up); }
@keyframes tickerScroll { to { transform: translateX(-50%); } }

/* ---- stats tiles ---- */
.totals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.totals div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r2); padding: 20px 22px; }
.totals .cap { display: block; }
.totals b { display: block; margin-top: 10px; font-weight: 800; font-size: 34px; letter-spacing: -.03em; line-height: 1; }
.totals small { display: block; margin-top: 8px; font-size: 13px; color: var(--ink3); font-weight: 600; }

/* ---- sections ---- */
.sec { padding: 48px 0 0; }
.sec-h { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.sec-h p { margin-top: 6px; color: var(--ink2); }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--pill); background: var(--card); border: 1px solid var(--line); }
.tabs button { height: 34px; padding: 0 14px; border: 0; border-radius: var(--pill); background: transparent; font-weight: 700; font-size: 13.5px; color: var(--ink2); transition: background .2s, color .2s; }
.tabs button.on { background: var(--y); color: var(--y-ink); }

/* ---- token cards ---- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tcard { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 18px; cursor: pointer; transition: transform .3s var(--ease), border-color .2s, background .2s; position: relative; overflow: hidden; }
.tcard:hover { transform: translateY(-4px); border-color: var(--line2); background: var(--card2); }
.tcard .img { position: relative; width: 96px; height: 96px; border-radius: 18px; overflow: hidden; background: var(--card3); display: grid; place-items: center; font-family: var(--ff-d); font-size: 32px; color: var(--ink3); }
.tcard .img img { width: 100%; height: 100%; object-fit: cover; }
.tcard .rank { position: absolute; left: 8px; top: 8px; padding: 3px 9px; border-radius: 10px; background: var(--y); color: var(--y-ink); font-weight: 800; font-size: 12px; }
.tcard .nm { font-weight: 800; font-size: 17px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tcard .sy { display: flex; justify-content: space-between; align-items: center; color: var(--ink3); font-weight: 600; font-size: 14px; margin-top: 2px; }
.tcard .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.tcard .row2 b { display: block; font-weight: 800; font-size: 16px; } .tcard .row2 span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); margin-top: 2px; }
.tcard .next { margin-top: 10px; font-size: 12.5px; color: var(--ink3); font-weight: 600; }
.tcard .next b { color: var(--ink); font-family: var(--ff-m); font-weight: 600; }
.up { color: var(--up); } .down { color: var(--down); }
.empty { padding: 40px 20px; text-align: center; color: var(--ink2); background: var(--card); border: 1px solid var(--line); border-radius: var(--r2); }

/* ---- ledgers (tables) inside cards ---- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r2); padding: 20px 22px; }
.card.pad0 { padding: 0; overflow: hidden; }
.ledger { width: 100%; border-collapse: collapse; }
.ledger th { text-align: left; padding: 12px 16px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); border-bottom: 1px solid var(--line); }
.ledger td { padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 14.5px; vertical-align: middle; }
.ledger tr:last-child td { border-bottom: 0; }
.ledger tr.link { cursor: pointer; transition: background .15s; } .ledger tr.link:hover td { background: var(--card2); }
.ledger .n { text-align: right; font-family: var(--ff-m); font-feature-settings: "tnum"; }
.ledger .idx { font-family: var(--ff-m); font-size: 12px; color: var(--ink3); width: 48px; }
.coin { display: flex; align-items: center; gap: 12px; }
.coin img, .coin .ph { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; background: var(--card3); display: grid; place-items: center; font-weight: 800; color: var(--ink3); }
.coin b { display: block; font-size: 15px; font-weight: 800; } .coin span { color: var(--ink3); font-size: 12.5px; font-weight: 600; }

/* ---- feeds ---- */
.two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.payrow { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.payrow:last-of-type { border-bottom: 0; }
.payrow .who b { display: block; font-size: 15px; font-weight: 800; } .payrow .who span { color: var(--ink3); font-size: 12.5px; font-weight: 600; }
.payrow .amt { font-weight: 800; color: var(--up); font-size: 16px; text-align: right; }
.payrow .amt small { display: block; font-weight: 600; color: var(--ink3); font-size: 11.5px; }
.toplist div { display: grid; grid-template-columns: 30px 44px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.toplist div:last-child { border-bottom: 0; }
.toplist .rk { width: 28px; height: 28px; border-radius: 9px; background: var(--card3); display: grid; place-items: center; font-weight: 800; font-size: 12px; color: var(--ink2); }
.toplist .rk.r1 { background: var(--y); color: var(--y-ink); }
.toplist b { font-size: 15px; font-weight: 800; } .toplist .amt { font-weight: 800; color: var(--up); }
.total-line { display: flex; justify-content: space-between; margin-top: 12px; font-size: 13px; color: var(--ink3); font-weight: 600; }
.total-line b { color: var(--ink); font-weight: 800; }

/* ---- how it works: three soft tiles ---- */
.sheet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sheet > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r2); padding: 24px; transition: transform .3s var(--ease); }
.sheet > div:hover { transform: translateY(-4px); }
.sheet .cap { display: inline-flex; padding: 5px 10px; border-radius: var(--pill); background: var(--y-soft); color: var(--y); }
.sheet h3 { margin-top: 16px; font-size: 24px; letter-spacing: -.02em; }
.sheet p { margin-top: 10px; color: var(--ink2); font-size: 14.5px; }
.sheet .ex { margin-top: 14px; font-family: var(--ff-m); font-size: 12px; color: var(--ink2); background: var(--black); padding: 10px 12px; border-radius: 12px; }

/* ---- banners (the three big tiles) ---- */
.banners { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; }
.banner-t { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 150px; border-radius: 28px; padding: 26px 28px; background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: transform .3s var(--ease); }
.banner-t:hover { transform: translateY(-4px); }
.banner-t.y { background: var(--y); color: var(--y-ink); border-color: transparent; }
.banner-t h3 { font-size: 26px; letter-spacing: -.02em; } .banner-t p { margin-top: 6px; opacity: .75; font-weight: 500; }
.banner-t .go { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--black); color: var(--ink); font-size: 20px; flex: 0 0 auto; transition: transform .3s var(--ease); }
.banner-t:hover .go { transform: translateX(4px); }
.banner-t .mark { position: absolute; right: -20px; bottom: -30px; font-family: var(--ff-d); font-size: 150px; line-height: 1; opacity: .08; pointer-events: none; }

/* ---- film ---- */
.film { position: relative; border-radius: 28px; overflow: hidden; background: var(--black); aspect-ratio: 16 / 9; border: 1px solid var(--line); }
.film video { width: 100%; height: 100%; display: block; }
.film .play { position: absolute; inset: 0; display: grid; place-items: center; cursor: pointer; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .35)); }
.film .play b { width: 84px; height: 84px; border-radius: 50%; background: var(--y); color: var(--y-ink); display: grid; place-items: center; font-size: 26px; box-shadow: 0 20px 50px -14px rgba(253, 218, 38, .7); transition: transform .3s var(--ease); }
.film .play:hover b { transform: scale(1.08); }
.film .play span { position: absolute; left: 22px; bottom: 18px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink2); }

/* ---- footer ---- */
.foot { margin-top: 64px; padding: 30px 0 40px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink3); font-weight: 500; }
.foot-in { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot a:hover { color: var(--ink); }

/* ---- forms ---- */
.form { display: grid; gap: 14px; }
.fs { background: var(--card); border: 1px solid var(--line); border-radius: var(--r2); padding: 22px 24px; }
.fs > .cap { display: block; }
.fs > p.note { margin: 6px 0 16px; }
.f label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 7px; }
.f label small { color: var(--ink3); font-weight: 600; margin-left: 6px; }
.f .cnt { float: right; font-family: var(--ff-m); font-size: 11px; color: var(--ink3); }
.f input, .f textarea, .f select { width: 100%; background: var(--black); border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: 15px; outline: 0; transition: border-color .2s; }
.f input:focus, .f textarea:focus, .f select:focus { border-color: var(--y); }
.f textarea { resize: vertical; min-height: 96px; }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.drop { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1.5px dashed var(--line2); border-radius: 16px; background: var(--black); cursor: pointer; transition: border-color .2s; }
.drop:hover, .drop.over { border-color: var(--y); }
.drop img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; background: var(--card3); }
.drop .ph { width: 56px; height: 56px; border-radius: 14px; background: var(--card3); display: grid; place-items: center; color: var(--ink3); font-size: 22px; }
.drop.banner img { width: 168px; height: 56px; }
.drop b { font-weight: 800; } .drop small { display: block; color: var(--ink3); font-size: 12.5px; font-weight: 600; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices button { height: 38px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: var(--pill); background: transparent; font-weight: 700; font-size: 13.5px; color: var(--ink2); transition: all .2s; }
.choices button.on { background: var(--y); border-color: var(--y); color: var(--y-ink); }
.note { font-size: 13.5px; color: var(--ink2); }
.note b { color: var(--ink); }
.launch-grid { display: grid; grid-template-columns: 1fr 380px; gap: 22px; align-items: start; }
.summary { position: sticky; top: 80px; }
.summary .stub { animation: none; }
.steps-h { display: flex; gap: 8px; margin: 22px 0 0; }
.steps-h span { flex: 1; padding: 10px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); color: var(--ink3); font-weight: 700; font-size: 13px; display: flex; gap: 10px; align-items: center; }
.steps-h span i { width: 22px; height: 22px; border-radius: 8px; background: var(--card3); display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 800; }
.steps-h span.on { color: var(--ink); border-color: var(--y); } .steps-h span.on i { background: var(--y); color: var(--y-ink); }
.steps-h span.done { color: var(--up); } .steps-h span.done i { background: var(--up-soft); color: var(--up); }
.addr { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--black); border: 1px solid var(--line); font-family: var(--ff-m); font-size: 13px; word-break: break-all; }
.addr button { margin-left: auto; }
.progress { height: 10px; border-radius: var(--pill); background: var(--black); overflow: hidden; }
.progress i { display: block; height: 100%; width: var(--w, 0%); background: var(--y); border-radius: var(--pill); transition: width .8s var(--ease); }
.log { display: grid; gap: 8px; margin-top: 14px; font-size: 14px; }
.log div { display: flex; gap: 10px; align-items: flex-start; color: var(--ink2); }
.log div i { font-style: normal; width: 18px; flex: 0 0 auto; color: var(--y); }
.log div.ok i { color: var(--up); } .log div.err { color: var(--down); } .log div.err i { color: var(--down); }
.warnbox { border-radius: 14px; background: var(--down-soft); padding: 12px 14px; font-size: 13.5px; color: var(--ink2); }

/* ---- token page ---- */
.tok-head { display: flex; align-items: center; gap: 20px; padding: 34px 0 20px; flex-wrap: wrap; }
.tok-head .logo { width: 88px; height: 88px; border-radius: 24px; object-fit: cover; background: var(--card3); }
.tok-head h1 { font-family: var(--ff); font-weight: 800; text-transform: none; font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -.02em; }
.tok-head h1 em { font-style: normal; color: var(--ink3); font-weight: 700; }
.tok-head .meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.tok-head .meta span, .tok-head .meta a { padding: 5px 10px; border-radius: var(--pill); background: var(--card); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--ink2); }
.tok-head .acts { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.banner { height: 170px; border-radius: 28px; background: var(--card2) center/cover; border: 1px solid var(--line); margin-top: 24px; }
.figs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0 30px; }
.fig { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px; }
.fig span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.fig b { display: block; margin-top: 8px; font-weight: 800; font-size: 26px; letter-spacing: -.02em; line-height: 1; }
.fig small { display: block; margin-top: 6px; color: var(--ink3); font-size: 12.5px; font-weight: 600; }
.tok-grid { display: grid; grid-template-columns: 1fr 360px; gap: 18px; align-items: start; }
.board-h { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.board-h .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.bamper { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bamper .avatar { width: 34px; height: 34px; border-radius: 11px; }
.bamper b { display: block; font-size: 14.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px; }
.bamper small { display: flex; gap: 6px; align-items: center; color: var(--ink3); font-size: 12px; font-weight: 600; }
.sbar { display: inline-block; width: 80px; height: 8px; border-radius: var(--pill); background: var(--black); vertical-align: middle; overflow: hidden; }
.sbar i { display: block; height: 100%; width: var(--w, 0%); background: var(--y); border-radius: var(--pill); animation: fillIn 1s var(--ease) both; }
@keyframes fillIn { from { width: 0; } }
.side { display: grid; gap: 14px; }
.side .card .cap { display: flex; justify-content: space-between; align-items: baseline; }
.side .card .cap small { font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink3); font-size: 12px; }
.kv { display: grid; }
.kv .row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.kv .row:last-child { border-bottom: 0; }
.kv .row span { color: var(--ink3); font-weight: 600; } .kv .row b { font-weight: 700; text-align: right; }
.potline { padding: 14px 0 12px; border-bottom: 1px solid var(--line); }
.potline b { display: block; font-weight: 800; font-size: 40px; letter-spacing: -.03em; line-height: 1; color: var(--up); }
.potline small { display: block; margin-top: 6px; font-size: 12.5px; color: var(--ink3); font-weight: 600; }
.countdown { font-family: var(--ff-m); font-weight: 600; font-size: 20px; }
.rounds div { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--ink2); padding: 9px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.rounds div:last-child { border-bottom: 0; }
.rounds div b { color: var(--up); font-weight: 800; } .rounds div b.z { color: var(--ink3); font-weight: 600; }
.holders div { display: grid; grid-template-columns: 28px 1fr auto auto; gap: 10px; align-items: center; font-size: 13px; padding: 8px 0; border-bottom: 1px solid var(--line); font-family: var(--ff-m); }
.holders div:last-child { border-bottom: 0; }

/* ---- dialogs ---- */
dialog { border: 0; padding: 0; background: transparent; width: min(560px, calc(100% - 32px)); overflow: visible; }
dialog::backdrop { background: rgba(0, 0, 0, .65); backdrop-filter: blur(8px); }
.dlg { position: relative; background: var(--card2); border: 1px solid var(--line2); border-radius: 28px; padding: 28px 30px 30px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9); animation: popin .35s var(--ease) both; }
@keyframes popin { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.dlg h2 { font-size: 26px; margin-bottom: 8px; }
.dlg .x { position: absolute; right: 16px; top: 16px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--card3); font-weight: 800; }
.plat { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0; }
.plat button { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 12px 14px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--black); text-align: left; transition: border-color .2s; }
.plat button b { font-size: 14px; font-weight: 800; } .plat button span { font-size: 12px; color: var(--ink3); font-weight: 600; }
.plat button.on { border-color: var(--y); background: var(--y-soft); }
.code { font-family: var(--ff-m); font-size: 22px; font-weight: 600; letter-spacing: .04em; padding: 12px 14px; background: var(--black); border: 1.5px dashed var(--line2); border-radius: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.privy-panel { border-radius: 16px; padding: 12px 14px; background: var(--black); border: 1px solid var(--line); display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.privy-panel .sp { flex: 1; }
.membercard .stub { animation: none; }
.postlist { display: grid; max-height: 260px; overflow: auto; }
.postlist a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink2); font-weight: 600; }
.postlist a b { color: var(--up); font-weight: 800; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); opacity: 0; background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: var(--pill); font-weight: 700; font-size: 14px; z-index: 60; transition: .3s var(--ease); pointer-events: none; max-width: min(520px, calc(100% - 32px)); }
.toast.show { opacity: 1; transform: translateX(-50%); } .toast.err { background: var(--down); color: #fff; }

/* ---- docs ---- */
.docs { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; padding-top: 40px; }
.toc { position: sticky; top: 80px; display: grid; gap: 4px; }
.toc a { padding: 8px 12px; border-radius: 12px; color: var(--ink3); font-weight: 700; font-size: 13.5px; transition: all .2s; }
.toc a:hover, .toc a.on { color: var(--ink); background: var(--card); }
.doc h2 { margin: 48px 0 12px; scroll-margin-top: 90px; } .doc h2:first-of-type { margin-top: 28px; }
.doc h3 { margin: 22px 0 6px; }
.doc p, .doc li { color: var(--ink2); font-size: 15.5px; } .doc p + p { margin-top: 10px; }
.dtbl { width: 100%; border-collapse: collapse; margin: 14px 0 6px; font-size: 14.5px; background: var(--card); border-radius: 18px; overflow: hidden; }
.dtbl th, .dtbl td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.dtbl th { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.dtbl tr:last-child td { border-bottom: 0; }
.dtbl td:last-child { font-weight: 800; color: var(--up); white-space: nowrap; }
.doc ol { counter-reset: s; list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 10px; }
.doc ol li { position: relative; padding-left: 44px; }
.doc ol li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 10px; background: var(--y); color: var(--y-ink); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.doc code { font-family: var(--ff-m); font-size: 13px; background: var(--black); padding: 2px 7px; border-radius: 8px; color: var(--y); }
.callout { border-radius: 18px; padding: 14px 18px; background: var(--card); border: 1px solid var(--line); margin: 14px 0; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; } .faq summary { cursor: pointer; font-weight: 800; font-size: 15.5px; } .faq details p { margin-top: 8px; }
.cta-line { margin: 56px 0 10px; padding: 34px 36px; border-radius: 28px; background: var(--y); color: var(--y-ink); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-line h2 { font-size: clamp(26px, 3.4vw, 40px); } .cta-line .muted { color: rgba(20, 18, 16, .7); font-weight: 600; }

/* ---- preloader: yellow curtain ---- */
#boot { position: fixed; inset: 0; z-index: 100; background: var(--y); color: var(--y-ink); display: grid; place-items: center; transition: transform .7s var(--ease), opacity .4s; }
#boot.gone { transform: translateY(-100%); opacity: .98; visibility: hidden; transition: transform .7s var(--ease), opacity .3s .5s, visibility 0s .8s; }
.boot-in { text-align: center; }
.boot-word { font-family: var(--ff-d); font-size: clamp(60px, 10vw, 110px); line-height: 1; text-transform: uppercase; animation: bob 2.4s ease-in-out infinite; }
.boot-sub { margin-top: 10px; font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; animation: rise .6s var(--ease) .3s both; }
.boot-line { margin: 22px auto 0; width: 200px; height: 6px; border-radius: var(--pill); background: rgba(0, 0, 0, .12); overflow: hidden; }
.boot-line i { display: block; height: 100%; width: 100%; background: var(--black); border-radius: var(--pill); transform-origin: 0 50%; animation: fill 1.2s var(--ease) both; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---- tour ---- */
.tour { width: min(620px, calc(100% - 32px)); }
.tour .art { border-radius: 20px; background: var(--black); border: 1px solid var(--line); padding: 18px; min-height: 150px; display: grid; place-items: center; }
.tour .art .stub { width: 100%; padding: 16px 18px; animation: none; box-shadow: none; background: var(--card); }
.tour .art .chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.tour .art .chips span { padding: 8px 14px; border-radius: var(--pill); background: var(--card3); font-weight: 700; font-size: 13px; animation: rise .5s var(--ease) both; }
.tour .art .chips span:nth-child(2) { animation-delay: .1s; } .tour .art .chips span:nth-child(3) { animation-delay: .2s; } .tour .art .chips span:nth-child(4) { animation-delay: .3s; } .tour .art .chips span:nth-child(5) { animation-delay: .4s; }
.tour .dots { display: flex; gap: 6px; } .tour .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--card3); transition: .3s var(--ease); } .tour .dots i.on { background: var(--y); width: 24px; border-radius: 4px; }
.tour .nav-r { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 20px; }
.tour h2 { margin-top: 18px; font-size: 26px; } .tour p { color: var(--ink2); margin-top: 8px; font-size: 15px; }
.tour .k { display: inline-flex; margin-top: 16px; padding: 5px 10px; border-radius: var(--pill); background: var(--y-soft); color: var(--y); }
.filmdlg { width: min(1000px, calc(100% - 32px)); }
.filmdlg .dlg { padding: 0; background: var(--black); overflow: hidden; }
.filmdlg video { width: 100%; display: block; }

/* ---- reveal ---- */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.shimmer { background: linear-gradient(90deg, var(--card) 0%, var(--card3) 50%, var(--card) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; border-radius: var(--r2); min-height: 120px; }
@keyframes shimmer { to { background-position: -200% 0; } }

@media (max-width: 1000px) {
  :root { --w: calc(100% - 32px); }
  .hero, .two, .tok-grid, .launch-grid, .docs { grid-template-columns: 1fr; gap: 24px; }
  .totals, .cards, .banners { grid-template-columns: 1fr 1fr; }
  .sheet, .feats { grid-template-columns: 1fr; }
  .figs { grid-template-columns: 1fr 1fr; }
  .nav, .search { display: none; } .burger { display: inline-flex; }
  .nav.open { display: flex; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; background: var(--y); padding: 10px 16px 16px; }
  .toc { position: static; display: flex; flex-wrap: wrap; } .summary { position: static; }
  .ledger .hide-m { display: none; }
}
@media (max-width: 600px) {
  .totals, .cards, .banners { grid-template-columns: 1fr; }
  .top-in { gap: 6px; } .top .btn { padding: 0 12px; font-size: 13.5px; } .brand b { font-size: 22px; }
  h1 { font-size: clamp(32px, 10vw, 44px); }
  .stub { padding: 20px 18px 22px; }
}
