@font-face {
    font-family: "Guide Sans";
    src: url("reveal/fonts/source-sans-pro/source-sans-pro-regular.woff") format("woff");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "Guide Sans";
    src: url("reveal/fonts/source-sans-pro/source-sans-pro-semibold.woff") format("woff");
    font-weight: 600;
    font-display: swap;
}
:root {
    --navy: #115a88;
    --purple: #5134a2;
    --ink: #16213a;
    --muted: #4f5b78;
    --line: #dfe4f0;
    font-family: "Guide Sans", "Segoe UI", sans-serif;
    color: var(--ink);
    background: #e9edf6;
    font-synthesis: none;
}
* { box-sizing: border-box; }
body, h1, h2, h3, h4, p, ol, ul { margin: 0; }
a { color: var(--navy); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid #b34e00; outline-offset: 4px; }
.skip-link { position: absolute; top: -100px; left: 12px; padding: 12px; background: white; z-index: 1; }
.skip-link:focus { top: 12px; }
.export-bar {
    max-width: 297mm;
    margin: 24px auto;
    padding: 24px 32px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px 24px;
    font-size: 16px;
    line-height: 1.4;
}
.export-bar h1 { font-size: 24px; font-weight: 600; }
.export-bar > p, .export-bar noscript { grid-column: 1 / -1; }
.export-bar button { border: 0; border-radius: 8px; padding: 12px 20px; font: 600 16px "Guide Sans", sans-serif; background: var(--navy); color: white; cursor: pointer; }
.export-bar button:disabled { background: #657187; cursor: wait; }
#export-status { border-top: 1px solid var(--line); padding-top: 12px; }
#export-status[data-error="true"] { color: #a32a34; }
.poster {
    --accent: var(--navy);
    --tint: #edf4fa;
    --hero: linear-gradient(115deg, #082a40 0%, #115a88 65%, #3159a0 100%);
    width: 297mm;
    height: 420mm;
    margin: 0 auto 32px;
    padding: 0 22mm 12mm;
    background: white;
    box-shadow: 0 8px 36px #16213a1a;
    display: flex;
    flex-direction: column;
    font-size: 26pt;
    line-height: 1.25;
}
.routine, .explain {
    --accent: var(--purple);
    --tint: #f2eefb;
    --hero: linear-gradient(115deg, #25224e 0%, #5134a2 65%, #6944b6 100%);
}
.poster-header {
    flex: 0 0 auto;
    margin: 0 -22mm;
    padding: 20mm 22mm 12mm;
    border-bottom: 1.5mm solid #ffb84d;
    color: white;
    background:
        radial-gradient(circle at 100% 0, transparent 0 41mm, #ffffff12 41mm 42mm, transparent 42mm 53mm, #ffffff08 53mm 65mm, transparent 65mm),
        var(--hero);
}
.eyebrow { font-size: 14pt; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 7mm; }
.poster-header .eyebrow { color: #fff1be; }
.poster h2 { font-size: 62pt; font-weight: 600; line-height: 1.02; letter-spacing: -0.035em; color: white; }
.poster h2 span { color: #ffda84; }
.intro { margin-top: 7mm; font-size: 26pt; color: #f0f3ff; }
.poster-content { padding-top: 13mm; }
.poster:not(.teacher) .poster-content { flex: 1; display: flex; flex-direction: column; gap: 12mm; padding-top: 18mm; padding-bottom: 16mm; font-size: 30pt; }
.poster h3 { font-size: 40pt; font-weight: 600; line-height: 1.1; color: var(--accent); }
.poster h3 + p { margin-top: 3mm; }
.step-number { display: grid; place-items: center; width: 14mm; height: 14mm; border-radius: 50%; color: var(--accent); background: var(--tint); font-size: 24pt; font-weight: 600; }
.purpose-list, .routine-list, .strategy-list, .teacher-steps { display: grid; gap: 18mm; padding: 0; list-style: none; }
.purpose-list article, .routine-list li, .strategy-list li, .teacher-steps li { display: grid; grid-template-columns: 14mm 1fr; gap: 6mm; align-items: start; }
.anchor { margin: auto -22mm 0; padding: 10mm 22mm; border-top: 1px solid var(--line); background: linear-gradient(110deg, var(--tint), #fafbff); font-size: 34pt; line-height: 1.2; color: var(--accent); }
.anchor strong { font-weight: 600; }
.routine-list { gap: 12mm; }
.response-key { display: grid; grid-template-columns: 1fr 1fr; gap: 7mm; }
.response-card { display: flex; align-items: flex-start; gap: 4mm; padding: 5mm 0; border-top: 1px solid var(--line); }
.response-icon { flex: 0 0 17mm; width: 17mm; height: 17mm; padding: 3mm; border-radius: 3mm; color: var(--navy); background: #edf3ff; }
.response-card h3 { font-size: 25pt; }
.response-card p { font-size: 22pt; line-height: 1.3; }
.closing-line { border-top: 1px solid var(--line); margin: auto -22mm 0; padding: 10mm 22mm; background: var(--tint); font-size: 28pt; color: var(--accent); font-weight: 600; }
.sentence-list { list-style: none; padding: 0; display: grid; gap: 12mm; font-size: 43pt; font-weight: 600; color: var(--accent); }
.sentence-list li { padding: 8mm 9mm; border-left: 1mm solid var(--accent); background: var(--tint); }
.ellipsis { white-space: nowrap; }
.explain .anchor { font-size: 30pt; }
.poster-footer { flex: 0 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 10mm; margin-top: auto; padding-top: 7mm; border-top: 1px solid var(--line); color: var(--muted); font-size: 10pt; }
.poster-footer b { margin: 0 2mm; color: var(--accent); font-weight: 400; }
.poster-footer a { display: block; flex: 0 0 38mm; }
.poster-footer img { display: block; width: 38mm; height: auto; }
.teacher h2 { font-size: 50pt; }
.teacher .intro { font-size: 23pt; }
.teacher .poster-header { padding-bottom: 8mm; }
.teacher .poster-content { padding-top: 9mm; }
.teacher-steps { gap: 7mm; }
.teacher h3 { font-size: 27pt; }
.teacher-steps p { font-size: 21pt; line-height: 1.3; }
.tool-panel { margin-top: 7mm; padding: 6mm 8mm; background: var(--tint); border-left: 1.5mm solid var(--accent); }
.tool-panel .eyebrow { margin-bottom: 5mm; }
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6mm 9mm; }
.tool-grid h4 { font-size: 22pt; color: var(--accent); font-weight: 600; margin-bottom: 2mm; }
.tool-grid p { font-size: 19pt; }
.teacher-note { font-size: 18pt; line-height: 1.3; margin-top: 7mm; }
.evidence { font-size: 11pt; line-height: 1.4; margin-top: 6mm; color: var(--muted); }
@page { size: A3 portrait; margin: 0; }
@media print {
    :root, body { background: white; }
    * { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
    .no-print { display: none !important; }
    .poster { margin: 0; box-shadow: none; break-after: page; page-break-after: always; }
    .poster:last-child { break-after: auto; page-break-after: auto; }
    .poster-header, li, article, .anchor, .tool-panel, .poster-footer { break-inside: avoid; }
}
@media screen and (max-width: 1150px) {
    .export-bar { margin: 16px; }
    .poster { width: calc(100% - 32px); height: auto; min-height: 0; padding: 0 24px 24px; font-size: clamp(18px, 3vw, 30px); }
    .poster h2 { font-size: clamp(38px, 7vw, 72px); }
    .poster h3 { font-size: clamp(26px, 4vw, 40px); }
    .intro, .teacher .intro { font-size: inherit; }
    .poster-header, .teacher .poster-header { margin: 0 -24px; padding: 32px 24px; }
    .poster-content, .teacher .poster-content { padding-top: 28px; }
    .poster:not(.teacher) .poster-content { flex: none; gap: 28px; padding-top: 28px; padding-bottom: 0; font-size: inherit; }
    .eyebrow { font-size: 13px; margin-bottom: 20px; }
    .purpose-list, .routine-list, .strategy-list, .teacher-steps { gap: 28px; }
    .purpose-list article, .routine-list li, .strategy-list li, .teacher-steps li { grid-template-columns: 36px 1fr; gap: 16px; }
    .step-number { width: 36px; height: 36px; font-size: 24px; }
    .anchor, .explain .anchor { font-size: clamp(24px, 4vw, 38px); padding: 24px; margin: 32px -24px 0; }
    .sentence-list { font-size: clamp(28px, 5vw, 48px); gap: 20px; }
    .sentence-list li { padding: 20px; }
    .teacher-steps p, .tool-grid p, .teacher-note { font-size: inherit; }
    .tool-panel { padding: 24px; }
    .tool-grid h4 { font-size: clamp(22px, 3vw, 30px); }
    .response-card { gap: 16px; }
    .response-icon { flex-basis: 48px; width: 48px; height: 48px; padding: 8px; }
    .response-card h3 { font-size: 24px; }
    .response-card p { font-size: 20px; }
    .closing-line { font-size: inherit; margin: 32px -24px 0; padding: 24px; }
    .poster-footer { margin-top: 32px; padding-top: 20px; gap: 16px; font-size: 11px; }
    .poster-footer a { flex-basis: 110px; }
    .poster-footer img { width: 110px; }
    .evidence { font-size: 13px; }
}
@media screen and (max-width: 600px) {
    .export-bar { grid-template-columns: 1fr; padding: 20px; }
    .export-bar button { justify-self: start; }
    .tool-grid { grid-template-columns: 1fr; }
    .response-key { grid-template-columns: 1fr; gap: 12px; }
}
