/* Koprod website, on the same design system as the app (docs/DESIGN.md):
   warm stone neutrals, one orange accent, Instrument Sans, pills and hairlines.
   Pages read like the studio's arrangement view: a bar ruler marks the top of each page,
   and media sits in clip-like frames. Track colours appear only on the music itself. */
:root {
  /* Dark-first: the app itself is dark. */
  --bg: #191410;
  --bg-2: #1e1a17;
  --surface: #24211e;
  --surface-2: #2c2824;
  --line: rgba(250, 249, 249, 0.1);
  --line-2: rgba(250, 249, 249, 0.17);
  --wave: #4a433e;
  --fg: #fafaf9;
  --muted: #d6d3d1;
  --faint: #a8a29e;
  --accent: #ff4b14;
  --accent-strong: #ff6738;
  --on-accent: #1c1917;
  --accent-text: #ff8561;
  --accent-glow: 0 0 0 1px rgba(255, 75, 20, 0.35), 0 10px 32px -8px rgba(255, 75, 20, 0.6);
  --inverse: #fafaf9;
  --on-inverse: #1c1917;
  --ok: #5fd17a;
  --no: #f87171;
  --part: #f2b84b;
  /* Track palette, as in the app (muted, one lightness). */
  --c-orange: #d99a7e;
  --c-pink: #db959c;
  --c-violet: #b39fd9;
  --c-indigo: #91aae1;
  --c-sky: #6eb6d5;
  --c-teal: #66bcb5;
  --c-green: #86ba8d;
  --c-amber: #c6a66b;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --dots: rgba(250, 249, 249, 0.16);
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  --font-display: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --wrap: 1180px;
  --radius: 20px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme='dark']) {
    --bg: #fafaf9;
    --bg-2: #f5f5f4;
    --surface: #ffffff;
    --surface-2: #f5f5f4;
    --line: #e7e5e4;
    --line-2: #d6d3d1;
    --wave: #d6d3d1;
    --fg: #1c1917;
    --muted: #44403c;
    --faint: #6b6560;
    --accent-text: #c2410c;
    --accent-glow: 0 10px 28px -10px rgba(255, 75, 20, 0.55);
    --inverse: #1c1917;
    --on-inverse: #fafaf9;
    --ok: #15803d;
    --no: #b91c1c;
    --part: #a16207;
    --c-orange: #a8644a;
    --c-pink: #a85f68;
    --c-violet: #7a68a6;
    --c-indigo: #5b74a8;
    --c-sky: #387d9b;
    --c-teal: #2f837c;
    --c-green: #4f8458;
    --c-amber: #8c6d32;
    --noise: none;
    --dots: rgba(28, 25, 23, 0.14);
    --shadow: 0 30px 70px -24px rgba(28, 25, 23, 0.22);
    color-scheme: light;
  }
}
:root[data-theme='light'] {
  --bg: #fafaf9;
  --bg-2: #f5f5f4;
  --surface: #ffffff;
  --surface-2: #f5f5f4;
  --line: #e7e5e4;
  --line-2: #d6d3d1;
  --wave: #d6d3d1;
  --fg: #1c1917;
  --muted: #44403c;
  --faint: #6b6560;
  --accent-text: #c2410c;
  --accent-glow: 0 10px 28px -10px rgba(255, 75, 20, 0.55);
  --inverse: #1c1917;
  --on-inverse: #fafaf9;
  --ok: #15803d;
  --no: #b91c1c;
  --part: #a16207;
  --c-orange: #a8644a;
  --c-pink: #a85f68;
  --c-violet: #7a68a6;
  --c-indigo: #5b74a8;
  --c-sky: #387d9b;
  --c-teal: #2f837c;
  --c-green: #4f8458;
  --c-amber: #8c6d32;
  --noise: none;
  --dots: rgba(28, 25, 23, 0.14);
  --shadow: 0 30px 70px -24px rgba(28, 25, 23, 0.22);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 84px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::before {
  content: '';
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--bg);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--accent);
  color: var(--on-accent);
  padding: 8px 14px;
  border-radius: 8px;
}
.skip:focus {
  left: 16px;
}
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap {
    padding-left: max(32px, env(safe-area-inset-left, 0px));
    padding-right: max(32px, env(safe-area-inset-right, 0px));
  }
}

