/* ==========================================================================
   Prismr: dark spectral theme
   ========================================================================== */
:root {
  --bg: #0B0A0F;
  --bg-2: #111017;
  --surface: #16141C;
  --surface-2: #1D1B25;
  --surface-3: #262331;
  --line: #2A2734;
  --line-2: #3A3646;
  --ink: #F6F3EC;
  --muted: #A7A2B4;
  --dim: #7A758C;
  --ok: #5FE0A6;
  --warn: #FFD166;
  --bad: #FF6B6B;
  --spectrum: linear-gradient(90deg, #FF6B6B, #FF9F5A, #FFD166, #B5E36B, #5FE0A6, #4FD1E8, #5B9DFF, #8E7CFF, #D17BFF);
  --font-display: 'Bricolage Grotesque', 'Geist', system-ui, sans-serif;
  --font-body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --radius: 18px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 520px at 85% -8%, rgba(142, 124, 255, .10), transparent 60%),
    radial-gradient(760px 460px at -5% 8%, rgba(255, 107, 107, .06), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  font: 400 15px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
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 { font-family: var(--font-display); font-optical-sizing: auto; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 12px; }
h1 { font-size: clamp(36px, 4.6vw, 58px); font-weight: 800; letter-spacing: -0.04em; }
h2 { font-size: clamp(24px, 2.6vw, 32px); }
h3 { font-size: 19px; letter-spacing: -0.02em; }
p { margin: 0 0 12px; }
code { font-family: var(--font-mono); font-size: .92em; overflow-wrap: anywhere; }
:focus-visible { outline: 2px solid #8E7CFF; outline-offset: 3px; }
::selection { background: rgba(142, 124, 255, .45); }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 99px; }
.skip:focus { left: 12px; }
#app:focus { outline: none; }
.noscript { text-align: center; padding: 40px; color: var(--muted); }

.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.center { display: flex; justify-content: center; margin: 22px 0 0; }
.span-all { grid-column: 1 / -1; }
.space-top { margin-top: 44px; }
.ok { color: var(--ok); font-size: 13px; margin: 0; }
.help { font-size: 12.5px; line-height: 1.65; color: var(--dim); margin: 0; }
.help strong { color: var(--muted); }

.eyebrow {
  font: 500 11px/1.4 var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 10px;
}
.tag {
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
  padding: 3px 8px;
  border: 1px dashed var(--line-2);
  border-radius: 99px;
  font: 500 9.5px/1.3 var(--font-mono);
  letter-spacing: .12em;
  color: var(--dim);
  white-space: nowrap;
}
.lead { font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 700px; }
.spectral {
  background: var(--spectrum);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: spectral 9s linear infinite alternate;
}
@keyframes spectral { to { background-position: 100% 50%; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  color: var(--ink);
  font: 600 14px/1.2 var(--font-body);
  white-space: nowrap;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .25s ease;
}
.btn:hover:not(:disabled) { background: var(--surface-3); border-color: #5A5568; transform: translateY(-1px); }
.btn:active:not(:disabled) { transform: translateY(0); }
.btn:disabled { opacity: .45; }
.btn--primary { background: var(--ink); border-color: var(--ink); color: #0B0A0F; }
.btn--primary:hover:not(:disabled) {
  background: #fff; border-color: #fff;
  box-shadow: -8px 2px 24px -8px rgba(255, 107, 107, .6), 8px 2px 24px -8px rgba(91, 157, 255, .65);
}
.btn--sm { min-height: 36px; padding: 8px 14px; font-size: 13px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.btn-row.center { justify-content: center; }
.text-link {
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 4px;
  transition: text-decoration-color .15s;
}
.text-link:hover { text-decoration-color: var(--ink); }
.text-link:disabled { opacity: .4; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  transition: background .15s, border-color .15s;
}
.icon-btn:hover { background: var(--surface-2); border-color: #5A5568; }
.icon-btn--label { display: inline-flex; gap: 8px; width: auto; padding: 0 14px; font-size: 13px; color: var(--muted); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line-2);
  border-radius: 99px;
  background: var(--surface);
  font: 500 10.5px/1.2 var(--font-mono);
  letter-spacing: .08em;
  color: var(--muted);
  white-space: nowrap;
}
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.chip--lg { padding: 11px 15px; }
.chip--ca { cursor: pointer; }
.chip--ca:hover { color: var(--ink); border-color: #5A5568; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid var(--line-2);
  border-radius: 99px;
  font: 500 10px/1.2 var(--font-mono);
  letter-spacing: .1em;
  color: var(--muted);
  white-space: nowrap;
}
.badge--launched { color: var(--ok); border-color: rgba(95, 224, 166, .4); }
.badge--pending { color: var(--warn); border-color: rgba(255, 209, 102, .4); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
/* single-column grids must not grow past their container when content is long */
.builder, .route__body, .action-panel, .fb-form, .mixer, .how-item, .field, .preview__body, .reply, .msgs, .review-routes { grid-template-columns: minmax(0, 1fr); }

/* ---------- forms ---------- */
input, select, textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--bg-2);
  color: var(--ink);
  font-size: 14px;
  transition: border-color .15s, box-shadow .15s;
}
input::placeholder, textarea::placeholder { color: #6B6680; }
input:focus, select:focus, textarea:focus { outline: none; border-color: #8E7CFF; box-shadow: 0 0 0 3px rgba(142, 124, 255, .22); }
textarea { resize: vertical; line-height: 1.55; }
select {
  appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23A7A2B4' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
select option { background: var(--surface); }
input[type="number"] { -moz-appearance: textfield; }
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type="checkbox"] { width: 17px; height: 17px; padding: 0; accent-color: #8E7CFF; }

.field { display: grid; gap: 7px; }
.field > span { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.field small { font: 500 9px/1.2 var(--font-mono); letter-spacing: .1em; color: var(--dim); border: 1px solid var(--line); border-radius: 99px; padding: 2px 6px; }
.prefix { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg-2); transition: border-color .15s, box-shadow .15s; }
.prefix > span { padding-left: 14px; color: var(--dim); font-family: var(--font-mono); }
.prefix input { border: 0; background: transparent; padding-left: 6px; }
.prefix input:focus { box-shadow: none; }
.prefix:focus-within { border-color: #8E7CFF; box-shadow: 0 0 0 3px rgba(142, 124, 255, .22); }
.lookup { display: flex; gap: 8px; align-items: stretch; }
.lookup > input, .lookup > .prefix { flex: 1; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); cursor: pointer; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-error { padding: 12px 14px; border: 1px solid rgba(255, 107, 107, .4); border-radius: 12px; background: rgba(255, 107, 107, .08); color: #FFB3B3; font-size: 13.5px; }
.form-error[hidden] { display: none; }
.info { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); color: var(--muted); font-size: 13px; line-height: 1.6; }
.info code { color: var(--ink); }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 10, 15, .78);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.header.scrolled, .header.menu-open { border-bottom-color: var(--line); background: rgba(11, 10, 15, .92); }
.nav-wrap { max-width: 1440px; margin: 0 auto; display: flex; align-items: center; gap: 18px; padding: 14px 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; flex: none; }
.brand__word { font: 800 23px/1 var(--font-display); letter-spacing: -0.045em; }
.brand .mark { transition: transform .4s cubic-bezier(.2, .9, .3, 1.3); }
.brand:hover .mark { transform: rotate(-8deg) scale(1.06); }
.header nav { display: flex; align-items: center; gap: 22px; flex: 1; margin-left: 8px; }
.header nav a { position: relative; font-size: 13.5px; color: var(--muted); white-space: nowrap; transition: color .15s; }
.header nav a:hover, .header nav a.active { color: var(--ink); }
.header nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; border-radius: 2px; background: var(--spectrum); }
.nav-mobile-only { display: none; }
.nav-actions { display: flex; align-items: center; gap: 9px; margin-left: auto; }
.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 12px; place-items: center; align-content: center; gap: 5px; }
.burger span { display: block; width: 16px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .25s; }
.menu-open .burger span:first-child { transform: translateY(3.3px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-3.3px) rotate(-45deg); }
#walletBtn { min-width: 128px; }

/* ---------- hero ---------- */
.hero { padding-top: 26px; }
.hero__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  grid-template-areas: "copy art" "summary art";
  align-items: center;
  column-gap: 32px;
  row-gap: 26px;
  padding: 58px 52px 44px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(520px 340px at 78% 45%, rgba(142, 124, 255, .12), transparent 70%),
    radial-gradient(380px 260px at 10% 110%, rgba(79, 209, 232, .07), transparent 70%),
    linear-gradient(180deg, #14121A, #0F0E14);
  overflow: hidden;
}
.hero__panel::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--spectrum); opacity: .6; }
.hero__copy { grid-area: copy; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 99px;
  background: rgba(255, 255, 255, .03);
  font: 500 10.5px/1.2 var(--font-mono);
  letter-spacing: .12em;
  color: var(--muted);
}
.pill i { width: 10px; height: 10px; border-radius: 50%; background: conic-gradient(#FF6B6B, #FFD166, #5FE0A6, #4FD1E8, #8E7CFF, #D17BFF, #FF6B6B); animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero h1 { font-size: clamp(46px, 6.4vw, 86px); line-height: 1; letter-spacing: -0.05em; margin: 24px 0 22px; }
.hero__lead { font-size: 17px; line-height: 1.7; color: var(--muted); max-width: 520px; }
.hero .btn-row { margin-top: 26px; }
.fine { font: 500 11.5px/1.5 var(--font-mono); color: var(--dim); margin: 18px 0 0; letter-spacing: .02em; }
.hero__art { grid-area: art; position: relative; }
.art { width: 100%; height: auto; max-width: 600px; margin: 0 auto; overflow: visible; }
.art-cap { margin: 4px 0 0; text-align: center; font: 500 10.5px/1.4 var(--font-mono); letter-spacing: .16em; color: var(--dim); transition: color .2s; min-height: 15px; }
.hero__summary {
  grid-area: summary;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 380px;
  padding: 16px 18px;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: rgba(22, 20, 28, .75);
  transition: border-color .2s, transform .2s;
}
.hero__summary:hover { border-color: #5A5568; transform: translateY(-2px); }
.hero__summary strong { display: block; font-size: 15px; }
.hero__summary span { display: block; font-size: 13px; color: var(--muted); }
.hero__summary b { margin-left: auto; font-size: 18px; color: var(--muted); }

/* hero art */
.ray, .ray-glow { fill: none; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1s cubic-bezier(.3, .7, .3, 1) forwards; animation-delay: calc(.7s + var(--i) * .07s); transition: opacity .25s, stroke-width .25s; }
.ray { stroke-width: 2.2; }
.ray-glow { stroke-width: 7; opacity: .5; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.has-focus .ray:not(.is-on), .has-focus .ray-glow:not(.is-on) { opacity: .14; }
.ray.is-on { stroke-width: 3.4; }
.ray-glow.is-on { opacity: .9; }
.beam { fill: none; stroke-width: 3.4; stroke-linecap: round; }
.beam-flow { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 3 22; animation: flow 1.1s linear infinite; opacity: .85; }
@keyframes flow { from { stroke-dashoffset: 25; } to { stroke-dashoffset: 0; } }
.fan { animation: shimmer 3.6s ease-in-out infinite; }
@keyframes shimmer { 50% { opacity: .55; } }
.prism { stroke: var(--ink); stroke-width: 1.8; stroke-linejoin: round; }
.prism-edge { stroke: rgba(255, 255, 255, .35); stroke-width: 1.4; stroke-linecap: round; fill: none; }
.node { color: var(--c); cursor: pointer; outline: none; transform-box: fill-box; transform-origin: center; animation: pop .55s cubic-bezier(.2, .9, .3, 1.4) both; animation-delay: calc(1.15s + var(--i) * .07s); }
.node circle { fill: var(--surface-2); stroke: var(--c); stroke-width: 1.5; transition: fill .2s, stroke-width .2s; }
.node:hover circle, .node:focus-visible circle, .node.is-on circle { fill: color-mix(in srgb, var(--c) 24%, #16141C); stroke-width: 2.6; }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }

/* ---------- home ---------- */
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 440px;
  margin: 34px 0 6px;
  padding: 0 12px 0 15px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--surface);
  color: var(--dim);
  transition: border-color .15s, box-shadow .15s;
}
.search:focus-within { border-color: #8E7CFF; box-shadow: 0 0 0 3px rgba(142, 124, 255, .2); }
.search input { border: 0; background: transparent; padding: 13px 0; box-shadow: none !important; }
.search kbd { font: 500 11px/1 var(--font-mono); border: 1px solid var(--line-2); border-radius: 6px; padding: 4px 7px; white-space: nowrap; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 46px 0 18px; }
.section-head h2 { margin: 0; }
.section-head .eyebrow { margin: 0; }

.dest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dest {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 218px;
  padding: 22px;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .3s ease;
}
.dest::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
a.dest:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 45%, var(--line)); box-shadow: 0 24px 50px -34px var(--c); }
a.dest:hover::before { transform: scaleX(1); }
.dest__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.dest__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: color-mix(in srgb, var(--c) 13%, transparent); color: var(--c); }
.dest__n { font: 500 11px/1 var(--font-mono); color: var(--dim); border: 1px solid var(--line); border-radius: 99px; padding: 5px 9px; }
.dest h3 { margin: 4px 0 0; }
.dest p { flex: 1; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.dest__foot { display: flex; align-items: center; gap: 9px; font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); padding-top: 8px; }
.dest__foot i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.dest__foot b { margin-left: auto; font-size: 15px; color: var(--muted); transition: transform .2s; }
a.dest:hover .dest__foot b { transform: translate(2px, -2px); color: var(--c); }
.dest--static { min-height: 0; }
.dest__pct { font: 800 24px/1 var(--font-display); color: var(--c); letter-spacing: -0.03em; }

.mixer { margin-top: 22px; padding: 28px; display: grid; gap: 20px; background: linear-gradient(180deg, #17151E, var(--surface)); }
.mixer__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.mixer__meta { display: flex; align-items: center; gap: 22px; }
.mixer__big { display: grid; flex: none; }
.mixer__big span { font: 800 50px/1 var(--font-display); letter-spacing: -0.05em; background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mixer__big small { font: 500 10px/1.3 var(--font-mono); letter-spacing: .14em; color: var(--dim); margin-top: 4px; }
.mixer__meta h3 { margin: 0 0 4px; }
.mixer__meta p { margin: 0; color: var(--muted); font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 99px; font-size: 13px; font-weight: 600; color: var(--muted); transition: all .15s; }
.chip-btn:hover { color: var(--ink); border-color: #5A5568; }
.chip-btn[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.mixer__foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }

.cells { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 3px; width: 100%; }
.cells span { aspect-ratio: 1; border-radius: 3px; background: var(--surface-3); transition: background-color .4s ease; transition-delay: calc(var(--d) * 5ms); }
.cells--lg { grid-template-columns: repeat(50, minmax(0, 1fr)); gap: 4px; }

.legend { display: grid; gap: 7px; width: 100%; }
.legend > div { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 10px; font-size: 13px; text-align: left; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }
.legend b { font: 500 12px/1 var(--font-mono); color: var(--muted); }
.legend--row { display: flex; flex-wrap: wrap; gap: 8px 20px; width: auto; }
.legend--row > div { display: inline-flex; }

.token-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.token { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 20px; transition: transform .2s, border-color .2s; }
.token:hover { transform: translateY(-3px); border-color: #4A4658; }
.token__head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.token__head h3 { margin: 0; font-size: 17px; }
.token__head span:not(.badge):not(.avatar) { font: 500 12px/1.3 var(--font-mono); color: var(--dim); }
.token p { flex: 1; margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.alloc { display: flex; gap: 2px; height: 8px; border-radius: 99px; overflow: hidden; background: var(--surface-3); }
.alloc span { height: 100%; }
.token__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.token__foot b { color: var(--ink); margin-right: 9px; font-weight: 600; }
.token__go { color: var(--ink); font-weight: 600; white-space: nowrap; }
.sample-flag { position: absolute; top: -9px; right: 18px; padding: 2px 8px; border: 1px solid var(--line-2); border-radius: 99px; background: var(--bg); font: 500 9px/1.4 var(--font-mono); letter-spacing: .12em; color: var(--dim); }
.avatar { display: grid; place-items: center; flex: none; width: var(--s); height: var(--s); border-radius: 30%; background: linear-gradient(135deg, var(--a), var(--b)); color: #0B0A0F; font: 800 calc(var(--s) * .36)/1 var(--font-display); letter-spacing: -0.02em; }

.gh-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  margin-top: 56px;
  padding: 32px;
  background: linear-gradient(110deg, rgba(255, 107, 107, .10), rgba(255, 159, 90, .04) 40%, var(--surface) 75%);
}
.gh-banner__icon { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 24px; background: rgba(255, 107, 107, .12); color: #FF6B6B; }
.gh-banner h2 { margin-bottom: 8px; }
.gh-banner p:last-child { margin: 0; color: var(--muted); max-width: 560px; }

.empty { display: grid; justify-items: center; gap: 10px; padding: 40px 24px; text-align: center; color: var(--muted); }
.empty h3 { margin: 0; color: var(--ink); }
.empty p { margin: 0; }
.empty.compact { padding: 22px; border: 1px dashed var(--line-2); border-radius: 14px; background: transparent; }
.empty.card.compact { background: transparent; }

/* ---------- pages ---------- */
.page { padding-top: 48px; padding-bottom: 90px; }
.page > .eyebrow:first-child { margin-bottom: 14px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.page-head h1 { margin-bottom: 10px; }
.tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 26px 0 20px; }
.tools input { flex: 1; min-width: 220px; }
.tools select { width: 240px; }
.tools > span { font: 500 12px/1 var(--font-mono); color: var(--dim); }
.empty-page { text-align: center; padding-top: 120px; }
.empty-page h1 { margin-bottom: 24px; }

/* launch */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 26px 0 14px; }
.steps button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  transition: border-color .15s, color .15s, background .15s;
}
.steps button:hover { color: var(--ink); border-color: var(--line-2); }
.steps button span { font: 500 11px/1 var(--font-mono); color: var(--dim); }
.steps button b { margin-left: auto; font-weight: 400; color: var(--dim); }
.steps button.is-current { color: var(--ink); background: var(--surface-2); border-color: var(--line-2); background-image: var(--spectrum); background-size: 100% 2px; background-position: bottom; background-repeat: no-repeat; }
.saved { display: flex; align-items: flex-end; gap: 12px; padding: 14px 16px; margin-bottom: 14px; }
.saved label { flex: 1; display: grid; gap: 4px; }
.saved .eyebrow { margin: 0; }

.terms { padding: 24px 26px; margin-bottom: 18px; }
.terms__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.terms__head h2 { margin: 0; font-size: 24px; }
.terms > .muted { margin: 8px 0 18px; font-size: 14px; }
.terms__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.terms__grid div { display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }
.terms__grid strong { font: 800 26px/1.1 var(--font-display); letter-spacing: -0.03em; }
.terms__grid span { font-size: 12.5px; color: var(--dim); }
.terms .fine { margin-top: 14px; }

.launch-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.builder { padding: 28px; display: grid; gap: 16px; }
.builder > p { margin: 0; }
.panel-title { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.panel-title h2 { margin: 0; font-size: 27px; }
.details { display: grid; grid-template-columns: 172px minmax(0, 1fr); gap: 18px; }
.details__fields { display: grid; gap: 14px; align-content: start; }
.upload {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  aspect-ratio: 1;
  border: 1.5px dashed var(--line-2);
  border-radius: 18px;
  background: var(--bg-2);
  color: var(--muted);
  cursor: pointer;
  overflow: hidden;
  transition: border-color .15s, color .15s;
}
.upload:hover, .upload:focus-within { border-color: var(--ink); color: var(--ink); }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.upload strong { font: 600 11px/1 var(--font-mono); letter-spacing: .12em; }
.upload small { font: 500 9.5px/1 var(--font-mono); color: var(--dim); letter-spacing: .06em; }

.picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.picker button { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); font-size: 13px; font-weight: 600; text-align: left; transition: border-color .15s, background .15s; }
.picker button svg { color: var(--c); }
.picker button b { margin-left: auto; color: var(--dim); font-weight: 400; font-size: 16px; }
.picker button:hover { border-color: var(--c); background: color-mix(in srgb, var(--c) 7%, var(--bg-2)); }
.alloc-head { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.alloc-head .eyebrow { margin: 0; }

.route { border: 1px solid var(--line); border-left: 3px solid var(--c); border-radius: 14px; background: var(--bg-2); }
.route.is-open { border-color: var(--line-2); border-left-color: var(--c); }
.route__head { display: flex; align-items: center; gap: 8px; padding: 7px 8px 7px 6px; }
.route__name { flex: 1; display: flex; align-items: center; gap: 10px; padding: 8px; font-size: 14px; font-weight: 600; text-align: left; min-width: 0; }
.route__name svg { color: var(--c); }
.route__name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.route__name b { margin-left: auto; color: var(--dim); font-weight: 400; font-size: 18px; }
.pct { display: flex; align-items: center; flex: none; width: 104px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); }
.pct input { border: 0; background: transparent; padding: 9px 4px 9px 10px; text-align: right; font-family: var(--font-mono); font-size: 13.5px; }
.pct input:focus { box-shadow: none; }
.pct:focus-within { border-color: #8E7CFF; }
.pct span { padding-right: 10px; color: var(--dim); font-family: var(--font-mono); }
.x-btn { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 10px; color: var(--dim); font-size: 18px; transition: color .15s, border-color .15s; }
.x-btn:hover { color: var(--bad); border-color: rgba(255, 107, 107, .4); }
.route__body { display: grid; gap: 12px; padding: 14px 16px 18px; border-top: 1px solid var(--line); }
.route__body p { margin: 0; }
.stock-row { display: grid; grid-template-columns: minmax(0, 1fr) 104px 34px; gap: 8px; align-items: center; }
.row-tools { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.row-tools span { margin-left: auto; font: 500 12px/1 var(--font-mono); color: var(--dim); }
.total { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; color: var(--muted); }
.total strong { font: 600 16px/1 var(--font-mono); color: var(--ink); }
.total small { color: var(--dim); font-size: 12px; }
.total.is-complete { border-color: rgba(95, 224, 166, .45); }
.total.is-complete strong { color: var(--ok); }
.total.is-incomplete strong { color: var(--warn); }

.review-token { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-2); }
.review-token img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; }
.review-token__mark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--surface-2); }
.review-token h2 { margin: 0; font-size: 22px; }
.review-token span:not(.badge):not(.review-token__mark) { font: 500 12.5px/1.3 var(--font-mono); color: var(--dim); }
.review-token .badge { margin-left: auto; }
.post-link { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--muted); }
.post-link:hover { color: var(--ink); }
.fee-split { padding: 20px 22px; }
.fee-split .eyebrow { margin-bottom: 12px; }
.fee-split__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.fee-split__row span { display: grid; gap: 4px; align-content: start; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); font-size: 13px; color: var(--muted); line-height: 1.5; }
.fee-split__row strong { font: 800 24px/1.1 var(--font-display); letter-spacing: -0.03em; color: var(--ink); }
.fee-split > p { margin: 0; font-size: 13.5px; color: var(--muted); }
.review-routes { display: grid; gap: 8px; }
.review-routes > div { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--bg-2); border-left: 3px solid var(--c); }
.review-routes svg { color: var(--c); }
.review-routes span { display: grid; font-size: 14px; font-weight: 600; }
.review-routes small { font-size: 12px; font-weight: 400; color: var(--dim); overflow-wrap: anywhere; }
.review-routes strong { font: 600 14px/1 var(--font-mono); }
.readiness { padding: 16px 18px; border: 1px dashed rgba(255, 209, 102, .45); border-radius: 14px; background: rgba(255, 209, 102, .05); color: var(--muted); font-size: 14px; }
.readiness strong { color: var(--ink); }
.readiness ul { margin: 8px 0; padding-left: 18px; }
.readiness p { margin: 0; }
.readiness h2 { color: var(--ink); }
.readiness p + p { margin-top: 10px; }
.review-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }

.preview { position: sticky; top: 92px; overflow: hidden; }
.win-bar { display: flex; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); font: 500 10.5px/1.2 var(--font-mono); letter-spacing: .12em; color: var(--dim); }
.win-bar span:last-child { letter-spacing: .02em; }
.preview__body { display: grid; justify-items: center; gap: 12px; padding: 22px 20px; text-align: center; }
.preview__body h3 { margin: 4px 0 0; font-size: 21px; overflow-wrap: anywhere; }
.preview__body > .muted { font: 500 12.5px/1 var(--font-mono); margin-top: -6px; }
.preview__img { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 24px; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; }
.preview__img img { width: 100%; height: 100%; object-fit: cover; }
.preview .cells { margin-top: 6px; }
.meter-cap { display: flex; justify-content: space-between; width: 100%; }
.meter-cap span { font: 500 10px/1.3 var(--font-mono); letter-spacing: .12em; color: var(--dim); }
.meter-cap strong { font: 600 13px/1.2 var(--font-mono); }
.flow { width: 100%; padding: 14px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }
.flow .eyebrow { margin: 0; }
.flow p { margin: 8px 0 0; font: 400 12px/1.75 var(--font-mono); color: var(--dim); }
.win-status { display: flex; align-items: center; gap: 8px; padding: 11px 16px; border-top: 1px solid var(--line); font: 500 10.5px/1.2 var(--font-mono); letter-spacing: .12em; color: var(--dim); }
.win-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }

/* wallets */
.connect { display: grid; justify-items: center; gap: 14px; max-width: 780px; margin: 30px auto 0; padding: 44px 32px; text-align: center; }
.connect h2 { margin: 6px 0 0; }
.connect > p { margin: 0; max-width: 560px; color: var(--muted); }
.connect__art { display: flex; align-items: center; gap: 22px; color: var(--ink); margin-bottom: 6px; }
.connect__beam { position: relative; width: 120px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--a), var(--b)); overflow: hidden; }
.connect__beam::after { content: ""; position: absolute; top: 0; bottom: 0; width: 30%; background: linear-gradient(90deg, transparent, #fff, transparent); animation: travel 1.8s ease-in-out infinite; }
@keyframes travel { from { left: -30%; } to { left: 100%; } }
.inline-form { display: flex; gap: 10px; width: min(560px, 100%); margin-top: 6px; }
.inline-form > input, .inline-form > .prefix { flex: 1; }
.features { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 6px 0; }
.features span { padding: 7px 12px; border: 1px solid var(--line); border-radius: 99px; font: 500 11px/1.2 var(--font-mono); color: var(--dim); }
.bio-code { width: 100%; padding: 22px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--bg-2); }
.bio-code h3 { margin: 0; }
.bio-code code { display: block; margin: 14px 0; padding: 16px; border: 1px dashed #8E7CFF; border-radius: 12px; background: var(--surface); font-size: 22px; letter-spacing: .06em; color: var(--ink); user-select: all; }
.bio-code p { color: var(--muted); font-size: 14px; }
.wallet-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 28px 0 16px; padding: 18px 22px; }
.wallet-head__av { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; object-fit: cover; background: var(--surface-2); color: #8E7CFF; }
.wallet-head h2 { margin: 0 0 2px; font-size: 24px; }
.wallet-head .btn-row { margin-left: auto; }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 18px 0; }
.stat { display: grid; align-content: start; gap: 8px; padding: 18px 20px; }
.stat > span { font: 500 10.5px/1.3 var(--font-mono); letter-spacing: .12em; color: var(--dim); }
.stat h2 { margin: 0; font-size: 30px; }
.stat small { font-size: 13px; color: var(--dim); font-family: var(--font-mono); letter-spacing: 0; }
.stat code { color: var(--muted); }
.action-panel { display: grid; gap: 14px; margin-top: 16px; padding: 24px; }
.action-panel h2 { margin: 0; font-size: 24px; }
.action-panel > p { margin: 0; color: var(--muted); }
.action-panel .help:empty { display: none; }

/* charities */
.charity { min-height: 170px; }
.charity .cause { display: inline-flex; align-items: center; gap: 7px; font: 500 10.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.charity .cause i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.charity h3 { flex: 1; margin: 0; }
.charity .btn { align-self: flex-start; }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 26px; }
.pager span { font: 500 12px/1 var(--font-mono); color: var(--dim); }

/* how it works */
.how h1 { font-size: clamp(42px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -0.05em; }
.how-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 34px 0 18px; }
.how-steps > div { padding: 22px; border-top: 2px solid var(--c); }
.how-steps span { font: 500 12px/1 var(--font-mono); color: var(--c); }
.how-steps h2 { font-size: 20px; margin: 12px 0 8px; }
.how-steps p { margin: 0; color: var(--muted); font-size: 14px; }
.explainer { padding: 28px; margin: 16px 0; }
.explainer h2 { font-size: 26px; }
.explainer p { color: var(--muted); max-width: 860px; }
.explainer .btn { margin-top: 6px; }
.how-list { display: grid; gap: 16px; }
.how-item { position: relative; display: grid; gap: 16px; padding: 28px; overflow: hidden; }
.how-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c); }
.how-item__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; }
.how-item__head h2 { margin: 0; }
.how-item__head .eyebrow { margin: 0 0 6px; }
.how-item__icon { display: grid; place-items: center; width: 66px; height: 66px; border-radius: 19px; background: color-mix(in srgb, var(--c) 13%, transparent); color: var(--c); }
.how-item .lead { margin: 0; font-size: 16px; }
.how-item__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.how-item__cols section { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); }
.how-item__cols h3 { font-size: 16px; margin-bottom: 6px; }
.how-item__cols p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.how-item .text-link { justify-self: start; }
.how .readiness { margin: 16px 0 28px; padding: 24px 26px; }

