:root {
  color-scheme: dark;
  --bg: #111511; --paper: #1b211b; --line: #343e34; --ink: #f4f7f4;
  --muted: #aab4aa; --accent: #8ab681; --accent-dark: #6e9a66;
}
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink);
  font-family: 'Segoe UI', system-ui, sans-serif;
  padding: 48px 20px 60px; max-width: 680px; margin: 0 auto;
}
.back-link { color: var(--muted); font-size: 13px; text-decoration: none; }
.back-link:hover { color: var(--accent); text-decoration: underline; }

.breadcrumbs { font-size: 12.5px; color: var(--muted); margin: 0; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); text-decoration: underline; }

.eyebrow {
  margin: 28px 0 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent);
}
h1 { font-size: 28px; margin: 0 0 10px; }
.meta-line { color: var(--muted); font-size: 14px; margin: 0 0 24px; }

.sample-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.sample-item {
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 18px;
}
.sample-q { margin: 0 0 6px; font-weight: 600; font-size: 14.5px; white-space: pre-wrap; }
.sample-a { margin: 0; color: var(--muted); font-size: 13.5px; }
.sample-a::before { content: "Answer: "; color: var(--accent-dark); font-weight: 600; }

.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }

.btn-cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px; border-radius: 10px; background: var(--accent);
  color: #101410; font-size: 15px; font-weight: 800; text-decoration: none;
}
.btn-cta:hover { background: var(--accent-dark); }
.btn-cta-secondary {
  background: transparent; border: 1px solid var(--accent); color: var(--accent);
  font-weight: 700; font-size: 14px; padding: 11px 18px;
}
.btn-cta-secondary:hover { background: rgba(138,182,129,.12); }

.hint { color: var(--muted); font-size: 12.5px; margin: 12px 0 0; }

.related-topics { margin: 32px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.related-topics h2 { font-size: 15px; margin: 0 0 10px; }
.related-topics ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.related-topics a { color: var(--ink); font-size: 14px; text-decoration: none; font-weight: 600; }
.related-topics a:hover { color: var(--accent); text-decoration: underline; }
.related-meta { color: var(--muted); font-size: 12px; font-weight: 400; }

/* ---------- Browse index pages (band/grade/subject) — same page,
   reuses this stylesheet from one directory up. ---------- */
h2 { font-size: 17px; margin: 26px 0 8px; color: var(--accent); }
body > ul { list-style: none; margin: 0 0 4px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
body > ul a { color: var(--ink); font-size: 14.5px; text-decoration: none; font-weight: 600; }
body > ul a:hover { color: var(--accent); text-decoration: underline; }

.site-footer {
  margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line);
  text-align: center;
}
.site-footer a { color: var(--muted); font-size: 13px; text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
