@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap");
:root {
  --purple: #7855d9;
  --purple-dark: #6540c3;
  --ink: #292634;
  --muted: #95929f;
  --line: #eeedf2;
  --bg: #faf9fc;
  --font: "DM Sans", sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button {
  border: 0;
  background: none;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #c7b5f4;
  outline-offset: 4px;
}
button:disabled {
  opacity: 0.65;
  cursor: wait;
}
svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
[hidden] {
  display: none !important;
}
.sidebar {
  width: 228px;
  background: white;
  border-right: 1px solid var(--line);
  height: 100vh;
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  padding: 38px 20px 0;
}
.brand {
  display: flex;
  align-items: center;
  margin-left: 12px;
  font-family: "Manrope", sans-serif;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -1.4px;
  gap: 9px;
}
.brand-dot {
  color: var(--purple);
  margin-left: -9px;
}
.brand-mark {
  width: 34px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-right: 2px;
}
.brand-mark i {
  width: 4px;
  background: var(--purple);
  height: 15px;
  border-radius: 4px;
  transform: rotate(12deg);
}
.brand-mark i:nth-child(2) {
  height: 29px;
}
.brand-mark i:nth-child(3) {
  height: 23px;
}
.brand-mark i:nth-child(4) {
  height: 12px;
}
.workspace-label {
  font-size: 9px;
  letter-spacing: 1.9px;
  color: #aaa6b2;
  font-weight: 600;
  margin: 58px 16px 18px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 15px;
  width: 100%;
  text-align: left;
  color: #898491;
  border-radius: 9px;
  font-size: 12px;
  margin-bottom: 6px;
}
.nav-item svg {
  width: 18px;
  height: 18px;
}
.nav-item.active {
  background: #f0eafa;
  color: #7853ce;
  font-weight: 600;
}
.nav-item:hover {
  background: #f6f2fc;
}
.nav-arrow {
  margin-left: auto;
  font-size: 18px;
}
.count {
  margin-left: auto;
  font-size: 10px;
  background: #f3f2f6;
  border-radius: 5px;
  padding: 2px 6px;
  color: #91899d;
}
.nav-divider {
  border-top: 1px solid #f2f0f5;
  margin: 22px 13px;
}
.sidebar-bottom {
  margin-top: auto;
}
.listen-card {
  background: #f8f6fc;
  border: 1px solid #f0eaf8;
  border-radius: 12px;
  padding: 20px 14px;
  position: relative;
  margin-bottom: 30px;
}
.tip-icon {
  color: #8b6cc5;
  display: block;
  margin-bottom: 13px;
}
.tip-icon svg {
  width: 25px;
  height: 25px;
}
.listen-card h3 {
  font-size: 10px;
  margin: 0 0 8px;
  font-weight: 600;
}
.listen-card p {
  font-size: 10px;
  color: #aaa1b6;
  line-height: 1.8;
  margin: 0;
}
.tip-spark {
  position: absolute;
  right: 18px;
  top: 24px;
  color: #c0abe7;
  font-size: 22px;
}
.sidebar-footer {
  border-top: 1px solid var(--line);
  padding: 23px 1px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 8px;
  color: #aaa4b3;
}
.small-brand {
  font-weight: 800;
  font-size: 16px;
  color: #9b86bb;
}
.app-shell {
  margin-left: 228px;
}
.topbar {
  height: 87px;
  background: #ffffffbd;
  border-bottom: 1px solid var(--line);
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.breadcrumb {
  font-size: 11px;
  color: #aaa4b3;
  display: flex;
  gap: 14px;
  align-items: center;
}
.breadcrumb span {
  color: #ccc6d4;
}
.breadcrumb strong {
  font-weight: 500;
  color: #68626f;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 26px;
}
.system-status {
  font-size: 10px;
  color: #928d9b;
  display: flex;
  align-items: center;
  gap: 7px;
}
.system-status i {
  width: 6px;
  height: 6px;
  background: #75ae92;
  border-radius: 50%;
}
.avatar {
  position: relative;
  width: 32px;
  height: 32px;
  background: #eee7fa;
  border: 3px solid #faf7ff;
  outline: 1px solid #e7dff2;
  color: #8a6ab6;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
}
.avatar span {
  position: absolute;
  width: 7px;
  height: 7px;
  border: 2px solid white;
  background: #83b698;
  border-radius: 50%;
  bottom: -2px;
  right: -1px;
}
main {
  max-width: 1190px;
  margin: auto;
  padding: 0 49px;
}
.hero {
  min-height: 303px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 37px 0 32px;
}
.eyebrow {
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 1.9px;
  color: #9b88b9;
  display: flex;
  align-items: center;
  gap: 7px;
}
.eyebrow > span {
  width: 5px;
  height: 5px;
  background: #a88bcf;
  border-radius: 50%;
}
h1 {
  font-family: "Manrope", sans-serif;
  letter-spacing: -2px;
  font-size: 47px;
  font-weight: 800;
  line-height: 1.17;
  margin: 16px 0 18px;
  position: relative;
}
h1 span {
  color: var(--purple);
}
.underline {
  position: absolute;
  width: 146px;
  height: 12px;
  left: 109px;
  bottom: -9px;
  stroke: #bca4ee;
  stroke-width: 2;
}
.hero-copy > p {
  color: #99929f;
  font-size: 12px;
  line-height: 1.9;
  margin: 22px 0 16px;
}
.hero-tags {
  display: flex;
  gap: 19px;
  font-size: 9px;
  color: #8f879c;
}
.hero-tags span {
  display: flex;
  gap: 5px;
  align-items: center;
}
.hero-tags svg {
  height: 12px;
  width: 12px;
  color: #a091b4;
}
.audio-art {
  width: 330px;
  height: 240px;
  position: relative;
  margin-right: 14px;
}
.orbit {
  position: absolute;
  border: 1px solid #eee7f8;
  border-radius: 50%;
  width: 244px;
  height: 244px;
  top: -2px;
  left: 40px;
}
.orbit-two {
  width: 296px;
  height: 296px;
  left: 14px;
  top: -28px;
  border-style: dashed;
  border-color: #eee8f5;
}
.record {
  width: 170px;
  height: 170px;
  position: absolute;
  left: 81px;
  top: 23px;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle at center,
    #34303f 0,
    #34303f 2px,
    #403a4a 3px,
    #34303f 4px
  );
  box-shadow: 7px 18px 30px #4a286b1c;
  transform: rotate(-17deg);
  border: 8px solid #3d364b;
}
.record-ring {
  position: absolute;
  inset: 23px;
  border: 1px solid #756980;
  border-radius: 50%;
  opacity: 0.5;
}
.record-label {
  position: absolute;
  inset: 44px;
  background: #ba9de9;
  border: 3px solid #cab2ee;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-size: 36px;
}
.record-label:after {
  content: "";
  background: #4e3b68;
  width: 7px;
  height: 7px;
  position: absolute;
  border-radius: 50%;
}
.record-label span {
  margin-left: 17px;
  margin-bottom: 8px;
  opacity: 0.7;
}
.wave-card {
  position: absolute;
  left: 26px;
  top: 133px;
  width: 276px;
  height: 65px;
  border: 1px solid #fff;
  background: #ffffffeb;
  box-shadow: 0 12px 30px #573f7013;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  transform: rotate(-8deg);
}
.wave-play {
  width: 32px;
  height: 32px;
  background: #8b63dc;
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  padding-left: 2px;
}
.wave-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  flex: 1;
  height: 34px;
}
.wave-bars i {
  width: 3px;
  border-radius: 3px;
  background: #b298e1;
}
.wave-bars i:nth-last-child(-n + 10) {
  background: #e2d8f3;
}
.wave-time {
  font-size: 8px;
  color: #a499b3;
}
.mp3-badge {
  position: absolute;
  right: 1px;
  top: 53px;
  background: white;
  border: 1px solid #ece3f7;
  border-radius: 9px;
  padding: 10px 12px;
  transform: rotate(8deg);
  box-shadow: 0 5px 15px #735b8d0a;
  font-size: 10px;
  font-weight: 700;
  color: #7c5ba6;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mp3-badge svg {
  width: 14px;
  height: 14px;
}
.badge-dot {
  background: #c5a4ea;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.art-star {
  position: absolute;
  color: #ad93d4;
}
.star-one {
  left: 26px;
  top: 65px;
  font-size: 32px;
}
.star-two {
  right: 40px;
  bottom: 0;
  font-size: 27px;
}
.art-dot {
  position: absolute;
  right: 0;
  bottom: 56px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cfbae9;
}
.converter-card {
  background: white;
  border: 1px solid #eae5f1;
  border-radius: 15px;
  padding: 26px 28px 0;
  box-shadow: 0 5px 17px #51406804;
}
.card-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 27px;
}
.heading-icon {
  height: 38px;
  width: 38px;
  border-radius: 11px;
  background: #f3edfd;
  color: #9c78d5;
  display: grid;
  place-items: center;
}
.heading-icon svg {
  width: 18px;
  height: 18px;
}
h2 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.25px;
  margin: 0;
}
.card-heading p {
  font-size: 10px;
  color: #a29aa9;
  margin: 6px 0 0;
}
.format-badge {
  margin-left: auto;
  background: #faf9fc;
  border: 1px solid #eeeaf3;
  border-radius: 5px;
  padding: 6px 8px;
  font-size: 8px;
  color: #a098a9;
}
.format-badge span {
  padding: 0 5px;
  color: #b9abc8;
}
form > label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: #7b7287;
  margin-bottom: 10px;
}
.url-field {
  height: 53px;
  border: 1px solid #e4ddeb;
  border-radius: 9px;
  display: flex;
  align-items: center;
  padding: 0 10px 0 15px;
  background: #fdfcfe;
  gap: 11px;
  transition: 0.2s;
}
.url-field:focus-within {
  border-color: #a284d9;
  box-shadow: 0 0 0 3px #f4effb;
}
.url-field > span {
  color: #b4a9c1;
}
.url-field svg {
  width: 17px;
  height: 17px;
}
.url-field input {
  min-width: 0;
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  font-size: 11px;
  color: #5f526f;
  height: 100%;
}
.url-field input::placeholder {
  color: #b4aabc;
}
.paste-button {
  background: white;
  border: 1px solid #e8e1ef;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 9px;
  color: #8b7c9b;
}
.paste-button svg {
  width: 12px;
  height: 12px;
}
.form-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 24px 0 25px;
  gap: 15px;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
