:root { color-scheme: light;
  --bg: #fff; --soft: #f4f4f1; --field: #fafaf9; --card: #fff; --text: #20211f; --muted: #6b6d69; --line: #e2e2e8;
  --ink: #232522; --on-ink: #fff; --ok: #1a7f37; --ok-soft: #e6f4ea; --warn: #9a6700; --warn-soft: #fff4d6;
  --bar: #e6e6e1; --shadow: 0 1px 2px rgb(0 0 0 / .04), 0 12px 32px rgb(0 0 0 / .08);
  --ease: cubic-bezier(.2,.8,.2,1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { color-scheme: dark;
  --bg: #141614; --soft: #1c1f1c; --field: #1c1f1c; --card: #191c19; --text: #f0f1ed; --muted: #a4aaa1; --line: #343a33;
  --ink: #eeefe9; --on-ink: #191c19; --ok: #77d299; --ok-soft: #1c3426; --warn: #e8c36c; --warn-soft: #38301c;
  --bar: #2c312b; --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 12px 32px rgb(0 0 0 / .4); } }
:root[data-theme="dark"] { color-scheme: dark;
  --bg: #141614; --soft: #1c1f1c; --field: #1c1f1c; --card: #191c19; --text: #f0f1ed; --muted: #a4aaa1; --line: #343a33;
  --ink: #eeefe9; --on-ink: #191c19; --ok: #77d299; --ok-soft: #1c3426; --warn: #e8c36c; --warn-soft: #38301c;
  --bar: #2c312b; --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 12px 32px rgb(0 0 0 / .4); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
h1, h2, h3 { letter-spacing: -.045em; line-height: 1.02; margin: 0; }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: 1.15rem; letter-spacing: -.02em; line-height: 1.25; }
p { margin: 0; }
.muted { color: var(--muted); }
.btn { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 500; text-decoration: none; border: 0; border-radius: 8px; padding: 12px 20px; background: var(--ink); color: var(--on-ink); cursor: pointer; }
.btn:hover { filter: brightness(.9); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.small { padding: 7px 12px; font-size: .88rem; }
.btn:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.pill { font-size: .72rem; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: var(--soft); color: var(--muted); white-space: nowrap; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.busy { background: var(--warn-soft); color: var(--warn); }
.pill:empty { display: none; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 700; font-size: 1.2rem; letter-spacing: -.05em; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
:root[data-theme="dark"] .brand img { filter: invert(1) hue-rotate(180deg); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand img { filter: invert(1) hue-rotate(180deg); } }
.nav { display: flex; align-items: center; gap: 22px; font-size: .92rem; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--text); }
#theme { display: grid; place-items: center; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px; width: 36px; height: 36px; cursor: pointer; }

/* Hero */
.hero { padding: 48px 0 0; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { letter-spacing: -.06em; margin-top: 16px; }
.hero h1 .dim { color: var(--muted); }
.hero .lede { max-width: 560px; margin-top: 20px; font-size: 1.1rem; color: var(--muted); }
.hero .ctas { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.hero .facts { display: flex; gap: 22px; margin-top: 26px; flex-wrap: wrap; font-size: .86rem; color: var(--muted); }
.hero .facts b { color: var(--text); font-weight: 600; }
body[data-hero="split"] .hero-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
body[data-hero="split"] .hero h1 { font-size: clamp(2.2rem, 3.7vw, 3.3rem); }
body:not([data-hero="split"]) .hero-copy { text-align: center; }
body:not([data-hero="split"]) .hero h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
body:not([data-hero="split"]) .hero .lede { margin-left: auto; margin-right: auto; max-width: 640px; }
body:not([data-hero="split"]) .hero .ctas, body:not([data-hero="split"]) .hero .facts { justify-content: center; }
body:not([data-hero="split"]) .loop { max-width: 980px; width: 100%; margin: 8px auto 0; }
body:not([data-hero="chain"]) .belt-wrap { display: none; }

/* Hero loop */
.panel { border: 1px solid var(--line); border-radius: 18px; background: var(--soft); overflow: hidden; }
.loop-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; padding: 12px 14px 10px; background: var(--bg); border-bottom: 1px solid var(--line); }
.loop-steps button { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; color: var(--muted); display: grid; gap: 6px; font-size: .74rem; font-weight: 600; }
.loop-steps button.on { color: var(--text); }
.loop-steps i { display: block; height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; }
.loop-steps i b { display: block; height: 100%; width: 0; background: var(--ink); }
.loop-steps .num { color: var(--muted); font-weight: 500; margin-right: 4px; }
#hero-stage { position: relative; height: 480px; overflow: hidden; }
body:not([data-hero="split"]) #hero-stage { height: 440px; }
.loop-cap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--bg); font-size: .9rem; min-height: 48px; }
.loop-cap span { transition: opacity .3s; }
.loop-cap small { color: var(--muted); font-size: .74rem; white-space: nowrap; }

/* Block belt (hero option) */
.belt-wrap { margin-top: 44px; position: relative; }
.belt-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; max-width: 1160px; margin: 0 auto 12px; padding: 0 28px; font-size: .8rem; color: var(--muted); flex-wrap: wrap; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; }
.legend i { display: inline-block; width: 18px; height: 8px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }
.lg-b { background: var(--ink); } .lg-c { border: 1.5px solid var(--ink); } .lg-o { background: var(--bar); }
.belt { position: relative; height: 176px; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--field);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.blk { position: absolute; top: 18px; width: 128px; height: 140px; border: 1px solid var(--line); background: var(--card); border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 4px; overflow: hidden; will-change: transform; }
.blk .slot { font-size: .64rem; color: var(--muted); margin-bottom: 2px; font-family: ui-monospace, monospace; }
.blk .b { height: 9px; border-radius: 3px; background: var(--bar); flex: none; }
.blk .grp { border-radius: 6px; padding: 4px; display: flex; flex-direction: column; gap: 3px; background: var(--ink); }
.blk .grp .b { background: color-mix(in srgb, var(--on-ink) 30%, transparent); height: 8px; }
.blk .grp span, .blk .cp span { font-size: .58rem; font-weight: 700; letter-spacing: .06em; line-height: 1; }
.blk .grp span { color: var(--on-ink); }
.blk .cp { border: 1.5px solid var(--ink); border-radius: 4px; height: 14px; display: flex; align-items: center; padding: 0 5px; flex: none; }
.blk.mine { border-color: var(--ink); }
.belt-status { text-align: center; margin: 14px auto 0; font-size: .88rem; color: var(--muted); min-height: 1.6em; padding: 0 20px; }
.belt-status b { color: var(--text); }
.belt-status .ok { color: var(--ok); font-weight: 600; }

/* Scrolly */
.how { padding: 120px 0 40px; }
.how-head { max-width: 700px; }
.how-head p { margin-top: 16px; font-size: 1.08rem; }
.scrolly { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; margin-top: 40px; }
.steps { padding-bottom: 20vh; }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .4s; }
.step.on { opacity: 1; }
.step .n { font-size: .74rem; font-weight: 700; letter-spacing: .14em; color: var(--muted); display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.step .n::after { content: ""; height: 1px; flex: 1; max-width: 60px; background: var(--line); }
.step h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -.04em; line-height: 1.08; }
.step p { margin-top: 14px; color: var(--muted); font-size: 1.02rem; max-width: 460px; }
.step p b { color: var(--text); font-weight: 600; }
.step .aside { font-size: .9rem; border-left: 2px solid var(--line); padding-left: 12px; }
.step .fact { margin-top: 18px; display: inline-flex; gap: 8px; align-items: center; font-size: .82rem; border: 1px solid var(--line); border-radius: 99px; padding: 5px 12px 5px 6px; width: fit-content; }
.step .fact span { background: var(--soft); border-radius: 99px; padding: 1px 8px; font-weight: 700; }
.stage-col { position: relative; }
.stage-sticky { position: sticky; top: 92px; }
#stage { position: relative; height: 540px; overflow: hidden; }
.stage-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); background: var(--bg); font-size: .78rem; color: var(--muted); }
.dots { display: flex; gap: 6px; }
.dots button { width: 22px; height: 6px; border-radius: 3px; border: 0; background: var(--line); cursor: pointer; padding: 0; transition: background .3s, width .3s; }
.dots button.on { background: var(--ink); width: 34px; }
#replay { font: inherit; font-size: .78rem; background: none; border: 0; color: var(--muted); cursor: pointer; }
#replay:hover { color: var(--text); }

