/* Anypad. Charcoal ground, warm bone slabs, one tangerine accent.
   Full-bleed slabs alternate and each one starts with a rounded lip over the last.
   Motion: staggered reveals, a pinned lift walkthrough driven by scroll, and
   figures that count in. Nothing reads scroll position inside a rAF loop. */

:root {
  --ink: #0d0d0f;
  --ink-2: #16161a;
  --ink-3: #1f1f24;
  --bone: #f3efe6;
  --bone-2: #ffffff;
  --bone-3: #e8e2d6;
  --acc: #ff5a1f;
  --acc-2: #ff8a5c;
  --txt: #f3efe6;
  --mut: rgba(243, 239, 230, .62);
  --line: rgba(243, 239, 230, .12);
  --rbh: #9fe870;
  --sol: #b07cff;
  --bnb: #f0b90b;
  --base: #4d86ff;
  --lip: 36px;
  --r: 26px;
  --display: "Bricolage Grotesque", "Inter Tight", system-ui, sans-serif;
  --body: "Instrument Sans", "Inter", system-ui, sans-serif;
  --mono: "Geist Mono", "Fragment Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--txt);
  font: 400 16px/1.55 var(--body); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
small { font-size: .8em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
@media (max-width: 640px) { .wrap { width: calc(100% - 32px); } }

/* ---- type ---- */
.display { font-family: var(--display); font-weight: 600; letter-spacing: -.035em; line-height: .98; margin: 0; text-wrap: balance; font-variation-settings: "opsz" 96, "wdth" 100; }
.t-hero { font-size: clamp(46px, 7.4vw, 104px); }
.t-1 { font-size: clamp(34px, 4.6vw, 62px); }
.t-2 { font-size: clamp(26px, 3vw, 38px); }
.t-3 { font-size: clamp(20px, 2vw, 26px); letter-spacing: -.02em; }
.lead { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.5; color: var(--mut); max-width: 58ch; margin: 18px 0 0; }
.bone .lead, .bone .sub { color: #5d5a53; }
.eyebrow { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--acc); margin: 0 0 16px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.acc { color: var(--acc); }

/* ---- nav ---- */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 14px clamp(16px, 2.5vw, 32px);
  background: rgba(13, 13, 15, .55); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, padding .3s;
}
.nav.stuck { border-color: var(--line); background: rgba(13, 13, 15, .78); padding-block: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 19px/1 var(--display); letter-spacing: -.03em; }
.brand .tile { width: 34px; height: 34px; display: grid; place-items: center; }
.brand .tile img { width: 34px; height: 34px; }
.nav-mid { display: flex; gap: 4px; justify-content: center; }
.nav-mid a { padding: 8px 14px; border-radius: 999px; color: var(--mut); font-weight: 500; font-size: 15px; transition: color .2s, background .2s; }
.nav-mid a:hover, .nav-mid a[aria-current] { color: var(--txt); background: rgba(243, 239, 230, .08); }
.nav-end { display: flex; gap: 8px; justify-content: flex-end; align-items: center; }
@media (max-width: 760px) { .nav { grid-template-columns: 1fr auto; } .nav-mid { display: none; } }

/* ---- pills ---- */
.pill {
  display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 18px; border-radius: 999px;
  font-weight: 500; font-size: 15px; border: 1px solid transparent; white-space: nowrap;
  transition: transform .25s var(--ease), background .2s, color .2s, border-color .2s;
}
.pill:hover { transform: translateY(-1px); }
.pill:active { transform: translateY(0); }
.pill.lg { height: 52px; padding: 0 24px; font-size: 16px; }
.pill.wide { width: 100%; justify-content: center; }
.pill-acc { background: var(--acc); color: var(--ink); }
.pill-acc:hover { background: var(--acc-2); }
.pill-white { background: var(--bone); color: var(--ink); }
.pill-white:hover { background: #fff; }
.pill-ink { background: var(--ink); color: var(--bone); }
.pill-line { border-color: var(--line); background: rgba(243, 239, 230, .04); }
.pill-line:hover { border-color: rgba(243, 239, 230, .3); }
.bone .pill-line { border-color: rgba(13, 13, 15, .18); background: rgba(13, 13, 15, .03); color: var(--ink); }
.pill .dot { width: 24px; height: 24px; display: grid; place-items: center; }
.pill .dot img { width: 24px; height: 24px; }
.pill:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.xlink { width: 42px; padding: 0; justify-content: center; }

/* ---- slabs ---- */
.slab { position: relative; padding: clamp(72px, 9vw, 132px) 0; }
.slab.bone { background: var(--bone); color: var(--ink); }
.slab.ink { background: var(--ink); color: var(--txt); }
.slab.ink2 { background: var(--ink-2); color: var(--txt); }
.slab.acc { background: var(--acc); color: var(--ink); }
.slab.lip { margin-top: calc(-1 * var(--lip)); border-radius: var(--lip) var(--lip) 0 0; }
.slab.lip.bone { box-shadow: 0 -12px 40px rgba(0, 0, 0, .18); }
.slab.acc .eyebrow { color: var(--ink); opacity: .7; }
.slab.acc .lead { color: rgba(13, 13, 15, .72); }

/* ---- hero ---- */
.hero { padding: clamp(56px, 7vw, 110px) 0 calc(clamp(72px, 8vw, 120px) + var(--lip)); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 80%; pointer-events: none;
  background: radial-gradient(60% 50% at 78% 30%, rgba(255, 90, 31, .22), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; position: relative; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.t-hero span { display: block; }
.js .t-hero span { opacity: 0; transform: translateY(28px); filter: blur(6px); animation: rise .9s var(--ease) forwards; }
.js .t-hero span:nth-child(2) { animation-delay: .1s; }
.js .t-hero span:nth-child(3) { animation-delay: .2s; }
.js .hero .lead, .js .hero .go, .js .hero .ca { opacity: 0; animation: rise .9s var(--ease) .35s forwards; }
.js .hero .go { animation-delay: .45s; }
.js .hero .ca { animation-delay: .55s; }
@keyframes rise { to { opacity: 1; transform: none; filter: blur(0); } }
.go { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.ca { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; padding: 8px 8px 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(243, 239, 230, .04); font-family: var(--mono); font-size: 12.5px; max-width: 100%; }
.ca .ca-k { color: var(--acc); }
.ca .ca-v { color: var(--mut); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca .ca-b { background: var(--bone); color: var(--ink); border-radius: 999px; padding: 5px 10px; font: 500 12px var(--body); }

/* the lift board: four markets, the lowest gets bought. Pure CSS loop, no script. */
.board { position: relative; border-radius: var(--r); background: var(--ink-2); border: 1px solid var(--line); padding: clamp(18px, 2.4vw, 28px); }
.js .board { opacity: 0; transform: translateY(20px) scale(.98); animation: rise .9s var(--ease) .25s forwards; }
.board .hd { display: flex; justify-content: space-between; align-items: center; font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mut); }
.board .hd b { color: var(--acc); display: inline-flex; align-items: center; gap: 8px; }
.board .hd b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 0 rgba(255, 90, 31, .6); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 31, .6); } 100% { box-shadow: 0 0 0 10px rgba(255, 90, 31, 0); } }
.bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: end; height: 220px; margin-top: 22px; }
.bar { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.bar .col { position: relative; border-radius: 12px 12px 6px 6px; background: var(--ink-3); height: var(--h); transition: height 1.1s var(--ease), background .4s; overflow: visible; }
.bar .col::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, var(--c), transparent 120%); opacity: .55; }
.bar .lbl { display: flex; align-items: center; gap: 6px; margin-top: 10px; font: 500 12px var(--mono); color: var(--mut); white-space: nowrap; }
@media (max-width: 480px) { .bar .lbl span { display: none; } .bar .lbl { justify-content: center; } }
.bar .lbl img { width: 14px; height: 14px; border-radius: 4px; }
.bar .cap { position: absolute; left: 0; right: 0; bottom: calc(var(--h) + 8px); text-align: center; font: 500 12px var(--mono); color: var(--txt); transition: bottom 1.1s var(--ease); }
.bar .up { position: absolute; z-index: 2; left: 50%; bottom: calc(var(--h) + 30px); transform: translateX(-50%) translateY(10px); opacity: 0; color: var(--acc); font: 600 12px var(--mono); transition: opacity .4s, transform .6s var(--ease), bottom 1.1s var(--ease); white-space: nowrap; }
/* four-stage loop: each bar takes a turn being the cheapest and getting lifted. --h and --lift are
   registered properties so the keyframes interpolate them; the arrow fades with --lift. */
.bar:nth-child(1) { --c: var(--rbh); animation: b1 14s var(--ease) infinite; }
.bar:nth-child(2) { --c: var(--sol); animation: b2 14s var(--ease) infinite; }
.bar:nth-child(3) { --c: var(--bnb); animation: b3 14s var(--ease) infinite; }
.bar:nth-child(4) { --c: var(--base); animation: b4 14s var(--ease) infinite; }
@keyframes b1 { 0% { --h: 50%; --lift: 0; } 5% { --h: 50%; --lift: 1; } 16% { --h: 72%; --lift: 1; } 22% { --h: 72%; --lift: 0; } 92% { --h: 72%; --lift: 0; } 100% { --h: 50%; --lift: 0; } }
@keyframes b2 { 0%, 25% { --h: 58%; --lift: 0; } 30% { --h: 58%; --lift: 1; } 41% { --h: 76%; --lift: 1; } 47% { --h: 76%; --lift: 0; } 92% { --h: 76%; --lift: 0; } 100% { --h: 58%; --lift: 0; } }
@keyframes b3 { 0%, 50% { --h: 55%; --lift: 0; } 55% { --h: 55%; --lift: 1; } 66% { --h: 74%; --lift: 1; } 72% { --h: 74%; --lift: 0; } 92% { --h: 74%; --lift: 0; } 100% { --h: 55%; --lift: 0; } }
@keyframes b4 { 0%, 72% { --h: 62%; --lift: 0; } 76% { --h: 62%; --lift: 1; } 86% { --h: 78%; --lift: 1; } 92% { --h: 78%; --lift: 0; } 100% { --h: 62%; --lift: 0; } }
.bar .up { opacity: var(--lift, 0); transform: translateX(-50%) translateY(calc((1 - var(--lift, 0)) * 10px)); }
.bar .col::after { opacity: calc(.45 + var(--lift, 0) * .45); }
@property --h { syntax: "<percentage>"; inherits: true; initial-value: 60%; }
@property --lift { syntax: "<number>"; inherits: true; initial-value: 0; }
.board .ft { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mut); }
.board .ft b { color: var(--txt); font-weight: 500; }

