[hidden] { display: none !important; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 22px 0;
  pointer-events: none;
}
.nav > * { pointer-events: auto; position: relative; }
.nav::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 110px;
  background: linear-gradient(var(--bg) 45%, transparent);
  opacity: 0; transition: opacity .5s; pointer-events: none;
}
body.past-hero .nav::before { opacity: 1; }
.nav-l, .nav-r { display: flex; align-items: center; gap: 10px; }
.brand {
  display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--fg);
  font-weight: 800; font-size: 14px; letter-spacing: 1.5px;
  opacity: 0; animation: fadeIn .6s .4s forwards;
}
.brand-mark { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.brand-mark i { width: 3px; background: var(--orange); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.brand-mark i:nth-child(1) { height: 60%; animation-delay: -.2s; }
.brand-mark i:nth-child(2) { height: 100%; animation-delay: -.5s; }
.brand-mark i:nth-child(3) { height: 40%; animation-delay: -.8s; }
@keyframes eq { 50% { transform: scaleY(.35); } }
.brand-mark i { transform-origin: bottom; }

.links {
  position: relative; display: flex; gap: 2px; padding: 4px;
  background: color-mix(in srgb, var(--corner) 80%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 999px;
  opacity: 0; transform: translateY(-10px);
  transition: opacity .5s, transform .5s;
}
body.ready .links { opacity: 1; transform: none; transition-delay: .5s; }
.links a {
  position: relative; z-index: 1; padding: 7px 13px; border-radius: 999px;
  color: var(--fg2); text-decoration: none; font-size: 12.5px; font-weight: 500;
  transition: color .3s;
}
.links a:hover, .links a.on { color: var(--fg); }
.lk-ind {
  position: absolute; top: 4px; height: calc(100% - 8px); left: 0; width: 0;
  background: var(--line); border-radius: 999px;
  transition: transform .5s cubic-bezier(.3, 1.3, .4, 1), width .5s cubic-bezier(.3, 1.3, .4, 1), opacity .3s;
  opacity: 0;
}
.connect {
  display: flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 16px; border-radius: 999px;
  background: var(--fg); color: var(--bg);
  font-weight: 700; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase;
  opacity: 0; animation: fadeIn .6s .5s forwards;
  transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), background .6s, color .6s;
}
.connect:hover { transform: scale(1.05); }
.connect i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.connect.on i { background: #17c25b; box-shadow: 0 0 0 3px rgba(23, 194, 91, .25); }
.menu-btn { display: none; }
#focus { transition: transform .5s cubic-bezier(.3, 1.6, .5, 1), opacity .4s, background .6s; }
body.past-hero #focus { opacity: 0; pointer-events: none; transform: scale(.5); }

.menu {
  position: fixed; inset: 70px 14px auto; z-index: 19;
  display: grid; gap: 2px; padding: 8px;
  background: var(--corner); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .4);
  animation: pop .45s cubic-bezier(.2, 1.35, .4, 1);
}
.menu a { color: var(--fg); text-decoration: none; padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.menu a:active { background: var(--line); }

/* ---------- hero extras ---------- */
.hero-cap {
  position: absolute; left: 32px; bottom: 44px; max-width: 360px; z-index: 2;
  opacity: 0; transform: translateY(16px);
  transition: opacity 1s 1.6s, transform 1s 1.6s;
}
body.ready .hero-cap { opacity: 1; transform: none; }
.hero-cap h1 { font-size: 26px; line-height: 1.12; letter-spacing: -.8px; font-weight: 800; color: var(--fg); margin-top: 10px; }
.hero-cap em { font-style: normal; color: var(--accent-ink); }
.kicker { font-size: 10px; letter-spacing: 2px; color: var(--accent-ink); }
.scroll-cue {
  position: absolute; right: 34px; bottom: 40px; width: 24px; height: 38px;
  border: 1.5px solid var(--mono); border-radius: 14px; z-index: 2;
  opacity: 0; transition: opacity 1s 2s;
}
body.ready .scroll-cue { opacity: 1; }
.scroll-cue i { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--orange); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(13px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 1100px), (max-height: 600px) { .hero-cap { display: none; } }

/* ---------- sections ---------- */
.sec { position: relative; max-width: 1180px; margin: 0 auto; padding: 150px 32px 40px; }
.sec-head { max-width: 760px; margin-bottom: 64px; }
.sec h2 { font-size: clamp(36px, 5.2vw, 68px); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; margin-top: 16px; }
.lede { font-size: 17px; line-height: 1.6; color: var(--fg2); margin-top: 22px; max-width: 620px; }

.rv { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--rd, 0s); }
.rv.in { opacity: 1; transform: none; }

/* about */
.about { padding-top: 170px; }
.manifesto { font-size: clamp(30px, 4.4vw, 58px) !important; line-height: 1.12 !important; letter-spacing: -.035em; max-width: 1080px; }
.manifesto .wd { opacity: .14; transition: opacity .35s, color .35s; }
.manifesto .wd.lit { opacity: 1; }
.manifesto .wd.hot { color: var(--accent-ink); }
.about-foot { display: flex; gap: 48px; margin-top: 64px; max-width: 900px; margin-left: auto; }
.about-foot p { flex: 1; font-size: 16px; line-height: 1.65; color: var(--fg2); }
.about-foot b { color: var(--fg); }

/* signal chain */
.chain-wrap { position: relative; }
.cable { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 120px; overflow: visible; }
.cable path { fill: none; stroke-width: 3; stroke-linecap: round; }
.cable-bg { stroke: var(--line); }
.cable-fg { stroke: var(--orange); stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(255, 106, 26, .8)); }
.nodes { position: relative; display: flex; }
.node { flex: 1; padding: 0 22px 0 0; }
.node .jack {
  display: block; width: 26px; height: 26px; border-radius: 50%; margin: 47px 0 34px;
  background: var(--bg); border: 3px solid var(--line);
  transition: border-color .4s, box-shadow .4s, transform .4s cubic-bezier(.3, 1.8, .5, 1);
}
.node:nth-child(2) .jack { margin-left: 0; }
.node.lit .jack { border-color: var(--orange); box-shadow: 0 0 0 6px rgba(255, 106, 26, .15), 0 0 24px rgba(255, 106, 26, .6); transform: scale(1.15); }
.node > p.mono { font-size: 10px; letter-spacing: 2px; color: var(--mono); transition: color .4s; }
.node.lit > p.mono { color: var(--accent-ink); }
.node h3 { font-size: 22px; letter-spacing: -.5px; margin: 8px 0 10px; }
.node > p:last-child { font-size: 14.5px; line-height: 1.6; color: var(--fg2); }
.node em { color: var(--accent-ink); font-style: normal; }

/* studio */
.desk { display: grid; grid-template-columns: 360px 1fr; gap: 22px; align-items: start; }
.console { padding: 22px; border-radius: 22px; color: var(--ink); display: grid; gap: 18px; }
.console:hover { transform: none; }
.fld { display: grid; gap: 8px; }
.fld > span.mono { font-size: 10px; letter-spacing: 1.6px; color: #888; display: flex; justify-content: space-between; }
.fld b { color: var(--orange); font-weight: 600; }
textarea {
  font: 500 15px/1.45 Inter, sans-serif; color: #111; resize: none;
  border: 1.5px solid #e4e4e4; border-radius: 14px; padding: 12px 14px; background: #fafafa;
  outline: none; transition: border-color .3s, box-shadow .3s;
}
textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 106, 26, .14); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: -6px; }
.chips button { font-size: 11.5px; padding: 6px 10px; border-radius: 999px; background: #f0f0f0; color: #444; transition: background .25s, transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.chips button:hover { background: #e3e3e3; transform: translateY(-2px); }
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: #eee; border-radius: 12px; padding: 4px; }
.seg button { position: relative; z-index: 1; height: 36px; font-weight: 700; font-size: 12px; letter-spacing: 1.5px; color: #777; transition: color .3s; }
.seg button.on { color: #fff; }
.seg-ind { position: absolute; top: 4px; left: 4px; width: calc(50% - 4px); height: calc(100% - 8px); background: #111; border-radius: 9px; transition: transform .5s cubic-bezier(.3, 1.4, .4, 1); }
.seg.halo .seg-ind { transform: translateX(100%); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 9px; background: linear-gradient(90deg, var(--orange) var(--p, 50%), #e6e6e6 var(--p, 50%)); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid #111; box-shadow: 0 3px 8px rgba(0, 0, 0, .2); cursor: grab; transition: transform .2s; }
input[type=range]::-webkit-slider-thumb:active { transform: scale(1.2); }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid #111; }
.gen {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 28px; border-radius: 14px; background: var(--orange); color: #141414;
  font-weight: 700; font-size: 15px; text-decoration: none;
  box-shadow: 0 14px 30px rgba(255, 106, 26, .35);
  transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), box-shadow .35s;
}
.gen:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 18px 40px rgba(255, 106, 26, .45); }
.gen:active { transform: scale(.97); }
.gen i { position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); }
.gen:hover i, .gen.busy i { animation: sweep .9s ease-in-out infinite; }
@keyframes sweep { to { transform: translateX(120%); } }

.trackp { background: #0f0f10; color: #f2f2f2; border: 1px solid rgba(255, 255, 255, .08); border-radius: 22px; padding: 22px; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); min-width: 0; }
.trk-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.trk-meta { font-size: 10px; letter-spacing: 1.6px; color: var(--orange); }
.trackp h3 { font-size: 26px; letter-spacing: -.8px; margin: 6px 0 4px; }
.trk-by { font-size: 13px; color: rgba(255, 255, 255, .5); }
.trackp.fresh h3 { animation: titleIn .7s cubic-bezier(.2, 1.3, .4, 1); }
@keyframes titleIn { from { opacity: 0; transform: translateY(12px); filter: blur(6px); } }
.play { width: 54px; height: 54px; border-radius: 50%; background: var(--orange); flex: none; display: grid; place-items: center; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), opacity .3s; }
.play:disabled { opacity: .3; cursor: not-allowed; }
.play:not(:disabled):hover { transform: scale(1.08); }
.play svg { width: 22px; height: 22px; fill: #fff; }
.play .pa { display: none; }
.play.on .pa { display: block; }
.play.on .pl { display: none; }
.play.on { animation: throb calc(60s / var(--bpm, 112)) ease-in-out infinite; }
#scope { display: block; width: 100%; height: 90px; margin: 16px 0 14px; }
.seq { display: grid; grid-template-columns: 52px 1fr; gap: 8px; }
.seq-names { display: grid; grid-template-rows: repeat(12, 1fr); gap: 3px; font-size: 8.5px; letter-spacing: .8px; color: rgba(255, 255, 255, .4); }
.seq-names span { display: flex; align-items: center; height: 100%; }
.seq-grid { display: grid; grid-template-columns: repeat(16, 1fr); grid-template-rows: repeat(12, 1fr); gap: 3px; }
.cell { aspect-ratio: 1.6; min-height: 12px; border-radius: 3px; background: rgba(255, 255, 255, .06); cursor: pointer; transition: background .15s, transform .15s; }
.cell:nth-child(16n+1), .cell:nth-child(16n+5), .cell:nth-child(16n+9), .cell:nth-child(16n+13) { background: rgba(255, 255, 255, .1); }
.cell:hover { background: rgba(255, 255, 255, .22); }
.cell.on { background: var(--orange) !important; }
.cell.head { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
.cell.on.head { background: #fff !important; transform: scale(1.15); }
.cell.pin { animation: cellIn .45s cubic-bezier(.3, 1.8, .5, 1) backwards; }
@keyframes cellIn { from { transform: scale(0); } }
.trk-actions { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.trk-actions button { height: 38px; padding: 0 16px; border-radius: 10px; background: rgba(255, 255, 255, .08); font-size: 12.5px; font-weight: 600; transition: background .25s; }
.trk-actions button:not(:disabled):hover { background: rgba(255, 255, 255, .16); }
.trk-actions button:disabled { opacity: .35; cursor: not-allowed; }

.tape { margin-top: 28px; }
.tape > p { font-size: 10px; letter-spacing: 2px; color: var(--mono); margin-bottom: 10px; }
.tape ol { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.tape li { display: flex; align-items: center; gap: 14px; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 14px; animation: titleIn .5s; }
.tape li .mono { font-size: 10.5px; color: var(--mono); }
.tape li b { flex: 1; font-weight: 600; }
.tape li button { font-size: 12px; font-weight: 600; color: var(--accent-ink); }

/* agents mixer */
.mixer { display: grid; grid-template-columns: 1fr 1fr 0.75fr; gap: 18px; }
.strip {
  position: relative; display: grid; grid-template-columns: 1fr 56px; gap: 20px;
  background: var(--panel); color: var(--fg); border: 1px solid var(--line); border-radius: 24px; padding: 24px;
  transition: transform .5s cubic-bezier(.3, 1.4, .4, 1), border-color .4s;
}
[data-theme="dark"] .strip { background: #121212; }
.strip:hover { transform: translateY(-6px); border-color: rgba(255, 106, 26, .4); }
.strip-top { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.strip .ava { width: 56px; height: 56px; }
.strip h3 { font-size: 26px; letter-spacing: -.5px; font-weight: 800; }
.strip-top p { font-size: 10px; letter-spacing: 1.5px; color: var(--accent-ink); margin-top: 2px; }
.strip dl { display: grid; gap: 14px; }
.strip dt { font-size: 9.5px; letter-spacing: 1.8px; color: var(--mono); font-family: "JetBrains Mono", monospace; }
.strip dd { margin: 4px 0 0; font-size: 14px; line-height: 1.55; color: var(--fg2); }
.jam { margin-top: 14px; padding: 10px 0; font-weight: 700; font-size: 13px; color: var(--accent-ink); display: inline-flex; gap: 6px; }
.jam span { transition: transform .35s; }
.jam:hover span { transform: translateX(5px); }
.fader { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; height: 100%; min-height: 240px; }
.meter { position: relative; border-radius: 6px; background: var(--line); overflow: hidden; }
.meter i { position: absolute; left: 0; right: 0; bottom: 0; height: 10%; background: linear-gradient(0deg, #17c25b 0 55%, #ffc21a 55% 80%, var(--orange) 80%); background-size: 100% var(--mh, 240px); background-position: bottom; transition: height .08s; }
.fader-track { position: relative; width: 4px; margin: 0 auto; border-radius: 4px; background: var(--line); }
.fader-cap { position: absolute; left: 50%; width: 26px; height: 40px; margin-left: -13px; border-radius: 6px; background: linear-gradient(#e9e9e9, #bdbdbd); box-shadow: 0 6px 14px rgba(0, 0, 0, .3); cursor: grab; top: 30%; touch-action: none; }
.fader-cap::after { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 2px; background: #333; }
.strip.ghost { display: flex; flex-direction: column; justify-content: space-between; border-style: dashed; background: transparent !important; }
.strip.ghost h3 { color: var(--fg2); }
.strip.ghost p { font-size: 14px; line-height: 1.55; color: var(--fg2); }
.ghost-ava { width: 56px; height: 56px; border-radius: 50%; border: 2px dashed var(--line); display: grid; place-items: center; font-size: 24px; color: var(--mono); margin-bottom: 18px; animation: spinSlow 14s linear infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.soon { font-size: 10px; letter-spacing: 1.8px; color: var(--accent-ink); }

/* token */
.tok {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px;
  background: var(--orange); color: #141414; border-radius: 32px; padding: 52px;
  box-shadow: 0 40px 100px rgba(255, 106, 26, .25);
}
.tok .kicker { color: #3a1606; }
.tok-name { font-size: clamp(72px, 11vw, 150px) !important; line-height: .9 !important; letter-spacing: -.06em !important; font-weight: 900 !important; }
.tok-lede { font-size: 18px; line-height: 1.5; margin-top: 18px; max-width: 460px; }
.uses { list-style: none; padding: 0; margin-top: 28px; display: grid; gap: 12px; max-width: 480px; }
.uses li { font-size: 15px; line-height: 1.5; padding-left: 22px; position: relative; }
.uses li::before { content: ""; position: absolute; left: 0; top: 8px; width: 10px; height: 4px; border-radius: 3px; background: #141414; }
.tok-r { display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; }
.tok-bars { flex: 1; min-height: 140px; display: flex; align-items: flex-end; gap: 6px; }
.tok-bars i { flex: 1; background: #141414; border-radius: 6px; height: 20%; }
.ca { display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .92); border-radius: 14px; padding: 12px 14px; }
.ca .mono { font-size: 9.5px; letter-spacing: 1.6px; color: #888; width: 72px; flex: none; }
.ca code { flex: 1; font: 600 13px "JetBrains Mono", monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca button { font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 8px; background: #111; color: #fff; }
.ca button:disabled { opacity: .25; cursor: not-allowed; }
.buy { display: flex; align-items: center; justify-content: center; height: 54px; border-radius: 14px; background: #111; color: #fff; font-weight: 700; text-decoration: none; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.buy[aria-disabled=true] { opacity: .55; cursor: not-allowed; }
.buy:not([aria-disabled=true]):hover { transform: scale(1.02); }
.tok-warn { font-size: 10px; letter-spacing: .8px; color: #3a1606; }

/* roadmap */
.sides { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.side-h { font-size: 10px; letter-spacing: 2px; color: var(--accent-ink); padding-bottom: 14px; border-bottom: 2px solid var(--fg); }
.side ol { list-style: none; padding: 0; }
.side li { display: flex; align-items: baseline; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); transition: padding .35s; }
.side li:hover { padding-left: 8px; }
.ix { font-size: 11px; color: var(--mono); width: 22px; flex: none; }
.tn { flex: 1; font-size: 18px; font-weight: 600; letter-spacing: -.3px; }
.st { font-size: 10px; letter-spacing: 1.5px; color: var(--mono); display: flex; align-items: center; gap: 8px; }
.now .st { color: var(--accent-ink); }
.now .ix { color: var(--accent-ink); }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; }
.eq b { width: 3px; height: 100%; background: var(--orange); border-radius: 1px; transform-origin: bottom; animation: eq .9s ease-in-out infinite; }
.eq b:nth-child(2) { animation-delay: -.3s; }
.eq b:nth-child(3) { animation-delay: -.6s; }

/* faq */
.qa { max-width: 860px; border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-size: 20px; font-weight: 600; letter-spacing: -.4px; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 300; color: var(--orange); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.qa details[open] summary::after { transform: translateY(-50%) rotate(135deg); }
.qa p { font-size: 15.5px; line-height: 1.65; color: var(--fg2); padding: 0 40px 24px 0; max-width: 700px; }
.qa details[open] p { animation: titleIn .5s; }

/* footer */
.foot { max-width: 1180px; margin: 0 auto; padding: 180px 32px 36px; text-align: center; }
.foot-big { font-size: clamp(48px, 9vw, 128px); line-height: .95; letter-spacing: -.055em; font-weight: 900; margin: 18px 0 40px; }
.foot-big span { white-space: nowrap; background: linear-gradient(90deg, var(--orange), #ffb380, var(--orange)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 4s linear infinite; }
@keyframes shine { to { background-position: -200% 0; } }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 140px; padding-top: 24px; border-top: 1px solid var(--line); }
.foot-row .brand { opacity: 1; animation: none; }
.foot-row > p { font-size: 10px; letter-spacing: 1.5px; color: var(--mono); }
.foot-links { display: flex; gap: 20px; }
.foot-links a { color: var(--fg2); text-decoration: none; font-size: 13px; font-weight: 500; }
.foot-links a:hover { color: var(--accent-ink); }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 30; transform: translate(-50%, 30px);
  background: var(--fg); color: var(--bg); padding: 11px 16px; border-radius: 12px; font-size: 11px; letter-spacing: .6px;
  opacity: 0; pointer-events: none; transition: opacity .35s, transform .45s cubic-bezier(.3, 1.5, .5, 1);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .links { display: none; }
  .menu-btn { display: grid; }
  .desk { grid-template-columns: 1fr; }
  .mixer { grid-template-columns: 1fr; }
  .tok { grid-template-columns: 1fr; padding: 34px 26px; }
  .sides { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 720px) {
  .nav { padding: 14px 16px 0; }
  .connect { padding: 0 13px; font-size: 11px; }
  .sec { padding: 110px 16px 30px; }
  .about-foot { flex-direction: column; gap: 18px; margin-top: 40px; }
  .chain-wrap { padding-left: 46px; }
  .cable { display: none; }
  .nodes { flex-direction: column; gap: 34px; }
  .nodes::before { content: ""; position: absolute; left: -33px; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: linear-gradient(var(--orange) var(--cp, 0%), var(--line) var(--cp, 0%)); }
  .node { position: relative; padding: 0; }
  .node .jack { position: absolute; left: -45px; top: 0; margin: 0; width: 27px; height: 27px; }
  .console, .trackp { padding: 16px; border-radius: 18px; }
  .seq { grid-template-columns: 40px 1fr; gap: 6px; }
  .seq-names { font-size: 7px; }
  .seq-grid, .seq-names { gap: 2px; }
  .cell { min-height: 9px; border-radius: 2px; }
  .strip { grid-template-columns: 1fr 44px; padding: 20px; }
  .tn { font-size: 16px; }
  .qa summary { font-size: 17px; }
  .foot { padding: 120px 16px 30px; }
  .foot-row { flex-direction: column; margin-top: 90px; }
  .nav .brand > span:last-child { display: none; }
  .nav-r { gap: 8px; }
}

.minted { display: inline-flex; align-items: center; height: 38px; padding: 0 12px; border-radius: 10px; color: var(--orange); font-size: 12px; text-decoration: none; background: rgba(255, 106, 26, .12); animation: titleIn .5s; }

/* sound toggle */
.sound svg .spk { fill: currentColor; stroke: none; }
.sound .wave { transition: opacity .3s, transform .3s; transform-origin: 12px 12px; }
.sound .off { opacity: 0; transition: opacity .3s; }
.sound.muted .wave { opacity: 0; transform: scale(.6); }
.sound.muted .off { opacity: 1; }
.sound.muted { color: var(--orange); }
body.playing .sound:not(.muted) .w1 { animation: wv 1s ease-in-out infinite; }
body.playing .sound:not(.muted) .w2 { animation: wv 1s ease-in-out infinite .15s; }
@keyframes wv { 50% { opacity: .3; } }

/* on-chain tracks + tips */
.onchain { margin-top: 28px; }
.oc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.oc-head p.mono { font-size: 10px; letter-spacing: 2px; color: var(--mono); }
.oc-sub { font-size: 13.5px; color: var(--fg2); margin-top: 6px; }
.tip-amt { display: flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; }
.tip-amt .mono { font-size: 9.5px; letter-spacing: 1.4px; color: var(--mono); padding: 0 6px; }
.tip-amt button { height: 30px; padding: 0 10px; border-radius: 8px; font: 600 12px "JetBrains Mono", monospace; color: var(--fg2); transition: background .25s, color .25s; }
.tip-amt button.on { background: var(--fg); color: var(--bg); }
#ocList { list-style: none; padding: 0; border-top: 1px solid var(--line); }
#ocList li { display: flex; align-items: center; gap: 14px; padding: 12px 4px; border-bottom: 1px solid var(--line); animation: titleIn .5s; }
#ocList li.playing { background: linear-gradient(90deg, rgba(255, 106, 26, .1), transparent); }
#ocList li.playing .oc-id { color: var(--accent-ink); }
.oc-id { font-size: 11px; color: var(--mono); width: 30px; flex: none; }
.oc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.oc-main b { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oc-meta { font-size: 10px; color: var(--mono); letter-spacing: .4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oc-play, .oc-tip { height: 34px; padding: 0 14px; border-radius: 10px; font-size: 12.5px; font-weight: 700; flex: none; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1), background .25s; }
.oc-play { background: var(--line); }
.oc-tip { background: var(--orange); color: #141414; }
.oc-play:hover, .oc-tip:not(:disabled):hover { transform: scale(1.05); }
.oc-tip:disabled { opacity: .6; cursor: wait; }
#ocList .minted { height: 34px; }
.oc-empty { font-size: 11px; color: var(--mono); padding: 16px 4px !important; }
.earn { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(23, 194, 91, .1); border: 1px solid rgba(23, 194, 91, .35); font-size: 14px; }
.earn b { font-family: "JetBrains Mono", monospace; }
.earn button { height: 34px; padding: 0 14px; border-radius: 10px; background: #17c25b; color: #06240f; font-weight: 700; font-size: 12.5px; }
@media (max-width: 720px) {
  #ocList li { flex-wrap: wrap; gap: 8px 12px; }
  .oc-main { flex-basis: calc(100% - 44px); }
  .oc-play { margin-left: 42px; }
}

/* the phone menu never shows at desktop widths, even if it was left open */
@media (min-width: 981px) { .menu { display: none !important; } }