/* ---------- Type */
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
  margin: 0;
}
h1 {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.03em;
}
h3 {
  font-size: 1.3rem;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
p {
  margin: 0;
}
.lede {
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 62ch;
}
.label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}
.grad-text {
  color: var(--accent-text);
}
code,
kbd,
.mono {
  font-family: var(--font-mono);
  font-size: 0.86em;
}
:not(pre) > code {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.08em 0.4em;
  overflow-wrap: anywhere;
}

/* ---------- Header */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.logo-mark {
  flex: none;
}
.main-nav {
  display: flex;
  gap: 4px;
  margin-left: 12px;
}
.main-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 14.5px;
  padding: 7px 14px;
  border-radius: 999px;
}
.main-nav a:hover,
.main-nav a[aria-current='page'] {
  color: var(--fg);
  background: var(--surface-2);
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.icon-link {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: var(--muted);
}
.icon-link:hover {
  color: var(--fg);
  background: var(--surface-2);
}
.mobile-nav {
  display: none;
  position: relative;
}
.mobile-nav summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
}
.mobile-nav summary::-webkit-details-marker {
  display: none;
}
.mobile-nav nav {
  position: absolute;
  right: 0;
  top: 48px;
  display: flex;
  flex-direction: column;
  min-width: 200px;
  padding: 8px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.mobile-nav nav a {
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 550;
}
.mobile-nav nav a:hover {
  background: var(--surface-2);
}
@media (max-width: 860px) {
  .main-nav {
    display: none;
  }
  .mobile-nav {
    display: block;
  }
}
@media (max-width: 480px) {
  .header-actions .btn span {
    display: none;
  }
  /* The main call to action keeps its words: an icon alone says nothing. */
  .header-actions .btn-primary span {
    display: inline;
  }
}

/* ---------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font: 600 16px/1 var(--font-body);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.12s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-strong);
}
.btn-ghost {
  border-color: var(--line-2);
  color: var(--fg);
  background: transparent;
}
.btn-ghost:hover {
  background: var(--surface-2);
}
.btn-sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: 14.5px;
}
.btn-secondary {
  background: var(--inverse);
  color: var(--on-inverse);
}
.btn-secondary:hover {
  opacity: 0.88;
}
.btn .sub {
  font-weight: 450;
  font-size: 13px;
  opacity: 0.8;
}
.text-link {
  color: var(--accent-text);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Ruler (the bar numbers of the arrangement view) */
.ruler {
  display: flex;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--faint);
  border-bottom: 1px solid var(--line);
  height: 22px;
  overflow: hidden;
  user-select: none;
}
.ruler span {
  flex: 1 0 auto;
  min-width: 64px;
  padding: 4px 0 0 6px;
  border-left: 1px solid var(--line);
  background-image: linear-gradient(var(--line), var(--line));
  background-size: 1px 6px;
  background-repeat: repeat-x;
  background-position: 0 100%;
}

/* ---------- Sections */
.section {
  padding-block: clamp(64px, 9vw, 112px);
}
.section + .section {
  border-top: 1px solid var(--line);
}
.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: 40px;
  max-width: 760px;
}
.section-head .lede {
  margin-top: 4px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 5px 12px 5px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.tag::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.c-orange {
  --tc: var(--c-orange);
}
.c-pink {
  --tc: var(--c-pink);
}
.c-violet {
  --tc: var(--c-violet);
}
.c-indigo {
  --tc: var(--c-indigo);
}
.c-sky {
  --tc: var(--c-sky);
}
.c-teal {
  --tc: var(--c-teal);
}
.c-green {
  --tc: var(--c-green);
}
.c-amber {
  --tc: var(--c-amber);
}

/* ---------- Hero */
.hero {
  padding-block: clamp(48px, 8vw, 96px) clamp(40px, 6vw, 72px);
  position: relative;
}
.hero-glow {
  position: absolute;
  inset: -64px 0 auto auto;
  width: min(620px, 70vw);
  height: 520px;
  pointer-events: none;
  background-image: radial-gradient(var(--dots) 1.1px, transparent 1.4px);
  background-size: 8px 8px;
  -webkit-mask-image: radial-gradient(circle at 100% 0%, #000 0%, transparent 65%);
  mask-image: radial-gradient(circle at 100% 0%, #000 0%, transparent 65%);
  z-index: -1;
}
.hero-glow::after {
  content: '';
  position: absolute;
  inset: 120px 20% -40px -40%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 75, 20, 0.12), transparent 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}
.hero h1 {
  max-width: 14ch;
}
.hero .lede {
  margin-top: 22px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  align-items: center;
}
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
  color: var(--faint);
  font-size: 14px;
}
.meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.meta-row .i {
  color: var(--accent-text);
}
.page-hero {
  padding-block: clamp(48px, 7vw, 88px) clamp(32px, 5vw, 56px);
  position: relative;
}
.page-hero .lede {
  margin-top: 18px;
}

/* ---------- Clip frames around screenshots */
.clip {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.clip-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.clip-head::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tc, var(--accent));
}
.clip img {
  width: 100%;
  background: #191410;
}
figure {
  margin: 0;
}
figcaption {
  font-size: 14px;
  color: var(--faint);
  padding: 10px 14px 12px;
}