/* ---- stat cards ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; position: relative; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { border-radius: 20px; padding: 20px 22px; background: var(--ink-2); border: 1px solid var(--line); }
.bone .stat { background: var(--bone-2); border-color: transparent; }
.stat .k { display: block; font-size: 13px; color: var(--mut); margin-bottom: 8px; }
.bone .stat .k { color: #6b6760; }
.stat .v { display: block; font: 600 clamp(24px, 2.6vw, 34px)/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat .v small { font: 500 13px var(--mono); color: var(--mut); margin-left: 6px; letter-spacing: 0; }

/* ---- cards ---- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }
.card { border-radius: var(--r); padding: clamp(22px, 2.4vw, 30px); background: var(--ink-2); border: 1px solid var(--line); }
.bone .card { background: var(--bone-2); border-color: transparent; color: var(--ink); }
.card h3 { font: 600 clamp(20px, 1.8vw, 24px)/1.15 var(--display); letter-spacing: -.025em; margin: 14px 0 10px; }
.card p { margin: 0; color: var(--mut); font-size: 15px; }
.bone .card p { color: #5d5a53; }
.card .n { font: 500 12px var(--mono); color: var(--acc); letter-spacing: .06em; }
.card .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 90, 31, .14); color: var(--acc); }
.card .ico svg { width: 22px; height: 22px; }
.kv { display: flex; flex-direction: column; gap: 4px; }
.kv .k { font-size: 13px; color: var(--mut); }
.bone .kv .k { color: #6b6760; }
.kv .v { font: 600 22px/1.1 var(--display); letter-spacing: -.02em; }
.kv.big .v { font-size: clamp(34px, 4vw, 52px); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }

/* ---- the pinned walkthrough ---- */
.walk { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; margin-top: 48px; }
@media (max-width: 900px) { .walk { grid-template-columns: 1fr; } }
.steps { display: flex; flex-direction: column; }
.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 20px 0; opacity: .32; transition: opacity .5s; }
.step.on { opacity: 1; }
.step:first-child { min-height: 50vh; }
.step .n { font: 500 12px var(--mono); color: var(--acc); letter-spacing: .06em; }
.step h3 { font: 600 clamp(26px, 3vw, 40px)/1.05 var(--display); letter-spacing: -.03em; margin: 12px 0 14px; }
.step p { color: var(--mut); margin: 0; max-width: 46ch; font-size: 16.5px; }
.step .tag { display: inline-flex; margin-top: 16px; font: 500 12px var(--mono); padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--mut); }
.step .tag.ok { color: var(--rbh); border-color: rgba(159, 232, 112, .3); }
.step .tag.warn { color: var(--bnb); border-color: rgba(240, 185, 11, .3); }
.stage-wrap { position: sticky; top: 90px; }
@media (max-width: 900px) {
  .stage-wrap { position: sticky; top: 66px; order: -1; z-index: 2; }
  .step { min-height: 46vh; padding: 22px 0; }
  .step:first-child { min-height: 46vh; padding-top: 40px; }
}
.stage { border-radius: var(--r); background: var(--ink-2); border: 1px solid var(--line); padding: clamp(18px, 2.4vw, 28px); aspect-ratio: 1 / .92; display: flex; flex-direction: column; position: relative; overflow: hidden; }
@media (max-width: 900px) { .stage { aspect-ratio: auto; min-height: 340px; box-shadow: 0 20px 40px rgba(0, 0, 0, .5); } }
.stage .hd { display: flex; justify-content: space-between; font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mut); }
.stage .hd b { color: var(--txt); font-weight: 500; }
.stage .scene { position: relative; flex: 1; margin-top: 18px; }
.stage .vault { position: absolute; left: 0; right: 0; top: 0; border-radius: 18px; padding: 16px 18px; background: var(--ink-3); border: 1px solid var(--line); transition: transform .7s var(--ease), opacity .5s; }
.stage .vault .k { font-size: 12px; color: var(--mut); font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.stage .vault .v { font: 600 34px/1 var(--display); letter-spacing: -.03em; margin-top: 8px; display: flex; align-items: baseline; gap: 8px; }
.stage .vault .v small { font: 500 13px var(--mono); color: var(--mut); }
.stage .vault .fill { height: 6px; border-radius: 4px; background: rgba(243, 239, 230, .08); margin-top: 14px; overflow: hidden; }
.stage .vault .fill i { display: block; height: 100%; width: 0; background: var(--acc); transition: width 1.4s var(--ease); }
.stage .mk { position: absolute; left: 0; right: 0; bottom: 0; height: 56%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-items: end; }
.stage .mk .m { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.stage .mk .m .col { height: var(--h, 50%); border-radius: 10px 10px 4px 4px; background: var(--ink-3); position: relative; transition: height 1s var(--ease), box-shadow .5s, background .5s; }
.stage .mk .m .col::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, var(--c), transparent 120%); opacity: .5; transition: opacity .5s; }
.stage .mk .m .lbl { margin-top: 8px; font: 500 11.5px var(--mono); color: var(--mut); display: flex; gap: 6px; align-items: center; }
.stage .mk .m .lbl img { width: 13px; height: 13px; border-radius: 4px; }
.stage .mk .m .cap { position: absolute; left: 0; right: 0; bottom: calc(100% + 6px); text-align: center; font: 500 11.5px var(--mono); color: var(--txt); transition: opacity .4s; opacity: 0; }
.stage .mk .m:nth-child(1) { --c: var(--rbh); } .stage .mk .m:nth-child(2) { --c: var(--sol); } .stage .mk .m:nth-child(3) { --c: var(--bnb); } .stage .mk .m:nth-child(4) { --c: var(--base); }
.stage .mk .m .cap::after { content: attr(data-v); }
.stage[data-s="4"] .mk .m .cap::after { content: attr(data-lifted); }
.stage .vault .amt::after { content: attr(data-v); }
.stage[data-s="4"] .vault .amt::after { content: attr(data-after); }
.stage .drop { position: absolute; z-index: 3; left: 62.5%; top: 34%; width: 10px; height: 10px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px rgba(255, 90, 31, .25); transform: translate(-50%, -24px); opacity: 0; transition: transform .9s var(--ease), opacity .3s; }
.stage .burn { position: absolute; left: 0; right: 0; bottom: 60%; text-align: center; font: 500 12px var(--mono); color: var(--acc); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease); }
.stage .pick { position: absolute; inset: auto 0 0; height: 56%; pointer-events: none; }
.stage .pick i { position: absolute; bottom: 0; width: calc(25% - 7.5px); height: 100%; border-radius: 12px; border: 1.5px dashed rgba(255, 90, 31, .0); transition: border-color .5s, left .8s var(--ease); left: calc(var(--i, 0) * (25% + 2.5px)); }
/* states */
.stage[data-s="1"] .vault .fill i { width: 42%; }
.stage[data-s="1"] .mk { opacity: .35; }
.stage[data-s="2"] .mk .m .cap, .stage[data-s="3"] .mk .m .cap, .stage[data-s="4"] .mk .m .cap { opacity: 1; }
.stage[data-s="2"] .pick i, .stage[data-s="3"] .pick i { border-color: rgba(255, 90, 31, .8); }
.stage[data-s="2"] .vault .fill i, .stage[data-s="3"] .vault .fill i { width: 42%; }
.stage[data-s="3"] .drop { opacity: 1; transform: translate(-50%, 28px); }
.stage[data-s="3"] .mk .m.lo .col, .stage[data-s="4"] .mk .m.lo .col { box-shadow: 0 0 0 1.5px var(--acc); }
.stage[data-s="4"] .vault .fill i { width: 30%; }
.stage[data-s="4"] .mk .m.lo .col { --h: 70% !important; }
.stage[data-s="4"] .burn { opacity: 1; transform: none; }
.stage[data-s="4"] .pick i { border-color: transparent; }
.stage .mk { transition: opacity .5s; }

