/* TradeVN landing. Self-hosted Inter only (the page CSP allows nothing external, no inline styles). */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/inter-vietnamese-400-normal.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/inter-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/inter-vietnamese-500-normal.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/inter-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/inter-vietnamese-600-normal.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/inter-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/inter-vietnamese-700-normal.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/inter-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- tokens ---------- */
:root {
  color-scheme: light;
  --ink: #0b1440; --ink2: #4a5583; --blue: #2f6df0; --cobalt: #1b3cf0; --navy: #050a1c; --sky: #4f8cff;
  --line: #dfe6fb; --pastel: #eef2ff; --up: #12b981; --down: #ef4565;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Palatino Linotype", "Book Antiqua", Palatino, "Noto Serif", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: #fff; color: var(--ink); font: 15px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; }
p { margin: 0; }
img { max-width: 100%; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }
a:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 10px; }
.up-t { color: var(--up); } .down-t { color: var(--down); }

/* scroll progress */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 80; background: linear-gradient(90deg, #4f8cff, #7ee1c6); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 60; border-bottom: 1px solid transparent; transition: background .35s, border-color .35s, backdrop-filter .35s; }
.nav.solid { background: rgba(5, 10, 28, .94); border-bottom-color: rgba(255, 255, 255, .08); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: inline-flex; align-items: center; }
.logo { height: 30px; width: auto; display: block; }
.nav-links { display: flex; gap: 30px; margin-left: 18px; }
.nav-links a { color: rgba(255, 255, 255, .7); font-size: .9rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav-login { color: rgba(255, 255, 255, .85); font-size: .9rem; font-weight: 500; }
.nav-login:hover { color: #fff; }

/* ---------- buttons ---------- */
.pill { display: inline-flex; align-items: center; gap: 16px; background: #fff; color: var(--ink); border-radius: 99px; padding: 6px 6px 6px 24px; font-weight: 600; font-size: .98rem; box-shadow: 0 14px 38px rgba(4, 10, 50, .38); transition: transform .35s var(--ease), box-shadow .3s; white-space: nowrap; }
.pill:hover { box-shadow: 0 18px 44px rgba(4, 10, 50, .5); }
.pill .dot { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transition: transform .45s var(--ease); }
.pill:hover .dot { transform: rotate(45deg); }
.pill.sm { padding: 4px 4px 4px 18px; font-size: .86rem; gap: 12px; box-shadow: none; }
.pill.sm .dot { width: 32px; height: 32px; }
.glass-btn { display: inline-flex; align-items: center; padding: 15px 26px; border-radius: 99px; color: #fff; font-weight: 500; font-size: .95rem; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .26); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .25s, border-color .25s, transform .35s var(--ease); }
.glass-btn:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .5); }
[data-magnetic] { will-change: transform; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; display: flow-root; padding: 156px 0 0; color: #fff; text-align: center; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
  background:
    radial-gradient(60% 40% at 50% 100%, #f2f6ff 0%, rgba(242, 246, 255, 0) 100%),
    radial-gradient(90% 56% at 50% 82%, rgba(96, 156, 255, .95) 0%, rgba(47, 109, 240, .62) 38%, rgba(16, 52, 150, 0) 78%),
    linear-gradient(180deg, #040818 0%, #07113a 34%, #0e2874 62%, #7fa6ff 88%, #e8efff 100%); }
.cloud { position: absolute; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .62), rgba(255, 255, 255, 0)); filter: blur(28px); will-change: transform; }
.hero .c1 { width: 620px; height: 240px; left: -8%; bottom: 14%; animation: drift 46s ease-in-out infinite alternate; }
.hero .c2 { width: 760px; height: 280px; right: -12%; bottom: 6%; animation: drift 58s ease-in-out infinite alternate-reverse; }
.hero .c3 { width: 420px; height: 160px; left: 30%; bottom: 22%; opacity: .7; animation: drift 38s ease-in-out infinite alternate; }
.hero .c4 { width: 520px; height: 520px; left: 50%; top: -18%; margin-left: -260px; background: radial-gradient(closest-side, rgba(79, 140, 255, .38), rgba(79, 140, 255, 0)); filter: blur(10px); }
@keyframes drift { from { transform: translate3d(-5%, 0, 0); } to { transform: translate3d(7%, -6%, 0); } }
.ghost { position: absolute; left: 50%; bottom: 8%; transform: translate3d(-50%, calc(var(--sy, 0) * -.12px), 0); font-size: clamp(5.5rem, 24vw, 21rem); font-weight: 800; line-height: .8; letter-spacing: -.05em; white-space: nowrap; background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.grain { position: absolute; inset: 0; opacity: .5; background: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 3px 3px; mix-blend-mode: overlay; }

.hero-in { position: relative; display: flex; flex-direction: column; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 99px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: .82rem; font-weight: 500; color: rgba(255, 255, 255, .9); }
.live { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.hero h1 { margin-top: 26px; font-size: clamp(2.6rem, 6.6vw, 5.4rem); font-weight: 600; line-height: 1.02; letter-spacing: -.045em; max-width: 12em; }
.hero h1 .hl { display: inline-block; }
.hero h1 em { letter-spacing: -.05em; color: #c9dbff; }
.lead { margin-top: 26px; max-width: 40rem; font-size: 1.12rem; line-height: 1.65; color: rgba(255, 255, 255, .8); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; }
.hero-meta { margin-top: 20px; font-size: .8rem; color: rgba(255, 255, 255, .55); }

/* headline word reveal (only when JS runs) */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .2em .14em .16em 0; margin: -.2em 0 -.16em; }
.js .split .wi { display: inline-block; transform: translateY(112%); }
.js .split.go .wi { transform: none; transition: transform 1s var(--ease) calc(var(--i, 0) * 75ms + 120ms); }
.js .badge, .js .lead, .js .hero-cta, .js .hero-meta { opacity: 0; transform: translateY(18px); }
.js .go-in .badge, .js .go-in .lead, .js .go-in .hero-cta, .js .go-in .hero-meta { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .go-in .badge { transition-delay: 0s; } .js .go-in .lead { transition-delay: .55s; } .js .go-in .hero-cta { transition-delay: .7s; } .js .go-in .hero-meta { transition-delay: .85s; }

/* product stage */
.stage { position: relative; margin-top: 64px; margin-bottom: -150px; z-index: 2; --px: 0; --py: 0; --sc: 0; }
.js .stage { opacity: 0; transform: translateY(60px) scale(.97); transition: opacity 1.2s var(--ease) .5s, transform 1.4s var(--ease) .5s; }
.js .go-in ~ .stage, .js .stage.go { opacity: 1; transform: none; }
.win { width: min(980px, 100%); margin-inline: auto; padding: 10px; border-radius: 34px; background: rgba(255, 255, 255, .34); border: 1px solid rgba(255, 255, 255, .62); box-shadow: 0 50px 110px rgba(14, 40, 120, .38), inset 0 1px 0 rgba(255, 255, 255, .7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); text-align: left; }
.win-in { border-radius: 26px; background: #0a1230; overflow: hidden; color: #e8eeff; }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 13px 18px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.win-bar span { margin-left: 10px; font-size: .76rem; color: #8b99c9; }
.win-body { display: grid; grid-template-columns: minmax(0, 1fr) 232px; }
.win-chart { padding: 16px 18px 12px; min-width: 0; }
.px-row { display: flex; align-items: baseline; gap: 12px; font-size: .85rem; }
.px-row b { font-size: .95rem; } .px-row span { font-variant-numeric: tabular-nums; color: #c8d3f5; font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; } .px-row em { font: 600 .8rem var(--font); }
#chart { display: block; width: 100%; height: 300px; margin-top: 6px; }
#chart .cu line, #chart .cu rect { stroke: #12b981; fill: #12b981; } #chart .cd line, #chart .cd rect { stroke: #ef4565; fill: #ef4565; }
#chart .gl { stroke: rgba(255, 255, 255, .06); stroke-width: 1; }
#chart .last { stroke: rgba(122, 155, 255, .55); stroke-dasharray: 4 5; stroke-width: 1; }
.win-side { padding: 18px 18px 18px 6px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.ring-wrap { position: relative; width: 104px; height: 104px; margin: 0 auto 4px; }
.ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 5; }
.ring-bg { stroke: rgba(255, 255, 255, .1); }
.ring-fg { stroke: #7aa2ff; stroke-linecap: round; }
.ring-wrap.result .ring-fg { stroke: #f5c451; }
.ring-txt { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.05; }
.ring-txt b { font-size: 1.7rem; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.ring-txt span { font-size: .52rem; letter-spacing: .1em; color: #8b99c9; margin-top: 3px; }
.amt { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); font-size: .82rem; color: #8b99c9; }
.amt b { color: #fff; font-size: .95rem; }
.dir { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dir span { text-align: center; padding: 12px 6px; border-radius: 12px; font-weight: 700; font-size: .92rem; color: #fff; }
.d-up { background: #12b981; box-shadow: 0 10px 24px rgba(18, 185, 129, .3); } .d-down { background: #ef4565; box-shadow: 0 10px 24px rgba(239, 69, 101, .3); }
.side-note { font-size: .7rem; color: #8b99c9; text-align: center; line-height: 1.4; }

.chip { position: absolute; z-index: 3; padding: 14px 20px; border-radius: 20px; background: rgba(255, 255, 255, .9); color: var(--ink); text-align: left; box-shadow: 0 24px 60px rgba(20, 50, 140, .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transform: translate3d(calc(var(--px) * var(--d, 12px)), calc(var(--py) * var(--d, 12px)), 0) rotate(var(--r, 0deg)); transition: transform .5s var(--ease); will-change: transform; }
.chip { translate: 0 calc(var(--sc, 0) * var(--k, 1) * 1px); }
.chip small { display: block; font-size: .7rem; color: var(--ink2); font-weight: 500; }
.chip b { font-size: 1.55rem; letter-spacing: -.03em; color: var(--cobalt); font-variant-numeric: tabular-nums; }
.chip-a { left: 1%; top: -8%; --d: 26px; --r: -6deg; --k: 1.3; }
.chip-b { right: -1%; top: 30%; --d: -20px; --r: 5deg; --k: .5; }
.chip-c { left: 0; bottom: 16%; --d: 16px; --r: 3deg; --k: .8; }

/* ---------- marquee ---------- */
.marq { margin-top: 170px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marq-track { display: flex; gap: 14px; width: max-content; animation: marq 46s linear infinite; }
.marq:hover .marq-track { animation-play-state: paused; }
.marq-track span { white-space: nowrap; padding: 11px 22px; border: 1px solid var(--line); border-radius: 99px; background: #f6f8ff; color: var(--ink2); font-size: .86rem; font-weight: 500; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- statement ---------- */
.stmt-sec { padding: 120px 0 90px; }
.kicker { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 20px; }
.kicker.light { color: #8fb0ff; }
.stmt { font-size: clamp(1.55rem, 3.7vw, 3rem); font-weight: 600; line-height: 1.2; letter-spacing: -.035em; color: var(--ink); max-width: 24em; }
.stmt em { letter-spacing: -.04em; }
.js .stmt .w { opacity: .15; transition: opacity .4s; }
.js .stmt .w.lit { opacity: 1; }

/* ---------- section heads ---------- */
.sec-head { text-align: center; max-width: 46rem; margin-inline: auto; }
.sec-head .kicker { margin-bottom: 18px; }
.title { font-size: clamp(2rem, 4.4vw, 3.5rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.06; }
.title em { letter-spacing: -.05em; color: var(--blue); }
.title.left { text-align: left; }
.sub { margin-top: 20px; color: var(--ink2); font-size: 1.05rem; line-height: 1.7; }
.sub.left { text-align: left; }

/* ---------- flow (sticky storytelling) ---------- */
.flow { padding: 90px 0 130px; background: linear-gradient(180deg, #fff 0%, var(--pastel) 100%); }
.flow-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; margin-top: 70px; align-items: start; }
.fstep { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; gap: 14px; opacity: .3; transition: opacity .6s; }
.fstep.on { opacity: 1; }
.fnum { font-family: var(--serif); font-style: italic; font-size: clamp(3.6rem, 7vw, 6rem); line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--blue); letter-spacing: -.04em; }
.fstep h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 600; letter-spacing: -.035em; max-width: 16em; }
.fstep p { color: var(--ink2); font-size: 1.04rem; max-width: 30em; }
.flow-vis { position: sticky; top: 112px; align-self: start; }
.vis-card { position: relative; padding: 44px 36px 32px; border-radius: 36px; color: #fff; background: radial-gradient(80% 60% at 50% 0%, rgba(79, 140, 255, .42), transparent 70%), linear-gradient(180deg, #0a1538, #060c26); box-shadow: 0 40px 90px rgba(14, 40, 120, .3), inset 0 1px 0 rgba(255, 255, 255, .1); overflow: hidden; }
.vwrap { position: relative; width: min(300px, 74%); margin: 0 auto; }
.vring { display: block; width: 100%; }
.vtrack { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 12; }
.arc { fill: none; stroke-width: 12; stroke-linecap: round; transform-origin: 120px 120px; transition: opacity .6s, stroke-width .6s; opacity: .18; }
.arc-bet { stroke: #6b9bff; stroke-dasharray: 292 604; transform: rotate(-90deg); }
.arc-res { stroke: #34d399; stroke-dasharray: 292 604; transform: rotate(90deg); }
.vmark { fill: #fff; opacity: 0; transition: opacity .5s; }
.flow-vis[data-step="0"] .arc-bet { opacity: 1; stroke-width: 15; }
.flow-vis[data-step="1"] .arc { opacity: .5; } .flow-vis[data-step="1"] .vmark { opacity: 1; animation: pulse2 1.6s infinite; }
.flow-vis[data-step="2"] .arc-res { opacity: 1; stroke-width: 15; }
@keyframes pulse2 { 50% { r: 11; opacity: .5; } }
.vcenter { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.vcenter b { font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.vcenter span { margin-top: 6px; color: #a9bbf0; font-size: .92rem; }
.leg { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 8px; }
.leg li { display: grid; grid-template-columns: 14px auto 1fr; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid transparent; font-size: .88rem; color: #a9bbf0; transition: background .4s, border-color .4s, color .4s; }
.leg li b { color: #fff; font-weight: 600; } .leg li span { text-align: right; }
.leg li.on { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .14); color: #fff; }
.k { width: 10px; height: 10px; border-radius: 50%; } .k1 { background: #6b9bff; } .k2 { background: #fff; } .k3 { background: #34d399; }

/* ---------- bento ---------- */
.bento-sec { padding: 120px 0; background: var(--pastel); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; margin-top: 64px; }
.bcard { position: relative; overflow: hidden; padding: 32px; border-radius: 32px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 0 #fff inset, 0 20px 50px rgba(47, 109, 240, .07); transition: transform .5s var(--ease), box-shadow .5s; display: flex; flex-direction: column; gap: 12px; }
.bcard::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(47, 109, 240, .13), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.bcard:hover { transform: translateY(-4px); box-shadow: 0 30px 70px rgba(47, 109, 240, .16); }
.bcard:hover::before { opacity: 1; }
.bcard h3 { font-size: 1.45rem; font-weight: 600; letter-spacing: -.03em; }
.bcard p { color: var(--ink2); max-width: 32em; }
.b1 { grid-column: span 7; } .b2 { grid-column: span 5; } .b3 { grid-column: span 5; } .b4 { grid-column: span 7; } .b5 { grid-column: span 6; } .b6 { grid-column: span 6; background: linear-gradient(150deg, #0b1745, #0d2a7c); color: #fff; border-color: transparent; }
.b6 p { color: rgba(255, 255, 255, .78); }
.cap { margin-top: auto; padding-top: 6px; color: #8b95c0; font-size: .74rem; }
.more { margin-top: auto; align-self: flex-start; display: inline-flex; gap: 8px; padding: 11px 20px; border-radius: 99px; background: #fff; color: var(--ink); font-weight: 600; font-size: .9rem; transition: gap .3s var(--ease); }
.more:hover { gap: 14px; }

.vz-ticks { display: grid; gap: 8px; margin-top: 8px; }
.tk { display: grid; grid-template-columns: 1fr auto 10px; gap: 14px; align-items: center; padding: 11px 16px; border-radius: 14px; background: #f5f7ff; border: 1px solid var(--line); font-size: .86rem; animation: rowlit 6s infinite; }
.tk:nth-child(2) { animation-delay: 1.5s; } .tk:nth-child(3) { animation-delay: 3s; } .tk:nth-child(4) { animation-delay: 4.5s; }
.tk code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-weight: 600; font-size: .84rem; }
.tk span { color: #0a7a52; font-weight: 600; font-size: .8rem; } .tk i { width: 8px; height: 8px; border-radius: 50%; background: var(--up); }
.tk.bad span { color: #b4233f; } .tk.bad i { background: var(--down); }
@keyframes rowlit { 0%, 18%, 100% { background: #f5f7ff; } 6%, 12% { background: #e6efff; } }
.vz-ledger { display: grid; gap: 4px; margin-top: 6px; }
.vz-ledger div { display: flex; justify-content: space-between; padding: 11px 4px; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.vz-ledger b { font-variant-numeric: tabular-nums; }
.vz-ledger .sum { border-bottom: 0; color: #0a7a52; font-weight: 600; }
.vz-otp { display: flex; gap: 8px; margin-top: 8px; }
.vz-otp i { flex: 1; max-width: 52px; aspect-ratio: 1 / 1.15; display: grid; place-items: center; border-radius: 14px; background: #f5f7ff; border: 1px solid var(--line); font-style: normal; font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.vz-otp i.cur { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 109, 240, .15); position: relative; }
.vz-otp i.cur::after { content: ""; width: 2px; height: 46%; background: var(--blue); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.vz-wallet { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.vz-wallet span { padding: 12px 24px; border-radius: 99px; background: linear-gradient(180deg, #f5f8ff, #e8eeff); border: 1px solid var(--line); font-weight: 600; font-size: .9rem; color: var(--ink); }
.vz-switch { display: inline-flex; padding: 5px; border-radius: 99px; background: #eef2ff; border: 1px solid var(--line); align-self: flex-start; margin-top: 8px; }
.vz-switch span { padding: 10px 28px; border-radius: 99px; font-weight: 600; font-size: .9rem; color: var(--ink2); }
.vz-switch .on { background: var(--ink); color: #fff; box-shadow: 0 8px 20px rgba(11, 20, 64, .25); }

/* ---------- numbers + lab ---------- */
.numbers { padding: 120px 0 90px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 38px 18px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: clamp(1.9rem, 3.8vw, 3.1rem); font-weight: 600; letter-spacing: -.045em; line-height: 1.05; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #1b3cf0, #4f8cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 10px; color: var(--ink2); font-size: .88rem; }
.stats-note { margin-top: 14px; text-align: center; color: #8b95c0; font-size: .78rem; }
.lab { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 56px; align-items: center; margin-top: 80px; padding: 56px; border-radius: 44px; background: radial-gradient(70% 90% at 100% 0%, rgba(255, 255, 255, .9), transparent 60%), linear-gradient(150deg, #dbe5ff, #c3d3ff); }
.lab-copy h3 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.12; }
.lab-copy .kicker { margin-bottom: 14px; }
.lab-copy p:not(.kicker) { margin-top: 16px; color: var(--ink2); }
.lab-card { padding: 30px; border-radius: 28px; background: #fff; box-shadow: 0 30px 70px rgba(47, 109, 240, .22); }
.lab-l { display: flex; justify-content: space-between; font-size: .9rem; color: var(--ink2); font-weight: 500; margin-bottom: 18px; }
.lab-l b { color: var(--ink); font-size: 1.05rem; }
#stake { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; outline: none; cursor: pointer; background: linear-gradient(90deg, var(--blue) var(--p, 2%), #dfe6fb var(--p, 2%)); }
#stake::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 7px solid var(--blue); box-shadow: 0 6px 16px rgba(47, 109, 240, .4); }
#stake::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 7px solid var(--blue); box-shadow: 0 6px 16px rgba(47, 109, 240, .4); }
.lab-out { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.lab-out > div { padding: 16px 18px; border-radius: 18px; }
.lab-out span { display: block; font-size: .78rem; font-weight: 500; }
.lab-out b { display: block; margin-top: 4px; font-size: 1.5rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.o-win { background: #e7f9f1; color: #0a7a52; } .o-lose { background: #fff0f2; color: #b4233f; }
.lab-break { margin-top: 18px; font-size: .84rem; color: var(--ink2); line-height: 1.55; }
.lab-break b { color: var(--ink); }

/* ---------- trust ---------- */
.trust-sec { position: relative; isolation: isolate; margin: 0 14px; padding: 120px 0; border-radius: 48px; color: #eaf0ff; background: var(--navy); overflow: hidden; }
.trust-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 90% 0%, rgba(47, 109, 240, .5), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(79, 140, 255, .22), transparent 70%); }
.trust { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.trust .title { color: #fff; } .trust .title em { color: #9dbaff; }
.trust .sub { color: #a9b6dc; }
.checks { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: c; }
.checks li { position: relative; padding: 4px 0 4px 54px; color: #a9b6dc; counter-increment: c; line-height: 1.6; }
.checks li::before { content: counter(c); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; font-weight: 600; font-size: .9rem; }
.checks b { color: #fff; font-weight: 600; }
.trust-vis { display: grid; gap: 20px; min-width: 0; }
.chain { position: relative; display: grid; gap: 22px; padding: 28px; border-radius: 28px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.blk { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: center; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.blk:not(:last-of-type)::after { content: ""; position: absolute; left: 34px; top: 100%; width: 2px; height: 22px; background: linear-gradient(180deg, rgba(122, 162, 255, .9), rgba(122, 162, 255, .2)); animation: flowdown 2.4s linear infinite; }
@keyframes flowdown { 0% { opacity: .2; } 50% { opacity: 1; } 100% { opacity: .2; } }
.blk small { color: #8fa3d8; font-size: .76rem; grid-row: span 2; }
.blk code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #fff; font-weight: 600; font-size: .95rem; }
.blk em { font: 400 .74rem var(--font); color: #8fa3d8; }
.blk.now { background: rgba(79, 140, 255, .18); border-color: rgba(122, 162, 255, .5); }
.chain .cap { color: #8fa3d8; margin-top: 0; }
.facts { padding: 6px 24px; border-radius: 28px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.row { display: flex; justify-content: space-between; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: .93rem; color: #a9b6dc; }
.row:last-child { border-bottom: 0; } .row b { color: #fff; font-weight: 600; }

/* ---------- start ---------- */
.start-sec { padding: 130px 0 90px; }
.steps { list-style: none; margin: 60px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.step { position: relative; overflow: hidden; padding: 34px 30px 36px; border-radius: 30px; background: linear-gradient(180deg, #f6f8ff, #eaf0ff); border: 1px solid var(--line); min-height: 280px; display: flex; flex-direction: column; gap: 12px; }
.num { font-family: var(--serif); font-style: italic; font-size: 6.5rem; line-height: .85; color: transparent; -webkit-text-stroke: 1.5px var(--blue); margin-bottom: auto; }
.step h3 { font-size: 1.4rem; font-weight: 600; letter-spacing: -.03em; }
.step p { color: var(--ink2); font-size: .96rem; }

/* ---------- faq ---------- */
.faq-sec { padding: 60px 0 130px; }
.faq { display: grid; gap: 12px; margin-top: 54px; }
.faq details { background: #f6f8ff; border: 1px solid var(--line); border-radius: 22px; padding: 0 28px; transition: background .3s, box-shadow .3s; }
.faq details[open] { background: #fff; box-shadow: 0 20px 50px rgba(47, 109, 240, .1); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; font-weight: 600; font-size: 1.04rem; letter-spacing: -.01em; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 400; font-size: 1.2rem; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { padding: 0 0 24px; color: var(--ink2); max-width: 60ch; }

/* ---------- final CTA ---------- */
.final { padding: 0 14px 14px; }
.final-in { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding: 120px 24px 130px; border-radius: 48px; color: var(--ink);
  background: radial-gradient(70% 80% at 50% 120%, #fff 0%, rgba(255, 255, 255, 0) 62%), linear-gradient(180deg, #b6caff 0%, #d7e3ff 55%, #eef3ff 100%); }
.final-in .c1 { width: 520px; height: 200px; left: -6%; top: 10%; animation: drift 40s ease-in-out infinite alternate; }
.final-in .c2 { width: 620px; height: 240px; right: -8%; bottom: 0; animation: drift 52s ease-in-out infinite alternate-reverse; }
.final-in h2 { font-size: clamp(2rem, 5vw, 4rem); font-weight: 600; letter-spacing: -.045em; line-height: 1.06; max-width: 15em; margin-inline: auto; }
.final-in h2 em { color: var(--cobalt); letter-spacing: -.05em; }
.final-in .kicker { color: var(--cobalt); }
.final-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px; margin-top: 40px; }
.final .pill { background: var(--ink); color: #fff; box-shadow: 0 18px 44px rgba(11, 20, 64, .3); }
.final .pill .dot { background: #fff; color: var(--ink); }
.dark-link { color: var(--ink); font-weight: 500; border-bottom: 1px solid rgba(11, 20, 64, .3); padding-bottom: 2px; }
.dark-link:hover { border-bottom-color: var(--ink); }

/* ---------- footer ---------- */
.foot { background: var(--navy); color: #a9b6dc; padding: 64px 0 36px; }
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 26px; flex-wrap: wrap; font-size: .9rem; }
.foot nav a:hover { color: #fff; }
.risk { margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; line-height: 1.8; color: #8e9bc4; }
.risk b { color: #dfe7ff; }
.copy { margin-top: 24px; font-size: .78rem; color: #6d7aa3; }
.ns { text-align: center; padding: 14px; color: var(--ink2); }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .bento .reveal:nth-child(2n) { transition-delay: .1s; }
.js .maskin { clip-path: inset(10% 5% 10% 5% round 40px); opacity: 0; transform: scale(.96); transition: clip-path 1.2s var(--ease), opacity .9s, transform 1.2s var(--ease); }
.js .maskin.in { clip-path: inset(0 round 40px); opacity: 1; transform: none; }

/* ---------- tablet & phone ---------- */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .flow-grid, .trust, .lab { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .flow-vis { position: relative; top: 0; order: -1; }
  .fstep { min-height: 0; padding: 36px 0; opacity: 1; }
  .win-body { grid-template-columns: minmax(0, 1fr); }
  .win-side { padding: 0 18px 18px; display: grid; grid-template-columns: 96px 1fr; gap: 12px 16px; align-items: center; }
  .win-side .amt, .win-side .dir, .win-side .side-note { grid-column: 2; }
  .ring-wrap { grid-row: span 3; width: 96px; height: 96px; margin: 0; }
  #chart { height: 220px; }
  .stage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: -110px; }
  .win { grid-column: 1 / -1; }
  .chip { position: static; transform: none; translate: none; --d: 0; }
  .chip-c { display: none; } .win { order: 0; } .chip { order: 1; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .b1, .b2, .b3, .b4, .b5, .b6 { grid-column: auto; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step { min-height: 0; } .num { font-size: 4.5rem; margin-bottom: 8px; }
  .lab { padding: 28px 22px; border-radius: 32px; }
  .trust-sec { padding: 84px 0; margin: 0 8px; border-radius: 34px; }
  .final { padding: 0 8px 8px; } .final-in { border-radius: 34px; padding: 84px 20px 92px; }
}
@media (max-width: 720px) {
  body { font-size: 14px; }
  .wrap { width: min(1160px, 100% - 32px); }
  .nav-in { height: 60px; gap: 14px; } .logo { height: 24px; }
  .nav-login { font-size: .84rem; } .nav-cta { gap: 12px; }
  .hero { padding-top: 112px; }
  .hero h1 { font-size: clamp(2.15rem, 10.4vw, 3rem); }
  .lead { font-size: 1rem; margin-top: 20px; }
  .hero-cta { margin-top: 28px; gap: 10px; } .glass-btn { padding: 13px 20px; font-size: .9rem; }
  .pill { font-size: .92rem; padding-left: 20px; } .pill .dot { width: 38px; height: 38px; }
  .stage { margin-top: 44px; }
  .marq { margin-top: 140px; }
  .stmt-sec { padding: 80px 0 60px; } .flow { padding: 60px 0 80px; } .bento-sec, .numbers { padding: 80px 0 64px; }
  .start-sec { padding: 80px 0 60px; } .faq-sec { padding: 40px 0 84px; }
  .stats-grid { grid-template-columns: 1fr 1fr; } .stat { padding: 28px 10px; }
  .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .bcard { padding: 26px 22px; border-radius: 26px; }
  .vis-card { padding: 34px 20px 24px; border-radius: 28px; }
  .leg li { grid-template-columns: 12px 1fr; } .leg li span { grid-column: 2; text-align: left; font-size: .8rem; }
  .faq details { padding: 0 20px; border-radius: 18px; } .faq summary { padding: 20px 0; font-size: .98rem; }
  .row { font-size: .84rem; } .risk { font-size: .74rem; }
  .final-cta { flex-direction: column; gap: 18px; }
}

/* ---------- reduced motion / low-power ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .maskin, .js .stage, .js .badge, .js .lead, .js .hero-cta, .js .hero-meta { opacity: 1; transform: none; clip-path: none; }
  .js .split .wi { transform: none; }
  .js .stmt .w { opacity: 1; }
  .marq-track { flex-wrap: wrap; width: auto; justify-content: center; } .marq-track span[aria-hidden] { display: none; }
}
@media (max-width: 720px) { .cloud { filter: blur(18px); } .grain { display: none; } }

/* ---------- GSAP / Lenis mode (html.gsap): JS owns the motion, CSS transitions step aside until an element is revealed ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.gsap .reveal:not(.in), .gsap .maskin:not(.in), .gsap .stmt .w { transition: none; }
.gsap .marq-track { animation: none; }
.tsplit .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .2em .14em .16em 0; margin: -.2em 0 -.16em; }
.gsap .hero-in { will-change: transform, opacity; }