:root {
  --bg: #0b0e14;
  --bg-2: #0f131b;
  --dirt: #0e121a;
  --stone: #11151e;
  --deep: #0c0f16;
  --ink: #eef2f6;
  --muted: #8b93a3;
  --dim: #5a6172;
  --line: rgba(238, 242, 246, 0.1);
  --em: #3df5a0;
  --em-deep: #1fb877;
  --gold: #ffc93c;
  --blue: #8fd0ff;
  --red: #ff6b5b;
  --r: 6px;
  --f-display: "Bungee", system-ui, sans-serif;
  --f-text: "Satoshi", system-ui, sans-serif;
  --f-px: "Silkscreen", ui-monospace, monospace;
  --f-mono: "Geist Mono", ui-monospace, monospace;
  --pad: clamp(20px, 4vw, 56px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--ink); -webkit-text-size-adjust: 100%; }
body { font: 400 17px/1.55 var(--f-text); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--em); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--em); color: #04130c; }

/* grain */
body::after {
  content: ""; position: fixed; inset: -50%; pointer-events: none; z-index: 100; opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.wrap { width: min(1360px, 100% - var(--pad) * 2); margin-inline: auto; }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.em { color: var(--em); }
.gold { color: var(--gold); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: 18px 0; transition: background 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(11, 13, 10, 0.82); backdrop-filter: blur(12px); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 32px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo .lm { height: 30px; width: auto; }
.logo .lw { height: 17px; width: auto; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px; border-radius: var(--r); font-weight: 600; font-size: 15px; transition: transform 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s; white-space: nowrap; }
.btn-em { background: var(--em); color: #06120b; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.25); }
.btn-em:hover { transform: translateY(-2px); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.25), 0 10px 30px -10px var(--em); }
.btn-ghost { border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; }
.burger { display: none; width: 40px; height: 40px; margin-left: auto; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 5px auto; transition: transform 0.3s; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; padding: 130px 0 0; overflow: hidden; background: radial-gradient(1200px 600px at 75% 30%, rgba(61, 245, 160, 0.08), transparent 60%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.hero-copy { grid-column: 1 / span 7; position: relative; z-index: 2; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.kicker i { width: 8px; height: 8px; background: var(--em); box-shadow: 0 0 12px var(--em); animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
.h-display { font: 400 clamp(48px, 7.6vw, 124px) / 0.92 var(--f-display); letter-spacing: -0.01em; text-shadow: 0 0.06em 0 #1c212c; }
.h-display .slash { color: var(--em); }
.h-display .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.h-display .line > span { display: inline-block; }
.hero-sub { max-width: 34ch; margin-top: 30px; font-size: clamp(18px, 1.5vw, 21px); color: #cfcabc; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.ip { font-family: var(--f-mono); font-weight: 500; letter-spacing: 0.02em; }
.ip .copied { color: var(--em); }
.hero-visual { grid-column: 8 / span 5; position: relative; height: 680px; }

/* chat mock */
.chat { position: absolute; left: -12%; right: 0; bottom: 20px; z-index: 3; font: 400 14px/1.45 var(--f-px); }
.chat-lines { display: flex; flex-direction: column; gap: 3px; min-height: 220px; justify-content: flex-end; }
.chat-line { background: rgba(0, 0, 0, 0.55); padding: 3px 10px; width: fit-content; max-width: 100%; text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.6); color: #fff; animation: pop 0.25s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }
.chat-input { margin-top: 8px; background: rgba(0, 0, 0, 0.6); padding: 6px 10px; color: #fff; min-height: 34px; border: 1px solid rgba(255, 255, 255, 0.08); }
.chat-input .caret { display: inline-block; width: 10px; height: 2px; background: #fff; vertical-align: -2px; animation: blink 1s steps(2) infinite; }
.c-em { color: var(--em); } .c-gold { color: var(--gold); } .c-ash { color: var(--muted); } .c-bone { color: var(--ink); } .c-dg { color: #4a5160; } .c-blue { color: var(--blue); }
.c-btn { color: var(--em); text-decoration: underline; text-underline-offset: 3px; }
.mc-title { position: absolute; inset: 150px 0 auto; z-index: 4; text-align: center; pointer-events: none; opacity: 0; }
.mc-title b { display: block; white-space: nowrap; font: 400 clamp(26px, 3.3vw, 50px)/1 var(--f-display); color: var(--gold); text-shadow: 0 5px 0 #8a5a0e, 0 0 40px rgba(255, 201, 60, 0.35); }
.mc-title small { display: inline-block; margin-top: 12px; padding: 3px 9px; background: rgba(0,0,0,.45); font: 400 15px/1.2 var(--f-px); color: var(--ink); letter-spacing: 0.04em; }

/* voxel block */
.scene { position: absolute; top: 10px; right: 8%; width: 300px; height: 300px; perspective: 1400px; z-index: 1; }
.cube { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(-24deg) rotateY(38deg); }
.face { position: absolute; width: 300px; height: 300px; image-rendering: pixelated; }
.face canvas { width: 100%; height: 100%; image-rendering: pixelated; display: block; }
.f-front { transform: translateZ(150px); }
.f-back { transform: rotateY(180deg) translateZ(150px); }
.f-right { transform: rotateY(90deg) translateZ(150px); filter: brightness(0.72); }
.f-left { transform: rotateY(-90deg) translateZ(150px); filter: brightness(0.72); }
.f-top { transform: rotateX(90deg) translateZ(150px); filter: brightness(1.12); }
.f-bottom { transform: rotateX(-90deg) translateZ(150px); filter: brightness(0.5); }
.glow { position: absolute; top: 120px; right: 0; width: 420px; height: 420px; background: radial-gradient(circle, rgba(61, 245, 160, 0.18), transparent 62%); filter: blur(10px); }
.bits { position: absolute; inset: 0; pointer-events: none; }
.bit { position: absolute; width: 14px; height: 14px; image-rendering: pixelated; }

/* strata edge between sections */
.edge { display: block; width: 100%; height: 32px; }

/* ---------- ticker ---------- */
.ticker { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 0; animation: tick 60s linear infinite; padding: 16px 0; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
.tk { display: inline-flex; align-items: center; gap: 12px; padding: 0 28px; border-right: 1px solid var(--line); font-size: 15px; }
.tk img, .tk .ph { width: 26px; height: 26px; border-radius: 3px; object-fit: cover; image-rendering: pixelated; background: #222; }
.tk b { font: 400 15px var(--f-display); color: var(--gold); }
.tk .by { color: var(--muted); }
.tk .up { color: var(--em); } .tk .down { color: var(--red); }

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding-block: clamp(90px, 12vw, 170px); }
.sec-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-bottom: clamp(48px, 6vw, 88px); align-items: end; }
.sec-head .mono { grid-column: 1 / span 3; }
.sec-head h2 { grid-column: 4 / span 7; }
.h2 { font: 400 clamp(34px, 4.6vw, 72px) / 1 var(--f-display); letter-spacing: -0.01em; }
.h3 { font: 700 clamp(22px, 1.8vw, 27px) / 1.15 var(--f-text); letter-spacing: -0.01em; }
.lead { color: #cfcabc; font-size: clamp(17px, 1.3vw, 19px); max-width: 52ch; }
.dirt { background: var(--dirt); }
.stone { background: var(--stone); }
.deep { background: var(--deep); }

/* how it works: 3 rows */
.steps { display: grid; gap: 0; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; padding: clamp(36px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); align-items: center; }
.step-n { grid-column: 1 / span 2; font: 400 clamp(56px, 6vw, 96px)/1 var(--f-display); color: transparent; -webkit-text-stroke: 1px rgba(238, 242, 246, 0.3); }
.step-copy { grid-column: 3 / span 4; }
.step-copy p { color: #bdb8aa; margin-top: 14px; max-width: 40ch; }
.step-art { grid-column: 8 / span 5; }
.cmd { font: 400 17px/1.5 var(--f-px); background: #000a; border: 1px solid var(--line); padding: 18px 20px; color: #fff; }
.cmd .c-ash { font-size: 13px; display: block; margin-top: 10px; }

/* phone mock */
.phone { width: 270px; margin-left: auto; border-radius: 34px; padding: 10px; background: #1b1d19; box-shadow: 0 40px 80px -30px #000, inset 0 0 0 1px #333; transform: rotate(3deg); }
.phone-in { border-radius: 26px; background: var(--bg); padding: 22px 16px 18px; border: 1px solid #000; }
.phone .coin-prev { display: flex; gap: 12px; align-items: center; margin: 14px 0; }
.phone .coin-prev .im { width: 54px; height: 54px; border-radius: 6px; background: linear-gradient(135deg, #2b6, #174); image-rendering: pixelated; }
.phone .row { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); padding: 7px 0; border-top: 1px solid var(--line); }
.phone .row b { color: var(--ink); font-weight: 500; }
.phone .btn { width: 100%; justify-content: center; margin-top: 12px; height: 42px; }

.announce { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: url("brand/scene.png") center bottom / cover no-repeat, #0b0e14; border: 1px solid var(--line); }
.announce .t { position: absolute; inset: 22% 0 auto; text-align: center; font-family: var(--f-px); }
.announce .t b { display: block; font: 400 clamp(30px, 3.2vw, 48px)/1 var(--f-display); color: var(--gold); text-shadow: 0 4px 0 #8a5a0e, 0 0 30px rgba(255,201,60,.35); }
.announce .t small { display: inline-block; margin-top: 10px; color: #fff; font-size: 12px; letter-spacing: .05em; }
.announce .ch { position: absolute; left: 12px; bottom: 12px; right: 12px; font: 400 11px/1.5 var(--f-px); }
.announce .ch div { background: #0009; padding: 2px 8px; width: fit-content; color: #fff; margin-top: 2px; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(150px, auto); gap: 16px; }
.tile { position: relative; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; background: linear-gradient(180deg, rgba(255,255,255,.025), transparent); overflow: hidden; transition: border-color 0.3s, transform 0.3s; }
.tile:hover { border-color: rgba(75, 227, 138, 0.35); }
.tile .mono { display: block; margin-bottom: 14px; }
.tile p { color: #b5b0a2; margin-top: 10px; max-width: 42ch; font-size: 16px; }
.t-a { grid-column: span 7; grid-row: span 2; }
.t-b { grid-column: span 5; grid-row: span 2; }
.t-c { grid-column: span 4; }
.t-d { grid-column: span 4; }
.t-e { grid-column: span 4; }
.gui { margin-top: 26px; background: #1c212c; padding: 12px; border: 3px solid #2a3040; box-shadow: inset 0 0 0 1px #3a4255; width: fit-content; }
.gui-t { font: 400 12px var(--f-px); color: var(--em); margin: 0 2px 10px; letter-spacing: .04em; }
.gui-g { display: grid; grid-template-columns: repeat(7, 44px); gap: 2px; }
.slot { width: 44px; height: 44px; background: #11151e; border: 1px solid #2a3040; display: grid; place-items: center; position: relative; }
.slot i { width: 26px; height: 26px; display: block; }
.slot em { position: absolute; right: 3px; bottom: 1px; font: 400 10px var(--f-px); font-style: normal; color: var(--ink); }
.holo { margin-top: 26px; font: 400 11.5px/1.75 var(--f-px); background: linear-gradient(180deg, #0f2a20, #0a1712); padding: 14px 18px; border: 6px solid #2a3040; box-shadow: inset 0 0 0 1px #3a4255; width: fit-content; max-width: 100%; }
.holo div { white-space: nowrap; }
.qr-mini { width: 96px; height: 96px; margin-top: 18px; image-rendering: pixelated; border: 3px solid var(--em); background: #eef2f6; }
.tiers-mini { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; font: 400 11px var(--f-px); }
.tiers-mini span { padding: 4px 10px; background: #0007; border: 1px solid var(--line); }

/* custody */
.custody { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.custody-copy { grid-column: 1 / span 5; position: sticky; top: 120px; }
.flow { grid-column: 7 / span 6; display: grid; gap: 14px; }
.flow-row { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(0,0,0,.2); }
.flow-row .ix { width: 56px; height: 56px; display: grid; place-items: center; border-radius: var(--r); background: #1a1d18; font: 500 14px var(--f-mono); color: var(--em); }
.flow-row h4 { font: 700 19px var(--f-text); }
.flow-row p { color: #aaa597; font-size: 15px; margin-top: 4px; }
.flow-row.never .ix { color: var(--red); }

/* craft token */
.craft { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.craft-mark { grid-column: 1 / span 5; position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.craft-mark .coin { width: 86%; aspect-ratio: 1; filter: drop-shadow(0 30px 60px rgba(255, 201, 60, .2)); }
.craft-copy { grid-column: 7 / span 6; }
.ca { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding: 14px 16px; border: 1px dashed rgba(237,232,218,.25); border-radius: var(--r); font-family: var(--f-mono); font-size: 14px; color: var(--muted); }
.ca button { margin-left: auto; color: var(--dim); }
.tiers { margin-top: 32px; border-top: 1px solid var(--line); }
.tier { display: grid; grid-template-columns: 34px 1fr auto auto; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.tier .b { font: 400 16px var(--f-px); text-align: center; }
.tier h5 { font: 700 18px var(--f-text); }
.tier .req { color: var(--muted); font-family: var(--f-mono); font-size: 13px; }
.tier .perk { color: var(--em); font-weight: 600; min-width: 110px; text-align: right; }

/* join */
.join { text-align: left; }
.join-ip { display: block; width: 100%; text-align: left; margin-top: 30px; font: 400 clamp(30px, 7.4vw, 118px)/1 var(--f-display); letter-spacing: -0.01em; transition: color 0.2s; white-space: nowrap; }
.join-ip .ip { font-family: inherit; letter-spacing: inherit; }
.join-ip:hover { color: var(--em); }
.join-meta { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.join-meta div { min-width: 160px; }
.join-meta b { display: block; font: 700 22px var(--f-text); margin-top: 6px; }

/* footer */
.foot { padding: 60px 0 40px; border-top: 1px solid var(--line); background: #070807; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot p { color: var(--dim); font-size: 13px; max-width: 70ch; margin-top: 16px; }
.foot a { display: block; color: var(--muted); font-size: 15px; padding: 4px 0; }
.foot a:hover { color: var(--ink); }

/* reveal */
.rv { opacity: 0; transform: translateY(40px); }
.no-js .rv, .reduced .rv { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .nav-links, .nav .btn { display: none; }
  .burger { display: block; }
  .nav.open .nav-links { display: flex; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0; padding: 24px var(--pad); background: var(--bg); border-bottom: 1px solid var(--line); font-size: 20px; }
  .hero { padding-top: 110px; }
  .hero-copy, .hero-visual { grid-column: 1 / -1; }
  .hero-visual { height: 520px; }
  .chat { left: 0; }
  .mc-title { inset: 70px 0 auto; padding: 0 8px; }
  .scene { right: 50%; margin-right: -110px; width: 220px; height: 220px; top: 10px; }
  .face { width: 220px; height: 220px; }
  .f-front { transform: translateZ(110px); } .f-back { transform: rotateY(180deg) translateZ(110px); } .f-right { transform: rotateY(90deg) translateZ(110px); } .f-left { transform: rotateY(-90deg) translateZ(110px); } .f-top { transform: rotateX(90deg) translateZ(110px); } .f-bottom { transform: rotateX(-90deg) translateZ(110px); }
  .sec-head .mono, .sec-head h2 { grid-column: 1 / -1; }
  .step-n { grid-column: 1 / -1; font-size: 56px; }
  .step-copy, .step-art { grid-column: 1 / -1; }
  .phone { margin: 0 auto; }
  .t-a, .t-b, .t-c, .t-d, .t-e { grid-column: 1 / -1; }
  .custody-copy, .flow, .craft-mark, .craft-copy { grid-column: 1 / -1; position: static; }
  .craft-mark { max-width: 360px; margin: 0 auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .gui-g { grid-template-columns: repeat(7, 36px); }
  .slot { width: 36px; height: 36px; }
  .slot i { width: 20px; height: 20px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .chat { font-size: 14px; }
  .mc-title b { font-size: 48px; }
  .tier { grid-template-columns: 28px 1fr auto; }
  .tier .req { grid-column: 2; grid-row: 2; }
  .holo { font-size: 12px; }
  .announce { aspect-ratio: 4 / 3.4; }
  .announce .t { inset: 14% 0 auto; }
  .mc-title b { font-size: 24px; white-space: normal; }
  .mc-title small { font-size: 11px; }
  .gui { padding: 6px; }
  .gui-g { grid-template-columns: repeat(7, 1fr); }
  .slot { width: auto; aspect-ratio: 1; height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
