/* For instructors: a letter-length sheet. What students see, what DoreScore
   never touches (ticked like a checklist), sharing the syllabus, and a few
   numbered tips, as you'd write them on a handout. */
.doc { max-width: 860px; }
.doc a { text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.teach .eyebrow { font: 700 18px/1.2 "Kalam", "Bradley Hand", cursive; color: var(--gold-ink); }
.teach h1 { max-width: 18ch; margin-top: 6px; }
.teach .lead { max-width: 60ch; }

.teach-sec { margin-top: 44px; }
.teach-sec h2 { font: 700 clamp(24px, 2.6vw, 30px)/1.2 var(--display); letter-spacing: -0.01em; }
.teach-sec > p { max-width: 64ch; margin-top: 10px; font-size: 17px; line-height: 1.55; }
.teach-sec strong { font-weight: 700; }

/* What students see: three short lines on the ruled sheet */
.teach-list { list-style: none; margin-top: 14px; padding: 0; border-top: 1.5px solid var(--rule); }
.teach-list li { max-width: 70ch; padding: 13px 0; border-bottom: 1.5px solid var(--rule); font-size: 17px; line-height: 1.5; }

/* What it never touches: gold ticks, as on the privacy page */
.teach-checks { list-style: none; margin-top: 14px; padding: 0; display: grid; gap: 0; border-top: 1.5px solid var(--rule); }
.teach-checks li { position: relative; max-width: 72ch; padding: 14px 0 14px 40px; border-bottom: 1.5px solid var(--rule); font-size: 17px; line-height: 1.5; }
.teach-checks li::before { content: ""; position: absolute; left: 7px; top: 19px; width: 9px; height: 17px; border-right: 3.5px solid var(--gold); border-bottom: 3.5px solid var(--gold); transform: rotate(40deg); }
.teach-checks strong { font-family: var(--display); }

/* Sharing the syllabus: the one thing to do, on a yellow note pinned to the sheet */
.share { position: relative; padding: 24px 26px 22px; background: var(--note); box-shadow: 0 2px 3px rgba(30, 15, 4, 0.12), 0 14px 26px -10px rgba(30, 15, 4, 0.34); transform: rotate(-0.6deg); }
.share::before { content: ""; position: absolute; left: 50%; top: -11px; width: 96px; height: 24px; margin-left: -48px; background: rgba(250, 244, 222, 0.8); box-shadow: 0 1px 2px rgba(30, 15, 4, 0.18); transform: rotate(3deg); }
.share h2 { margin-top: 0; }
.share > p { color: #2c2416; }
.share-actions { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 16px !important; }

/* Tips: numbered in the margin, like a handout */
.teach-tips { margin-top: 14px; padding-left: 0; list-style: none; counter-reset: tip; display: grid; gap: 10px; }
.teach-tips li { position: relative; max-width: 66ch; padding-left: 40px; font-size: 17px; line-height: 1.5; counter-increment: tip; }
.teach-tips li::before { content: counter(tip); position: absolute; left: 0; top: -2px; width: 28px; font: 700 22px/1.2 "Kalam", "Bradley Hand", cursive; color: var(--gold-ink); text-align: center; }

/* Questions: folded, as on the help page */
.teach-faq details { border-bottom: 1.5px solid var(--rule); }
.teach-faq h2 + details { margin-top: 12px; border-top: 1.5px solid var(--rule); }
.teach-faq summary { position: relative; padding: 15px 40px 15px 0; list-style: none; font: 700 19px/1.35 var(--display); cursor: pointer; }
.teach-faq summary::-webkit-details-marker { display: none; }
.teach-faq summary::after { content: "+"; position: absolute; right: 6px; top: 11px; font: 700 26px/1 var(--display); color: var(--gold-ink); transition: transform 220ms cubic-bezier(0.23, 1, 0.32, 1); }
.teach-faq details[open] summary::after { transform: rotate(45deg); }
@media (hover: hover) and (pointer: fine) { .teach-faq summary:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; } }
.teach-faq summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.faq-body { padding: 0 0 18px; }
.faq-body p { max-width: 66ch; font-size: 16.5px; line-height: 1.55; }

.teach-more { margin-top: 40px; }
.teach-more h2 { font: 700 24px/1.2 var(--display); }
.teach-more p { max-width: 64ch; margin-top: 8px; font-size: 17px; }

@media (max-width: 640px) {
  .share { padding: 22px 18px 20px; transform: none; }
  .teach-checks li { padding-left: 34px; }
}
@media (prefers-reduced-motion: reduce) { .teach-faq summary::after { transition: none; } }
