/* Wallet Street. Brand colours are the variables in :root. */

:root {
  color-scheme: dark;
  --bg: #070707;
  --bg-2: #0b0b0b;
  --surface: #101010;
  --surface-2: #161616;
  --surface-3: #1e1e1e;
  --line: #1d1d1d;
  --line-2: #2b2b2b;
  --text: #f2eee6;
  --muted: #a29e96;
  --dim: #6c6963;
  --amber: #ffb43b;
  --amber-2: #ffcb70;
  --amber-ink: #1c1305;
  --tangerine: #ff7a45;
  --sage: #8fd3a8;
  --up: #5fd68e;
  --down: #ff6b5b;

  --font: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Bricolage Grotesque', var(--font);
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --radius: 18px;
  --radius-sm: 11px;
  --wrap: 1200px;
  --gutter: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1100px 520px at 82% -8%, rgba(255, 180, 59, .05), transparent 62%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font: 400 15px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button:disabled { cursor: not-allowed; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -.025em; line-height: 1.08; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.55rem); }
h3 { font-size: 1.12rem; letter-spacing: -.01em; }
p { margin: 0; }
code, .mono { font-family: var(--mono); font-feature-settings: 'zero' 1; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--amber); color: var(--amber-ink); }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 16px; height: 16px; flex: none; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.fine { font-size: 12px; color: var(--dim); line-height: 1.5; }
.warn { color: var(--tangerine) !important; }
.amb { color: var(--amber); }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--amber);
  margin-bottom: 12px;
}
.eyebrow::before { content: ''; width: 18px; height: 3px; border-radius: 2px; background: currentColor; }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 54ch; }
.h-page { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; letter-spacing: -.035em; }

/* entrance */
.rise { animation: rise .7s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.view > section:first-child { animation: fade .35s ease both; }
@keyframes fade { from { opacity: 0; } }

/* ---------- buttons, chips ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 12px;
  font-weight: 600; font-size: 14.5px; white-space: nowrap;
  border: 1px solid transparent;
  transition: background .2s, border-color .2s, color .2s, transform .15s var(--ease);
}
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn-primary { background: var(--amber); color: var(--amber-ink); box-shadow: 0 6px 24px -10px rgba(255, 180, 59, .7), inset 0 -2px 0 rgba(0, 0, 0, .12); }
.btn-primary:hover:not(:disabled) { background: var(--amber-2); }
.btn-primary:disabled { background: var(--surface-3); color: var(--dim); box-shadow: none; }
.btn-ghost { border-color: var(--line-2); background: rgba(255, 255, 255, .02); }
.btn-ghost:hover:not(:disabled) { border-color: var(--muted); background: rgba(255, 255, 255, .05); }
.btn-ghost:disabled { opacity: .45; }
.btn-lg { height: 52px; padding: 0 24px; font-size: 15.5px; border-radius: 14px; }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn-block { width: 100%; }

.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--line-2); color: var(--text); transition: border-color .2s, background .2s;
}
.icon-btn svg { width: 17px; height: 17px; }
.icon-btn:hover { border-color: var(--muted); background: rgba(255, 255, 255, .04); }
.icon-btn.sm { width: 32px; height: 32px; border-radius: 9px; }
.icon-btn.sm svg { width: 14px; height: 14px; }
.icon-btn.is-off { opacity: .35; cursor: default; }
.icon-btn.is-off:hover { border-color: var(--line-2); background: none; }
.link-btn { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.link-btn:hover { text-decoration-color: var(--amber); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--amber); }
.link-arrow:hover .ico { transform: translateX(3px); }
.link-arrow .ico { transition: transform .2s var(--ease); }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.back:hover { color: var(--text); }

.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px;
  border: 1px solid var(--line-2); border-radius: 999px; font-size: 12.5px; color: var(--muted); white-space: nowrap;
}
.chip .ico { width: 13px; height: 13px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); flex: none; }
.chip-live .dot, .chip-demo .dot { background: var(--up); box-shadow: 0 0 0 0 rgba(95, 214, 142, .6); animation: ping 2s infinite; }
.chip-demo .dot { background: var(--amber); box-shadow: 0 0 0 0 rgba(255, 180, 59, .6); }
.chip-ok { color: var(--up); border-color: rgba(95, 214, 142, .35); }
@keyframes ping { 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.tag {
  display: inline-block; padding: 2px 7px; border-radius: 6px; background: var(--surface-3);
  font: 600 10.5px/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); vertical-align: middle;
}
.you { display: inline-block; padding: 1px 6px; border-radius: 6px; background: var(--amber); color: var(--amber-ink); font: 700 10px/1.5 var(--mono); text-transform: uppercase; vertical-align: middle; }

/* ---------- header ---------- */

.top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(7, 7, 7, .8);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 9px; }
.logo-mark { width: 30px; height: 30px; color: var(--text); }
.logo-word { font: 800 23px/1 var(--display); letter-spacing: -.045em; padding-bottom: 2px; }
.logo-word em { font-style: normal; color: var(--amber); }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 12px; border-radius: 10px; color: var(--muted); font-weight: 500; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.on { color: var(--text); background: var(--surface-2); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.wallet-wrap { position: relative; }
.btn-wallet { height: 40px; padding: 0 16px; border-radius: 12px; background: var(--text); color: var(--bg); font-weight: 600; font-size: 14px; }
.btn-wallet:hover { background: #fff; }
.btn-wallet.on { background: var(--surface-2); color: var(--text); border: 1px solid var(--line-2); gap: 10px; padding: 0 6px 0 12px; }
.btn-wallet.on:hover { border-color: var(--muted); }
.wb-bal { font: 500 13px var(--mono); color: var(--amber); }
.wb-addr { font: 500 13px var(--mono); background: var(--surface-3); padding: 5px 9px; border-radius: 8px; }
.wallet-menu { position: absolute; right: 0; top: calc(100% + 8px); width: 220px; padding: 6px; z-index: 50; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .6); }
.wallet-menu .wm-head { padding: 10px 10px 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; display: grid; gap: 2px; }
.wallet-menu .wm-head small { color: var(--dim); font-size: 12px; }
.wallet-menu a, .wallet-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; border-radius: 9px; font-size: 14px; color: var(--muted); text-align: left; }
.wallet-menu a:hover, .wallet-menu button:hover { background: var(--surface-2); color: var(--text); }

