/* Readable sales samples; full paid documents stay behind account access. */
.math101-preview-section { margin-top:42px; margin-bottom:42px; scroll-margin-top:96px; }
.math101-preview-section>h2 { font:600 clamp(1.65rem,3.5vw,2.35rem)/1.18 Fredoka,sans-serif; color:var(--ink); margin:10px 0 14px; overflow-wrap:anywhere; }
.math101-sample-intro { max-width:760px; color:var(--ink-2); line-height:1.75; margin-bottom:20px; }
.math101-preview { background:var(--surface); border:2px solid #CFB5F1; border-radius:16px; overflow:hidden; }
.math101-preview>summary { cursor:pointer; color:#4E00AC; background:#F4EDFF; padding:20px 24px; font-weight:600; font-size:1.08rem; }
.math101-preview>summary>span { display:block; margin:5px 0 0 17px; font-size:.82rem; font-weight:400; color:#5B4670; }
.math101-preview>summary:hover { background:#ECE0FF; }
.math101-preview>summary:focus-visible,.math101-sample-page a:focus-visible { outline:3px solid #0049D2; outline-offset:-4px; }
.math101-preview-body { padding:24px; }
.math101-preview-body>.fine { margin-top:0; }
.math101-sample-pages { display:grid; gap:30px; max-width:820px; margin:24px auto 28px; }
.math101-sample-page { margin:0; min-width:0; }
.math101-sample-page a { display:block; border:1px solid #D9CDEA; border-radius:6px; background:#fff; overflow:hidden; box-shadow:0 5px 18px #35105213; }
.math101-sample-page img { display:block; max-width:100%; width:100%; height:auto; }
.math101-sample-page figcaption { color:var(--ink-2); text-align:center; font-size:.86rem; padding:12px 5px 0; line-height:1.6; }
.math101-sample-note { color:var(--ink-2); max-width:760px; font-size:.9rem; line-height:1.75; }
.math101-preview-link { display:inline-block; color:#4E00AC; font-weight:600; margin:0 0 14px; text-underline-offset:4px; }
.math101-main-resource { padding:14px; border:1px solid #CFB5F1; background:#F4EDFF; border-radius:10px; display:flex; justify-content:space-between; align-items:center; gap:12px; }
.math101-main-resource>span:first-child { font-weight:600; color:#4E00AC; }
.math101-preview-section .btn { white-space:normal; text-align:center; }
@media (max-width:600px) {
  .math101-preview-section { margin-top:30px; margin-bottom:30px; }
  .math101-preview>summary { padding:18px; }
  .math101-preview-body { padding:14px; }
  .math101-sample-pages { margin:18px -6px 24px; gap:24px; }
}
@media print {
  .math101-preview-section { display:none; }
}