/* ---------- Grids and cards */
.grid {
  display: grid;
  gap: 20px;
}
.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}
.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}
.card {
  background: var(--noise), var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
}
.card p {
  color: var(--muted);
  font-size: 15.5px;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.feature-list li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  color: var(--muted);
  font-size: 15.5px;
}
.feature-list li .i {
  margin-top: 3px;
  color: var(--accent-text);
}
.feature-list b {
  color: var(--fg);
  font-weight: 650;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.split.reverse {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}
.split.reverse > :first-child {
  order: 2;
}
@media (max-width: 900px) {
  .split,
  .split.reverse {
    grid-template-columns: minmax(0, 1fr);
  }
  .split.reverse > :first-child {
    order: 0;
  }
}
.stack {
  display: grid;
  gap: 16px;
  align-content: start;
  min-width: 0;
}
.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  margin-top: 8px;
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 2.6rem;
  line-height: 1;
}
.stat span {
  font-size: 14px;
  color: var(--faint);
}

/* ---------- Track player cards */
.tracks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 16px;
}
.track {
  background: var(--noise), var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px 14px;
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
  position: relative;
}
.track::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  border-radius: var(--radius) 0 0 var(--radius);
  background: var(--tc, var(--accent));
}
.track-top {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}
.play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  background: var(--inverse);
  color: var(--on-inverse);
  cursor: pointer;
  transition: transform 0.12s ease;
}
.play-btn:hover {
  transform: scale(1.05);
}
.play-btn .i-pause {
  display: none;
}
.track.playing .play-btn {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--accent-glow);
}
.track.playing .play-btn .i-play {
  display: none;
}
.track.playing .play-btn .i-pause {
  display: block;
}
.track-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  font-size: 1.15rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.track-meta {
  font-size: 12.5px;
  color: var(--faint);
  margin-top: 3px;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 10px;
}
.track-meta .genre {
  color: var(--muted);
  font-weight: 600;
}
.wave {
  width: 100%;
  height: 52px;
  display: block;
  cursor: pointer;
  touch-action: none;
}
.wave-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}
.time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
  min-width: 82px;
  text-align: right;
}
.track details {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.track summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.track summary::-webkit-details-marker {
  display: none;
}
.track summary::before {
  content: '+';
  font-family: var(--font-mono);
  color: var(--faint);
  width: 12px;
}
.track details[open] summary::before {
  content: '−';
}
.how {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}
.how .prompt {
  font-style: italic;
  color: var(--fg);
}
.how ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 4px;
}
.how .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--muted);
  white-space: nowrap;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.filter {
  font: 600 14px/1 var(--font-body);
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.filter[aria-pressed='true'] {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.filter .n {
  font-size: 12px;
  opacity: 0.7;
  margin-left: 4px;
}

/* ---------- Chat transcript */
.chat {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 15px;
}
.msg {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 14px;
  line-height: 1.45;
}
.msg.user {
  justify-self: end;
  background: var(--surface-2);
  border-radius: 18px 18px 4px 18px;
}
.msg.ai {
  justify-self: start;
  color: var(--muted);
}
.msg.done {
  justify-self: start;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--line-2);
}
.msg.done .i {
  color: var(--ok);
}
.msg.via {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 0;
}

/* ---------- Code */
pre {
  margin: 0;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--fg);
}
.code-block {
  position: relative;
  min-width: 0;
}
.code-block:has(.copy-btn) pre {
  padding-top: 44px;
}
.copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--muted);
  font: 600 12px var(--font-body);
  cursor: pointer;
}
.copy-btn:hover {
  color: var(--fg);
}
.tok-k {
  color: var(--accent-text);
}
.tok-s {
  color: var(--c-green);
}
.tok-n {
  color: var(--c-amber);
}
.tok-c {
  color: var(--faint);
}

