/* ViaPaid — white fintech. One accent (money green), soft gray surfaces, crisp black type. */
:root {
  --bg: #ffffff;
  --surface: #f7f8f7;
  --surface-2: #f1f3f1;
  --line: #e8ebe8;
  --line-2: #d8ddd9;
  --text: #0a0f0c;
  --text-2: #4a544d;
  --text-3: #8a948d;
  --green: #16a34a;
  --green-700: #15803d;
  --green-50: #effbf2;
  --green-100: #d7f5df;
  --red: #dc2626;
  --shadow-sm: 0 1px 2px rgba(16, 24, 18, .05);
  --shadow: 0 1px 2px rgba(16, 24, 18, .04), 0 10px 30px -12px rgba(16, 24, 18, .12);
  --shadow-lg: 0 2px 4px rgba(16, 24, 18, .04), 0 24px 60px -20px rgba(16, 24, 18, .22);
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Inter Tight", "Inter", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --r-xl: 24px;
  --r-lg: 18px;
  --r-md: 14px;
  --r-sm: 10px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 15px; line-height: 1.5;
  font-feature-settings: "tnum" 1, "cv11" 1, "ss01" 1;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
button:disabled { opacity: .4; cursor: default; }
img { max-width: 100%; }
.mono { font-family: var(--mono); font-feature-settings: "tnum" 1; }
.muted { color: var(--text-2); }
.dim { color: var(--text-3); }
.green { color: var(--green); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.code { font-family: var(--mono); font-size: .92em; background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--text); }
.handle { font-family: var(--mono); font-size: .93em; color: var(--green-700); font-weight: 500; }
.linkish { color: var(--green-700); font-weight: 500; display: inline-flex; gap: 6px; align-items: center; }
.linkish:hover { text-decoration: underline; }
.vf { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; margin-left: 3px; flex: none; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--text); color: #fff; padding: 8px 14px; border-radius: 999px; font-weight: 500; }
.skip:focus { top: 12px; }

/* ---------- layout shell ---------- */
.shell { display: block; }
.side { display: none; }
.main { min-width: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* top navigation */
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.topbar.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; height: 68px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -.4px; color: var(--text); }
.brand img { width: 28px; height: 28px; display: block; border-radius: 7px; object-fit: cover; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--text-2); transition: color .15s, background .15s; }
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.top-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 12px; align-items: center; justify-content: center; border: 1px solid var(--line); }
.menu-btn svg { width: 20px; height: 20px; }
.nav-sheet { display: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 14.5px; white-space: nowrap; transition: background .15s, box-shadow .15s, transform .15s, border-color .15s; }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 1px 2px rgba(22,163,74,.3), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-green:hover { background: var(--green-700); }
.btn-quiet { color: var(--text-2); font-family: var(--mono); font-weight: 500; font-size: 13.5px; }
.btn-quiet:hover { color: var(--text); background: var(--surface); }
.btn-line { border: 1px solid var(--line-2); color: var(--text); background: #fff; }
.btn-line:hover { border-color: var(--text-3); }
.btn-lg { height: 48px; padding: 0 22px; font-size: 15.5px; }

/* ---------- hero ---------- */
.vp-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 40px; }
.vp-partner { display: inline-flex; align-items: center; gap: 9px; padding: 5px 14px 5px 5px; border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); font-size: 13.5px; font-weight: 600; transition: border-color .15s, box-shadow .15s; }
.vp-partner:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.vp-partner .pl { width: 26px; height: 26px; border-radius: 999px; background: #000; object-fit: cover; }
.vp-partner .pc { width: 16px; height: 16px; }
.vp-hero h1 { font-family: var(--display); font-size: clamp(42px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -.04em; font-weight: 700; margin: 22px 0 18px; }
.vp-hero h1 .hl { color: var(--green); position: relative; white-space: nowrap; }
.vp-hero h1 .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .14em; background: var(--green-100); z-index: -1; border-radius: 4px; transform-origin: left; animation: vp-underline 1s .5s cubic-bezier(.2,.8,.2,1) both; }
@keyframes vp-underline { from { transform: scaleX(0); } }
.vp-sub { font-size: 18px; line-height: 1.6; color: var(--text-2); max-width: 540px; margin: 0; }
.vp-ca { margin: 20px 0 18px; display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 6px 6px 6px 14px; border: 1px dashed var(--line-2); border-radius: 999px; background: var(--surface); }
.vp-ca .lbl { font-size: 12px; font-weight: 700; color: var(--text-2); white-space: nowrap; text-transform: uppercase; letter-spacing: .06em; }
.vp-ca code { font-family: var(--mono); font-size: 13px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; user-select: all; }
.vp-ca .ca-short { display: none; }
.vp-hero-points { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 26px; color: var(--text-2); font-size: 14px; }
.vp-hero-points span { display: inline-flex; align-items: center; gap: 7px; }
.vp-hero-points svg { width: 16px; height: 16px; color: var(--green); flex: none; }

/* hero visual: tweet -> reply -> coin -> payout */
.vp-visual { position: relative; min-height: 470px; }
.vp-visual::before { content: ""; position: absolute; inset: 8% -4% 2% 6%; border-radius: 40px; background: radial-gradient(60% 60% at 60% 40%, var(--green-50), transparent 70%); z-index: -1; }
.dm { position: absolute; inset: 0; }
.dm-card { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .45s ease, transform .55s cubic-bezier(.2,.8,.2,1); }
.dm.s-tweet .dm-tweet, .dm.s-reply .dm-reply, .dm.s-coin .dm-coin, .dm.s-paid .dm-paid { opacity: 1; transform: none; }
.dm.s-out .dm-card { opacity: 0; transform: translateY(-10px) scale(.99); }
.dm-tweet { left: 0; top: 10px; width: 78%; padding: 16px 18px; }
.dm-reply { left: 12%; top: 150px; width: 80%; padding: 14px 16px; }
.dm-coin { left: 4%; top: 278px; width: 84%; padding: 16px; border-color: var(--green-100); }
.dm-paid { right: 0; top: 214px; padding: 10px 14px 10px 10px; border-radius: 999px; display: flex; align-items: center; gap: 10px; box-shadow: 0 16px 40px -16px rgba(22,163,74,.45); border-color: var(--green-100); }
.dm-row { display: flex; gap: 12px; }
.dm-av { flex: none; width: 36px; height: 36px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 14px; }
.dm-who { display: flex; gap: 6px; align-items: baseline; font-size: 14px; white-space: nowrap; overflow: hidden; }
.dm-who b { font-weight: 700; }
.dm-who span { color: var(--text-3); font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
.dm-text { margin: 4px 0 0; color: var(--text); font-size: 15px; line-height: 1.45; }
.dm-to { font-size: 12.5px; color: var(--text-3); }
.dm-to b { color: var(--green-700); font-weight: 500; }
.dm-input { margin-top: 4px; font-size: 16px; min-height: 24px; line-height: 1.4; }
.dm-input .caret { display: inline-block; width: 2px; height: 17px; background: var(--green); margin-left: 1px; vertical-align: -3px; animation: vp-blink 1s steps(1) infinite; }
.dm.s-send .dm-input .caret { display: none; }
@keyframes vp-blink { 50% { opacity: 0; } }
.dm-hl { color: var(--green-700); font-weight: 600; }
.dm-tk { color: var(--text); font-weight: 700; background: var(--green-50); border-radius: 6px; padding: 0 4px; }
.dm-reply-foot { display: flex; justify-content: flex-end; margin-top: 10px; }
.dm-btn { height: 30px; padding: 0 14px; border-radius: 999px; background: var(--text); color: #fff; font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; transition: background .3s, transform .15s; }
.dm.s-send .dm-btn { transform: scale(.95); background: var(--text-2); }
.dm.s-coin .dm-btn { transform: none; background: var(--green); }
.dm-coin-top { display: flex; align-items: center; gap: 12px; }
.dm-coin-img { flex: none; width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; letter-spacing: -.02em; }
.dm-coin-main { flex: 1; min-width: 0; }
.dm-coin-main b { font-size: 16px; font-weight: 700; }
.dm-coin-main .tk { font-family: var(--mono); color: var(--green-700); font-weight: 600; font-size: 13px; margin-left: 4px; }
.dm-coin-main .sub { color: var(--text-3); font-size: 12.5px; margin-top: 1px; }
.dm-live { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--green-700); background: var(--green-50); border-radius: 999px; padding: 4px 10px; }
.dm-bar { margin-top: 14px; }
.dm-bar-lbl { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-3); margin-bottom: 6px; }
.dm-bar-track { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; display: flex; }
.dm-bar-track i { display: block; height: 100%; background: var(--green); width: 0; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.dm-bar-track i + i { background: var(--text); opacity: .85; }
.dm.s-coin .dm-bar-track i:first-child { width: 80%; }
.dm.s-coin .dm-bar-track i + i { width: 20%; }
.dm-paid .ic { width: 32px; height: 32px; border-radius: 999px; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.dm-paid .ic svg { width: 16px; height: 16px; }
.dm-paid b { display: block; font-size: 14.5px; }
.dm-paid span { display: block; font-size: 12px; color: var(--text-3); }
.dot { width: 7px; height: 7px; border-radius: 999px; background: var(--text-3); display: inline-block; flex: none; }
.dot.live { background: var(--green); box-shadow: 0 0 0 0 rgba(22,163,74,.5); animation: vp-ping 2s infinite; }
@keyframes vp-ping { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,.45); } 70% { box-shadow: 0 0 0 7px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }

/* ---------- stats strip ---------- */
.vp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow); margin-top: 16px; overflow: hidden; }
.vp-stat { padding: 24px 26px; border-right: 1px solid var(--line); }
.vp-stat:last-child { border-right: 0; }
.vp-stat .k { font-size: 13px; color: var(--text-3); font-weight: 500; display: flex; align-items: center; gap: 8px; }
.vp-stat .v { font-family: var(--display); font-size: 36px; font-weight: 700; letter-spacing: -.03em; margin-top: 6px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.vp-stat .s { font-size: 12.5px; color: var(--text-3); margin-top: 4px; }

/* ---------- section scaffolding ---------- */
.vp-sec { padding-top: 96px; scroll-margin-top: 72px; }
.vp-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--green-700); background: var(--green-50); border-radius: 999px; padding: 4px 12px; }
.vp-h2 { font-family: var(--display); font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -.035em; font-weight: 700; margin: 14px 0 10px; }
.vp-lead { font-size: 17px; color: var(--text-2); max-width: 620px; margin: 0; }
.vp-head { display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.vp-head .ctl { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* marquee of launched coins */
.vp-marquee { margin-top: 56px; position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.vp-marquee-track { display: flex; gap: 14px; width: max-content; animation: vp-slide 60s linear infinite; padding: 6px 0 14px; }
.vp-marquee:hover .vp-marquee-track { animation-play-state: paused; }
@keyframes vp-slide { to { transform: translateX(-50%); } }
.mq { width: 220px; flex: none; display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); transition: border-color .15s, transform .15s; }
.mq:hover { border-color: var(--green-100); transform: translateY(-2px); }
.mq .cimg { width: 44px; height: 44px; border-radius: 12px; }
.mq .t { min-width: 0; flex: 1; }
.mq .t b { display: block; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mq .t span { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--text-3); white-space: nowrap; overflow: hidden; }
.mq .mc { font-family: var(--mono); font-size: 12.5px; font-weight: 600; color: var(--green-700); }
.vp-marquee-empty { text-align: center; color: var(--text-3); font-size: 14px; padding: 18px; }

/* how it works */
.vp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; position: relative; }
.vp-step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 26px; box-shadow: var(--shadow-sm); opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.vp-step.in { opacity: 1; transform: none; }
.vp-step:nth-child(2) { transition-delay: .12s; }
.vp-step:nth-child(3) { transition-delay: .24s; }
.vp-step .n { width: 34px; height: 34px; border-radius: 10px; background: var(--green-50); color: var(--green-700); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-family: var(--mono); }
.vp-step h3 { font-family: var(--display); font-size: 21px; letter-spacing: -.02em; margin: 16px 0 6px; }
.vp-step p { margin: 0; color: var(--text-2); font-size: 15px; }
.vp-step .ill { margin-top: 18px; padding: 14px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; }
.vp-step .ill .mono { color: var(--text); }
.split { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--surface-2); margin: 8px 0 6px; }
.split i { display: block; height: 100%; }
.split i:first-child { background: var(--green); }
.split i + i { background: var(--text); }
.split-lbl { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-2); }