/* ---------- cards ---------- */

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.kv { margin: 0; display: grid; gap: 9px; }
.kv > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.kv.small { font-size: 13.5px; }
.kv .total { border-top: 1px dashed var(--line-2); padding-top: 10px; font-weight: 600; }
.kv .total dt { color: var(--text); }
.kv .mine { background: rgba(255, 180, 59, .08); margin: 2px -10px; padding: 8px 10px; border-radius: 9px; }
.kv .mine dt { color: var(--amber); }

/* ---------- sections ---------- */

.section { padding: 64px 0; }
.page-top { padding-top: 40px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.sec-head.center { justify-content: center; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.page-head p { margin-top: 10px; }
.empty { color: var(--muted); padding: 24px 4px; text-align: center; }
.empty a { color: var(--amber); }
.empty-page { text-align: center; padding: 80px 0; display: grid; gap: 14px; justify-items: center; }

/* ---------- hero ---------- */

.hero { padding: 56px 0 26px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 {
  font-size: clamp(2.7rem, 6.2vw, 4.85rem); font-weight: 800; letter-spacing: -.045em; line-height: .96;
  margin: 22px 0 22px;
}
.hero h1 em { font-style: normal; color: var(--amber); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ''; position: absolute; left: 2%; right: 2%; bottom: -.04em; height: .09em; border-radius: 99px;
  background: repeating-linear-gradient(90deg, var(--amber) 0 .5em, transparent .5em .78em);
  opacity: .7;
}
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.ca-bar {
  display: flex; align-items: center; gap: 8px; max-width: 520px; padding: 6px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line);
}
.ca-tag { padding: 7px 10px; border-radius: 9px; background: var(--amber); color: var(--amber-ink); font: 700 12.5px/1 var(--mono); }
.ca-val { flex: 1; min-width: 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 4px; }
.ca-val.is-pending { color: var(--dim); }
.ca-btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; border-radius: 9px; font-size: 13px; font-weight: 600; background: var(--surface-3); }
.ca-btn:hover:not(:disabled) { background: var(--line-2); }
.ca-btn:disabled { opacity: .45; }
.ca-btn .ico { width: 14px; height: 14px; }

.hero-art { position: relative; }
.rig-card { padding: 20px 20px 16px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 180, 59, .05); }
.rc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.rc-name { display: grid; flex: 1; min-width: 0; padding-left: 6px; }
.rc-name b { font: 700 18px/1.2 var(--display); }
.rc-name small { color: var(--muted); font-size: 13px; }
.rc-price { display: grid; justify-items: end; gap: 2px; }
.rc-price b { font: 600 18px/1.2 var(--mono); }
.rc-chart { width: 100%; height: 220px; overflow: visible; }
.rc-grid line { stroke: var(--line); stroke-dasharray: 2 6; }
.rc-coin { fill: none; stroke: var(--amber); stroke-width: 2.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.rc-pair { fill: none; stroke: var(--text); stroke-width: 1.6; stroke-dasharray: 5 5; opacity: .7; vector-effect: non-scaling-stroke; }
.rc-dot { fill: var(--amber); stroke: var(--surface); stroke-width: 3; }
.rc-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.rc-legend b { color: var(--text); font-family: var(--mono); font-weight: 500; }
.rc-legend .sw { display: inline-block; width: 14px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.sw.amb { background: var(--amber); }
.sw.cream { background: repeating-linear-gradient(90deg, var(--text) 0 4px, transparent 4px 7px); }
.rc-paid { margin-left: auto; }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 56px 0 0; border-top: 1px solid var(--line); }
.hero-stats div { padding: 22px 0 0; }
.hero-stats div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.hero-stats dt { color: var(--dim); font-size: 13px; }
.hero-stats dd { margin: 4px 0 0; font: 700 clamp(1.4rem, 2.6vw, 2rem)/1.1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* ---------- tape ---------- */

.tape { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); margin-top: 30px; }
.tape::before {
  content: ''; position: absolute; inset: auto 0 -1px; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255, 180, 59, .5) 0 26px, transparent 26px 50px);
}
.tape-track { display: flex; width: max-content; animation: tape 70s linear infinite; }
.tape:hover .tape-track { animation-play-state: paused; }
.tape-item { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-right: 1px solid var(--line); font-size: 14px; white-space: nowrap; }
.tape-item b { font-family: var(--mono); font-weight: 600; }
.tape-item span:nth-child(2) { font-family: var(--mono); color: var(--muted); }
.tape-item:hover b { color: var(--amber); }
@keyframes tape { to { transform: translateX(-50%); } }

