/* Public pages (landing, markets, legal) — shares tokens with styles.css */
.site { min-height: 100vh; display: flex; flex-direction: column; }
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 28px; border-bottom: 1px solid var(--line); background: rgba(15,16,18,.7); position: sticky; top: 0; z-index: 10; }
.site-nav .logo { font-size: 17px; text-decoration: none; }
.site-nav .links { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.site-nav .links a { color: var(--text-2); text-decoration: none; font-weight: 500; font-size: 13.5px; padding: 8px 10px; border-radius: 8px; }
.site-nav .links a:hover { color: var(--text); background: var(--bg-3); }
.site-nav .links a.cta { background: var(--text); color: #000; font-weight: 600; padding: 8px 14px; margin-left: 6px; }
.site-main { flex: 1; width: min(1080px, 100%); margin: 0 auto; padding: 24px 28px 64px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 36px; align-items: center; padding: 48px 0 40px; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; padding-top: 28px; } }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); margin: 0 0 12px; }
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 16px; font-weight: 700; text-wrap: balance; }
.hero p.lead { font-size: 17px; color: var(--text-2); max-width: 54ch; margin: 0 0 24px; line-height: 1.6; }
.hero .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero .note { margin-top: 14px; font-size: 12.5px; color: var(--text-3); }
.mock { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 16px; padding: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.mock .m-label { font-size: 11.5px; color: var(--text-2); }
.mock .m-total { font-size: 30px; font-weight: 700; letter-spacing: -.02em; margin: 2px 0 8px; font-variant-numeric: tabular-nums; }
.mock .m-chip { display: inline-flex; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(95,208,122,.14); color: var(--up); }
.mock svg { width: 100%; height: 120px; display: block; margin: 10px 0 6px; }
.mock .m-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; }
.mock .m-row b { font-weight: 600; }
.mock .m-row .coin-ic { width: 26px; height: 26px; font-size: 12px; }
.mock .m-dev { margin-top: 10px; font-size: 12px; color: var(--text-2); display: flex; align-items: center; gap: 8px; }
.section { padding: 36px 0; border-top: 1px solid var(--line); }
.section h2 { font-size: 24px; letter-spacing: -.02em; margin: 0 0 8px; }
.section p.sub { color: var(--text-2); margin: 0 0 22px; max-width: 64ch; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px) { .grid3 { grid-template-columns: 1fr; } }
.feat { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.feat .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(139,124,255,.15); color: var(--accent-2); font-weight: 700; margin-bottom: 12px; }
.feat h3 { margin: 0 0 6px; font-size: 15px; }
.feat p { margin: 0; color: var(--text-2); font-size: 13.5px; line-height: 1.55; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 20px 20px 20px 58px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; left: 18px; top: 18px; width: 28px; height: 28px; border-radius: 50%; background: var(--text); color: #000; font-weight: 700; display: grid; place-items: center; font-size: 13px; }
.step h3 { margin: 0 0 6px; font-size: 15px; } .step p { margin: 0; color: var(--text-2); font-size: 13.5px; line-height: 1.55; }
.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 860px) { .twocol { grid-template-columns: 1fr; } }
.list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 14px; color: var(--text-2); line-height: 1.5; }
.list li b { color: var(--text); font-weight: 600; }
.list .ok { color: var(--up); font-weight: 700; } .list .no { color: var(--down); font-weight: 700; }
.faq details { border-top: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 14.5px; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; color: var(--text-3); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 8px 0 0; color: var(--text-2); font-size: 13.5px; line-height: 1.6; max-width: 70ch; }
.site-foot { border-top: 1px solid var(--line); padding: 22px 28px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--text-3); }
.site-foot a { color: var(--text-2); text-decoration: none; margin-right: 14px; }
.site-foot a:hover { color: var(--text); text-decoration: underline; }
.prose { max-width: 72ch; }
.prose h1 { font-size: 30px; letter-spacing: -.02em; margin: 12px 0 6px; }
.prose .updated { color: var(--text-3); font-size: 12.5px; margin-bottom: 26px; }
.prose h2 { font-size: 17px; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--text-2); font-size: 14px; line-height: 1.65; }
.prose ul { padding-left: 20px; }
.prose code { font-family: var(--mono); font-size: 12.5px; background: var(--bg-3); padding: 1px 6px; border-radius: 5px; }
.page-title { font-size: 28px; letter-spacing: -.02em; margin: 8px 0 4px; }
.page-sub { color: var(--text-2); margin: 0 0 20px; }


