:root {
  --bg: #05070d;
  --panel: rgba(255,255,255,.045);
  --panel2: rgba(255,255,255,.07);
  --edge: rgba(255,255,255,.08);
  --edge2: rgba(255,255,255,.14);
  --text: #eef2f8;
  --text2: #b4bccb;
  --mute: #7e8798;
  --faint: #4f5767;
  --blue: #3d7bff;
  --cyan: #37d2ff;
  --violet: #7c5cff;
  --grad: linear-gradient(100deg, var(--blue), var(--cyan));
  --up: #3ddc97;
  --down: #ff6b7a;
  --r: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  background: var(--bg); color: var(--text);
  font: 500 16px/1.55 "Manrope", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}
body.lock { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, output { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.up { color: var(--up); } .down { color: var(--down); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; line-height: 1.05; letter-spacing: -.035em; }

/* ---------- header ---------- */
.topWrap { position: fixed; z-index: 30; top: 0; left: 0; right: 0; }
.topWrap::before { content: ""; position: absolute; z-index: -1; inset: 0; background: rgba(5,7,13,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--edge); opacity: 0; transition: opacity .25s; }
.topWrap.stuck::before { opacity: 1; }
.bar {
  position: relative; margin: 0 auto;
  width: min(1240px, 100% - 32px); display: flex; align-items: center; gap: 40px; padding: 18px 0;
  transition: padding .25s;
}
.topWrap.stuck .bar { padding: 10px 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 10px; background: #fff; color: var(--bg); font-weight: 700; }
.skip:focus { top: 10px; }
.menuBtn { display: none; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid var(--edge2); }
.menuBtn svg { width: 20px; height: 20px; }
.logo { display: flex; align-items: center; gap: 12px; }
.mark { display: block; width: 40px; height: 40px; flex: none; filter: drop-shadow(0 6px 16px rgba(55,150,255,.45)); }
.mark svg { display: block; width: 100%; height: 100%; transition: transform .7s cubic-bezier(.6,0,.2,1); }
.logo:hover .mark svg { transform: rotate(180deg); }
.brand { font-weight: 500; font-size: 1.7rem; letter-spacing: -.05em; line-height: 1; padding-bottom: 3px; color: var(--text2); }
.brand b { font-weight: 800; color: #fff; }
.nav { display: flex; gap: 30px; margin: 0 auto; color: var(--text2); font-weight: 600; font-size: .98rem; }
.nav a { position: relative; transition: color .15s; }
.nav a:hover, .nav a.on { color: #fff; }
.nav a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px; background: var(--grad); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: .98rem; transition: transform .15s, filter .15s, background .2s; }
.pill svg { width: 18px; height: 18px; stroke-width: 2.5; }
.pill.primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(55,170,255,.7); }
.pill.primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.pill.ghost { background: rgba(255,255,255,.06); border: 1px solid var(--edge2); color: var(--text); }
.pill.ghost:hover { background: rgba(255,255,255,.1); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 150px 0 36px; min-height: min(100vh, 980px); display: flex; flex-direction: column; isolation: isolate; }
.aurora { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.aurora i { position: absolute; border-radius: 50%; will-change: transform; }
.aurora i:nth-child(1) { width: 70vw; height: 60vw; left: 30%; top: 10%; background: radial-gradient(closest-side, rgba(61,123,255,.38), transparent); animation: drift1 22s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 90vw; height: 22vw; left: 10%; top: 48%; transform: rotate(-24deg); background: radial-gradient(closest-side, rgba(55,210,255,.3), transparent); animation: drift2 18s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 50vw; height: 50vw; left: -10%; top: -20%; background: radial-gradient(closest-side, rgba(124,92,255,.22), transparent); animation: drift3 26s ease-in-out infinite alternate; }
.aurora::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, var(--bg)); }
@keyframes drift1 { to { transform: translate(-8%, 6%) scale(1.1); } }
@keyframes drift2 { to { transform: rotate(-18deg) translate(6%, -10%) scale(1.15); } }
@keyframes drift3 { to { transform: translate(10%, 12%); } }
.coins3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; pointer-events: none; }

.inner { width: min(1240px, 100% - 32px); margin: 0 auto; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 500px; gap: 72px; align-items: center; }
.pitch h1 { font-size: clamp(3rem, 6.6vw, 6rem); font-weight: 800; line-height: .98; letter-spacing: -.05em; }
.lead { margin-top: 26px; max-width: 32rem; font-size: 1.2rem; line-height: 1.55; color: var(--text2); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.ctas .pill { padding: 15px 26px; font-size: 1.02rem; }
.trust { display: flex; margin-top: 64px; }
.trust div { display: grid; padding: 0 28px; border-left: 1px solid var(--edge2); }
.trust div:first-child { padding-left: 0; border-left: 0; }
.trust b { font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.trust div > span { color: var(--mute); font-size: .88rem; }

/* ---------- the swap card ---------- */
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(20,26,42,.9), rgba(10,14,24,.92));
  border: 1px solid var(--edge2); border-radius: 32px; padding: 22px;
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.08);
}
.card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(160deg, rgba(55,210,255,.5), transparent 35%, transparent 70%, rgba(61,123,255,.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.05); margin-bottom: 18px; }
.tab { padding: 11px; border-radius: 999px; font-weight: 700; color: var(--mute); border: 1px solid transparent; transition: color .2s, background .2s, border-color .2s; }
.tab:hover { color: var(--text); }
.tab.on { color: #fff; background: rgba(255,255,255,.06); border-color: rgba(55,210,255,.55); }

.slot { position: relative; background: var(--panel); border: 1px solid var(--edge); border-radius: var(--r); padding: 16px 18px 12px; transition: border-color .2s, background .2s; }
.slot:focus-within { border-color: rgba(55,210,255,.45); background: var(--panel2); }
.slot label { display: block; font-size: .9rem; color: var(--mute); font-weight: 600; }
.line { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.line input, .line output { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 2.1rem; font-weight: 700; letter-spacing: -.03em; padding: 2px 0; }
.line output { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.usd { display: block; min-height: 1.3em; font-size: .84rem; color: var(--mute); }
.pick { display: flex; align-items: center; gap: 10px; padding: 7px 10px 7px 7px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--edge); flex: none; transition: background .15s, border-color .15s; }
.pick:hover { background: rgba(255,255,255,.1); border-color: var(--edge2); }
.pt { display: grid; line-height: 1.12; text-align: left; min-width: 0; }
.pt b { font-weight: 800; font-size: 1.05rem; }
.pt small { font-size: .74rem; color: var(--mute); font-weight: 600; }
.chev { width: 18px; height: 18px; color: var(--mute); }
.ci { border-radius: 50%; flex: none; display: block; object-fit: contain; }
.glyph { display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--c), #fff 25%), var(--c) 60%); color: #fff; font-weight: 800; line-height: 1; }

.flip { display: grid; place-items: center; width: 44px; height: 44px; margin: -12px auto; position: relative; z-index: 2; border-radius: 14px; background: #1a2134; border: 1px solid var(--edge2); color: #fff; transition: transform .45s cubic-bezier(.3,.7,.2,1), background .15s; }
.flip svg { width: 20px; height: 20px; }
.flip:hover { background: #222b42; }
.flip.turned { transform: rotate(180deg); }

.rateRow { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin: 16px 2px 0; }
.rate { font-weight: 700; font-size: .98rem; }
.badge { display: inline-block; margin-top: 6px; padding: 3px 9px; border-radius: 7px; background: rgba(55,210,255,.1); color: #8fdcff; font-size: .76rem; font-weight: 700; }
.fixed { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; font-size: .92rem; color: var(--text2); user-select: none; flex: none; position: relative; }
.fixed input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fixed i { width: 46px; height: 26px; border-radius: 999px; background: rgba(255,255,255,.12); position: relative; transition: background .2s; }
.fixed i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .25s cubic-bezier(.3,.7,.2,1); }
.fixed input:checked + i { background: var(--grad); }
.fixed input:checked + i::after { transform: translateX(20px); }
.fixed input:focus-visible + i { outline: 2px solid var(--cyan); outline-offset: 2px; }
.fixed.on { color: #fff; }
.lock { margin: 10px 2px 0; font-size: .82rem; color: #8fdcff; }

.more { margin: 12px 2px 0; }
.more summary { list-style: none; cursor: pointer; font-size: .84rem; font-weight: 600; color: var(--mute); display: inline-flex; align-items: center; gap: 8px; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.more[open] summary::after { transform: rotate(225deg); }
.more summary:hover { color: var(--text); }
.chart { margin-top: 10px; padding: 12px 14px 8px; border-radius: 14px; background: var(--panel); border: 1px solid var(--edge); }
.chead { display: flex; justify-content: space-between; gap: 12px; font-size: .8rem; color: var(--mute); font-weight: 600; }
#chartSvg { display: block; width: 100%; height: 54px; margin-top: 6px; }
.sums { margin-top: 10px; display: grid; gap: 7px; font-size: .88rem; }
.sums div { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.sums dt { color: var(--mute); }
.sums dd { text-align: right; overflow-wrap: anywhere; display: flex; align-items: center; gap: 8px; justify-content: flex-end; font-weight: 600; }
.sums .ok { color: var(--up); }
.sums .warn { color: #ffc46b; }
.ring { width: 16px; height: 16px; display: inline-block; }
.ring svg { width: 16px; height: 16px; transform: rotate(-90deg); stroke-width: 2.5; }
.ring circle { stroke: rgba(255,255,255,.12); }
.ring .arc { stroke: var(--cyan); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .78rem; font-weight: 500; }

.slot.plain { margin-top: 16px; padding-bottom: 14px; }
.addr { width: 100%; margin-top: 6px; background: none; border: 0; outline: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86rem; padding: 4px 0; }
.addr::placeholder { font-family: "Manrope", sans-serif; color: var(--faint); font-size: 1rem; font-weight: 500; }
#trackId { width: 100%; margin-top: 6px; background: none; border: 0; outline: 0; font-size: 1.1rem; font-weight: 700; padding: 4px 0; }
.msg { display: block; font-size: .82rem; font-weight: 600; }
.msg:not(:empty) { margin-top: 6px; }
.msg.bad { color: var(--down); }
.msg.good { color: var(--up); }

.go { width: 100%; margin-top: 16px; padding: 18px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 1.12rem; font-weight: 800; box-shadow: 0 14px 34px -14px rgba(55,170,255,.8); transition: filter .15s, transform .1s; }
.go span { font-weight: 600; opacity: .85; margin-left: 4px; }
.go:hover { filter: brightness(1.08); }
.go:active { transform: translateY(1px); }
.go.soft { background: rgba(255,255,255,.08); box-shadow: none; }

/* order */
.ohead { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.ohead small { display: block; font-size: .8rem; color: var(--mute); }
.ohead b { font-size: 1.35rem; font-weight: 800; letter-spacing: .02em; }
.tag { white-space: nowrap; margin-left: auto; padding: 5px 12px; border-radius: 999px; background: rgba(255,196,107,.12); color: #ffc46b; font-size: .78rem; font-weight: 700; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 18px; }
.steps li { font-size: .74rem; color: var(--mute); line-height: 1.25; font-weight: 600; }
.steps i { display: block; height: 4px; border-radius: 4px; background: rgba(255,255,255,.1); margin-bottom: 8px; overflow: hidden; position: relative; }
.steps li.now { color: var(--text); }
.steps li.now i::after { content: ""; position: absolute; inset: 0; background: var(--grad); transform-origin: left; animation: wait 2.4s ease-in-out infinite; }
@keyframes wait { 0% { transform: scaleX(0); } 70%, 100% { transform: scaleX(1); opacity: 0; } }
.pay { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: center; background: var(--panel); border: 1px solid var(--edge); border-radius: var(--r); padding: 16px; }
.pay small { color: var(--mute); font-size: .82rem; font-weight: 600; }
.due { margin: 12px 2px 0; font-size: .86rem; font-weight: 700; color: #8fdcff; }
.due.over { color: var(--down); }
.help { margin: 14px 2px 0; font-size: .84rem; color: var(--mute); }
.help b { color: var(--text2); font-weight: 600; overflow-wrap: anywhere; }
.ohead .copy { margin-left: 4px; }
.amt { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 2px 0 10px; font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; }
.dep { margin-top: 4px; font-size: .9rem; }
.copy { padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid var(--edge); font-size: .8rem; font-weight: 700; letter-spacing: 0; color: var(--text); flex: none; }
.copy:hover { background: rgba(255,255,255,.14); }
#order .sums { margin: 16px 2px 0; }

/* track */
.rhead { margin: 22px 2px 8px; font-size: .84rem; color: var(--mute); font-weight: 600; }
.recent { list-style: none; display: grid; gap: 6px; }
.recent button { width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: baseline; text-align: left; padding: 12px 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--edge); }
.recent button:hover { border-color: var(--edge2); }
.recent b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .84rem; }
.recent span { color: var(--text2); font-size: .88rem; }
.recent small { color: var(--faint); font-size: .78rem; }
.none { color: var(--mute); font-size: .9rem; padding: 6px 2px; list-style: none; }

/* ticker at the bottom of the hero */
.ticker {
  width: min(1240px, 100% - 32px); margin: 48px auto 0; overflow: hidden; border-radius: 999px;
  background: rgba(255,255,255,.04); border: 1px solid var(--edge); font-size: .86rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.track { display: flex; width: max-content; animation: run 80s linear infinite; }
.ticker:hover .track { animation-play-state: paused; }
.run { display: flex; }
.tk { display: flex; align-items: center; gap: 8px; padding: 12px 24px; color: var(--text2); white-space: nowrap; font-weight: 600; }
.tk b { color: var(--text); font-weight: 800; }
.tk em { font-style: normal; }
@keyframes run { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.block { width: min(1240px, 100% - 32px); margin: 0 auto; padding: 110px 0 0; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.head p { color: var(--mute); max-width: 24rem; }
.grid { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cc { display: grid; gap: 14px; padding: 20px; text-align: left; border-radius: 24px; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); border: 1px solid var(--edge); transition: border-color .2s, transform .2s; }
.cc:hover { border-color: rgba(55,210,255,.35); transform: translateY(-3px); }
.ct { display: flex; align-items: center; gap: 12px; min-width: 0; }
.sp { width: 100%; height: 36px; display: block; }
.cp { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.cp b { font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
.cp em { font-style: normal; font-size: .86rem; font-weight: 700; }

.fees { display: grid; grid-template-columns: minmax(0, 1fr) 500px; gap: 72px; align-items: center; }
.ftext p { margin-top: 20px; color: var(--text2); max-width: 34rem; font-size: 1.1rem; }
.ticks { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: rgba(55,210,255,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2337d2ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat; }
.calc { background: linear-gradient(180deg, rgba(20,26,42,.9), rgba(10,14,24,.92)); border: 1px solid var(--edge2); border-radius: 32px; padding: 30px; }
.calc > label { font-size: .92rem; color: var(--mute); font-weight: 600; }
.calcRow { display: flex; align-items: center; gap: 6px; margin: 6px 0 16px; font-size: 3rem; font-weight: 800; letter-spacing: -.04em; }
.calcRow span { color: var(--faint); }
.calcRow input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-weight: 800; letter-spacing: -.04em; }
input[type=range] { width: 100%; accent-color: var(--cyan); height: 22px; }
.split { display: flex; height: 16px; border-radius: 999px; overflow: hidden; margin: 24px 0 20px; gap: 3px; }
.keepBar { flex: 1; background: linear-gradient(90deg, #2a3348, #46516b); }
.feeBar { background: var(--grad); }
.calc dl { display: grid; gap: 12px; }
.calc dl div { display: flex; justify-content: space-between; align-items: center; }
.calc dt { color: var(--text2); display: flex; align-items: center; gap: 10px; font-weight: 600; }
.calc dd { font-weight: 800; font-size: 1.25rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot.k { background: #46516b; } .dot.f { background: var(--cyan); }

.steps3 { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.steps3 li { padding: 28px; border-radius: 28px; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); border: 1px solid var(--edge); }
.steps3 .n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--grad); color: #fff; font-weight: 800; font-size: 1.15rem; margin-bottom: 22px; box-shadow: 0 10px 24px -10px rgba(55,170,255,.8); }
.steps3 b { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.steps3 p { margin-top: 8px; color: var(--text2); }

.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 72px; }
.qs details { border-bottom: 1px solid var(--edge); }
.qs details:first-child { border-top: 1px solid var(--edge); }
.qs summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-weight: 700; font-size: 1.1rem; position: relative; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.06); font-size: 1.2rem; font-weight: 600; color: var(--text2); transition: transform .25s; }
.qs details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.qs summary:hover { color: #fff; }
.qs p { padding: 0 0 22px; color: var(--text2); max-width: 42rem; }

/* ---------- footer ---------- */
.foot { width: min(1240px, 100% - 32px); margin: 0 auto; border-top: 1px solid var(--edge); color: var(--text2); font-size: .94rem; }
.fcols { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding: 56px 0 44px; }
.fbrand p { margin-top: 16px; max-width: 22rem; }
.fbrand .support { color: var(--text); font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.foot nav { display: grid; gap: 10px; align-content: start; }
.foot nav b { color: var(--text); font-weight: 800; margin-bottom: 4px; }
.foot nav a { color: var(--text2); width: max-content; transition: color .15s; }
.foot nav a:hover { color: #fff; }
.fbase { display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; padding: 22px 0 40px; border-top: 1px solid var(--edge); font-size: .86rem; color: var(--mute); }
.fbase .small { flex-basis: 100%; color: var(--faint); font-size: .8rem; max-width: 52rem; }

/* ---------- popular pairs ---------- */
.pairs { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pr { display: grid; gap: 16px; padding: 20px; text-align: left; border-radius: 24px; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); border: 1px solid var(--edge); transition: border-color .2s, transform .2s; }
.pr:hover { border-color: rgba(55,210,255,.35); transform: translateY(-3px); }
.duo { display: flex; }
.duo .ci + .ci { margin-left: -12px; box-shadow: 0 0 0 3px #0c1019; border-radius: 50%; }
.pn b { display: flex; align-items: center; gap: 6px; font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
.pn b svg { width: 18px; height: 18px; color: var(--cyan); stroke-width: 2.5; }
.pn small { display: block; color: var(--mute); font-size: .84rem; }
.prr { display: grid; gap: 2px; font-weight: 700; font-size: .94rem; padding-top: 14px; border-top: 1px solid var(--edge); }
.prr em { font-style: normal; font-size: .8rem; font-weight: 600; }

/* ---------- why ---------- */
.why h2 { max-width: 14ch; }
.wlist { list-style: none; margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--edge); }
.wlist li { padding: 30px 32px 34px 0; border-bottom: 1px solid var(--edge); }
.wlist li:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid var(--edge); }
.wlist svg { width: 30px; height: 30px; color: var(--cyan); stroke-width: 1.8; margin-bottom: 18px; }
.wlist b { display: block; font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
.wlist p { margin-top: 6px; color: var(--text2); }

/* ---------- coin picker ---------- */
.sheet { position: fixed; inset: 0; z-index: 40; background: rgba(3,5,10,.72); backdrop-filter: blur(8px); display: grid; place-items: center; padding: 16px; animation: fade .2s; }
.panel { width: min(460px, 100%); max-height: min(660px, 88vh); display: flex; flex-direction: column; background: linear-gradient(180deg, #141a2a, #0b0f19); border: 1px solid var(--edge2); border-radius: 28px; padding: 20px; animation: rise .25s cubic-bezier(.2,.8,.2,1); }
.phead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 1.1rem; font-weight: 800; }
.x { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,.07); }
.x svg { width: 16px; height: 16px; }
#search { width: 100%; background: var(--panel); border: 1px solid var(--edge); border-radius: 14px; padding: 13px 16px; outline: 0; }
#search:focus { border-color: rgba(55,210,255,.45); }
.clist { list-style: none; margin-top: 10px; overflow-y: auto; }
.clist button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; text-align: left; }
.clist button:hover, .clist button.cur { background: rgba(255,255,255,.06); }
.pp { margin-left: auto; display: grid; text-align: right; font-size: .92rem; font-weight: 700; line-height: 1.25; }
.pp small { font-size: .76rem; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(16px); opacity: 0; } }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; background: #fff; color: var(--bg); padding: 10px 20px; border-radius: 999px; font-size: .92rem; font-weight: 700; transition: .25s; pointer-events: none; z-index: 60; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- smaller screens ---------- */
@media (max-width: 1100px) {
  .inner { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .card { max-width: 560px; width: 100%; justify-self: center; }
  .fees, .faq { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav { display: none; }
  .nav.open { display: grid; gap: 4px; position: absolute; top: calc(100% + 6px); right: 0; width: min(280px, 100%); padding: 10px; border-radius: 20px; background: #0f1422; border: 1px solid var(--edge2); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); }
  .nav.open a { padding: 12px 14px; border-radius: 12px; color: var(--text); }
  .nav.open a:hover { background: rgba(255,255,255,.06); }
  .menuBtn { display: grid; }
  .bar { gap: 10px; }
  .bar .pill.ghost { margin-left: auto; }
  .pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wlist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wlist li, .wlist li:not(:nth-child(3n+1)) { padding: 28px 28px 30px 0; border-left: 0; }
  .wlist li:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--edge); }
  .fcols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fbrand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .hero { padding-top: 104px; }
  .trust { margin-top: 40px; }
  .inner { gap: 84px; }
  .trust div { padding: 0 16px; }
  .trust b { font-size: 1.35rem; }
  .steps3 { grid-template-columns: minmax(0, 1fr); }
  .wlist { grid-template-columns: minmax(0, 1fr); }
  .wlist li, .wlist li:nth-child(2n) { padding: 24px 0; border-left: 0; }
  .pay { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 14px; }
  .fcols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .card { padding: 14px; border-radius: 26px; }
  .line input, .line output { font-size: 1.7rem; }
  .steps li { font-size: .68rem; }
  .block { padding-top: 80px; }

  .calc { padding: 22px; }
  .calcRow { font-size: 2.4rem; }
}
@media (max-width: 460px) {
  .grid, .pairs { grid-template-columns: minmax(0, 1fr); }
  .bar .pill.ghost { padding: 11px 16px; font-size: .9rem; }
  .brand { font-size: 1.45rem; }
  .trust div > span { font-size: .78rem; }
  .pitch h1 { font-size: 2.7rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .track, .aurora i, .steps li.now i::after { animation: none; }
  .ticker { overflow-x: auto; }
  * { transition: none !important; }
}

/* ---------- legal pages ---------- */
.legal .doc { width: min(760px, 100% - 32px); margin: 0 auto; padding: 160px 0 80px; }
.dtabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.05); width: max-content; max-width: 100%; margin-bottom: 40px; }
.dtabs a { padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: .9rem; color: var(--mute); border: 1px solid transparent; }
.dtabs a:hover { color: var(--text); }
.dtabs a.on { color: #fff; background: rgba(255,255,255,.06); border-color: rgba(55,210,255,.55); }
.draft { margin-bottom: 28px; padding: 12px 16px; border-radius: 14px; background: rgba(255,196,107,.1); color: #ffc46b; font-size: .9rem; font-weight: 600; }
.doc h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; }
.doc .upd { margin-top: 10px; color: var(--mute); font-size: .9rem; }
.doc h2 { font-size: 1.3rem; letter-spacing: -.02em; margin: 40px 0 10px; }
.doc p, .doc li { color: var(--text2); max-width: 68ch; }
.doc p + p { margin-top: 12px; }
.doc ul { margin: 10px 0 0 1.2em; display: grid; gap: 8px; }
.doc li::marker { color: var(--cyan); }
.doc li b { color: var(--text); }
.doc a { color: #8fdcff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1100px) { .legal .bar .pill.primary { margin-left: auto; } }
.doc .dtabs a { text-decoration: none; color: var(--mute); }
.doc .dtabs a:hover, .doc .dtabs a.on { color: #fff; }

/* deposit details on the order */
.dep { display: grid; gap: 8px; justify-items: start; }
.depAddr { display: block; color: var(--text); font-size: .8rem; line-height: 1.45; word-break: break-all; }
.memoBox { margin-top: 10px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 12px 16px; border-radius: 16px; background: rgba(255,196,107,.08); border: 1px solid rgba(255,196,107,.25); }
.memoBox small { display: block; color: #ffc46b; font-size: .78rem; font-weight: 700; }
.memoBox b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .95rem; }
.memoBox p { grid-column: 1 / -1; color: var(--text2); font-size: .8rem; }
.netWarn { margin: 10px 2px 0; font-size: .8rem; color: var(--mute); }
.usd.low { color: #ffc46b; }
.clist button[disabled] { opacity: .45; cursor: not-allowed; }
.clist button[disabled]:hover { background: none; }
.pp .ro { color: var(--mute); font-weight: 600; }
.ohead { flex-wrap: wrap; }

/* order status: checking, rejected, expired */
.steps li.done { color: var(--text2); }
.steps li.done i { background: var(--grad); }
.steps li.fail { color: var(--down); }
.steps li.fail i { background: var(--down); }
.status { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--edge); }
.status b { display: block; font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; }
.status p { margin-top: 6px; color: var(--text2); font-size: .9rem; }
.status .stTime { color: #8fdcff; font-weight: 700; }
.stIcon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; }
.stIcon svg { width: 22px; height: 22px; stroke-width: 2.6; }
.status.checking .stIcon { border: 3px solid rgba(55,210,255,.18); border-top-color: var(--cyan); animation: spin 1s linear infinite; }
.status.rejected { background: rgba(255,107,122,.07); border-color: rgba(255,107,122,.3); }
.status.rejected .stIcon { background: rgba(255,107,122,.16); color: var(--down); }
.status.rejected .stTime, .status.expired .stTime { color: var(--mute); font-weight: 600; }
.status.expired .stIcon { background: rgba(255,255,255,.07); color: var(--text2); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
#sentBtn { margin-top: 14px; }
.recent .rs { font-weight: 700; }
.recent .rs.checking { color: #8fdcff; }
.recent .rs.rejected { color: var(--down); }
.recent .rs.waiting { color: #ffc46b; }
@media (prefers-reduced-motion: reduce) { .status .stIcon { animation-duration: 3s; } }

.lrow { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.linkBtn { font-size: .8rem; font-weight: 700; color: #8fdcff; padding: 0; }
.linkBtn:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.addr[aria-invalid="true"] { color: #ffb3bb; }

/* ---------- small heading above a page title ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--edge2); color: var(--text2); font-size: .84rem; font-weight: 700; }
.dotLive { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 rgba(61,220,151,.6); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(61,220,151,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,151,0); } }

/* ---------- page heroes (coins, fees, how, 404) ---------- */
.phero { min-height: 0; padding: 190px 0 96px; }
.pinner { width: min(1240px, 100% - 32px); margin: 0 auto; }
.pinner h1 { font-size: clamp(2.8rem, 6.4vw, 5.4rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; max-width: 13ch; }
.pinner .lead { max-width: 38rem; }
.pinner .ctas { margin-top: 30px; }
.searchBox { display: flex; align-items: center; gap: 12px; margin-top: 32px; width: min(460px, 100%); padding: 14px 18px; border-radius: 18px; background: rgba(10,14,24,.75); border: 1px solid var(--edge2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: border-color .2s; }
.searchBox:focus-within { border-color: rgba(55,210,255,.5); }
.searchBox svg { width: 20px; height: 20px; color: var(--mute); flex: none; }
.searchBox input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 1.02rem; }
.searchBox input::placeholder { color: var(--faint); }
.block.tight { padding-top: 24px; }
.block.tight .grid, .block.tight .steps3 { margin-top: 0; }
.grid > .none { grid-column: 1 / -1; }
.go2 { display: flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 700; color: var(--mute); transition: color .2s; }
.go2 svg { width: 16px; height: 16px; stroke-width: 2.5; transition: transform .2s; }
.cc:hover .go2 { color: var(--cyan); }
.cc:hover .go2 svg { transform: translateX(3px); }

/* ---------- keep exploring ---------- */
.xcards { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.xcard { display: grid; gap: 8px; padding: 26px; border-radius: 26px; background: linear-gradient(160deg, rgba(61,123,255,.12), rgba(255,255,255,.02) 60%); border: 1px solid var(--edge); transition: border-color .2s, transform .2s; }
.xcard:hover { border-color: rgba(55,210,255,.4); transform: translateY(-3px); }
.xcard b { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.xcard p { color: var(--text2); }
.xcard > span { display: flex; align-items: center; gap: 6px; margin-top: 8px; color: #8fdcff; font-weight: 700; font-size: .92rem; }
.xcard svg { width: 16px; height: 16px; stroke-width: 2.5; transition: transform .2s; }
.xcard:hover svg { transform: translateX(3px); }
main > .block:last-child { padding-bottom: 110px; }

/* ---------- fee table ---------- */
.tableWrap { margin-top: 32px; overflow-x: auto; border-radius: 24px; border: 1px solid var(--edge); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); }
.ftable { width: 100%; border-collapse: collapse; min-width: 560px; }
.ftable th, .ftable td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--edge); vertical-align: top; }
.ftable tr:last-child th, .ftable tr:last-child td { border-bottom: 0; }
.ftable thead th { color: var(--mute); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.ftable tbody th { font-weight: 800; }
.ftable td { color: var(--text2); }
.ftable td b { color: var(--text); }

/* ---------- order timeline ---------- */
.timeline { list-style: none; margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: t; }
.timeline li { position: relative; padding: 26px 0 0; border-top: 2px solid var(--edge2); counter-increment: t; }
.timeline li::before { content: counter(t); position: absolute; top: -15px; left: 0; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #0c1220; border: 2px solid var(--cyan); color: #fff; font-size: .8rem; font-weight: 800; }
.timeline li:last-child { border-image: linear-gradient(90deg, var(--cyan), transparent) 1; }
.timeline b { font-size: 1.15rem; font-weight: 800; }
.timeline p { margin-top: 6px; color: var(--text2); font-size: .95rem; padding-right: 12px; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .topWrap .nav.open { right: 0; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
}
@media (max-width: 720px) {
  .hero { padding-top: 128px; }
  .phero { padding: 150px 0 64px; }
  .timeline { grid-template-columns: minmax(0, 1fr); }
  .legal .doc { padding-top: 140px; }
  main > .block:last-child { padding-bottom: 80px; }
}
@media (max-width: 460px) {
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .dotLive { animation: none; }
}

/* ---------- reviews / trust ---------- */
.reviews { padding-top: 8px; }
.tpHero { margin-top: 22px; display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.tpHero img { display: block; width: 220px; height: auto; border-radius: 22px; }
.tpHero .tpScore { font-size: .95rem; font-weight: 700; color: #00b67a; line-height: 1.35; }
.revHead { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-bottom: 34px; }
.revHead p { margin-top: 10px; color: var(--text2); max-width: 46ch; }
.tpBadge { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: none; }
.tpBadge img { display: block; width: 240px; height: auto; border-radius: 22px; }
.tpBadge span { font-size: .85rem; font-weight: 700; color: #00b67a; }
.revGrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rev { background: var(--panel); border: 1px solid var(--edge); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.rev .top { display: flex; align-items: center; gap: 12px; }
.av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; flex: none; letter-spacing: .02em; }
.rev .who b { display: block; font-size: .98rem; font-weight: 700; }
.rev .who small { color: var(--mute); font-size: .78rem; }
.stars { color: #00b67a; font-size: 1rem; letter-spacing: 2px; line-height: 1; }
.stars .off { color: var(--faint); }
.rev .title { font-weight: 700; }
.rev .body { color: var(--text2); font-size: .9rem; }
.rev .verified { display: inline-flex; align-items: center; gap: 5px; color: #00b67a; font-size: .75rem; font-weight: 700; margin-top: auto; }
.rev .verified svg { width: 14px; height: 14px; }
@media (max-width: 900px) {
  .revHead { flex-direction: column; align-items: flex-start; }
  .revGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .revGrid { grid-template-columns: minmax(0, 1fr); }
  .tpBadge img { width: 200px; }
}
