/* JevETF. Light pink paper, white cards, one rose accent. Slabs start with a
 * rounded lip over the one before; display type is short and centred; numbers
 * are mono. The same sheet dresses the landing, the desk, create and docs. */
@font-face { font-family: "Uxum Grotesque"; font-weight: 400; font-style: normal; font-display: swap; src: url("https://framerusercontent.com/assets/pexfO5izGLBcHiyniDYIZUv6ls0.woff2") format("woff2"); }
@font-face { font-family: "Uxum Grotesque"; font-weight: 500; font-style: normal; font-display: swap; src: url("https://framerusercontent.com/assets/ci6qYgtb6YEPPF81fGDWEKf7bw.woff2") format("woff2"); }
@font-face { font-family: "Uxum Grotesque"; font-weight: 700; font-style: normal; font-display: swap; src: url("https://framerusercontent.com/assets/p3seIywnIAnIXHuYThOPrNgZfo.woff2") format("woff2"); }
:root {
  --paper: #fff6fa;
  --pink: #ffe3ee;
  --pink-2: #ffd3e4;
  --white: #ffffff;
  --ink: #1c0c14;
  --ink-2: #6d5a64;
  --mute: #a3909a;
  --line: rgba(28, 12, 20, .08);
  --line-2: rgba(28, 12, 20, .14);
  --rose: #ff3d8f;
  --rose-2: #f0237a;
  --rose-soft: rgba(255, 61, 143, .12);
  --dark: #1c0c14;
  --dark-2: #2a1621;
  --on-dark: #fff3f8;
  --on-dark-2: #c9b3bf;
  --up: #1fa971;
  --down: #e0405a;
  --display: "Uxum Grotesque", "Inter Tight", ui-sans-serif, system-ui, sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --lip: 32px;
  --r: 22px;
  --max: 1120px;
  --g: 20px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; overflow-x: hidden; scroll-behavior: auto; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
p, h1, h2, h3, h4 { margin: 0; }
img, svg { display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--g); }
.m { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.up { color: var(--up); } .down { color: var(--down); }
.rose { color: var(--rose); }
::selection { background: var(--pink-2); }

/* ── nav ─────────────────────────────────────────────── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 30; height: 68px; display: flex; align-items: center; transition: background .25s, box-shadow .25s; }
.nav.is-solid { background: rgba(255, 246, 250, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav .wrap { width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.brand { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand .mark { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, #ff7ab5, var(--rose-2)); position: relative; box-shadow: 0 4px 14px rgba(255, 61, 143, .28); }
.brand .mark::after { content: ""; position: absolute; left: 5px; right: 5px; top: 6px; height: 3px; border-radius: 2px; background: #fff; box-shadow: 0 5px 0 #fff, 0 5px 0 -1px rgba(255,255,255,0); }
.brand .mark::before { content: ""; position: absolute; left: 5px; width: 7px; top: 11px; height: 3px; border-radius: 2px; background: #fff; }
.nav .links { display: flex; gap: 26px; font-size: 15px; color: var(--ink-2); }
.nav .links a:hover, .nav .links a.is-here { color: var(--ink); }
.nav .right { justify-self: end; display: flex; gap: 8px; align-items: center; }
@media (max-width: 720px) { .nav .links { display: none; } .nav .wrap { grid-template-columns: 1fr auto; } }

/* ── buttons ─────────────────────────────────────────── */
.pill { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px 0 8px; border-radius: 999px; background: linear-gradient(135deg, #ff7ab5, var(--rose-2)); color: #fff; font-weight: 500; font-size: 15px; transition: transform .15s ease, box-shadow .15s; box-shadow: 0 8px 26px rgba(255, 61, 143, .25); white-space: nowrap; }
.pill:hover { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(255, 61, 143, .34); }
.pill .o { width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .22); display: grid; place-items: center; flex: none; }
.pill .o::after { content: ""; width: 9px; height: 9px; border-radius: 2px; background: #fff; }
.pill.ghost { background: var(--white); color: var(--ink); border: 1px solid var(--line-2); padding: 0 20px; box-shadow: none; }
.pill.ghost:hover { background: #fff; box-shadow: 0 6px 18px rgba(28, 12, 20, .06); }
.pill.sm { height: 38px; font-size: 14px; padding: 0 16px 0 6px; }
.pill.sm .o { width: 26px; height: 26px; }
.pill.sm.ghost { padding: 0 16px; }
.pill.dark { background: var(--ink); color: #fff; box-shadow: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 500; font-size: 14.5px; transition: transform .12s, opacity .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn.accent { background: linear-gradient(135deg, #ff7ab5, var(--rose-2)); }
.btn.ghost { background: var(--white); color: var(--ink); border: 1px solid var(--line-2); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 10px; }
.btn.is-busy, .btn:disabled { opacity: .55; pointer-events: none; }
.btn.is-busy::after { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); border-top-color: #fff; animation: spin .7s linear infinite; }
.btn.ghost.is-busy::after { border-color: var(--line-2); border-top-color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

/* wallet chip */
.wchip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); font-family: var(--mono); font-size: 12px; }
.wchip .id, .acct .id { width: 10px; height: 10px; border-radius: 3px; background: linear-gradient(135deg, hsl(var(--h, 330deg) 90% 62%), hsl(calc(var(--h, 330deg) + 40deg) 90% 50%)); flex: none; }
.wchip .bal { color: var(--ink-2); padding-left: 8px; border-left: 1px solid var(--line-2); }
.wchip.is-wrong { color: var(--down); border-color: rgba(224, 64, 90, .5); }

/* ── slabs ───────────────────────────────────────────── */
.slab { position: relative; padding: 96px 0 104px; }
.slab.pink { background: var(--pink); border-radius: var(--lip) var(--lip) 0 0; margin-top: calc(-1 * var(--lip)); background-image: radial-gradient(rgba(255, 61, 143, .09) 1px, transparent 1px); background-size: 22px 22px; }
.slab.paper { background: var(--paper); border-radius: var(--lip) var(--lip) 0 0; margin-top: calc(-1 * var(--lip)); }
.slab.dark { background: var(--dark); color: var(--on-dark); border-radius: var(--lip) var(--lip) 0 0; margin-top: calc(-1 * var(--lip)); }
.slab .head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.label { display: block; font-size: 14px; font-weight: 500; color: var(--rose); margin-bottom: 14px; }
h2.d { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 5vw, 56px); line-height: 1.02; letter-spacing: -0.035em; }
.slab .head p { margin: 18px auto 0; max-width: 56ch; font-size: 16.5px; line-height: 1.55; color: var(--ink-2); }
.slab.dark .head p { color: var(--on-dark-2); }

/* ── hero ────────────────────────────────────────────── */
.hero { padding: 150px 0 72px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 80%; background: radial-gradient(60% 60% at 50% 30%, rgba(255, 61, 143, .16), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(42px, 7.2vw, 88px); line-height: 1; letter-spacing: -0.04em; max-width: 13ch; margin: 0 auto; }
.hero h1 .coins { display: inline-flex; vertical-align: -0.08em; margin: 0 .06em; }
.hero h1 .coins img { width: .82em; height: .82em; border-radius: 50%; border: 3px solid var(--paper); margin-left: -.28em; box-shadow: 0 8px 20px rgba(28, 12, 20, .14); background: #fff; }
.hero h1 .coins img:first-child { margin-left: 0; }
.hero .sub { margin: 26px auto 0; max-width: 54ch; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.hero .cta { margin-top: 30px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* stat card: label over value */
.stats { text-align: left; margin: 64px auto 0; max-width: 900px; background: var(--white); border-radius: 26px; padding: 8px; display: grid; grid-template-columns: repeat(4, 1fr); box-shadow: 0 1px 0 var(--line), 0 24px 60px -30px rgba(255, 61, 143, .25); }
.stats > div { padding: 20px 22px; border-radius: 18px; }
.stats .k { font-size: 13px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.stats .k i { width: 8px; height: 8px; border-radius: 50%; background: var(--pink-2); }
.stats .k i.live { background: var(--rose); box-shadow: 0 0 0 4px var(--rose-soft); }
.stats > div:first-child .v { color: var(--rose); }
.stats .v { margin-top: 8px; font-family: var(--display); font-weight: 500; font-size: 28px; letter-spacing: -0.02em; line-height: 1; }
.stats .v small { font-size: 13px; color: var(--mute); margin-left: 6px; font-family: var(--sans); font-weight: 400; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }

/* the coin */
.ca { margin: 22px auto 0; display: inline-flex; align-items: center; gap: 12px; height: 40px; padding: 0 6px 0 14px; border-radius: 999px; background: var(--white); box-shadow: 0 1px 0 var(--line); font-size: 13px; max-width: 100%; }
.ca .t { color: var(--rose); font-weight: 500; }
.ca .a { color: var(--ink-2); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46vw; }
.ca .a:hover { color: var(--ink); }
.ca .cp { height: 28px; padding: 0 12px; border-radius: 999px; background: var(--pink); font-size: 12.5px; font-weight: 500; }
.ca .cp:hover { background: var(--pink-2); }
.ca .cp.is-done { background: var(--rose); color: #fff; }

/* token row */
.tokens { margin-top: 56px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; opacity: .6; filter: grayscale(1); transition: opacity .3s, filter .3s; }
.tokens:hover { opacity: 1; filter: none; }
.tokens a { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.tokens img { width: 22px; height: 22px; border-radius: 50%; background: #fff; }

/* ── cards ───────────────────────────────────────────── */
.card { background: var(--white); border-radius: var(--r); padding: 26px; box-shadow: 0 1px 0 var(--line); }
.slab.dark .card { background: var(--dark-2); color: var(--on-dark); box-shadow: none; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.three .card h3 { font-family: var(--display); font-weight: 500; font-size: 22px; letter-spacing: -0.02em; margin-top: 18px; }
.three .card p { margin-top: 10px; font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.slab.dark .three .card p { color: var(--on-dark-2); }
.glyph { width: 44px; height: 44px; border-radius: 14px; background: var(--pink); display: grid; place-items: center; }
.glyph svg { width: 22px; height: 22px; fill: none; stroke: var(--rose-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.step { font-family: var(--mono); font-size: 12px; color: var(--rose); }
.kv { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; gap: 18px 28px; flex-wrap: wrap; }
.kv .k { font-size: 12px; color: var(--mute); }
.kv .v { margin-top: 4px; font-family: var(--mono); font-size: 14px; }
.slab.dark .kv { border-color: rgba(255, 255, 255, .1); }
@media (max-width: 860px) { .three { grid-template-columns: 1fr; } }

/* weights bar */
.wbar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--pink); gap: 2px; }
.wbar i { display: block; height: 100%; background: var(--rose); transform-origin: left; transition: width .9s cubic-bezier(.2, .7, .2, 1); }
.wbar i.cash { background: var(--pink-2); }
.wbar i:nth-child(2) { opacity: .85; } .wbar i:nth-child(3) { opacity: .7; } .wbar i:nth-child(4) { opacity: .58; } .wbar i:nth-child(5) { opacity: .48; } .wbar i:nth-child(6) { opacity: .4; } .wbar i:nth-child(7) { opacity: .34; } .wbar i:nth-child(8) { opacity: .3; } .wbar i:nth-child(9) { opacity: .26; } .wbar i:nth-child(10) { opacity: .22; }
.wkey { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); }
.wkey span b { font-weight: 500; color: var(--ink); }
.slab.dark .wbar { background: rgba(255, 255, 255, .08); }
.slab.dark .wkey { color: var(--on-dark-2); } .slab.dark .wkey span b { color: var(--on-dark); }

/* ETF rows (landing) and cards (desk) */
.etfs { display: grid; gap: 12px; }
.etf { display: grid; grid-template-columns: 1.3fr 1fr 2fr auto; gap: 22px; align-items: center; background: var(--white); border-radius: 20px; padding: 20px 22px; box-shadow: 0 1px 0 var(--line); transition: transform .15s, box-shadow .15s; }
.etf:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -14px rgba(255, 61, 143, .35); }
.etf .nm { font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: -0.02em; }
.etf .sy { font-family: var(--mono); font-size: 12px; color: var(--mute); margin-top: 2px; }
.etf .nav-v { font-family: var(--mono); font-size: 15px; }
.etf .nav-v small { display: block; font-size: 11.5px; color: var(--mute); margin-top: 2px; font-family: var(--sans); }
.etf .go { width: 40px; height: 40px; border-radius: 50%; background: var(--pink); display: grid; place-items: center; color: var(--rose-2); font-size: 18px; }
@media (max-width: 860px) { .etf { grid-template-columns: 1fr auto; } .etf .wcol { grid-column: 1 / -1; } }

/* tabs pill + big card */
.tabs { display: flex; gap: 4px; margin: 0 auto 22px; padding: 6px; background: var(--dark-2); border-radius: 999px; width: fit-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { height: 42px; padding: 0 18px; border-radius: 999px; font-weight: 500; font-size: 14.5px; color: var(--on-dark-2); white-space: nowrap; }
.tabs button.is-on { background: var(--paper); color: var(--ink); }
.bigcard { background: var(--dark-2); border-radius: 26px; padding: 30px; max-width: 900px; margin: 0 auto; min-height: 260px; }
.bigcard h3 { font-family: var(--display); font-weight: 500; font-size: 26px; letter-spacing: -0.02em; }
.bigcard > p { margin-top: 8px; color: var(--on-dark-2); font-size: 15px; }
.bigcard pre { margin: 18px 0 0; padding: 18px; border-radius: 16px; background: rgba(0, 0, 0, .35); color: #ffd6e7; font: 12.5px/1.55 var(--mono); overflow: auto; max-height: 360px; white-space: pre-wrap; word-break: break-word; }
.bigcard .row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.bigcard .row:first-of-type { border-top: 0; }
.bigcard .row .k { color: var(--on-dark-2); }
.bigcard .row .v { font-family: var(--mono); text-align: right; }
.bigcard .ans { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-top: 18px; }
.bigcard .ans > div { background: rgba(255, 255, 255, .05); border-radius: 14px; padding: 14px; }
.bigcard .ans .q { font-family: var(--mono); font-size: 12px; color: var(--on-dark-2); }
.bigcard .ans .s { margin-top: 8px; font-family: var(--display); font-size: 24px; font-weight: 500; }
.bigcard .ans .s small { font-size: 12px; color: var(--on-dark-2); margin-left: 6px; font-family: var(--sans); }
.bigcard .ans .bar { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .1); margin-top: 10px; overflow: hidden; }
.bigcard .ans .bar i { display: block; height: 100%; background: var(--rose); }
.bigcard .ans .t { margin-top: 8px; font-size: 12px; color: var(--on-dark-2); }
@media (max-width: 720px) { .bigcard { padding: 22px; border-radius: 22px; } .tabs button { padding: 0 14px; font-size: 13.5px; } }

/* split with list */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.split .copy h2 { text-align: left; }
.split .copy p { margin-top: 18px; color: var(--ink-2); max-width: 46ch; }
.list { background: var(--white); border-radius: var(--r); padding: 8px; box-shadow: 0 1px 0 var(--line); }
.list .r { display: grid; grid-template-columns: 30px 1fr auto auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 14px; font-size: 14px; }
.list .r:hover { background: var(--paper); }
.list .r img { width: 30px; height: 30px; border-radius: 50%; background: #fff; }
.list .r .s { font-weight: 500; }
.list .r .s small { display: block; font-size: 12px; color: var(--mute); font-weight: 400; }
.list .r .p { font-family: var(--mono); font-size: 13.5px; text-align: right; }
.list .r .c { font-family: var(--mono); font-size: 12.5px; min-width: 64px; text-align: right; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* faq */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--white); border-radius: 18px; padding: 0 22px; box-shadow: 0 1px 0 var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 500; font-size: 16px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--rose); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--ink-2); font-size: 15px; }

/* footer */
.foot { padding: 60px 0 40px; }
.foot .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.foot .contracts { font-family: var(--mono); font-size: 12px; color: var(--ink-2); display: grid; gap: 6px; }
.foot .contracts a:hover { color: var(--ink); }
.foot .links { display: flex; gap: 18px; font-size: 14px; color: var(--ink-2); }
.foot .big { font-family: var(--display); font-weight: 700; font-size: clamp(60px, 14vw, 180px); letter-spacing: -0.05em; line-height: .9; color: var(--pink-2); margin-top: 40px; user-select: none; }
@media (max-width: 720px) { .foot .wrap { grid-template-columns: 1fr; } }

/* ── desk (app) ──────────────────────────────────────── */
.page { padding: 110px 0 80px; }
.page h1 { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 5vw, 52px); letter-spacing: -0.035em; line-height: 1.02; }
.page .lede { margin-top: 12px; color: var(--ink-2); max-width: 60ch; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 28px; }
.kpis > div { background: var(--white); border-radius: 18px; padding: 16px 18px; box-shadow: 0 1px 0 var(--line); }
.kpis .k { font-size: 12.5px; color: var(--ink-2); }
.kpis .v { margin-top: 6px; font-family: var(--mono); font-size: 20px; }
.kpis .v small { font-size: 12px; color: var(--mute); margin-left: 8px; font-family: var(--sans); }
@media (max-width: 860px) { .kpis { grid-template-columns: 1fr 1fr; } }
.grid2 { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; margin-top: 18px; align-items: start; }
@media (max-width: 900px) { .grid2 { grid-template-columns: 1fr; } }
.sec { margin-top: 28px; }
.sec .t { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 12px; }
.sec .t h2 { font-family: var(--display); font-weight: 500; font-size: 22px; letter-spacing: -0.02em; }
.sec .t span { font-size: 13px; color: var(--ink-2); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-weight: 400; font-size: 12px; color: var(--mute); padding: 0 12px 10px; }
.tbl td { padding: 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.tbl td.n, .tbl th.n { text-align: right; font-family: var(--mono); font-size: 13.5px; }
.tbl .sym { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.tbl .sym img { width: 26px; height: 26px; border-radius: 50%; background: #fff; }
.tbl .tv { display: flex; align-items: center; gap: 10px; }
.tbl .tv .bar { flex: 1; height: 6px; border-radius: 3px; background: var(--pink); position: relative; overflow: hidden; }
.tbl .tv .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--rose); border-radius: 3px; }
.tbl .tv .bar b { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ink); }
.box { background: var(--white); border-radius: var(--r); padding: 22px; box-shadow: 0 1px 0 var(--line); }
.box h3 { font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: -0.02em; }
.box .note { margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.f { margin-top: 14px; }
.f label { display: block; font-size: 12.5px; color: var(--ink-2); margin-bottom: 6px; }
.in { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 6px 0 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--paper); }
.in:focus-within { border-color: var(--rose); box-shadow: 0 0 0 4px var(--rose-soft); }
.in input { flex: 1; min-width: 0; border: 0; background: none; outline: 0; font-family: var(--mono); font-size: 16px; }
.in .u { font-family: var(--mono); font-size: 12.5px; color: var(--mute); padding-right: 6px; }
.in .mx { height: 32px; padding: 0 10px; border-radius: 9px; background: var(--white); border: 1px solid var(--line-2); font-size: 12.5px; }
.seg { display: inline-flex; padding: 4px; background: var(--paper); border-radius: 12px; border: 1px solid var(--line); }
.seg button { height: 32px; padding: 0 14px; border-radius: 9px; font-size: 13.5px; color: var(--ink-2); }
.seg button.is-on { background: var(--white); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
textarea.ta { width: 100%; min-height: 120px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--paper); outline: 0; resize: vertical; font-size: 15px; line-height: 1.5; }
textarea.ta:focus { border-color: var(--rose); box-shadow: 0 0 0 4px var(--rose-soft); }
input.tx { width: 100%; height: 46px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--paper); outline: 0; }
input.tx:focus { border-color: var(--rose); box-shadow: 0 0 0 4px var(--rose-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 6px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); font-size: 13.5px; font-weight: 500; transition: border-color .12s, background .12s; }
.chip img { width: 26px; height: 26px; border-radius: 50%; }
.chip.is-on { border-color: var(--rose); background: var(--rose-soft); }
.chip:disabled { opacity: .4; }
.legrow { display: grid; grid-template-columns: 34px 1fr 90px auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.legrow img { width: 30px; height: 30px; border-radius: 50%; }
.legrow input[type=range] { width: 100%; accent-color: var(--rose); }
.legrow .w { font-family: var(--mono); font-size: 13.5px; text-align: right; }
.legrow .x { width: 28px; height: 28px; border-radius: 50%; background: var(--paper); color: var(--mute); }
.mand { background: var(--pink); border-radius: 16px; padding: 16px 18px; font-size: 15px; line-height: 1.55; white-space: pre-wrap; }
.hash { font-family: var(--mono); font-size: 12px; color: var(--ink-2); word-break: break-all; }
.hash a:hover { color: var(--rose); }
.ledger .r { display: grid; grid-template-columns: 1fr auto auto; gap: 12px 18px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); cursor: pointer; font-size: 14px; }
.ledger .r:first-child { border-top: 0; }
.ledger .r .h { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.ledger .r .c { font-family: var(--mono); font-size: 12.5px; }
.ledger .r .ch { font-family: var(--mono); font-size: 11.5px; color: var(--rose); }
.ledger .x { grid-column: 1 / -1; }
.ledger .x pre { margin: 4px 0 8px; padding: 14px; border-radius: 14px; background: var(--paper); font: 12px/1.5 var(--mono); overflow: auto; max-height: 320px; white-space: pre-wrap; word-break: break-word; }
.empty { padding: 26px; text-align: center; color: var(--ink-2); font-size: 14.5px; background: var(--white); border-radius: var(--r); box-shadow: 0 1px 0 var(--line); }
.banner { margin-top: 18px; padding: 14px 18px; border-radius: 14px; background: #fff0f3; color: var(--down); font-size: 14px; border: 1px solid rgba(224, 64, 90, .25); }
.banner.ok { background: #eefbf4; color: var(--up); border-color: rgba(31, 169, 113, .25); }

/* sheet + toast */
.sheet-wrap { position: fixed; inset: 0; z-index: 60; background: rgba(28, 12, 20, .35); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; }
.sheet { width: min(440px, 100%); background: var(--white); border-radius: 24px; padding: 26px; box-shadow: 0 30px 80px -30px rgba(28, 12, 20, .4); }
.sheet h3 { font-family: var(--display); font-weight: 500; font-size: 22px; letter-spacing: -0.02em; }
.sheet .note { margin-top: 12px; font-size: 13px; color: var(--ink-2); }
.wals { margin-top: 16px; display: grid; gap: 8px; }
.wal { display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--paper); font-weight: 500; }
.wal:hover { border-color: var(--rose); }
.wal img, .wal-ico { width: 28px; height: 28px; border-radius: 8px; }
.wal-ico { background: var(--pink-2); }
.wal small { margin-left: auto; color: var(--rose); font-size: 12px; font-weight: 400; }
.acct { display: flex; gap: 12px; align-items: center; margin-top: 14px; }
.acct .a { font-family: var(--mono); font-size: 12px; word-break: break-all; }
.acct .b { font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; z-index: 70; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-size: 14px; max-width: min(92vw, 520px); transition: transform .25s, opacity .25s; pointer-events: none; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.toast.is-bad { background: var(--down); }

/* docs */
.docs { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.docs .toc { position: sticky; top: 90px; font-size: 14px; display: grid; gap: 8px; color: var(--ink-2); }
.docs .toc a:hover { color: var(--ink); }
.prose h2 { font-family: var(--display); font-weight: 500; font-size: 26px; letter-spacing: -0.02em; margin-top: 40px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; margin-top: 12px; }
.prose li { margin-top: 6px; }
.prose code { font-family: var(--mono); font-size: 13px; background: var(--pink); padding: 2px 6px; border-radius: 6px; color: var(--ink); }
.prose pre { margin-top: 12px; padding: 16px; border-radius: 14px; background: var(--white); box-shadow: 0 1px 0 var(--line); font: 12.5px/1.55 var(--mono); overflow: auto; }
.prose table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14px; }
.prose td, .prose th { text-align: left; padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 500; font-size: 12.5px; color: var(--mute); border-top: 0; }
@media (max-width: 860px) { .docs { grid-template-columns: 1fr; } .docs .toc { position: static; } }

/* ── motion ──────────────────────────────────────────── */
.has-motion [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
.has-motion [data-reveal].is-in { opacity: 1; transform: none; }
.has-motion .wbar i { width: 0 !important; }
.has-motion .is-in .wbar i, .has-motion .wbar.is-in i { width: var(--w) !important; }
@media (prefers-reduced-motion: reduce) { .has-motion [data-reveal] { opacity: 1; transform: none; transition: none; } }
.list.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 6px; }
@media (max-width: 560px) { .list.cols { grid-template-columns: 1fr; } }
.list.cols .r .s small { display: none; }
.list.cols .r { grid-template-columns: 26px 1fr auto auto; gap: 10px; padding: 10px 12px; }
.list.cols .r img { width: 26px; height: 26px; }
input[type=range] { -webkit-appearance: none; appearance: none; height: 4px; border-radius: 2px; background: var(--pink-2); outline: 0; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--rose); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(255, 61, 143, .35); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--rose); border: 3px solid #fff; cursor: pointer; }
