@layer reset, base;
@layer reset {
  *, ::before, ::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
  html { line-height: 1.5; -webkit-text-size-adjust: 100%; tab-size: 4; }
  h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
  a { color: inherit; text-decoration: inherit; }
  ol, ul { list-style: none; }
  button, input, select, textarea { font: inherit; color: inherit; background: transparent; }
  button, input { line-height: inherit; }
  img, svg { display: block; vertical-align: middle; }
  img { max-width: 100%; height: auto; }
  summary { display: list-item; }
  [hidden] { display: none !important; }
}
/* Generated from mockup/src/index.css by npm run sync:mockup. Do not edit by hand. */
@font-face {
  font-family: "Fraunces:Regular";
  src: url("https://static.figma.com/font/Fraunces_SOFT_WONK_opsz_wght__1") format("woff2");
  font-style: normal;
  font-weight: 400;
}
@font-face {
  font-family: "Inter:Bold";
  src: url("https://static.figma.com/font/Inter_1") format("woff2");
  font-style: normal;
  font-weight: 700;
}
@font-face {
  font-family: "Inter:Medium";
  src: url("https://static.figma.com/font/Inter_1") format("woff2");
  font-style: normal;
  font-weight: 500;
}
@font-face {
  font-family: "Inter:Regular";
  src: url("https://static.figma.com/font/Inter_1") format("woff2");
  font-style: normal;
  font-weight: 400;
}
@font-face {
  font-family: "Inter:Semi Bold";
  src: url("https://static.figma.com/font/Inter_1") format("woff2");
  font-style: normal;
  font-weight: 600;
}

:root {
  --font-display: "Fraunces:Regular", Georgia, serif;
  --font-ui: "Inter:Regular", Inter, sans-serif;
  --page-intro-inset: clamp(28px, 4vw, 56px);
  --ink: #231d2e;
  --muted: #625b6c;
  --purple: #57389c;
  --dark: #221b30;
  --paper: #f6f4f0;
  --line: #e4dce8;
  --lavender: #eee6fa;
}
@layer base {
  * {
    box-sizing: border-box;
  }
  html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--paper);
  }
  body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--font-ui);
    font-size: 15px;
  }
  button,
  input,
  select {
    font: inherit;
  }
  button {
    cursor: pointer;
  }
  h1,
  h2,
  h3,
  p {
    margin-top: 0;
  }
  h1,
  h2,
  h3,
  .display {
    font-family: var(--font-display);
    font-weight: 400;
    font-variation-settings:
      "SOFT" 0,
      "WONK" 1;
  }
  h1 {
    font-size: clamp(44px, 5vw, 65px);
    line-height: 1.05;
    margin-bottom: 18px;
  }
  h2 {
    font-size: 34px;
    line-height: 1.15;
  }
  h3 {
    font-size: 20px;
  }
  p {
    color: var(--muted);
    line-height: 1.55;
  }
}
.app-frame {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
}
.app-content {
  min-width: 0;
}
.app-sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--dark);
  color: white;
  padding: 22px 14px 16px;
  display: flex;
  flex-direction: column;
  z-index: 10;
  border-right: 1px solid #3b3049;
}
.sidebar-brand {
  color: white;
  margin: 0 8px 34px;
  justify-content: flex-start;
}
.sidebar-label {
  color: #9588a8;
  font: 10px "Inter:Bold";
  letter-spacing: 1.5px;
  margin: 0 13px 8px;
}
.sidebar-import {
  width: 100%;
  min-height: 46px;
  margin-bottom: 12px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid #8d6cc7;
  border-radius: 10px;
  background: #6a46ad;
  color: white;
  font-family: "Inter:Semi Bold";
  text-align: left;
  box-shadow: 0 8px 22px rgba(14, 8, 25, 0.2);
}
.sidebar-import:hover,
.sidebar-import.active {
  background: #7953ba;
  border-color: #c4a8f0;
}
.sidebar-links {
  display: grid;
  gap: 5px;
}
.sidebar-links button {
  width: 100%;
  min-height: 45px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 0;
  border-radius: 10px;
  padding: 0 13px;
  background: transparent;
  color: #cfc5da;
  text-align: left;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}
