:root {
  --bg: #fbf8f2;
  --surface: #ffffff;
  --text: #1c2340;
  --muted: #5a6078;
  --accent: #1c2340;
  --link: #8a5a00;
  --border: #e6e0d4;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12162a;
    --surface: #1b2038;
    --text: #f2efe8;
    --muted: #b4b8c9;
    --accent: #f2efe8;
    --link: #f5c45e;
    --border: #2c3354;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
main { max-width: 720px; margin: 0 auto; padding: 32px 16px 64px; }
header.site { display: flex; gap: 20px; align-items: baseline; flex-wrap: wrap; margin-bottom: 32px; }
header.site .brand { font-weight: 700; font-size: 22px; color: var(--accent); text-decoration: none; }
header.site nav a { color: var(--muted); margin-right: 16px; text-decoration: none; }
header.site nav a:hover { color: var(--text); }
h1 { font-size: 32px; line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 21px; margin: 36px 0 8px; }
h3 { font-size: 18px; margin: 24px 0 4px; }
p.meta { color: var(--muted); margin-top: 0; }
a { color: var(--link); }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-weight: 600; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px 20px; margin: 16px 0; }
footer { margin-top: 48px; color: var(--muted); font-size: 14px; }
@media (max-width: 560px) {
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  td { border: none; padding: 2px 0; }
  tr { border-bottom: 1px solid var(--border); padding: 10px 0; }
  td:first-child { font-weight: 600; }
}

/* Content pages: teachers, instruments, guides */
p.lede { font-size: 19px; color: var(--muted); margin: 0 0 8px; }
p.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
p.crumbs a { color: var(--muted); }
ul, ol { padding-left: 22px; }
li { margin: 4px 0; }
.cta { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px; margin: 40px 0 16px; }
.cta h2 { margin-top: 0; }
.btn { display: inline-block; border: 0; cursor: pointer; font: inherit; font-weight: 600; background: var(--accent); color: var(--bg); text-decoration: none; font-weight: 600; padding: 10px 20px; border-radius: 999px; margin-top: 4px; }
.related { margin-top: 32px; }
.related ul { list-style: none; padding: 0; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
/* Printable practice chart */
.chart td, .chart th { text-align: center; border: 1px solid var(--border); height: 40px; }
.chart td:first-child, .chart th:first-child { text-align: left; width: 34%; }
@media (max-width: 560px) {
  .chart, .chart thead, .chart tbody, .chart tr { display: table-row-group; }
  .chart { display: table; } .chart tr { display: table-row; } .chart thead { display: table-header-group; }
  .chart th, .chart td { display: table-cell; padding: 6px 4px; font-size: 13px; }
}
@media print {
  header.site, footer, .cta, .no-print, .related { display: none !important; }
  body { background: #fff; color: #000; font-size: 13px; }
  main { padding: 0; max-width: none; }
  .chart td, .chart th { border: 1px solid #000; height: 34px; }
}
.note { font-size: 15px; color: var(--muted); }
