/* ==========================================================================
   Woodpecker: a page you can hear.
   Light but rich: white and cool grey surfaces, frosted glass, layered soft
   shadows, ink-black primary buttons and one solid accent, #0A66FF. The only
   other colours on the page are the switches' own stem colours, shown as
   swatches. No UI gradients.
   ========================================================================== */

:root {
  --bg: #f5f7fa;
  --band: #eaeef4;
  --card: #ffffff;
  --well: #f1f4f8;
  --ink: #0b0d12;
  --ink-2: #454c5c;
  --ink-3: #697184;
  --line: rgba(11, 13, 18, 0.1);
  --line-2: rgba(11, 13, 18, 0.06);

  --accent: #0a66ff;
  --accent-2: #0052d6;
  --accent-soft: #e7f0ff;
  --accent-lit: #74a9ff;

  --alu: #dde1e8;
  --alu-2: #cfd4dc;
  --cap: #15171c;
  --cap-2: #1f2229;
  --legend: #d9dde5;

  --glass: rgba(255, 255, 255, 0.68);
  --glass-edge: rgba(255, 255, 255, 0.92);
  --lift: 0 0 0 0.5px rgba(11, 13, 18, 0.07), 0 1px 2px rgba(11, 13, 18, 0.05), 0 10px 28px -12px rgba(11, 13, 18, 0.16);
  --float: 0 0 0 0.5px rgba(11, 13, 18, 0.08), 0 2px 4px rgba(11, 13, 18, 0.04), 0 24px 48px -20px rgba(11, 13, 18, 0.22), 0 60px 110px -50px rgba(11, 30, 70, 0.28);

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --max: 1160px;
  --gut: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 128px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: rgba(10, 102, 255, 0.18); }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