legend {
  padding: 0;
  margin: 0 0 10px;
  font-size: 10px;
  color: #80768d;
  display: flex;
  align-items: center;
  gap: 5px;
}
legend svg {
  width: 11px;
  height: 11px;
  color: #b4aabc;
}
.quality-options {
  display: flex;
  gap: 7px;
}
.quality-options label {
  cursor: pointer;
  position: relative;
}
.quality-options input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.quality-options label > span {
  display: block;
  padding: 10px 12px;
  border: 1px solid #eee9f3;
  border-radius: 7px;
  font-size: 11px;
  color: #9e92ac;
  transition: 0.15s;
}
.quality-options input:checked + span {
  background: #f5efff;
  color: #8c61cf;
  border-color: #cfb8ec;
}
.quality-options input:focus-visible + span {
  outline: 2px solid #bda0ed;
  outline-offset: 3px;
}
.quality-options small {
  font-size: 9px;
}
.quality-options b {
  font-size: 6px;
  margin-left: 6px;
  background: #e7d9fb;
  color: #9871c8;
  padding: 3px 4px;
  border-radius: 3px;
  vertical-align: 2px;
  letter-spacing: 0.6px;
}
.convert-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--purple);
  color: white;
  padding: 14px 21px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 500;
  box-shadow: 0 4px 7px #7855d91c;
  transition: 0.2s;
}
.convert-button:hover {
  background: var(--purple-dark);
  transform: translateY(-1px);
}
.convert-button svg {
  width: 15px;
  height: 15px;
}
.convert-button > span:last-child {
  margin-left: 12px;
}
.converter-footnote {
  border-top: 1px solid #f1edf5;
  padding: 15px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 8px;
  color: #aba1b6;
}
.converter-footnote svg {
  width: 12px;
  height: 12px;
}
.max-duration {
  margin-left: auto;
  color: #b6adbf;
  font-size: 8px;
}
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin: 29px 0 37px;
  padding: 0 14px;
}
.benefits > div {
  display: grid;
  grid-template-columns: 32px 1fr;
  column-gap: 8px;
  align-content: center;
  position: relative;
}
.benefits > div + div:before {
  content: "";
  position: absolute;
  left: -18px;
  top: 4px;
  height: 29px;
  border-left: 1px solid #eae5f0;
}
.benefit-icon {
  grid-row: span 2;
  color: #b19acb;
  margin-top: 5px;
}
.benefit-icon svg {
  height: 22px;
  width: 22px;
}
.benefits h3 {
  font-size: 10px;
  font-weight: 550;
  margin: 0 0 5px;
  color: #7d718b;
}
.benefits p {
  font-size: 9px;
  color: #b0a5ba;
  margin: 0;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
}
.section-heading h2 {
  font-size: 14px;
}
.section-heading h2 > span {
  font-size: 9px;
  color: #aa9ab9;
  background: #efeaf5;
  border-radius: 5px;
  padding: 2px 6px;
  margin-left: 5px;
}
.section-heading p {
  font-size: 10px;
  color: #a79bad;
  margin: 7px 0 0;
}
.text-button {
  font-size: 10px;
  color: #9c83b8;
  display: flex;
  gap: 6px;
  align-items: center;
}
.text-button svg {
  width: 12px;
  height: 12px;
}
.empty-state {
  border: 1px dashed #e4ddea;
  background: #fcfbfd;
  border-radius: 12px;
  min-height: 113px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
}
.empty-state .empty-icon {
  color: #b79dd7;
  background: #f2edf9;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  transform: rotate(-6deg);
}
.empty-state h3 {
  font-size: 11px;
  font-weight: 500;
  margin: 0 0 6px;
  color: #93839f;
}
.empty-state p {
  font-size: 10px;
  color: #b3a6be;
  margin: 0;
}
.bottom-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 8px;
  color: #b9adbf;
  margin: 27px 0 34px;
}
.bottom-note svg {
  width: 10px;
  height: 10px;
}
.note-dot {
  padding: 0 5px;
}
.main-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 22px 0;
  font-size: 9px;
  color: #afa3b8;
}
.main-footer > div {
  display: flex;
  align-items: center;
  gap: 23px;
}
.main-footer button {
  padding: 0;
  font-size: 9px;
  color: #a798b2;
}
.footer-spark {
  color: #a78ac7;
  margin-left: 4px;
}
.secondary-view {
  min-height: calc(100vh - 152px);
  padding: 57px 0;
}
.secondary-view h1 {
  font-size: 39px;
}
.page-subtitle {
  font-size: 13px;
  line-height: 1.7;
  color: #9e91a8;
  margin: 20px 0 35px;
}
.library-toolbar {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  margin-bottom: 24px;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e4ddeb;
  border-radius: 8px;
  background: white;
  padding: 12px;
  color: #aa97b9;
}
.search-field input {
  border: 0;
  background: none;
  outline: none;
  font-size: 12px;
}
.search-field svg {
  width: 16px;
  height: 16px;
}
.secondary-button {
  border: 1px solid #e4ddeb;
  border-radius: 8px;
  background: white;
  font-size: 11px;
  padding: 10px 15px;
  color: #9e86b0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 30px;
}
.steps article {
  padding: 26px;
  border: 1px solid #eae2f1;
  background: white;
  border-radius: 13px;
  position: relative;
}
.steps article > span {
  font-size: 10px;
  color: #b6a2ca;
  position: absolute;
  right: 22px;
  top: 26px;
}
.steps i {
  display: block;
  color: var(--purple);
  margin: 7px 0 27px;
}
.steps h2 {
  font-size: 14px;
}
.steps p {
  font-size: 12px;
  color: #a291ae;
  line-height: 1.8;
}
.faq-list {
  background: white;
  border: 1px solid #eae2f1;
  border-radius: 12px;
  padding: 5px 24px;
}
.faq-list details + details {
  border-top: 1px solid #f0e9f5;
}
.faq-list summary {
  padding: 22px 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
}
.faq-list p {
  font-size: 12px;
  color: #9785a7;
  line-height: 1.9;
  max-width: 700px;
  margin: 0 0 22px;
}
.download-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: white;
  border: 1px solid #eee7f4;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 9px;
}
.download-art {
  width: 43px;
  height: 43px;
  border-radius: 9px;
  background: #f0e7fc;
  display: grid;
  place-items: center;
  color: #a07dce;
  flex-shrink: 0;
}
.download-info {
  flex: 1;
  min-width: 0;
}
.download-info h3 {
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 0 6px;
}
.download-info p {
  font-size: 9px;
  color: #ac9fb7;
  margin: 0;
}
.download-action {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--purple);
  padding: 9px;
  border: 1px solid #e9dff6;
  border-radius: 6px;
}
.download-action svg {
  height: 13px;
  width: 13px;
}
.download-expired {
  font-size: 10px;
  color: #ad9fb6;
}
.conversion-progress {
  border-top: 1px solid #eee5f8;
  padding: 18px 0;
}
.progress-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #8f70b3;
}
.progress-heading strong {
  font-weight: 500;
}
.progress-heading > span:last-child {
  margin-left: auto;
}
.progress-track {
  height: 5px;
  background: #f0e8f9;
  border-radius: 10px;
  overflow: hidden;
  margin: 13px 0;
}
.progress-track > div {
  width: 8%;
  height: 100%;
  background: var(--purple);
  transition: width 0.5s;
}
.conversion-progress p {
  font-size: 10px;
  color: #a58db8;
  margin: 0;
}
.spinner {
  width: 13px;
  height: 13px;
  border: 2px solid #decef0;
  border-top-color: var(--purple);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.form-error {
  font-size: 11px;
  color: #b95768;
  margin-bottom: 0;
  line-height: 1.6;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: #40344c;
  color: white;
  border-radius: 9px;
  padding: 14px 23px;
  z-index: 20;
  font-size: 12px;
  box-shadow: 0 5px 25px #30253720;
}
@media (min-width: 1500px) {
  .hero {
    min-height: 345px;
  }
  .converter-card {
    padding: 30px 32px 0;
  }
  .hero h1 {
    font-size: 54px;
  }
  .underline {
    left: 126px;
    width: 170px;
  }
  .audio-art {
    margin-right: 40px;
    transform: scale(1.1);
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 200px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .app-shell {
    margin-left: 200px;
  }
  .topbar {
    padding: 0 30px;
  }
  main {
    padding: 0 30px;
  }
  .audio-art {
    transform: scale(0.85);
    margin-right: -25px;
    width: 285px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .hero-copy > p {
    font-size: 11px;
  }
  .hero-tags {
    gap: 11px;
  }
  .benefits {
    padding: 0;
    gap: 15px;
  }
  .benefits > div {
    grid-template-columns: 26px 1fr;
    gap: 5px;
  }
  .benefits p {
    font-size: 8px;
  }
  .benefits > div + div:before {
    left: -9px;
  }
  .format-badge {
    font-size: 7px;
  }
  .underline {
    left: 100px;
    width: 135px;
  }
  .card-heading h2 {
    font-size: 13px;
  }
  .quality-options label > span {
    padding: 10px;
  }
  .convert-button {
    padding: 14px 16px;
  }
  .steps {
    gap: 12px;
  }
  .steps article {
    padding: 20px;
  }
}
@media (max-width: 850px) {
  .sidebar {
    width: 76px;
    padding: 27px 10px;
  }
  .brand {
    font-size: 0;
    margin: 0;
    justify-content: center;
    gap: 0;
  }
  .brand-mark {
    margin: 0;
  }
  .brand-dot,
  .workspace-label,
  .nav-item .count,
  .nav-arrow,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    margin-top: 45px;
  }
  .nav-item {
    font-size: 0;
    padding: 15px;
    justify-content: center;
    gap: 0;
  }
  .nav-divider {
    margin: 20px 8px;
  }
  .app-shell {
    margin-left: 76px;
  }
  .audio-art {
    transform: scale(0.75);
    width: 250px;
    margin-right: -36px;
  }
  .hero-tags {
    font-size: 8px;
    gap: 9px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .hero-copy > p {
    font-size: 10px;
  }
  .underline {
    left: 92px;
    width: 129px;
  }
  .max-duration {
    display: none;
  }
  .card-heading {
    gap: 10px;
  }
  .format-badge {
    display: none;
  }
  .benefits h3 {
    font-size: 9px;
  }
  .benefits p {
    font-size: 8px;
  }
  .benefit-icon svg {
    width: 18px;
  }
  .benefits {
    gap: 13px;
  }
  .benefits > div {
    grid-template-columns: 22px 1fr;
  }
}
@media (max-width: 600px) {
  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    flex-direction: row;
    padding: 17px 19px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    align-items: center;
    justify-content: space-between;
  }
  .brand {
    font-size: 23px;
    gap: 5px;
  }
  .brand-dot {
    display: inline;
    margin-left: -5px;
  }
  .brand-mark {
    width: 25px;
    transform: scale(0.85);
  }
  .sidebar nav {
    margin: 0;
    display: flex;
    gap: 6px;
  }
  .nav-item {
    margin: 0;
    padding: 9px;
  }
  .nav-item:nth-last-child(2) {
    display: none;
  }
  .nav-divider {
    display: none;
  }
  .nav-item svg {
    height: 17px;
    width: 17px;
  }
  .app-shell {
    margin: 0;
  }
  .topbar {
    height: 55px;
    padding: 0 22px;
  }
  .system-status {
    font-size: 8px;
  }
  .topbar-right {
    gap: 12px;
  }
  .avatar {
    width: 27px;
    height: 27px;
  }
  .breadcrumb {
    font-size: 9px;
    gap: 9px;
  }
  main {
    padding: 0 22px;
  }
  .hero {
    padding: 32px 0 29px;
    min-height: 0;
  }
  .hero h1 {
    font-size: 39px;
    letter-spacing: -1.6px;
  }
  .eyebrow {
    font-size: 7px;
    letter-spacing: 1.3px;
  }
  .hero-copy > p {
    font-size: 10px;
  }
  .hero-tags {
    gap: 11px;
    font-size: 8px;
  }
  .audio-art {
    position: absolute;
    right: 0;
    top: 43px;
    transform: scale(0.47);
    transform-origin: right top;
    width: 200px;
    opacity: 0.8;
    pointer-events: none;
  }
  .hero-copy {
    position: relative;
    z-index: 1;
    width: 100%;
  }
  .hero-copy > p {
    margin-top: 22px;
  }
  .hero-tags svg {
    width: 10px;
    height: 10px;
  }
  .converter-card {
    padding: 21px 18px 0;
    border-radius: 12px;
  }
  .card-heading {
    margin-bottom: 24px;
  }
  .heading-icon {
    width: 32px;
    height: 32px;
  }
  .card-heading h2 {
    font-size: 11px;
  }
  .card-heading p {
    font-size: 9px;
  }
  .url-field {
    padding-left: 11px;
    gap: 8px;
  }
  .url-field input {
    font-size: 10px;
  }
  .paste-button {
    padding: 7px;
    font-size: 8px;
  }
  .form-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 21px;
    margin: 20px 0;
  }
  .quality-options {
    display: flex;
    gap: 8px;
  }
  .quality-options label {
    flex: 1;
    text-align: center;
  }
  .quality-options label > span {
    padding: 11px 8px;
  }
  .convert-button {
    width: 100%;
    padding: 15px;
  }
  .converter-footnote {
    font-size: 7px;
    padding: 14px 0;
    gap: 5px;
  }
  .benefits {
    gap: 8px;
    margin: 26px 0 30px;
  }
  .benefits > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
  }
  .benefit-icon {
    margin: 0 0 10px;
  }
  .benefits h3 {
    font-size: 8px;
    margin-bottom: 5px;
  }
  .benefits p {
    font-size: 7px;
    line-height: 1.7;
    max-width: 90px;
  }
  .benefits > div + div:before {
    left: -5px;
    height: 40px;
    top: 10px;
  }
  .section-heading h2 {
    font-size: 12px;
  }
  .section-heading p {
    font-size: 9px;
  }
  .text-button {
    font-size: 9px;
  }
  .empty-state {
    min-height: 112px;
    gap: 12px;
    padding: 15px;
  }
  .empty-state h3 {
    font-size: 10px;
  }
  .empty-state p {
    font-size: 8px;
    line-height: 1.7;
  }
  .empty-state .empty-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }
  .bottom-note {
    font-size: 7px;
    flex-wrap: wrap;
    line-height: 1.6;
    gap: 4px;
    margin: 22px 10px 27px;
  }
  .main-footer {
    font-size: 8px;
    padding: 19px 0;
  }
  .main-footer > div {
    gap: 14px;
  }
  .main-footer button {
    font-size: 8px;
  }
  .secondary-view {
    padding: 35px 0;
    min-height: calc(100vh - 190px);
  }
  .secondary-view h1 {
    font-size: 33px;
  }
  .page-subtitle {
    font-size: 11px;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .steps article {
    padding: 25px;
  }
  .steps i {
    margin: 0 0 20px;
  }
  .library-toolbar {
    gap: 8px;
  }
  .search-field {
    min-width: 0;
    flex: 1;
  }
  .search-field input {
    min-width: 0;
    width: 100%;
    font-size: 10px;
  }
  .secondary-button {
    font-size: 9px;
    padding: 8px;
  }
  .download-row {
    gap: 10px;
    padding: 12px;
  }
  .download-info h3 {
    font-size: 10px;
  }
  .download-info p {
    font-size: 8px;
  }
  .download-action {
    font-size: 9px;
  }
  .download-art {
    width: 33px;
    height: 36px;
  }
  .faq-list summary {
    font-size: 12px;
  }
  .faq-list p {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Keep supporting copy readable and the decorative player within its frame. */
.hero-copy > p {
  font-size: 13px;
  color: #817888;
}
.hero-tags {
  font-size: 10px;
  color: #82738f;
}
.eyebrow {
  font-size: 10px;
}
.card-heading h2 {
  font-size: 16px;
}
.card-heading p {
  font-size: 12px;
  color: #928699;
}
form > label,
legend {
  font-size: 12px;
}
.url-field input {
  font-size: 13px;
}
.paste-button {
  font-size: 11px;
}
.quality-options label > span {
  font-size: 12px;
}
.quality-options small {
  font-size: 10px;
}
.convert-button {
  font-size: 12px;
}
.converter-footnote {
  font-size: 10px;
}
.max-duration {
  font-size: 9px;
}
.benefits h3 {
  font-size: 12px;
}
.benefits p {
  font-size: 10px;
  color: #a090ad;
}
.section-heading p {
  font-size: 11px;
}
.empty-state h3 {
  font-size: 12px;
}
.empty-state p {
  font-size: 11px;
}
.bottom-note {
  font-size: 9px;
}
.wave-play {
  flex-shrink: 0;
}
.wave-bars {
  min-width: 0;
  gap: 2px;
}
.wave-bars i {
  flex: 1;
  min-width: 2px;
}
.wave-time {
  flex-shrink: 0;
}
@media (max-width: 1100px) {
  .hero-copy > p {
    font-size: 12px;
  }
  .hero-tags {
    font-size: 9px;
  }
  .card-heading h2 {
    font-size: 14px;
  }
  .benefits h3 {
    font-size: 10px;
  }
  .benefits p {
    font-size: 9px;
  }
  .converter-footnote {
    font-size: 9px;
  }
  .max-duration {
    font-size: 8px;
  }
}
@media (max-width: 600px) {
  .audio-art {
    width: 330px;
    right: 0;
    top: 98px;
    transform: scale(0.3);
  }
  .eyebrow {
    font-size: 7px;
  }
  .hero-copy > p {
    font-size: 11px;
  }
  .hero-tags {
    font-size: 8px;
  }
  .card-heading h2 {
    font-size: 11px;
  }
  .card-heading p {
    font-size: 10px;
  }
  form > label,
  legend {
    font-size: 11px;
  }
  .url-field input {
    font-size: 11px;
  }
  .paste-button {
    font-size: 9px;
  }
  .quality-options label > span {
    white-space: nowrap;
    font-size: 11px;
    padding: 11px 5px;
  }
  .quality-options b {
    margin-left: 3px;
    font-size: 5px;
  }
  .quality-options small {
    font-size: 9px;
  }
  .converter-footnote {
    font-size: 8px;
  }
  .benefits h3 {
    font-size: 8px;
  }
  .benefits p {
    font-size: 8px;
  }
  .section-heading p {
    font-size: 10px;
  }
  .empty-state h3 {
    font-size: 11px;
  }
  .empty-state p {
    font-size: 9px;
  }
  .bottom-note {
    font-size: 8px;
  }
}

/* Appearance toggle and dark palette. The light palette remains the default. */
:root { color-scheme: light; }
.theme-toggle {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--purple);
}
.theme-toggle:hover { background: #f0eafa; }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .theme-sun { display: none; }
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #16151e;
  --ink: #f0edf7;
  --muted: #b3a8c2;
  --line: #393342;
  --purple: #b89af7;
  --purple-dark: #cbb1ff;
  --surface: #211e2b;
  --surface-raised: #2c2738;
  --accent-surface: #382c4d;
}
:root[data-theme="dark"] .theme-toggle .theme-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .theme-moon { display: none; }
:root[data-theme="dark"] :is(.sidebar, .topbar, .converter-card, .steps article, .faq-list, .download-row, .search-field, .secondary-button, .paste-button, .mp3-badge, .wave-card) {
  background: var(--surface);
  border-color: var(--line);
}
:root[data-theme="dark"] :is(.listen-card, .format-badge, .url-field, .empty-state) {
  background: #1c1925;
  border-color: var(--line);
}
:root[data-theme="dark"] :is(.count, .section-heading h2 > span, .heading-icon, .empty-icon, .download-art, .avatar, .progress-track) {
  background: var(--accent-surface);
  color: #d4bbfa;
}
:root[data-theme="dark"] :is(.nav-item.active, .nav-item:hover, .theme-toggle:hover) {
  background: var(--accent-surface);
  color: #d4bbfa;
}
:root[data-theme="dark"] :is(.nav-divider, .converter-footnote, .conversion-progress, .faq-list details + details, .benefits > div + div:before, .quality-options label > span, .download-action, .orbit) {
  border-color: var(--line);
}
:root[data-theme="dark"] :is(.workspace-label, .nav-item, .listen-card p, .sidebar-footer, .breadcrumb, .breadcrumb span, .system-status, .hero-copy > p, .hero-tags, .card-heading p, .format-badge, .format-badge span, form > label, legend, .quality-options label > span, .converter-footnote, .max-duration, .benefits p, .section-heading p, .empty-state p, .bottom-note, .main-footer, .main-footer button, .page-subtitle, .steps p, .faq-list p, .download-info p, .download-expired, .conversion-progress p, .wave-time) {
  color: var(--muted);
}
:root[data-theme="dark"] :is(.breadcrumb strong, .benefits h3, .empty-state h3, .url-field input, .search-field input) { color: var(--ink); }
:root[data-theme="dark"] :is(.text-button, .paste-button, .secondary-button, .mp3-badge, .eyebrow, .progress-heading, .tip-icon) { color: #ceb3f5; }
:root[data-theme="dark"] :is(.url-field input, .search-field input)::placeholder { color: #a99bb8; }
:root[data-theme="dark"] .url-field:focus-within { border-color: #b89af7; box-shadow: 0 0 0 3px #382c4d; }
:root[data-theme="dark"] .quality-options input:checked + span { background: var(--accent-surface); border-color: #a17ad5; color: #e1ceff; }
:root[data-theme="dark"] .quality-options b { background: #524069; color: #eadbff; }
:root[data-theme="dark"] .convert-button { background: #7850cb; color: #fff; }
:root[data-theme="dark"] .convert-button:hover { background: #8960da; }
:root[data-theme="dark"] .avatar { border-color: var(--surface); outline-color: var(--line); }
:root[data-theme="dark"] .avatar span { border-color: var(--surface); }
:root[data-theme="dark"] .wave-bars i:nth-last-child(-n + 10) { background: #514260; }
:root[data-theme="dark"] .form-error { color: #ffa5b8; }
:root[data-theme="dark"] .spinner { border-color: #514260; border-top-color: var(--purple); }
:root[data-theme="dark"] #toast { background: #e5d9f8; color: #2a2039; }
@media (max-width: 600px) {
  .theme-toggle { width: 32px; height: 32px; }
  .topbar-right { gap: 9px; }
}
@media (max-width: 380px) {
  .system-status { display: none; }
}