/* ---------- Tables */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}
tr:last-child > * {
  border-bottom: 0;
}
thead th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
  background: var(--surface-2);
  white-space: nowrap;
}
tbody th {
  font-weight: 650;
  color: var(--fg);
  min-width: 170px;
}
td {
  color: var(--muted);
  min-width: 170px;
}
td.us,
th.us {
  background: color-mix(in srgb, var(--accent) 6%, transparent);
}
.mark {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
}
.mark .i {
  flex: none;
  margin-top: 2px;
}
.mark.yes .i {
  color: var(--ok);
}
.mark.no .i {
  color: var(--no);
}
.mark.part .i {
  color: var(--part);
}
.matrix td {
  min-width: 150px;
}
.matrix td,
.matrix th {
  font-size: 14px;
}

/* ---------- Steps, callouts */
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.steps li::before {
  content: counter(step);
  font-weight: 700;
  font-size: 14px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  color: var(--fg);
}
.steps p {
  color: var(--muted);
  font-size: 15.5px;
}
.callout {
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: var(--noise), var(--surface);
  padding: 18px 20px;
  display: grid;
  gap: 8px;
}
.callout p {
  color: var(--muted);
  font-size: 15.5px;
}

/* ---------- FAQ */
.faq {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  max-width: 860px;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 1.05rem;
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font-family: var(--font-mono);
  color: var(--faint);
}
.faq details[open] summary::after {
  content: '−';
}
.faq details p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 70ch;
}

/* ---------- Download */
.dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 16px;
}
.dl-card {
  background: var(--noise), var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  gap: 14px;
  align-content: start;
}
.dl-card h3 {
  font-size: 1.4rem;
}
.dl-card .btn {
  width: 100%;
}
.dl-alt {
  font-size: 14px;
  color: var(--faint);
}

/* ---------- Instruments */
.inst-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 16px;
}
.inst-group {
  background: var(--noise), var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.inst-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}
.inst-group li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 15px;
}
.inst-group li span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--faint);
  text-align: right;
  padding-top: 3px;
}

/* ---------- Tool table on the MCP page */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 16px;
}
.tool-group {
  background: var(--noise), var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
}
.tool-group p {
  color: var(--muted);
  font-size: 14.5px;
}
.tool-names {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tool-names code {
  font-size: 11.5px;
}

/* ---------- Compare overview cards */
.vs-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 16px;
}
.vs-card {
  text-decoration: none;
  background: var(--noise), var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: grid;
  gap: 10px;
  align-content: start;
  transition: border-color 0.15s ease;
}
.vs-card:hover {
  border-color: var(--faint);
}
.vs-card p {
  color: var(--muted);
  font-size: 15.5px;
}
.verdict {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 16px;
}
.verdict .card h3 {
  font-size: 1.1rem;
}
.sources {
  font-size: 13.5px;
  color: var(--faint);
}
.sources ol {
  padding-left: 18px;
  display: grid;
  gap: 4px;
}
.sources a {
  overflow-wrap: anywhere;
}

