/* Keewi website. Layout after Ableton's site (Will 11-27: "use Ableton's as a reference"): white paper, black type
   at light weights, everything on a left-aligned grid, pictures that run off the page edge, flat colour blocks, thin
   rules, square buttons, links with a ›. Colour comes from Keewi's track colours; movement is ours. */
:root {
  --paper: #ffffff;
  --ink: #111111;
  --ink-2: #555555;
  --ink-3: #8a8a8a;
  --line: #e2e2e2;
  --ink-4: #b8b8b8;
  --orange: #F0A35E;
  --yellow: #F1D86A;
  --blue: #7EB8EA;
  --green: #8FD0A6;
  --violet: #C3A6EE;
  --gold: #F2B13A;
  --mint: #B9EBCB;
  --sky: #CFE4F7;
  --lilac: #E3D6F8;
  --butter: #FBEBB0;
  --dark: #1c1c1c;
  --app: #262626; --app-panel: #333; --app-text: #cfcfcf; --app-strong: #ededed; --app-dim: #9e9e9e; --accent: #F2B13A;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --soft: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(20px, 6vw, 96px);
  --max: 1440px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Will 11-28: Space Grotesk for headlines, JetBrains Mono for everything else (numbers, keys and buttons look like the
   app's own screen). */
:root { --font-head: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; --font-body: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 15px/1.55 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -.025em; color: var(--ink); font-family: var(--font-head); }
.huge-title, .wordmark, .fh, .log-h { font-family: var(--font-head); }
h1 { font-size: clamp(52px, 8.4vw, 128px); line-height: .98; font-family: var(--font-head); }
h2 { font-size: clamp(40px, 5.6vw, 84px); line-height: 1.02; font-family: var(--font-head); }
h3 { font-size: 22px; line-height: 1.25; letter-spacing: -.01em; margin-bottom: 10px; font-family: var(--font-head); }
p { margin: 0 0 16px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.dim { color: var(--ink-2); }
.small { font-size: 14px; }

/* links: plain, with a › that steps on hover */
.more { display: inline-flex; align-items: baseline; gap: 6px; font-weight: 500; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.more::after { content: "\203A"; display: inline-block; transition: transform .45s var(--spring); }
.more:hover::after { transform: translateX(5px); }
.more.big { font-size: clamp(20px, 2vw, 28px); font-family: var(--font-head); }

/* square buttons that push back */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; background: var(--ink); color: var(--paper); font-weight: 500; font-size: 16px; will-change: transform; transition: background .2s, color .2s; }
.btn:hover { background: var(--gold); color: #111; }
.btn span { display: inline-block; pointer-events: none; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-small { padding: 9px 16px; font-size: 14px; }
.btn-big { padding: 18px 34px; font-size: 18px; }

/* letters that jiggle (app.js) */
.jiggle-text { cursor: default; }
.jiggle-text .w { display: inline-block; white-space: nowrap; }
.jiggle-text .l { display: inline-block; will-change: transform; transform-origin: 50% 80%; }

/* arrivals: a short lift */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--soft), transform .9s var(--soft); }
.reveal.in { opacity: 1; transform: none; }
.pop { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--soft), transform .8s var(--soft); }
.pop.in { opacity: 1; transform: none; }

/* ============ HEADER: two flat rows ============ */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--paper); color: var(--ink); transition: box-shadow .3s, background .45s var(--soft), color .45s var(--soft); }
.site-head.scrolled { box-shadow: 0 1px 0 var(--line); }
.bar { display: flex; align-items: center; gap: 34px; height: 64px; padding: 0 var(--pad); max-width: var(--max); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -.02em; font-family: var(--font-head); }
.brand img { width: 30px; height: 30px; border-radius: 7px; transition: transform .6s var(--spring); }
.brand:hover img { transform: rotate(-12deg) scale(1.12); }
.nav-links { display: flex; gap: 22px; font-size: 14px; }
.nav-links a, .bar-right a { white-space: nowrap; } /* (the mono body font is wide: never two lines) */
.nav-links a { position: relative; padding: 4px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--soft); }
.nav-links a:hover::after, .nav-links a.here::after { transform: none; }
.bar-right { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 14px; }
.bar-right .try { font-weight: 500; }
.bar-right .try::after { content: " \203A"; }
.bar-right .signin { color: var(--ink-2); font-size: 14px; }
.subbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.subbar .inner { display: flex; gap: 24px; height: 44px; align-items: center; padding: 0 var(--pad); max-width: var(--max); margin: 0 auto; font-size: 13px; overflow-x: auto; scrollbar-width: none; }
.subbar a { white-space: nowrap; color: var(--ink-2); transition: color .2s; }
.subbar a:hover, .subbar a.on { color: var(--ink); }
.subbar a.on { font-weight: 500; }
.strip { display: block; text-align: center; padding: 11px var(--pad); font-size: 15px; font-weight: 500; background: var(--yellow); }
.strip span { border-bottom: 1.5px solid currentColor; }
.strip::after { content: " \203A"; }

/* ============ BLOCKS ============ */
.block-colour { padding: clamp(60px, 8vw, 110px) 0; }
.bg-mint { background: var(--mint); } .bg-sky { background: var(--sky); } .bg-lilac { background: var(--lilac); }
.bg-butter { background: var(--butter); } .bg-orange { background: var(--orange); } .bg-dark { background: var(--dark); color: #fff; }
.bg-dark h2, .bg-dark h3 { color: #fff; }
.lead { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.32; letter-spacing: -.01em; font-family: var(--font-head); }
.lead p { margin-bottom: 22px; max-width: 1050px; }
.band { padding: 20px var(--pad); text-align: center; font-size: 16px; }
.band a { border-bottom: 1.5px solid currentColor; }
.band a::after { content: " \203A"; }
.section { padding: clamp(70px, 9vw, 140px) 0; }
.section-head { margin-bottom: clamp(40px, 5vw, 70px); }
.section-head .kicker { font-size: 15px; color: var(--ink-2); margin-bottom: 14px; }
.section-head p.dim { font-size: 19px; max-width: 640px; margin-top: 16px; }

/* page heads: left, big, with the words beside */
.page-top { padding: clamp(50px, 7vw, 100px) 0 clamp(40px, 5vw, 70px); }
.page-top .wrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: end; }
.page-top .side { font-size: 19px; line-height: 1.45; }
.page-top .side p { margin-bottom: 22px; }
.actions { display: flex; gap: 14px 22px; flex-wrap: wrap; align-items: center; }

/* text beside a wide picture that runs off the page */
.row { display: grid; grid-template-columns: minmax(260px, 1fr) 2fr; gap: clamp(30px, 5vw, 80px); align-items: center; padding: clamp(40px, 5vw, 70px) 0 clamp(40px, 5vw, 70px) var(--pad); }
.row .text { max-width: 380px; }
.row .text p { font-size: 16px; }
.row .pic { position: relative; min-width: 0; }
.row.flip { grid-template-columns: 2fr minmax(260px, 1fr); padding: clamp(40px, 5vw, 70px) var(--pad) clamp(40px, 5vw, 70px) 0; }
.row.flip .text { order: 2; }
.huge-title { font-size: clamp(56px, 9vw, 140px); line-height: .95; letter-spacing: -.035em; font-weight: 500; font-family: var(--font-head); }

/* notes with rules (three columns) */
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 4vw, 60px); }
.note { padding: 26px 0 34px; border-top: 1.5px solid var(--ink); }
.note h3 { font-size: 20px; }
.note p { color: var(--ink-2); font-size: 16px; }
.note .ic { width: 34px; height: 34px; margin-bottom: 18px; position: relative; overflow: hidden; background: #f1f1f1; }
.ic-wave::before { content: ""; position: absolute; left: 5px; right: 5px; top: 15px; height: 4px; background: var(--violet); animation: wv 1.4s ease-in-out infinite; }
@keyframes wv { 50% { transform: translateY(-7px) scaleX(.7); } }
.ic-shield::before { content: ""; position: absolute; inset: 7px 9px; border-radius: 3px 3px 10px 10px; background: var(--blue); animation: breathe 2s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(.85); } }
.ic-stack::before, .ic-stack::after { content: ""; position: absolute; left: 6px; right: 6px; height: 5px; background: var(--gold); }
.ic-stack::before { top: 9px; box-shadow: 0 8px 0 var(--yellow); animation: slide 1.8s var(--spring) infinite; }
.ic-stack::after { top: 25px; background: var(--green); }
@keyframes slide { 50% { transform: translateX(4px); } }
.ic-key::before { content: "Am"; position: absolute; inset: 0; display: grid; place-items: center; font-weight: 600; font-size: 13px; animation: breathe 2.4s ease-in-out infinite; }
.ic-knob::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 3px solid #ddd; border-top-color: var(--gold); border-right-color: var(--gold); animation: spin 3s var(--spring) infinite; }
@keyframes spin { 50% { transform: rotate(140deg); } }
.ic-split::before, .ic-split::after { content: ""; position: absolute; left: 6px; width: 22px; height: 6px; }
.ic-split::before { top: 10px; background: var(--orange); animation: up 2s var(--spring) infinite; }
.ic-split::after { top: 19px; background: var(--blue); animation: down 2s var(--spring) infinite; }
@keyframes up { 50% { transform: translateY(-3px); } } @keyframes down { 50% { transform: translateY(3px); } }

