:root {
  --bg: #0b1017; --bg-subtle: #0f151e; --surface: #141b25; --surface-2: #1a2330;
  --text: #e9eef4; --muted: #95a2b1; --faint: #6f7d8c; --border: #232e3c;
  --primary: #3390ec; --primary-hover: #4a9ff2; --primary-soft: #132f4c; --primary-ink: #9fd0ff; --link: #5eb5f7;
  --band: linear-gradient(135deg, #1765b0, #0d3a6b);
  --vis: linear-gradient(180deg, #123b63, #0f2740);
  --vis-ink: #cfe6ff;
  --green: #3dd68c; --green-soft: #12301f; --red-soft: #3b1219;
  --warn: #f1a10d;
  --tg-head: #17212b; --tg-chat: #0e1621; --tg-in: #182533; --tg-out: #2b5278; --tg-out-text: #fff;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
  --display: "Chivo", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #ffffff; --bg-subtle: #f5f8fb; --surface: #ffffff; --surface-2: #f4f6f9;
  --text: #0f1924; --muted: #64707d; --faint: #8a95a1; --border: #e3e8ee;
  --primary: #3390ec; --primary-hover: #2481cc; --primary-soft: #e4f1fd; --primary-ink: #1565b3; --link: #2481cc;
  --band: linear-gradient(135deg, #2f8ae4, #1765b0);
  --vis: linear-gradient(180deg, #d9ecfd, #f0f7ff);
  --vis-ink: #1565b3;
  --green: #30a46c; --green-soft: #e9f9ee; --red-soft: #ffe5e5;
  --warn: #ad5700;
  --tg-head: #ffffff; --tg-chat: #dbe7f2; --tg-in: #ffffff; --tg-out: #e1fec6; --tg-out-text: #11181c;
  --shadow: 0 1px 2px rgba(17, 24, 28, .04), 0 8px 24px rgba(17, 24, 28, .06);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.5 var(--body); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
em { font-style: italic; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* NAV */
.nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--border); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; padding: 0 36px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font: italic 900 20px/1 var(--display); letter-spacing: -.3px; }
.nav-links { display: flex; gap: 26px; font-weight: 600; font-size: 15px; color: var(--muted); }
.nav-links a { color: var(--text); opacity: .78; transition: opacity .15s; }
.nav-links a:hover { opacity: 1; }
.search { flex: 0 1 400px; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px 0 12px; border: 1px solid var(--border); border-radius: 10px; color: var(--faint); background: var(--surface); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 14px; color: var(--text); }
.search input::placeholder { color: var(--faint); }
.search kbd { font: 500 11px var(--mono); border: 1px solid var(--border); border-radius: 5px; padding: 1px 6px; background: var(--surface-2); }
.btn-connect { margin-left: auto; height: 40px; padding: 0 16px; border: 0; border-radius: 8px; background: var(--primary-soft); color: var(--primary-ink); font-weight: 700; font-size: 15px; transition: filter .15s; }
.btn-connect:hover { filter: brightness(.96); }
.btn-connect.on { background: var(--surface-2); color: var(--text); font-family: var(--mono); font-weight: 500; font-size: 13px; }
.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 16px; height: 2px; background: currentColor; border-radius: 2px; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 28px; border: 0; border-radius: 12px; font: italic 800 15px/1 var(--display); text-transform: uppercase; letter-spacing: .2px; transition: transform .12s, background .15s, filter .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-dark { background: #fff; color: #0b1017; }
:root[data-theme="light"] .btn-dark { background: #0b1017; color: #fff; }
.btn-light { background: #fff; color: #1565b3; }
.btn-light:hover { filter: brightness(.95); }
.btn-block { width: 100%; height: 44px; border-radius: 10px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.arr { font-style: normal; font-size: 13px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-row.center { justify-content: center; }

/* HERO */
.hero { padding: 96px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
h1 { margin: 0 0 32px; font: italic 700 clamp(40px, 5vw, 64px)/1.02 var(--display); letter-spacing: -.6px; }
h1 em, h1 .at { color: var(--link); }
.lead { max-width: 520px; margin: 0 0 40px; font-size: 18px; line-height: 1.5; color: var(--muted); }

/* WIDGET */
.widget { width: 100%; max-width: 440px; justify-self: end; display: flex; flex-direction: column; gap: 6px; }
.box { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px 14px; transition: border-color .15s, box-shadow .15s; }
.box:focus-within { border-color: color-mix(in srgb, var(--primary) 45%, var(--border)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 12%, transparent); }
.box-label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 10px; }
.muted-sm { color: var(--faint); font-size: 12px; }
.coin-row { display: flex; align-items: center; gap: 12px; }
.coin-img { flex: none; width: 52px; height: 52px; border-radius: 12px; border: 1.5px dashed var(--border); display: grid; place-items: center; color: var(--faint); cursor: pointer; background: var(--surface-2) center/cover no-repeat; transition: border-color .15s, color .15s; }
.coin-img:hover { border-color: var(--primary); color: var(--primary); }
.coin-img.has { border-style: solid; }
.coin-img.has svg { display: none; }
.coin-fields { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.big-input { width: 100%; border: 0; outline: 0; background: none; font: 600 26px/1.15 var(--body); letter-spacing: -.3px; padding: 0; }
.big-input::placeholder { color: var(--faint); opacity: .7; }
.ticker-wrap { display: flex; align-items: center; gap: 2px; font: 500 13px var(--mono); color: var(--faint); }
.ticker-wrap input { border: 0; outline: 0; background: none; font: inherit; color: var(--muted); width: 100%; text-transform: uppercase; padding: 0; }
.chain-pill { flex: none; display: inline-grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 8px; align-items: center; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-weight: 700; font-size: 15px; line-height: 1.1; }
.chain-pill .dot { grid-row: 1 / 3; width: 28px; height: 28px; border-radius: 50%; }
.chain-pill small { font-size: 11px; font-weight: 500; color: var(--muted); }
.dot-sol { background: #000; display: grid; place-items: center; }
.dot-sol img { width: 58%; height: auto; }
img.dot { object-fit: contain; }
textarea { width: 100%; margin-top: 12px; border: 0; border-top: 1px solid var(--border); padding: 10px 0 0; outline: 0; background: none; resize: none; font-size: 14px; color: var(--text); }
textarea::placeholder { color: var(--faint); }
.swap-arrow { position: relative; z-index: 2; align-self: center; margin: -15px 0; width: 32px; height: 32px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; color: var(--muted); box-shadow: 0 0 0 4px var(--bg); }
.user-row { display: flex; align-items: center; gap: 4px; }
.at-sign { font: 600 26px/1 var(--body); color: var(--faint); }
.user-row .big-input { flex: 1; min-width: 0; }
.user-hint { margin-top: 8px; font-size: 12px; color: var(--faint); min-height: 18px; }
.user-hint.ok { color: var(--green); }
.user-hint.bad { color: #e5484d; }
.row-2 { display: grid; grid-template-columns: 1fr 1.5fr; gap: 6px; }
.mini { display: flex; flex-direction: column; gap: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 10px 14px; font-size: 12px; color: var(--muted); font-weight: 500; }
.mini-in { display: flex; align-items: baseline; gap: 6px; }
.mini-in input { width: 100%; min-width: 0; border: 0; outline: 0; background: none; font: 600 18px var(--body); color: var(--text); padding: 0; }
.mini-in b { font-size: 12px; color: var(--faint); }
.route-chips { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; color: var(--faint); font-size: 11px; }
.chip { display: inline-flex; align-items: center; gap: 5px; font-style: normal; font: 600 11px/1 var(--mono); padding: 5px 7px; border-radius: 6px; white-space: nowrap; }
.chip img { width: 12px; height: 12px; object-fit: contain; }
.c-sol, .c-relay { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--border); }
.c-ton { background: var(--primary-soft); color: var(--primary-ink); }
.fine { margin: 6px 0 0; text-align: center; font-size: 12px; color: var(--faint); }

/* BUILT ON */
.powered { margin-top: 110px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.powered-label { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: 1px; color: var(--faint); }
.powered-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px; max-width: 980px; }
.powered-list a { font: italic 800 24px/1.1 var(--display); color: var(--text); opacity: .4; white-space: nowrap; letter-spacing: -.3px; transition: opacity .15s, color .15s; }
.powered-list a:hover { opacity: 1; color: var(--link); }

/* SECTIONS */
.sec { padding: 110px 0; }
.sec-subtle { padding: 110px 0; background: var(--bg-subtle); }
.h2 { margin: 0 auto 18px; text-align: center; font: 400 44px/1.1 var(--display); letter-spacing: -.5px; }
.h2 em { font-weight: 800; }
.h2.left { text-align: left; margin-left: 0; }
.sub { max-width: 640px; margin: 0 auto 48px; text-align: center; color: var(--muted); font-size: 16px; }
.sub.left { text-align: left; margin-left: 0; }

/* CARDS */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.card-vis { position: relative; height: 230px; padding: 18px; overflow: hidden; }
.card-body { padding: 24px 26px 30px; }
.card-body h3 { margin: 0 0 12px; font: 700 24px/1.2 var(--display); letter-spacing: -.3px; }
.card-body p { margin: 0; font-size: 15px; color: var(--muted); }

.card-vis { background: var(--vis); }
.route-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--vis-ink); opacity: .75; padding: 0 6px 8px; }
.route-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.route-list li { display: flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; font-size: 12.5px; animation: slideIn .45s ease both; }
.route-list li .amt { font-family: var(--mono); font-size: 12px; margin-left: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.route-list li .t { margin-left: auto; color: var(--green); font: 600 12px var(--mono); display: flex; align-items: center; gap: 5px; }
.route-list li .t::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-8px); } }
.demo-tag { position: absolute; right: 14px; bottom: 12px; font: 500 10px var(--mono); color: var(--vis-ink); opacity: .6; text-transform: uppercase; letter-spacing: .5px; }

.vis-tree { display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--primary-ink); }
.node { width: 64px; height: 64px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--text); }
.node small { font-size: 10px; color: var(--muted); font-weight: 600; }
.node-top { font: italic 900 30px var(--display); color: var(--link); }
.tree-lines { width: 240px; height: 40px; color: var(--vis-ink); opacity: .45; }
.node-row { display: flex; gap: 24px; }

.vis-stat { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 18px 0; }
.stat-big { text-align: center; font: italic 900 64px/1 var(--display); letter-spacing: -1px; color: var(--vis-ink); }
.stat-chips { display: flex; gap: 8px; white-space: nowrap; justify-content: center; }
.stat-chips span { padding: 7px 12px; background: var(--surface); border-radius: 10px; box-shadow: var(--shadow); font: 600 13px var(--mono); color: var(--muted); }
.stat-chips.top { animation: drift 12s ease-in-out infinite alternate; }
.stat-chips.bottom span:nth-child(even) { background: none; box-shadow: none; padding: 7px 0; color: var(--vis-ink); }
@keyframes drift { from { transform: translateX(-30px); } to { transform: translateX(30px); } }

/* TABS */
.tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 32px 0 40px; }
.tabs button { height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-weight: 500; transition: background .15s; }
.tabs button[aria-selected="true"] { background: var(--surface-2); border-color: var(--text); font-weight: 600; }
.tab-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; background: var(--bg-subtle); border: 1px solid var(--border); border-radius: 20px; padding: 56px; }
.tab-copy h3 { margin: 0 0 16px; font: 700 34px/1.12 var(--display); letter-spacing: -.4px; }
.tab-copy p { margin: 0 0 32px; color: var(--muted); font-size: 17px; }
.tab-copy, .tab-vis { transition: opacity .2s; }
.tab-panel.fading .tab-copy, .tab-panel.fading .tab-vis { opacity: 0; }
.tg-window { background: var(--tg-head); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.tg-top { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--tg-head); border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent); }
.tg-top b { display: block; font-size: 14px; }
.tg-top small { font-size: 12px; color: var(--faint); }
.tg-ava { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: #000; }
.tg-ava img { width: 100%; height: 100%; display: block; }
.tg-msgs { display: flex; flex-direction: column; gap: 8px; padding: 18px 16px; min-height: 260px; background: var(--tg-chat) radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--vis-ink) 9%, transparent) 1px, transparent 0) 0 0/18px 18px; }
.msg { max-width: 82%; padding: 9px 12px; border-radius: 14px 14px 14px 4px; background: var(--tg-in); font-size: 14px; box-shadow: 0 1px 1px rgba(0,0,0,.08); animation: slideIn .35s ease both; }
.msg.me { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: var(--tg-out); color: var(--tg-out-text); }
.msg .gram { display: flex; align-items: center; gap: 6px; margin-top: 4px; font: 700 20px var(--display); color: var(--link); }
.msg .gram img { width: 20px; height: 20px; }
.msg .tx { display: block; margin-top: 2px; font: 400 11px var(--mono); color: var(--faint); }