/* live section */
.vp-live { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-sm); }
.card-head { display: flex; align-items: center; gap: 10px; padding: 20px 22px 0; }
.card-head h3 { margin: 0; font-family: var(--display); font-size: 18px; letter-spacing: -.02em; }
.card-head .ctl { margin-left: auto; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--text-2); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.feed { list-style: none; margin: 0; padding: 10px 12px 14px; }
.feed li { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--r-md); transition: background .15s; }
.feed li:hover { background: var(--surface); }
.feed li.new { animation: vp-in .6s cubic-bezier(.2,.8,.2,1); }
@keyframes vp-in { from { opacity: 0; transform: translateY(-8px); background: var(--green-50); } }
.feed .cimg { width: 40px; height: 40px; border-radius: 11px; }
.feed .t { flex: 1; min-width: 0; }
.feed .t b { font-weight: 700; font-size: 14.5px; }
.feed .t .tk { font-family: var(--mono); font-size: 12.5px; color: var(--green-700); font-weight: 600; margin-left: 4px; }
.feed .t .s { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; }
.feed .r { text-align: right; flex: none; }
.feed .r .mc { font-family: var(--mono); font-weight: 600; font-size: 13.5px; }
.feed .r time { display: block; font-size: 12px; color: var(--text-3); }
.feed-empty { padding: 26px 22px 30px; color: var(--text-3); font-size: 14px; }
.feed-empty b { display: block; color: var(--text); margin-bottom: 2px; }

