:root {
  --bg: #f6f8fa;
  --card: #ffffff;
  --text: #0e1116;
  --muted: #56606e;
  --accent: #09704e;
  --tint: rgba(9, 112, 78, 0.1);
  --line: rgba(14, 17, 22, 0.12);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1116;
    --card: #161b22;
    --text: #eef2f6;
    --muted: #9aa4b2;
    --accent: #3ddc97;
    --tint: rgba(61, 220, 151, 0.14);
    --line: rgba(238, 242, 246, 0.14);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px 64px; }
header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 20px 0;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; }
.brand img { width: 32px; height: 32px; border-radius: 7px; }
nav.site { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; }
a { color: var(--accent); }
nav.site a { text-decoration: none; }
nav.site a:hover, nav.site a[aria-current] { text-decoration: underline; }
h1 { font-size: 30px; line-height: 1.2; margin: 24px 0 8px; text-wrap: balance; }
h2 { font-size: 21px; line-height: 1.3; margin: 40px 0 8px; }
h3 { font-size: 16px; margin: 24px 0 4px; }
p, ul { margin: 8px 0; }
ul { padding-left: 22px; }
.lead { font-size: 18px; color: var(--muted); }
.muted { color: var(--muted); font-size: 14px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 20px 20px;
  margin-top: 24px;
}
.pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}
/* The same motif as the panel: three lyric lines, the current one highlighted. */
.demo { margin: 28px 0 8px; padding: 18px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.demo p { margin: 0; padding: 7px 12px; border-radius: 10px; color: var(--muted); }
.demo p.now { background: var(--tint); color: var(--text); font-weight: 600; box-shadow: inset 3px 0 0 var(--accent); }
code { font-size: 0.92em; overflow-wrap: anywhere; }
footer.site { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
