/* Bone site. Type: Ubuntu Light (the app's UI face) + Hack (numbers, timecodes). Motion: scroll-linked via --p set by motion.js. */
@font-face { font-family: "Ubuntu Bone"; src: url(assets/fonts/Ubuntu-Light.ttf) format("truetype"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Hack Bone"; src: url(assets/fonts/Hack-Regular.ttf) format("truetype"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #F4F1EA; --panel: #EBE7DD; --surface: #FFFEFC;
  --ink: #1E1C19; --ink-soft: #555047; --ink-faint: #7C766A;
  --line: #D9D3C6; --line-strong: #1E1C19; --line-soft: #E4DFD3;
  --accent: #E9582B; --accent-ink: #1E1C19; --accent-soft: #FBE3D8; --accent-text: #B53E17;
  --radius: 6px; --radius-lg: 14px;
  --font-display: "Ubuntu Bone", Ubuntu, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Ubuntu Bone", Ubuntu, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Hack Bone", Hack, ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --font-serif: ui-serif, "New York", Georgia, "Times New Roman", serif;
  --font: var(--font-body);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow: 0 1px 2px rgba(30, 28, 25, .06), 0 28px 60px -24px rgba(30, 28, 25, .3);
  --page: 0;
  --nav-h: 64px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171512; --panel: #1E1C19; --surface: #24221E;
    --ink: #EDEAE3; --ink-soft: #B5AEA1; --ink-faint: #8B8578;
    --line: #3A3631; --line-strong: #EDEAE3; --line-soft: #2C2925;
    --accent: #F06A3E; --accent-soft: #3A2218; --accent-text: #F58A64;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 28px 60px -24px rgba(0, 0, 0, .7);
  }
}
/* a dark section, whatever the system theme */
.night {
  --bg: #15130F; --panel: #1C1A16; --surface: #24221E;
  --ink: #F1EDE4; --ink-soft: #B9B2A4; --ink-faint: #8B8578;
  --line: #3A3631; --line-strong: #F1EDE4; --line-soft: #2A2723;
  --accent: #F06A3E; --accent-soft: #3A2218; --accent-text: #F58A64;
  background: var(--bg); color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 300 18px/1.55 var(--font-body); font-synthesis: none; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 300; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

.wrap, .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.row { display: flex; align-items: center; justify-content: space-between; }
.hidden { display: none !important; }

/* nav, with a page-level playhead along its bottom edge */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-soft); }
.nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--page)); }
.nav .row { height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 22px; letter-spacing: -.02em; }
.mark { color: var(--ink); }
.nav nav { display: flex; align-items: center; gap: 28px; }
.link { text-decoration: none; color: var(--ink-soft); font-size: 16px; }
.link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font: 400 17px/1 var(--font-body); letter-spacing: -.005em; text-decoration: none; cursor: pointer; transition: background .18s var(--ease), color .18s var(--ease), border-color .18s; }
.btn:hover { background: var(--ink); color: var(--bg); }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn-quiet { border-color: transparent; padding: 0 4px; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.btn-quiet:hover { background: transparent; color: var(--accent-text); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 16px; }

.avatar { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--ink); border: 1px solid var(--line); font: 400 13px/1 var(--font-body); text-decoration: none; overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar:hover { border-color: var(--ink-faint); }

/* type scale: 12 mono, 14, 18 body, 24, 32, 60 h2, 136 h1 */
.display { font-size: clamp(46px, 9.2vw, 136px); line-height: .94; letter-spacing: -.05em; }
h2, .h2 { font-size: clamp(36px, 5.2vw, 72px); line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
h3 { font-size: 24px; line-height: 1.2; letter-spacing: -.02em; }
.lead { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.5; color: var(--ink); max-width: 34em; }
.soft { color: var(--ink-soft); }
.meta { font-size: 14px; color: var(--ink-faint); margin-top: 14px; }
.serif { font-family: var(--font-serif); font-weight: 400; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }

section { position: relative; }
.sec { padding: clamp(88px, 12vw, 176px) 0; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }

/* scrub helpers: --p is the section's scroll progress (0..1); --s/--e is an element's own window inside it */
.q { --q: clamp(0, calc((var(--p, 1) - var(--s, 0)) / (var(--e, 1) - var(--s, 0))), 1); --o: calc(var(--q) * (2 - var(--q))); }
section[data-scrub] { --p: 1; }

/* reveals */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .rv.in { opacity: 1; transform: none; }
}

/* ---------- hero ---------- */
.hero { padding-top: clamp(48px, 7vw, 104px); }
.hero .display { grid-column: 1 / span 11; transform: translateY(calc(var(--p) * -48px)); will-change: transform; }
.hero-sub { margin-top: clamp(28px, 4vw, 56px); align-items: end; row-gap: 28px; }
.hero-sub .lead { grid-column: 1 / span 6; }
.hero-sub .side { grid-column: 9 / span 4; }
.hero-sub .actions { margin-top: 0; }
.hero-sub .meta { margin-top: 16px; }
.daw-wrap { margin-top: clamp(48px, 6vw, 88px); transform: translateY(calc(var(--p) * 36px)); }

.daw { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.daw-head { display: grid; grid-template-columns: 104px 1fr; height: 30px; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 11px; color: var(--ink-faint); }
.daw-head .readout { display: flex; align-items: center; padding-left: 12px; border-right: 1px solid var(--line); color: var(--ink); }
.ruler { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.ruler span { display: flex; align-items: center; padding-left: 8px; border-left: 1px solid var(--line); }
.ruler span:first-child { border-left: 0; }
.daw-body { display: grid; grid-template-columns: 104px 1fr; position: relative; }
.names { border-right: 1px solid var(--line); }
.names div { height: 46px; display: flex; align-items: center; gap: 8px; padding-left: 12px; font-size: 14px; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
.names i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }
.lanes { position: relative; overflow: hidden; background-image: repeating-linear-gradient(90deg, var(--line-soft) 0 1px, transparent 1px 6.25%); }
.lane { position: relative; height: 46px; border-bottom: 1px solid var(--line-soft); }
.lane .clips { position: absolute; inset: 0; transform: translateX(calc(var(--p) * var(--dr, 0) * 1px)); }
.clip { position: absolute; top: 5px; bottom: 5px; left: var(--l); width: var(--w); background: var(--c); border-radius: 3px; overflow: hidden; color: rgba(30, 28, 25, .8); }
.clip svg { position: absolute; inset: 14px 2px 3px; width: calc(100% - 4px); height: calc(100% - 17px); }
.clip b { position: absolute; left: 6px; top: 2px; font: 400 10px/1.3 var(--font-mono); white-space: nowrap; }
.clip path, .clip rect { fill: rgba(30, 28, 25, .62); }
.clip .st { fill: none; stroke: rgba(30, 28, 25, .62); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.ph { position: absolute; top: 0; bottom: 0; left: 0; width: 100%; transform: translateX(calc(-100% + var(--p) * 100%)); pointer-events: none; z-index: 3; }
.ph::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 2px; background: var(--accent); }
.ph::before { content: ""; position: absolute; right: -5px; top: 0; border: 6px solid transparent; border-top-color: var(--accent); border-bottom: 0; }
@media (prefers-reduced-motion: no-preference) {
  .js .clip { animation: clipin 1s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms + 250ms); }
}
@keyframes clipin { from { opacity: 0; transform: translateX(-26%) scaleX(.7); } to { opacity: 1; transform: none; } }

/* ---------- what it is ---------- */
.is { padding-top: clamp(96px, 13vw, 200px); }
.is .copy { grid-column: 1 / span 4; align-self: start; }
.is h2 { margin-bottom: 28px; }
.is .shot { grid-column: 6 / span 8; margin-right: calc(-1 * max(28px, (100vw - 1200px) / 2 + 28px)); }
.shot img { width: 100%; height: auto; aspect-ratio: 8 / 5; border-radius: var(--radius) 0 0 var(--radius); border: 1px solid var(--line); border-right: 0; box-shadow: var(--shadow); background: var(--panel); }
.shot-in { transform: translateY(calc((.5 - var(--p)) * 90px)); will-change: transform; }
.kinds { margin-top: 36px; border-top: 1px solid var(--line-strong); }
.kinds div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.kinds dt { font-family: var(--font-mono); font-size: 12px; padding-top: 4px; color: var(--ink-faint); }
.kinds dd { color: var(--ink); }

/* ---------- pinned stages ---------- */
.pin { height: 360vh; }
.pin-in { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); height: calc(100svh - var(--nav-h)); display: flex; align-items: center; overflow: hidden; }
.pin-in .grid { width: 100%; align-items: center; }
.pin .copy { grid-column: 1 / span 4; display: grid; }
.pin .copy > * { grid-area: 1 / 1; }
.pin .copy h2 { font-size: clamp(34px, 4.4vw, 60px); align-self: start; }
.cap { align-self: end; opacity: clamp(0, min(calc((var(--p) - var(--a)) / .06), calc((var(--b) - var(--p)) / .06)), 1); transform: translateY(calc((1 - clamp(0, min(calc((var(--p) - var(--a)) / .06), calc((var(--b) - var(--p)) / .06)), 1)) * 14px)); }
.cap h3 { margin-bottom: 8px; }
.cap p { color: var(--ink-soft); font-size: 18px; max-width: 24em; }
.pin .copy { min-height: 340px; }
.pin .copy h2 + .cap-stack { align-self: end; }
.cap-stack { display: grid; align-self: end; }
.cap-stack > .cap { grid-area: 1 / 1; }
.pin .stage { grid-column: 6 / span 7; }

.piano { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.piano-top { display: flex; justify-content: space-between; height: 30px; align-items: center; padding: 0 12px; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 11px; color: var(--ink-faint); }
.roll { display: grid; grid-template-columns: 44px 1fr; height: clamp(180px, 34vh, 300px); }
.keys, .rows { display: grid; grid-template-rows: repeat(12, 1fr); }
.keys { border-right: 1px solid var(--line); }
.keys div { border-bottom: 1px solid var(--line-soft); font: 400 9px/1 var(--font-mono); color: var(--ink-faint); padding: 3px 0 0 6px; background: color-mix(in srgb, var(--ink) 4%, transparent); }
.keys div.w { background: transparent; }
.rows { position: relative; background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 12.5%), repeating-linear-gradient(90deg, var(--line-soft) 0 1px, transparent 1px 3.125%); }
.rows div { border-bottom: 1px solid var(--line-soft); }
.rows div.k { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.note { position: absolute; left: var(--x); width: var(--w); top: var(--y); height: calc(100% / 12 - 2px); margin-top: 1px; background: var(--accent); border-radius: 2px; opacity: var(--o); transform: translateY(calc((1 - var(--o)) * -90px)); }
.seq { display: grid; grid-template-columns: 44px 1fr; border-top: 1px solid var(--line); }
.seq-names { border-right: 1px solid var(--line); display: grid; grid-template-rows: repeat(4, 30px); }
.seq-names div { font: 400 9px/30px var(--font-mono); color: var(--ink-faint); padding-left: 6px; border-bottom: 1px solid var(--line-soft); }
.seq-grid { display: grid; grid-template-rows: repeat(4, 30px); }
.seq-grid div { display: grid; grid-template-columns: repeat(16, 1fr); gap: 3px; padding: 4px 3px; border-bottom: 1px solid var(--line-soft); }
.seq-grid span { position: relative; background: color-mix(in srgb, var(--ink) 9%, transparent); border-radius: 2px; }
.seq-grid span:nth-child(4n+1) { background: color-mix(in srgb, var(--ink) 15%, transparent); }
.seq-grid span.on::after { content: ""; position: absolute; inset: 0; background: var(--accent); border-radius: 2px; transform: scale(var(--o)); opacity: var(--o); }
.stage-lanes { position: relative; }
.stage-ph { position: absolute; left: 44px; right: 0; top: 0; bottom: 0; overflow: hidden; pointer-events: none; z-index: 3; }
.stage-ph .ph { transform: translateX(calc(-100% + var(--q) * 100%)); }

/* ---------- AI ---------- */
.ai .copy { grid-column: 1 / span 5; align-self: start; }
.ai h2 { margin-bottom: 28px; }
.ai .panel { grid-column: 7 / span 6; }
.prompt { border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 22px 24px; background: var(--surface); font-family: var(--font-serif); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; letter-spacing: -.01em; position: relative; }
.typed { display: block; position: relative; }
.typed span { display: block; clip-path: inset(0 calc((1 - var(--q)) * 100%) 0 0); }
.typed i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; transform: translateX(calc(var(--q) * 100%)); pointer-events: none; }
.typed i::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; background: var(--accent); }
.edits { list-style: none; padding: 0; margin: 18px 0 0; border-left: 1px solid var(--line-strong); margin-left: 18px; }
.edits li { position: relative; padding: 10px 0 10px 26px; font: 400 13px/1.4 var(--font-mono); opacity: var(--o); transform: translateX(calc((1 - var(--o)) * -14px)); }
.edits li::before { content: ""; position: absolute; left: -4px; top: 17px; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }
.mixer { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 16px 8px 10px; }
.fader { display: grid; justify-items: center; gap: 8px; font: 400 11px var(--font-mono); color: var(--ink-faint); }
.groove { position: relative; width: 4px; height: 120px; background: var(--line); border-radius: 2px; }
.groove .cap2 { position: absolute; left: 50%; top: calc(var(--y) * 1%); width: 28px; height: 14px; margin-left: -14px; margin-top: -7px; background: var(--ink); border-radius: 2px; transform: translateY(calc((1 - var(--o)) * var(--from) * 1px)); }
.groove .cap2::after { content: ""; position: absolute; left: 4px; right: 4px; top: 6px; height: 2px; background: var(--bg); }
.fader.hot .cap2 { background: var(--accent); }
.fader.hot .cap2::after { background: var(--accent-ink); }
.undo { margin-top: 14px; font: 400 12px var(--font-mono); color: var(--ink-faint); display: flex; justify-content: space-between; }