/* Stage elements (shared by the hero loop and the scroll panel) */
.stage > * { pointer-events: none; }
.el { position: absolute; left: 0; top: 0; opacity: 0; transition: transform .75s var(--ease), opacity .45s ease, width .75s var(--ease), height .75s var(--ease), background-color .4s, border-color .4s; will-change: transform; }
.setup { width: 270px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.setup .who { display: flex; gap: 12px; align-items: center; }
.setup .who img { width: 56px; height: 56px; border-radius: 12px; }
.setup .who b { display: block; font-size: 1.05rem; letter-spacing: -.02em; min-height: 1.3em; }
.setup .who small { color: var(--muted); font-family: ui-monospace, monospace; font-size: .8rem; }
.setup .row { display: flex; justify-content: space-between; gap: 8px; font-size: .78rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 9px; white-space: nowrap; }
.setup .row b { color: var(--text); font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.caret::after { content: "▍"; animation: blink 1s steps(1) infinite; margin-left: 1px; color: var(--muted); }
@keyframes blink { 50% { opacity: 0; } }

.tok { height: 52px; display: flex; align-items: center; gap: 10px; padding: 0 12px; background: var(--card); border: 1px solid var(--line); border-radius: 11px; overflow: hidden; box-shadow: 0 1px 2px rgb(0 0 0 / .04); }
.tok img { width: 30px; height: 30px; border-radius: 7px; flex: none; }
.tok .nm { font-weight: 600; font-size: .88rem; white-space: nowrap; }
.tok .nm small { color: var(--muted); font-weight: 500; margin-left: 4px; }
.tok .mint { font-family: ui-monospace, monospace; font-size: .74rem; color: var(--muted); white-space: nowrap; overflow: hidden; flex: 1; min-width: 0; transition: opacity .4s; }
.tok .pill { margin-left: auto; }
.tok .lead-b { display: none; font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--ink); color: var(--on-ink); padding: 2px 7px; border-radius: 99px; white-space: nowrap; flex: none; }
.tok.lead { border-color: var(--ink); }
.tok.lead .lead-b { display: inline-block; }
.tok.mini { padding: 0 8px; gap: 7px; justify-content: center; }
.tok.mini .mint, .tok.mini .nm small, .tok.mini .pill { display: none; }
.tok.mini img { width: 22px; height: 22px; border-radius: 5px; }
.tok.tiny { padding: 0 5px; gap: 4px; border-radius: 6px; }
.tok.tiny img { width: 16px; height: 16px; border-radius: 4px; }
.tok.tiny .nm { font-size: .68rem; }
.tok.tiny .lead-b, .tok.mini .lead-b { display: none; }
.tok.done { border-color: var(--ok); background: var(--ok-soft); }

.frame { border: 1.5px solid var(--ink); border-radius: 16px; background: color-mix(in srgb, var(--card) 55%, transparent); }
.frame .tab { position: absolute; top: -11px; left: 14px; background: var(--ink); color: var(--on-ink); font-size: .66rem; font-weight: 700; letter-spacing: .06em; padding: 3px 9px; border-radius: 99px; white-space: nowrap; text-transform: uppercase; }
.frame .seal { position: absolute; bottom: -12px; left: 50%; transform: translateX(-50%) scale(.85); opacity: 0; transition: opacity .35s, transform .35s var(--ease); background: var(--bg); border: 1.5px solid var(--ink); color: var(--text); font-size: .7rem; font-weight: 600; padding: 2px 10px 2px 8px; border-radius: 99px; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.frame.sealed .seal { opacity: 1; transform: translateX(-50%) scale(1); }
.frame.sealed { box-shadow: 0 0 0 5px color-mix(in srgb, var(--ink) 8%, transparent); }
.frame.flat .seal { display: none; }

.tx { height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border-radius: 8px; background: var(--ink); color: var(--on-ink); font-size: .8rem; white-space: nowrap; overflow: hidden; }
.tx .i { font-family: ui-monospace, monospace; font-size: .68rem; opacity: .55; width: 14px; flex: none; }
.tx .lbl { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.tx .amt { margin-left: auto; font-family: ui-monospace, monospace; font-size: .74rem; opacity: .75; }
.tx .tip { font-size: .62rem; font-weight: 700; background: var(--on-ink); color: var(--ink); border-radius: 4px; padding: 0 5px; letter-spacing: .04em; }
.tx.sm { font-size: .64rem; padding: 0 6px; border-radius: 5px; gap: 5px; }
.tx.sm .i, .tx.sm .amt { display: none; }
.tx.xs .lbl { display: none; }

.meter { font-size: .72rem; color: var(--muted); display: flex; flex-direction: column; gap: 5px; }
.meter .track { height: 8px; border-radius: 4px; background: var(--bar); position: relative; overflow: hidden; }
.meter .fill { position: absolute; top: 0; bottom: 0; left: 0; width: 0; background: var(--ink); border-radius: 4px; transition: width 1.2s var(--ease); }
.meter .fill.nope { background: repeating-linear-gradient(45deg, var(--warn) 0 5px, transparent 5px 9px); left: auto; right: 0; }
.meter .row { display: flex; justify-content: space-between; gap: 8px; }

.phantom { width: 300px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 20px 60px rgb(0 0 0 / .22); padding: 18px; display: grid; gap: 12px; }
.phantom .ph-top { display: flex; align-items: center; gap: 10px; }
.phantom .ph-logo { width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; }
.phantom .ph-top small { display: block; color: var(--muted); font-size: .74rem; }
.phantom .big { font-size: 1.5rem; font-weight: 700; letter-spacing: -.04em; }
.phantom ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: .8rem; }
.phantom li { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); transition: color .3s; }
.phantom li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line); flex: none; margin-top: 2px; transition: all .3s; }
.phantom li.done { color: var(--text); }
.phantom li.done::before { background: var(--ok); border-color: var(--ok); box-shadow: inset 0 0 0 2.5px var(--card); }
.phantom .approve { display: block; text-align: center; background: var(--ink); color: var(--on-ink); border-radius: 10px; padding: 10px; font-weight: 600; font-size: .9rem; transition: transform .15s, opacity .3s; }
.phantom .approve.pressed { transform: scale(.96); opacity: .5; }
.phantom.short ul { display: none; }
.cursor { width: 22px; height: 22px; }
.cursor svg { display: block; filter: drop-shadow(0 2px 3px rgb(0 0 0 / .3)); }