/* STEPS */
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px 26px 28px; }
.steps li + li::before { content: ""; position: absolute; left: -15px; top: 42px; width: 10px; height: 10px; border-top: 2px solid var(--border); border-right: 2px solid var(--border); transform: rotate(45deg); }
.step-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--primary-soft); color: var(--primary-ink); font: italic 900 20px/1 var(--display); }
.step-where { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font: 500 12px/1 var(--mono); color: var(--muted); white-space: nowrap; }
.step-where img { width: 13px; height: 13px; object-fit: contain; }
.steps h3 { margin: 0 0 10px; font: 700 21px/1.25 var(--display); letter-spacing: -.2px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* LAUNCHES */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-head .h2 { margin-bottom: 0; }
.table { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.tr { display: grid; grid-template-columns: 2fr 1.6fr 1fr .6fr; align-items: center; gap: 16px; padding: 14px 20px; border-top: 1px solid var(--border); font-size: 15px; }
.tr.th { border-top: 0; background: var(--bg-subtle); font-size: 12px; color: var(--muted); font-weight: 500; padding: 10px 20px; }
.tr:not(.th):hover { background: var(--bg-subtle); }
.coin-cell { display: flex; align-items: center; gap: 12px; min-width: 0; }
.coin-ava { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font: italic 900 15px var(--display); color: #fff; }
.coin-cell b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coin-cell small { font: 500 12px var(--mono); color: var(--faint); }
.pay-cell { display: flex; align-items: center; gap: 8px; min-width: 0; font-family: var(--mono); font-size: 13.5px; }
.pay-cell span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fees { font-family: var(--mono); font-size: 14px; }
.age { color: var(--faint); font-size: 14px; }
.demo-note { margin: 12px 0 0; font-size: 12px; color: var(--faint); }

/* CLAIM */
.claim-grid { display: grid; grid-template-columns: 1fr 440px; gap: 64px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.5 2.5L14 7.5' fill='none' stroke='%233390EC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.claim-card { justify-self: end; gap: 8px; }
.claim-result { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px; font-size: 14px; animation: slideIn .3s ease both; }
.claim-result .row { display: flex; justify-content: space-between; padding: 4px 0; }
.claim-result .row span:first-child { color: var(--muted); }
.claim-result .row b { font-family: var(--mono); font-weight: 500; }
.claim-result .bot { display: block; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }

/* BAND */
.band { background: var(--band); color: #fff; padding: 110px 0; text-align: center; }
.band h2 { margin: 0 0 24px; font: 700 44px/1.15 var(--display); letter-spacing: -.4px; }
.band h2 em { font-weight: 400; }
.band p { max-width: 560px; margin: 0 auto 40px; color: rgba(255,255,255,.75); font-size: 16px; }

/* FOOTER */
.foot { padding: 64px 0 40px; border-top: 1px solid var(--border); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.foot-grid > .brand { align-self: start; }
.foot h4 { margin: 0 0 14px; font-size: 15px; font-weight: 600; }
.foot-grid div a { display: block; color: var(--muted); font-size: 14px; padding: 4px 0; }
.foot-grid div a:hover { color: var(--text); }
.foot-bottom { margin-top: 56px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--faint); }

/* THEME TOGGLE */
.theme-toggle { position: fixed; left: 20px; bottom: 20px; z-index: 30; display: flex; gap: 2px; padding: 3px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; box-shadow: var(--shadow); }
.theme-toggle button { width: 28px; height: 28px; border: 0; border-radius: 50%; background: none; color: var(--faint); display: grid; place-items: center; }
.theme-toggle button.on { background: var(--surface); color: var(--primary); box-shadow: 0 1px 2px rgba(0,0,0,.08); }

/* MODAL + TOAST */
.modal { position: fixed; inset: 0; z-index: 60; background: rgba(5, 10, 18, .6); display: grid; place-items: center; padding: 16px; animation: fade .15s ease; }
.modal[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.modal-card { width: 100%; max-width: 380px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.modal-head h3 { margin: 0; font: 700 20px var(--display); }
.x { border: 0; background: var(--surface-2); width: 32px; height: 32px; border-radius: 8px; font-size: 20px; line-height: 1; color: var(--muted); }
.wallet-opt { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); font-weight: 600; text-align: left; transition: border-color .15s, background .15s; }
.wallet-opt:hover { border-color: var(--primary); background: var(--primary-soft); }
.wallet-opt i { width: 28px; height: 28px; border-radius: 8px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 70; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: 12px; font-size: 14px; font-weight: 500; transition: opacity .2s, transform .2s; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* RESPONSIVE */
@media (max-width: 1020px) {
  .search { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .widget, .claim-card { justify-self: start; }
  .cards { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .tab-panel { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
  .claim-grid { grid-template-columns: 1fr; gap: 40px; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid > .brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .nav-in { padding: 0 16px; gap: 12px; height: 60px; }
  .nav-links { display: none; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 16px 16px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; font-size: 17px; }
  .burger { display: flex; }
  .hero { padding: 48px 0 24px; }
  h1 { font-size: 42px; }
  .lead { font-size: 16px; margin-bottom: 28px; }
  .cta-row .btn { flex: 1; padding: 0 16px; }
  .widget { max-width: none; }
  .big-input, .at-sign { font-size: 22px; }
  .chain-pill { padding: 4px 10px 4px 4px; font-size: 13px; }
  .chain-pill .dot { width: 24px; height: 24px; }
  .dot-tg::after { inset: 7px 7px 7px 6px; }
  .powered { margin-top: 64px; gap: 16px; }
  .powered-list { gap: 10px 26px; }
  .powered-list a { font-size: 19px; }
  .sec, .sec-subtle, .band { padding: 72px 0; }
  .h2, .band h2 { font-size: 32px; }
  .tab-panel { padding: 20px; }
  .tab-copy h3 { font-size: 26px; }
  .steps { grid-template-columns: 1fr; }
  .steps li + li::before { display: none; }
        .tr { grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 16px; }
  .tr.th { display: none; }
  .tr .pay-cell { grid-column: 1; grid-row: 2; }
  .tr .fees { grid-column: 2; grid-row: 1; text-align: right; }
  .tr .age { grid-column: 2; grid-row: 2; text-align: right; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .theme-toggle { left: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* LIVE UI */
.link-btn { border: 0; background: none; padding: 0; color: var(--link); font: inherit; font-weight: 600; }
.socials { display: grid; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); }
.socials[hidden] { display: none; }
.socials input { width: 100%; height: 36px; padding: 0 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-2); outline: 0; font-size: 14px; }
.socials input:focus { border-color: var(--primary); }
.route-list li.skeleton { height: 36px; background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.illus { margin-left: auto; font: 500 10px var(--mono); text-transform: uppercase; letter-spacing: .5px; color: var(--faint); }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); font-weight: 600; font-size: 14px; cursor: pointer; }
.btn-ghost:hover { background: var(--surface-2); }
a.tr { color: inherit; }
.tr.empty { display: block; text-align: center; color: var(--muted); padding: 28px 20px; }
.tr.empty a, .demo-note a, .claim-result a { color: var(--link); font-weight: 600; }
.claim-result .row b { text-align: right; max-width: 60%; overflow-wrap: anywhere; }
.claim-result .btn { margin-top: 12px; }
.warn { color: #e5484d; margin: 8px 0 0; font-size: 14px; }
.wallet-opt img, .wallet-opt i { width: 28px; height: 28px; border-radius: 8px; }
.wallet-opt i { background: var(--surface-2); border: 1px solid var(--border); }
.wallet-opt span { margin-left: auto; font-size: 12px; font-weight: 500; color: var(--faint); }
a.wallet-opt { color: var(--text); }
.progress { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.progress li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--faint); font-weight: 500; font-size: 15px; }
.progress li[hidden] { display: none; }
.progress li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border); box-sizing: border-box; }
.progress li.active { color: var(--text); background: var(--surface-2); }
.progress li.active::before { border-color: var(--primary); border-right-color: transparent; animation: spin .8s linear infinite; }
.progress li.done { color: var(--text); }
.progress li.done::before { border: 0; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.5 2.5L14 7.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.progress li.fail { color: #e5484d; }
.progress li.fail::before { border-color: #e5484d; background: #e5484d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m7 7 6 6m0-6-6 6' stroke='white' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; }
@keyframes spin { to { transform: rotate(360deg); } }
.launch-out { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 15px; }
.launch-out p { margin: 0 0 12px; }
.out-links { display: flex; flex-wrap: wrap; gap: 8px; }
.out-links .btn { height: 40px; padding: 0 16px; font-size: 13px; }