/* token page */
.token-hero { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 22px 0 16px; }
.token-hero h1 { margin: 0; }
.token-hero .eyebrow { margin-bottom: 6px; }
.token-hero .badge { margin-left: auto; }
.feature-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 18px; padding: 0; }
.feature-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); border-radius: 99px; background: color-mix(in srgb, var(--c) 9%, transparent); font-size: 13px; }
.feature-chips svg { color: var(--c); }
.feature-chips b { font: 500 12px/1 var(--font-mono); color: var(--muted); }
.token-hero + .feature-chips + .lead { margin-bottom: 20px; }
.page .info { margin: 18px 0; }
.ledger { margin-top: 40px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; font: 500 10.5px/1.2 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
td { padding: 14px 18px; border-bottom: 1px solid var(--line); color: var(--muted); }
td:first-child { color: var(--ink); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 10px; vertical-align: 1px; }
.state { display: inline-block; padding: 3px 9px; border-radius: 99px; font: 500 10.5px/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.state--finalized { color: var(--ok); background: rgba(95, 224, 166, .1); }
.state--queued { color: var(--warn); background: rgba(255, 209, 102, .1); }
.state--waiting { color: var(--muted); background: rgba(167, 162, 180, .1); }

/* feedback */
.fb-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 28px; align-items: start; }
.fb-form { display: grid; gap: 14px; padding: 24px; }
.fb-form h2, .fb-list h2 { margin: 0; font-size: 24px; }
.fb-list { padding: 24px; }
.fb-list__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.fb-list__head .eyebrow { margin: 0; }
.ticket { display: grid; gap: 5px; justify-items: start; width: 100%; margin-bottom: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); text-align: left; transition: border-color .15s; }
.ticket:hover { border-color: var(--line-2); }
.ticket.is-on { border-color: #8E7CFF; }
.ticket strong { font-size: 14.5px; }
.ticket small { font-size: 12px; color: var(--dim); }
.thread { margin-top: 16px; padding: 24px; }
.thread__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.thread__head h2 { margin: 0; font-size: 24px; }
.msgs { display: grid; gap: 10px; margin: 16px 0; }
.msg { padding: 14px 16px; border-radius: 12px; background: var(--bg-2); border-left: 3px solid #8E7CFF; }
.msg small { font: 500 11px/1 var(--font-mono); color: var(--dim); }
.msg p { margin: 6px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.reply { display: grid; gap: 10px; justify-items: end; }

/* ---------- footer + toast ---------- */
.foot { margin-top: 30px; border-top: 1px solid var(--line); }
.foot__inner { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 30px 24px; }
.foot__tag { font: 500 11px/1.3 var(--font-mono); letter-spacing: .16em; color: var(--dim); }
.foot__link { margin-left: auto; font-size: 14px; color: var(--muted); }
.foot__link:hover { color: var(--ink); }
.foot__spectrum { height: 3px; background: var(--spectrum); }
.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(560px, calc(100% - 32px));
  padding: 12px 12px 12px 18px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--surface-3);
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .8);
  font-size: 14px;
  transform: translateX(-50%);
  animation: toast-in .3s cubic-bezier(.2, .9, .3, 1.2);
}
.toast[hidden] { display: none; }
.toast button { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 8px; color: var(--muted); font-size: 18px; }
.toast button:hover { background: var(--surface-2); color: var(--ink); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 10px); } }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .burger { display: grid; order: 5; }
  .header nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 16px 18px;
    background: var(--bg);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
    border-bottom: 1px solid var(--line);
  }
  .menu-open nav { display: flex; }
  .header nav a { padding: 14px 8px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .header nav a.active::after { left: 8px; right: auto; width: 24px; bottom: 8px; }
  .nav-mobile-only { display: block; }
}
@media (max-width: 1024px) {
  .hero__panel { grid-template-columns: 1fr; grid-template-areas: "copy" "art" "summary"; padding: 44px 30px 30px; }
  .art { max-width: 540px; }
  .hero__summary { max-width: none; }
  .dest-grid, .token-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .launch-grid { grid-template-columns: minmax(0, 1fr); }
  .preview { position: static; }
  .how-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cells--lg { grid-template-columns: repeat(25, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .how-item__cols { grid-template-columns: 1fr; }
  .terms__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-row { grid-template-columns: 1fr; }
  .fb-grid { grid-template-columns: 1fr; }
  .fee-split__row { grid-template-columns: 1fr; }
  .picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gh-banner { grid-template-columns: 1fr; justify-items: start; gap: 18px; padding: 26px; }
}
@media (max-width: 760px) {
  #caSlot { display: none; }
  .nav-wrap { gap: 10px; padding: 12px 16px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero { padding-top: 14px; }
  .hero__panel { padding: 34px 20px 22px; border-radius: 24px; }
  .details { grid-template-columns: 1fr; }
  .upload { width: 160px; }
  .builder { padding: 20px 16px; }
  .terms { padding: 20px 18px; }
  .mixer { padding: 22px 18px; }
  .mixer__meta { align-items: flex-start; }
  .connect { padding: 34px 18px; }
  .inline-form { flex-direction: column; }
  .how-item, .explainer { padding: 22px 18px; }
  .how-item__head { grid-template-columns: auto minmax(0, 1fr); }
  .how-item__head .badge { grid-column: 1 / -1; justify-self: start; }
  .wallet-head .btn-row { margin-left: 0; }
}
@media (max-width: 560px) {
  .nav-actions .icon-btn, .nav-actions a.btn { display: none; }
  #walletBtn { min-width: 0; }
  .brand__word { font-size: 21px; }
  .hero h1 { font-size: 46px; }
  .hero__lead { font-size: 16px; }
  .hero .btn-row .btn { flex: 1; }
  .dest-grid, .token-grid, .how-steps { grid-template-columns: 1fr; }
  .dest { min-height: 0; }
  .two { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 6px; }
  .steps button { padding: 12px 14px; }
  .picker { grid-template-columns: 1fr; }
  .terms__grid strong { font-size: 21px; }
  .route__name { padding: 8px 4px; gap: 8px; font-size: 13.5px; }
  .pct { width: 88px; }
  .stock-row { grid-template-columns: minmax(0, 1fr) 88px 34px; }
  .review-token { flex-wrap: wrap; }
  .review-token .badge { margin-left: 0; }
  .tools select { width: 100%; }
  .connect__art svg { width: 56px; height: 56px; }
  .connect__beam { width: 70px; }
  .bio-code code { font-size: 17px; }
  .foot__link { margin-left: 0; }
  .mixer__big span { font-size: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .ray, .ray-glow { stroke-dashoffset: 0; }
  .beam-flow { display: none; }
}
