:root {
  --bg: #f6f2ee;
  --surface: #ffffff;
  --line: #ddd4cd;
  --fg: #1d1820;
  --muted: #6b616d;
  --accent: #c77a0a;
  --accent-ink: #ffffff;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121014;
    --surface: #1c191f;
    --line: #36313b;
    --fg: #f1ebe3;
    --muted: #a69ca8;
    --accent: #f2a93b;
    --accent-ink: #1a1206;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  padding: 0 16px 64px;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
}
.site, main, footer.site { max-width: 1080px; margin-inline: auto; }
.brand { font-weight: 800; letter-spacing: 0.04em; margin: 20px 0; }
.brand span { font-weight: 400; color: var(--muted); letter-spacing: 0; }
h1, h2 { line-height: 1.1; margin: 0 0 12px; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
h2 { font-size: 1.4rem; }
p { max-width: 62ch; margin: 0 0 12px; }
.lucille { display: grid; gap: 32px; padding-block: 24px 56px; }
.shot { width: 100%; height: auto; border-radius: 8px; display: block; }
.download {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  display: grid;
  gap: 16px;
  max-width: 560px;
}
.download p { margin: 0; }
.os-pick { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.os-pick legend { color: var(--muted); font-size: 0.875rem; margin-bottom: 6px; }
.button {
  justify-self: start;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  padding: 16px 28px;
  border-radius: 999px;
  text-decoration: none;
}
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; font-size: 0.875rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.page { padding-block: 24px 56px; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.releases { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 28px; }
.releases time { color: var(--muted); font-size: 0.875rem; font-weight: 400; margin-left: 10px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.brand a { color: inherit; text-decoration: none; }
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 3px; }

/* Text pages: /help, /privacy */
.text { max-width: 720px; padding-block: 24px 32px; }
.text section { padding-top: 24px; }
.text ul, .text ol { padding-left: 1.25em; max-width: 62ch; }
.text li { margin-bottom: 6px; }
.text code { font-size: 0.9em; overflow-wrap: anywhere; }
.text table { border-collapse: collapse; width: 100%; margin-bottom: 12px; font-size: 0.9375rem; }
.text th, .text td { text-align: left; vertical-align: top; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line); }
.text th { color: var(--muted); font-weight: 600; }

footer.site { border-top: 1px solid var(--line); padding-top: 20px; color: var(--muted); font-size: 0.875rem; }
footer.site nav { display: flex; gap: 20px; }

/* After-download pages: /download/mac, /download/windows */
.after { display: grid; gap: 40px; padding-block: 24px 56px; max-width: 720px; }
.steps { margin: 0; padding-left: 1.4em; display: grid; gap: 8px; max-width: 62ch; }
.quiet { color: var(--muted); font-size: 0.875rem; }
.quiet h2 { font-size: 1rem; }

/* Songs, on the landing page */
.songs { padding-block: 24px 56px; border-top: 1px solid var(--line); }
.song-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 28px; }
.song h3 { margin: 0; font-size: 1.15rem; }
.song .released { color: var(--muted); font-size: 0.875rem; margin: 2px 0 8px; }
.song .patches { margin: 8px 0 10px; padding-left: 1.1em; max-width: 62ch; }
.song .patches li { margin-bottom: 4px; }
.song .listen { font-weight: 600; margin-right: 16px; }

/* Mailing list, on the landing page */
.mailing-list { padding-block: 24px 56px; border-top: 1px solid var(--line); }
.signup { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 16px 0 12px; max-width: 560px; }
.signup label { flex-basis: 100%; color: var(--muted); font-size: 0.875rem; }
.signup input {
  flex: 1 1 220px;
  min-width: 0;
  font: inherit;
  color: var(--fg);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 14px 18px;
}
.signup button { border: 0; font: inherit; font-weight: 600; cursor: pointer; }

/* The report form on /help */
.report { display: grid; gap: 16px; max-width: 560px; margin-top: 16px; }
.report .field { display: grid; gap: 6px; margin: 0; max-width: none; }
.report label { font-weight: 600; }
.report .hint { color: var(--muted); font-weight: 400; font-size: 0.875rem; margin-left: 6px; }
.report input[type="text"], .report input[type="email"], .report textarea {
  font: inherit;
  color: var(--fg);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  width: 100%;
}
.report textarea { resize: vertical; min-height: 10em; }
.report-type { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.report-type legend { color: var(--muted); font-size: 0.875rem; margin-bottom: 6px; }
.report-type label { font-weight: 400; }
.report .button { border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.report .button:disabled { opacity: 0.5; cursor: default; }
.report .error { color: var(--accent); font-size: 0.875rem; margin: 0; }
.report-status { margin: 0; min-height: 1.55em; }