kbd { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; margin: 0 1px; border-radius: 6px; font: 600 13px/1 var(--sans); color: var(--ink); background: var(--card); box-shadow: 0 0 0 0.5px rgba(11, 13, 18, 0.2), 0 1.5px 0 rgba(11, 13, 18, 0.16); vertical-align: 1px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.skip-link { position: absolute; left: -9999px; top: 12px; z-index: 1001; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip-link:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

h1, h2, h3 { font-family: var(--display); margin: 0; color: inherit; }
h1 { font-size: clamp(40px, 5.6vw, 70px); line-height: 1; letter-spacing: -0.04em; font-weight: 700; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.3vw, 54px); line-height: 1.05; letter-spacing: -0.032em; font-weight: 700; text-wrap: balance; }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.012em; font-weight: 650; }
.dim { color: var(--ink-3); }
p { margin: 0; }
.lede { font-size: clamp(18px, 1.55vw, 20.5px); line-height: 1.55; color: var(--ink-2); max-width: 36em; text-wrap: pretty; }
.lede--small { margin-top: 16px; font-size: 17px; }
.label { margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 50px; padding: 0 24px; border-radius: 999px; border: 0; font-weight: 620; font-size: 16px; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s; }
.btn svg { width: 18px; height: 18px; }
.btn--sm { height: 36px; padding: 0 15px; font-size: 14px; gap: 7px; }
.btn--sm svg { width: 14px; height: 14px; }
.btn--ink { background: var(--ink); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 1px 2px rgba(11, 13, 18, 0.3), 0 10px 24px -10px rgba(11, 13, 18, 0.55); }
.btn--ink:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 1px 2px rgba(11, 13, 18, 0.3), 0 16px 30px -12px rgba(11, 13, 18, 0.55); }
.btn--ghost, .btn--glass { background: var(--glass); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(11, 13, 18, 0.04); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.btn--ghost:hover, .btn--glass:hover { background: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn__price { opacity: 0.66; font-weight: 560; }

/* ---------------------------------------------------------------- nav */
.nav { position: sticky; top: 0; z-index: 50; transition: background-color 0.25s, box-shadow 0.25s; }
.nav.is-stuck { background: rgba(245, 247, 250, 0.76); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); box-shadow: 0 0.5px 0 var(--line); }
.nav__in { display: flex; align-items: center; gap: 24px; height: 64px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; text-decoration: none; }
.wordmark img { width: 30px; height: 30px; border-radius: 7px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; color: var(--ink-2); }
.nav__links a { text-decoration: none; transition: color 0.15s; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { display: flex; gap: 8px; margin-left: 8px; }

.nav__cta { margin-left: auto; }

/* ---------------------------------------------------------------- hero: the keyboard is the page */
.hero { padding: clamp(10px, 2.4vh, 30px) 0 clamp(36px, 6vh, 64px); text-align: center; }
.hero + .section { padding-top: clamp(56px, 8vw, 112px); }
.hero h1 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.06; letter-spacing: -0.042em; max-width: 15em; margin: 0 auto; text-wrap: balance; }
/* The deck is as large as the first screen allows: never so tall that it leaves the viewport. */
.hero__in { max-width: 1280px; }
.stage { width: 100%; max-width: 1180px; margin: clamp(30px, 5.2vh, 58px) auto 0; text-align: left; }
@supports (width: 1svh) {
  .stage { max-width: clamp(min(100%, 640px), calc((100svh - 480px) * 2.6), 1180px); }
}
.stage__bar { display: flex; align-items: center; justify-content: center; gap: 10px; }
.picker { display: flex; gap: 6px; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 4px; margin: -4px; }
.picker::-webkit-scrollbar { display: none; }
.pick { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 9px; border: 0; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2), 0 1px 2px rgba(11, 13, 18, 0.05); transition: background-color 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s var(--ease); }
.pick:hover { color: var(--ink); transform: translateY(-1px); }
.pick i { position: relative; width: 18px; height: 18px; border-radius: 6px; background: var(--well); box-shadow: inset 0 0 0 1px var(--line); }
.pick i::before, .pick i::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--stem); border-radius: 1px; box-shadow: 0 0 0 0.5px rgba(11, 13, 18, 0.28); }
.pick i::before { width: 11px; height: 3.5px; margin: -1.75px 0 0 -5.5px; }
.pick i::after { width: 3.5px; height: 11px; margin: -5.5px 0 0 -1.75px; }
.pick[aria-checked="true"] { background: var(--ink); color: #fff; box-shadow: 0 1px 2px rgba(11, 13, 18, 0.3), 0 8px 18px -8px rgba(11, 13, 18, 0.55); }
.pick[aria-checked="true"] i { background: #2a2e37; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.pick.is-loading i { animation: pulse 0.9s ease-in-out infinite alternate; }
@keyframes pulse { to { opacity: 0.35; } }
.sound { flex: none; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(10, 102, 255, 0.18); }
.sound svg { width: 18px; height: 18px; }
.sound__off { display: none; }
.sound[aria-pressed="false"] { color: var(--ink-3); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.sound[aria-pressed="false"] .sound__on { display: none; }
.sound[aria-pressed="false"] .sound__off { display: block; }

/* the MacBook top case: brushed-silver aluminium, black keys in their wells */
.deck { position: relative; margin-top: 14px; padding: clamp(10px, 1.3vw, 16px) clamp(10px, 1.5vw, 18px) clamp(12px, 1.6vw, 20px); border-radius: clamp(18px, 2.2vw, 28px); background: var(--alu);
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.9), inset 0 -1.5px 0 rgba(11, 13, 18, 0.07), inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 0 0 0.5px rgba(11, 13, 18, 0.16),
    0 2px 3px rgba(11, 13, 18, 0.06), 0 18px 34px -16px rgba(11, 30, 60, 0.32), 0 60px 90px -40px rgba(11, 30, 70, 0.34); }
.screen { position: relative; display: flex; align-items: center; height: clamp(40px, 4.4vh, 48px); margin-bottom: clamp(8px, 1vw, 12px); padding: 0 16px; border-radius: 12px; overflow: hidden; white-space: pre; cursor: text;
  font: 500 clamp(16px, 1.5vw, 19px)/1 var(--sans); letter-spacing: -0.01em; color: var(--ink); background: #f8f9fb; box-shadow: inset 0 1px 2px rgba(11, 13, 18, 0.12), inset 0 0 0 1px rgba(11, 13, 18, 0.07), 0 1px 0 rgba(255, 255, 255, 0.8); }
.screen:focus { outline: none; box-shadow: inset 0 1px 2px rgba(11, 13, 18, 0.12), inset 0 0 0 1.5px var(--accent), 0 0 0 4px rgba(10, 102, 255, 0.14); }
.screen__text { flex: none; }
.screen__caret { flex: none; width: 2px; height: 22px; margin-left: 1px; border-radius: 1px; background: var(--accent); animation: caret 1.05s steps(1) infinite; }
.screen__ph { position: absolute; left: 24px; color: var(--ink-3); font-weight: 450; pointer-events: none; }
.screen.has-text .screen__ph { display: none; }
.screen.is-long .screen__text { margin-left: auto; }
@keyframes caret { 50% { opacity: 0; } }
.meter { flex: none; display: flex; align-items: center; gap: 8px; width: 150px; margin-left: auto; padding-left: 14px; font: 600 10.5px/1 var(--mono); color: var(--ink-3); background: #f8f9fb; position: relative; z-index: 1; }
.meter__track { position: relative; flex: 1; height: 4px; border-radius: 99px; background: rgba(11, 13, 18, 0.1); }
.meter__mid { position: absolute; left: 50%; top: -3px; width: 1px; height: 10px; background: rgba(11, 13, 18, 0.18); }
.meter__dot { position: absolute; top: 50%; left: calc(var(--p, 0.5) * 100%); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px #fff, 0 1px 3px rgba(11, 13, 18, 0.3); transition: left 0.14s var(--ease); }
.meter__dot.is-hit { animation: hit 0.42s var(--ease); }
@keyframes hit { 0% { box-shadow: 0 0 0 2px #fff, 0 0 0 2px rgba(10, 102, 255, 0.5); } 100% { box-shadow: 0 0 0 2px #fff, 0 0 0 12px rgba(10, 102, 255, 0); } }

.board { position: relative; width: 100%; aspect-ratio: 14.5 / 5.62; container-type: inline-size; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.k { position: absolute; left: calc(var(--x) * 100% / 14.5); top: calc(var(--y) * 100% / 5.62); width: calc(var(--w) * 100% / 14.5); height: calc(var(--h) * 100% / 5.62); padding: 0.32cqw; cursor: pointer; }
.k::before { content: ""; position: absolute; inset: 0.14cqw; border-radius: 0.95cqw; background: rgba(11, 13, 18, 0.1); box-shadow: inset 0 0.12cqw 0.25cqw rgba(11, 13, 18, 0.18); }
.k__cap { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 0.78cqw; color: var(--legend); background: var(--cap);
  font: 500 1.8cqw/1 var(--sans); box-shadow: inset 0 0.14cqw 0 rgba(255, 255, 255, 0.09), inset 0 -0.2cqw 0 rgba(0, 0, 0, 0.35), 0 0.22cqw 0 #08090b, 0 0.5cqw 0.8cqw rgba(11, 13, 18, 0.28);
  transition: transform 0.08s var(--ease), box-shadow 0.08s var(--ease), color 0.08s, background-color 0.08s; }
.k--sm .k__cap { font-size: 1.05cqw; letter-spacing: 0.01em; }
.k--fn .k__cap { font-size: 0.95cqw; }
.k--l .k__cap { justify-content: flex-start; align-items: flex-end; padding: 0 0 0.75cqw 0.85cqw; }
.k--r .k__cap { justify-content: flex-end; align-items: flex-end; padding: 0 0.85cqw 0.75cqw 0; }
.k--mod .k__cap { flex-direction: column; align-items: flex-end; justify-content: space-between; padding: 0.7cqw 0.8cqw; }
.k--mod.k--l .k__cap { align-items: flex-start; }
.k--mod .k__cap b { font-weight: 500; font-size: 1.15cqw; }
.k--arrow .k__cap { font-size: 0.9cqw; border-radius: 0.55cqw; }
.k--touch .k__cap { background: #22252c; border-radius: 0.6cqw; cursor: default; }
.k--touch .k__cap::after { content: ""; width: 42%; aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 0.12cqw rgba(255, 255, 255, 0.12); }
.k.is-down .k__cap { transform: translateY(0.26cqw); color: #fff; background: var(--cap-2);
  box-shadow: inset 0 0.1cqw 0 rgba(255, 255, 255, 0.06), 0 0 0 0.17cqw var(--accent), 0 0 1.6cqw rgba(10, 102, 255, 0.55), 0 0.04cqw 0 #08090b; }
.rip { position: absolute; width: 6cqw; height: 6cqw; margin: -3cqw 0 0 -3cqw; border-radius: 50%; pointer-events: none; border: 0.2cqw solid var(--accent); opacity: 0; animation: rip 0.65s var(--ease) forwards; }
@keyframes rip { 0% { transform: scale(0.3); opacity: 0.85; } 100% { transform: scale(2.1); opacity: 0; } }

/* the phone keyboard */
.mini { display: none; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.mini__row { display: flex; gap: 5px; }
.mini__row + .mini__row { margin-top: 7px; }
.mini__row--2 { padding: 0 4.6%; }
.mk { position: relative; flex: 1 1 0; min-width: 0; height: 46px; padding: 0; border: 0; border-radius: 8px; font: 500 17px/1 var(--sans); text-transform: uppercase; color: var(--legend); background: var(--cap); cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 2px 0 #08090b, 0 4px 7px rgba(11, 13, 18, 0.25); transition: transform 0.08s var(--ease), box-shadow 0.08s; -webkit-tap-highlight-color: transparent; }
.mk--wide { flex-grow: 1.5; font-size: 13px; text-transform: none; }
.mk--space { flex-grow: 5; font-size: 13px; text-transform: none; }
.mk--ret { flex-grow: 2; font-size: 13px; text-transform: none; }
.mk.is-down { transform: translateY(2px); color: #fff; background: var(--cap-2); box-shadow: 0 0 0 2px var(--accent), 0 0 14px rgba(10, 102, 255, 0.5); }
.stage__noscript { margin-top: 14px; font-size: 14px; color: var(--ink-2); text-align: center; }

.hero__fine { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin-top: clamp(14px, 2.2vh, 24px); font-size: 14px; color: var(--ink-3); }
.hero__fine b { color: var(--ink); font-weight: 650; }
.hero__fine span::before { content: "·"; margin-right: 18px; color: rgba(11, 13, 18, 0.25); }

/* ---------------------------------------------------------------- sections: one picture, one line */
.section { padding: clamp(88px, 12vw, 160px) 0; }
.section--tight { padding: clamp(56px, 8vw, 96px) 0; }
.section--band { background: var(--band); box-shadow: inset 0 0.5px 0 var(--line-2), inset 0 -0.5px 0 var(--line-2); }
.head { text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.head h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -0.035em; }
.head p { margin-top: 12px; font-size: 18px; color: var(--ink-3); }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* switches: big stem tiles that play, then every switch the app has */
.picks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; }
.picks li { display: flex; }
.pk { display: grid; grid-template-rows: auto 1fr auto; justify-items: center; align-items: start; gap: 10px; width: 100%; padding: 26px 10px 20px; border: 0; border-radius: 26px; text-align: center; background: var(--card); box-shadow: var(--lift); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.pk:hover { transform: translateY(-4px); box-shadow: var(--float); }
.pk__sw { position: relative; display: block; width: 92px; height: 92px; margin-bottom: 6px; border-radius: 24px; background: var(--well);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 -4px 0 rgba(11, 13, 18, 0.05), 0 1px 0 #fff; transition: transform 0.12s var(--ease); }
.pk__sw i { position: absolute; inset: 14px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 6px 14px -6px rgba(11, 13, 18, 0.35); }
.pk__sw::before, .pk__sw::after { content: ""; position: absolute; z-index: 1; left: 50%; top: 50%; border-radius: 3px; background: var(--stem); box-shadow: 0 0 0 1px rgba(11, 13, 18, 0.25), 0 2px 3px rgba(11, 13, 18, 0.25); transition: transform 0.12s var(--ease); }
.pk__sw::before { width: 38px; height: 12px; margin: -6px 0 0 -19px; }
.pk__sw::after { width: 12px; height: 38px; margin: -19px 0 0 -6px; }
.pk.is-playing .pk__sw::before, .pk.is-playing .pk__sw::after { transform: scale(0.86); }
.pk.is-playing .pk__sw { box-shadow: inset 0 0 0 1px var(--line), 0 0 0 3px var(--accent), 0 0 22px rgba(10, 102, 255, 0.35); }
.pk__name { font-size: 15px; font-weight: 650; letter-spacing: -0.01em; line-height: 1.25; }
.pk__type { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--ink-2); background: var(--well); }
.pk.is-current { box-shadow: inset 0 0 0 2px var(--accent), var(--lift); }
.pk.is-current .pk__type { color: var(--accent-2); background: var(--accent-soft); }
.all__h { margin-top: clamp(40px, 5vw, 56px); text-align: center; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.all { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 980px; margin: 16px auto 0; padding: 0; }
.sw { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 8px; border-radius: 999px; font-size: 13.5px; color: var(--ink-2); background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); }
.sw__stem { position: relative; width: 16px; height: 16px; }
.sw__stem::before, .sw__stem::after { content: ""; position: absolute; left: 50%; top: 50%; border-radius: 1px; background: var(--stem); box-shadow: 0 0 0 0.5px rgba(11, 13, 18, 0.3); }
.sw__stem::before { width: 12px; height: 4px; margin: -2px 0 0 -6px; }
.sw__stem::after { width: 4px; height: 12px; margin: -6px 0 0 -2px; }
.sw__name { font-weight: 550; color: var(--ink); }
.sw__cap { font-size: 11px; font-weight: 650; color: var(--ink-3); }
.sw.is-current { box-shadow: inset 0 0 0 1.5px var(--accent); }

/* shape the sound: one big key, its sound drawn live, two sliders */
.studio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(32px, 5vw, 72px); max-width: 1040px; margin: 0 auto; }
.studio__key { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 440px; width: 100%; margin: 0 auto; }
.rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.rings i { position: absolute; width: calc(48% + var(--n) * 17%); aspect-ratio: 1; border-radius: 50%; border: 1.5px solid var(--accent); opacity: calc(var(--room, 0.17) * (0.9 - var(--n) * 0.22)); transition: opacity 0.3s; }
.rings i:nth-child(1) { --n: 1; }
.rings i:nth-child(2) { --n: 2; }
.rings i:nth-child(3) { --n: 3; }
.rings.is-ring i { animation: ring 0.9s var(--ease); }
.rings.is-ring i:nth-child(2) { animation-delay: 0.06s; }
.rings.is-ring i:nth-child(3) { animation-delay: 0.12s; }
@keyframes ring { 0% { transform: scale(0.82); } 40% { transform: scale(1.04); opacity: calc(0.25 + var(--room, 0.17) * 0.7); } 100% { transform: none; } }
.bigkey { position: relative; z-index: 1; width: 50%; aspect-ratio: 1; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.bigkey__cap { position: absolute; inset: 0; border-radius: 22%; background: var(--kc, #1a1c22);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.1), 0 var(--edge, 14px) 0 var(--kc-edge, #08090b), 0 calc(var(--edge, 14px) + 22px) 40px -12px rgba(11, 13, 18, 0.45);
  transition: transform 0.09s var(--ease), box-shadow 0.09s var(--ease), background-color 0.3s; }
.bigkey__top { position: absolute; inset: 9% 11% 15%; display: grid; place-items: center; border-radius: 18%; font: 500 clamp(40px, 5vw, 62px)/1 var(--sans); color: var(--kc-legend, #d9dde5); background: var(--kc-top, #23262d);
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, var(--kc-dish, 0.35)), inset 0 -1px 0 rgba(255, 255, 255, 0.08); transition: background-color 0.3s, color 0.3s; }
.bigkey.is-down .bigkey__cap { transform: translateY(calc(var(--edge, 14px) - 3px)); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.1), 0 3px 0 var(--kc-edge, #08090b), 0 0 0 3px var(--accent), 0 0 40px rgba(10, 102, 255, 0.45); }
.studio__side { display: grid; gap: 22px; }
.scope { display: block; width: 100%; height: auto; aspect-ratio: 10 / 3; border-radius: 22px; background: var(--card); box-shadow: var(--lift); }
.dial { display: grid; gap: 8px; cursor: pointer; }
.dial__name { font-size: 15px; font-weight: 650; }
.dial__row { display: grid; grid-template-columns: 54px minmax(0, 1fr) 54px; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-3); }
.dial__row span:first-child { text-align: right; }
.dial input { width: 100%; margin: 0; accent-color: var(--accent); cursor: pointer; }

/* quiet and private: four tiles, one line each */
.tiles { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 1040px; margin: 0 auto; padding: 0; }
.tile { display: grid; justify-items: center; gap: 18px; padding: 34px 18px 28px; border-radius: 26px; text-align: center; background: var(--card); box-shadow: var(--lift); }
.tile p { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
.tile__art { position: relative; display: flex; align-items: center; justify-content: center; gap: 6px; width: 84px; height: 84px; border-radius: 24px; color: var(--ink); background: var(--well); box-shadow: inset 0 0 0 1px var(--line-2); }
.tile__art svg { width: 38px; height: 38px; }
.tile__pulse { position: absolute; top: 18px; right: 18px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); animation: mic 1.6s ease-out infinite; }
@keyframes mic { 0% { box-shadow: 0 0 0 0 rgba(10, 102, 255, 0.6); } 100% { box-shadow: 0 0 0 9px rgba(10, 102, 255, 0); } }
.tile__art--dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.tile__art--keys { gap: 4px; }
.tile__art--keys b { display: grid; place-items: center; width: 22px; height: 24px; border-radius: 6px; font: 500 12px/1 var(--sans); color: var(--legend); background: var(--cap); box-shadow: 0 1.5px 0 #08090b; animation: capdown 2.8s var(--ease) infinite; }
.tile__art--keys b:nth-child(2) { animation-delay: 0.12s; }
.tile__art--keys b:nth-child(3) { animation-delay: 0.24s; }
@keyframes capdown { 0%, 30%, 100% { transform: none; box-shadow: 0 1.5px 0 #08090b; } 8%, 22% { transform: translateY(1.5px); box-shadow: 0 0 0 1.5px var(--accent), 0 0 8px rgba(10, 102, 255, 0.45); } }

/* price: one card */
.price { display: grid; justify-items: center; max-width: 560px; margin: 0 auto; padding: clamp(36px, 5vw, 56px) clamp(22px, 4vw, 48px); border-radius: 32px; text-align: center; background: var(--card); box-shadow: var(--float); }
.price__icon { width: 96px; height: 96px; border-radius: 22px; }
.price__amount { display: flex; align-items: baseline; gap: 10px; margin-top: 20px; }
.price__amount b { font-family: var(--display); font-size: clamp(60px, 7vw, 80px); line-height: 1; letter-spacing: -0.05em; }
.price__amount span { font-size: 18px; color: var(--ink-3); }
.price__terms { margin-top: 12px; font-size: 17px; font-weight: 600; color: var(--ink-2); }
.price__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.price__fine { margin-top: 20px; font-size: 13px; color: var(--ink-3); }
.price__fine a { color: inherit; }

/* three questions */
.faq { max-width: 720px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); }
.faq summary { position: relative; list-style: none; padding: 18px 54px 18px 22px; font-size: 16px; font-weight: 620; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 12px; height: 2px; margin-top: -1px; border-radius: 2px; background: var(--ink-3); transition: transform 0.25s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { padding: 0 22px 20px; font-size: 15.5px; color: var(--ink-2); }

/* ---------------------------------------------------------------- footer */
.footer { padding: 36px 0 44px; border-top: 1px solid var(--line-2); background: var(--bg); }
.footer__in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.footer .wordmark { font-size: 16px; }
.footer .wordmark img { width: 26px; height: 26px; border-radius: 6px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--ink-2); }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--ink); }
.footer__sign { margin-left: auto; font-size: 13px; color: var(--ink-3); }
.footer__sign a { color: var(--ink-2); }

/* ---------------------------------------------------------------- simple pages (thanks, privacy) */
.page { padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 112px); }
.page .wrap { max-width: 780px; }
.page h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.04; }
.page .lede { margin-top: 18px; }
.page h2 { margin-top: 44px; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.02em; }
.page p, .page li { color: var(--ink-2); }
.page h2 + p, .page h2 + ul { margin-top: 12px; }
.page p + p { margin-top: 12px; }
.page ul { padding-left: 22px; }
.page li + li { margin-top: 6px; }
.page a { color: var(--accent); }
.page .btn { color: #fff; }
.page .btn--ghost { color: var(--ink); }
.card { margin-top: 24px; padding: 24px; border-radius: 22px; background: var(--card); box-shadow: var(--lift); }
.card h2 { margin-top: 0; font-size: 20px; }
.card p { margin-top: 8px; }
.card .btn { margin-top: 18px; }
.steps { list-style: none; counter-reset: s; padding: 0 !important; margin: 18px 0 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; margin: 0 !important; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-weight: 700; font-size: 14px; color: var(--accent); background: var(--accent-soft); }
.steps b { color: var(--ink); }
.notice { margin-top: 18px; padding: 18px 20px; border-radius: 16px; background: var(--well); box-shadow: inset 0 0 0 1px var(--line-2); }
.notice h3 { font-size: 16px; }
.notice p { margin-top: 6px; font-size: 14.5px; }
.notice pre { margin: 12px 0 0; padding: 14px; border-radius: 12px; overflow-x: auto; white-space: pre-wrap; font: 12px/1.55 var(--mono); color: var(--ink-2); background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); }


/* thanks.html: the download comes first after a purchase, as on the other EDMT apps */
.card--download { display: grid; justify-items: center; gap: 16px; text-align: center; padding: 32px 24px; }
.card--download img { width: 64px; height: 64px; }
.btn--big { height: 60px; padding: 0 34px; font-size: 18px; }
.btn--big svg { width: 20px; height: 20px; }
.fine { margin: 0; font-size: 13px; color: var(--ink-3); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1060px) {
  .picks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .studio { grid-template-columns: minmax(0, 1fr); }
  .studio__key { max-width: 340px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav__in { height: 56px; gap: 10px; }
  .nav__dl { padding: 0 12px; }
  .nav__dl svg { display: none; }
  .wordmark { font-size: 17px; }
  .wordmark img { width: 26px; height: 26px; }
  .hero { padding-top: 6px; }
  .hero h1 { font-size: clamp(30px, 8.6vw, 38px); max-width: 11em; margin: 0 auto; }
  .stage__bar { justify-content: flex-start; }
  .picker { flex: 1; margin-right: 0; }
  .deck { margin-top: 12px; padding: 8px; border-radius: 20px; }
  .screen { height: 42px; margin-bottom: 8px; padding: 0 12px; font-size: 16px; }
  .screen__ph { left: 20px; }
  .meter { width: 96px; padding-left: 10px; }
  .board { display: none; }
  .mini { display: block; }
  .hero__fine { gap: 2px 12px; font-size: 13px; }
  .hero__fine span::before { margin-right: 12px; }
  .hero__fine span:last-child { display: none; }
  .picks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pk { padding: 20px 8px 16px; border-radius: 22px; }
  .pk__sw { width: 76px; height: 76px; border-radius: 20px; }
  .tiles { gap: 10px; }
  .tile { padding: 24px 12px 20px; gap: 14px; border-radius: 22px; }
  .tile p { font-size: 14.5px; }
  .tile__art { width: 68px; height: 68px; border-radius: 20px; }
  .price__cta .btn { width: 100%; }
  .footer__sign { margin-left: 0; flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .rip { display: none; }
  .screen__caret { animation: none; }
}

