:root {
  color-scheme: dark;
  --ink: #f4efe5;
  --muted: #b9c0bd;
  --bg: #101211;
  --panel: #191d1b;
  --line: rgba(244, 239, 229, 0.16);
  --accent: #e0b963;
  --accent-2: #71b7a8;
  --deep: #14191f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(120deg, rgba(113, 183, 168, 0.14), transparent 36%),
    linear-gradient(220deg, rgba(224, 185, 99, 0.13), transparent 34%),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(16, 18, 17, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a,
.link-strip a {
  text-decoration: none;
}

.nav a:hover,
.link-strip a:hover {
  color: var(--accent);
}

.hero {
  min-height: 82vh;
  display: grid;
  align-items: end;
  padding: clamp(80px, 14vw, 150px) clamp(18px, 6vw, 76px) clamp(54px, 8vw, 96px);
  background:
    linear-gradient(rgba(16, 18, 17, 0.1), rgba(16, 18, 17, 0.84)),
    radial-gradient(circle at 72% 24%, rgba(224, 185, 99, 0.22), transparent 25%),
    linear-gradient(135deg, #202b29 0%, #111816 45%, #0e1216 100%);
}

.hero__content {
  max-width: 900px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(4rem, 13vw, 9.8rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.hero__copy,
.section__intro p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.button--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #15120a;
}

.link-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  background: rgba(25, 29, 27, 0.72);
}

.link-strip a {
  padding: 18px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.link-strip a:last-child {
  border-right: 0;
}

.section {
  padding: clamp(64px, 9vw, 120px) clamp(18px, 6vw, 76px);
}

.section--split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(30px, 7vw, 86px);
  align-items: start;
  background: rgba(20, 25, 31, 0.48);
  border-block: 1px solid var(--line);
}

.section__intro {
  max-width: 760px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.roadmap {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(25, 29, 27, 0.82);
}

.card span {
  display: block;
  margin-bottom: 34px;
  color: var(--accent);
  font-weight: 900;
}

.card p,
.feature-list,
.roadmap li,
.footer {
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.roadmap ol {
  margin: 16px 0 0;
  padding-left: 22px;
}

.roadmap li + li {
  margin-top: 12px;
}

.footer {
  padding: 34px clamp(18px, 6vw, 76px);
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
}

.move-page {
  --move-paper: #f7f6f1;
  --move-ink: #111312;
  --move-line: #181b19;
  --move-soft: #e4e1d8;
  --move-lit: #77d5bc;
  --move-root: #e3c15f;
  background:
    linear-gradient(130deg, rgba(113, 183, 168, 0.18), transparent 35%),
    linear-gradient(215deg, rgba(224, 185, 99, 0.14), transparent 32%),
    #101211;
}

.move-hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-content: start;
  gap: 20px;
  padding: 28px clamp(12px, 5vw, 64px) clamp(44px, 6vw, 82px);
}

.move-hero__copy {
  max-width: 1220px;
  margin-inline: auto;
  width: 100%;
}

.move-hero__copy h1 {
  margin-bottom: 10px;
  font-size: 2.15rem;
  line-height: 1.05;
  white-space: nowrap;
}

.move-hero__copy p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.move-planner {
  display: grid;
  gap: 10px;
  max-width: 1220px;
  margin-inline: auto;
  width: 100%;
}

.move-planner__header,
.move-slot {
  display: grid;
  grid-template-columns: 72px 64px 64px minmax(155px, 1fr) 76px;
  gap: 8px;
  align-items: end;
}

.move-planner__header {
  display: none;
  padding-inline: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.move-chord-slots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.move-slot {
  margin: 0;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(25, 29, 27, 0.78);
}

.move-slot legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.move-slot label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.move-slot select,
.move-slot input[type="color"] {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 10px;
  background: #191d1b;
  color: var(--ink);
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.move-slot input[type="color"] {
  width: 100%;
  padding: 4px;
}

.move-slot__enabled {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: none;
}

.move-slot__enabled input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--accent-2);
}

.move-planner__actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.move-tool-button,
.move-auto-button {
  min-height: 40px;
  padding-inline: 10px;
  background: rgba(113, 183, 168, 0.15);
  text-align: center;
}

.move-auto-button {
  background: rgba(227, 93, 106, 0.28);
  border-color: rgba(227, 93, 106, 0.72);
  color: #fff4f1;
}

.move-auto-button:hover {
  background: rgba(227, 93, 106, 0.42);
}

.move-grid-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 10px;
  align-items: center;
  max-width: 1220px;
  width: 100%;
  margin: -4px auto 0;
}

.move-clear-button {
  min-height: 40px;
  background: rgba(244, 239, 229, 0.08);
}

.move-pad-menu {
  position: fixed;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 10px;
  width: min(360px, calc(100vw - 24px));
  padding: 12px;
  border: 1px solid rgba(244, 239, 229, 0.24);
  border-radius: 8px;
  background: rgba(16, 18, 17, 0.96);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(18px);
}

.move-pad-menu[hidden] {
  display: none;
}

.move-pad-menu label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.move-pad-menu select {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 10px;
  background: #191d1b;
  color: var(--ink);
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.move-pad-menu__close {
  grid-column: 1 / -1;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(244, 239, 229, 0.08);
  color: var(--ink);
  font-weight: 800;
}

.move-formula {
  min-height: 40px;
  display: flex;
  align-items: center;
  overflow-x: auto;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
}

.move-device {
  margin: 0;
}

.move-device__panel {
  position: relative;
  width: min(100%, 1220px);
  aspect-ratio: 2.08;
  margin-inline: auto;
  border: clamp(2px, 0.22vw, 3px) solid var(--move-line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.18)),
    var(--move-paper);
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  color: var(--move-ink);
}

.move-device__panel button,
.move-device__panel span {
  display: block;
}

.move-screen {
  position: absolute;
  left: 2.3%;
  top: 5.8%;
  width: 11.1%;
  height: 12%;
  border: 2px solid var(--move-line);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.4);
}

.top-controls {
  position: absolute;
  top: 6%;
  left: 21%;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 5.6%;
  width: 64%;
}

.top-knob {
  position: relative;
  width: 47%;
  aspect-ratio: 1;
  justify-self: center;
  border: 2px solid var(--move-line);
  border-radius: 50%;
}

.top-knob::after {
  position: absolute;
  left: 50%;
  bottom: -70%;
  width: 17%;
  aspect-ratio: 1;
  border: 2px solid var(--move-line);
  border-radius: 50%;
  content: "";
  transform: translateX(-50%);
}

.master-knob {
  position: absolute;
  top: 6%;
  right: 2.2%;
  width: 4.8%;
  aspect-ratio: 1;
  border: 2px solid var(--move-line);
  border-radius: 50%;
}

.left-controls {
  position: absolute;
  left: 2.3%;
  top: 27.5%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12% 12%;
  width: 10.5%;
}

.large-dial {
  grid-column: 1 / -1;
  width: 84%;
  aspect-ratio: 1;
  justify-self: center;
  border: 2px solid var(--move-line);
  border-radius: 50%;
}

.round-control,
.transport-button,
.side-button,
.step-button,
.zoom-controls span,
.page-arrows span {
  position: relative;
  border: 2px solid var(--move-line);
  border-radius: 50%;
  background: transparent;
}

.round-control {
  width: 44%;
  min-width: 34px;
  aspect-ratio: 1;
}

.round-control--back::before,
.page-arrows span::before {
  position: absolute;
  top: 32%;
  left: 35%;
  width: 28%;
  aspect-ratio: 1;
  border: solid var(--move-line);
  border-width: 0 0 3px 3px;
  content: "";
  transform: rotate(45deg);
}

.round-control--menu::before {
  position: absolute;
  inset: 27% 24%;
  content: "";
  background: repeating-linear-gradient(180deg, var(--move-line) 0 3px, transparent 3px 9px);
}

.row-tabs {
  position: absolute;
  left: 14.7%;
  top: 23.7%;
  display: grid;
  gap: 4.1%;
  width: 2.7%;
  height: 53.5%;
}

.row-tabs span {
  position: relative;
  border: 2px solid var(--move-line);
  border-radius: 999px;
}

.row-tabs span::before {
  position: absolute;
  left: 50%;
  top: 20%;
  width: 10%;
  height: 60%;
  border-radius: 999px;
  content: "";
  background: var(--move-line);
  transform: translateX(-50%);
}

.pad-grid {
  position: absolute;
  left: 19%;
  top: 23.8%;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4.1% 1.8%;
  width: 67.5%;
  height: 53%;
}

.move-pad {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 2px solid var(--move-line);
  border-radius: 2px;
  background: var(--pad-fill, rgba(255, 255, 255, 0.16));
  color: rgba(17, 19, 18, 0.62);
  font-size: clamp(0.68rem, 1.2vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.move-pad.is-lit {
  color: #090b0a;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.36),
    0 0 18px rgba(255, 255, 255, 0.22);
}

.right-controls {
  position: absolute;
  right: 2.4%;
  top: 24.7%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11% 18%;
  width: 10.5%;
  height: 51.5%;
}

.side-button {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  font-weight: 800;
  line-height: 1;
}

.step-button::before,
.transport-button--record::before {
  position: absolute;
  inset: 38%;
  border-radius: 50%;
  content: "";
  background: var(--move-line);
}

.transport {
  position: absolute;
  left: 2.4%;
  bottom: 7.6%;
  display: flex;
  gap: 14%;
  width: 10.5%;
}

.transport-button {
  width: 45%;
  aspect-ratio: 1;
}

.transport-button--play::before {
  position: absolute;
  left: 38%;
  top: 29%;
  width: 0;
  height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 15px solid var(--move-line);
  content: "";
}

.transport-button--record::before {
  inset: 29%;
  background: transparent;
  border: 5px solid var(--move-line);
}

.step-controls {
  position: absolute;
  left: 19%;
  bottom: 9.3%;
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  gap: 1.9%;
  width: 67.5%;
}

.step-button {
  aspect-ratio: 1;
}

.step-button.is-down::after {
  position: absolute;
  left: 34%;
  bottom: 18%;
  width: 32%;
  height: 3px;
  border-radius: 999px;
  content: "";
  background: var(--move-line);
}

.page-arrows {
  position: absolute;
  right: 2.3%;
  bottom: 8.3%;
  display: flex;
  justify-content: space-between;
  width: 8.8%;
}

.page-arrows span {
  width: 32%;
  aspect-ratio: 1;
}

.page-arrows span:last-child::before {
  left: 28%;
  transform: rotate(225deg);
}

.zoom-controls {
  position: absolute;
  right: 5%;
  bottom: 5%;
  display: grid;
  gap: 8%;
  width: 3.2%;
}

.zoom-controls span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  font-size: clamp(0.85rem, 1.6vw, 1.35rem);
  font-weight: 800;
  line-height: 1;
}

.move-device figcaption {
  max-width: 1220px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 0.94rem;
}

@media (max-width: 1020px) {
  .move-chord-slots {
    grid-template-columns: 1fr;
  }

  .move-planner__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 76vh;
  }

  .link-strip,
  .grid,
  .grid--two,
  .section--split {
    grid-template-columns: 1fr;
  }

  .link-strip a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .link-strip a:last-child {
    border-bottom: 0;
  }

  .move-hero {
    min-height: 0;
    padding-inline: 12px;
  }

  .move-hero__copy h1 {
    font-size: 1.05rem;
  }

  .move-hero__copy p:not(.eyebrow) {
    font-size: 0.94rem;
  }

  .move-planner__header {
    display: none;
  }

  .move-slot {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .move-slot__enabled {
    grid-column: 1 / -1;
  }

  .move-planner__actions {
    grid-template-columns: 1fr;
  }

  .move-tool-button,
  .move-auto-button {
    width: 100%;
  }

  .move-grid-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .move-clear-button,
  .move-auto-button {
    width: 100%;
  }

  .move-pad-menu {
    grid-template-columns: 1fr;
  }

  .move-device {
    overflow: visible;
    padding-bottom: 0;
  }

  .move-device__panel {
    width: 100%;
    min-width: 0;
    border-width: 1px;
    border-radius: 5px;
  }

  .move-screen,
  .top-knob,
  .top-knob::after,
  .master-knob,
  .large-dial,
  .round-control,
  .transport-button,
  .side-button,
  .step-button,
  .zoom-controls span,
  .page-arrows span,
  .row-tabs span,
  .move-pad {
    border-width: 1px;
  }

  .round-control {
    min-width: 0;
  }

  .round-control--back::before,
  .page-arrows span::before {
    border-width: 0 0 2px 2px;
  }

  .round-control--menu::before {
    background: repeating-linear-gradient(180deg, var(--move-line) 0 2px, transparent 2px 6px);
  }

  .row-tabs span::before {
    width: 14%;
  }

  .move-pad {
    font-size: clamp(0.5rem, 2.2vw, 0.7rem);
  }

  .transport-button--play::before {
    border-top-width: 5px;
    border-bottom-width: 5px;
    border-left-width: 7px;
  }

  .transport-button--record::before {
    border-width: 2px;
  }

  .step-button.is-down::after {
    height: 2px;
  }

  .zoom-controls span {
    font-size: clamp(0.5rem, 2.6vw, 0.75rem);
  }
}