/* ============ HOME ============ */
.shot-tabs { display: flex; gap: 26px; margin: 0 0 16px; font-size: 16px; position: relative; width: max-content; }
.tab { padding: 6px 0; color: var(--ink-2); transition: color .2s; }
.tab.on { color: var(--ink); }
.tab-blob { position: absolute; bottom: 0; left: 0; height: 2px; background: var(--ink); transition: transform .55s var(--spring), width .55s var(--spring); }
.shot-wrap { perspective: 1800px; }
.shot { position: relative; aspect-ratio: 1600 / 894; overflow: hidden; border-radius: 14px; background: #1a1a1a; transform-origin: 50% 0; will-change: transform; }
.shot img, .shot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transition: opacity .5s; }
.shot img.on, .shot video.on { opacity: 1; }
.shot-playhead { position: absolute; z-index: 2; top: 6.8%; height: 64%; width: 2px; left: 38.8%; pointer-events: none; background: #ededed; box-shadow: 0 0 10px 1px rgba(237,237,237,.35); animation: sweep 9s linear infinite; transition: opacity .4s; }
.shot-playhead::before { content: ""; position: absolute; top: -2px; left: -5px; border: 6px solid transparent; border-top-color: #ededed; }
.shot-playhead.off { opacity: 0; }
@keyframes sweep { to { left: 77.4%; } }

/* numbered groups (after Live 13's "What's new") */
.group { padding-top: clamp(40px, 5vw, 70px); }
.group-head { display: grid; grid-template-columns: 44px 1fr; align-items: baseline; }
.group-head .n { font-size: 13px; color: var(--ink-2); }
.group-head h2, .group-list a { font-size: clamp(30px, 3.6vw, 52px); letter-spacing: -.025em; line-height: 1.2; font-family: var(--font-head); }
.group-list { display: grid; grid-template-columns: 44px 1fr 1fr; margin: 4px 0 30px; }
.group-list a { position: relative; color: var(--ink-4); border-bottom: 1.5px solid var(--line); padding: 4px 0; transition: color .25s; }
.group-list a:nth-child(odd) { grid-column: 2; } .group-list a:nth-child(even) { grid-column: 3; padding-left: 20px; }
.group-list a:hover, .group-list a.on { color: var(--ink); }
.group-list a.on::before { content: "\2022"; position: absolute; left: -38px; }
.group-list a:nth-child(even).on::before { left: -18px; }
.group-stage { position: relative; margin-left: 44px; }

/* demos: the app's own dark look, flat */
.stage { position: relative; background: var(--app); color: var(--app-text); }
.caption { position: absolute; left: 30px; top: calc(100% - 16px); width: 280px; padding: 16px 18px 20px; font-size: 14px; z-index: 6; background: var(--c, var(--lilac)); color: #111; }
.caption b { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid rgba(0,0,0,.25); }
.caption p { margin: 0; }

.studio { position: relative; overflow: hidden; background: var(--app); }
.studio-bar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--app-panel); border-bottom: 1px solid #1a1a1a; font-size: 13px; color: var(--app-text); }
.dots { display: flex; gap: 6px; margin-right: 8px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #555; }
.dots i:nth-child(1) { background: #e8584f; } .dots i:nth-child(2) { background: #e6cf5c; } .dots i:nth-child(3) { background: #8fd0a6; }
.play-btn { width: 30px; height: 24px; border-radius: 3px; background: #3a3a3a; display: grid; place-items: center; transition: background .2s; }
.play-btn svg { width: 14px; height: 14px; fill: var(--app-strong); }
.play-btn .ic-stop { display: none; }
.play-btn.on { background: #F2B13A; } .play-btn.on svg { fill: #1a1a1a; }
.play-btn.on .ic-play { display: none; } .play-btn.on .ic-stop { display: inline; }
.pill { background: #1f1f1f; padding: 3px 9px; border-radius: 3px; }
.mono { font-variant-numeric: tabular-nums; }
.studio-hint { margin-left: 10px; color: var(--app-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .3s; }
.studio-hint.lit { color: var(--accent); }
.presence { margin-left: auto; display: flex; }
.av { width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; background: var(--c); color: #1a1a1a; font-size: 11px; font-weight: 700; border: 2px solid var(--app-panel); margin-left: -6px; }
.av.talk { box-shadow: 0 0 0 2px var(--c); animation: talk 1.2s ease-in-out infinite; }
@keyframes talk { 50% { box-shadow: 0 0 0 5px rgba(143,208,166,.25); } }
#studioCanvas { display: block; width: 100%; height: 460px; touch-action: pan-y; cursor: grab; }
#studioCanvas.grabbing { cursor: grabbing; }

.together-stage { position: relative; height: 440px; overflow: hidden; }
.ts-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #2e2e2e; font-size: 14px; }
.ts-title { color: var(--app-strong); font-weight: 500; }
.ts-live { display: flex; align-items: center; gap: 8px; color: var(--green); font-size: 13px; }
.ts-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.ts-lanes { position: absolute; inset: 46px 0 52px 0; display: flex; flex-direction: column; }
.ts-lane { flex: 1; position: relative; border-bottom: 1px solid #1a1a1a; background-image: repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 1px), #2f2f2f calc(12.5% - 1px) 12.5%); }
.ts-lane b { position: absolute; left: 6px; bottom: 6px; font-size: 10px; font-weight: 700; color: var(--c); z-index: 4; background: rgba(26,26,26,.82); padding: 1px 7px; border-radius: 3px; }
.ts-clip { position: absolute; top: 4px; bottom: 4px; border-radius: 3px; overflow: hidden; background: color-mix(in srgb, var(--c) 32%, #262626); border-top: 12px solid var(--c); transform: scale(0); transition: transform .7s var(--spring), left .9s var(--spring); }
.ts-clip.in { transform: scale(1); }
.ts-clip.lift { transform: scale(1.05) translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.5); z-index: 3; }
.ts-clip svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ts-clip path { stroke: var(--c); fill: none; stroke-width: 1.5; }
.cursor { position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none; will-change: transform; }
.cursor svg { width: 18px; height: 18px; fill: var(--c); stroke: #1a1a1a; stroke-width: 1; }
.cursor span { position: absolute; left: 14px; top: 16px; background: var(--c); color: #1a1a1a; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 3px; white-space: nowrap; }
.bubble { position: absolute; z-index: 6; background: #fff; color: #1a1a1a; font-size: 13px; font-weight: 500; padding: 8px 12px; border-radius: 10px 10px 10px 2px; transform: scale(0); transform-origin: 0 100%; transition: transform .5s var(--spring); white-space: nowrap; pointer-events: none; }
.bubble.in { transform: scale(1); }
.voice { position: absolute; left: 14px; bottom: 12px; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--app-dim); }
.voice .av { margin: 0; position: relative; z-index: 1; }
.voice .ring { position: absolute; left: 0; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--green); animation: ring 1.4s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }

.crate-stage { position: relative; height: 440px; display: grid; place-items: center; background: var(--mint); }
.card-fan { position: relative; width: 220px; height: 290px; }
.pack { position: absolute; inset: 0; overflow: hidden; cursor: pointer; background: #1f1f1f; transition: transform .7s var(--spring); will-change: transform; }
.pack .cover { height: 196px; position: relative; overflow: hidden; }
.pack .cover svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pack .meta { padding: 12px 14px; }
.pack .meta b { display: block; color: #ededed; font-size: 15px; font-weight: 500; }
.pack .meta span { font-size: 12px; color: #9e9e9e; }
.pack .tag { position: absolute; right: 12px; bottom: 14px; font-size: 11px; padding: 2px 8px; background: rgba(62,207,169,.18); color: #3ecfa9; font-weight: 600; }
.fan-hint { position: absolute; left: 20px; bottom: 16px; font-size: 13px; margin: 0; }

.history-stage { display: grid; grid-template-columns: 1fr 300px; }
.hs-song { position: relative; height: 320px; display: flex; flex-direction: column; border-right: 1px solid #1a1a1a; }
.hs-lane { flex: 1; position: relative; border-bottom: 1px solid #1a1a1a; background-image: repeating-linear-gradient(90deg, transparent 0 calc(6.25% - 1px), #2f2f2f calc(6.25% - 1px) 6.25%); }
.hs-clip { position: absolute; top: 5px; bottom: 5px; border-radius: 3px; overflow: hidden; background: linear-gradient(var(--c) 0 13px, color-mix(in srgb, var(--c) 32%, #262626) 13px); transition: transform .6s var(--spring), opacity .35s; }
.hs-clip.gone { transform: scale(.2) rotate(-6deg); opacity: 0; }
.hs-clip .who { position: absolute; top: 0; left: 5px; font-size: 10px; line-height: 13px; color: #1a1a1a; font-weight: 600; }
.hs-side { background: #2a2a2a; max-height: 320px; overflow: hidden; }
.hs-list { padding: 10px; display: flex; flex-direction: column; gap: 2px; }
.hs-item { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: center; padding: 8px 10px; font-size: 13px; cursor: pointer; transition: background .25s, transform .45s var(--spring), opacity .3s; }
.hs-item:hover { background: rgba(255,255,255,.04); transform: translateX(4px); }
.hs-item .av { margin: 0; width: 22px; height: 22px; font-size: 10px; border: 0; }
.hs-item b { color: var(--app-strong); font-weight: 500; display: block; }
.hs-item small { color: var(--app-dim); font-size: 12px; }
.hs-item.cur { background: rgba(242,177,58,.14); box-shadow: inset 2px 0 0 var(--accent); }
.hs-item.future { opacity: .35; }
.hs-slider { grid-column: 1 / -1; padding: 16px 20px 18px; background: #2e2e2e; }
.hs-slider input { width: 100%; appearance: none; -webkit-appearance: none; height: 26px; background: transparent; cursor: pointer; }
.hs-slider input::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(90deg, var(--accent) var(--p, 100%), #444 var(--p, 100%)); }
.hs-slider input::-moz-range-track { height: 4px; background: #444; }
.hs-slider input::-moz-range-progress { height: 4px; background: var(--accent); }
.hs-slider input::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7px; border-radius: 50%; background: #fff; transition: transform .4s var(--spring); }
.hs-slider input:active::-webkit-slider-thumb { transform: scale(1.3); }
.hs-slider input::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: #fff; }
.hs-ticks { display: flex; justify-content: space-between; padding: 0 7px; margin-top: 2px; }
.hs-ticks i { width: 6px; height: 6px; border-radius: 50%; background: var(--c); transition: transform .4s var(--spring); }
.hs-ticks i.cur { transform: scale(1.8); }
.hs-now { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 14px; color: var(--app-strong); }
.hs-now .btn { background: var(--accent); color: #1a1a1a; }

.chord-stage { padding: 18px; }
.chord-roll { position: relative; height: 260px; overflow: hidden; background: #1f1f1f; background-image: repeating-linear-gradient(0deg, transparent 0 calc(100%/24 - 1px), #262626 calc(100%/24 - 1px) calc(100%/24)), repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 1px), #2c2c2c calc(12.5% - 1px) 12.5%); }
.cnote { position: absolute; height: calc(100% / 24 + 1px); border-radius: 2px; background: var(--violet); box-shadow: 0 0 0 1px rgba(0,0,0,.4) inset; transition: top .7s var(--spring); will-change: top, transform; }
.cnote.hit { animation: hit .5s var(--spring); }
@keyframes hit { 30% { transform: scaleY(1.7) scaleX(1.05); filter: brightness(1.5); } }
.chord-label { display: flex; gap: 10px; align-items: center; margin: 14px 0; font-size: 14px; color: var(--app-dim); }
.chord-label b { color: var(--app-strong); display: inline-block; }
.chord-label .arrow { color: var(--violet); }
.chord-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.chip { padding: 8px 16px; background: #333; font-weight: 500; font-size: 15px; color: var(--app-text); transition: transform .45s var(--spring), background .25s, color .25s; }
.chip:hover { transform: translateY(-3px); }
.chip:active { transform: scale(.9); }
.chip.on { background: var(--violet); color: #1a1a1a; }
.chord-stage .btn { background: #3a3a3a; color: var(--app-strong); }
.chord-stage .btn:hover { background: var(--violet); color: #1a1a1a; }

.listen-stage { background: var(--sky); padding: clamp(30px, 5vw, 70px); }
.listen-card { background: #fff; color: #1a1a1a; max-width: 640px; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.lc-url { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #f1f1f1; font-size: 13px; color: #666; }
.lc-url svg { width: 12px; height: 12px; fill: #6a6a6a; }
.lc-body { padding: 22px; }
.lc-top { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.lc-play { width: 52px; height: 52px; border-radius: 50%; background: #1a1a1a; display: grid; place-items: center; transition: transform .4s var(--spring); flex: none; }
.lc-play:hover { transform: scale(1.08); } .lc-play:active { transform: scale(.9); }
.lc-play svg { width: 20px; height: 20px; fill: #fff; margin-left: 3px; }
.lc-play.on svg { margin: 0; }
.lc-title { font-weight: 500; font-size: 20px; }
.lc-sub { font-size: 13px; color: #777; }
.lc-wave { position: relative; height: 90px; display: flex; align-items: center; gap: 2px; cursor: pointer; margin-bottom: 18px; }
.lc-wave i { flex: 1; background: #d6d6d6; transition: background .2s; transform-origin: center; }
.lc-wave i.past { background: #1a1a1a; }
.lc-pins { position: absolute; left: 0; right: 0; bottom: -10px; height: 0; }
.lc-pin { position: absolute; transform: translateX(-50%); }
.lc-pin .av { margin: 0; width: 20px; height: 20px; font-size: 9px; border: 2px solid #fff; cursor: pointer; transition: transform .4s var(--spring); }
.lc-pin:hover .av { transform: scale(1.3) translateY(-3px); }
.lc-pin .tip { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%) scale(0); transform-origin: 50% 100%; background: #1a1a1a; color: #fff; font-size: 12px; padding: 6px 10px; white-space: nowrap; transition: transform .4s var(--spring); pointer-events: none; }
.lc-pin:hover .tip, .lc-pin.show .tip { transform: translateX(-50%) scale(1); }
.lc-pin.new .av { animation: pinDrop .8s var(--spring); }
@keyframes pinDrop { from { transform: translateY(-60px) scale(.3); } }
.lc-comment { display: flex; gap: 8px; align-items: center; margin-top: 36px; }
.lc-comment .av { margin: 0; border: 0; }
.lc-comment input { flex: 1; min-width: 0; border: 1px solid #ccc; padding: 10px 12px; font: inherit; font-size: 14px; outline: none; background: #fff; color: #1a1a1a; border-radius: 0; }
.lc-comment input:focus { border-color: #1a1a1a; }
.lc-made { font-size: 12px; color: #999; padding: 10px 22px; border-top: 1px solid #eee; }

/* ============ WHAT IT DOES ============ */
.chapter { padding: clamp(60px, 8vw, 120px) 0 10px; scroll-margin-top: 120px; }
.chapter-title { padding: 0 var(--pad); max-width: var(--max); margin: 0 auto 10px; }
.chapter-title .n { display: block; font-size: 14px; color: var(--ink-2); margin-bottom: 6px; }
.chapter-title p { font-size: 20px; color: var(--ink-2); max-width: 640px; margin-top: 14px; }
.b-viz { position: relative; height: 380px; background: var(--app); overflow: hidden; }
.shot-mini { background: #1a1a1a; }
.shot-mini img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.devices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(24px, 4vw, 60px); }
.dev { padding: 14px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 180px 1fr; gap: 16px; font-size: 16px; }
.dev b { font-weight: 500; display: inline-block; transition: transform .45s var(--spring); }
.dev:hover b { transform: translateX(6px); }
.dev span { color: var(--ink-2); }
.fx-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 clamp(20px, 3vw, 48px); }
.fx-col h4 { margin: 0 0 6px; font-size: 13px; font-weight: 500; color: var(--ink-2); padding-bottom: 10px; border-bottom: 1.5px solid var(--ink); }
.fx-col a { display: block; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 16px; transition: transform .45s var(--spring); }
.fx-col a:hover { transform: translateX(6px); }

.viz-capture { display: flex; align-items: flex-end; gap: 8px; padding: 50px 40px; }
.viz-capture i { flex: 1; background: var(--blue); transform-origin: bottom; animation: cap 2.4s var(--spring) infinite; }
.viz-capture i:nth-child(odd) { background: var(--violet); }
.viz-capture i:nth-child(1) { height: 40%; } .viz-capture i:nth-child(2) { height: 70%; animation-delay: .1s; } .viz-capture i:nth-child(3) { height: 55%; animation-delay: .2s; } .viz-capture i:nth-child(4) { height: 85%; animation-delay: .3s; }
.viz-capture i:nth-child(5) { height: 45%; animation-delay: .4s; } .viz-capture i:nth-child(6) { height: 65%; animation-delay: .5s; } .viz-capture i:nth-child(7) { height: 35%; animation-delay: .6s; } .viz-capture i:nth-child(8) { height: 75%; animation-delay: .7s; }
@keyframes cap { 0%, 20% { transform: scaleY(.1); opacity: .3; } 45%, 100% { transform: none; opacity: 1; } }
.viz-capture span { position: absolute; top: 16px; right: 16px; font-size: 12px; font-weight: 600; color: #1a1a1a; background: var(--accent); padding: 3px 10px; animation: blink 2.4s infinite; }
.viz-warp { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 40px; }
.viz-warp .wv { height: 50px; background: repeating-linear-gradient(90deg, var(--accent) 0 3px, transparent 3px 7px); width: 100%; transform-origin: left; animation: warp 3s var(--spring) infinite alternate; }
.viz-warp .w2 { background: repeating-linear-gradient(90deg, var(--green) 0 3px, transparent 3px 7px); animation: none; }
@keyframes warp { 0%, 30% { transform: scaleX(.6); } 70%, 100% { transform: none; } }
.viz-warp .bpm { position: absolute; right: 18px; top: 14px; font-weight: 500; color: var(--app-strong); }
.viz-bubbles { display: grid; place-items: center; }
.viz-bubbles .q { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #1a1a1a; font-weight: 700; font-size: 22px; z-index: 1; font-family: var(--font-head); }
.viz-bubbles i { position: absolute; left: 50%; top: 50%; padding: 6px 12px; border-radius: 999px; background: #3a3a3a; color: var(--app-strong); font-style: normal; font-size: 13px; transform: translate(-50%,-50%) rotate(var(--a)) translateY(-100px) rotate(calc(-1 * var(--a))); animation: bub 3s var(--spring) infinite; }
@keyframes bub { 0%, 15% { transform: translate(-50%,-50%) scale(0); } 35%, 100% { transform: translate(-50%,-50%) rotate(var(--a)) translateY(-100px) rotate(calc(-1 * var(--a))); } }
.viz-cursors { padding: 40px 30px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.viz-cursors .lane { height: 44px; background: #2f2f2f; position: relative; overflow: hidden; }
.viz-cursors .lane::after { content: ""; position: absolute; top: 0; bottom: 0; left: 10%; width: 40%; background: color-mix(in srgb, var(--blue) 40%, #262626); border-top: 8px solid var(--blue); transform-origin: left; animation: grow 4s var(--spring) infinite; }
.viz-cursors .lane:nth-child(4)::after { background: color-mix(in srgb, #F0A35E 40%, #262626); border-color: #F0A35E; left: 30%; animation-delay: 1s; }
.viz-cursors .lane:nth-child(5)::after { background: color-mix(in srgb, var(--green) 40%, #262626); border-color: var(--green); left: 50%; animation-delay: 2s; }
@keyframes grow { 0% { transform: scaleX(0); } 25%, 100% { transform: none; } }
.viz-cursors span { position: absolute; left: 0; top: 0; z-index: 2; font-size: 11px; font-weight: 700; color: #1a1a1a; padding: 2px 8px; }
.viz-cursors .c1 { background: var(--accent); animation: c1 5s ease-in-out infinite; }
.viz-cursors .c2 { background: var(--blue); animation: c2 6s ease-in-out infinite; }
@keyframes c1 { 0%, 100% { transform: translate(120px, 90px); } 50% { transform: translate(380px, 200px); } }
@keyframes c2 { 0%, 100% { transform: translate(440px, 60px); } 50% { transform: translate(200px, 250px); } }
.viz-voice { display: grid; place-items: center; }
.viz-voice .face { width: 76px; height: 76px; border-radius: 50%; background: var(--green); color: #1a1a1a; font-weight: 700; font-size: 26px; display: grid; place-items: center; z-index: 1; font-family: var(--font-head); }
.viz-voice .ring { position: absolute; width: 76px; height: 76px; border-radius: 50%; border: 3px solid var(--green); animation: ring 1.6s ease-out infinite; }
.viz-voice .r2 { animation-delay: .8s; }
.viz-voice small { position: absolute; bottom: 24px; color: var(--app-dim); font-size: 13px; }
.viz-undo { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 40px; }
.viz-undo .u { padding: 16px; font-weight: 500; color: #1a1a1a; }
.viz-undo .you { background: var(--accent); animation: undo 3.2s var(--spring) infinite; transform-origin: left; }
.viz-undo .them { background: var(--blue); }
.viz-undo kbd { position: absolute; right: 18px; top: 14px; font: 600 14px var(--font-body); color: var(--app-strong); background: #3a3a3a; padding: 4px 10px; animation: press 3.2s infinite; }
@keyframes undo { 0%, 40% { transform: none; opacity: 1; } 55%, 85% { transform: scaleX(0); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes press { 0%, 38%, 50%, 100% { transform: none; } 44% { transform: scale(.85); background: var(--accent); color: #1a1a1a; } }
.viz-key { display: grid; place-items: center; }
.viz-key b { font-size: 34px; font-weight: 500; color: var(--app-strong); z-index: 1; font-family: var(--font-head); }
.viz-key i { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px; border-radius: 50%; background: #333; display: grid; place-items: center; font-style: normal; font-weight: 600; font-size: 13px; color: var(--accent); animation: orbit 14s linear infinite; }
.viz-key i:nth-of-type(1) { --o: 0deg; } .viz-key i:nth-of-type(2) { --o: 51deg; } .viz-key i:nth-of-type(3) { --o: 103deg; } .viz-key i:nth-of-type(4) { --o: 154deg; }
.viz-key i:nth-of-type(5) { --o: 206deg; } .viz-key i:nth-of-type(6) { --o: 257deg; background: var(--accent); color: #1a1a1a; } .viz-key i:nth-of-type(7) { --o: 309deg; }
@keyframes orbit { from { transform: rotate(var(--o)) translateY(-110px) rotate(calc(-1 * var(--o))); } to { transform: rotate(calc(var(--o) + 360deg)) translateY(-110px) rotate(calc(-1 * (var(--o) + 360deg))); } }
.viz-chords { display: flex; align-items: center; justify-content: center; gap: 12px; }
.viz-chords span { width: 70px; height: 70px; display: grid; place-items: center; background: #333; font-weight: 500; font-size: 22px; color: var(--app-strong); animation: chordlit 4s infinite; font-family: var(--font-head); }
.viz-chords span:nth-child(2) { animation-delay: 1s; } .viz-chords span:nth-child(3) { animation-delay: 2s; } .viz-chords span:nth-child(4) { animation-delay: 3s; }
@keyframes chordlit { 0%, 24% { background: var(--violet); color: #1a1a1a; transform: translateY(-10px); } 26%, 100% { background: #333; color: var(--app-strong); transform: none; } }
.viz-stems { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 36px; }
.viz-stems div { padding: 10px 12px; background: color-mix(in srgb, var(--c) 35%, #262626); border-left: 4px solid var(--c); font-size: 13px; font-weight: 500; color: var(--app-strong); animation: stem 3.6s var(--spring) infinite; }
.viz-stems div:nth-child(2) { animation-delay: .12s; } .viz-stems div:nth-child(3) { animation-delay: .24s; } .viz-stems div:nth-child(4) { animation-delay: .36s; }
@keyframes stem { 0%, 15% { transform: scaleY(.4) translateX(-8px); opacity: .4; } 40%, 100% { transform: none; opacity: 1; } }
.viz-safe { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 36px; }
.viz-safe .room { padding: 13px 14px; background: #303030; border: 1px dashed #4a4a4a; font-weight: 500; font-size: 14px; color: var(--app-strong); }
.viz-safe .bad { animation: crash 3s infinite; }
@keyframes crash { 0%, 40% { transform: none; border-color: #4a4a4a; } 45% { transform: translateX(-6px) rotate(-1deg); border-color: #e8584f; } 50% { transform: translateX(6px) rotate(1deg); } 55%, 85% { transform: none; opacity: .35; border-color: #e8584f; } 100% { opacity: 1; } }
.viz-safe .still { position: absolute; right: 16px; top: 14px; font-size: 12px; font-weight: 600; color: var(--green); }
.viz-big { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; padding: 20px; align-content: center; }
.viz-big i { height: 12px; background: var(--c); opacity: .85; animation: bigpop 1.6s cubic-bezier(.45, 0, .3, 1) var(--d) infinite alternate both; transform-origin: left; will-change: transform; }
/* (Will 11-27: the bars blinked out when they started again: now they breathe between short and full, never gone) */
@keyframes bigpop { from { transform: scaleX(.3); } to { transform: none; } }
.viz-link { background: #fff !important; display: flex; align-items: center; padding: 0 30px; box-shadow: inset 0 0 0 1px var(--line); }
.viz-link .bars { display: flex; align-items: center; gap: 3px; width: 100%; height: 120px; }
.viz-link .bars i { flex: 1; background: #1a1a1a; animation: lbar 1.8s ease-in-out infinite alternate; }
.viz-link .bars i:nth-child(3n) { animation-delay: .3s; } .viz-link .bars i:nth-child(3n+1) { animation-delay: .6s; }
@keyframes lbar { to { transform: scaleY(.7); } }
.viz-link .pin { position: absolute; bottom: 60px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #1a1a1a; background: var(--blue); border: 2px solid #fff; animation: pinb 2.5s var(--spring) infinite; }
.viz-link .pin + .pin { background: var(--green); animation-delay: .6s; }
@keyframes pinb { 0%, 20% { transform: translateY(-50px) scale(.3); opacity: 0; } 45%, 100% { transform: none; opacity: 1; } }
.viz-export { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 40px; align-content: center; }
.viz-export span { padding: 18px 12px; background: #303030; font-size: 14px; color: var(--app-strong); text-align: center; animation: drop 3s var(--spring) infinite; }
.viz-export span:nth-child(2) { animation-delay: .15s; } .viz-export span:nth-child(3) { animation-delay: .3s; } .viz-export span:nth-child(4) { animation-delay: .45s; }
@keyframes drop { 0%, 10% { transform: translateY(-30px) scale(.6); opacity: 0; } 35%, 100% { transform: none; opacity: 1; } }
.viz-knobs { display: flex; align-items: center; justify-content: center; gap: 22px; }
.viz-knobs i { width: 60px; height: 60px; border-radius: 50%; border: 4px solid #1f1f1f; border-top-color: var(--accent); border-right-color: var(--accent); animation: spin 2.8s var(--spring) infinite; }
.viz-knobs i:nth-child(2) { animation-delay: .3s; border-top-color: var(--blue); border-right-color: var(--blue); }
.viz-knobs i:nth-child(3) { animation-delay: .6s; border-top-color: var(--green); border-right-color: var(--green); }
.viz-knobs i:nth-child(4) { animation-delay: .9s; border-top-color: var(--violet); border-right-color: var(--violet); }
.viz-share { display: grid; place-items: center; }
.viz-share .mini-pack { width: 130px; height: 150px; background: #1f1f1f; border-top: 70px solid #3ecfa9; animation: breathe 3s ease-in-out infinite; }
.viz-share .heart { position: absolute; left: 50%; bottom: 50px; color: #e8584f; font-size: 22px; animation: heart 2.4s ease-out infinite; font-family: var(--font-head); }
.viz-share .h2 { animation-delay: .8s; margin-left: 30px; } .viz-share .h3 { animation-delay: 1.6s; margin-left: -34px; }
@keyframes heart { 0% { transform: translateY(0) scale(.4); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(-150px) scale(1.2) rotate(15deg); opacity: 0; } }

/* ============ CRATE ============ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 4vw, 60px); }
.step { padding: 22px 0 30px; border-top: 1.5px solid var(--ink); }
.step b { display: block; font-size: clamp(56px, 6vw, 88px); font-weight: 500; line-height: 1; letter-spacing: -.04em; color: var(--c); margin-bottom: 20px; transition: transform .5s var(--spring); transform-origin: left bottom; font-family: var(--font-head); }
.step:hover b { transform: rotate(-6deg) scale(1.06); }
.step p { color: var(--ink-2); font-size: 16px; }
.pack-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 20px; }
.pk { text-align: left; transition: transform .5s var(--spring); }
.pk:hover { transform: translateY(-6px); }
.pk-cover { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: #1f1f1f; }
.pk-cover svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pk-play { position: absolute; left: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; background: var(--c); color: #1a1a1a; display: grid; place-items: center; font-size: 14px; transform: scale(0); transition: transform .45s var(--spring); }
.pk:hover .pk-play { transform: scale(1); }
.pk b { display: block; padding-top: 12px; font-size: 16px; font-weight: 500; }
.pk small { display: block; color: var(--ink-2); font-size: 14px; }
.pk.hit .pk-cover { animation: pkhit .6s var(--spring); }
@keyframes pkhit { 30% { transform: scale(1.04) rotate(-1.5deg); filter: brightness(1.3); } }

/* ============ LEARN ============ */
.progress { position: relative; height: 6px; background: var(--line); margin: 0 0 8px; }
.progress-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--ink); transition: width .8s var(--spring); }
.progress-text { font-size: 14px; color: var(--ink-2); margin-bottom: 24px; }
.steps-list { display: flex; flex-direction: column; }
.fs { display: grid; grid-template-columns: 44px 56px 1fr; gap: 10px; align-items: start; padding: 22px 0; border-top: 1px solid var(--line); }
.fs:last-child { border-bottom: 1px solid var(--line); }
.fs .n { font-size: 14px; color: var(--ink-2); padding-top: 4px; }
.fs h3 { font-size: 22px; margin: 0 0 4px; transition: color .3s; font-family: var(--font-head); }
.fs p { margin: 0; color: var(--ink-2); font-size: 16px; max-width: 640px; }
.fs-tick { width: 30px; height: 30px; border: 1.5px solid var(--ink); display: grid; place-items: center; transition: background .25s, transform .5s var(--spring); }
.fs-tick:hover { transform: scale(1.1); }
.fs-tick:active { transform: scale(.85); }
.fs-tick svg { width: 18px; height: 18px; fill: none; stroke: var(--paper); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .4s .1s; }
.fs.done .fs-tick { background: var(--ink); animation: tickpop .6s var(--spring); }
.fs.done .fs-tick svg { stroke-dashoffset: 0; }
.fs.done h3 { color: var(--ink-3); text-decoration: line-through; }
@keyframes tickpop { 40% { transform: scale(1.25) rotate(-10deg); } }
.keyshow { padding: 40px 30px; background: var(--butter); color: #111; margin-bottom: 30px; outline: none; }
.keyshow.hit { animation: showhit .45s var(--spring); }
@keyframes showhit { 30% { transform: scale(1.01); } }
.caps { display: flex; gap: 10px; min-height: 66px; align-items: center; flex-wrap: wrap; }
.cap { display: inline-grid; place-items: center; min-width: 62px; height: 62px; padding: 0 16px; font: 500 24px var(--font-body); color: #111; background: #fff; box-shadow: 0 4px 0 #111; border: 1.5px solid #111; animation: capin .5s var(--spring) var(--d, 0ms) both; }
.cap.ghost { font-size: 16px; color: #555; animation: none; box-shadow: none; border: 1.5px dashed var(--ink-3); background: transparent; }
@keyframes capin { from { transform: translateY(-24px) scale(.6); opacity: 0; } }
.key-what { margin-top: 18px; font-size: clamp(20px, 2vw, 28px); min-height: 34px; font-family: var(--font-head); }
.utabs { display: flex; gap: 24px; margin-bottom: 10px; position: relative; font-size: 16px; width: max-content; max-width: 100%; }
.utabs button { padding: 6px 0; color: var(--ink-2); white-space: nowrap; }
.utabs button.on { color: var(--ink); }
.utabs .seg-blob { position: absolute; bottom: 0; left: 0; height: 2px; background: var(--ink); transition: transform .55s var(--spring), width .55s var(--spring); }
.key-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(20px, 3vw, 48px); }
.kc { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center; text-align: left; padding: 14px 6px 14px 0; border-top: 1px solid var(--line); transition: background .25s; }
.kc.lit { background: var(--butter); color: #111; }
.kc.jig .kc-caps { animation: jig .55s var(--spring); }
.kc.rein { animation: capin .45s var(--spring) both; }
@keyframes jig { 25% { transform: rotate(-4deg) scale(1.07); } 55% { transform: rotate(3deg) scale(1.03); } }
.kc-caps { display: flex; gap: 4px; }
.kc kbd { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; font: 500 13px var(--font-body); border: 1px solid var(--ink); background: var(--paper); color: var(--ink); }
.kc.lit kbd { background: #111; color: #fff; border-color: #111; }
.kc-what { font-size: 15px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 20px; }
.gd { display: block; text-align: left; transition: transform .5s var(--spring); }
.gd:hover { transform: translateY(-6px); }
.gd-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--c); overflow: hidden; }
.gd-wave { position: absolute; left: -10%; right: -10%; top: 50%; height: 40px; margin-top: -20px; background: repeating-linear-gradient(90deg, rgba(0,0,0,.3) 0 3px, transparent 3px 9px); transition: transform 1.2s var(--soft); }
.gd:hover .gd-wave { transform: translateX(8%) scaleY(1.6); }
.gd-play { position: absolute; left: 16px; bottom: 16px; width: 50px; height: 50px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 16px; transition: transform .5s var(--spring); }
.gd:hover .gd-play { transform: scale(1.15); }
.gd-thumb em { position: absolute; right: 12px; top: 12px; font-style: normal; font-size: 12px; font-weight: 500; background: #fff; padding: 2px 8px; }
.gd b { display: block; padding-top: 12px; font-size: 18px; font-weight: 500; }
.gd small { display: block; color: var(--ink-2); font-size: 14px; }
.gd-book { position: absolute; inset: 20% 32%; background: #fff; display: grid; place-items: center; font-weight: 500; font-size: 15px; box-shadow: -6px 0 0 #d0d0d0; transition: transform .6s var(--spring); }
/* Go deeper: a card with a real lesson plays it in its thumb; click opens it big */
.gd-has video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; background: #262626; }
.gd-has .gd-play { opacity: .9; }
.gd-big { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: rgba(17,17,17,0); pointer-events: none; transition: background .35s; }
.gd-big.on { background: rgba(17,17,17,.82); pointer-events: auto; }
.gd-big-box { width: min(1200px, 100%); background: #111; transform: translate(var(--fx, 0), var(--fy, 0)) scale(.25); opacity: 0; transition: transform .55s var(--spring), opacity .25s; }
.gd-big.on .gd-big-box { transform: none; opacity: 1; }
.gd-big video { display: block; width: 100%; aspect-ratio: 1600 / 894; background: #262626; }
.gd-big-bar { display: flex; align-items: center; gap: 18px; padding: 12px 16px; color: #f1f1f1; }
.gd-big-bar b { font-weight: 500; font-size: 18px; margin-right: auto; }
.gd-big-bar .more { color: #f1f1f1; }
.gd-big-steps { list-style: none; margin: 0; padding: 4px 16px 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 6px 18px; color: #9e9e9e; font-size: 14px; }
.gd-big-steps li { display: flex; gap: 10px; cursor: pointer; padding: 6px 0; border-top: 1.5px solid #333; transition: color .25s, border-color .25s; }
.gd-big-steps li.on { color: #f1f1f1; border-top-color: var(--gold); }
.gd-big-steps .n { font-weight: 500; }
.gd-big-box { max-height: calc(100vh - 48px); overflow: auto; }
.gd-big-bar .more[hidden] { display: none; }
.gd-x { font-size: 28px; line-height: 1; color: #f1f1f1; transition: transform .4s var(--spring); font-family: var(--font-head); }
.gd-x:hover { transform: rotate(90deg) scale(1.15); }
.gd-manual:hover .gd-book { transform: rotate(-6deg) scale(1.06); }

/* ============ BUY ============ */
.shop-top { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.shop-top h1 { font-size: clamp(56px, 7vw, 96px); font-family: var(--font-head); }
.shop-top .side p { font-size: 20px; line-height: 1.4; margin-top: 18px; }
.signin-box { background: var(--butter); padding: 20px; text-align: center; font-size: 16px; margin-bottom: 26px; }
.signin-box a { border-bottom: 1.5px solid currentColor; }
.signin-box a::after { content: " \203A"; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ed { display: flex; flex-direction: column; min-height: 520px; transition: transform .5s var(--spring); }
.ed:hover { transform: translateY(-6px); }
.ed-flag { background: var(--gold); padding: 10px 18px; font-size: 13px; font-weight: 500; text-align: center; }
.ed-body { flex: 1; padding: 26px 26px 30px; display: flex; flex-direction: column; background: var(--c); }
.ed.dark .ed-body { background: var(--dark); color: #fff; }
.ed h3, .ed h2.ed-h { font-size: 32px; line-height: 1.1; margin-bottom: 12px; color: inherit; font-family: var(--font-head); }
.ed-tag { font-size: 15px; margin-bottom: 26px; opacity: .85; }
.ed-price { display: flex; align-items: baseline; gap: 6px; font-size: 18px; margin-top: auto; }
.ed-price .num { font-size: 54px; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; font-family: var(--font-head); }
.ed.bump .ed-price { animation: bump .6s var(--spring); }
@keyframes bump { 30% { transform: scale(1.08) rotate(-2deg); } }
.ed-sub { font-size: 14px; opacity: .75; margin: 2px 0 18px; }
.ed .btn { width: 100%; }
.ed.dark .btn { background: var(--gold); color: var(--ink); }
.ed.dark .btn:hover { background: #fff; }
.ed ul { list-style: none; padding: 0; margin: 26px 0 0; font-size: 15px; }
.ed li { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid rgba(0,0,0,.15); }
.ed.dark li { border-color: rgba(255,255,255,.15); }
.ed li::before { content: "\2713"; font-weight: 700; }
.ev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 4vw, 60px); }
.ev { padding: 20px 0 36px; border-top: 1.5px solid var(--ink); }
.ev h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; margin-bottom: 12px; }
.ev h3 i { width: 12px; height: 12px; background: var(--c); transition: transform .5s var(--spring); }
.ev:hover h3 i, .ev.jig h3 i { transform: rotate(45deg) scale(1.2); }
.ev h3 small { margin-left: auto; font-size: 14px; color: var(--ink-2); font-weight: 400; }
.ev ul { list-style: none; margin: 0; padding: 0; }
.ev li { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.ev li::before { content: "\2713"; transform: scale(0); transition: transform .5s var(--spring); }
.ev li.in::before { transform: none; }
.ev li .ck { display: none; }
.faq-list { border-top: 1.5px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 18px 0; font-size: 18px; display: flex; justify-content: space-between; gap: 20px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 24px; line-height: 1; transition: transform .5s var(--spring); font-family: var(--font-head); }
.faq-list details[open] summary::after { transform: rotate(135deg); }
.faq-list details p { margin: 0; padding: 0 0 20px; color: var(--ink-2); max-width: 760px; animation: faqIn .5s var(--soft); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } }
.req-card ul { margin: 0; padding-left: 20px; font-size: 16px; }
.req-card li { padding: 4px 0; }
.req-card p { margin: 0; }

/* ============ FOOTER ============ */
.footer { padding: 80px 0 40px; border-top: 1px solid var(--line); }
.footer .wordmark { font-size: clamp(48px, 6vw, 80px); font-weight: 600; letter-spacing: -.04em; margin-bottom: 40px; line-height: 1; font-family: var(--font-head); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr) 1.4fr; gap: 30px; }
.footer-cols h2.fh { margin: 0 0 10px; font-size: 15px; font-weight: 500; line-height: 1.4; letter-spacing: 0; }
.footer-cols a { display: block; padding: 3px 0; font-size: 15px; color: var(--ink-2); transition: color .2s, transform .4s var(--spring); }
.footer-cols a::after { content: " \203A"; }
.footer-cols a:hover { color: var(--ink); transform: translateX(4px); }
.footer-cols p { font-size: 15px; color: var(--ink-2); margin: 0 0 10px; }
.news { display: flex; }
.news input { flex: 1; min-width: 0; padding: 11px 12px; border: 1px solid var(--ink-3); border-right: 0; font: inherit; font-size: 15px; border-radius: 0; outline: none; background: var(--paper); color: var(--ink); }
.news input:focus { border-color: var(--ink); }
.news .btn { padding: 11px 18px; font-size: 15px; }
.legal { display: flex; justify-content: space-between; gap: 20px; margin-top: 60px; font-size: 13px; color: var(--ink-2); flex-wrap: wrap; }

.toast { position: fixed; left: 50%; bottom: 30px; z-index: 60; padding: 13px 20px; background: var(--ink); color: #fff; font-weight: 500; font-size: 15px; transform: translate(-50%, 120px); transition: transform .6s var(--spring); pointer-events: none; }
.toast.in { transform: translate(-50%, 0); }

.menu-btn { display: none; width: 40px; height: 40px; position: relative; margin-left: auto; }
.menu-btn i { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--ink); transition: transform .5s var(--spring); }
.menu-btn i:first-child { top: 15px; } .menu-btn i:last-child { top: 23px; }
.menu-open .menu-btn i:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-btn i:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu-sheet { position: fixed; top: 64px; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; flex-direction: column; gap: 4px; padding: 30px var(--pad) 40px; background: var(--paper); opacity: 0; pointer-events: none; transition: opacity .3s; }
.menu-open .menu-sheet { opacity: 1; pointer-events: auto; }
.menu-open { overflow: hidden; }
.menu-sheet a { font-size: 40px; font-weight: 500; letter-spacing: -.03em; padding: 6px 0; border-bottom: 1px solid var(--line); transform: translateY(24px); opacity: 0; transition: transform .7s var(--spring) calc(var(--i) * 45ms), opacity .4s calc(var(--i) * 45ms); font-family: var(--font-head); }
.menu-sheet a.btn { font-size: 18px; margin-top: 24px; border: 0; color: #fff; width: max-content; }
.menu-open .menu-sheet a { transform: none; opacity: 1; }

.asleep, .asleep *, .asleep::before, .asleep::after, .asleep *::before, .asleep *::after { animation-play-state: paused !important; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

@media (max-width: 960px) {
  .nav-links, .bar-right { display: none; }
  .menu-btn { display: block; }
  .page-top .wrap, .shop-top { grid-template-columns: 1fr; }
  .row, .row.flip { grid-template-columns: 1fr; padding: 34px var(--pad); }
  .row.flip .text { order: 0; }
  .row .text { max-width: none; }
  .notes, .steps, .ev-grid, .key-grid, .guide-grid, .devices { grid-template-columns: 1fr; }
  .fx-cols { grid-template-columns: repeat(2, 1fr); }
  .pack-row { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; }
  .history-stage { grid-template-columns: 1fr; }
  .hs-song { height: 220px; border-right: 0; }
  .hs-side { max-height: 200px; overflow: auto; }
  .group-head, .group-list { grid-template-columns: 24px 1fr; }
  .group-list a:nth-child(odd), .group-list a:nth-child(even) { grid-column: 2; padding-left: 0; }
  .group-list a.on::before, .group-list a:nth-child(even).on::before { left: -20px; }
  .group-stage { margin-left: 0; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  #studioCanvas { height: 340px; }
  .studio-hint { display: none; }
  .caption { position: static; width: auto; }
  .dev { grid-template-columns: 1fr; gap: 2px; }
  .kc { grid-template-columns: 110px 1fr; }
  .b-viz { height: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01s !important; }
}

/* ============ LIGHT AND DARK (Will 11-27: "a dark and light feel to the whole website") ============
   Sections alternate white and near-black down every page; everything inside a dark one takes its colours from the
   same tokens, flipped. The header turns dark while it sits over a dark section (app.js). */
.on-dark, .site-head.head-dark { --paper: #111111; --ink: #f1f1f1; --ink-2: #a9a9a9; --ink-3: #8a8a8a; --ink-4: #6b6b6b; --line: #2b2b2b; }
.on-dark { background: var(--paper); color: var(--ink); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--ink); }
.on-dark .stage, .on-dark .b-viz:not(.viz-link) { box-shadow: inset 0 0 0 1px #2a2a2a; }
.on-dark .crate-stage { background: #1d2a23; }
.on-dark .fan-hint { color: var(--ink); }
.on-dark .listen-stage { background: #1b2530; }
.on-dark .pk-cover { box-shadow: inset 0 0 0 1px #2a2a2a; }
.site-head.head-dark { background: var(--paper); color: var(--ink); }
.site-head.head-dark .brand img { box-shadow: 0 0 0 1px #333; }
.site-head.head-dark .subbar { border-color: #262626; }
.site-head.head-dark.scrolled { box-shadow: 0 1px 0 #262626; }
.site-head.head-dark ~ .menu-sheet { background: #111; }
.dark-top { padding-top: clamp(70px, 9vw, 140px); }

/* ============ WHAT'S NEW, DOWNLOAD, SIGN IN, PRIVACY, TERMS ============ */
.legal-links { display: flex; gap: 20px; }
.legal-links a { color: var(--ink-2); transition: color .2s; }
.legal-links a:hover { color: var(--ink); }
.log-bar { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.log-bar .utabs { margin-bottom: 0; }
.log { border-bottom: 1px solid var(--line); }
.log-entry { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 30px 0 34px; border-top: 1px solid var(--line); }
.log-entry.log-latest { border-top: 1.5px solid var(--ink); }
.log-entry.gone { display: none; }
.log-entry.repop { animation: capin .55s var(--spring) both; animation-delay: var(--d, 0ms); }
.log-date b { display: block; font-size: 22px; font-weight: 500; letter-spacing: -.01em; font-family: var(--font-head); }
.log-date span { color: var(--ink-2); font-size: 14px; }
.log-latest .log-date b::after { content: "Latest"; margin-left: 10px; padding: 2px 8px; font-size: 12px; vertical-align: 4px; background: var(--mint); color: #111; }
.log-body h3, .log-body h2.log-h { display: flex; align-items: center; gap: 12px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; letter-spacing: -.015em; margin: 0 0 14px; }
.log-tags { display: inline-flex; gap: 5px; flex: none; }
.log-tags i { width: 11px; height: 11px; background: var(--c); transition: transform .5s var(--spring); }
.log-entry:hover .log-tags i { transform: rotate(45deg) scale(1.2); }
.log-body ul { list-style: none; margin: 0; padding: 0; max-width: 820px; }
.log-body li { position: relative; padding: 7px 0 7px 22px; font-size: 16px; color: var(--ink-2); }
.log-body li::before { content: "\203A"; position: absolute; left: 4px; color: var(--ink); transition: transform .45s var(--spring); }
.log-body li:hover::before { transform: translateX(4px); }
.dl { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; padding: 34px 0; border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--line); }
.dl-go { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.dl-go p { margin: 0; }
.btn .dl-arrow { display: inline-block; transition: transform .5s var(--spring); }
.btn:hover .dl-arrow { transform: translateY(3px); }
.btn.going .dl-arrow { animation: drop .8s var(--soft) infinite; }
@keyframes drop { 0% { transform: translateY(-6px); opacity: 0; } 50% { opacity: 1; } 100% { transform: translateY(8px); opacity: 0; } }
.step h3, .step h2.step-h { font-size: 22px; line-height: 1.25; letter-spacing: -.01em; margin: 6px 0 10px; font-family: var(--font-head); }
.signin-page .wrap { align-items: start; }
.signin-form { display: flex; flex-direction: column; gap: 10px; padding: 26px; background: var(--butter); color: #111; }
.signin-form label { font-size: 14px; font-weight: 500; }
.signin-form input { padding: 14px; font: inherit; font-size: 18px; border: 1.5px solid #111; border-radius: 0; background: #fff; color: #111; outline: none; transition: box-shadow .3s; }
.signin-form input:focus { box-shadow: 0 4px 0 #111; }
.signin-form.shake input { animation: shake .5s var(--spring); }
@keyframes shake { 20% { transform: translateX(-8px); } 45% { transform: translateX(6px); } 70% { transform: translateX(-3px); } }
.signin-form .btn { align-self: flex-start; margin-top: 6px; }
.sf-wait { display: flex; align-items: center; gap: 10px; font-size: 15px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--soft), opacity .4s, margin .5s var(--soft); }
.signin-form.waiting .sf-wait { max-height: 60px; opacity: 1; margin-top: 8px; }
.sf-dots { display: inline-flex; gap: 4px; }
.sf-dots i { width: 7px; height: 7px; border-radius: 50%; background: #111; animation: dotHop 1s var(--spring) infinite; }
.sf-dots i:nth-child(2) { animation-delay: .12s; } .sf-dots i:nth-child(3) { animation-delay: .24s; }
@keyframes dotHop { 30% { transform: translateY(-7px); } 60% { transform: none; } }
.strip-draft { background: var(--orange); cursor: default; }
.doc-body { max-width: 760px; border-top: 1.5px solid var(--ink); }
.doc-part { padding: 34px 0 10px; scroll-margin-top: 130px; }
.doc-part h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 500; letter-spacing: -.02em; margin: 0 0 14px; font-family: var(--font-head); }
.doc-part p, .doc-part li { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.doc-part b { color: var(--ink); font-weight: 500; }
.doc-part ul { padding-left: 0; list-style: none; margin: 0; }
.doc-part li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.doc-lead { font-size: clamp(22px, 2.2vw, 28px) !important; line-height: 1.4 !important; color: var(--ink) !important; font-family: var(--font-head); }
@media (max-width: 960px) {
  .log-entry, .dl { grid-template-columns: 1fr; gap: 10px; }
  .log-bar .utabs { overflow-x: auto; scrollbar-width: none; }
  .legal-links { order: 3; width: 100%; }
}

/* ============ MANUAL ============ */
.man-search { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.man-search input { flex: 1; min-width: 220px; padding: 14px 16px; font: inherit; font-size: 17px; border: 1.5px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); outline: none; transition: box-shadow .3s; }
.man-search input:focus { box-shadow: 0 4px 0 var(--ink); }
.man { display: grid; grid-template-columns: 240px 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; padding-top: 10px; padding-bottom: clamp(70px, 9vw, 140px); }
.man-nav { position: sticky; top: 130px; display: flex; flex-direction: column; border-top: 1.5px solid var(--ink); }
.man-nav a { display: flex; gap: 12px; padding: 9px 0; font-size: 15px; color: var(--ink-2); border-bottom: 1px solid var(--line); transition: color .2s, padding .45s var(--spring), opacity .3s; }
.man-nav a span { color: var(--ink-3); font-size: 13px; font-variant-numeric: tabular-nums; padding-top: 1px; }
.man-nav a:hover { color: var(--ink); }
.man-nav a.on { color: var(--ink); padding-left: 8px; box-shadow: inset 3px 0 0 var(--ink); }
.man-nav a.dimmed { opacity: .3; }
.man-body { max-width: 780px; min-width: 0; }
.man-ch { padding-bottom: 30px; scroll-margin-top: 130px; }
.man-ch-head { display: flex; align-items: baseline; gap: 16px; padding-top: 20px; border-top: 1.5px solid var(--ink); margin-bottom: 6px; }
.man-ch-head span { color: var(--ink-3); font-size: 15px; }
.man-ch-head h2 { font-size: clamp(34px, 4vw, 56px); font-weight: 500; letter-spacing: -.03em; margin: 0; font-family: var(--font-head); }
.man-sec { padding: 22px 0 6px; }
.man-sec h3 { font-size: 21px; font-weight: 500; margin: 0 0 8px; }
.man-sec p, .man-sec li { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.man-sec b { color: var(--ink); font-weight: 500; }
.man-sec a:not(.more) { color: var(--ink); border-bottom: 1px solid currentColor; }
.man-sec .more { margin-left: 4px; color: var(--ink); }
.man-list { list-style: none; padding: 0; margin: 8px 0 0; }
.man-list li { padding: 8px 0; border-top: 1px solid var(--line); }
.keys { display: inline-flex; gap: 3px; vertical-align: 1px; }
.keys kbd { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; font: 500 13px var(--font-body); border: 1px solid var(--ink); background: var(--paper); color: var(--ink); box-shadow: 0 2px 0 var(--ink); }
.man-sec mark { background: var(--butter); color: #111; padding: 0 2px; }
.man-none { font-size: 20px; padding: 30px 0; }
@media (max-width: 960px) {
  .man { grid-template-columns: 1fr; }
  .man-nav { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 18px; border-bottom: 1px solid var(--line); }
  .man-nav a { flex: none; border-bottom: 0; }
  .man-nav a.on { padding-left: 0; box-shadow: inset 0 -2px 0 var(--ink); }
}
.man-fig { margin: 18px 0 6px; }
.man-fig img { display: block; width: 100%; height: auto; box-shadow: 0 0 0 1px var(--line); transition: transform .7s var(--spring); }
.man-fig:hover img { transform: scale(1.015); }
.man-fig figcaption { padding-top: 10px; font-size: 14px; color: var(--ink-2); }

/* ============ REAL DEVICE FACES ============ */
.dg { margin-top: 50px; }
.dg-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 18px; }
.dg-chips button { padding: 8px 14px; font-size: 14px; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); animation: capin .5s var(--spring) var(--d, 0ms) both; transition: background .2s, color .2s, transform .45s var(--spring); }
.dg-chips button:hover { color: var(--ink); transform: translateY(-2px); }
.dg-chips button.on { background: var(--ink); color: var(--paper); box-shadow: none; }
.dg-stage { margin: 0; min-height: 200px; }
.dg-stage img, .dg-stage video { display: block; max-width: 100%; height: auto; max-height: 460px; width: auto; border-radius: 10px; background: #1d1d1d; box-shadow: 0 0 0 1px #2a2a2a; opacity: 0; transform: translateY(14px) scale(.985); transform-origin: left top; }
.dg-stage.in img, .dg-stage.in video { opacity: 1; transform: none; transition: opacity .45s var(--soft), transform .7s var(--spring); }
.dg-stage figcaption { display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; padding-top: 14px; font-size: 16px; color: var(--ink-2); }
.dg-stage figcaption b { color: var(--ink); font-weight: 500; font-size: 20px; }
.dg-note { margin-top: 10px; }
.dev-strip { display: block; overflow: hidden; margin-top: 18px; background: #161616; padding: 14px 0; }
.dev-track { display: flex; gap: 14px; width: max-content; animation: drift 70s linear infinite; }
.dev-track img { display: block; height: 120px; width: auto; box-shadow: 0 0 0 1px #2a2a2a; transition: transform .5s var(--spring); }
.dev-strip:hover .dev-track { animation-play-state: paused; }
.dev-track img:hover { transform: translateY(-4px) scale(1.03); }
@keyframes drift { to { transform: translateX(-50%); } }
@media (max-width: 960px) { .dev-track img { height: 90px; } }

/* the Play it studio in Keewi's own clothes (Will 11-27: "this looks nothing like Keewi") */
.studio.reveal, .studio { background: #262626; box-shadow: 0 0 0 1px #1a1a1a; }
.tb { gap: 6px; padding: 7px 10px; background: #2d2d2d; border-bottom: 1px solid #1c1c1c; font-size: 12.5px; color: #cfcfcf; }
.tb-l { color: #8e8e8e; margin-right: 2px; }
.tb-p { background: #1e1e1e; padding: 4px 9px; border-radius: 3px; color: #e6e6e6; white-space: nowrap; }
.tb-key { font-weight: 600; }
.tb-modes { display: inline-flex; margin: 0 6px; }
.tb-modes i { font-style: normal; padding: 4px 10px; background: #3d3d3d; color: #e6e6e6; border-right: 1px solid #2d2d2d; }
.tb-modes i:first-child { border-radius: 3px 0 0 3px; } .tb-modes i:last-child { border-radius: 0 3px 3px 0; border-right: 0; }
.tb-modes i.on { background: #8FD0A6; color: #111; }
.tb-pos { margin-left: 8px; min-width: 64px; text-align: right; }
.tb-stop { width: 30px; height: 24px; border-radius: 3px; background: #3a3a3a; position: relative; }
.tb-stop::after { content: ""; position: absolute; inset: 7px 10px; background: #e6e6e6; }
.tb-rec { width: 30px; height: 24px; border-radius: 3px; background: #3a3a3a; position: relative; }
.tb-rec::after { content: ""; position: absolute; left: 10px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: #e8584f; }
.tb-k { background: #3d3d3d; font-weight: 600; }
.tb .presence { margin-left: auto; }
.studio-status { display: flex; align-items: center; gap: 10px; padding: 6px 10px; background: #2d2d2d; border-top: 1px solid #1c1c1c; font-size: 12.5px; color: #bdbdbd; }
.st-i { width: 17px; height: 17px; border-radius: 50%; background: #444; color: #ddd; display: grid; place-items: center; font-size: 11px; font-weight: 700; flex: none; }
.studio-status .studio-hint { margin-left: 0; flex: 1; min-width: 0; }
.st-r { color: #8e8e8e; white-space: nowrap; }
@media (max-width: 960px) { .tb-hide, .tb-l, .st-r { display: none; } .studio-status .studio-hint { display: block; } }

.shot-cap { margin: 12px 0 0; max-width: 760px; }

/* ============ LESSONS: real recordings with their steps ============ */
.lv { display: grid; grid-template-columns: minmax(260px, 1fr) 2.1fr; gap: clamp(26px, 4vw, 60px); align-items: start; padding: 34px 0 44px; border-top: 1.5px solid var(--ink); }
.lv[hidden] { display: none; }
.lv-n { font-size: 14px; }
.lv h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; letter-spacing: -.02em; margin: 6px 0 10px; font-family: var(--font-head); }
.lv-text > p { font-size: 16px; }
.lv-steps { list-style: none; padding: 0; margin: 20px 0 0; }
.lv-steps li { position: relative; display: grid; grid-template-columns: 26px 1fr; gap: 8px; padding: 12px 0 14px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-3); cursor: pointer; transition: color .25s; }
.lv-steps li .n { font-variant-numeric: tabular-nums; }
.lv-steps li.on { color: var(--ink); }
.lv-steps li:hover { color: var(--ink-2); }
.lv-steps li .bar { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.lv-frame { position: relative; aspect-ratio: 1600 / 896; overflow: hidden; background: #1c1c1c; box-shadow: 0 0 0 1px #2a2a2a; }
.lv-frame video { display: block; width: 100%; height: auto; }
/* each video on its own layer, its frame colour behind it: scrolling never shows a blank or a redraw (Will 11-28) */
.lv-frame video, video.auto { transform: translateZ(0); backface-visibility: hidden; background: #1c1c1c; }
.lv-frame.fit { aspect-ratio: auto; }
.lv-frame img { display: block; width: 100%; height: auto; }
.lv-real { position: absolute; right: 10px; bottom: 10px; padding: 4px 9px; font-size: 12px; font-weight: 500; background: rgba(17,17,17,.82); color: #f1f1f1; }
.lv-tabs { margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
@media (max-width: 960px) { .lv { grid-template-columns: 1fr; } .lv-frame { order: -1; } }

/* ============ WHY KEEWI ============ */
.why-row { display: grid; grid-template-columns: minmax(260px, 1fr) 1.8fr; gap: clamp(26px, 4vw, 64px); align-items: center; padding: 40px 0 46px; border-top: 1.5px solid var(--ink); }
.why-row.flip .why-text { order: 2; }
.why-row.flip { grid-template-columns: 1.8fr minmax(260px, 1fr); }
.why-n { font-size: 14px; }
.why-row h3 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 500; letter-spacing: -.02em; margin: 6px 0 12px; font-family: var(--font-head); }
.why-row p { font-size: 17px; line-height: 1.55; }
.why-row .lv-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.why-same { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .why-row, .why-row.flip { grid-template-columns: 1fr; } .why-row.flip .why-text { order: 0; } .why-same { grid-template-columns: 1fr; } }

/* Bubbles page: how it works */
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px 40px; }
.how-grid > div { border-top: 1.5px solid currentColor; padding-top: 14px; }
.how-grid h3 { font-size: 20px; }
.lead { font-size: clamp(22px, 2.6vw, 36px); line-height: 1.3; max-width: 980px; margin: 0; letter-spacing: -.01em; font-family: var(--font-head); }

/* Home: the bubbles band */
.bubbles-band { background: var(--butter); }
.bb-grid { display: grid; grid-template-columns: minmax(280px, 1fr) 1.7fr; gap: clamp(26px, 4vw, 64px); align-items: center; }
.bb-text h2 { margin: 8px 0 18px; }
.bb-text p { font-size: 19px; max-width: 460px; }
.bb-video { margin-right: calc(-1 * var(--pad)); }
@media (max-width: 900px) { .bb-grid { grid-template-columns: 1fr; } .bb-video { margin-right: 0; } }

/* Rounded corners on the recordings (Will 11-27: "round the edges a little") */
.lv-frame, .gd-thumb, .gd-big-box { border-radius: 12px; overflow: hidden; }
.gd-big video { border-radius: 12px 12px 0 0; }

.stage-video { width: 100%; }
.stage-video video { display: block; width: 100%; height: auto; }

.pic .lv-frame { width: 100%; }
.pic .lv-frame video, .bleed-video video { display: block; width: 100%; height: auto; }
.bleed-video { aspect-ratio: auto; }

.man-fig video { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); }

.dg-stage video { width: 100%; height: auto; max-height: none; }

/* The Buy section as a Keewi device (11-29): a dark rig like the app's device faces, its title bar and light, the
   wobbly line, two slots, the features as pads. Rounded and soft: Keewi's own look, not edition cards. */
.plans { display: block; }
.rig { background: transparent; color: var(--ink); border-radius: 22px; padding: 0 0 22px; box-shadow: inset 0 0 0 1.5px var(--line); overflow: hidden; }
.rig-bar { display: flex; align-items: center; gap: 10px; padding: 14px 20px; font-size: 12px; letter-spacing: .12em; border-bottom: 1px solid var(--line); }
.rig-bar em { margin-left: auto; font-style: normal; letter-spacing: .02em; color: var(--ink-3); font-size: 12.5px; }
.slot { color: #eceae6; }
.rig-led { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); animation: led 2.4s ease-in-out infinite; }
@keyframes led { 50% { opacity: .45; box-shadow: 0 0 3px var(--gold); } }
.rig-wave { display: block; width: 100%; height: 40px; margin: 6px 0 2px; }
.rig-wave path { fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.rig-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 0 18px; }
.slot { background: #26292d; border-radius: 16px; padding: 18px 20px 20px; display: flex; flex-direction: column; transition: transform .5s var(--spring), background .3s; }
.slot:hover { transform: translateY(-4px); background: #2b2f34; }
.slot.own { background: linear-gradient(160deg, #2e2a22, #26292d 60%); box-shadow: inset 0 0 0 1px rgba(242,177,58,.35); }
.slot-label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(236,234,230,.55); margin-bottom: 14px; }
.slot-dial { position: relative; width: 92px; height: 92px; margin-bottom: 8px; }
.slot-dial svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.slot-dial circle { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 6; }
.slot-dial .arc { stroke: #8FD0A6; stroke-linecap: round; stroke-dasharray: 207; stroke-dashoffset: 207; animation: dial 1.6s .4s var(--spring) forwards; }
@keyframes dial { to { stroke-dashoffset: 0; } }
.slot-dial b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 30px; font-weight: 500; font-family: var(--font-head); padding-bottom: 12px; }
.slot-dial span { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; font-size: 11px; color: rgba(236,234,230,.6); }
.slot-price { display: flex; align-items: baseline; gap: 4px; margin: 10px 0 14px; min-height: 76px; }
.slot-price .cur { font-size: 26px; color: var(--gold); }
.slot-price .num { font-size: 64px; font-weight: 500; letter-spacing: -.04em; font-family: var(--font-head); font-variant-numeric: tabular-nums; color: #fff; }
.slot-price .once { font-size: 15px; color: rgba(236,234,230,.6); margin-left: 6px; }
.slot.bump .slot-price { animation: bump .6s var(--spring); }
.slot-tag { font-size: 14px; color: rgba(236,234,230,.75); margin: 0 0 18px; flex: 1; }
.pill { border: 0; border-radius: 999px; padding: 13px 22px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; background: var(--gold); color: #1a1a1a;
        transition: transform .35s var(--spring), background .2s, box-shadow .2s; }
.pill:hover { transform: scale(1.04); box-shadow: 0 0 0 4px rgba(242,177,58,.18); }
.pill:active { transform: scale(.97); }
.pill.ghost { background: transparent; color: #eceae6; box-shadow: inset 0 0 0 1.5px rgba(236,234,230,.35); }
.pill.ghost:hover { box-shadow: inset 0 0 0 1.5px #8FD0A6, 0 0 0 4px rgba(143,208,166,.15); }
.rig-pads { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 18px 0; }
.pad { font-size: 12.5px; padding: 7px 12px; border-radius: 9px; background: #f2f1ee; color: var(--ink-2); transition: background .25s, color .25s, transform .4s var(--spring); }
.pad:hover { background: rgba(242,177,58,.25); color: var(--ink); transform: translateY(-2px); }
@media (max-width: 700px) { .rig-slots { grid-template-columns: 1fr; } .rig-bar em { display: none; } }

/* ============ OUR OWN LOOK (11-29, Will: too close to Ableton's) ============
   One header row, the beta as a pill by the logo (no strip), the page menu as pills that float and stick, the
   requirements' switch and the footer in rounded Keewi shapes. */
.strip { display: none; }
.beta { font-style: normal; font-family: var(--font); font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
        padding: 3px 8px; border-radius: 999px; color: #9a6a12; background: rgba(242,177,58,.18); box-shadow: inset 0 0 0 1px rgba(242,177,58,.55);
        margin-left: 2px; transition: transform .45s var(--spring), background .25s; }
.brand:hover .beta { transform: rotate(-6deg) scale(1.08); background: rgba(242,177,58,.32); }
.site-head.head-dark .beta { color: var(--gold); background: rgba(242,177,58,.12); }
.bar-right .try { font-weight: 600; background: var(--gold); color: #1a1a1a; padding: 8px 16px; border-radius: 999px; transition: transform .35s var(--spring), box-shadow .2s; }
.bar-right .try::after { content: none; }
.bar-right .try:hover { transform: scale(1.05); box-shadow: 0 0 0 4px rgba(242,177,58,.2); }
/* System requirements: a rounded switch with a sliding pill. */
.utabs { gap: 0; padding: 4px; border-radius: 999px; background: #f2f1ee; }
.utabs button { position: relative; z-index: 1; padding: 8px 18px; border-radius: 999px; transition: color .3s; }
.utabs button.on { color: #fff; }
.utabs .seg-blob { top: 4px; bottom: 4px; height: auto; border-radius: 999px; background: #1d1f22; z-index: 0; }
/* Footer: rounded newsletter field, links without arrows (a dot comes on hover). */
.footer-cols a::after { content: none; }
.footer-cols a::before { content: ""; display: inline-block; width: 0; height: 6px; border-radius: 3px; background: var(--gold); margin-right: 0; vertical-align: middle; transition: width .35s var(--spring), margin .35s var(--spring); }
.footer-cols a:hover::before { width: 6px; margin-right: 8px; }
.news { border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ink-3); padding: 4px; }
.news input { border: 0; background: transparent; padding: 8px 14px; border-radius: 999px; }
.news .btn { border-radius: 999px; padding: 9px 18px; }
.news:focus-within { box-shadow: inset 0 0 0 1.5px var(--ink); }