/* ---------- rig: a coin with its paired asset docked beside it ---------- */

.rig { position: relative; display: inline-flex; width: var(--s); height: var(--s); flex: none; margin-right: calc(var(--s) * .16); }
.av {
  width: 100%; height: 100%; border-radius: 30%; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(140deg, hsl(var(--h, 30) 78% 60%), hsl(calc(var(--h, 30) + 48) 72% 36%));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.av-1 { background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .13) 0 5px, transparent 5px 11px), linear-gradient(140deg, hsl(var(--h) 78% 58%), hsl(calc(var(--h) + 48) 72% 34%)); }
.av-2 { background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .45), transparent 45%), linear-gradient(160deg, hsl(var(--h) 80% 55%), hsl(calc(var(--h) - 40) 70% 30%)); }
.av-3 { background: conic-gradient(from 210deg at 70% 70%, hsl(var(--h) 80% 60%), hsl(calc(var(--h) + 70) 70% 40%), hsl(var(--h) 80% 60%)); }
.av b { font: 800 calc(var(--s) * .38)/1 var(--display); color: rgba(255, 255, 255, .95); letter-spacing: -.04em; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.av img { width: 100%; height: 100%; object-fit: cover; }
.pb {
  display: inline-grid; place-items: center; height: 24px; min-width: 24px; padding: 0 7px; border-radius: 999px;
  background: var(--pb, #efe7d8); color: #17130c; font: 700 10.5px/1 var(--mono); letter-spacing: .01em; white-space: nowrap;
}
.pb-xstock { --pb: #efe7d8; }
.pb-sunrise { --pb: #ffd7a1; }
.pb-prestock { --pb: #d6c6ff; }
.pb.docked {
  position: absolute; right: calc(var(--s) * -.24); bottom: calc(var(--s) * -.1);
  height: max(16px, calc(var(--s) * .44)); min-width: max(16px, calc(var(--s) * .44));
  padding: 0 max(3px, calc(var(--s) * .06));
  font-size: max(7.5px, calc(var(--s) * .16));
  box-shadow: 0 0 0 max(2px, calc(var(--s) * .05)) var(--surface);
}

.delta { font: 500 13px/1 var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.delta.up { color: var(--up); }
.delta.down { color: var(--down); }
.prog { height: 8px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.prog span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--amber-2), var(--amber)); transition: width .6s var(--ease); }
.prog.done span { background: repeating-linear-gradient(90deg, var(--up) 0 14px, rgba(95, 214, 142, .7) 14px 22px); }
.spark { width: 100%; height: 100%; overflow: visible; }
.spark path { fill: none; stroke-width: 1.8; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.spark.up path { stroke: var(--up); }
.spark.down path { stroke: var(--down); }

/* ---------- coin cards ---------- */

.coin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.coin-card { display: grid; gap: 14px; padding: 18px; transition: border-color .2s, transform .25s var(--ease), background .2s; }
.coin-card:hover { border-color: var(--line-2); background: var(--surface-2); transform: translateY(-2px); }
.cc-head { display: flex; align-items: center; gap: 12px; }
.cc-name { display: grid; flex: 1; min-width: 0; padding-left: 6px; }
.cc-name b { font: 700 16px/1.25 var(--display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-name small { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-chg { align-self: flex-start; }
.cc-spark { height: 40px; }
.cc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
.cc-stats dt { color: var(--dim); font-size: 11.5px; }
.cc-stats dd { margin: 2px 0 0; font: 500 13.5px var(--mono); }
.cc-prog { display: grid; gap: 7px; }
.cc-prog small { color: var(--dim); font-size: 12px; }

/* ---------- home sections ---------- */

.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { display: grid; gap: 10px; align-content: start; padding: 26px; }
.step-n { font: 600 13px var(--mono); color: var(--amber); }
.step p { color: var(--muted); }
.step-vis { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-height: 40px; }
.step-vis.fees span { padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 10px; font: 600 14px var(--mono); color: var(--muted); }
.step-vis.fees span.on { border-color: var(--amber); color: var(--amber); background: rgba(255, 180, 59, .08); }
.step-vis.route span { padding: 7px 11px; border-radius: 9px; background: var(--surface-3); font: 600 12.5px var(--mono); }
.step-vis.route span.amb { background: var(--amber); color: var(--amber-ink); }
.step-vis.route .ico { color: var(--dim); width: 14px; }

.fee-sec { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.fee-copy p { color: var(--muted); margin-top: 16px; max-width: 46ch; }
.splitbar { display: flex; gap: 4px; height: 18px; margin-bottom: 20px; }
.splitbar span { border-radius: 5px; }
.split-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; }
.split-list li { display: grid; grid-template-columns: 10px 52px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.split-list li:first-child { border-top: 0; }
.split-list .sw { width: 10px; height: 10px; border-radius: 3px; }
.split-list .pct { font: 700 18px var(--display); }
.split-list div { display: grid; }
.split-list small { color: var(--muted); font-size: 13px; }
.split-list .amt { font: 500 13px var(--mono); color: var(--muted); }

.grad-sec { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; padding: 34px; }
.gc { width: 100%; height: auto; overflow: visible; }
.gc-area { fill: rgba(255, 180, 59, .08); }
.gc-line { fill: none; stroke: var(--amber); stroke-width: 3; stroke-linecap: round; }
.gc-pool { fill: rgba(95, 214, 142, .07); stroke: rgba(95, 214, 142, .45); stroke-dasharray: 4 5; }
.gc-pool-t { fill: var(--sage); font: 700 15px var(--display); }
.gc-pool-s { fill: var(--dim); font: 500 11.5px var(--mono); }
.gc-end { fill: var(--amber); stroke: var(--surface); stroke-width: 4; }
.gc-start { fill: var(--text); stroke: var(--surface); stroke-width: 3; }
.gc-live { fill: var(--surface); stroke: var(--amber); stroke-width: 2.5; }
.gc-lab { fill: var(--text); font: 600 13px var(--font); }
.gc-live-t { fill: var(--amber); font: 600 12px var(--mono); }
.gc-axis { fill: var(--dim); font: 500 11.5px var(--mono); }
.grad-copy h2 { margin-bottom: 18px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; color: var(--muted); }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--amber); }
.ticks b { color: var(--text); font-weight: 600; }

.band { padding: 40px 0 90px; }
.band-inner {
  position: relative; overflow: hidden; text-align: center; display: grid; justify-items: center; gap: 14px;
  padding: 64px 24px; border-radius: 28px; border: 1px solid rgba(255, 180, 59, .25);
  background: radial-gradient(600px 260px at 50% 120%, rgba(255, 180, 59, .16), transparent 70%), var(--surface);
}
.band-inner h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -.04em; }
.band-inner p { font-size: 1.08rem; color: var(--muted); margin-bottom: 8px; }
.band-mark { position: absolute; width: 360px; height: 360px; right: -60px; bottom: -110px; color: rgba(255, 255, 255, .03); --amber: rgba(255, 180, 59, .07); }

/* ---------- footer, dock ---------- */

.foot { border-top: 1px solid var(--line); padding: 44px 0 30px; background: var(--bg-2); }
.foot-top { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: flex-start; justify-content: space-between; }
.foot-brand p { color: var(--muted); margin-top: 10px; font-size: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 6px; }
.foot-links a { color: var(--muted); font-size: 14px; }
.foot-links a:hover { color: var(--text); }
.foot-social { display: flex; gap: 10px; }
.foot-demo { margin: 30px 0 18px; padding: 14px 16px; border-radius: 12px; border: 1px dashed var(--line-2); color: var(--muted); font-size: 13px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; color: var(--dim); font-size: 12.5px; }

.dock { display: none; }

/* ---------- modal, toast ---------- */

.modal { padding: 0; border: 0; background: none; color: var(--text); max-width: calc(100vw - 32px); }
.modal::backdrop { background: rgba(0, 0, 0, .78); backdrop-filter: blur(4px); }
.modal[open] .modal-card { animation: pop .25s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.modal-card { width: 400px; max-width: 100%; background: var(--surface); border: 1px solid var(--line-2); border-radius: 22px; padding: 22px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; }
.modal-head h2 { font-size: 1.35rem; }
.modal-head .icon-btn svg { transform: rotate(45deg); }
.modal-note { color: var(--muted); font-size: 13.5px; margin: 10px 0 18px; }
.wallet-list { display: grid; gap: 8px; }
.wallet-opt {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--bg-2); text-align: left; transition: border-color .2s, background .2s;
}
.wallet-opt:hover { border-color: var(--line-2); background: var(--surface-2); }
.wallet-opt b { flex: 1; font-weight: 600; }
.wallet-opt small { color: var(--dim); font-size: 12.5px; }
.wallet-opt small.ok { color: var(--up); }
.wo-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font: 800 15px var(--display); color: #fff; }
.wo-phantom { background: #ab9ff2; color: #2a2140; }
.wo-solflare { background: #fc7227; }
.wo-backpack { background: #e33e3f; }
.wo-demo { background: var(--surface-3); color: var(--text); }
.wo-demo svg { width: 22px; height: 22px; }
.wallet-demo { border-color: rgba(255, 180, 59, .35); }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 100; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 18px; border-radius: 12px; background: var(--text); color: var(--bg); font-weight: 600; font-size: 14px;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .6); transition: opacity .25s, transform .25s var(--ease); max-width: calc(100vw - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast[data-kind='error'] { background: var(--down); color: #200805; }

/* ---------- toolbar, inputs ---------- */

.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 22px; }
.toolbar.tight { margin-bottom: 14px; }
.search { position: relative; flex: 1 1 260px; display: flex; align-items: center; }
.search .ico { position: absolute; left: 14px; color: var(--dim); }
.search input, .select select, .field input, .field textarea, .amount input, .input-pre {
  width: 100%; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--bg-2); outline: none; transition: border-color .2s, box-shadow .2s;
}
.search input { padding-left: 40px; }
.search input:focus, .select select:focus, .field input:focus, .field textarea:focus, .amount:focus-within, .input-pre:focus-within {
  border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255, 180, 59, .15);
}
.select select { appearance: none; padding-right: 36px; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: right 18px center, right 13px center; background-size: 5px 5px; background-repeat: no-repeat; }
.select option { background: var(--surface); }
.seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 13px; background: var(--bg-2); border: 1px solid var(--line); }
.seg button { height: 34px; padding: 0 14px; border-radius: 9px; color: var(--muted); font-weight: 500; font-size: 14px; transition: background .2s, color .2s; white-space: nowrap; }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed='true'] { background: var(--surface-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.seg.sm button { height: 28px; padding: 0 10px; font-size: 13px; }
.seg-wide { display: flex; width: 100%; }
.seg-wide button { flex: 1; }

.field { display: grid; gap: 7px; }
.field > span:first-child, .field-top { font-size: 13.5px; font-weight: 500; color: var(--muted); }
.field small { color: var(--dim); font-size: 12px; }
.field textarea { height: auto; padding: 11px 14px; resize: vertical; min-height: 64px; line-height: 1.45; }
.field .count { justify-self: end; margin-top: -2px; }
.field-top { display: flex; justify-content: space-between; }
.opt { color: var(--dim); font-weight: 400; font-size: 12px; }
.input-pre { display: flex; align-items: center; gap: 6px; padding: 0 0 0 14px; }
.input-pre > span { color: var(--amber); font: 600 15px var(--mono); }
.input-pre input { border: 0; background: none; height: 42px; padding: 0 14px 0 0; text-transform: uppercase; font-family: var(--mono); box-shadow: none !important; }
.amount { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg-2); transition: border-color .2s, box-shadow .2s; }
.amount input { border: 0; background: none; height: 54px; font: 500 22px var(--mono); box-shadow: none !important; }
.amount .unit { padding: 0 16px; color: var(--muted); font: 600 14px var(--mono); }
.quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.quick button { height: 30px; padding: 0 11px; border-radius: 8px; border: 1px solid var(--line-2); font: 500 12.5px var(--mono); color: var(--muted); }
.quick button:hover { border-color: var(--amber); color: var(--amber); }
.hint { color: var(--muted); font-size: 13px; margin-top: 10px; }
.hint:empty { display: none; }

/* ---------- create ---------- */

.create-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.create-form { display: grid; gap: 16px; }
.fs { margin: 0; min-width: 0; display: grid; gap: 14px; }
.fs legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; font: 700 1.15rem var(--display); letter-spacing: -.01em; padding: 0; }
.fs legend + * { clear: both; }
.fs-n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--amber); color: var(--amber-ink); font: 700 13px var(--mono); }
.fs-sub { color: var(--muted); font-size: 14px; margin-top: -6px; }
.pair-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; max-height: 380px; overflow-y: auto; padding: 2px; margin: -2px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.pair-opt { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); text-align: left; transition: border-color .15s, background .15s; }
.pair-opt:hover { border-color: var(--line-2); }
.pair-opt[aria-checked='true'] { border-color: var(--amber); background: rgba(255, 180, 59, .07); box-shadow: inset 0 0 0 1px var(--amber); }
.pair-opt .pb { height: 32px; min-width: 32px; font-size: 9.5px; padding: 0 5px; flex: none; }
.po-txt { display: grid; flex: 1; min-width: 0; }
.po-txt b { font: 600 13.5px var(--mono); }
.po-txt small, .po-meta small { font-size: 11.5px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.po-meta { display: grid; justify-items: end; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.drop { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; border: 1px dashed var(--line-2); background: var(--bg-2); cursor: pointer; transition: border-color .2s; }
.drop:hover, .drop:focus-within { border-color: var(--amber); }
.drop-prev { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--surface-3); color: var(--muted); overflow: hidden; flex: none; }
.drop-prev img { width: 100%; height: 100%; object-fit: cover; }
.drop-txt { display: grid; min-width: 0; }
.drop-txt b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop-txt small { color: var(--dim); font-size: 12.5px; }
.socials summary { cursor: pointer; color: var(--muted); font-size: 14px; font-weight: 500; list-style: none; display: flex; align-items: center; gap: 8px; }
.socials summary::before { content: '+'; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--surface-3); font: 600 14px var(--mono); }
.socials[open] summary::before { content: '–'; }
.socials summary::-webkit-details-marker { display: none; }
.fee-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.fee-opt { display: grid; gap: 6px; align-content: start; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); text-align: left; position: relative; transition: border-color .15s, background .15s; }
.fee-opt b { font: 700 22px var(--display); }
.fee-opt small { color: var(--dim); font-size: 12px; line-height: 1.4; }
.fee-opt .tag { position: absolute; top: 14px; right: 12px; }
.fee-opt:hover { border-color: var(--line-2); }
.fee-opt[aria-checked='true'] { border-color: var(--amber); background: rgba(255, 180, 59, .07); box-shadow: inset 0 0 0 1px var(--amber); }
.fee-opt[aria-checked='true'] b { color: var(--amber); }
.create-side { position: sticky; top: 88px; }
.preview { display: grid; gap: 16px; }
.preview .eyebrow { margin-bottom: 0; }
.pv { display: grid; gap: 14px; padding-bottom: 16px; border-bottom: 1px dashed var(--line-2); }
.pv-head { display: flex; align-items: center; gap: 14px; }
.pv-head > div { display: grid; padding-left: 8px; min-width: 0; }
.pv-head b { font: 700 20px/1.2 var(--display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-head small { color: var(--amber); font: 600 13px var(--mono); }
.pv-desc { color: var(--text); font-size: 14px; }
.preview .fine { text-align: center; margin-top: -4px; }

/* ---------- coin page ---------- */

.coin-head { display: flex; align-items: flex-start; gap: 22px; margin-bottom: 26px; }
.ch-name { flex: 1; min-width: 0; display: grid; gap: 6px; padding-left: 10px; }
.ch-name h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -.035em; }
.ch-name .tk { color: var(--amber); font: 600 .55em var(--mono); letter-spacing: 0; vertical-align: middle; }
.ch-name p { font-size: 14px; }
.ch-desc { color: var(--text); max-width: 60ch; }
.ch-socials { display: flex; gap: 8px; margin-top: 4px; }
.ch-price { display: grid; justify-items: end; gap: 4px; text-align: right; }
.ch-price b { font: 600 clamp(1.5rem, 3vw, 2.1rem)/1.1 var(--mono); letter-spacing: -.02em; }
.ch-price small { color: var(--muted); font-size: 13px; }
.coin-grid2 { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.coin-main, .coin-side { display: grid; gap: 16px; min-width: 0; }
.coin-side { position: sticky; top: 88px; }
.chart-card { padding: 16px 16px 10px; }
.cc-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.chart-host { position: relative; }
.chart { width: 100%; touch-action: pan-y; }
.chart .grid line { stroke: var(--line); stroke-dasharray: 2 6; }
.chart .grid text { fill: var(--dim); font: 500 11px var(--mono); }
.chart .line { fill: none; stroke: var(--amber); stroke-width: 2.2; stroke-linejoin: round; }
.chart .xh { stroke: var(--muted); stroke-dasharray: 3 4; opacity: 0; }
.chart .pt { fill: var(--amber); stroke: var(--surface); stroke-width: 3; opacity: 0; }
.chart-host.hovering .xh, .chart-host.hovering .pt { opacity: 1; }
.tip { position: absolute; left: 0; top: 0; pointer-events: none; display: grid; padding: 8px 10px; border-radius: 10px; background: var(--surface-3); border: 1px solid var(--line-2); white-space: nowrap; }
.tip b { font: 600 13px var(--mono); }
.tip small { color: var(--dim); font-size: 11.5px; }
.curve-card .prog { height: 12px; margin-bottom: 12px; }
.curve-card .card-head { margin-bottom: 12px; }
.trade { display: grid; gap: 14px; }
.trade[data-side='sell'] .trade-side button[aria-pressed='true'] { background: rgba(255, 107, 91, .14); color: var(--down); box-shadow: inset 0 0 0 1px rgba(255, 107, 91, .4); }
.trade[data-side='buy'] .trade-side button[aria-pressed='true'] { background: rgba(95, 214, 142, .12); color: var(--up); box-shadow: inset 0 0 0 1px rgba(95, 214, 142, .35); }
.trade[data-side='sell'] .btn-primary:not(:disabled) { background: var(--down); color: #210805; box-shadow: none; }
.trade .quick { margin-top: -4px; }
.receive { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--bg-2); }
.receive small { color: var(--muted); }
.receive b { font: 600 15px var(--mono); text-align: right; }
.rewards { display: grid; gap: 14px; }
.rewards .card-head { margin-bottom: 0; }

.tbl-wrap { overflow-x: auto; margin: 0 -6px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; color: var(--dim); font-weight: 500; font-size: 12px; padding: 8px 6px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl th.num { text-align: right; }
.tbl td { padding: 10px 6px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr.me td { background: rgba(255, 180, 59, .06); }
.tbl a:hover { color: var(--amber); }
.side { display: inline-block; padding: 3px 8px; border-radius: 7px; font: 600 11.5px var(--mono); }
.side.buy { background: rgba(95, 214, 142, .12); color: var(--up); }
.side.sell { background: rgba(255, 107, 91, .12); color: var(--down); }
.side.launch { background: rgba(255, 180, 59, .14); color: var(--amber); }
.sys { color: var(--sage); font-family: var(--font); font-weight: 500; }
.coin-cell { display: flex; align-items: center; gap: 12px; }
.coin-cell > span:last-child { display: grid; padding-left: 4px; }
.coin-cell b { font-weight: 600; }
.coin-cell small { color: var(--dim); font: 500 12px var(--mono); }

/* ---------- analytics, profile ---------- */

.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 0 0 16px; }
.tile { padding: 16px 18px; }
.tile dt { color: var(--dim); font-size: 12.5px; }
.tile dd { margin: 6px 0 0; font: 700 1.45rem/1.1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.an-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.view-analytics .card + .card, .view-analytics .an-grid + .card { margin-top: 16px; }
.view-analytics .an-grid .card { margin-top: 0; }
.airdrop { display: grid; gap: 16px; align-content: start; }
.airdrop .card-head { margin-bottom: 0; }
.countdown { display: grid; gap: 8px; }
.cd { display: flex; gap: 8px; }
.cd span { flex: 1; display: grid; justify-items: center; padding: 12px 6px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.cd b { font: 700 1.9rem/1 var(--display); font-variant-numeric: tabular-nums; }
.cd small { color: var(--dim); font-size: 11.5px; margin-top: 4px; }
.bars { display: grid; gap: 14px; }
.bar-row { display: grid; grid-template-columns: 120px 1fr 90px; gap: 12px; align-items: center; font-size: 14px; }
.bar-t { height: 10px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.bar-t span { display: block; height: 100%; border-radius: inherit; transition: width .6s var(--ease); }
.bar-v { text-align: right; font-size: 13px; }

.connect-card { max-width: 520px; margin: 40px auto; text-align: center; display: grid; justify-items: center; gap: 14px; padding: 44px 28px; }
.cc-mark { width: 64px; height: 64px; color: var(--text); margin-bottom: 4px; }
.prof-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.addr { font-size: clamp(1.5rem, 3.4vw, 2.3rem); font-weight: 600; letter-spacing: -.02em; }
.prof-actions { display: flex; gap: 8px; margin-top: 14px; }
.bal-card { display: grid; gap: 4px; min-width: 240px; padding: 18px; }
.bal-card small { color: var(--dim); }
.bal-card b { font: 600 1.6rem var(--mono); color: var(--amber); margin-bottom: 8px; }
.tabs { margin: 8px 0 12px; }
.created-list { display: grid; }
.created-row { display: grid; grid-template-columns: auto 1fr 220px 120px; gap: 16px; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.created-row:last-child { border-bottom: 0; }
.created-row:hover .cr-name b { color: var(--amber); }
.cr-name { display: grid; padding-left: 6px; }
.cr-name b { font-weight: 600; }
.cr-name small, .cr-prog small, .cr-earn small { color: var(--dim); font-size: 12px; }
.cr-prog { display: grid; gap: 6px; }
.cr-earn { display: grid; justify-items: end; }
.cr-earn b { font-family: var(--mono); font-weight: 500; }
.reset-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }

/* ---------- docs, prose ---------- */

.docs { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 48px; align-items: start; }
.docs-toc { position: sticky; top: 100px; }
.docs-toc nav { display: grid; gap: 2px; border-left: 1px solid var(--line); }
.docs-toc button { text-align: left; padding: 7px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); font-size: 14px; }
.docs-toc button:hover { color: var(--text); }
.docs-toc button.on { color: var(--amber); border-left-color: var(--amber); }
.docs-body { max-width: 760px; }
.docs-body .lede { margin: 14px 0 26px; }
.docs-body section { padding-top: 34px; }
.docs-body h2 { font-size: 1.75rem; margin-bottom: 14px; }
.docs-body h3 { margin: 22px 0 8px; }
.docs-body p { color: var(--muted); margin-bottom: 14px; }
.docs-body p b { color: var(--text); }
.callout { padding: 16px 18px; border-radius: 14px; background: rgba(255, 180, 59, .07); border: 1px solid rgba(255, 180, 59, .3); color: var(--muted); font-size: 14.5px; }
.callout b { color: var(--amber); display: block; margin-bottom: 4px; }
.split-docs { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 8px; }
.split-docs li { display: grid; grid-template-columns: 60px 1fr; gap: 14px; padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.split-docs li > b { font: 700 1.3rem var(--display); color: var(--amber); }
.split-docs span b { color: var(--text); }
.risks { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: var(--muted); }
.risks li::marker { color: var(--amber); }
.contracts { margin: 16px 0 0; display: grid; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.contracts > div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--surface); }
.contracts > div:first-child { border-top: 0; }
.contracts dt { color: var(--muted); font-size: 14px; }
.contracts dd { margin: 0; display: flex; align-items: center; gap: 10px; min-width: 0; }
.contracts code { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pending { color: var(--dim); font: 500 12.5px var(--mono); }
.prose { max-width: 720px; }
.prose h2 { font-size: 1.35rem; margin: 30px 0 8px; }
.prose p { color: var(--muted); }
.prose > p:last-child { margin-top: 30px; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-art { max-width: 620px; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .create-grid, .coin-grid2 { grid-template-columns: 1fr; }
  .create-side, .coin-side { position: static; }
  .coin-side { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
  .fee-sec, .grad-sec { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 860px) {
  :root { --gutter: 16px; }
  .nav { height: 60px; gap: 12px; }
  .nav-links, .chip-demo { display: none; }
  .section { padding: 48px 0; }
  .page-top { padding-top: 28px; }
  .hero { padding-top: 34px; }
  .hero-stats { grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .hero-stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-stats div:nth-child(n + 3) { border-top: 1px solid var(--line); margin-top: 20px; }
  .how-steps { grid-template-columns: 1fr; }
  .an-grid { grid-template-columns: 1fr; }
  .docs { grid-template-columns: 1fr; gap: 0; }
  .docs-toc { position: static; margin-bottom: 8px; }
  .docs-toc nav { display: flex; flex-wrap: wrap; gap: 6px; border: 0; }
  .docs-toc button { border: 1px solid var(--line-2); border-radius: 99px; margin: 0; padding: 6px 12px; font-size: 13px; }
  .docs-toc button.on { border-color: var(--amber); }
  .created-row { grid-template-columns: auto 1fr; }
  .cr-prog, .cr-earn { grid-column: 2; justify-items: start; }
  .coin-head { flex-wrap: wrap; }
  .ch-price { justify-items: start; text-align: left; width: 100%; }
  .hide-md { display: none; }
  .foot { padding-bottom: 110px; }
  .toast { bottom: 96px; }

  .dock {
    display: flex; position: fixed; left: 50%; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 45; transform: translateX(-50%);
    gap: 2px; padding: 6px; border-radius: 20px; background: rgba(16, 16, 16, .92); border: 1px solid var(--line-2);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .7);
  }
  .dock a { display: grid; justify-items: center; gap: 2px; width: 62px; padding: 7px 0 5px; border-radius: 14px; color: var(--dim); font-size: 10.5px; font-weight: 500; }
  .dock a svg { width: 20px; height: 20px; }
  .dock a.on { color: var(--text); background: var(--surface-3); }
  .dock a.dock-main { color: var(--amber-ink); background: var(--amber); }
}

@media (max-width: 560px) {
  body { font-size: 14.5px; }
  .logo-word { font-size: 21px; }
  .btn-wallet { height: 38px; padding: 0 12px; font-size: 13px; }
  .btn-wallet.on .wb-bal { display: none; }
  .hero h1 { margin: 18px 0; }
  .cta .btn { flex: 1; }
  .rc-paid { margin-left: 0; }
  .rc-chart { height: 170px; }
  .card { padding: 18px; border-radius: 16px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .row2, .row3, .fee-opts { grid-template-columns: 1fr; }
  .pair-grid { grid-template-columns: 1fr 1fr; max-height: 320px; }
  .po-meta { display: none; }
  .toolbar .seg { width: 100%; }
  .toolbar .seg button { flex: 1; padding: 0 8px; }
  .select { width: 100%; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .sec-head.center { align-items: center; }
  .split-list li { grid-template-columns: 10px 44px 1fr; }
  .split-list .amt { grid-column: 3; }
  .bar-row { grid-template-columns: 90px 1fr 76px; }
  .contracts > div { grid-template-columns: 1fr; gap: 4px; }
  .grad-sec { padding: 20px; }
  .band-inner { padding: 48px 20px; border-radius: 22px; }
  .hide-sm { display: none; }
  .reset-row { flex-direction: column; align-items: flex-start; }
  .bal-card { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .tape-track { animation: none; }
}
