/* Merj design tokens: see docs/DESIGN_SYSTEM.md */
:root{
  --bg:#0c0c0d;--bg-2:#111113;--surface:#161618;--surface-2:#1e1e22;--surface-3:#28282d;
  --line:rgba(255,255,255,.065);--line-2:rgba(255,255,255,.11);
  --ink:#f7f6f2;--ink-2:#bcbab4;--ink-3:#8b8a85;
  --paper:#f7f6f2;--cream:#f7f6f2;--cream-ink:#121212;
  --orange:#ff5a1f;--orange-soft:rgba(255,90,31,.15);--blue:#2d4bff;--blue-soft:rgba(45,75,255,.18);
  /* the accent is Coin orange; the --gold names stay as aliases so older rules still read right */
  --accent:var(--orange);--accent-soft:var(--orange-soft);--accent-ink:#121212;
  --gold:var(--orange);--gold-soft:var(--orange-soft);--gold-ink:#121212;
  --ok:#7fd59d;--danger:#ff8a7a;
  --sans:"Geist",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --display:"Bricolage Grotesque",var(--sans);
  --mono:"Geist Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  --r-xl:22px;--r-lg:14px;--r-md:10px;--r-sm:6px;
  --e1:inset 0 1px 0 rgba(255,255,255,.05),0 1px 2px rgba(0,0,0,.45);
  --e2:inset 0 1px 0 rgba(255,255,255,.06),0 2px 6px -2px rgba(0,0,0,.5),0 18px 40px -16px rgba(0,0,0,.8);
  --e3:inset 0 1px 0 rgba(255,255,255,.07),0 12px 24px -12px rgba(0,0,0,.6),0 48px 96px -32px rgba(0,0,0,.92);
  --ease:cubic-bezier(.2,.8,.2,1);--spring:cubic-bezier(.34,1.45,.5,1);
  --shadow:var(--e2);
}
*{box-sizing:border-box;margin:0}
[hidden]{display:none!important}
html{scroll-behavior:smooth;background:var(--bg)}
body{position:relative;min-height:100vh;color:var(--ink);font:16px/1.55 var(--sans);-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit}
img{display:block}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:6px}
.mono{font-family:var(--mono)}
.sprite{position:absolute;width:0;height:0;overflow:hidden}
.num,.tick,.sol,.nums b,.minfo>span,.fee-n{font-variant-numeric:tabular-nums}

/* atmosphere: a warm light from above that breathes, and a fine grain over everything */
body:before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(38% 46% at 34% 0%,rgba(255,90,31,.085),transparent 72%),radial-gradient(38% 46% at 66% 0%,rgba(45,75,255,.1),transparent 72%);
  animation:breathe 7s ease-in-out infinite alternate}