.fees-card { padding: 22px; display: flex; flex-direction: column; }
.fees-top { display: flex; align-items: center; justify-content: space-between; }
.fees-top .k { font-size: 13px; color: var(--text-3); font-weight: 500; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--surface-2); }
.seg button { height: 28px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; color: var(--text-2); font-weight: 600; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--text); box-shadow: var(--shadow-sm); }
.fees-big { font-family: var(--display); font-size: 48px; font-weight: 700; letter-spacing: -.035em; margin: 12px 0 2px; font-variant-numeric: tabular-nums; }
.fees-cap { font-size: 13px; color: var(--text-3); }
.fees-rows { margin-top: 18px; border-top: 1px solid var(--line); }
.fees-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.fees-rows div:last-child { border-bottom: 0; }
.fees-rows span:first-child { color: var(--text-2); }
.fees-rows span:last-child { font-family: var(--mono); font-weight: 600; }

/* recent launches + profiles */
.vp-grid2 { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.coins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.coin { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; display: flex; flex-direction: column; }
.coin:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.coin-img { position: relative; aspect-ratio: 1 / 1; background: var(--surface-2); display: block; overflow: hidden; }
.coin-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.coin-img .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 28px; color: var(--text-3); }
.coin-img .age { position: absolute; top: 10px; right: 10px; font-size: 11.5px; font-weight: 600; background: rgba(255,255,255,.92); border-radius: 999px; padding: 3px 9px; box-shadow: var(--shadow-sm); }
.coin-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.coin-name { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coin-name .tk { font-family: var(--mono); font-size: 12.5px; color: var(--green-700); margin-left: 5px; font-weight: 600; }
.coin-mc { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.coin-mc small { font-family: var(--sans); font-size: 12px; font-weight: 500; color: var(--text-3); margin-left: 4px; letter-spacing: 0; }
.coin-to { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-2); min-width: 0; }
.coin-to a { font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coin-to a:hover { color: var(--green-700); }
.coin-meta { font-size: 12px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coin-actions { display: flex; gap: 6px; margin-top: auto; padding-top: 8px; flex-wrap: wrap; }
.chip-btn { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--text-2); background: #fff; transition: border-color .15s, color .15s; }
.chip-btn:hover { border-color: var(--green); color: var(--green-700); }
.chip-btn.mono { font-family: var(--mono); font-weight: 500; }

.pfp { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; width: var(--s, 20px); height: var(--s, 20px); border-radius: 999px; background: var(--surface-2); color: var(--text-3); font-weight: 700; font-size: calc(var(--s, 20px) * .42); overflow: hidden; }
.pfp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cimg { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; background: var(--surface-2); color: var(--text-3); font-weight: 800; font-size: 12px; }
.cimg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.prof-card { padding: 6px 8px 8px; }
.prof { display: flex; align-items: center; gap: 12px; padding: 12px 10px; border-radius: var(--r-md); transition: background .15s; }
.prof:hover { background: var(--surface); }
.prof .rank { width: 22px; font-family: var(--mono); font-size: 12px; color: var(--text-3); text-align: center; flex: none; }
.prof .id { min-width: 0; flex: 1; }
.prof .id b { display: block; font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prof .id span { font-size: 12.5px; color: var(--text-3); }
.prof .n { text-align: right; font-size: 12px; color: var(--text-3); flex: none; }
.prof .n b { display: block; font-family: var(--mono); color: var(--text); font-size: 13.5px; }

.pager { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12.5px; color: var(--text-2); }
.pager button { width: 32px; height: 32px; border-radius: 999px; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.pager button:not(:disabled):hover { border-color: var(--line-2); }
.pager button svg { width: 14px; height: 14px; }
.pager span { min-width: 44px; text-align: center; }

/* ---------- live mentions (mentions.js) ---------- */
.sec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; font-family: var(--display); font-size: 24px; letter-spacing: -.025em; }
.sec-head .ctl { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.mn-conn { display: inline-flex; align-items: center; gap: 7px; color: var(--text-3); font-size: 13px; }
.mn-conn.live { color: var(--text-2); }
.mn-conn.live .dot { background: var(--green); animation: vp-ping 2s infinite; }
.mn-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mn-list-full { grid-template-columns: minmax(0, 1fr); max-width: 780px; }
.mn { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); transition: border-color .8s, background .8s; }
.mn.fresh { border-color: var(--green); background: var(--green-50); }
.av { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; width: var(--s, 28px); height: var(--s, 28px); border-radius: 999px; background: var(--surface-2); color: var(--text-2); font-weight: 700; font-size: calc(var(--s, 28px) * .4); overflow: hidden; }
.mn-av { --s: 42px; }
.mn-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mn-body { min-width: 0; }
.mn-head { display: flex; align-items: baseline; gap: 6px; min-width: 0; white-space: nowrap; font-size: 14px; }
.mn-name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; flex: 0 1 auto; }
.mn-user { color: var(--text-3); font-size: 13px; overflow: hidden; text-overflow: ellipsis; flex: 0 1 auto; }
.mn-user:hover { color: var(--text-2); }
.mn-dot, .mn-head time { color: var(--text-3); font-size: 12.5px; flex: none; }
.mn-text { margin: 4px 0 10px; font-size: 15px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.mn-text .hl { color: var(--green-700); font-weight: 500; }
.mn-foot { display: flex; gap: 12px; justify-content: space-between; align-items: baseline; font-size: 12px; color: var(--text-3); min-width: 0; }
.mn-link { color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; font-family: var(--mono); }
.mn-link:hover { color: var(--green-700); }
.mn-when { flex: none; }
.mn-empty { border: 1px dashed var(--line-2); border-radius: var(--r-lg); padding: 30px 18px; text-align: center; color: var(--text-3); font-size: 14px; background: var(--surface); }
.mn-empty b { display: block; color: var(--text); font-weight: 700; margin-bottom: 2px; }
.mn-coin { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); font-size: 13px; min-width: 0; }
.mn-coin.live { align-items: flex-start; gap: 14px; padding: 12px; background: var(--green-50); border-color: var(--green-100); }
.mn-coin.pending { color: var(--text-2); }
.mn-coin.pending .dot { background: var(--green); animation: vp-ping 1.2s infinite; }
.mn-coin.muted { color: var(--text-3); gap: 12px; }
.mn-coin.muted .mn-coin-sub { display: inline; white-space: normal; }
.mn-coin-img { position: relative; flex: none; width: 64px; height: 64px; border-radius: 14px; overflow: hidden; background: #fff; display: flex; align-items: center; justify-content: center; border: 1px solid var(--green-100); }
.mn-coin-img b { color: var(--text-3); font-weight: 800; font-size: 16px; }
.mn-coin-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mn-coin-main { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.mn-coin-id { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14.5px; }
.mn-coin-id b { font-weight: 700; }
.mn-coin-id .mono { color: var(--green-700); font-size: 12.5px; font-weight: 600; }
.mn-mc { color: var(--text-2); font-family: var(--mono); font-size: 12px; margin-left: 4px; }
.mn-coin-sub { font-size: 12px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mn-coin-to { display: flex; align-items: center; gap: 5px; }
.mn-coin-to a { color: var(--text); font-weight: 600; }
.mn-coin-to a:hover { color: var(--green-700); }
.mn-rav { position: relative; flex: none; width: 16px; height: 16px; border-radius: 999px; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 8px; font-weight: 700; color: var(--text-2); overflow: hidden; }
.mn-rav img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mn-ca { display: flex; align-items: center; gap: 8px; min-width: 0; margin-top: 2px; padding: 4px 4px 4px 10px; border: 1px solid var(--green-100); border-radius: 999px; background: #fff; }
.mn-ca-label { font-size: 10px; font-weight: 700; letter-spacing: .08em; color: var(--text-3); flex: none; }
.mn-ca code { font-family: var(--mono); font-size: 12px; min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; user-select: all; }
.mn-ca .ca-short { display: none; }
.mn-copy { flex: none; font-size: 12px; font-weight: 600; color: var(--green-700); border: 1px solid var(--green-100); background: #fff; border-radius: 999px; padding: 3px 11px; transition: background .15s; }
.mn-copy:hover { background: var(--green-50); }
.mn-coin-links { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; margin-top: 2px; }
.mn-coin-links a { color: var(--green-700); font-weight: 600; }
.mn-coin-links a:hover { text-decoration: underline; }

/* ---------- document pages (docs, launch, legal, token, mentions) ---------- */
.doc { padding: 56px 0 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--green-700); background: var(--green-50); border-radius: 999px; padding: 4px 12px; }
.doc h1 { margin: 14px 0 14px; font-family: var(--display); font-size: clamp(36px, 4.6vw, 56px); font-weight: 700; letter-spacing: -.04em; line-height: 1.04; }
.doc .lede { font-size: 18px; color: var(--text-2); max-width: 680px; margin: 0; line-height: 1.6; }
.doc-cols { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; margin-top: 48px; }
.toc { position: sticky; top: 92px; align-self: start; display: flex; flex-direction: column; gap: 2px; font-size: 14px; border-left: 1px solid var(--line); padding-left: 14px; }
.toc a { color: var(--text-3); padding: 6px 0; transition: color .15s; }
.toc a:hover { color: var(--green-700); }
.toc a .n { font-family: var(--mono); margin-right: 8px; }
.prose { max-width: 720px; }
.prose section { padding: 0 0 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.prose section:last-child { border-bottom: 0; }
.prose h2 { font-family: var(--display); font-size: 24px; letter-spacing: -.025em; margin: 0 0 12px; display: flex; gap: 12px; align-items: baseline; }
.prose h2 .n { font-family: var(--mono); color: var(--green-700); font-size: 14px; font-weight: 600; }
.prose h3 { font-size: 16px; margin: 20px 0 8px; }
.prose p, .prose ul, .prose ol { color: var(--text-2); font-size: 16px; line-height: 1.7; margin: 0 0 12px; }
.prose ul, .prose ol { padding-left: 20px; }
.prose p strong { color: var(--text); }
.code-line { display: block; font-family: var(--mono); font-size: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; color: var(--text); margin: 4px 0 14px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-sm); margin: 32px 0 8px; overflow: hidden; }
.facts div { padding: 18px 20px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts dt { color: var(--text-3); font-size: 13px; margin-bottom: 6px; }
.facts dd { margin: 0; font-weight: 700; font-size: 16px; overflow-wrap: anywhere; }
.steps { list-style: none; padding: 0; margin: 12px 0 0; }
.steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; }
.steps .n { width: 30px; height: 30px; border-radius: 9px; background: var(--green-50); color: var(--green-700); font-family: var(--mono); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.steps b { display: block; color: var(--text); font-weight: 700; margin-bottom: 2px; }
.steps span { color: var(--text-2); font-size: 15px; }
.split-bar { display: flex; height: 46px; border-radius: var(--r-md); overflow: hidden; margin: 18px 0 8px; font-weight: 700; font-size: 14px; border: 1px solid var(--line); }
.split-bar div { display: flex; align-items: center; padding: 0 16px; }
.split-bar .a { flex: 80; background: var(--green); color: #fff; }
.split-bar .b { flex: 20; background: var(--surface); color: var(--text); }
.ca-box { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 10px 12px; font-family: var(--mono); font-size: 14px; margin: 8px 0 14px; background: var(--surface); }
.ca-box span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ca-box button { font-family: var(--sans); font-size: 12.5px; font-weight: 600; color: var(--green-700); border: 1px solid var(--green-100); background: #fff; border-radius: 999px; padding: 4px 12px; }
.otable { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 13px; margin: 0 0 16px; }
.otable th { text-align: left; font-weight: 500; color: var(--text-3); font-size: 11.5px; letter-spacing: .06em; padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.otable td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.otable td:nth-child(-n+2), .otable th:nth-child(-n+2) { width: 56px; color: var(--text-2); }
.reply-mock { border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow); padding: 20px; margin: 8px 0 18px; }
.reply-mock .post { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; }
.reply-mock .post + .post { margin-top: 14px; }
.reply-mock .thread { width: 2px; background: var(--line-2); margin: 4px auto 0; height: calc(100% - 42px); }
.reply-mock .hdr { font-size: 14px; }
.reply-mock .hdr b { font-weight: 700; }
.reply-mock .hdr .h { color: var(--text-3); font-size: 13px; margin-left: 4px; }
.reply-mock .txt { font-size: 16px; margin-top: 2px; }
.reply-mock .txt .m { color: var(--green-700); font-weight: 600; }
.reply-mock .result { margin-top: 16px; border-top: 1px dashed var(--line-2); padding-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; font-size: 13px; }
.reply-mock .result dt { color: var(--text-3); }
.reply-mock .result dd { margin: 2px 0 0; font-family: var(--mono); }

/* ---------- footer ---------- */
.foot-site { margin-top: 110px; border-top: 1px solid var(--line); background: var(--surface); padding: 48px 0 36px; }
.foot-site > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.foot-brand p { color: var(--text-2); font-size: 14px; max-width: 360px; margin: 14px 0 0; }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.foot-col b { font-size: 13px; color: var(--text); margin-bottom: 2px; }
.foot-col a { color: var(--text-2); }
.foot-col a:hover { color: var(--green-700); }
.foot-fine { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; gap: 24px; justify-content: space-between; color: var(--text-3); font-size: 12.5px; }
.foot-fine p { margin: 0; max-width: 820px; }
main .foot-site { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
body { overflow-x: clip; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .vp-hero { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .vp-visual { max-width: 560px; }
  .vp-live, .vp-grid2 { grid-template-columns: minmax(0, 1fr); }
  .coins { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nav, .btn-quiet { display: none; }
  .menu-btn { display: inline-flex; }
  .nav-sheet { display: none; flex-direction: column; padding: 8px 16px 16px; border-top: 1px solid var(--line); background: #fff; }
  body.nav-open .nav-sheet { display: flex; }
  .nav-sheet a { padding: 12px 8px; font-weight: 500; border-bottom: 1px solid var(--line); }
  .nav-inner { padding: 0 16px; }
  .wrap { padding: 0 16px; }
  .vp-hero { padding-top: 36px; }
  .vp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vp-stat:nth-child(2) { border-right: 0; }
  .vp-stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .vp-steps { grid-template-columns: minmax(0, 1fr); }
  .coins { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mn-list { grid-template-columns: minmax(0, 1fr); }
  .doc-cols { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 4px 16px; border-left: 0; padding-left: 0; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(2) { border-right: 0; }
  .facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-fine { flex-direction: column; }
  .foot-site > * { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 560px) {
  .top-actions .btn-green { height: 36px; padding: 0 14px; font-size: 13.5px; }
  .vp-visual { min-height: 440px; }
  .dm-tweet { width: 92%; }
  .dm-reply { left: 6%; width: 92%; }
  .dm-coin { left: 0; width: 100%; top: 292px; }
  .dm-paid { top: 226px; right: 0; }
  .vp-stat { padding: 18px; }
  .vp-stat .v { font-size: 28px; }
  .coins { grid-template-columns: minmax(0, 1fr); }
  .vp-ca .ca-full, .mn-ca .ca-full { display: none; }
  .vp-ca .ca-short, .mn-ca .ca-short { display: inline; }
  .mn-coin.live { flex-wrap: wrap; }
  .mn-when { display: none; }
  .reply-mock .result { grid-template-columns: minmax(0, 1fr); }
  .fees-big { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .vp-step, .dm-card { opacity: 1 !important; transform: none !important; }
}

[hidden] { display: none !important; }
