:root {
  color-scheme: light;
  --paper: #f7f6f2;
  --ink: #203b35;
  --muted: #64716b;
  --line: #dddfd6;
  --accent: #315e4e;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #9b6628; outline-offset: 5px; }
.page { max-width: 880px; margin: 0 auto; padding: 0 36px; }
header { display: flex; align-items: center; justify-content: space-between; padding: 34px 0; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; font-size: 22px; font-weight: 650; letter-spacing: -.7px; }
.portal-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; color: var(--muted); }
main { padding: 28px 0 36px; }
.eyebrow { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 1.8px; font-weight: 650; color: var(--muted); }
.lesson-list { display: grid; gap: 14px; }
.lesson { border: 1px solid var(--line); border-radius: 14px; background: #fffefa; overflow: hidden; scroll-margin-top: 24px; }
.lesson[open] { border-color: #aab9a8; }
summary { display: flex; align-items: center; gap: 20px; padding: 26px; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary:hover { background: #f0f2eb; }
summary:focus-visible { outline-offset: -5px; border-radius: 14px; }
.lesson-number { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; background: #edf0e8; color: var(--accent); font-size: 13px; font-variant-numeric: tabular-nums; }
.lesson[open] .lesson-number { background: var(--ink); color: #fffefa; }
.lesson-heading { flex: 1; min-width: 0; }
.lesson-heading .eyebrow { font-size: 10px; margin-bottom: 7px; }
.lesson-title { display: block; font-size: 20px; font-weight: 550; line-height: 1.4; letter-spacing: -.4px; }
.expand-icon { position: relative; width: 18px; height: 18px; flex: 0 0 18px; }
.expand-icon::before, .expand-icon::after { content: ""; position: absolute; background: var(--accent); border-radius: 1px; }
.expand-icon::before { width: 12px; height: 2px; left: 3px; top: 8px; }
.expand-icon::after { height: 12px; width: 2px; top: 3px; left: 8px; }
.lesson[open] .expand-icon::after { display: none; }
.lesson-content { padding: 0 26px 22px; }
.resource-bar { border-top: 1px solid var(--line); padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
h2 { font-size: 13px; font-weight: 500; margin: 0; }
.tempo { color: var(--muted); font-size: 11px; margin-left: 8px; white-space: nowrap; }
.pdf-link { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 15px; min-height: 44px; border: 1px solid #d5ded0; border-radius: 7px; background: #eef2e9; color: #244b39; font-size: 12px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.pdf-link:hover { background: #e0e8d9; }
.video-frame { aspect-ratio: 16 / 9; background: #18201e; border-radius: 8px; overflow: hidden; }
iframe { width: 100%; height: 100%; border: 0; display: block; }
.resource-note, noscript p { font-size: 12px; color: var(--muted); line-height: 1.7; margin: 14px 0 0; }
.resource-note a { white-space: nowrap; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { display: block; padding: 12px; }
@media (max-width: 540px) {
  .page { padding: 0 20px; }
  header { padding: 24px 0; }
  summary { padding: 21px 16px; gap: 13px; }
  .lesson-title { font-size: 18px; }
  .lesson-number { width: 36px; height: 36px; flex-basis: 36px; }
  .lesson-content { padding: 0 16px 18px; }
  .resource-bar { flex-wrap: wrap; }
  .tempo { display: block; margin: 5px 0 0; }
}
@media (prefers-reduced-motion: no-preference) {
  summary, .pdf-link { transition: background-color 150ms ease; }
}