:root {
  /* Deep space: near-black indigo, dark blue panels, violet light */
  --space: #070818;
  --space-2: #0f1233;
  --panel: #13163c;
  --well: #0b0d2a;
  --raise: #1c2052;
  --edge: #272b60;
  --edge-lit: #3b4085;
  --ink: #eeecff;
  --ink-2: #d0cef2;
  --text-dim: #a6a7d4;
  --text-faint: #8a8bbd;
  --accent: #8b5cf6;
  --accent-deep: #6d3fe0;
  --accent-soft: #2a2063;
  --accent-ink: #cdbcff;
  --blue: #5b8cff;
  --up: #5fe3a1;
  --down: #ff8fa3;
  --bad: #ff9a9a;
  --bad-soft: #3a1426;

  --display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --math: "STIX Two Text", "Cambria Math", Georgia, serif;

  --wrap: 1300px;
  --r: 14px;
  --r-sm: 10px;
  --lift: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 34px -22px rgba(0, 0, 0, .9);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; scroll-behavior: smooth;
  background:
    radial-gradient(ellipse 70% 50% at 12% -8%, #4c1d9566, transparent 70%),
    radial-gradient(ellipse 60% 45% at 95% 4%, #1e3a8a66, transparent 70%),
    radial-gradient(ellipse 80% 40% at 50% 110%, #3b1d7a40, transparent 70%),
    var(--space);
  background-attachment: fixed;
}
body {
  margin: 0;
  color: var(--ink);
  font: 15px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
/* Starfield: two tiled layers of pinpoint gradients at different scales */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(1.2px 1.2px at 23px 41px, #ffffffcc, transparent),
    radial-gradient(1px 1px at 137px 88px, #c9bcffb3, transparent),
    radial-gradient(1.4px 1.4px at 251px 19px, #ffffffa6, transparent),
    radial-gradient(1px 1px at 302px 173px, #9db4ffb3, transparent),
    radial-gradient(1px 1px at 71px 229px, #ffffff99, transparent),
    radial-gradient(1.6px 1.6px at 199px 281px, #ffffffbf, transparent),
    radial-gradient(1px 1px at 347px 322px, #c9bcff99, transparent),
    radial-gradient(1px 1px at 58px 97px, #ffffff80, transparent),
    radial-gradient(1.2px 1.2px at 411px 143px, #9db4ff99, transparent),
    radial-gradient(1px 1px at 263px 389px, #ffffff8c, transparent),
    radial-gradient(1.8px 1.8px at 487px 61px, #ffffffa6, transparent),
    radial-gradient(1px 1px at 119px 467px, #c9bcff80, transparent);
  background-size: 380px 360px, 380px 360px, 380px 360px, 380px 360px, 380px 360px, 380px 360px, 380px 360px,
    610px 530px, 610px 530px, 610px 530px, 610px 530px, 610px 530px;
  opacity: .7;
}
a { color: inherit; }
img, svg { display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
main:focus { outline: none; }
[hidden] { display: none !important; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: #070818d9;
  -webkit-backdrop-filter: saturate(1.3) blur(12px);
  backdrop-filter: saturate(1.3) blur(12px);
  border-bottom: 1px solid var(--edge);
}
.top-in {
  max-width: var(--wrap); margin: 0 auto; padding: 14px 24px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.nav {
  display: flex; gap: 2px; padding: 5px;
  background: var(--space-2); border: 1px solid var(--edge); border-radius: 999px;
}
.nav a {
  text-decoration: none; padding: 8px 18px; border-radius: 999px;
  color: var(--text-dim); font-weight: 500; font-size: 15px;
}
.nav a:hover { color: var(--ink); }
.nav a.on { background: var(--accent); color: #fff; box-shadow: 0 0 22px -4px var(--accent); }
.top-right { justify-self: end; display: flex; gap: 10px; align-items: center; }

.brand {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  font: 800 21px/1 var(--display); letter-spacing: -.02em; justify-self: start;
}
.brand-logo { height: 34px; width: auto; filter: drop-shadow(0 0 10px #8b5cf680); }

.page { max-width: var(--wrap); margin: 0 auto; padding: 36px 24px 80px; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); letter-spacing: -.03em; margin: 0; }
.h1 { font-size: clamp(40px, 6.5vw, 78px); line-height: .96; font-weight: 800; text-wrap: balance; }
.h2 { font-size: clamp(30px, 4.6vw, 54px); line-height: 1; font-weight: 800; }
.h3 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.lede { font-size: 18px; color: var(--text-dim); max-width: 640px; margin: 18px auto 0; text-wrap: pretty; }
.muted { color: var(--text-dim); }
.small { font-size: 13px; }
.lbl { font-size: 13px; font-weight: 500; color: var(--text-faint); }
.center { text-align: center; }
.ket { font-family: var(--math); font-weight: 600; letter-spacing: .01em; white-space: nowrap; }
.up { color: var(--up); }
.down { color: var(--down); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--edge-lit); background: var(--raise);
  padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 15px;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .06s ease, background .15s ease;
}
.btn:hover { background: #272c6b; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
.btn.primary { background: var(--ink); color: var(--space); border-color: var(--ink); }
.btn.primary:hover { background: #fff; }
.btn.go { background: var(--accent); border-color: #a78bfa; color: #fff; box-shadow: 0 0 28px -8px var(--accent); }
.btn.go:hover { background: #9b70ff; }
.btn.sm { padding: 8px 14px; font-size: 13px; }
.btn.lg { padding: 16px 28px; font-size: 17px; }
.btn.block { width: 100%; }
.icon-btn { border: 0; background: transparent; padding: 6px 10px; border-radius: 8px; cursor: pointer; color: var(--text-dim); font-size: 18px; line-height: 1; }
.icon-btn:hover { background: var(--raise); color: var(--ink); }

/* ---------- home hero ---------- */
.hero { text-align: center; padding: 28px 0 56px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }

.qcoin {
  position: relative; width: clamp(150px, 16vw, 190px); aspect-ratio: 1;
  margin: 8px auto 20px; perspective: 900px;
}
.qcoin::before {
  content: ""; position: absolute; inset: -45%; border-radius: 50%;
  background: radial-gradient(circle, #8b5cf680, #5b8cff2e 40%, #8b5cf600 68%);
  filter: blur(8px);
}
.qcoin-spin {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d; animation: qspin 1.05s linear infinite;
}
.face {
  position: absolute; inset: 0; border-radius: 50%;
  display: grid; place-items: center;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  font: 600 clamp(46px, 5vw, 60px) var(--math);
}
.face.f0 {
  background: radial-gradient(circle at 32% 28%, #f1e9ff, #a78bfa 48%, #5b2fd1);
  color: #150a3d;
  box-shadow: inset 0 0 0 7px #ffffff40, inset 0 0 0 8px #2e107066, 0 0 50px -8px #8b5cf6;
}
.face.f1 {
  transform: rotateY(180deg);
  background: radial-gradient(circle at 32% 28%, #5b8cff, #1d3fae 52%, #0a1550);
  color: #e6edff;
  box-shadow: inset 0 0 0 7px #ffffff26, inset 0 0 0 8px #9db4ff80, 0 0 50px -8px #5b8cff;
}
.qcoin[data-state="0"] .qcoin-spin { animation: settle0 .95s cubic-bezier(.16, .84, .24, 1) forwards; }
.qcoin[data-state="1"] .qcoin-spin { animation: settle1 .95s cubic-bezier(.16, .84, .24, 1) forwards; }
@keyframes qspin { to { transform: rotateY(360deg); } }
@keyframes settle0 { from { transform: rotateY(-1080deg); } to { transform: rotateY(0deg); } }
@keyframes settle1 { from { transform: rotateY(-900deg); } to { transform: rotateY(180deg); } }

.qread { margin: 0 auto 12px; min-height: 22px; color: var(--text-dim); font-size: 15px; max-width: 460px; }
.hero .h1 { margin-top: 30px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .qcoin-spin, .qcoin[data-state] .qcoin-spin { animation: none; }
  .qcoin[data-state="super"] .face { -webkit-backface-visibility: visible; backface-visibility: visible; }
  .qcoin[data-state="super"] .face.f1 { transform: none; opacity: .55; }
  .qcoin[data-state="1"] .qcoin-spin { transform: rotateY(180deg); }
}

/* ---------- stat strip ---------- */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge); }
.strip > div { padding: 22px 16px; text-align: center; }
.strip > div + div { border-left: 1px solid var(--edge); }
.strip .lbl { display: block; }
.strip .v { font: 700 clamp(26px, 3.2vw, 38px)/1.1 var(--display); letter-spacing: -.03em; margin-top: 6px; }

/* ---------- sections ---------- */
.band { background: #0f123399; border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge); }
.band-in { max-width: var(--wrap); margin: 0 auto; padding: 80px 24px; }
.sec { margin-top: 72px; }
.sec-title { text-align: center; margin-bottom: 36px; }
.sec-title .lede { margin-top: 12px; font-size: 16px; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.sect-title { font: 800 clamp(26px, 3vw, 34px)/1 var(--display); letter-spacing: -.03em; }
.chead { text-align: center; margin: 8px auto 40px; }
.chead .lede { margin-top: 14px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-dim); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--text-faint); flex: none; }
.status.live i { background: var(--up); box-shadow: 0 0 10px var(--up); }

.steps-list { border-top: 2px solid var(--accent); margin: 0; padding: 0; list-style: none; }
.step-row {
  display: grid; grid-template-columns: 90px 1fr 1.6fr; gap: 24px;
  padding: 30px 4px; border-bottom: 1px solid var(--edge-lit); align-items: baseline;
}
.step-row .n { font: 600 22px var(--math); color: var(--accent-ink); }
.step-row h3 { font-size: 21px; }
.step-row p { margin: 0; color: var(--text-dim); font-size: 16px; line-height: 1.6; max-width: 560px; }

/* ---------- cards ---------- */
.card { background: var(--panel); border: 1px solid var(--edge); border-radius: var(--r); box-shadow: var(--lift); }
.pad { padding: 22px; }
.grid { display: grid; gap: 16px; }
.grid.coins { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.row { display: flex; align-items: center; gap: 12px; }
.row.wrap { flex-wrap: wrap; }
.stack > * + * { margin-top: 14px; }
.sep { height: 1px; background: var(--edge); margin: 18px 0; border: 0; }

.tcard { display: flex; flex-direction: column; text-decoration: none; overflow: hidden; transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease; }
.tcard:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 0 0 1px #8b5cf640, 0 22px 40px -22px #8b5cf699; }
.tcard-img {
  aspect-ratio: 16 / 11; position: relative; border-bottom: 1px solid var(--edge); overflow: hidden;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 55%, #3a2a8a8c, #151a4e 60%, #0c0f30);
}
.tcard-img > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tcard-img > img.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tcard-img .pair-badge { position: absolute; right: 10px; bottom: 10px; box-shadow: 0 2px 10px #00000080; border-radius: 50%; }
.tcard-img .tag { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: #fff; font: 600 12px var(--body); }
.tcard-img .rank { position: absolute; left: 10px; top: 10px; padding: 3px 9px; border-radius: 999px; background: #070818b3; color: var(--ink-2); font: 600 12px var(--body); }
.tcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.tcard .tick { font-size: 15px; color: var(--accent-ink); }
.tcard .name { font-weight: 700; font-size: 16px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tcard .cap { margin-top: 8px; font: 700 20px var(--display); letter-spacing: -.02em; }
.tcard .sub { margin-top: 4px; font-size: 13px; color: var(--text-dim); }
.tcard .tfoot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--edge); display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.tcard .tfoot.col { display: block; }
.tcard .tfoot .pair { display: flex; align-items: center; gap: 7px; margin-top: 4px; }
.tcard .body-gap { margin-top: 14px; }
.see-all { display: flex; justify-content: center; margin-top: 28px; }

/* Logos: stock marks sit on a white disc so dark marks stay visible in space */
.slogo { display: inline-grid; place-items: center; flex: none; border-radius: 50%; background: #fff; overflow: hidden; box-shadow: 0 0 0 1px #ffffff26; }
.slogo img { width: 68%; height: 68%; object-fit: contain; }
.slogo.dark { background: #05061a; box-shadow: 0 0 0 1px var(--edge-lit); }
.clogo { display: inline-grid; place-items: center; flex: none; border-radius: 50%; background: var(--well); overflow: hidden; box-shadow: 0 0 0 1px var(--edge-lit), 0 0 26px -6px #8b5cf6b3; color: var(--accent-ink); font: 700 13px var(--body); }
.clogo img { width: 100%; height: 100%; object-fit: cover; }
.art { border-radius: 50%; overflow: hidden; flex: none; background: var(--well); box-shadow: 0 0 0 1px var(--edge-lit); }
.art > img, .art > svg { width: 100%; height: 100%; object-fit: cover; }

.paired { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 4px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: 13px; font-weight: 600; }
.paired.plain { padding: 4px 12px; }
.tabs { display: inline-flex; background: var(--space-2); border: 1px solid var(--edge); border-radius: 999px; padding: 4px; gap: 2px; }
.tabs button { border: 0; background: transparent; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--text-dim); cursor: pointer; }
.tabs button:hover { color: var(--ink); }
.tabs button.on { background: var(--raise); color: var(--ink); box-shadow: inset 0 0 0 1px var(--edge-lit); }
.filter-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: 13px; font-weight: 600; }
.filter-pill button { border: 0; background: #ffffff1f; color: inherit; width: 22px; height: 22px; border-radius: 50%; cursor: pointer; line-height: 1; }
.filter-pill button:hover { background: #ffffff38; }

.kv { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.kv .k { font-size: 14px; color: var(--text-faint); }
.kv .v { font-weight: 650; font-size: 15px; text-align: right; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; }
.stat { padding: 18px 20px; }
.stat + .stat { border-left: 1px solid var(--edge); }
.stat .v { font: 700 26px/1.1 var(--display); letter-spacing: -.02em; margin-top: 6px; }
.stat .s { font-size: 13px; color: var(--text-dim); margin-top: 2px; }

.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-size: 13px; font-weight: 500; color: var(--text-faint); padding: 12px 18px; border-bottom: 1px solid var(--edge); white-space: nowrap; }
.table td { padding: 14px 18px; border-bottom: 1px solid var(--edge); }
.table tr:last-child td { border-bottom: 0; }
.table .r { text-align: right; }
.table .num { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.table tbody tr:hover { background: #ffffff08; }
.table-wrap { overflow-x: auto; }
.stock-cell { display: flex; align-items: center; gap: 12px; min-width: 210px; }
.stock-cell b { display: block; font-size: 15px; }
.stock-cell span span { font-size: 13px; color: var(--text-dim); }
.range { min-width: 150px; }
.range .track { position: relative; height: 4px; border-radius: 999px; background: linear-gradient(90deg, #2743b8, var(--accent)); opacity: .9; }
.range .track i { position: absolute; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); box-shadow: 0 0 10px #fff; }
.range .ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-dim); margin-top: 6px; font-variant-numeric: tabular-nums; }

/* ---------- forms ---------- */
.field { display: block; }
.field + .field { margin-top: 16px; }
.label { display: block; font-weight: 650; font-size: 15px; margin-bottom: 6px; }
.label small { font-weight: 400; color: var(--text-faint); font-size: 13px; margin-left: 4px; }
.hint { font-size: 13px; color: var(--text-dim); margin: 6px 0 0; }
.input, .textarea {
  width: 100%; border: 1px solid var(--edge-lit); background: var(--well);
  border-radius: var(--r-sm); padding: 12px 14px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.input::placeholder, .textarea::placeholder { color: var(--text-faint); }
.input:focus, .textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px #8b5cf640; }
.textarea { min-height: 84px; resize: vertical; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { border: 1px solid var(--edge-lit); background: var(--raise); border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: 14px; cursor: pointer; }
.seg button:hover { border-color: var(--accent-ink); }
.seg button.on { background: var(--accent); color: #fff; border-color: #a78bfa; }

.launch-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.sticky { position: sticky; top: 92px; }
.center-card { text-align: center; }
.center-card .hint { max-width: 520px; margin: 4px auto 16px; }
.center-card .seg { justify-content: center; }
.picker-sel { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--accent); background: var(--accent-soft); border-radius: var(--r-sm); text-align: left; }
.picker-sel .t { flex: 1; min-width: 0; }
.picker-sel .t b { display: block; }
.picker-sel .t span { font-size: 13px; color: var(--accent-ink); }
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; max-height: 312px; overflow-y: auto; padding: 2px; margin-top: 12px; text-align: left; }
.chip { display: flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; border-radius: 999px; border: 1px solid var(--edge); background: var(--raise); cursor: pointer; text-align: left; min-width: 0; }
.chip:hover { border-color: var(--accent-ink); }
.chip .t { min-width: 0; }
.chip .t b { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip .t span { display: block; font-size: 12px; color: var(--text-dim); }

.image-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; }
.image-preview { aspect-ratio: 1; border-radius: var(--r); background: var(--well); border: 1px solid var(--edge); overflow: hidden; }
.image-preview img, .image-preview svg { width: 100%; height: 100%; object-fit: cover; }
.dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 150px; border-radius: var(--r); border: 1.5px dashed var(--edge-lit);
  background: var(--well); cursor: pointer; padding: 18px; text-align: center;
  transition: border-color .15s, background .15s;
}
.dropzone b { font-size: 16px; }
.dropzone span { font-size: 14px; color: var(--text-dim); }
.dropzone:hover, .dropzone.over, .dropzone:focus-within { border-color: var(--accent-ink); background: var(--accent-soft); }
.dropzone input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.name-ticker { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 14px; margin-top: 16px; }
.name-ticker .field + .field { margin-top: 0; }
.ket-input { position: relative; display: block; }
.ket-input .input { padding-left: 26px; font-family: var(--math); font-weight: 600; font-size: 17px; text-transform: uppercase; }
.ket-input::before { position: absolute; top: 50%; transform: translateY(-52%); font: 600 20px var(--math); color: var(--accent-ink); pointer-events: none; }
.ket-input::before { content: "$"; left: 12px; }

.sol-field { display: flex; align-items: center; gap: 12px; max-width: 380px; margin: 4px auto 0; padding: 8px; background: var(--well); border: 1px solid var(--edge-lit); border-radius: 18px; transition: border-color .15s, box-shadow .15s; }
.sol-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px #8b5cf640; }
.sol-tag { padding: 9px 14px; border-radius: 12px; background: var(--raise); font-weight: 650; font-size: 15px; flex: none; }
.sol-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; text-align: right; font: 700 26px var(--display); letter-spacing: -.02em; padding: 4px 10px 4px 0; }
.sol-field input::placeholder { color: var(--edge-lit); }
.quick-amts { display: flex; justify-content: center; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.quick-amts button { border: 1px solid var(--edge-lit); background: var(--raise); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; color: var(--text-dim); cursor: pointer; }
.quick-amts button:hover { color: var(--ink); border-color: var(--accent-ink); }
.quick-amts button.on { background: var(--accent); color: #fff; border-color: #a78bfa; }

.preview { display: flex; align-items: center; gap: 14px; }
.preview .t { min-width: 0; }
.preview .t .ket { color: var(--accent-ink); font-size: 16px; }
.preview .t b { display: block; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.notice { padding: 12px 14px; border-radius: var(--r-sm); background: var(--space-2); font-size: 14px; }
.notice.bad { background: var(--bad-soft); color: var(--bad); }
.notice.good { background: var(--accent-soft); color: var(--accent-ink); }

/* ---------- overlays ---------- */
.overlay { position: fixed; inset: 0; background: #03041099; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); display: grid; place-items: center; z-index: 50; padding: 16px; }
.dialog { width: 100%; max-width: 420px; background: var(--panel); border: 1px solid var(--edge-lit); border-radius: 20px; padding: 22px; box-shadow: 0 30px 80px -20px #000, 0 0 60px -20px var(--accent); }
.dialog-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.dialog h3 { font-size: 20px; }
.dialog p { margin: 0; }
.wallet-list { display: grid; gap: 8px; margin-top: 14px; }
.wallet-row { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--edge); border-radius: 999px; background: var(--raise); cursor: pointer; font-weight: 600; text-align: left; }
.wallet-row:hover { border-color: var(--accent-ink); }
.wallet-row { text-decoration: none; }
.wallet-row:disabled { cursor: progress; opacity: .8; }
.wtag { margin-left: auto; padding-right: 6px; font-size: 12px; font-weight: 500; color: var(--up); }
.wdisc { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(140deg, #a78bfa, #2743b8); color: #fff; font: 700 13px var(--body); flex: none; }
.steps { display: grid; gap: 10px; margin-top: 16px; }
.steps div { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--text-faint); }
.steps div.on { color: var(--ink); font-weight: 600; }
.steps div.done { color: var(--accent-ink); }
.steps i { width: 16px; height: 16px; flex: none; display: grid; place-items: center; font-style: normal; font-size: 13px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--edge-lit); display: inline-block; }
.spinner { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--edge-lit); border-top-color: var(--accent-ink); animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.toast { position: fixed; bottom: 22px; left: 50%; transform: translate(-50%); background: var(--ink); color: var(--space); padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; z-index: 60; max-width: calc(100vw - 32px); text-align: center; }
.wallet-wrap { position: relative; }
.menu { position: absolute; right: 0; top: calc(100% + 8px); background: var(--panel); border: 1px solid var(--edge-lit); border-radius: var(--r); box-shadow: var(--lift); padding: 6px; min-width: 190px; display: grid; z-index: 30; }
.menu a, .menu button { text-align: left; padding: 9px 12px; border-radius: 8px; border: 0; background: transparent; cursor: pointer; text-decoration: none; font-size: 14px; }
.menu a:hover, .menu button:hover { background: var(--raise); }
.empty { text-align: center; padding: 44px 20px; color: var(--text-dim); }
.empty .btn { margin-top: 16px; }

/* ---------- explore ---------- */
.toolbar { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 20px; }
.toolbar .input { max-width: 320px; border-radius: 999px; padding: 10px 18px; }
.toolbar-right { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.group + .group { margin-top: 44px; }
.group-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.group-head h2 { font-size: 22px; }

/* ---------- coin page ---------- */
.coin-head { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.coin-head h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1; }
.coin-head .ket { font-size: 20px; color: var(--accent-ink); }
.coin-cols { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; margin-top: 20px; align-items: start; }
.back { display: inline-block; margin-bottom: 20px; text-decoration: none; color: var(--text-dim); font-weight: 500; }
.back:hover { color: var(--ink); text-decoration: underline; }

/* ---------- docs ---------- */
.docs { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 56px; justify-content: center; align-items: start; }
.docs-nav { position: sticky; top: 100px; display: grid; gap: 2px; }
.docs-nav .lbl { padding: 0 12px 8px; }
.docs-nav button { text-align: left; border: 0; background: transparent; cursor: pointer; padding: 7px 12px; border-radius: 999px; color: var(--text-dim); font-size: 15px; }
.docs-nav button:hover { color: var(--ink); background: var(--space-2); }
.docs-nav button.on { color: var(--ink); background: var(--raise); box-shadow: inset 0 0 0 1px var(--edge-lit); font-weight: 600; }
.docs-body section { scroll-margin-top: 96px; padding-bottom: 44px; margin-bottom: 44px; border-bottom: 1px solid var(--edge); }
.docs-body section:last-of-type { border-bottom: 0; }
.docs-body h1 { font: 800 clamp(34px, 4.6vw, 52px)/1 var(--display); margin-bottom: 18px; }
.docs-body h2 { font: 800 clamp(26px, 3vw, 34px)/1.05 var(--display); letter-spacing: -.03em; margin-bottom: 16px; }
.docs-body p, .docs-body li { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }
.docs-body p { margin: 0 0 14px; max-width: 68ch; }
.docs-body ol, .docs-body ul { padding-left: 22px; margin: 0 0 16px; }
.docs-body li { margin-bottom: 8px; }
.docs-body a { color: var(--accent-ink); }
.callout { padding: 14px 18px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent-ink); font-size: 15px; line-height: 1.6; margin: 18px 0 0; border: 1px solid #4a3a9c; }
.docs-table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 6px 0 10px; background: var(--panel); border: 1px solid var(--edge); border-radius: var(--r); overflow: hidden; }
.docs-table td { padding: 14px 16px; border-bottom: 1px solid var(--edge); vertical-align: top; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.docs-table tr:last-child td { border-bottom: 0; }
.docs-table td:first-child { width: 34%; font-weight: 650; color: var(--ink); }
.faq details { padding: 18px 0; border-bottom: 1px solid var(--edge-lit); }
.faq details:last-child { border-bottom: 0; }
.faq summary { font-weight: 650; font-size: 17px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--text-faint); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--text-dim); margin: 10px 0 0; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--edge); background: #070818b3; }
.foot-in { max-width: var(--wrap); margin: 0 auto; padding: 56px 24px 40px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-in p { color: var(--text-dim); margin: 16px 0 0; max-width: 320px; }
.foot-col .lbl { display: block; margin-bottom: 14px; }
.foot-col a { display: block; text-decoration: none; color: var(--ink-2); margin-bottom: 12px; font-size: 15px; }
.foot-col a:hover { color: #fff; text-decoration: underline; }
.foot-note { max-width: var(--wrap); margin: 0 auto; padding: 0 24px 32px; color: var(--text-faint); font-size: 13px; }

.mobile-nav { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: #0d1030f2; border-top: 1px solid var(--edge); z-index: 20; justify-content: space-around; padding: 12px 4px calc(12px + env(safe-area-inset-bottom)); }
.mobile-nav a { text-decoration: none; font-size: 14px; font-weight: 600; color: var(--text-dim); padding: 4px 10px; border-radius: 999px; }
.mobile-nav a.on { color: #fff; background: var(--accent); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .launch-grid, .coin-cols { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--edge); }
  .step-row { grid-template-columns: 56px 1fr; }
  .step-row p { grid-column: 2; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .sticky { position: static; }
  .docs { grid-template-columns: 1fr; gap: 24px; }
  .docs-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .docs-nav .lbl { display: none; }
  .docs-nav button { background: var(--space-2); }
}
@media (max-width: 640px) {
  .page { padding: 20px 16px 72px; }
  .top-in { padding: 10px 16px; grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .mobile-nav { display: flex; }
  .band-in { padding: 56px 16px; }
  .name-ticker { grid-template-columns: 1fr; }
  .image-row { grid-template-columns: 110px minmax(0, 1fr); }
  .dropzone { min-height: 110px; }
  .table th, .table td { padding: 10px 12px; }
  .grid.coins { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: 1fr; }
  .strip > div + div { border-left: 0; border-top: 1px solid var(--edge); }
  .foot-in { grid-template-columns: 1fr; }
  .toolbar .input { max-width: none; }
  body { padding-bottom: 64px; }
  .toast { bottom: 78px; }
}
