@font-face {
    font-family: "Guide Sans";
    src: url("reveal/fonts/source-sans-pro/source-sans-pro-regular.woff") format("woff");
    font-style: normal;
    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-style: normal;
    font-weight: 600 900;
    font-display: swap;
}

:root {
    --navy: #115a88;
    --ink: #16213a;
    --muted: #4f5b78;
    --purple: #6239c6;
    --orange: #ff7d00;
    --line: #dfe4f0;
    --gutter: 16mm;
    font-family: "Guide Sans", "Segoe UI", sans-serif;
    color: var(--ink);
    background: #e9edf6;
    font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--navy); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
h1, h2, h3, h4, p, ol, ul, blockquote { margin: 0; }
figure { margin: 0; }
h1, h2, h3, h4 { font-weight: 600; }
p { line-height: 1.4; }
.export-bar {
    max-width: 210mm;
    margin: 24px auto;
    padding: 22px 26px;
    border: 1px solid #d5daeb;
    border-radius: 18px;
    background: white;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px 24px;
    font-size: 15px;
}
.export-bar strong { font-weight: 600; }
.export-bar > div > strong { font-size: 20px; }
.export-bar > div > p { color: var(--muted); }
.export-bar button { border: 0; border-radius: 10px; padding: 12px 18px; background: var(--navy); color: white; font: 600 16px "Guide Sans", sans-serif; cursor: pointer; }
.export-bar button:disabled { background: #657187; cursor: wait; }
.print-help, #export-status, .export-bar noscript { grid-column: 1 / -1; }
.print-help { color: var(--muted); font-size: 14px; }
#export-status { border-top: 1px solid var(--line); padding-top: 10px; }
#export-status[data-error="true"] { color: #a32a34; }
.skip-link { position: absolute; left: 12px; top: -100px; background: white; padding: 12px; z-index: 3; }
.skip-link:focus { top: 12px; }
.sheet {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 210mm;
    height: 297mm;
    margin: 0 auto 24px;
    background: white;
    box-shadow: 0 8px 36px #16213a1a;
    font-size: 10.6pt;
    line-height: 1.4;
}
.running-header {
    height: 21mm;
    flex: 0 0 21mm;
    padding: 4mm var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10mm;
}
.running-header img { width: 43mm; height: auto; }
.running-header > span { font-size: 8pt; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.running-header b { color: var(--orange); margin: 0 5px; }
.eyebrow { font-size: 8pt; font-weight: 600; color: var(--purple); letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.35; }
.eyebrow.light { color: #fff1be; }
.chapter-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    flex: 0 0 auto;
    padding: 6mm var(--gutter);
    color: white;
    background: linear-gradient(115deg, #082a40 0%, #115a88 58%, #3159a0 100%);
    border-bottom: 1.4mm solid #ffb84d;
}
.chapter-hero.purple { background: linear-gradient(115deg, #25224e 0%, #5134a2 64%, #7a4cc9 100%); }
.chapter-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 78mm;
    height: 78mm;
    right: -14mm;
    top: -27mm;
    border: 1px solid #ffffff24;
    border-radius: 50%;
    box-shadow: 0 0 0 10mm #ffffff07, 0 0 0 20mm #ffffff05;
}
.chapter-hero h2 { font-size: 26pt; line-height: 1.04; letter-spacing: -0.035em; margin: 3mm 0; max-width: 165mm; }
.chapter-hero > p:last-of-type { font-size: 11pt; line-height: 1.35; color: #f0f3ff; }
.chapter-number { position: absolute; right: 12mm; bottom: -8mm; color: #ffffff10; font-size: 95pt; font-weight: 600; line-height: 1; z-index: -1; }
.page-content { padding: 6mm var(--gutter) 4mm; }
.standfirst { font-size: 10.6pt; line-height: 1.4; color: var(--muted); margin-bottom: 4mm; }
.cite { font-size: 8pt; font-weight: 600; white-space: nowrap; text-decoration: none; }
.principle-list { display: grid; gap: 4mm; }
.principle-list article { display: grid; grid-template-columns: 10mm 1fr; gap: 3mm; }
.index { width: 9mm; height: 9mm; display: grid; place-items: center; border-radius: 50%; background: #eee8fb; color: var(--purple); font-size: 10pt; font-weight: 600; }
h3 { font-size: 13pt; line-height: 1.17; color: var(--navy); margin-bottom: 2mm; }
h4 { font-size: 11.1pt; line-height: 1.2; margin-bottom: 1.5mm; color: var(--navy); }
.callout { padding: 4mm 5mm; background: #edf3ff; border-left: 1mm solid #7fa8d4; }
.callout .eyebrow { margin-bottom: 2mm; }
.callout p:not(.eyebrow) { font-size: 10.3pt; }
.warm { background: #fff5e8; border-color: #ffb356; }
.lavender { background: #f1ecfc; border-color: #b49bdf; }
.principle-list + .callout { margin-top: 5mm; }
.section-tail { display: grid; grid-template-columns: 39mm 1fr; gap: 4mm; border-top: 1px solid var(--line); padding-top: 4mm; margin-top: 5mm; font-size: 10pt; }
.section-tail b { color: var(--purple); line-height: 1.2; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4mm; }
.card { padding: 3.5mm 4mm; background: #edf3ff; border-radius: 3mm; }
.card.lavender { background: #f1ecfc; }
.card .eyebrow { margin-bottom: 2.5mm; }
.card h3 { font-size: 13pt; }
.card p:not(.eyebrow) { font-size: 10pt; }
.card .micro { border-top: 1px solid #ced8e9; margin-top: 3mm; padding-top: 2mm; color: var(--muted); font-size: 9pt !important; }
.section-heading { margin: 4mm 0 2.5mm; font-size: 14pt; letter-spacing: -0.015em; }
.first-heading { margin-top: 0; }
.steps { list-style: none; counter-reset: step; padding: 0; display: grid; gap: 2.5mm; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 7mm 1fr; gap: 3mm; }
.steps li::before { content: counter(step, decimal-leading-zero); font-size: 11pt; color: var(--purple); font-weight: 600; }
.steps p { font-size: 10pt; }
.ribbon {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 7mm;
    margin: 4mm calc(-1 * var(--gutter)) 0;
    padding: 4mm var(--gutter);
    background: linear-gradient(110deg, #115a88, #5134a2);
    color: white;
}
.ribbon h3 { color: white; font-size: 16pt; line-height: 1.1; margin: 2mm 0 0; }
.ribbon > p { font-size: 10pt; line-height: 1.4; }
.ribbon a { color: white; }
.small-note { font-size: 9pt; color: var(--muted); margin-top: 4mm; line-height: 1.35; }
.routine-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4mm; }
.routine-grid article { position: relative; border: 1px solid #ded9ef; padding: 4mm 5mm; border-radius: 3mm; background: linear-gradient(135deg, #fcfbff, #f1ecfc); }
.routine-grid .eyebrow { margin-bottom: 2mm; padding-right: 8mm; }
.routine-grid h3 { font-size: 13pt; padding-right: 3mm; }
.routine-grid p:not(.eyebrow) { font-size: 10.2pt; }
.routine-digit { position: absolute; right: 4mm; top: 2mm; font-size: 28pt; line-height: 1; color: #d6c6ee; }
.response-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4mm; }
.response-row article { padding-right: 4mm; border-right: 1px solid var(--line); }
.response-row article:last-child { padding-right: 0; border: 0; }
.response-row p { font-size: 10pt; }
.tag { display: inline-block; font-size: 8pt; letter-spacing: 0.06em; font-weight: 600; color: var(--purple); margin-bottom: 2mm; }
blockquote { border-left: 1mm solid var(--orange); padding: 3mm 5mm; margin-top: 6mm; background: #fff6ed; }
blockquote p { color: var(--navy); font-size: 17pt; font-weight: 600; line-height: 1.15; }
blockquote cite { display: block; font-size: 9pt; font-style: normal; color: var(--muted); margin-top: 2mm; }
.example { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #d6dfee; border-radius: 3mm; }
.example-question, .example-reason { padding: 4mm 5mm; }
.example-question { background: #edf3ff; border-radius: 3mm 0 0 3mm; }
.example .eyebrow { font-size: 7.5pt; margin-bottom: 3mm; }
.example h3 { font-size: 17pt; }
.sequence { font-size: 29pt; font-weight: 600; letter-spacing: -0.04em; color: var(--navy); white-space: nowrap; margin: 2mm 0; }
.sequence span { color: var(--purple); font-size: 18pt; margin: 0 1mm; }
.example-options { font-size: 9pt; }
.example-options span { color: var(--purple); margin: 0 1mm; }
.example-reason p:not(.eyebrow) { font-size: 10pt; margin-top: 2mm; }
.example-caption { font-size: 9.5pt; color: var(--muted); margin-top: 3mm; }
.demo-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 2mm; }
.demo-figure figcaption { font-size: 9.5pt; line-height: 1.35; color: var(--muted); }
.demo-figure figcaption .eyebrow { display: block; margin-bottom: 2mm; }
.visual-example { display: grid; grid-template-columns: 1.3fr 1fr; gap: 4mm; align-items: start; }
.visual-example figcaption p + p { margin-top: 2mm; }
.classroom-example > a { display: block; max-width: 154mm; margin: auto; }
.classroom-example figcaption { margin-top: 3mm; }
.demo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4mm; }
.demo-pair .eyebrow { display: block; margin-bottom: 2mm; }
.demo-pair figcaption { margin-top: 2mm; }
.teaching-cycle { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4mm; list-style: none; padding: 3mm 0 0; counter-reset: cycle; }
.teaching-cycle li { counter-increment: cycle; font-size: 10pt; }
.teaching-cycle b { color: var(--purple); }
.teaching-cycle b::before { content: counter(cycle) " / "; }
.teaching-cycle p { margin-top: 1.5mm; }
.decision-table { width: 100%; border-collapse: collapse; margin-bottom: 5mm; font-size: 10.2pt; }
.decision-table thead { background: var(--navy); color: white; }
.decision-table th, .decision-table td { text-align: left; padding: 3mm 4mm; vertical-align: top; }
.decision-table thead th { font-size: 8pt; text-transform: uppercase; letter-spacing: 0.04em; }
.decision-table tbody th { width: 32%; font-weight: 600; color: var(--navy); }
.decision-table tbody tr:nth-child(odd) { background: #edf3ff; }
.decision-table tbody tr:nth-child(even) { background: #f6f7fb; }
.week-plan { display: grid; gap: 0; }
.week-plan article { display: grid; grid-template-columns: 20mm 1fr; gap: 4mm; padding: 2.5mm 4mm; background: #f5f2fb; border-bottom: 1px solid white; }
.week-plan article:nth-child(even) { background: #edf3ff; }
.week-plan article > b { color: var(--purple); font-size: 11pt; line-height: 1.1; }
.week-plan p { font-size: 10pt; }
.checklist { list-style: none; padding: 0; display: grid; gap: 2.5mm; font-size: 10.5pt; }
.checklist li { position: relative; padding-left: 7mm; }
.checklist li::before { content: ""; position: absolute; top: 1mm; left: 0; width: 3.5mm; height: 3.5mm; border: 1px solid #9a7fd2; border-radius: 0.7mm; background: #f1ecfc; }
.start-link { display: grid; grid-template-columns: 1fr auto; gap: 4mm; align-items: center; margin-top: 5mm; }
.start-link h3 { font-size: 14pt; margin-top: 2mm; }
.start-link p:not(.eyebrow) { font-size: 10pt; }
.start-link > a { display: inline-block; background: #fff0dd; border: 1px solid #ffc781; color: #613304; text-decoration: none; padding: 3mm 4mm; border-radius: 2mm; font-weight: 600; font-size: 10pt; }
.sources { list-style: none; padding: 0; display: grid; gap: 2mm; }
.sources li { display: grid; grid-template-columns: 8mm 1fr; gap: 3mm; padding-bottom: 2mm; border-bottom: 1px solid var(--line); }
.source-number { color: var(--purple); font-weight: 600; }
.sources h3 { font-size: 12pt; margin-bottom: 1mm; }
.sources p { font-size: 10pt; margin-bottom: 1mm; }
.sources p:first-of-type { color: var(--muted); font-size: 9pt; }
.sources a { font-size: 9.5pt; }
.sources + .callout { margin-top: 4mm; }
.publication-note { display: flex; justify-content: space-between; gap: 6mm; border-top: 1px solid var(--line); margin-top: 4mm; padding-top: 3mm; font-size: 9pt; color: var(--muted); }
.page-footer { margin: auto var(--gutter) 0; padding: 4mm 0 5mm; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 4mm; font-size: 8pt; color: var(--muted); }
.page-footer > a { color: var(--navy); text-decoration: none; font-weight: 600; }
.page-footer > b { font-size: 11pt; color: var(--navy); white-space: nowrap; }
.page-footer small { color: var(--muted); font-size: 8pt; font-weight: 400; }
.cover-hero { position: relative; overflow: hidden; isolation: isolate; flex: 0 0 170mm; padding: 12mm var(--gutter) 8mm; color: white; background: linear-gradient(125deg, #082a40 4%, #115a88 43%, #5134a2 88%); border-bottom: 2mm solid #ffb84d; }
.cover-brand { display: inline-block; background: white; padding: 3mm 5mm; border-radius: 3mm; margin-bottom: 12mm; }
.cover-brand img { display: block; width: 54mm; height: auto; }
.cover-hero > .eyebrow { position: relative; font-size: 8.5pt; margin-bottom: 4mm; }
.cover h1 { font-size: 78pt; line-height: 0.88; letter-spacing: -0.065em; margin-bottom: 7mm; }
.cover h1 span { color: #ffda84; }
.cover-tagline { font-size: 26pt; line-height: 1.06; letter-spacing: -0.02em; margin-bottom: 5mm; }
.hero-description { font-size: 12pt; line-height: 1.4; max-width: 160mm; color: #f0f3ff; }
.hero-label { font-size: 7.5pt; letter-spacing: 0.1em; display: flex; align-items: center; gap: 3mm; margin-top: 7mm; }
.hero-label > span { width: 6mm; height: 1mm; display: inline-block; background: #ffc966; }
.orbit { position: absolute; z-index: -1; border-radius: 50%; border: 1px solid #ffffff35; pointer-events: none; }
.orbit-one { width: 130mm; height: 130mm; right: -64mm; top: -25mm; border-width: 14mm; border-color: #ffffff08; box-shadow: 0 0 0 1px #ffffff22, 0 0 0 18mm #ffffff05; }
.orbit-two { width: 60mm; height: 60mm; right: 0; top: 75mm; border-color: #ffc96680; }
.cover-content { padding: 8mm var(--gutter) 4mm; }
.cover-content h2 { font-size: 24pt; line-height: 1.07; letter-spacing: -0.025em; color: var(--navy); margin: 3mm 0 4mm; }
.cover-content > p:not(.eyebrow) { font-size: 11pt; }
.cover-pillars { display: grid; grid-template-columns: repeat(3, 1fr); margin: 6mm 0 4mm; padding: 4mm 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); gap: 5mm; }
.cover-pillars b { display: block; color: var(--purple); font-size: 14pt; }
.cover-pillars span { font-size: 9.5pt; color: var(--muted); }
.cover-content .cover-note { font-size: 8.5pt !important; color: var(--muted); }
.cover-note > span { margin: 0 2mm; color: var(--orange); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

@page { size: A4 portrait; margin: 0; }
@media print {
    :root, body { background: white; }
    body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .no-print { display: none !important; }
    .sheet { margin: 0; box-shadow: none; break-after: page; break-inside: avoid; }
    .sheet:last-child { break-after: auto; }
    article, tr, figure, .callout, blockquote, .ribbon { break-inside: avoid; }
}
@media screen and (max-width: 820px) {
    .export-bar { margin: 12px; }
    .sheet { width: calc(100% - 24px); height: auto; min-height: 0; --gutter: 7mm; }
    .running-header { gap: 4mm; }
    .running-header > span { max-width: 40%; font-size: 7pt; }
    .chapter-hero h2 { font-size: clamp(24px, 5vw, 37px); }
    .chapter-hero br, .hero-description br { display: none; }
    .page-footer { margin-top: 8mm; }
    .page-footer > span { display: none; }
    .cover-hero { flex-basis: auto; padding-bottom: 10mm; }
    .cover h1 { font-size: clamp(70px, 17vw, 104px); }
    .cover-brand { margin-bottom: 8mm; }
    .cover-content h2 { font-size: 26px; }
    .sequence { font-size: 24pt; }
    .ribbon { gap: 4mm; }
}
@media screen and (max-width: 540px) {
    .export-bar { grid-template-columns: 1fr; padding: 18px; }
    .two-col, .routine-grid, .response-row, .example, .ribbon, .start-link, .section-tail, .visual-example, .demo-pair, .teaching-cycle { grid-template-columns: 1fr; }
    .cover-pillars { gap: 3mm; }
    .cover-pillars b { font-size: 12pt; }
    .response-row article { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 3mm; }
    .example-question { border-radius: 3mm 3mm 0 0; }
    .publication-note { flex-direction: column; }
    .start-link > a { justify-self: start; }
}
