:root {
  color-scheme: dark;
  --ink: #f0ede5; --muted: #b7b6a9; --lime: #dbf582;
  --night: #161815; --panel: #20231d; --line: #3b4034;
  font-family: system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--night); color: var(--ink); line-height: 1.55; }
a { color: var(--lime); text-underline-offset: .2em; }
.shell { width: min(1120px, calc(100% - 2.5rem)); margin-inline: auto; }
header { border-bottom: 1px solid var(--line); }
.top, .section-title, .actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.top { min-height: 68px; }
.wordmark { font-weight: 720; color: var(--ink); text-decoration: none; }
.wordmark::before { content: ''; display: inline-block; width: .65rem; height: .65rem; margin-right: .6rem; background: var(--lime); border-radius: 50%; }
.hero { padding: clamp(3rem, 9vw, 7rem) 0 3rem; display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 2rem; }
h1, h2, h3, p { margin: 0 0 1rem; }
h1, h2 { font-family: Georgia, serif; font-weight: 400; letter-spacing: -.045em; line-height: .99; }
h1 { font-size: clamp(3.3rem, 8vw, 7.8rem); }
h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h3 { font-size: 1.12rem; line-height: 1.3; }
.hero em { color: var(--lime); }
p { color: var(--muted); }
.hero p { max-width: 33rem; font-size: 1.12rem; }
.eyebrow { text-transform: uppercase; font-size: .875rem; letter-spacing: .12em; color: var(--lime); font-weight: 700; }
.hero canvas { display: block; width: 100%; height: 235px; border-block: 1px solid var(--line); }
section { padding: 2.5rem 0; border-top: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { border: 1px solid var(--line); padding: 1.25rem; background: var(--panel); border-radius: 12px; min-width: 0; }
.blend { border-color: #a3b567; }
blockquote { margin: 0 0 1rem; color: var(--ink); }
audio { width: 100%; margin: .6rem 0; }
summary { cursor: pointer; font-size: .9rem; }
details p { margin-top: .5rem; }
footer { padding: 1.5rem 0 2.5rem; border-top: 1px solid var(--line); color: var(--muted); }
label { display: block; font-weight: 650; margin-top: .8rem; }
textarea, input { width: 100%; background: var(--night); color: var(--ink); border: 1px solid #72796a; border-radius: 6px; padding: .65rem; font: inherit; }
textarea { min-height: 5.5rem; resize: vertical; }
button { color: #172009; background: var(--lime); border: 0; padding: .65rem 1rem; border-radius: 6px; font: inherit; font-weight: 700; cursor: pointer; }
button:disabled { opacity: .55; cursor: wait; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.studio-title { padding: 3rem 0 1rem; }
.studio-title h1 { font-size: clamp(2.7rem, 6vw, 5rem); }
.status { min-height: 1.55em; margin-top: .6rem; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .hero, .grid, .two { grid-template-columns: 1fr; }
  .hero canvas { height: 125px; }
}

html { scroll-behavior: smooth; }
nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
nav a { color: var(--ink); text-decoration: none; font-weight: 650; }
nav a:hover { color: var(--lime); }
.cta { display: inline-block; margin-top: .5rem; padding: .65rem 1rem; background: var(--lime); color: #172009; border-radius: 6px; text-decoration: none; font-weight: 700; }
figure { margin: 0; }
figcaption { color: var(--muted); font-size: .9rem; padding-top: .35rem; }
dt { font-weight: 750; }
dd { margin: .25rem 0 .85rem; color: var(--muted); }
dl, dd:last-child { margin-bottom: 0; }
.methods > article { border-left: 1px solid var(--line); padding-left: 1rem; }
.spectrogram img { display: block; max-width: 100%; width: 100%; height: 105px; border-radius: 4px; }
.sample-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .6rem; align-items: start; }
.output-note { margin: 1.25rem 0 0; max-width: 58rem; }
@media (max-width: 760px) {
  .desktop-break { display: none; }
  .methods > article { padding-bottom: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
.shared-input { margin: 1rem 0 0; }
.shared-input strong { color: var(--ink); margin-right: .45rem; }
.sample-link { display: inline-block; margin: .5rem 0 0 .85rem; }
.local-notice { border-left: 3px solid var(--lime); padding: .65rem .85rem; background: var(--panel); }
.download-links { display: flex; flex-wrap: wrap; gap: .75rem; }
.sample-actions { grid-template-columns: minmax(0, 1fr) auto auto; }
[hidden] { display: none !important; }
select { width: 100%; background: var(--night); color: var(--ink); border: 1px solid #72796a; border-radius: 6px; padding: .65rem; font: inherit; }
#render-mode { max-width: 28rem; }
.part-picker { margin-bottom: .8rem; }
.listening-timeline { grid-template-columns: repeat(4, 1fr); margin: 1.2rem 0; }
.listening-timeline > div { border-top: 1px solid var(--line); padding-top: .55rem; }
.listening-timeline dt { font-variant-numeric: tabular-nums; color: var(--lime); }
@media (max-width: 540px) { .listening-timeline { grid-template-columns: repeat(2, 1fr); } }
.screenshot-grid { align-items: start; }
.screenshot-grid img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 5px; }
.screenshot-grid figcaption { margin-top: .35rem; }
.screenshot-grid strong { color: var(--ink); }