.sidebar-links button:hover {
  background: #30263e;
  color: white;
  transform: translateX(2px);
}
.sidebar-links button.active {
  background: #44335c;
  color: white;
  box-shadow: inset 3px 0 #cbb0fa;
}
.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sidebar-plan {
  margin-top: auto;
  background: #2d233d;
  border: 1px solid #463653;
  border-radius: 13px;
  padding: 14px;
}
.sidebar-plan > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.plan-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #bfa0f0;
  box-shadow: 0 0 0 4px rgba(191, 160, 240, 0.12);
}
.sidebar-plan p {
  color: #bfb3ca;
  font-size: 12px;
  line-height: 1.45;
  margin: 9px 0;
}
.sidebar-plan button {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 3px 0 0;
  color: #ddcbfd;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.account-button {
  width: 100%;
  min-height: 58px;
  margin-top: 10px;
  padding: 8px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 9px;
  align-items: center;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: white;
  text-align: left;
}
.account-button:hover {
  background: #30263e;
}
.account-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #e6d8fb;
  color: var(--purple);
}
.account-avatar .icon {
  width: 17px;
}
.account-button b,
.account-button small {
  display: block;
}
.account-button b {
  font-size: 13px;
}
.account-button small {
  margin-top: 3px;
  color: #a99db8;
  font-size: 11px;
}
.shell {
  width: 100%;
  margin-inline: 0;
  padding-inline: 40px;
}
.site-header {
  width: 100%;
  height: 88px;
  margin-inline: 0;
  padding-inline: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.header-context {
  display: grid;
  gap: 4px;
}
.header-context b {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.header-product {
  color: var(--purple);
  font: 10px "Inter:Bold";
  letter-spacing: 1.2px;
}
.header-context b > i {
  color: #aaa1b0;
  font-style: normal;
}
.header-tagline,
.free-note {
  color: var(--muted);
  font-size: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: none;
  color: inherit;
  font:
    27px "Fraunces:Regular",
    serif;
}
.mark {
  width: 35px;
  height: 35px;
  background: #dccaf5;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.mark i {
  width: 3px;
  height: 15px;
  border: 1.5px solid #362845;
}
.site-header nav,
footer nav {
  display: flex;
  gap: 34px;
  align-items: center;
}
.site-header nav > button:not(.button),
footer button {
  border: 0;
  background: none;
  color: var(--muted);
}
.site-header nav > button.active {
  color: var(--purple);
  font-family: "Inter:Bold";
}
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--purple);
  border-radius: 8px;
  background: var(--purple);
  color: white;
  font-family: "Inter:Semi Bold";
  padding: 13px 18px;
  line-height: 1.25;
  text-align: center;
}
.button.secondary {
  background: #fffdfc;
  color: var(--purple);
  border-color: var(--line);
}
.button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}
:where(button, a, input, select, textarea):focus-visible,
.upload-zone:focus-within {
  outline: 2px solid #8660c6;
  outline-offset: 3px;
}
.actions {
  display: flex;
  column-gap: 12px;
  row-gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.actions > * {
  min-width: 0;
}
.eyebrow {
  color: var(--purple);
  font: 12px "Inter:Bold";
  letter-spacing: 1.5px;
  line-height: 1.3;
}
.page-intro {
  min-width: 0;
}
.page-intro > .eyebrow {
  margin: 0;
  text-transform: uppercase;
}
.page-intro > h1 {
  margin: 8px 0 16px;
  font-size: clamp(34px, calc(26px + 2vw), 56px);
  overflow-wrap: anywhere;
}
.page-description {
  max-width: 850px;
  margin: 0;
  font-size: 17px;
}
.hero {
  min-height: 654px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 90px;
  align-items: center;
}
.hero-copy .page-description {
  max-width: 560px;
}
.hero-copy .actions {
  margin: 30px 0 20px;
}
.hero-copy small {
  color: var(--muted);
}
.hero-art {
  width: min(100%, 578px);
  justify-self: end;
}
.section {
  padding-block: 58px;
}
.section > h2 {
  font-size: 46px;
}
.three-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.soft-card {
  padding: 24px;
  border-radius: 14px;
  background: #f0edf2;
  min-height: 150px;
}
.soft-card h3 {
  margin: 0 0 12px;
}
.soft-card p {
  font-size: 13px;
}
.dark-section {
  background: var(--dark);
  color: white;
  padding: 62px 0;
}
.dark-section h2 {
  font-size: 56px;
  color: white;
}
.dark-section p {
  color: #ddd1e8;
}
.dark-section .eyebrow {
  color: #d6bff7;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: center;
}
.split > div > h2 {
  margin-bottom: 18px;
}
.mode-list {
  display: grid;
  gap: 12px;
}
.mode-list article {
  border: 1px solid #49385b;
  border-radius: 12px;
  background: #30243f;
  padding: 16px;
  display: flex;
  gap: 22px;
}
.mode-list article > b {
  color: #d6bff7;
  font-size: 11px;
}
.mode-list h3,
.mode-list p {
  margin: 0 0 5px;
}
.lavender-section {
  background: var(--lavender);
  padding: 58px 0;
}
.hardware {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 90px;
  align-items: center;
}
.hardware h2 {
  font-size: 48px;
}
.hardware > div > p {
  max-width: 680px;
  font-size: 16px;
  margin: 14px 0 24px;
}
.hardware .actions {
  align-items: stretch;
}
.legend,
.quick-checks {
  background: #fffdfc;
  border-radius: 15px;
  padding: 26px;
}
.legend p {
  font-size: 13px;
  margin: 7px 0 18px;
}
.legend hr,
.quick-checks hr {
  border: 0;
  border-top: 1px solid var(--line);
}
.cta {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.cta h2 {
  font-size: 58px;
  margin-bottom: 10px;
}
.cta > p {
  margin-bottom: 24px;
}
.text-link {
  border: 0;
  padding: 0;
  background: none;
  color: var(--purple);
  font-family: "Inter:Medium";
}
.cta .text-link {
  margin-top: 24px;
}
footer {
  background: var(--dark);
  color: white;
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer strong {
  font-size: 28px;
  display: block;
  margin-bottom: 10px;
}
footer small,
footer button {
  color: #ddd1e8;
}
.page {
  padding-block: var(--page-intro-inset) 80px;
}
.page > .page-intro {
  margin-bottom: 35px;
}
.import-page .page-intro > h1 {
  max-width: 830px;
}
.import-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 42px 0 26px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fffdfc;
  overflow: hidden;
}
.import-steps > div {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px;
  color: var(--muted);
  border-right: 1px solid var(--line);
}
.import-steps > div:last-child {
  border-right: 0;
}
.import-steps > div.current {
  background: var(--lavender);
  color: var(--purple);
}
.import-steps span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #eee9f1;
  font: 11px "Inter:Bold";
}
.import-steps .current span {
  background: var(--purple);
  color: white;
}
.import-steps b {
  font-size: 12px;
}
.import-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
  gap: 26px;
}
.import-card,
.adapt-preview {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffdfc;
  padding: 26px;
}
.upload-zone {
  min-height: 235px;
  margin: 20px 0 28px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1.5px dashed #bba7d2;
  border-radius: 14px;
  background: #f7f2fc;
  color: var(--purple);
  text-align: center;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease;
}
.upload-zone:hover {
  border-color: var(--purple);
  background: var(--lavender);
}
.upload-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.upload-zone strong {
  font-size: 17px;
}
.upload-zone small {
  color: var(--muted);
}
.upload-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #dfd0f5;
}
.model-select {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
}
.model-select span {
  color: var(--muted);
  font-size: 12px;
}
.model-select select {
  width: 100%;
  margin-top: 5px;
  appearance: none;
  padding: 13px 42px 13px 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background-color: #f7f4f8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2357389c' stroke-width='2'%3E%3Cpath d='m8 10 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
}
.adapt-preview {
  background: var(--dark);
  color: white;
}
.adapt-preview .eyebrow {
  color: #d6bff7;
}
.adapt-preview h2 {
  margin: 25px 0 10px;
  font-size: 32px;
}
.adapt-preview > p,
.adapt-preview > small {
  color: #cfc3da;
  overflow-wrap: anywhere;
}
.preview-rows {
  margin: 25px 0;
  border-block: 1px solid #493c56;
}
.preview-rows > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid #493c56;
}
.preview-rows > div:last-child {
  border-bottom: 0;
}
.preview-rows span {
  color: #aa9db8;
  font-size: 12px;
}
.preview-rows b {
  font-size: 12px;
  text-align: right;
}
.adapt-preview > .button {
  width: 100%;
  margin-bottom: 16px;
  background: #c7aaf2;
  border-color: #c7aaf2;
  color: #2c1e3c;
}
.adapt-preview > small {
  display: block;
  line-height: 1.5;
}
.lavender {
  background: var(--lavender);
}
.callout {
  border-radius: 15px;
  padding: 20px;
  margin: 30px 0;
}
.two-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.two-grid p {
  margin: 8px 0;
}
.table-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-top: 40px;
}
.table-title h2 {
  margin-bottom: 10px;
}
.table-title span {
  color: var(--muted);
  margin-bottom: 16px;
}
.model-table {
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  background: #fffdfc;
}
.model-row {
  min-height: 51px;
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.8fr 0.75fr;
  align-items: center;
  padding: 0 20px;
  border-top: 1px solid #eee9ef;
  font-size: 13px;
}
.model-row:nth-child(odd) {
  background: #f6f3f6;
}
.model-row.head {
  min-height: 47px;
  border: 0;
  background: #eae3ef;
}
.model-row button {
  border: 0;
  background: none;
  color: var(--purple);
  text-align: left;
}
.pill {
  background: #eeebef;
  border-radius: 99px;
  padding: 5px 10px;
  width: max-content;
  font-size: 11px;
}
.pill.purple {
  color: var(--purple);
  background: #eee4ff;
}
.after-table {
  margin-top: 38px;
  max-width: 900px;
}
.after-table p {
  line-height: 1.7;
}
.keyboard-guide > .page-intro {
  margin-bottom: 16px;
}
.profile-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
  gap: 40px;
  align-items: center;
  margin: 35px 0 42px;
  padding: 28px;
  border-radius: 16px;
  background: var(--lavender);
}
.profile-summary h2 {
  margin: 15px 0 8px;
  font-size: 34px;
}
.profile-summary p {
  margin-bottom: 0;
}
.profile-status {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 99px;
  font: 10px "Inter:Bold";
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.profile-status.lighting {
  background: #deefe6;
  color: #276b4d;
}
.profile-status.display {
  background: #e2d6f5;
  color: var(--purple);
}
.profile-summary dl {
  margin: 0;
  padding: 6px 20px;
  border-radius: 12px;
  background: #fffdfc;
}
.profile-summary dl > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.profile-summary dl > div:last-child {
  border-bottom: 0;
}
.profile-summary dt {
  color: var(--muted);
  font-size: 11px;
}
.profile-summary dd {
  margin: 0;
  font: 11px "Inter:Semi Bold";
  text-align: right;
}
.model-guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.7fr);
  gap: 42px;
  align-items: start;
}
.model-safety {
  position: sticky;
  top: 24px;
}
.safety-list {
  display: grid;
  margin: 18px 0 22px;
  border-block: 1px solid var(--line);
}
.safety-list span {
  position: relative;
  padding: 12px 0 12px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.safety-list span:last-child {
  border-bottom: 0;
}
.safety-list span:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--purple);
  font-family: "Inter:Bold";
}
.keyboard-guide > .callout {
  margin-top: 38px;
}
.keyboard-guide > .callout p {
  margin: 8px 0 0;
}
.pricing {
  padding-bottom: 90px;
}
.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 56px;
}
.plan {
  border: 1px solid var(--line);
  background: #fffdfc;
  border-radius: 16px;
  padding: 30px 24px;
  min-height: 430px;
}
.plan.dark {
  background: var(--dark);
  color: white;
  border-color: var(--dark);
}
.plan.dark p {
  color: #eee7f3;
}
.plan h2 {
  font-size: 50px;
  margin: 30px 0 5px;
}
.plan hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 26px 0;
  opacity: 0.35;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  gap: 17px;
  color: var(--purple);
}
.plan li span {
  color: inherit;
  margin-left: 14px;
}
.plan.dark li {
  color: #d6bff7;
}
.plan.dark li span {
  color: white;
}
.addon,
.next-step {
  margin-top: 34px;
  padding: 24px;
  border-radius: 14px;
  background: var(--lavender);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.addon h2,
.addon p {
  margin-bottom: 8px;
}
.faq {
  margin-top: 45px;
}
.faq h2 {
  margin-bottom: 12px;
}
.wide-rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 55px 0 30px;
}
.midi-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 40px;
}
.signal {
  container-type: inline-size;
  background: var(--lavender);
  border-radius: 15px;
  padding: 22px;
  margin-bottom: 20px;
}
.signal > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.signal .signal-row {
  margin-top: 10px;
}
.signal-row > small {
  flex: 0 0 105px;
  margin: 0;
  color: var(--purple);
  font: 9px "Inter:Bold";
  letter-spacing: 1px;
}
.signal span {
  flex: 1;
  background: #fffdfc;
  border-radius: 7px;
  padding: 16px;
  color: var(--purple);
  font-family: "Inter:Semi Bold";
}
.signal > p {
  margin: 15px 0 0;
  font-size: 12px;
}
@container (max-width: 440px) {
  .signal .signal-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }
  .signal-row > small {
    grid-column: 1 / -1;
  }
  .signal-row > span {
    padding: 10px;
    overflow-wrap: anywhere;
  }
}
.setup-step {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.setup-step > span {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  background: var(--lavender);
  color: var(--purple);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Inter:Bold";
}
.setup-step h2 {
  margin-bottom: 8px;
}
.setup-step p {
  font-size: 16px;
}
.quick-checks {
  border: 1px solid var(--line);
  align-self: start;
}
.checks-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 15px;
}
.checks-head > span {
  color: var(--muted);
  font-size: 11px;
}
.quick-checks h2 {
  margin: 15px 0 18px;
  font-size: 24px;
}
.check-list {
  border-block: 1px solid var(--line);
  margin-bottom: 20px;
}
.check-row {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 9px;
  min-height: 45px;
  border-bottom: 1px solid var(--line);
}
.check-row:last-child {
  border-bottom: 0;
}
.check-row b,
.check-row > span:last-child {
  font-size: 11px;
}
.check-row > span:last-child {
  color: var(--muted);
  text-align: right;
}
.check-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #aaa2af;
}
.check-dot.ready {
  background: #2f805c;
}
.check-dot.attention {
  background: #c27a27;
}
.check-dot.untested {
  background: #aaa2af;
}
.quick-checks .button {
  width: 100%;
}
.quick-checks .text-link {
  width: 100%;
  margin-top: 16px;
  text-align: center;
}
.state-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.state-card {
  background: #fffdfc;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 17px;
  min-height: 225px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.state-card .eyebrow {
  margin: 0 0 12px;
}
.state-card .status {
  margin: 0 0 12px;
}
.status {
  display: block;
  padding: 7px 10px;
  border-radius: 6px;
  width: 100%;
  font-family: "Inter:Semi Bold";
  font-size: 12px;
}
.status.green {
  background: #e2f1e9;
  color: #266c4d;
}
.status.purple {
  background: #eee4fa;
  color: var(--purple);
}
.status.amber {
  background: #faead5;
  color: #8e5a1f;
}
.status.gray {
  background: #ece9ef;
}
.status.red {
  background: #f9e3e5;
  color: #a23744;
}
.state-card h2 {
  margin: 0 0 8px;
}
.state-card p {
  flex: 1;
  margin-bottom: 18px;
}
.state-card .button {
  min-width: 150px;
  text-align: left;
}
.back-home {
  margin-top: 20px;
  border: 0;
  background: none;
  color: var(--purple);
}

.studio {
  min-height: 100dvh;
  background: var(--paper);
}
.studio-nav {
  position: sticky;
  top: 0;
  height: 100dvh;
  background: var(--dark);
  color: white;
  padding: 24px 15px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  z-index: 2;
}
.studio-brand {
  color: white;
  margin: 0 9px 38px;
}
.studio-nav > .eyebrow {
  color: #b7a9ca;
  margin: 0 10px 4px;
}
.studio-nav > button:not(.brand) {
  height: 44px;
  border: 0;
  border-radius: 9px;
  background: none;
  color: #ddd3e8;
  text-align: left;
  padding: 0 14px;
}
.studio-nav > button.selected {
  background: #3f3056;
  color: white;
}
.studio-nav hr {
  width: calc(100% - 20px);
  border: 0;
  border-top: 1px solid #443851;
  margin: 20px auto;
}
.plan-summary {
  margin-top: auto;
  background: #2d233d;
  border: 1px solid #443651;
  border-radius: 12px;
  padding: 14px;
  display: grid;
  gap: 10px;
}
.plan-summary .eyebrow {
  color: #bfb0d1;
  margin: 0;
}
.plan-summary span {
  color: #ddcbfd;
  font-size: 12px;
}
.studio-main {
  min-width: 0;
  padding: 0 40px 52px;
}
.song-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-top: var(--page-intro-inset);
}
.adaptation-bar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto auto;
  align-items: center;
  gap: 28px;
  padding: 12px 16px;
  margin: 15px 0 12px;
  border: 1px solid #dfd4e7;
  border-radius: 11px;
  background: var(--lavender);
}
.adaptation-bar .eyebrow {
  margin: 0 0 3px;
}
.adaptation-bar > div:not(:first-child) {
  display: grid;
  gap: 3px;
}
.adaptation-bar span {
  color: var(--muted);
  font-size: 12px;
}
.adaptation-bar b {
  font-size: 13px;
}
.adaptation-bar button {
  border: 0;
  background: none;
  color: var(--purple);
  font-family: "Inter:Semi Bold";
  font-size: 12px;
}
.practice-dashboard {
  margin: 16px 0 18px;
  padding: 18px;
  border: 1px solid #ded5e4;
  border-radius: 16px;
  background: #fffdfc;
  box-shadow: 0 10px 28px rgba(43, 30, 59, 0.05);
}
.dashboard-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}
.dashboard-heading .eyebrow {
  margin: 0 0 3px;
}
.dashboard-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.15;
}
.advanced-link {
  border: 0;
  background: transparent;
  color: var(--purple);
  font-family: "Inter:Semi Bold";
}
.mode-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 5px;
  border-radius: 12px;
  background: #f0ebf4;
}
.mode-picker button {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  text-align: left;
}
.mode-picker button.active {
  border-color: #d9c9e8;
  background: #fffdfc;
  color: var(--purple);
  box-shadow: 0 3px 10px rgba(49, 31, 67, 0.08);
}
.mode-picker span,
.mode-picker small {
  display: block;
}
.mode-picker span {
  margin-bottom: 4px;
  font-family: "Inter:Semi Bold";
  font-size: 14px;
}
.mode-picker small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.quick-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 9px;
  margin-top: 10px;
}
.quick-controls label,
.tempo-control,
.quick-toggle {
  min-width: 0;
  min-height: 60px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #faf8fa;
  color: var(--ink);
  text-align: left;
}
.quick-controls label > span,
.tempo-control span,
.quick-toggle span {
  color: var(--muted);
  font-size: 11px;
}
.quick-controls select {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 13px "Inter:Semi Bold";
}
.tempo-control > div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
}
.tempo-control b {
  min-width: 0;
  color: var(--ink);
  font: 13px "Inter:Semi Bold";
  text-align: right;
  white-space: nowrap;
}
.tempo-control button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--purple);
  font-size: 10px;
}
.tempo-control button:disabled {
  color: #aaa2af;
  cursor: default;
}
.tempo-control input[type="range"] {
  width: 100%;
  height: 18px;
  margin: 0;
  accent-color: var(--purple);
  cursor: pointer;
}
.quick-toggle b {
  font: 13px "Inter:Semi Bold";
}
.quick-toggle.active {
  border-color: #cdb9e1;
  background: #f3ecfb;
  color: var(--purple);
}
.disclosure-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.disclosure-button .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.18s ease;
}
.practice-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(250px, 1fr);
  gap: 16px;
}
.score-card,
.coach {
  background: #fffdfc;
  border: 1px solid #e7e0e9;
  border-radius: 16px;
  overflow: hidden;
}
.score-card {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
}
.score-title {
  min-height: 68px;
  padding: 15px 20px;
  border-bottom: 1px solid #e7e0e9;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
}
.score-title h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
}
.score-title span {
  font-size: 12px;
  color: var(--muted);
}
.staff {
  flex: 1;
  min-height: clamp(140px, 18vw, 224px);
  padding: 10px 14px 6px;
  display: grid;
  align-items: center;
}
.grand-staff {
  width: 100%;
  min-width: 0;
}
.grand-staff svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 230px;
  overflow: visible;
}
.current-beat {
  background: rgba(205, 183, 250, 0.4);
  fill: rgba(205, 183, 250, 0.34);
}
.staff-rule,
.bar-rule,
.ledger-line {
  stroke: #aaa1b0;
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
}
.bar-rule {
  stroke: #756c7c;
}
.ledger-line {
  stroke: var(--ink);
}
.clef {
  fill: var(--ink);
  font-family: "Noto Music", "Bravura Text", "Segoe UI Symbol", serif;
  font-size: 58px;
}
.bass-clef {
  font-size: 49px;
}
.time-signature {
  fill: var(--ink);
  font: 700 22px Georgia, serif;
  text-anchor: middle;
}
.score-note {
  fill: var(--ink);
  stroke: var(--ink);
}
.score-note.right {
  fill: var(--purple);
  stroke: var(--purple);
}
.note-stem {
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
.fingering {
  fill: var(--muted);
  stroke: none;
  font: 600 11px "Inter:Semi Bold", Inter, sans-serif;
  text-anchor: middle;
}
.score-transport {
  border-top: 1px solid #e7e0e9;
  padding: 12px 16px;
  display: grid;
  gap: 12px;
}
.transport-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.transport-controls .button {
  gap: 5px;
  padding: 8px 10px;
  font-size: 13px;
}
.transport-controls .icon {
  width: 16px;
  height: 16px;
}
.transport-play {
  min-width: 114px;
}
.transport-caption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}
.transport-caption kbd {
  display: inline-block;
  padding: 0 5px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}