/* ---- hero visual: floating USB key + glass cards ---- */
.hv { position: relative; height: 440px; perspective: 1200px; }
@media (max-width: 860px) { .hv { height: 400px; transform: scale(.82); transform-origin: top center; margin-bottom: -60px; } }
.hv-orb { position: absolute; border-radius: 50%; filter: blur(40px); opacity: .55; pointer-events: none; }
.hv-orb.o1 { width: 320px; height: 320px; left: 40px; top: 40px; background: radial-gradient(circle, rgba(139,124,255,.9), rgba(139,124,255,0) 70%); animation: drift 14s ease-in-out infinite; }
.hv-orb.o2 { width: 260px; height: 260px; right: 0; top: 120px; background: radial-gradient(circle, rgba(98,126,234,.8), rgba(98,126,234,0) 70%); animation: drift 18s ease-in-out infinite reverse; }
.hv-orb.o3 { width: 200px; height: 200px; left: 200px; bottom: -20px; background: radial-gradient(circle, rgba(247,147,26,.45), rgba(247,147,26,0) 70%); animation: drift 16s ease-in-out infinite 2s; }
@keyframes drift { 0%, 100% { transform: translate(0,0) scale(1); } 50% { transform: translate(24px,-18px) scale(1.08); } }
.hv-grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 22px 22px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.hv-usb { position: absolute; left: 54%; top: 58%; width: 290px; margin-left: -145px; margin-top: -50px; transform: rotate(-14deg); animation: bob 6s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); }
.hv-usb svg { width: 100%; display: block; }
@keyframes bob { 0%, 100% { transform: rotate(-14deg) translateY(0); } 50% { transform: rotate(-12deg) translateY(-12px); } }
.hv-led { animation: led 1.8s ease-in-out infinite; } .hv-led2 { animation: led 1.8s ease-in-out infinite; }
.hv-card { position: absolute; background: rgba(23,24,27,.72); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 20px 60px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.06); animation: rise .8s cubic-bezier(.2,.8,.2,1) both, float 7s ease-in-out infinite 1s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.hv-port { left: 0; top: 10px; width: 250px; padding: 14px 16px 12px; transform: rotateY(12deg) rotateX(4deg); animation-delay: .1s, 1.2s; }
.hv-row { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--text-2); }
.hv-lock { margin-left: auto; font-size: 10px; font-weight: 600; padding: 1px 7px; border-radius: 999px; background: rgba(95,208,122,.14); color: var(--up); }
.hv-lock.off { background: rgba(255,90,106,.14); color: var(--down); }
.hv-label { font-size: 11px; color: var(--text-3); margin-top: 10px; }
.hv-total { font-size: 24px; font-weight: 700; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; }
.hv-chip { font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 999px; background: rgba(95,208,122,.14); color: var(--up); }
.hv-chip.down { background: rgba(255,90,106,.14); color: var(--down); }
.hv-spark { width: 100%; height: 56px; display: block; margin: 8px 0 8px; }
#hvLine { stroke-dasharray: 600; stroke-dashoffset: 600; animation: drawLine 1.8s ease-out .6s forwards; }
#hvArea { opacity: 0; animation: fadeIn .8s ease-out 1.6s forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } } @keyframes fadeIn { to { opacity: 1; } }
.hv-alloc { display: flex; height: 6px; border-radius: 3px; overflow: hidden; gap: 2px; }
.hv-alloc i { display: block; height: 100%; }
.hv-legend { display: flex; gap: 12px; margin-top: 6px; font-size: 10.5px; color: var(--text-3); }
.hv-legend i { display: inline-block; width: 7px; height: 7px; border-radius: 2px; margin-right: 5px; vertical-align: 0; }
.hv-coin { display: flex; align-items: center; gap: 10px; padding: 10px 14px; width: 212px; }
.hv-coin .coin-ic { width: 30px; height: 30px; font-size: 14px; flex: none; }
.hv-cn { display: grid; line-height: 1.15; } .hv-cn b { font-size: 13px; } .hv-cn small { font-size: 10.5px; color: var(--text-3); }
.hv-pr { margin-left: auto; text-align: right; display: grid; line-height: 1.15; }
.hv-pr span { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; } .hv-pr small { font-size: 10.5px; font-weight: 600; }
.hv-btc { right: 0; top: 34px; transform: rotateY(-12deg) rotateX(3deg); animation-delay: .3s, .4s; }
.hv-eth { right: 0; top: 122px; transform: rotateY(-12deg) rotateX(3deg); animation-delay: .45s, 2.1s; }
.hv-toast { position: absolute; left: 50%; bottom: 44px; transform: translateX(-50%) translateY(10px); background: rgba(15,16,18,.92); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 7px 14px 7px 10px; font-size: 12px; display: flex; align-items: center; gap: 8px; opacity: 0; transition: opacity .35s, transform .35s; white-space: nowrap; }
.hv-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.hv-toast .dot.on { background: var(--up); box-shadow: 0 0 0 3px rgba(95,208,122,.18); } .hv-toast .dot.off { background: var(--down); box-shadow: 0 0 0 3px rgba(255,90,106,.18); }
.hv-cap { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-size: 11.5px; color: var(--text-3); }
@media (prefers-reduced-motion: reduce) { .hv-orb, .hv-usb, .hv-card, .hv-led, .hv-led2 { animation: none; } #hvLine { animation: none; stroke-dashoffset: 0; } #hvArea { animation: none; opacity: 1; } }