/* ---- venues ---- */
.venues { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
@media (max-width: 900px) { .venues { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .venues { grid-template-columns: 1fr; } }
.venue { border-radius: var(--r); padding: 24px; background: var(--bone-2); color: var(--ink); position: relative; overflow: hidden; min-height: 230px; display: flex; flex-direction: column; }
.venue::before { content: ""; position: absolute; inset: auto -30% -50% auto; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--c), transparent 65%); opacity: .35; filter: blur(10px); }
.venue img { width: 40px; height: 40px; border-radius: 12px; }
.venue h3 { font: 600 22px/1.1 var(--display); letter-spacing: -.025em; margin: 18px 0 4px; }
.venue .chain { font-size: 13px; color: #6b6760; }
.venue .kv { margin-top: auto; padding-top: 22px; }
.venue .kv .k { font-size: 12px; color: #6b6760; }
.venue .kv .v { font-size: 15px; font-weight: 500; font-family: var(--mono); letter-spacing: 0; }

/* ---- the rules table ---- */
.rules { margin-top: 44px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.rule { display: grid; grid-template-columns: 1.1fr 2fr auto; gap: 20px; align-items: center; padding: 20px clamp(18px, 2.4vw, 28px); border-top: 1px solid var(--line); background: var(--ink-2); }
.rule:first-child { border-top: 0; }
.rule b { font: 600 17px var(--display); letter-spacing: -.02em; }
.rule p { margin: 0; color: var(--mut); font-size: 14.5px; }
.rule .v { font: 500 15px var(--mono); color: var(--acc); white-space: nowrap; text-align: right; }
@media (max-width: 700px) { .rule { grid-template-columns: 1fr; gap: 6px; } .rule .v { text-align: left; } }

/* ---- coins ---- */
.coins { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 36px; }
@media (max-width: 860px) { .coins { grid-template-columns: 1fr; } }
.coin { border-radius: 22px; padding: 18px; background: var(--bone-2); color: var(--ink); }
.ink .coin, .ink2 .coin { background: var(--ink-2); color: var(--txt); border: 1px solid var(--line); }
.coin .top { display: flex; gap: 14px; align-items: center; }
.coin .logo { width: 48px; height: 48px; border-radius: 14px; background: var(--bone-3); display: grid; place-items: center; font: 600 14px var(--display); overflow: hidden; flex: none; }
.ink .coin .logo, .ink2 .coin .logo { background: var(--ink-3); }
.coin .logo img { width: 100%; height: 100%; object-fit: cover; }
.coin .ttl { min-width: 0; }
.coin .ttl b { display: block; font: 600 17px var(--display); letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coin .ttl span { font-size: 13px; color: #6b6760; }
.ink .coin .ttl span, .ink2 .coin .ttl span { color: var(--mut); }
.coin .legs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
@media (max-width: 480px) { .coin .legs { grid-template-columns: repeat(2, 1fr); } }
.coin .leg { border-radius: 12px; padding: 10px; background: var(--bone); font-size: 12px; border-top: 3px solid var(--c); }
.ink .coin .leg, .ink2 .coin .leg { background: var(--ink-3); }
.coin .leg .c { display: flex; gap: 6px; align-items: center; font-weight: 500; }
.coin .leg .c img { width: 14px; height: 14px; border-radius: 4px; }
.coin .leg .s { color: #6b6760; margin-top: 4px; }
.ink .coin .leg .s, .ink2 .coin .leg .s { color: var(--mut); }
.coin .leg.pending .s { color: var(--bnb); }
.coin .leg.failed .s, .coin .leg.reclaimed .s { color: #c84b2f; }
.coin .leg a { display: block; margin-top: 4px; font-family: var(--mono); font-size: 11px; color: inherit; opacity: .8; }
.coin .lift { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; padding: 12px 0 0; border-top: 1px solid rgba(13, 13, 15, .08); }
.ink .coin .lift, .ink2 .coin .lift { border-color: var(--line); }
.coin .lift .kv .k { font-size: 11.5px; }
.coin .lift .kv .v { font: 500 14px var(--mono); letter-spacing: 0; }
.coin .foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: 12px; color: #6b6760; }
.ink .coin .foot, .ink2 .coin .foot { color: var(--mut); }

/* ---- app ---- */
.app { display: grid; grid-template-columns: 1.05fr .95fr; gap: 18px; align-items: start; }
@media (max-width: 900px) { .app { grid-template-columns: 1fr; } }
.stack { display: grid; gap: 18px; }
.sub { color: var(--mut); margin: 10px 0 0; font-size: 15.5px; }
form { margin-top: 22px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
.field { margin-bottom: 14px; }
.field label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.field label small { color: var(--mut); font-weight: 400; }
.field-in { width: 100%; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--ink-3); color: var(--txt); font: inherit; outline: none; transition: border-color .2s; }
.field-in:focus { border-color: rgba(255, 90, 31, .7); }
textarea.field-in { height: 96px; padding: 12px 14px; resize: vertical; }
.field-in.num { font-family: var(--mono); }
.drop { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; border: 1px dashed rgba(243, 239, 230, .25); background: var(--ink-3); cursor: pointer; transition: border-color .2s; }
.drop:hover, .drop.over { border-color: var(--acc); }
.drop input { display: none; }
.drop .ph { width: 56px; height: 56px; border-radius: 12px; background: var(--ink-2); display: grid; place-items: center; overflow: hidden; font-size: 22px; color: var(--mut); flex: none; }
.drop .ph img { width: 100%; height: 100%; object-fit: cover; }
.drop img#ph { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: none; }
.drop .t b { display: block; font-size: 14px; }
.drop .t span { font-size: 12.5px; color: var(--mut); }
.quote { margin-top: 18px; border-radius: 14px; background: var(--ink-3); padding: 6px 14px; font-size: 14px; }
.quote > div { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line); }
.quote > div:first-child { border-top: 0; }
.quote span { color: var(--mut); }
.quote b { font-family: var(--mono); font-weight: 500; }
.quote .total b { color: var(--acc); }
.note { font-size: 13px; color: var(--mut); margin: 12px 0 0; }
.note a { text-decoration: underline; text-underline-offset: 3px; }
.note.err { color: #ff7a5c; }
.progress { margin-top: 18px; border-radius: 14px; background: var(--ink-3); padding: 14px; font-size: 14px; display: grid; gap: 8px; }
.progress .row { display: flex; justify-content: space-between; gap: 12px; }
.progress .row span:last-child { font-family: var(--mono); font-size: 12.5px; color: var(--mut); }
.progress .ok span:last-child { color: var(--rbh); }
.search { position: relative; margin-top: 16px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--mut); }
.search .field-in { padding-left: 42px; }
.search-n { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font: 500 12px var(--mono); color: var(--mut); }

/* progress rows during a launch */
.progress .p { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(243, 239, 230, .04); font-size: 14px; color: var(--mut); }
.progress .p i { width: 9px; height: 9px; border-radius: 50%; background: rgba(243, 239, 230, .3); flex: none; }
.progress .p.done i { background: var(--rbh); }
.progress .p.busy i { background: var(--acc); animation: blink 1s infinite; }
.progress .p.fail i { background: #ff7a5c; }
.progress .p a { font-family: var(--mono); font-size: 12px; color: var(--txt); margin-left: auto; }
@keyframes blink { 50% { opacity: .3; } }

/* wallet sheet */
.sheet { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, .6); backdrop-filter: blur(10px); }
.sheet-card { width: min(420px, 100%); border-radius: 22px; background: var(--ink-2); border: 1px solid var(--line); padding: 22px; animation: rise .35s var(--ease); }
.sheet-card h3 { margin: 0 0 14px; font: 600 22px var(--display); letter-spacing: -.02em; display: flex; justify-content: space-between; align-items: center; }
.sheet-card h3 button { font: 500 13px var(--body); color: var(--mut); background: none; border: 0; }
.wallets { display: grid; gap: 8px; }
.wallet { display: flex; gap: 12px; align-items: center; width: 100%; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--ink-3); text-align: left; font-size: 15px; font-weight: 500; }
.wallet:hover { border-color: rgba(243, 239, 230, .3); }
.wallet img, .wallet-fallback { width: 28px; height: 28px; border-radius: 8px; flex: none; }
.wallet-fallback { display: grid; place-items: center; background: var(--ink-2); font: 600 13px var(--display); }
.wallet small { margin-left: auto; color: var(--mut); }

/* ---- prose pages ---- */
.prose { max-width: 720px; }
.prose h2 { font: 600 clamp(24px, 2.6vw, 32px)/1.1 var(--display); letter-spacing: -.03em; margin: 44px 0 12px; }
.prose h2:first-of-type { margin-top: 28px; }
.prose p, .prose li { color: var(--mut); font-size: 16.5px; }
.prose li { margin: 6px 0; }
.prose strong { color: var(--txt); font-weight: 500; }
.prose code { font-family: var(--mono); font-size: 13.5px; background: var(--ink-3); padding: 2px 6px; border-radius: 6px; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 600 19px var(--display); letter-spacing: -.02em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--acc); font-weight: 400; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--mut); margin: 10px 0 0; max-width: 64ch; }

/* ---- footer ---- */
footer { padding: clamp(60px, 7vw, 100px) 0 40px; border-top: 1px solid var(--line); background: var(--ink); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 28px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
footer h5 { margin: 0 0 12px; font: 600 15px var(--display); letter-spacing: -.01em; }
footer p { margin: 0 0 8px; color: var(--mut); font-size: 14px; max-width: 40ch; }
footer a { display: block; color: var(--mut); font-size: 14px; margin: 6px 0; }
footer a:hover { color: var(--txt); }
.foot-word { margin-top: 60px; font: 600 clamp(64px, 16vw, 220px)/.85 var(--display); letter-spacing: -.05em; color: var(--ink-2); user-select: none; text-align: center; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: .1em; }
.foot-word img { width: .9em; height: .9em; opacity: .25; filter: grayscale(1) brightness(3); }

/* ---- reveals ---- */
.js .rv { opacity: 0; transform: translateY(22px); filter: blur(5px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; filter: blur(0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv, .js .t-hero span, .js .hero .lead, .js .hero .go, .js .hero .ca, .js .board { opacity: 1; transform: none; filter: none; }
  html { scroll-behavior: auto; }
}