/* ---------- together ---------- */
.tog { background: var(--panel); }
.tog .stage { grid-column: 1 / span 7; position: relative; }
.tog .copy { grid-column: 9 / span 4; align-self: center; }
.tog h2 { margin-bottom: 28px; }
.presence { display: flex; gap: 10px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px 0 4px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; }
.pill i { width: 20px; height: 20px; border-radius: 50%; background: var(--c); }
.pill em { font: normal 400 11px var(--font-mono); color: var(--ink-faint); margin-left: 2px; }
.shared { position: relative; margin-top: 12px; }
.shared .roll { height: clamp(220px, 40vw, 340px); }
.shared .note { background: var(--c, var(--accent)); }
.cur { position: absolute; inset: 0; z-index: 4; pointer-events: none; --a1: clamp(0, calc((var(--p) - var(--s1)) / (.5 - var(--s1))), 1); --a2: clamp(0, calc((var(--p) - .5) / (var(--e1) - .5)), 1); transform: translate(calc((var(--x0) + (var(--x1) - var(--x0)) * var(--a1) + (var(--x2) - var(--x1)) * var(--a2)) * 1%), calc((var(--y0) + (var(--y1) - var(--y0)) * var(--a1) + (var(--y2) - var(--y1)) * var(--a2)) * 1%)); }
.cur svg { position: absolute; left: 0; top: 0; width: 18px; height: 22px; color: var(--c); }
.cur b { position: absolute; left: 14px; top: 20px; background: var(--c); color: #fff; font: 400 11px/1 var(--font-mono); padding: 5px 7px; border-radius: 3px; white-space: nowrap; }
.cur.b b { color: var(--accent-ink); }
.cur.b { --s1: 0; --e1: 1; }
.cur.a { --s1: 0; --e1: 1; }
.rows-ov { position: absolute; left: 44px; right: 0; top: 0; bottom: 0; }

/* ---------- publish ---------- */
.pub .copy { grid-column: 1 / span 5; align-self: start; }
.pub h2 { margin-bottom: 28px; }
.pub .feed { grid-column: 7 / span 6; position: relative; min-height: 520px; }
.song { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow); }
.song-head { display: flex; gap: 12px; align-items: center; }
.song-head .avatar { width: 40px; height: 40px; background: var(--c); color: #fff; border: 0; }
.song-head .who { font-size: 14px; color: var(--ink-soft); line-height: 1.3; }
.song-head .who b { display: block; font-weight: 400; color: var(--ink); font-size: 16px; }
.song h3 { font-size: 26px; margin: 16px 0 4px; }
.wave { position: relative; height: 72px; margin: 14px 0 10px; }
.wave svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.wave .base rect { fill: var(--line); }
.wave .lit { clip-path: inset(0 calc((1 - var(--q)) * 100%) 0 0); }
.wave .lit rect { fill: var(--accent); }
.wave .lit-ph { position: absolute; inset: 0; transform: translateX(calc(-100% + var(--q) * 100%)); }
.wave .lit-ph::after { content: ""; position: absolute; right: 0; top: -4px; bottom: -4px; width: 2px; background: var(--ink); }
.song-foot { display: flex; align-items: center; justify-content: space-between; font: 400 12px var(--font-mono); color: var(--ink-faint); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tags span { border: 1px solid var(--line); border-radius: 12px; padding: 3px 10px; font: 400 12px var(--font-mono); color: var(--ink-soft); }
.play { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--bg); display: inline-flex; align-items: center; justify-content: center; }
.song-main { position: relative; z-index: 2; }
.song-ghost { position: absolute; left: 6%; right: 6%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px 18px; display: flex; align-items: center; gap: 12px; }
.song-ghost .avatar { width: 28px; height: 28px; background: var(--c); border: 0; }
.song-ghost p { font-size: 16px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.song-ghost .mini { width: 90px; height: 22px; flex: none; }
.song-ghost .mini rect { fill: var(--line-strong); opacity: .5; }
.g1 { top: 0; transform: translateY(calc(var(--p) * -50px)); }
.g2 { bottom: 0; transform: translateY(calc(var(--p) * 50px - 20px)); }
.song-main { margin: 74px 0; }
.links { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 32px; }

/* ---------- download (home) ---------- */
.dl { padding: clamp(88px, 11vw, 160px) 0 clamp(72px, 9vw, 120px); }
.dl .big { grid-column: 1 / span 7; }
.dl .big h2 { margin-bottom: 24px; }
.dl .alt { grid-column: 9 / span 4; align-self: end; border-top: 1px solid var(--line-strong); padding-top: 20px; }
.dl .alt h3 { margin-bottom: 8px; }
.dl .alt p { color: var(--ink-soft); }
.dl .stamp { font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); margin-top: 18px; }

.foot { border-top: 1px solid var(--line-soft); }
.foot .row { min-height: 96px; gap: 20px; flex-wrap: wrap; }
.foot .brand { font-size: 18px; }
.foot nav { display: flex; gap: 24px; flex-wrap: wrap; }
.foot .meta { margin: 0; }

/* ---------- download page ---------- */
.dlp-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); }
.dlp-hero .head { grid-column: 1 / span 8; }
.dlp-hero h1 { font-size: clamp(48px, 8vw, 112px); line-height: .95; letter-spacing: -.05em; }
.dlp-hero .lead { margin-top: 28px; }
.specs { grid-column: 1 / span 7; margin-top: 56px; border-top: 1px solid var(--line-strong); }
.specs div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.specs dt { font-size: 14px; color: var(--ink-faint); }
.specs dd { font-size: 18px; min-width: 0; }
.specs dd.mono { font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; user-select: all; }
.dlp-hero .go { grid-column: 9 / span 4; align-self: end; margin-top: 56px; }
.go .btn { width: 100%; height: 64px; font-size: 20px; }
.go .meta { margin-top: 14px; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 26px 0; border-top: 1px solid var(--line-strong); }
.steps li::before { content: counter(s); font-size: 48px; line-height: 1; letter-spacing: -.04em; color: var(--accent-text); }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--ink-soft); max-width: 34em; }
.two .l { grid-column: 1 / span 5; }
.two .l h2 { font-size: clamp(34px, 4.4vw, 60px); }
.two .r { grid-column: 7 / span 6; }
.notes { list-style: none; padding: 0; }
.notes li { padding: 14px 0; border-top: 1px solid var(--line); font-size: 18px; }
.notes li:last-child { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-size: 22px; letter-spacing: -.015em; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--ink-faint); flex: none; transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-soft); max-width: 38em; }
.cta-band { padding: clamp(64px, 9vw, 120px) 0; }
.cta-band .grid { align-items: end; row-gap: 28px; }
.cta-band h2 { grid-column: 1 / span 7; }
.cta-band .actions { grid-column: 9 / span 4; margin: 0; }