@container (max-width: 364px) {
  .transport-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .transport-play {
    min-width: 0;
  }
  .transport-caption {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}
.coach {
  padding: clamp(14px, 2vw, 20px);
}
.coach h2 {
  font-size: 22px;
  margin: 5px 0 14px;
}
.coach small {
  color: var(--muted);
  font-size: 12px;
}
.finger-hands {
  display: grid;
  gap: 12px;
}
.finger-hand dt {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
}
.finger-hand dt > span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #eee9f1;
}
.finger-hand dt small {
  margin-inline-start: auto;
  white-space: nowrap;
}
.finger-hand:nth-child(2) dt > span {
  background: var(--lavender);
  color: var(--purple);
}
.finger-slots {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
}
.finger-slot {
  display: grid;
  gap: 1px;
  padding: 5px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #faf8fc;
  color: var(--purple);
  font-size: 13px;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
}
.finger-slot.empty {
  border-style: dashed;
  background: transparent;
  color: #80758b;
}
.finger-next {
  display: grid;
  gap: 4px;
  margin: 14px 0 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.5;
}
.finger-next-notes {
  /* Two lines fit a ten-note chord and stay reserved when the next beat is empty. */
  min-block-size: calc(3em + 4px);
  color: var(--muted);
}
.highway {
  margin-top: 24px;
  container-type: inline-size;
  border-radius: 16px;
  overflow: hidden;
  background: var(--dark);
  color: white;
}
.highway > header {
  min-height: 62px;
  padding: 14px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
  border-bottom: 1px solid #443851;
}
.highway h2 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 3px;
}
.highway header span {
  color: #c7bbd0;
  font-size: 12px;
}
.highway header > div:last-child {
  display: flex;
  gap: 14px;
}
.current-note-legend::before,
.upcoming-note-legend::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 5px;
  border-radius: 50%;
  background: #d4bafa;
}
.upcoming-note-legend::before {
  background: transparent;
  border: 1px solid #c7bbd0;
}
.note-lanes {
  --preview-position: -1;
  --preview-beat: -1;
  --display-position: var(--preview-position);
  --beat-distance: clamp(64px, 7vw, 100px);
  height: calc(var(--beat-distance) * 2.2);
  position: relative;
  overflow: hidden;
  background: repeating-linear-gradient(
    to right,
    transparent 0 calc(12.5% - 1px),
    #3d304d calc(12.5% - 1px) 12.5%
  );
}
.note-lanes::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: #a48ac8;
}
.falling-note {
  position: absolute;
  bottom: 0;
  display: grid;
  place-items: center;
  height: calc(var(--beat-distance) - 4px);
  overflow: hidden;
  border: 1px solid #a58fbe;
  border-radius: 5px;
  background: #5e4978;
  color: #fffdfc;
}
.falling-note.landing {
  background: #d4bafa;
  color: #322248;
}
.falling-note span {
  display: none;
}
@container (min-width: 820px) {
  .falling-note span {
    display: block;
    font-size: 10px;
    font-weight: 600;
  }
}
@media (prefers-reduced-motion: reduce) {
  .note-lanes {
    --display-position: var(--preview-beat);
  }
}
.piano {
  height: 118px;
  position: relative;
  background: #fffdfc;
  overflow: hidden;
}
.white-keys {
  position: absolute;
  inset: 0;
  display: flex;
}
.white-keys > span {
  flex: 1 1 0;
  min-width: 0;
  background: #fffdfc;
  border: 0;
  border-right: 1px solid #655c6e;
}
.black-keys {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.black-keys > span {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  height: 68%;
  padding: 0;
  border: 1px solid #120e19;
  border-radius: 0 0 3px 3px;
  background: var(--dark);
  box-shadow: inset 0 -5px 0 #17111f;
}
.white-keys .lit {
  background: #ceb6fb;
}
.black-keys .lit {
  background: #8863ca;
  box-shadow: inset 0 -5px 0 #593c8e;
}
.highway footer {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  justify-content: space-between;
  padding: 8px 20px;
  font-size: 12px;
  color: #c7bbd0;
}
.overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(34, 27, 48, 0.52);
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal {
  position: relative;
  background: #fffdfc;
  border-radius: 18px;
  padding: 28px;
  width: min(660px, 100%);
  max-height: calc(100dvh - 48px);
  overflow: auto;
}
.modal > .eyebrow {
  margin-bottom: 12px;
  padding-right: 44px;
}
.modal h1,
.settings-drawer h1 {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 400;
  font-variation-settings:
    "SOFT" 0,
    "WONK" 1;
}
.modal > h1 {
  margin-bottom: 16px;
}
.modal > p {
  margin-bottom: 18px;
}
.modal > .actions {
  margin-top: 24px;
}
.modal > .text-link {
  display: inline-block;
  margin-top: 14px;
}
.close {
  position: absolute;
  right: 28px;
  top: 25px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 25px;
}
.midi-modal {
  width: min(560px, 100%);
}
.flow {
  background: var(--lavender);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0;
}
.flow b {
  background: #fffdfc;
  color: var(--purple);
  border-radius: 7px;
  padding: 17px;
  flex: 1;
  font-size: 12px;
}
.mini-step {
  display: flex;
  gap: 13px;
  margin: 18px 0;
}
.mini-step > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lavender);
  color: var(--purple);
}
.mini-step p {
  margin: 4px 0;
}
.midi-modal > .actions {
  margin: 34px 0 12px;
}
.test-modal label,
.settings-drawer label {
  display: grid;
  gap: 8px;
  margin: 22px 0;
}
.test-modal select,
.settings-drawer select,
.settings-drawer input {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background-color: #f7f4f8;
}
.test-modal select,
.settings-drawer select {
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2357389c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8 10 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
}
.received {
  padding: 16px;
  border-radius: 12px;
  background: #e1f0e8;
  color: #286a4c;
  margin: 20px 0;
}
.received.pending {
  display: grid;
  gap: 8px;
  background: #f0edf2;
  color: var(--ink);
}
.received.pending .eyebrow {
  color: var(--muted);
  margin: 0;
}
.received .eyebrow {
  color: #286a4c;
}
.received strong {
  font: 32px "Fraunces:Regular";
  margin-right: 28px;
}
.song-modal {
  width: min(830px, 100%);
}
.tabs {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  margin-top: 24px;
}
.tabs button {
  position: relative;
  border: 0;
  padding: 0 0 12px;
  background: transparent;
  color: var(--muted);
}
.tabs button.active {
  color: var(--purple);
  font-family: "Inter:Semi Bold";
}
.tabs button.active:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--purple);
}
.tabs button span {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  margin-left: 5px;
  padding: 0 5px;
  place-items: center;
  border-radius: 99px;
  background: var(--lavender);
  font-size: 10px;
}
.library-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin: 16px 0 8px;
}
.search {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f4f8;
}
.song {
  border: 0;
  width: 100%;
  background: none;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  text-align: left;
  padding: 8px;
  border-radius: 8px;
}
.song > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--lavender);
  color: var(--purple);
  border-radius: 8px;
}
.song small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
}
.song > div,
.saved-song-open > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.song em {
  color: var(--purple);
  font-style: normal;
}
.selected-song {
  background: #f4eff9;
}
.library-note {
  margin: 14px 8px 0;
  font-size: 12px;
}
.saved-song-list {
  display: grid;
  gap: 4px;
}
.saved-song {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border-radius: 8px;
}
.saved-song-open {
  min-width: 0;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  border: 0;
  padding: 8px;
  background: transparent;
  color: var(--ink);
  text-align: left;
}
.saved-song-open > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--lavender);
  color: var(--purple);
}
.saved-song-open small {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.saved-song-open em {
  margin-left: 12px;
  color: var(--purple);
  font-style: normal;
}
.remove-song {
  margin-right: 10px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
}
.remove-song:hover {
  color: #a23744;
}
.library-empty {
  display: grid;
  justify-items: start;
  gap: 8px;
  margin-top: 12px;
  padding: 24px;
  border-radius: 12px;
  background: var(--lavender);
}
.library-empty p,
.no-song-results {
  margin: 0;
}
.no-song-results {
  padding: 28px 8px;
  color: var(--muted);
  text-align: center;
}
.drawer-overlay {
  place-items: stretch end;
  padding: 0;
}
.settings-drawer {
  width: min(473px, 100%);
  background: #fffdfc;
  padding: 30px 26px;
  overflow: auto;
  position: relative;
}
.settings-drawer > p {
  margin-bottom: 18px;
}
.settings-drawer > hr {
  border: 0;
  border-top: 1px solid var(--line);
}
.settings-drawer label span {
  color: var(--muted);
  font-size: 12px;
}
.loop {
  background: var(--lavender);
  padding: 16px;
  border-radius: 13px;
  margin: 22px 0;
}
.loop > b {
  display: flex;
  justify-content: space-between;
}
.loop em {
  font-style: normal;
  color: var(--purple);
}
.loop > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.loop label {
  min-width: 0;
  margin: 15px 0;
}
.loop input {
  width: 100%;
  min-width: 0;
}
.setting-line {
  width: 100%;
  display: flex;
  justify-content: space-between;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  background: none;
}
.setting-line span {
  color: var(--purple);
}
.settings-drawer > .button {
  width: 100%;
  margin-top: 28px;
}
.export-modal {
  width: min(600px, 100%);
}
.export-summary {
  margin: 24px 0 18px;
  border-block: 1px solid var(--line);
}
.export-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.export-summary > div:last-child {
  border-bottom: 0;
}
.export-summary span {
  color: var(--muted);
}
.export-note {
  margin: 0 0 22px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--lavender);
  font-size: 13px;
}
.export-disabled {
  min-height: 41px;
}
.account-modal {
  width: min(570px, 100%);
}
.account-modal h1 {
  max-width: 470px;
}
.account-modal-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--purple);
  background: var(--lavender);
  border-radius: 12px;
  margin-bottom: 24px;
}
.account-benefits {
  display: grid;
  gap: 10px;
  padding: 18px;
  margin: 22px 0;
  border-radius: 12px;
  background: var(--lavender);
}
.account-benefits span {
  color: var(--muted);
  font-size: 13px;
  padding-left: 18px;
  position: relative;
}
.account-benefits span:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--purple);
}
.account-note {
  font-size: 12px;
  padding-left: 12px;
  border-left: 2px solid #cbb0fa;
}