/* ---------- Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding-block: 56px 32px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.footer-grid > div {
  display: grid;
  gap: 8px;
  align-content: start;
}
.footer-grid a:not(.brand) {
  text-decoration: none;
  color: var(--muted);
  font-size: 15px;
}
.footer-grid a:not(.brand):hover {
  color: var(--fg);
}
.footer-brand p {
  color: var(--faint);
  font-size: 14.5px;
  max-width: 36ch;
  margin-top: 6px;
}
.footer-h {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 4px;
}
.footer-fine {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.footer-fine p {
  font-size: 13px;
  color: var(--faint);
  max-width: 90ch;
}
@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ---------- Misc */
.center {
  text-align: center;
}
.mt-8 {
  margin-top: 8px;
}
.mt-16 {
  margin-top: 16px;
}
.mt-24 {
  margin-top: 24px;
}
.mt-40 {
  margin-top: 40px;
}
.muted {
  color: var(--muted);
}
.faint {
  color: var(--faint);
}
.small {
  font-size: 14px;
}
.prose {
  display: grid;
  gap: 14px;
  max-width: 70ch;
}
.prose p,
.prose li {
  color: var(--muted);
}
.prose h3 {
  margin-top: 10px;
}
.prose ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 6px;
}
.band {
  background: var(--bg-2);
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* Royalty-free library page. */
.lib-tools {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.lib-search {
  flex: 1;
  max-width: 420px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--fg);
  font: inherit;
}
[data-library] .filters {
  margin-bottom: 10px;
}
.lib-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.lib-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) minmax(90px, 180px) 100px 84px 70px 116px 40px 34px;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.lib-row.playing {
  border-color: var(--accent);
}
.lib-play {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: var(--inverse);
  cursor: pointer;
  position: relative;
}
.lib-play::before {
  content: '';
  position: absolute;
  left: 13px;
  top: 10px;
  border-style: solid;
  border-width: 7px 0 7px 11px;
  border-color: transparent transparent transparent var(--on-inverse);
}
.lib-row.playing .lib-play::before {
  left: 11px;
  top: 11px;
  width: 12px;
  height: 12px;
  border: 0;
  background: var(--on-inverse);
}
.lib-row.no-audio .lib-play {
  opacity: 0.35;
  cursor: default;
}
.lib-row.no-audio .lib-title::after {
  content: 'Coming soon';
  font-size: 12px;
  color: var(--faint);
}
.lib-title {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.lib-title > * {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.lib-genre {
  color: var(--accent-text);
}
.lib-meta {
  color: var(--muted);
}
.lib-wave {
  width: 100%;
  height: 32px;
  display: block;
  cursor: pointer;
}
.lib-dl {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--muted);
}
.lib-dl:hover,
.lib-dl:focus-visible {
  color: var(--fg);
  background: var(--surface-2);
}
.lib-empty {
  padding: 24px 0;
}
@media (max-width: 760px) {
  .lib-row {
    grid-template-columns: 40px minmax(0, 1fr) auto 34px;
  }
  .lib-row .lib-meta,
  .lib-row .lib-wave {
    display: none;
  }
}

/* The full showcase, as a popup on the home page. */
.showcase-dialog {
  width: min(1120px, calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: var(--bg);
  color: var(--fg);
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.showcase-dialog[open] {
  display: flex;
  flex-direction: column;
}
.showcase-dialog::backdrop {
  background: rgba(12, 10, 9, 0.66);
  backdrop-filter: blur(4px);
}
.showcase-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px 16px;
  border-bottom: 1px solid var(--line);
}
.showcase-head h2 {
  margin-bottom: 0;
}
.showcase-body {
  overflow-y: auto;
  padding: 20px 28px 32px;
  overscroll-behavior: contain;
}
.icon-close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--fg);
  cursor: pointer;
  flex: none;
}
.icon-close:hover {
  background: var(--surface-2);
}
html.dialog-open {
  overflow: hidden;
}
@media (max-width: 640px) {
  .showcase-dialog {
    width: 100vw;
    max-width: 100vw;
    max-height: 100dvh;
    height: 100dvh;
    border-radius: 0;
  }
  .showcase-head,
  .showcase-body {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* FAQ: native disclosure, answer text stays in the page for search and answer engines. */
.faq {
  max-width: 820px;
}
.faq h2 {
  margin-bottom: 20px;
}
.faq-item {
  border-top: 1px solid var(--line);
}
.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  color: var(--faint);
  flex: none;
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-item summary h3 {
  margin: 0;
  font-size: 18px;
}
.faq-item p {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 70ch;
}
@media (max-width: 760px) {
  .header-web {
    display: none;
  }
}

/* Pricing cards */
.price-card {
  gap: 10px;
}
.price-big {
  margin: 0;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.price-big small {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}
.price-card .feature-list {
  margin: 4px 0 8px;
}
.header-login {
  font-weight: 600;
  text-decoration: none;
  color: inherit;
  padding: 0 6px;
}
@media (max-width: 720px) {
  .header-login {
    display: none;
  }
}

/* Contact form */
.contact-form {
  display: grid;
  gap: 14px;
  max-width: 560px;
}
.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  font-weight: 400;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: inherit;
}
.contact-form .hp {
  position: absolute;
  left: -9999px;
}
.contact-status {
  margin: 0;
  font-weight: 600;
}