.chain { background: var(--field); border: 1px solid var(--line); border-radius: 12px; padding: 8px; display: flex; flex-direction: column; gap: 4px; }
.chain .slot { font-family: ui-monospace, monospace; font-size: .66rem; color: var(--muted); white-space: nowrap; overflow: hidden; }
.chain .b { height: 8px; border-radius: 3px; background: var(--bar); flex: none; }
.chain .fillers { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.chain .bot { margin-top: auto; display: flex; flex-direction: column; gap: 4px; }
.chain.hit { border-color: var(--ink); }
.caption { font-size: .82rem; color: var(--muted); text-align: center; }
.caption b { color: var(--text); }
.caption .ok { color: var(--ok); font-weight: 600; }

.sell { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: grid; gap: 8px; box-shadow: var(--shadow); font-size: .8rem; }
.sell .hd { display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.sell .ws { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 5px; }
.sell .w { display: flex; justify-content: space-between; gap: 6px; border: 1px solid var(--ink); border-radius: 7px; padding: 4px 8px; color: var(--muted); font-size: .74rem; }
.sell .w b { color: var(--text); font-weight: 500; font-family: ui-monospace, monospace; }
.sell .pcts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sell .pcts span { text-align: center; border-radius: 7px; padding: 6px; background: var(--soft); font-weight: 600; transition: all .25s; }
.sell .pcts span.on { background: var(--ink); color: var(--on-ink); }
.lines { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .4s; opacity: 0; }
.lines path { fill: none; stroke: var(--muted); stroke-width: 1.3; stroke-dasharray: 4 5; opacity: .6; }

/* Hero loop styles: each fills #hero-stage */
.loop-host { position: absolute; inset: 0; }
.loop-host:not(.on) { display: none; }

/* Flow map */
.flow { padding: 16px 22px; }
.fl { position: relative; height: 100%; display: grid; grid-template-rows: repeat(6, 1fr); gap: 4px; }
.fl-rail { position: absolute; left: 13px; top: 8%; bottom: 8%; width: 2px; background: var(--line); }
.fl-dot { position: absolute; left: -5px; top: 0; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--ink); box-shadow: 0 0 0 5px color-mix(in srgb, var(--ink) 10%, transparent); transition: transform .6s var(--ease); z-index: 2; }
.fl-row { position: relative; display: grid; grid-template-columns: 28px 72px minmax(0, 1fr); align-items: center; gap: 12px; opacity: .3; transition: opacity .4s; }
.fl-row.done { opacity: .62; }
.fl-row.on { opacity: 1; }
.fl-n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); border: 1.5px solid var(--line); font-size: .72rem; font-weight: 700; color: var(--muted); z-index: 1; transition: all .3s; }
.fl-row.done .fl-n { border-color: var(--ink); color: var(--text); }
.fl-row.on .fl-n { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.fl-l { font-size: .8rem; font-weight: 700; color: var(--muted); }
.fl-row.on .fl-l { color: var(--text); }
.fl-b { min-width: 0; display: flex; align-items: center; }
.fl-card, .fl-ph { display: inline-flex; align-items: center; gap: 9px; background: var(--card); border: 1px solid var(--line); border-radius: 11px; padding: 6px 12px 6px 6px; font-size: .82rem; }
.fl-card img { width: 30px; height: 30px; border-radius: 7px; }
.fl-card small { color: var(--muted); font-size: .72rem; }
.fl-mints { display: flex; gap: 6px; flex-wrap: wrap; }
.fl-mint { display: inline-flex; align-items: center; gap: 5px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 4px 7px; font-size: .74rem; font-weight: 700; }
.fl-mint img { width: 16px; height: 16px; border-radius: 4px; }
.fl-mint:first-child { border-color: var(--ink); }
.fl-mint em, .fl-lock { font-style: normal; font-size: .56rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--ink); color: var(--on-ink); border-radius: 99px; padding: 1px 6px; }
.fl-ph { box-shadow: var(--shadow); padding: 7px 12px 7px 7px; }
.fl-ic { width: 26px; height: 26px; border-radius: 7px; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; }
.fl-check { color: var(--ok); font-weight: 700; }
.fl-bundle { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fl-caps { display: inline-flex; gap: 3px; padding: 4px; border: 1.5px solid var(--ink); border-radius: 10px; }
.fl-caps i { font-style: normal; background: var(--ink); color: var(--on-ink); border-radius: 6px; padding: 4px 9px; font-size: .72rem; font-weight: 700; }
.fl-caps.mini { padding: 2px; border-radius: 5px; gap: 2px; }
.fl-caps.mini i { width: 9px; height: 12px; padding: 0; border-radius: 2px; }
.fl-lock { display: inline-flex; align-items: center; gap: 4px; background: var(--bg); color: var(--text); border: 1.5px solid var(--ink); padding: 2px 8px; }
.fl-blocks { display: flex; gap: 8px; }
.fl-blk { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--field); border-radius: 9px; padding: 6px 9px; }
.fl-blk small { color: var(--muted); font-size: .64rem; }
.fl-copies { display: flex; gap: 3px; }
.fl-copies b { border: 1.5px solid var(--ink); border-radius: 4px; font-size: .62rem; padding: 0 4px; }
.fl-sell { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: .76rem; }
.fl-st { display: flex; gap: 3px; }
.fl-st i { font-style: normal; width: 18px; height: 18px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; font-size: .62rem; font-weight: 800; }
.fl-pcts { display: flex; gap: 4px; }
.fl-pcts b { background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; font-size: .72rem; }
.fl-pcts b.fl-hl { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.fl-row.on .fl-a { animation: flPop .5s var(--ease) both; animation-delay: var(--d, 0s); }
.fl-row.on .fl-caps.gather { animation: flSeal .4s ease both 1s; }
.fl-row.on .fl-caps.gather i { animation: flGather .7s var(--ease) both; animation-delay: var(--d); }
.fl-row.on .fl-drop { animation: flDrop .5s var(--ease) both; animation-delay: var(--d, 0s); }
.fl-row.on .fl-hl { animation: flHl .4s ease both 1.2s; }
@keyframes flPop { from { opacity: 0; transform: scale(.7); } }
@keyframes flGather { from { opacity: .5; transform: translateX(var(--sx)) translateY(-7px) rotate(var(--r)); } }
@keyframes flSeal { from { border-color: transparent; } }
@keyframes flDrop { from { opacity: 0; transform: translateY(-16px); } }
@keyframes flHl { from { background: var(--soft); color: var(--text); border-color: var(--line); } }

/* Bot console */
.con-host { padding: 14px; }
.con { height: 100%; background: #0e100e; border: 1px solid #262b25; border-radius: 12px; display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--shadow); }
.con-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid #262b25; color: #7d857a; font: 600 .7rem ui-monospace, monospace; }
.con-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2c332b; }
.con-bar span { margin-left: 8px; }
.con-body { flex: 1; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 12px 14px; font: .74rem/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; color: #cfd5cb; white-space: pre; }
.con-body .d { color: #6f786c; } .con-body .g { color: #7fdc9d; } .con-body .y { color: #e8c36c; } .con-body .w { color: #fff; font-weight: 700; } .con-body .c { color: #9ecbff; }
.con-body .ln { animation: conIn .25s ease both; }
@keyframes conIn { from { opacity: 0; transform: translateY(4px); } }
.con-row { display: block; width: 42ch; padding: 0 1ch; border-left: 1.5px solid #fff; border-right: 1.5px solid #fff; }
.con-row.t { border-top: 1.5px solid #fff; border-radius: 7px 7px 0 0; margin-top: 8px; padding-top: 6px; position: relative; }
.con-row.b { border-bottom: 1.5px solid #fff; border-radius: 0 0 7px 7px; padding-bottom: 6px; margin-bottom: 8px; position: relative; }
.con-row .lab { position: absolute; left: 1ch; top: -.8em; background: #0e100e; padding: 0 .6ch; color: #fff; font-weight: 700; }
.con-row.b .lab { top: auto; bottom: -.8em; }
.con-cur { display: inline-block; width: .6em; height: 1.1em; background: #cfd5cb; vertical-align: -3px; margin-left: 2px; animation: blink 1s steps(1) infinite; }

/* App demo */
.app-host { padding: 14px; }
.app { position: relative; height: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); font-size: .8rem; }
.app-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; }
.app-brand { display: flex; align-items: center; gap: 6px; font-weight: 700; letter-spacing: -.04em; }
.app-brand img { width: 20px; height: 20px; border-radius: 5px; }
.app-brand .pill { font-size: .58rem; letter-spacing: 0; }
.app-chip { border: 1px solid var(--line); border-radius: 7px; padding: 3px 7px; font-size: .66rem; }
.app-tabs { display: flex; justify-content: center; gap: 16px; border-bottom: 1px solid var(--line); font-size: .74rem; color: var(--muted); }
.app-tabs span { padding: 6px 4px; border-bottom: 2px solid transparent; transition: all .3s; }
.app-tabs span.on { color: var(--text); font-weight: 600; border-bottom-color: var(--ink); }
.app-views { position: relative; flex: 1; }
.app-views section { position: absolute; inset: 0; padding: 14px 18px; display: flex; flex-direction: column; gap: 10px; opacity: 0; transform: translateX(14px); transition: opacity .3s, transform .45s var(--ease); }
.app-views section.on { opacity: 1; transform: none; }
.app-steps { display: flex; gap: 12px; font-size: .66rem; color: var(--muted); }
.app-steps b { font-weight: 500; } .app-steps b.on { color: var(--text); font-weight: 700; }
.app h4 { margin: 0; font-size: 1.05rem; letter-spacing: -.04em; }
.app label { display: grid; gap: 4px; font-size: .7rem; font-weight: 500; }
.app-in { display: block; min-height: 30px; background: var(--field); border: 1px solid var(--line); border-radius: 7px; padding: 6px 9px; font-weight: 400; font-size: .78rem; transition: border-color .2s; white-space: nowrap; overflow: hidden; }
.app-in.sm { min-height: 26px; padding: 4px 8px; }
.app-in.focus { border-color: var(--ink); }
.app-token { display: flex; gap: 12px; }
.app-img { width: 84px; height: 84px; border: 1px dashed #b8beb4; border-radius: 10px; overflow: hidden; flex: none; background: var(--field); }
.app-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(.8); transition: all .4s var(--ease); }
.app-img.set img { opacity: 1; transform: none; }
.app-fields { flex: 1; display: grid; gap: 8px; }
.app-bar { margin-top: auto; display: flex; justify-content: flex-end; border-top: 1px solid var(--line); padding-top: 10px; }
.app-btn, .app-pcts span { background: var(--ink); color: var(--on-ink); border-radius: 7px; padding: 7px 14px; font-weight: 600; transition: transform .12s, filter .2s; text-align: center; }
.press { transform: scale(.93); filter: brightness(.75); }
.app-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.app-wl { display: grid; gap: 5px; }
.app-wl div { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 8px; font-size: .72rem; }
.app-hint { font-size: .68rem; color: var(--muted); margin: 0; }
.app-dl { display: grid; gap: 7px; margin: 0; }
.app-dl div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.app-dl dt { color: var(--muted); } .app-dl dd { margin: 0; font-weight: 600; text-align: right; }
.app-ph { position: absolute; left: 50%; top: 50%; width: 236px; transform: translate(-50%, -40%); opacity: 0; transition: all .4s var(--ease); background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 50px rgb(0 0 0 / .28); padding: 14px; display: grid; gap: 8px; z-index: 5; }
.app-ph.on { opacity: 1; transform: translate(-50%, -50%); }
.app-ph .big { font-size: 1.2rem; font-weight: 700; letter-spacing: -.03em; }
.app-ph small { color: var(--muted); }
.app-tr { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 9px; padding: 6px 9px; background: var(--card); }
.app-tr img { width: 22px; height: 22px; border-radius: 5px; }
.app-tr .pill { margin-left: auto; }
.app-tr .mono { color: var(--muted); font-size: .68rem; }
.app-b1 { border: 1.5px solid var(--ink); border-radius: 11px; padding: 6px; display: grid; gap: 6px; }
.app-b1 .app-tr { border: 0; padding: 2px 3px; }
.app-caps { display: flex; gap: 4px; }
.app-caps i { flex: 1; font-style: normal; text-align: center; background: var(--ink); color: var(--on-ink); border-radius: 5px; padding: 4px 0; font-size: .64rem; font-weight: 600; transition: transform .55s var(--ease), opacity .3s; }
.app-caps.loose i { opacity: .55; }
.app-caps.loose i:nth-child(odd) { transform: translate(-6px, -7px) rotate(-7deg); }
.app-caps.loose i:nth-child(even) { transform: translate(6px, 6px) rotate(6deg); }
.app-seal { font-size: .66rem; text-align: center; color: var(--muted); min-height: 1.2em; }
.app-seal b { color: var(--text); }
.app-sel { border: 1px solid var(--line); border-radius: 7px; padding: 6px 9px; background: var(--field); display: flex; justify-content: space-between; }
.app-ck { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 8px; padding: 5px 9px; font-size: .74rem; }
.app-ck::before { content: "✓"; width: 14px; height: 14px; border-radius: 4px; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; font-size: .58rem; }
.app-ck b { margin-left: auto; font-family: ui-monospace, monospace; font-weight: 500; }
.app-pcts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.app-pcts span { padding: 6px; }
.app-res { font-size: .74rem; color: var(--ok); font-weight: 600; min-height: 1.2em; margin: 0; }
.app-cur { position: absolute; left: 0; top: 0; z-index: 9; opacity: 0; transition: transform .7s var(--ease), opacity .3s; }
.app-cur svg { display: block; filter: drop-shadow(0 2px 3px rgb(0 0 0 / .3)); }
@media (max-width: 880px) {
  .fl-row { grid-template-columns: 24px minmax(0, 1fr); gap: 10px; }
  .fl-n { width: 24px; height: 24px; }
  .fl-rail { left: 11px; } .fl-dot { left: -5px; width: 34px; height: 34px; }
  .fl-l { display: none; }
  .flow { padding: 10px 12px; }
  .fl-mint { padding: 3px 5px; font-size: .66rem; } .fl-mint img { display: none; }
  .fl-caps i { padding: 3px 6px; font-size: .64rem; }
  .fl-lock { display: none; }
  .con-host, .app-host { padding: 8px; }
  .con-body { font-size: .58rem; padding: 10px; }
  .app-steps, .app-hint, .app-chip { display: none; }
  .app-views section { padding: 10px 12px; gap: 7px; }
  .app-token .app-img { width: 64px; height: 64px; }
  .app-tr { padding: 3px 8px; } .app-tr img { width: 18px; height: 18px; }
  .app-views section[data-v="activity"] h4 { display: none; }
}
@media (prefers-reduced-motion: reduce) { .fl *, .con-body .ln { animation: none !important; } }

/* Trust split */
.section { padding: 110px 0; }
.section.alt { background: var(--soft); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 44px; }
.side { border: 1px solid var(--line); border-radius: 18px; background: var(--card); padding: 26px; display: grid; gap: 16px; align-content: start; }
.side .side-h { display: flex; justify-content: space-between; align-items: baseline; }
.side .side-h b { font-size: 1.2rem; letter-spacing: -.03em; }
.side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.side li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .95rem; }
.side li small { display: block; color: var(--muted); font-size: .84rem; margin-top: 2px; }
.side li i { font-style: normal; width: 22px; height: 22px; border-radius: 6px; background: var(--soft); display: grid; place-items: center; font-size: .7rem; font-weight: 700; margin-top: 1px; }
.side.you { border-color: var(--ink); }
.side.you li i { background: var(--ink); color: var(--on-ink); }
.never { margin-top: 18px; display: flex; align-items: center; gap: 14px; justify-content: center; font-size: .92rem; color: var(--muted); flex-wrap: wrap; text-align: center; }
.never b { color: var(--text); }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.cardx { border: 1px solid var(--line); border-radius: 18px; padding: 24px; background: var(--card); display: grid; gap: 10px; align-content: start; }
.cardx .big { font-size: 2.4rem; font-weight: 700; letter-spacing: -.06em; line-height: 1; }
.cardx p { color: var(--muted); font-size: .94rem; }

/* FAQ */
.faq { max-width: 760px; margin-top: 36px; }
.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-weight: 600; font-size: 1.04rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 1.3rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin-top: 10px; color: var(--muted); max-width: 640px; }
.cta { text-align: center; padding: 130px 0 120px; }
.cta h2 { font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: -.06em; }
.cta p { margin: 18px auto 30px; color: var(--muted); max-width: 520px; }
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: .82rem; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }


/* Mobile */
@media (max-width: 880px) {
  .wrap { padding: 0 16px; }
  .nav a.hide-sm { display: none; }
  .hero { padding-top: 32px; }
  body[data-hero] .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  body[data-hero] .hero-copy { text-align: center; }
  body[data-hero] .hero .ctas, body[data-hero] .hero .facts { justify-content: center; }
  body[data-hero] .hero .lede { margin-left: auto; margin-right: auto; font-size: 1rem; }
  body[data-hero] .hero h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .loop { margin: 0 -8px; }
  body[data-hero] #hero-stage { height: 380px; }
  .loop-steps { padding: 10px 10px 8px; gap: 4px; }
  .loop-steps .lbl { display: none; }
  .loop-steps button.on .lbl { display: inline; }
  .loop-cap small { display: none; }
  .belt-head { padding: 0 16px; }
  .how { padding-top: 80px; }
  .scrolly { display: flex; flex-direction: column; margin-top: 28px; }
  .stage-col { order: -1; position: sticky; top: 68px; z-index: 5; margin: 0 -16px; padding: 0 16px 8px; background: var(--bg); }
  .stage-sticky { position: static; }
  #stage { height: min(360px, 46vh); }
  .stage-foot { padding: 7px 12px; }
  #stage-label { display: none; }
  .steps { padding-bottom: 30vh; }
  .step { min-height: 62vh; justify-content: flex-start; padding-top: 24px; }
  .step h3 { font-size: 1.45rem; }
  .step p { font-size: .95rem; }
  .split, .cards3 { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .el, .meter .fill { transition-duration: .01s !important; }
  .caret::after { animation: none; }
}