@media (max-width: 900px) {
  .app-frame {
    grid-template-columns: 76px minmax(0, 1fr);
  }
  .app-sidebar {
    padding: 14px 9px;
  }
  .sidebar-brand {
    margin: 0 auto 28px;
  }
  .sidebar-brand > span:last-child,
  .sidebar-label,
  .sidebar-import span,
  .sidebar-links button span,
  .sidebar-plan p,
  .sidebar-plan button,
  .account-button > span:not(.account-avatar) {
    display: none;
  }
  .sidebar-import {
    padding: 0;
    justify-content: center;
  }
  .sidebar-links button {
    padding: 0;
    justify-content: center;
  }
  .sidebar-links button:hover {
    transform: none;
  }
  .sidebar-links button.active {
    box-shadow: inset 3px 0 #cbb0fa;
  }
  .sidebar-plan {
    padding: 13px 0;
    display: grid;
    place-items: center;
  }
  .sidebar-plan b {
    display: none;
  }
  .account-button {
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;
    padding: 7px 0;
  }
  .account-avatar {
    margin: auto;
  }
  .shell {
    width: 100%;
    padding-inline: 16px;
  }
  .site-header {
    height: 70px;
    padding-inline: 16px;
  }
  .site-header nav > button:not(.button) {
    display: none;
  }
  .site-header .button {
    padding: 10px 12px;
  }
  .brand {
    font-size: 22px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 70px;
    padding-inline: 16px;
    min-height: auto;
    gap: 30px;
  }
  .hero-art {
    justify-self: center;
  }
  .three-grid,
  .split,
  .hardware,
  .plan-grid,
  .import-layout,
  .profile-summary,
  .model-guide-layout,
  .midi-layout,
  .state-grid {
    grid-template-columns: 1fr;
  }
  .model-safety {
    position: static;
  }
  .import-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .import-steps > div:nth-child(2) {
    border-right: 0;
  }
  .import-steps > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .split {
    gap: 35px;
  }
  .dark-section h2 {
    font-size: 43px;
  }
  .hardware {
    gap: 30px;
  }
  .footer-inner {
    align-items: flex-start;
    gap: 30px;
  }
  .footer-inner nav {
    flex-wrap: wrap;
    gap: 12px;
  }
  .model-row {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) auto;
    gap: 8px;
    padding: 10px 14px;
  }
  .model-row > :nth-child(3) {
    display: none;
  }
  .table-title span {
    display: none;
  }
  .studio-main {
    padding: 0 16px 35px;
  }
  .song-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .song-head > .actions {
    width: 100%;
  }
  .adaptation-bar {
    grid-template-columns: 1fr auto auto;
  }
  .adaptation-bar > div:first-child {
    grid-column: 1 / -1;
  }
  .quick-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .practice-grid {
    grid-template-columns: 1fr;
  }
  .state-grid {
    gap: 14px;
  }
}
@media (max-width: 560px) {
  .app-frame {
    grid-template-columns: 48px minmax(0, 1fr);
  }
  .app-sidebar {
    padding-inline: 3px;
  }
  .shell,
  .site-header,
  .studio-main {
    padding-inline: 12px;
  }
  .mark {
    width: 34px;
    height: 34px;
  }
  .free-note {
    display: none;
  }
  .section > h2,
  .hardware h2,
  .cta h2 {
    font-size: 39px;
  }
  .site-header nav .button {
    display: none;
  }
  .three-grid {
    grid-template-columns: 1fr;
  }
  .two-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .model-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .model-row.head > :last-child {
    display: none;
  }
  .model-row > button {
    grid-column: 1 / -1;
    min-height: 36px;
  }
  .import-steps {
    grid-template-columns: 1fr;
  }
  .import-steps > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .import-steps > div:last-child {
    border-bottom: 0;
  }
  .footer-inner {
    flex-direction: column;
  }
  .addon,
  .next-step {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .signal .signal-row {
    display: grid;
    grid-template-columns: 1fr;
  }
  .signal b {
    transform: rotate(90deg);
  }
  .song-head > .actions {
    align-items: stretch;
  }
  .song-head > .actions > .button {
    flex: 1 1 auto;
  }
  .hero-copy .actions,
  .hardware .actions,
  .modal > .actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }
  .hero-copy .actions > .button,
  .hardware .actions > .button,
  .modal > .actions > .button {
    width: 100%;
  }
  .adaptation-bar {
    grid-template-columns: 1fr 1fr;
    gap: 13px;
  }
  .adaptation-bar > div:first-child,
  .adaptation-bar button {
    grid-column: 1 / -1;
  }
  .adaptation-bar button {
    padding: 8px 0;
    text-align: left;
  }
  .mode-picker {
    grid-template-columns: 1fr;
  }
  .mode-picker button {
    padding: 10px 12px;
  }
  .tempo-control {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .piano {
    height: 90px;
  }
  .modal {
    padding: 24px 18px;
  }
  .modal h1,
  .settings-drawer h1 {
    font-size: 34px;
  }
  .modal > .eyebrow {
    padding-right: 36px;
  }
  .flow {
    padding: 10px;
  }
  .flow b {
    padding: 12px 6px;
  }
  .song-modal .tabs {
    margin-top: 10px;
  }
  .library-controls {
    grid-template-columns: 1fr;
  }
  .library-controls .button {
    width: 100%;
  }
  .saved-song {
    grid-template-columns: 1fr;
  }
  .remove-song {
    justify-self: start;
    margin: 0 0 8px 48px;
  }
}

/* The visual baseline is src/mockup.css, synced from mockup/src/index.css.
   It is shared by the app and public pages.
   Keep production-only controls here; do not override the reference's geometry. */
:root { color-scheme: light; --white: #fffdfc; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: not-allowed; }
.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; }
.sidebar-links a { width: 100%; min-height: 45px; display: flex; align-items: center; gap: 13px; border-radius: 10px; padding: 0 13px; color: #cfc5da; transition: background .18s ease, color .18s ease, transform .18s ease; }
.sidebar-links a:hover { background: #30263e; color: white; transform: translateX(2px); }
.sidebar-links a.active { background: #44335c; color: white; box-shadow: inset 3px 0 #cbb0fa; }
.sidebar-plan a { width: 100%; display: flex; justify-content: space-between; padding-top: 3px; color: #ddcbfd; font-size: 12px; }
.site-header nav .button { gap: 5px; }
footer nav a { color: #ddd1e8; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-bottom: 24px; font-size: 12px; color: #ddd1e8; }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.footer-legal small { margin-right: auto; }
.btn { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fffdfc; color: var(--purple); font-family: "Inter:Semi Bold", sans-serif; font-size: 13px; text-align: center; }
.btn.primary { color: white; background: var(--purple); border-color: var(--purple); }
.button:disabled, .btn:disabled { opacity: .58; }
.button .icon { width: 16px; height: 16px; }
.button-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.upload-zone { width: 100%; }
.upload-zone.dragging { background: var(--lavender); border-color: var(--purple); }
.import-review { display: block; margin-top: 18px; font-size: 12px; }
.adapt-preview > .text-link { display: block; margin: 0 0 16px; color: #ddcbfd; text-align: left; }
.model-select > label { font-family: "Inter:Semi Bold", sans-serif; }
.model-select > .field-hint { margin: 0; font-size: 12px; }
.control-group { display: grid; gap: 8px; margin: 18px 0; }
.control-group > label, .practice-settings label > b { font-family: "Inter:Semi Bold", sans-serif; font-size: 14px; }
.field-hint { color: var(--muted); font-size: 12px; line-height: 1.5; }
.field-hint a { color: var(--purple); text-decoration: underline; }
.settings-section > summary { cursor: pointer; list-style: none; }
.settings-drawer .check-label { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.check-label input, input[type="checkbox"] { accent-color: var(--purple); }
.check-label input { flex: 0 0 auto; width: 16px; height: 16px; }
.loop small { display: block; color: var(--muted); font-size: 12px; }
.settings-drawer .loop label { margin: 15px 0; }
.settings-section .setting-line { padding-block: 16px; }
.practice-settings .control-group > label { margin-block: 8px; }
.settings-drawer input[type="range"] { width: 100%; padding: 0; accent-color: var(--purple); }
.track-list { display: grid; gap: 10px; }
.track-item { display: grid; gap: 6px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
.track-meta strong, .track-meta span { display: block; }
.track-meta span { font-size: 12px; color: var(--muted); }
.hardware-panel select { width: 100%; min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background-color: #f7f4f8; }
.hardware-panel .flow { display: none; }
.hardware-panel > [role="status"], .hardware-panel [role="status"] { font-size: 12px; color: var(--muted); }
.midi-log, .setup-guide { margin-top: 18px; font-size: 12px; }
.midi-log summary, .setup-guide summary { cursor: pointer; color: var(--purple); }
.midi-log-box { max-height: 180px; overflow: auto; margin-top: 12px; padding: 12px; background: var(--paper); font: 11px/1.6 monospace; overflow-wrap: anywhere; }
.test-modal .received b { font-size: 15px; }
.test-modal .control-group label { margin: 0; }
.test-modal .setup-step h3 { font-size: 20px; }
.test-modal .setup-step p { font-size: 13px; }
.finger-slot.satisfied { background: #e2f1e9; border-color: #9dc5b1; color: #266c4d; }
.finger-next-notes { max-block-size: calc(3em + 4px); overflow: hidden; }
.accidental { stroke: none; font-size: 17px; }
.white-keys button { flex: 1 1 0; min-width: 0; background: #fffdfc; border: 0; border-right: 1px solid #655c6e; touch-action: none; }
.black-keys button { position: absolute; top: 0; transform: translateX(-50%); height: 68%; border: 1px solid #120e19; border-radius: 0 0 3px 3px; background: var(--dark); box-shadow: inset 0 -5px 0 #17111f; pointer-events: auto; touch-action: none; }
.white-keys button.lit { background: #ceb6fb; }
.black-keys button.lit { background: #8863ca; box-shadow: inset 0 -5px 0 #593c8e; }
.white-keys button.user-pressed { background: #a7d7bf; }
.black-keys button.user-pressed { background: #397f5d; box-shadow: inset 0 -5px 0 #24583d; }
.white-keys button { position: relative; }
.computer-keyboard-settings p { margin: 12px 0; font-size: 12px; }
.computer-keyboard-settings kbd { font-family: inherit; color: var(--purple); }
.white-keys button:focus-visible, .black-keys button:focus-visible { outline-offset: -3px; position: relative; z-index: 1; }
.black-keys button:focus-visible { position: absolute; }
.note-lanes { --preview-position: 0; --preview-beat: 0; }
.practice-feedback { padding: 12px 20px; border-top: 1px solid #443851; color: #c7bbd0; font-size: 12px; }
.practice-feedback summary { cursor: pointer; }
.practice-feedback p { color: inherit; margin: 12px 0; }
.flow-feedback-bar { padding-top: 12px; display: flex; gap: 10px; flex-wrap: wrap; }
.flow-feedback-bar.correct { color: #a7d7bf; }
.flow-feedback-bar.wrong { color: #f1c98f; }
.workspace-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 18px; color: var(--muted); font-size: 11px; }
.workspace-footer a { color: var(--purple); }
.app-notice { position: fixed; bottom: 20px; right: 20px; z-index: 30; max-width: min(460px, calc(100vw - 80px)); padding: 16px 42px 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fffdfc; box-shadow: 0 8px 28px #221b3026; overflow-wrap: anywhere; }
.app-notice button { position: absolute; top: 10px; right: 14px; color: var(--muted); font-size: 22px; }
#sign-in-form { display: grid; gap: 10px; margin: 20px 0; }
#sign-in-form input { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
.library-tools { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.library-tools > summary { color: var(--purple); cursor: pointer; font-size: 12px; }
.library-tools > .button { margin-top: 16px; }
.exercise-form { display: grid; gap: 14px; margin-top: 24px; }
.exercise-form h2 { font-size: 25px; }
.credits-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12px; }
.progress-page > .text-link { margin-top: 20px; }
.pro-practice { margin-top: 28px; padding: 24px; background: #fffdfc; border: 1px solid var(--line); border-radius: 16px; }
.pro-practice > h2 { margin-bottom: 20px; }
.pro-heading { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; }
.pro-heading > div:first-child { flex: 1 1 300px; }
.pro-heading h3 { margin: 8px 0; }
.pro-heading p, .pro-note { font-size: 13px; }
.pro-kicker { color: var(--purple); font-size: 12px; }
.pro-actions { display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; }
.pro-recommendation { display: grid; gap: 5px; margin-top: 20px; padding: 18px; border-radius: 12px; background: var(--lavender); font-size: 13px; }
.guided-routines { margin-top: 24px; }
.guided-routines summary, .practice-history summary { cursor: pointer; color: var(--purple); }
.routine-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.practice-plan-card { padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
.practice-plan-card h4 { font-family: var(--font-display); font-size: 23px; }
.practice-plan-card p { margin: 10px 0; font-size: 12px; }
.practice-plan-card ol { display: grid; gap: 10px; }
.practice-plan-card button { text-align: left; color: var(--purple); font-size: 12px; }
.practice-plan-card button:disabled { opacity: .55; cursor: not-allowed; }
.lesson-complete button { color: #266c4d; }
.pro-note { margin-top: 20px; }
.practice-history { margin-top: 24px; overflow: auto; }
.practice-history table { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: 12px; text-align: left; }
.practice-history td, .practice-history th { padding: 10px; border-bottom: 1px solid var(--line); }
.practice-history small { display: block; color: var(--muted); }
.guide-page p { margin-block: 12px; }
.guide-page .lesson-list { display: grid; gap: 20px; margin-block: 24px; }
.guide-page .lesson-list li { padding: 22px; background: #fffdfc; border: 1px solid var(--line); border-radius: 12px; }
.model-row a { color: var(--purple); }
.model-safety .text-link { display: block; margin-top: 16px; text-align: center; }
.profile-summary a { color: var(--purple); }
.profile-summary dl { min-width: 0; }
.profile-summary dd { overflow-wrap: anywhere; }
.model-guide-layout .setup-step h2 { font-size: 28px; }
.pricing .account-note { margin-top: 20px; }
.empty-state { padding: 24px; color: var(--muted); }
@media (max-width: 900px) {
  .sidebar-links a { padding: 0; justify-content: center; }
  .sidebar-links a span, .sidebar-plan a { display: none; }
  .sidebar-links a:hover { transform: none; }
  .routine-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .quick-controls select { appearance: none; padding-right: 12px; font-size: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9' fill='none' stroke='%2357389c' viewBox='0 0 12 12'%3E%3Cpath d='m3 5 3 3 3-3'/%3E%3C/svg%3E") right center / 9px no-repeat; }
  .pro-practice { padding: 16px; }
  .workspace-footer { font-size: 10px; }
  .model-row > a { grid-column: 1 / -1; min-height: 36px; display: flex; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after { scroll-behavior: auto !important; transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* Public landing and legal pages extend the app's shared visual baseline. */
.hardware > * { min-width: 0; overflow-wrap: anywhere; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 12px 18px; background: var(--dark); color: white; border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.landing-faq { max-width: 1000px; }
.landing-faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.landing-faq summary { cursor: pointer; color: var(--ink); font-size: 17px; }
.landing-faq details p { margin: 14px 0 0; max-width: 72ch; }
.landing-faq > p { margin-top: 24px; }
.legal-page .page-intro { max-width: 950px; }
.legal-updated { font-size: 13px; margin-top: 20px; }
.legal-layout { display: grid; grid-template-columns: minmax(160px, 220px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: 40px; }
.legal-toc { display: grid; align-content: start; gap: 12px; font-size: 13px; }
.legal-toc b { color: var(--ink); margin-bottom: 4px; }
.legal-toc a { color: var(--purple); line-height: 1.5; }
.legal-copy { max-width: 76ch; min-width: 0; overflow-wrap: anywhere; }
.legal-copy section { margin-bottom: 36px; scroll-margin-top: 24px; }
.legal-copy h2 { font-size: clamp(24px, 3vw, 30px); margin-bottom: 16px; }
.legal-copy p, .legal-copy ul { margin-bottom: 16px; line-height: 1.75; }
.legal-copy ul { padding-left: 22px; list-style: disc; color: var(--muted); }
.legal-copy li + li { margin-top: 10px; }
.legal-copy a, .landing-faq p a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.legal-copy strong { color: var(--ink); font-weight: 700; }
.company-details { border-top: 1px solid var(--line); margin-block: 24px; }
.company-details > div { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(0, 2fr); gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.company-details dt { font-weight: 700; font-size: 13px; }
.company-details dd { margin: 0; color: var(--muted); }
@media (max-width: 850px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .legal-toc { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 540px) {
  .company-details > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .legal-page h1 { font-size: 38px; overflow-wrap: anywhere; }
}