body:after{content:"";position:fixed;inset:0;z-index:100;pointer-events:none;opacity:.045;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E")}
@keyframes breathe{to{opacity:.7}}

/* nav */
.nav{display:flex;justify-content:space-between;align-items:center;max-width:1120px;margin:0 auto;padding:18px 20px}
.brand{display:flex;align-items:center;gap:6px;text-decoration:none}
.mk{width:34px;height:34px;flex:none}
.wm{font:800 23px/1 var(--display);letter-spacing:-.045em;padding-bottom:3px}
.mk-s{width:16px;height:16px;flex:none;vertical-align:-3px;margin-right:8px}
.nav-r{display:flex;align-items:center;gap:22px}
.nav-link{color:var(--ink-2);text-decoration:none;font-size:15px;font-weight:500;background:linear-gradient(var(--ink),var(--ink)) 0 100%/0 1px no-repeat;transition:color .2s,background-size .25s var(--ease)}
button.nav-link{border:0;padding:0;cursor:pointer;font-family:inherit}
.nav-link:hover,.nav-link[aria-current]{color:var(--ink);background-size:100% 1px}
.nav-x{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;color:var(--ink-2);background:var(--surface);box-shadow:var(--e1);transition:color .2s}
.nav-x:hover{color:var(--ink)}
.nl-short{display:none}
@media (max-width:560px){.nav{padding:14px 16px}.nav-r{gap:14px}.nav-link{font-size:14px}.nav .btn.sm{height:34px;padding:0 12px;font-size:13px}.brand-t{display:none}}
@media (max-width:480px){.nl-long{display:none}.nl-short{display:inline}.nav-r{gap:12px}}
.dot{width:7px;height:7px;border-radius:50%;background:var(--ink-3)}
.connected .dot{background:var(--ok);box-shadow:0 0 0 3px rgba(127,213,157,.15)}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:44px;padding:0 18px;border-radius:var(--r-md);border:0;background:var(--surface-2);color:var(--ink);font:600 15px var(--sans);cursor:pointer;text-decoration:none;white-space:nowrap;box-shadow:var(--e1);transition:transform .15s var(--ease),background .2s,box-shadow .2s,filter .2s}
.btn:hover{background:var(--surface-3)}
.btn:active{transform:scale(.985)}
.btn:disabled{opacity:.45;cursor:default;transform:none}
.btn svg{width:16px;height:16px}
.btn.primary{background:linear-gradient(180deg,#fbfaf7,#e9e7e0);color:var(--cream-ink);box-shadow:inset 0 1px 0 #fff,0 1px 2px rgba(0,0,0,.4)}
.btn.primary:hover{background:linear-gradient(180deg,#fff,#efebe1);box-shadow:inset 0 1px 0 #fff,0 10px 30px -14px rgba(243,241,234,.5)}
.btn.hot{background:linear-gradient(180deg,#ff7a45,#ff5a1f);color:#121212;box-shadow:inset 0 1px 0 rgba(255,214,196,.55),0 1px 2px rgba(0,0,0,.4),0 14px 34px -14px rgba(255,90,31,.65)}
.btn.hot:hover{filter:brightness(1.06);background:linear-gradient(180deg,#ff7a45,#ff5a1f)}
.btn.ghost{background:transparent;box-shadow:inset 0 0 0 1px var(--line-2)}
.btn.ghost:hover{background:var(--surface)}
.btn.sm{height:38px;padding:0 14px;font-size:14px}
.btn.xl{height:56px;padding:0 28px;font-size:17px;border-radius:var(--r-lg)}

/* hero: headline, example line, the console, the trust line */
.studio{max-width:1120px;margin:0 auto;padding:30px 20px 4px}
.hero{display:flex;flex-direction:column;align-items:center}
h1{font:600 clamp(36px,6.1vw,70px)/1 var(--sans);letter-spacing:-.047em;text-align:center}
h1 .dim{color:var(--ink-3)}
.lead{color:var(--ink-2);font-size:18px;text-align:center;margin:16px auto 0;max-width:64ch}
@media (max-width:760px){.hero h1 span{display:block}.lead{font-size:16px}}

/* page-load: lines rise in, then the example, then the console (only once JS adds .enter) */
.enter .hero h1 span{animation:up .8s var(--ease) both}
.enter .hero h1 span+span{animation-delay:.09s}
.enter .hero .lead{animation:up .8s .16s var(--ease) both}
.enter .hero .ex{animation:up .8s .26s var(--ease) both}
.enter .hero .console{animation:up .8s .34s var(--ease) both}
@keyframes up{from{opacity:0;transform:translateY(14px)}}

/* example line: $A + $B → the beta they made */
.ex{margin:22px 0 0;display:flex;flex-direction:column;align-items:center;gap:8px}
.ex-row{display:flex;align-items:center;gap:10px;min-height:48px}
.ex-row.swap{animation:exswap .5s var(--ease)}
@keyframes exswap{from{opacity:0;transform:translateY(6px)}}
.ex figcaption{font-size:12px;color:var(--ink-3)}
.ex-coin{display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 12px 0 5px;border-radius:999px;background:var(--surface);box-shadow:var(--e1);font:600 13px var(--mono);color:var(--ink-2);white-space:nowrap}
.ex-coin i{position:relative;width:24px;height:24px;border-radius:50%;background:var(--orange)}
.ex-coin+.ex-op+.ex-coin i{background:var(--blue)}
.ex-coin i:after{content:"";position:absolute;inset:0;border-radius:50%;background:repeating-conic-gradient(rgba(0,0,0,.28) 0 4deg,transparent 4deg 9deg);-webkit-mask:radial-gradient(circle,transparent 9px,#000 9.5px);mask:radial-gradient(circle,transparent 9px,#000 9.5px)}
.ex-op{color:var(--ink-3);font-weight:500}
.ex-arrow{width:16px;height:16px}
.ex-card{display:inline-flex;align-items:center;gap:10px;height:48px;padding:6px 14px 6px 6px;border-radius:var(--r-lg);background:var(--surface-2);box-shadow:var(--e2)}
.ex-card img{width:36px;height:36px;border-radius:var(--r-md);object-fit:cover}
.ex-card b{display:block;font:600 14px/1.15 var(--sans);white-space:nowrap}
.ex-card small{display:block;font:600 11px var(--mono);color:var(--gold)}
@media (max-width:760px){.ex{order:5;margin-top:22px}.ex-row{gap:6px}.ex-coin{height:30px;font-size:11px;padding-right:9px}.ex-coin i{width:20px;height:20px}.ex-coin i:after{-webkit-mask:radial-gradient(circle,transparent 7px,#000 7.5px);mask:radial-gradient(circle,transparent 7px,#000 7.5px)}.ex-card{height:42px}.ex-card img{width:30px;height:30px}.ex-card b{font-size:12px}}

/* the console: one raised piece of hardware holding both wells, the coin and Make beta */
.console{width:100%;max-width:900px;margin:26px auto 0;padding:10px;border-radius:var(--r-xl);background:linear-gradient(180deg,#1a1a1d,#141416);box-shadow:var(--e3),inset 0 0 0 1px var(--line);display:grid;gap:10px}
.mix{position:relative;display:grid;grid-template-columns:1fr 60px 1fr;align-items:center}
.well{display:flex;flex-direction:column;gap:10px;min-width:0;padding:16px;border-radius:var(--r-lg);background:var(--bg-2);box-shadow:inset 0 2px 6px rgba(0,0,0,.55),inset 0 0 0 1px rgba(255,255,255,.03);transition:box-shadow .35s var(--ease)}
.well:focus-within,.well.has{box-shadow:inset 0 2px 6px rgba(0,0,0,.55),inset 0 0 0 1px rgba(255,90,31,.5),0 0 0 3px var(--gold-soft)}
.well>label{font-size:14px;font-weight:600;color:var(--ink-2)}
.inp{display:flex;align-items:center;gap:6px;background:var(--bg);border-radius:var(--r-md);box-shadow:inset 0 0 0 1px var(--line-2);padding-right:6px;transition:box-shadow .2s}
.inp:focus-within{box-shadow:inset 0 0 0 1px var(--gold),0 0 0 3px var(--gold-soft)}
.inp input{flex:1;min-width:0;width:100%;background:none;border:0;box-shadow:none;border-radius:var(--r-md);padding:14px 4px 14px 14px;font:500 14.5px var(--mono);color:var(--ink)}
.inp input:focus{outline:none;box-shadow:none}
.inp input::placeholder{color:var(--ink-3)}
.paste{flex:none;height:30px;padding:0 10px;border:0;border-radius:var(--r-sm);background:var(--surface-2);color:var(--ink-2);font:600 12px var(--sans);cursor:pointer;box-shadow:var(--e1)}
.paste:hover{color:var(--ink);background:var(--surface-3)}
.peek{display:flex;align-items:center;gap:10px;min-height:32px}
.peek img,.peek .ph{width:32px;height:32px;border-radius:50%;object-fit:cover;background:var(--surface-3);flex:none}
.peek b{display:block;font:600 15px var(--sans);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.peek small{font:500 12px var(--mono);color:var(--gold)}
.peek-hint{font-size:13.5px;color:var(--ink-3)}
.peek.err .peek-hint{color:var(--danger)}
.peek.loading .ph{background:linear-gradient(110deg,var(--surface-3) 30%,#36363d 50%,var(--surface-3) 70%);background-size:200% 100%;animation:shim 1.2s linear infinite}
.peek b,.peek small,.peek img{animation:slidein .35s var(--ease) both}
@keyframes slidein{from{opacity:0;transform:translateY(6px)}}

/* between the wells: two grey coins apart; once both addresses look right they take their colours and slide into one */
.flip{display:grid;place-items:center;z-index:2}
.sign{position:relative;display:block;width:60px;height:60px}
.duo{display:block;width:100%;height:100%;overflow:visible}
.duo circle,.duo .lens{transition:transform .8s var(--spring),fill .4s,opacity .4s}
.duo .c-o{fill:#2a2a2e;transform:translateX(-9px)}
.duo .c-b{fill:#232327;transform:translateX(9px)}
.duo .lens{fill:var(--paper);opacity:0}
.maker.ready .duo .c-o{fill:var(--orange);transform:none}
.maker.ready .duo .c-b{fill:var(--blue);transform:none}
.maker.ready .duo .lens{opacity:1;transition-delay:.35s}
.sign:after{content:"";position:absolute;inset:4px;border-radius:50%;box-shadow:0 0 0 2px var(--paper);opacity:0;pointer-events:none}
.maker.ready .sign:after{animation:ring .9s .5s ease-out both}
@media (max-width:760px){.mix{grid-template-columns:1fr;gap:10px}.flip{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#161618;border-radius:999px;padding:2px 8px;box-shadow:var(--e1)}.sign{width:48px;height:48px}}

/* last row: the idea and Make beta */
.go-row{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:stretch}
.idea{display:flex;align-items:center;gap:12px;padding:0 6px 0 16px;border-radius:var(--r-lg);background:var(--bg-2);box-shadow:inset 0 2px 6px rgba(0,0,0,.5),inset 0 0 0 1px rgba(255,255,255,.03);min-width:0}
.idea:focus-within{box-shadow:inset 0 2px 6px rgba(0,0,0,.5),inset 0 0 0 1px rgba(255,90,31,.5),0 0 0 3px var(--gold-soft)}
.idea label{flex:none;font-size:14px;font-weight:600;color:var(--ink-2)}
.idea label small{font-weight:400;color:var(--ink-3);margin-left:4px}
.idea input{flex:1;min-width:0;height:58px;background:none;border:0;box-shadow:none;color:var(--ink);font:15px var(--sans);padding:0 8px}
.idea input:focus{outline:none;box-shadow:none}
.idea-t{display:none;justify-self:start;border:0;background:none;padding:4px 6px;color:var(--ink-2);font:500 14px var(--sans);cursor:pointer}
.idea-t small{color:var(--ink-3)}
.mkb{position:relative;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;gap:10px;height:60px;min-width:220px;padding:0 30px;border:0;border-radius:var(--r-lg);cursor:pointer;
  background:linear-gradient(180deg,#fbfaf7,#e9e7e0);color:var(--cream-ink);font:650 17px var(--sans);
  box-shadow:inset 0 1px 0 #fff,0 1px 2px rgba(0,0,0,.4),0 16px 40px -18px rgba(243,241,234,.45);transition:transform .15s var(--ease),box-shadow .25s,opacity .2s}
.mkb:hover{box-shadow:inset 0 1px 0 #fff,0 1px 2px rgba(0,0,0,.4),0 18px 46px -16px rgba(243,241,234,.6)}
.mkb:active{transform:scale(.992)}
.mkb:disabled{cursor:default}
.go-a{width:18px;height:18px;transition:transform .25s var(--ease)}
.mkb:hover .go-a{transform:translateX(3px)}
.mkb:before{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.7) 50%,transparent 70%);transform:translateX(-120%);pointer-events:none}
.maker.ready .mkb:before{animation:sheen .9s .35s ease both}
@keyframes sheen{to{transform:translateX(120%)}}
.go-bar{position:absolute;left:0;bottom:0;height:3px;width:0;background:linear-gradient(90deg,var(--orange),var(--blue));border-radius:0 2px 2px 0}
.maker.working .mkb{opacity:.92}
.maker.working .go-bar{animation:fill 16s cubic-bezier(.1,.7,.3,1) both}
@keyframes fill{to{width:94%}}
@media (max-width:760px){
  .go-row{grid-template-columns:1fr}
  .idea-t{display:block}
  .idea{display:none;padding-left:14px}
  .idea.open{display:flex}
  .idea label{display:none}
  .idea input{height:50px}
  .mkb{width:100%;min-width:0;height:58px}
  .inp input{font-size:13.5px}
}

/* trust line and partners */
.trust{list-style:none;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:8px 22px;margin-top:20px;color:var(--ink-2);font-size:14px}
.trust li{display:flex;align-items:center;gap:7px}
.trust svg{width:16px;height:16px;color:var(--gold)}
.powered{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 28px;margin-top:16px;opacity:.55;transition:opacity .2s}
.powered:hover{opacity:.9}
.powered span{color:var(--ink-3);font-size:13px}
.powered img{height:18px;width:auto}
@media (max-width:480px){.trust{gap:6px 14px;font-size:13px}.powered{gap:8px 18px}.powered img{height:15px}.powered span{flex-basis:100%;text-align:center}}

.status{min-height:20px;margin:12px auto;max-width:860px;text-align:center;color:var(--ink-2);font-size:15px}
.status.err{color:var(--danger)}

/* working: skeleton art with a faint glow, progress, steps that tick */
.work{display:grid;grid-template-columns:220px 1fr;gap:28px;align-items:center;background:var(--surface);border-radius:var(--r-xl);padding:22px;max-width:860px;margin:0 auto;box-shadow:var(--e2)}
@media (max-width:760px){.work{grid-template-columns:1fr}}
.skel{display:flex;flex-direction:column;gap:12px}
.skel-img,.skel-l{border-radius:var(--r-lg);background:linear-gradient(110deg,var(--surface-2) 30%,var(--surface-3) 50%,var(--surface-2) 70%);background-size:200% 100%;animation:shim 1.3s linear infinite}
.skel-img{aspect-ratio:1;box-shadow:0 0 50px -10px rgba(255,90,31,.18)}
.skel-l{height:16px;border-radius:6px}.w60{width:60%}.w30{width:30%}
@keyframes shim{to{background-position:-200% 0}}
.work-r{display:grid;gap:18px}
.work-bar{display:block;height:3px;border-radius:2px;background:var(--surface-3);overflow:hidden;position:relative}
.work-bar:after{content:"";position:absolute;inset:0 auto 0 0;width:0;background:linear-gradient(90deg,var(--orange),var(--blue));animation:fill 16s cubic-bezier(.1,.7,.3,1) both}
.steps{list-style:none;padding:0;display:grid;gap:14px}
.steps li{display:flex;align-items:center;gap:12px;color:var(--ink-3);font-size:16px;transition:color .3s}
.steps li:before{content:"";width:20px;height:20px;border-radius:50%;border:2px solid var(--line-2);flex:none}
.steps li.now{color:var(--ink)}
.steps li.now:before{border-color:var(--gold);border-top-color:transparent;animation:spin .8s linear infinite}
.steps li.ok{color:var(--ink-2)}
.steps li.ok:before{border-color:var(--ok);background:var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23121212' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;animation:pop .35s var(--spring)}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes pop{from{transform:scale(.5)}}

/* result: a collectible card + the editor */
.result{display:grid;grid-template-columns:360px 1fr;gap:24px;align-items:start;max-width:1000px;margin:8px auto 0;animation:rise .45s var(--ease)}
@media (max-width:860px){.result{grid-template-columns:1fr}}
@keyframes rise{from{opacity:0;transform:translateY(10px)}}
.card{position:sticky;top:20px;background:var(--surface);border-radius:var(--r-xl);overflow:hidden;box-shadow:var(--e3),inset 0 0 0 1px var(--line);transform-style:preserve-3d;transition:transform .5s var(--ease)}
.card.tilting{transition:transform .08s linear}
.card .foil{position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity .3s;mix-blend-mode:color-dodge;border-radius:inherit;
  background:radial-gradient(circle at var(--mx,50%) var(--my,50%),rgba(255,255,255,.35),transparent 45%),linear-gradient(115deg,transparent 20%,rgba(255,120,200,.12) 35%,rgba(120,220,255,.12) 50%,rgba(255,230,120,.14) 65%,transparent 80%)}
.card.tilting .foil{opacity:1}
@media (max-width:860px){.card{position:static}}
.card-img{position:relative;aspect-ratio:1;background:var(--surface-2);overflow:hidden}
.card-img img{width:100%;height:100%;object-fit:cover}
.art-empty{position:absolute;inset:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border-radius:var(--r-lg);background:var(--bg);color:var(--ink-2);font-weight:600}
.art-empty small{color:var(--ink-3);font-weight:400}
.card-body{padding:18px 20px 22px}
.card-top{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.card-top h2{font:650 23px/1.15 var(--sans);letter-spacing:-.02em;overflow-wrap:anywhere}
.tick{font:600 15px var(--mono);color:var(--gold);white-space:nowrap}
.card-desc{color:var(--ink-2);margin-top:8px;font-size:15px;min-height:1.5em}
.card-from{margin-top:14px;padding-top:14px;border-top:1px solid var(--line);font-size:13px;color:var(--ink-3);display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.card-from b{color:var(--ink-2);font-family:var(--mono)}
.card-from .beta-mark{width:16px;height:16px;flex:none}
#art.dev{animation:develop 1.2s var(--ease) both}
@keyframes develop{from{filter:blur(16px) saturate(0) brightness(1.5);transform:scale(1.07)}to{filter:none;transform:none}}

.editor{display:flex;flex-direction:column;gap:16px;background:var(--surface);border-radius:var(--r-xl);padding:22px;min-width:0;box-shadow:var(--e2)}
.grid2{display:grid;grid-template-columns:1fr 170px;gap:12px}
@media (max-width:520px){.grid2{grid-template-columns:1fr}}
.field{display:flex;flex-direction:column;gap:7px;min-width:0}
.field>span,.field>label{font-size:14px;font-weight:600;color:var(--ink-2)}
input,textarea{width:100%;min-width:0;background:var(--bg-2);border:0;border-radius:var(--r-md);box-shadow:inset 0 0 0 1px var(--line-2);color:var(--ink);font:15px/1.45 var(--sans);padding:12px 14px;resize:vertical;transition:box-shadow .2s}
input:focus,textarea:focus{outline:none;box-shadow:inset 0 0 0 1px var(--gold),0 0 0 3px var(--gold-soft)}
#bName{font:600 18px var(--sans)}
#bTicker{text-transform:uppercase;font-weight:600;font-family:var(--mono);color:var(--gold)}
.more summary{cursor:pointer;color:var(--ink-2);font-size:14px;font-weight:600;list-style:none;display:flex;align-items:center;gap:8px}
.more summary::-webkit-details-marker{display:none}
.more summary svg{width:14px;height:14px;transition:transform .2s var(--ease)}
.more[open] summary svg{transform:rotate(90deg)}
.more summary small{color:var(--ink-3);font-weight:400}
.more textarea{margin-top:10px;font-size:14px}
.links{display:grid;gap:10px;margin-top:12px}
.actions{display:flex;gap:8px;flex-wrap:wrap}
.redraw{display:flex;gap:8px;flex:1;min-width:240px}
.redraw input{height:38px;padding:0 12px;font-size:14px}
.launch{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:end;border-top:1px solid var(--line);padding-top:18px;margin-top:4px}
.launch .fine{grid-column:1/-1}
@media (max-width:620px){.launch{grid-template-columns:1fr}}
.buy-r{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.sol{display:flex;align-items:center;flex:1;min-width:110px;background:var(--bg-2);border-radius:var(--r-md);box-shadow:inset 0 0 0 1px var(--line-2);padding-right:12px}
.sol:focus-within{box-shadow:inset 0 0 0 1px var(--gold),0 0 0 3px var(--gold-soft)}
.sol input{background:none;box-shadow:none!important;font-family:var(--mono)}
.sol b{font:600 12px var(--mono);color:var(--gold)}
.picks{display:flex;gap:4px}
.picks button{height:30px;min-width:38px;padding:0 8px;border:0;border-radius:var(--r-sm);background:var(--surface-2);color:var(--ink-2);font:600 12px var(--mono);cursor:pointer;box-shadow:var(--e1);font-variant-numeric:tabular-nums}
.picks button:hover{color:var(--ink);background:var(--surface-3)}
.picks button.on{background:var(--gold-soft);color:var(--gold);box-shadow:inset 0 0 0 1px rgba(255,90,31,.4)}
#launchB{width:100%}
.fine{font-size:14px;color:var(--ink-3)}
.fine b{color:var(--ink-2);font-variant-numeric:tabular-nums}
.fine a{color:var(--ink-2)}
.done{position:relative;background:linear-gradient(135deg,rgba(255,90,31,.1),rgba(45,75,255,.1));border-radius:var(--r-xl);padding:22px;box-shadow:inset 0 0 0 1px var(--line-2)}
.done-coin{position:relative;width:56px;height:56px;margin-bottom:12px;animation:coinpop .8s var(--spring) both}
.done-coin svg{width:100%;height:100%}
.done-coin:after{content:"";position:absolute;inset:0;border-radius:50%;box-shadow:0 0 0 2px var(--paper);opacity:0;animation:ring .9s .3s ease-out both}
@keyframes coinpop{from{opacity:0;transform:scale(.4) rotate(-20deg)}}
.done h3{font:650 22px var(--sans)}
.done p{color:var(--ink-2);margin-top:6px}
.done .row{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.done .sold{margin-top:12px;color:var(--ok);font-size:15px}
.done .sold a{color:var(--ink)}
.done .buy-t{margin-top:18px;font-size:14px;color:var(--ink-2)}
.done .row.buy{margin-top:8px;gap:8px}
.done .row.buy .btn{background:var(--surface)}
.done .row.buy .btn:hover{background:var(--surface-2)}
.linkbtn{margin-top:14px;border:0;background:none;padding:0;color:var(--ink-2);font:500 14px var(--sans);cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.linkbtn:hover{color:var(--ink)}

/* the intro: an orange coin and a blue coin slide together into the mark, "merj" appears, the mark flies to the logo (inserted by JS, once per session) */
.intro{position:fixed;inset:0;z-index:90;display:grid;place-items:center;background:var(--bg);cursor:pointer}
.intro-stage{position:relative;width:260px;height:240px;display:grid;place-items:center}
.intro .im{position:absolute;width:150px;height:150px;overflow:visible}
.intro .ir{position:absolute;width:104px;height:104px;border-radius:50%;box-shadow:0 0 0 2px var(--paper);opacity:0}
.intro .iw{position:absolute;top:calc(50% + 70px);font:800 40px/1 var(--display);letter-spacing:-.045em;color:var(--ink);opacity:0}

/* recently launched: one full-width row that drifts; tiles lift on hover */
.recent{padding:12px 0 48px}
.recent-h{max-width:1080px;margin:0 auto 12px;padding:0 20px;display:flex;align-items:center;justify-content:space-between}
.recent-h h2{font:600 18px var(--sans);letter-spacing:-.01em}
.recent-nav{display:flex;gap:8px}
.recent-nav .btn{width:38px;padding:0}
.recent-r{--edge:max(20px,calc((100vw - 1040px) / 2));display:flex;gap:16px;overflow-x:auto;padding:8px var(--edge) 14px;scrollbar-width:none;overscroll-behavior-x:contain;-webkit-mask:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.recent-r::-webkit-scrollbar{display:none}
.recent-r:focus-visible{outline-offset:-2px}
.tile{flex:none;margin:0;width:172px;padding:8px;border-radius:var(--r-lg);text-decoration:none;color:inherit;transition:transform .3s var(--ease),box-shadow .3s,background .3s}
.tile:hover{transform:translateY(-4px);background:var(--surface);box-shadow:var(--e2)}
.tile img{width:156px;height:156px;border-radius:var(--r-md);object-fit:cover;background:var(--surface-2);transition:transform .4s var(--ease)}
.tile:hover img{transform:scale(1.045)}
.tile b{display:block;margin-top:10px;font:600 14px var(--sans);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tile small{font:600 12px var(--mono);color:var(--gold)}
@media (max-width:640px){.tile{width:136px;padding:6px}.tile img{width:124px;height:124px}.recent-nav{display:none}}

/* fees, security and how-it-works pages */
.page{max-width:780px;margin:0 auto;padding:48px 20px 80px}
.page h1{text-align:left;font-size:clamp(40px,6vw,64px)}
.page .lead{text-align:left;margin:14px 0 0;max-width:44ch;font-size:19px}
.page p{color:var(--ink-2);font-size:17px}
.page p+p{margin-top:12px}
.page strong{color:var(--ink);font-weight:600}
.page a{color:var(--ink);text-underline-offset:3px}
.page h2{font:650 24px var(--sans);letter-spacing:-.02em;margin:56px 0 12px}
.page .small{margin-top:48px;font-size:15px;color:var(--ink-3)}
.enter .page>h1,.enter .page>.lead{animation:up .8s var(--ease) both}
.enter .page>.lead{animation-delay:.1s}

/* fees: three big numbers, the wallet as a chip */
.nums{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:40px}
.nums div{background:var(--surface);border-radius:var(--r-lg);padding:26px 22px;box-shadow:var(--e2)}
.nums b{display:block;font:650 clamp(34px,5vw,48px)/1 var(--sans);letter-spacing:-.04em}
.nums b small{font-size:.42em;letter-spacing:0;color:var(--gold);margin-left:4px;font-family:var(--mono);font-weight:600}
.nums span{display:block;margin-top:10px;color:var(--ink-2);font-size:15px}
@media (max-width:640px){.nums{grid-template-columns:1fr}}
.chip{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:14px;padding:8px 8px 8px 14px;border-radius:var(--r-lg);background:var(--surface);box-shadow:var(--e1),inset 0 0 0 1px var(--line)}
.chip code{flex:1;min-width:0;font:500 13.5px var(--mono);color:var(--ink);overflow-wrap:anywhere}
.chip .btn{height:32px;padding:0 12px;font-size:13px;gap:6px}
.chip .btn svg{width:14px;height:14px}

/* security: partner logos, claims with gold line icons */
.partners{margin-top:36px}
.partners p{color:var(--ink-3);font-size:15px}
.partner-logos{display:flex;flex-wrap:wrap;align-items:center;gap:20px 44px;margin-top:14px}
.partner-logos img{height:38px;width:auto}
.claims{margin-top:40px;border-top:1px solid var(--line)}
.claim{border-bottom:1px solid var(--line)}
.claim summary,.claim-h{list-style:none;cursor:pointer;display:grid;grid-template-columns:34px 1fr auto;gap:4px 14px;padding:24px 0;align-items:start}
.claim-h{cursor:default}
.claim summary::-webkit-details-marker{display:none}
.claim .ic{grid-row:1/3;width:22px;height:22px;margin-top:4px;color:var(--gold)}
.claim h2{margin:0;font-size:clamp(21px,2.6vw,26px);grid-column:2}
.claim summary p,.claim-h p{grid-column:2;color:var(--ink-2);font-size:16px}
.claim summary:after{content:"+";grid-row:1/3;grid-column:3;align-self:center;font:300 28px/1 var(--sans);color:var(--ink-3);transition:transform .25s var(--ease)}
.claim[open] summary:after{transform:rotate(45deg)}
.claim summary:hover h2{color:#fff}
.claim .more-body{padding:0 0 24px 48px;max-width:66ch}
.claim .more-body li{color:var(--ink-2);margin-top:8px}
.claim .more-body ul{padding-left:20px}

/* how it works: three stations on one gold line, each with a small piece of the real UI */
.page.how{max-width:1000px}
.hsteps{position:relative;list-style:none;padding:0;margin-top:48px;display:grid;gap:20px}
.hsteps:before{content:"";position:absolute;left:43px;top:40px;bottom:40px;width:2px;background:linear-gradient(180deg,var(--orange),var(--blue));opacity:.6;border-radius:2px}
.hsteps>li{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center;background:var(--surface);border-radius:var(--r-xl);padding:28px;box-shadow:var(--e2)}
.hs-n{position:relative;z-index:1;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--orange);color:#121212;font:700 14px var(--mono);box-shadow:0 0 0 5px var(--surface)}
.hsteps>li:nth-child(2) .hs-n{background:linear-gradient(90deg,var(--orange),var(--blue));color:#fff}
.hsteps>li:nth-child(3) .hs-n{background:var(--blue);color:#fff}
.hs-text h2{margin:14px 0 8px;font-size:clamp(22px,2.6vw,28px)}
.hs-text p{font-size:16px}
.hs-vis{display:grid;place-items:center;min-height:180px;background:var(--bg-2);border-radius:var(--r-lg);padding:20px;box-shadow:inset 0 2px 6px rgba(0,0,0,.5)}
.hv-mix{display:flex;align-items:center;gap:10px}
.hv-ca{display:inline-flex;align-items:center;font:500 14px var(--mono);color:var(--ink);background:var(--bg);box-shadow:inset 0 0 0 1px var(--line-2);border-radius:var(--r-md);padding:12px 14px}
.hv-ca .tw{display:inline-block;overflow:hidden;white-space:nowrap;width:9ch;vertical-align:bottom}
.hv-ca .cur{display:inline-block;width:2px;height:1.1em;margin-left:2px;background:var(--gold);opacity:0}
.hv-sign{position:relative;flex:none;width:52px;height:52px}
.hv-sign .c-o{fill:var(--orange)}.hv-sign .c-b{fill:var(--blue)}.hv-sign .lens{fill:var(--paper)}
.hv-sign:after{content:"";position:absolute;inset:4px;border-radius:50%;box-shadow:0 0 0 2px var(--paper);opacity:0}
.hv-coins{display:flex;justify-content:space-between;width:100%;max-width:340px;margin-top:12px;font:600 13px var(--mono);color:var(--gold)}
.hv-card{width:210px;background:var(--surface);border-radius:var(--r-lg);overflow:hidden;box-shadow:var(--e2)}
.hv-card img{width:210px;height:156px;object-fit:cover}
.hv-card div{display:flex;justify-content:space-between;align-items:baseline;padding:12px 14px}
.hv-card b{font:650 17px var(--sans)}
.hv-card small{font:600 13px var(--mono);color:var(--gold)}
.hv-checks{list-style:none;padding:0;display:grid;gap:6px;margin-top:12px;font-size:13px;color:var(--ink-2)}
.hv-checks li{display:flex;align-items:center;gap:6px}
.hv-checks svg{width:14px;height:14px;color:var(--ok)}
.hv-launch{position:relative;display:flex;flex-direction:column;align-items:center;gap:14px}
.hv-launch .btn{pointer-events:none;height:52px;padding:0 26px;font-size:16px}
.hv-cursor{position:absolute;left:62%;top:30px;opacity:0;pointer-events:none;filter:drop-shadow(0 4px 8px rgba(0,0,0,.6))}
.hv-you{display:flex;align-items:center;gap:8px;color:var(--ink-2);font-size:14px}
.hv-you svg{width:16px;height:16px;color:var(--ok)}
.how-cta{display:flex;flex-direction:column;align-items:center;gap:14px;margin-top:48px;text-align:center}
.how-cta p{font-size:15px;color:var(--ink-3)}
@media (max-width:760px){.hsteps>li{grid-template-columns:1fr;gap:20px;padding:20px}.hsteps:before{left:35px}.hv-ca{font-size:12px;padding:10px}}

/* how-it-works motion: only when JS has opted in (and the device allows motion); otherwise the final state shows */
.anim .hsteps>li:not(.go) .tw{width:0}
.anim .hsteps>li:not(.go) .hv-sign .c-o{fill:#2a2a2e;transform:translateX(-9px)}
.anim .hsteps>li:not(.go) .hv-sign .c-b{fill:#232327;transform:translateX(9px)}
.anim .hsteps>li:not(.go) .hv-sign .lens{opacity:0}
.anim .hsteps>li:not(.go) .hv-card img,.anim .hsteps>li:not(.go) .hv-card div>*,.anim .hsteps>li:not(.go) .hv-checks li{opacity:0}
.anim .hsteps>li:not(.go) .hv-you{opacity:0}
.go .hv-ca.a .tw{animation:type .9s steps(9) .2s both}
.go .hv-ca.b .tw{animation:type .9s steps(9) 1.3s both}
.go .hv-ca.a .cur{animation:blink .45s 3 .2s both}
.go .hv-ca.b .cur{animation:blink .45s 3 1.3s both}
.go .hv-sign .c-o{animation:slideo .8s 2.3s var(--spring) both}
.go .hv-sign .c-b{animation:slideb .8s 2.3s var(--spring) both}
.go .hv-sign .lens{animation:fade .4s 2.7s both}
.go .hv-sign:after{animation:ring .9s 2.9s ease-out both}
.go .hv-card img{animation:develop 1.4s .3s var(--ease) both}
.go .hv-card b{animation:fade .4s 1.5s both}
.go .hv-card small{animation:fade .4s 1.9s both}
.go .hv-checks li{animation:fade .35s both}
.go .hv-checks li:nth-child(1){animation-delay:.6s}.go .hv-checks li:nth-child(2){animation-delay:1.1s}.go .hv-checks li:nth-child(3){animation-delay:1.7s}
.go .hv-cursor{animation:tap 1.5s .4s var(--ease) both}
.go .hv-lb{animation:press .3s 1.25s ease both}
.go .hv-you{animation:rise .5s 1.55s var(--ease) both}
@keyframes type{from{width:0}}
@keyframes blink{50%{opacity:1}}
@keyframes fade{from{opacity:0}}
@keyframes slideo{from{fill:#2a2a2e;transform:translateX(-9px)}}
@keyframes slideb{from{fill:#232327;transform:translateX(9px)}}
@keyframes ring{0%{opacity:.9;transform:scale(1)}100%{opacity:0;transform:scale(1.9)}}
@keyframes tap{0%{opacity:0;transform:translate(46px,38px)}45%{opacity:1}60%{opacity:1;transform:none}100%{opacity:0;transform:none}}
@keyframes press{50%{transform:scale(.95);filter:brightness(1.08)}}

/* footer */
.foot{max-width:1120px;margin:0 auto;padding:24px 20px 40px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;align-items:center;flex-wrap:wrap;color:var(--ink-3);font-size:14px}
.foot-l{display:flex;align-items:center}
.foot a{color:var(--ink-2);text-decoration:none}
.foot a:hover{color:var(--ink)}

/* cookie notice */
.cookie{position:fixed;left:16px;bottom:16px;z-index:40;display:flex;align-items:center;gap:14px;max-width:440px;background:var(--surface-2);border-radius:var(--r-lg);padding:12px 12px 12px 16px;box-shadow:var(--e3),inset 0 0 0 1px var(--line);font-size:14px;color:var(--ink-2);animation:rise .4s var(--ease)}
.cookie a{color:var(--ink)}
.cookie .btn{height:32px;padding:0 14px;font-size:13px}
@media (max-width:480px){.cookie{right:16px;max-width:none}}

/* sheets (wallet, My launches) */
.modal{position:fixed;inset:0;background:rgba(6,6,7,.66);backdrop-filter:blur(6px);display:grid;place-items:center;padding:16px;z-index:50}
.sheet{position:relative;width:100%;max-width:400px;background:linear-gradient(180deg,#1a1a1d,#151517);border-radius:var(--r-xl);padding:24px;box-shadow:var(--e3),inset 0 0 0 1px var(--line);animation:sheetup .4s var(--spring)}
@keyframes sheetup{from{opacity:0;transform:translateY(18px) scale(.98)}}
.sheet h3{font:650 20px var(--sans);letter-spacing:-.01em}
.close{position:absolute;right:12px;top:10px;width:34px;height:34px;border:0;border-radius:50%;background:none;color:var(--ink-2);font-size:24px;line-height:1;cursor:pointer}
.close:hover{background:var(--surface-2);color:var(--ink)}
.wop{display:flex;align-items:center;gap:12px;width:100%;height:54px;margin-top:10px;padding:0 14px;border:0;border-radius:var(--r-lg);background:var(--bg-2);color:var(--ink);font:600 15px var(--sans);text-decoration:none;cursor:pointer;box-shadow:inset 0 0 0 1px var(--line)}
.wop:hover{box-shadow:inset 0 0 0 1px var(--line-2);background:var(--bg)}
.wop img{width:26px;height:26px;border-radius:7px}
.wop span{margin-left:auto;font-size:12px;color:var(--ink-3);white-space:nowrap}
.wop.addr span.mono{margin:0;font-size:12px;color:var(--ink);overflow:hidden;text-overflow:ellipsis;min-width:0;white-space:nowrap}
.wgroup{margin-top:14px;color:var(--ink-2);font-size:13px}
.wop.wnew{justify-content:center;background:linear-gradient(180deg,#fbfaf7,#e9e7e0);color:var(--cream-ink);box-shadow:inset 0 1px 0 #fff}
.wop.wnew:hover{background:linear-gradient(180deg,#fff,#efebe1)}
.wor{display:flex;align-items:center;gap:10px;margin:18px 0 2px;color:var(--ink-3);font-size:12px}
.wor:before,.wor:after{content:"";flex:1;height:1px;background:var(--line)}
#mine{max-height:min(62vh,560px);overflow:hidden auto;margin:10px -8px 0 0;padding-right:8px;overscroll-behavior:contain}
@supports not selector(::-webkit-scrollbar){#mine{scrollbar-width:thin;scrollbar-color:var(--line-2) transparent}}
#mine::-webkit-scrollbar{width:8px}
#mine::-webkit-scrollbar-button{display:none}
#mine::-webkit-scrollbar-track{background:transparent}
#mine::-webkit-scrollbar-thumb{background:var(--surface-3);border-radius:8px;border:2px solid #18181a}
#mine::-webkit-scrollbar-thumb:hover{background:var(--ink-3)}
.sheet.wide{max-width:600px}
.mcount{color:var(--ink-3);font-size:13px;margin-bottom:4px}
.mrow{display:grid;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px 0;border-top:1px solid var(--line)}
.mrow>img,.mrow>.ph{width:56px;height:56px;border-radius:var(--r-md);object-fit:cover;background:var(--surface-2)}
.minfo{display:flex;flex-direction:column;gap:3px;min-width:0}
.minfo>b{font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.minfo>b small{color:var(--gold);font:600 12px var(--mono)}
.minfo>span{color:var(--ink-2);font-size:13px;overflow-wrap:anywhere}
.minfo>span b{color:var(--ink)}
.mca{align-self:flex-start;border:0;padding:0;background:none;color:var(--ink-3);font-size:12px;cursor:pointer}
.mca i{font-style:normal;margin-left:4px;color:var(--gold)}
.mact{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.mrow .sold{grid-column:1/-1;margin:0;font-size:13px}
@media (max-width:560px){.mrow{grid-template-columns:48px minmax(0,1fr)}.mrow>img,.mrow>.ph{width:48px;height:48px}.mact{grid-column:1/-1;justify-content:flex-start}}
.fund{margin-top:14px;color:var(--ink-2);font-size:14px}
.fund b{color:var(--ink);font-variant-numeric:tabular-nums}
.fund .wait{margin-left:6px;color:var(--ink-3);font-size:12px}
.fund .wait:before{content:"";display:inline-block;width:9px;height:9px;margin-right:6px;border:2px solid var(--gold);border-top-color:transparent;border-radius:50%;animation:spin .8s linear infinite;vertical-align:-1px}
.sheet .row{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.fine.err{color:var(--danger)}

@media (prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
.hs-vis.col{display:flex;flex-direction:column;align-items:center;justify-content:center}

/* logo and headlines: Bricolage Grotesque ExtraBold */
h1,.page h2,.recent-h h2,.sheet h3,.done h3,.card-top h2,.hs-text h2,.claim h2,.hv-card b,.ex-card b{font-family:var(--display);font-weight:800;font-optical-sizing:auto}
h1{letter-spacing:-.045em}
.page h2,.recent-h h2,.claim h2,.hs-text h2{letter-spacing:-.03em}