/* ---------- account bits (shared with account.html and auth/desktop.html) ---------- */
.account-slot { display: inline-flex; align-items: center; gap: 16px; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--font-body); font-weight: 300; }
.narrow { max-width: 760px; }
.acct { padding-top: 56px; padding-bottom: 80px; min-height: calc(100vh - 64px); }
.acct h1 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -.04em; line-height: 1; }
.sect { margin-top: 40px; }
.sect h2 { font-size: 22px; letter-spacing: -.015em; line-height: 1.2; margin-bottom: 12px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 24px; }
.profile-card { padding: 8px; min-height: 240px; overflow: hidden; }
.status { margin-top: 20px; color: var(--ink-soft); min-height: 1.6em; }
.status.err { color: var(--accent-text); }
.mount-inline { width: 100%; display: flex; justify-content: center; }
.mount-inline > * { max-width: 100%; }
.empty { margin: 0; font-size: 15px; }
.center-page { display: flex; justify-content: center; padding: 64px 16px 80px; min-height: calc(100vh - 64px); }
.gate { width: 100%; max-width: 400px; align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 24px; min-height: 280px; }
.gate h1 { font-size: 26px; line-height: 1.25; letter-spacing: -.02em; text-align: center; margin-bottom: 20px; }
.gate .sub { text-align: center; color: var(--ink-soft); font-size: 16px; }
.gate .mount-inline { min-height: 220px; align-items: flex-start; }
.swap { text-align: center; margin-top: 12px; }
.swap .link-btn { font-size: 14px; }
.actions-row { display: flex; justify-content: center; margin-top: 20px; }
.dev-list { list-style: none; padding: 0; margin: 0; }
.dev-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.dev-list li:first-child { padding-top: 0; border-top: 0; }
.dev-info { min-width: 0; }
.dev-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dev-list .meta { font-size: 14px; margin-top: 0; }
.meter { height: 6px; border-radius: 3px; background: var(--line-soft); margin-top: 12px; overflow: hidden; }
.meter > span { display: block; height: 100%; background: var(--accent); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero .display { grid-column: 1 / -1; }
  .hero-sub .lead, .hero-sub .side { grid-column: 1 / -1; }
  .is .copy, .is .shot { grid-column: 1 / -1; }
  .is .shot { margin-top: 56px; margin-right: -28px; }
  .pin .copy, .pin .stage { grid-column: 1 / -1; }
  .pin .copy { min-height: 190px; margin-bottom: 20px; }
  .pin .copy h2 { font-size: clamp(30px, 8vw, 44px); }
  .cap p { font-size: 16px; }
  .roll { height: clamp(150px, 26vh, 220px); }
  .ai .copy, .ai .panel, .tog .stage, .tog .copy, .pub .copy, .pub .feed, .dl .big, .dl .alt,
  .dlp-hero .head, .specs, .dlp-hero .go, .two .l, .two .r, .cta-band h2, .cta-band .actions { grid-column: 1 / -1; }
  .ai .panel, .tog .copy, .pub .feed, .dl .alt, .two .r { margin-top: 48px; }
  .tog .stage { order: 2; margin-top: 48px; }
  .tog .copy { order: 1; margin-top: 0; }
  .dlp-hero .go { margin-top: 36px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .wrap, .container { padding: 0 16px; }
  .is .shot { margin-right: -16px; }
  .nav nav { gap: 14px; }
  .nav .link { display: none; }
  .daw-head, .daw-body { grid-template-columns: 44px 1fr; }
  .daw-head .readout { padding-left: 6px; font-size: 10px; }
  .names div { padding-left: 0; justify-content: center; }
  .names span { display: none; }
  .roll, .seq { grid-template-columns: 30px 1fr; }
  .seq-names { display: none; }
  .seq { grid-template-columns: 1fr; }
  .stage-ph { left: 30px; }
  .keys div { padding-left: 2px; font-size: 8px; }
  .specs div { grid-template-columns: 100px 1fr; }
  .steps li { grid-template-columns: 48px 1fr; }
  .steps li::before { font-size: 36px; }
  .actions .btn { flex: 1 1 100%; }
  .mixer { padding-left: 2px; padding-right: 2px; }
  .song-ghost .mini { display: none; }
  .go .btn { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary::after { transition: none; }
  .pin { height: auto; }
  .pin-in { position: static; height: auto; padding: 72px 0; }
  .pin .copy { min-height: 0; }
  .cap-stack { display: block; }
  .cap { opacity: 1; transform: none; margin-top: 16px; }
  .hero .display, .daw-wrap, .shot-in, .g1, .g2 { transform: none; }
}

/* Cursors: everything clickable shows a pointer, disabled things show not-allowed. */
button, [role="button"], [role="tab"], summary, label[for], select, a[href], .btn, .avatar, .wave, .link-btn { cursor: pointer; }
button:disabled, [aria-disabled="true"], .btn[disabled], .btn[aria-disabled="true"], .link-btn:disabled { cursor: not-allowed; }
