@charset "UTF-8";

:root {
  color-scheme: light;
  --paper: #f5f3ed;
  --white: #fffefa;
  --ink: #233a31;
  --muted: #526257;
  --green: #255642;
  --green-light: #edf3e9;
  --clay: #98412c;
  --warm: #fbefe5;
  --line: #d5dbce;
  --sans: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--clay); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--clay); outline-offset: 5px; border-radius: 3px; }
::selection { background: #e8d9b7; color: var(--ink); }
.symbol-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.page-width { width: min(1320px, calc(100% - 72px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 30; top: 10px; left: 15px; padding: 10px 20px; color: white; background: var(--green); transform: translateY(-170%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; z-index: 10; top: 0; background: #f5f3edf5; border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; width: min(1400px, calc(100% - 64px)); min-height: 70px; margin: auto; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 650; font-size: 17px; letter-spacing: -.45px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 7px; background: var(--green); color: var(--white); font: 21px var(--serif); }
.header-caption { font-size: 12px; color: var(--muted); }
.header-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; font-weight: 600; }
.intro { padding-block: 35px 30px; max-width: 1060px; }
.eyebrow { color: var(--clay); font-size: 10px; font-weight: 750; letter-spacing: 1.25px; line-height: 1.65; }
h1 { margin-top: 9px; font-size: clamp(30px, 3.15vw, 44px); line-height: 1.18; letter-spacing: -1.55px; font-weight: 600; }
.intro > p:not(.eyebrow) { margin-top: 15px; font-size: 15px; color: var(--muted); max-width: 920px; }
.intro strong { color: var(--ink); font-weight: 550; }
.intro > .reading-note { padding-left: 13px; border-left: 3px solid #a7b99a; font-size: 12px; line-height: 1.8; }
.book-layout { display: grid; grid-template-columns: 192px minmax(0, 1fr); gap: 40px; align-items: start; }
.contents { position: sticky; top: 100px; }
.contents nav { display: flex; flex-direction: column; border-block: 1px solid var(--line); }
.contents nav > a { display: flex; align-items: baseline; gap: 10px; padding: 17px 0; text-decoration: none; font-size: 13px; font-weight: 600; }
.contents nav > a + a { border-top: 1px solid #e1e5da; }
.contents nav > a > span { color: var(--clay); font-size: 11px; }
.contents small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 400; line-height: 1.7; }
.contents-note { margin-top: 21px; font-size: 11px; line-height: 1.85; color: var(--muted); }
.contents-note strong { color: var(--ink); font-weight: 600; }
.chapters { min-width: 0; }
.chapter { padding-bottom: 54px; }
.chapter + .chapter { padding-top: 32px; border-top: 1px solid #cbd3c3; }
.chapter-heading { display: flex; align-items: center; gap: 15px; margin-bottom: 22px; }
.chapter-number { display: grid; place-items: center; align-self: stretch; min-width: 45px; min-height: 49px; border: 1px solid #cbd6c3; border-radius: 9px; color: var(--green); font: 27px var(--serif); background: #e9eee2; }
h2 { font-size: 28px; font-weight: 600; line-height: 1.3; letter-spacing: -.8px; }
.chapter-heading h2 { margin-top: 4px; }
h3 { font-size: 20px; line-height: 1.4; font-weight: 600; letter-spacing: -.4px; }
h4 { font-size: 16px; line-height: 1.5; font-weight: 600; }
.chapter-intro { margin: -2px 0 24px; max-width: 870px; font-size: 14px; line-height: 1.85; color: var(--muted); }
.tag, .format-label { display: inline-block; padding: 4px 8px; border: 1px solid #dbe0d2; background: #f2f4eb; color: #4d6248; border-radius: 5px; font-size: 10px; font-weight: 600; line-height: 1.5; }
.lesson-brief { display: flex; align-items: center; gap: 25px; padding: 22px 26px; margin-bottom: 24px; background: #eeeadd; border: 1px solid #dbd8c8; border-radius: 12px; }
.lesson-brief > div { flex: 1; }
.lesson-brief .tag { border-color: #d8ceba; background: #f9f3e7; color: #785534; }
.lesson-brief h3 { margin-top: 10px; font-size: 22px; }
.lesson-brief p { margin-top: 7px; color: var(--muted); font-size: 13px; }
.lesson-brief img { width: 133px; flex-shrink: 0; }
.step { margin-top: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.step-heading { display: flex; align-items: center; gap: 12px; padding: 19px 23px; border-bottom: 1px solid var(--line); }
.step-number { display: grid; flex-shrink: 0; place-items: center; width: 31px; height: 31px; border-radius: 50%; border: 1px solid #bcccb2; background: #edf2e7; font-size: 14px; font-weight: 650; }
.step-heading .eyebrow { font-size: 8px; letter-spacing: 1.1px; }
.step-heading h3 { margin-top: 3px; font-size: 18px; }
.step-heading .format-label { margin-left: auto; flex-shrink: 0; }
.teaching-layout { display: grid; grid-template-columns: 1fr 1fr; }
.scene, .vocabulary { padding: 24px 27px; }
.scene { border-right: 1px solid var(--line); }
.label { display: block; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: 1px; line-height: 1.7; }
.dialogue-line { padding: 15px 0 10px; }
.dialogue-line + .dialogue-line { margin-top: 4px; border-top: 1px solid #e1e6d9; }
.dialogue-line > span { font-size: 10px; font-weight: 600; color: var(--clay); }
.dialogue-line p { margin-top: 3px; font: 22px/1.4 var(--serif); }
.dialogue-line small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.vocabulary dl { margin-top: 13px; }
.vocabulary dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-block: 7px; border-bottom: 1px solid #e0e5d7; }
.vocabulary dt { font-size: 15px; color: var(--green); font-weight: 550; }
.vocabulary dd { font-size: 12px; color: var(--muted); }
.micro-note { margin-top: 14px; color: var(--muted); font-size: 11px; line-height: 1.85; }
.step-purpose { padding: 13px 23px; border-top: 1px solid var(--line); color: var(--muted); background: #f6f6ef; font-size: 11px; line-height: 1.85; }
.exercise-columns { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
.task { padding: 23px 27px; min-width: 0; }
.prompt { font-size: 16px; line-height: 1.7; font-weight: 500; color: var(--ink); }
.task > .label + .prompt { margin-top: 8px; }
.task > p + p:not(.question-line) { margin-top: 12px; }
.task > p:not(.prompt):not(.label):not(.micro-note):not(.question-line) { color: var(--muted); font-size: 13px; }
.choices { display: flex; flex-direction: column; gap: 8px; list-style-position: inside; padding: 0; margin: 17px 0 0; }
.choices li { padding: 9px 12px; border: 1px solid #d8dfce; border-radius: 6px; font-size: 14px; }
.choices li::marker { color: #5e7055; font-size: 12px; font-weight: 600; }
.choices .illustrated-choice { background: var(--warm); border-color: #e4c5af; }
.choices small { display: block; margin-left: 21px; font-size: 10px; color: var(--clay); }
.solution { min-width: 0; }
.exercise-columns > .solution { align-self: stretch; border-left: 1px solid var(--line); background: #f4f6ee; }
.solution summary { cursor: pointer; padding: 15px 20px; color: var(--green); font-size: 12px; line-height: 1.7; font-weight: 600; }
.solution summary::marker { color: var(--green); }
.solution summary:hover { background: #e9efe1; }
.solution[open] > summary { border-bottom: 1px solid #d8e0cf; }
.solution-content { padding: 19px 22px 22px; }
.answer { padding: 15px 17px; border: 1px solid #c5d6ba; border-radius: 7px; background: #eaf3e2; color: #224d35; }
.answer > p { font-size: 16px; line-height: 1.75; }
.answer > p[lang="es"] { font: 23px/1.5 var(--serif); letter-spacing: -.3px; }
.answer > p + p { margin-top: 12px; }
.answer .label { margin-bottom: 5px; font-size: 9px; color: #3e6034; }
.feedback { margin-top: 14px; color: #3e5544; font-size: 13px; line-height: 1.85; }
.feedback [lang="es"], .prerequisite [lang="es"] { font-weight: 550; }
.next-question, .warning-note { padding: 13px 15px; margin-top: 15px; border: 1px solid #d5dccb; border-radius: 6px; background: #fffdf5; color: var(--muted); font-size: 12px; line-height: 1.85; }
.next-question strong { font-weight: 600; color: var(--ink); }
.next-question p, .warning-note p { margin-top: 4px; }
.warning-note { background: var(--warm); border-color: #e4cbb6; color: #79503a; }
.evaluation-note { margin-top: 13px; padding-top: 12px; border-top: 1px solid #d9e0cf; color: var(--muted); font-size: 11px; line-height: 1.85; }
.word-bank { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.word-bank span { display: inline-block; padding: 6px 11px; border: 1px solid #c9d3bd; border-bottom: 3px solid #c9d3bd; border-radius: 6px; color: var(--green); background: #f5f6ed; font-size: 15px; }
.task > .label:not(:first-child) { margin-top: 17px; }
.question-line { margin-top: 17px; font: 24px/1.55 var(--serif); letter-spacing: -.4px; }
.blank { display: inline-block; min-width: 46px; padding-inline: 9px; text-align: center; color: var(--clay); background: #f4edde; border-bottom: 2px dashed #b5956e; font-weight: 400; }
.written-example { padding: 15px 17px; margin-top: 16px; border: 1px solid #cfd8c6; border-radius: 7px; background: #f5f6ef; }
.written-example > p { margin-top: 4px; font-size: 16px; line-height: 1.8; }
.written-example.needs-work { background: var(--warm); border-color: #e6cdb8; }
.written-example.needs-work .label { color: #8e5130; }
.request-ticket { display: flex; flex-direction: column; gap: 8px; margin-top: 17px; padding: 16px; border-left: 3px solid #afbea0; background: #f3f4e9; font-size: 12px; color: var(--muted); }
.speech-bubble { position: relative; margin-top: 16px; padding: 18px; border: 1px solid #cbd7c2; border-radius: 9px 9px 9px 0; background: #eef2e7; }
.speech-bubble > p { margin-top: 5px; font: 23px/1.5 var(--serif); }
.review-step { border-color: #9dac8c; }
.review-step .step-heading { background: #edf1e4; }
.exercise-index { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 24px; }
.exercise-index a { display: inline-flex; align-items: center; min-height: 36px; padding: 5px 11px; border: 1px solid #d0d7c7; border-radius: 6px; background: #fafaf4; text-decoration: none; font-size: 12px; }
.exercise-index a:hover { background: #ebefdf; }
.exercise-catalogue { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.catalogue-card { min-width: 0; padding: 23px 24px 0; border: 1px solid var(--line); border-radius: 11px; background: var(--white); overflow: hidden; }
.card-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.case-number { color: var(--clay); font: 23px/1 var(--serif); }
.catalogue-card h3 { font-size: 21px; line-height: 1.35; }
.prerequisite { margin-top: 14px; padding-left: 11px; border-left: 2px solid #b8c7a9; color: var(--muted); font-size: 12px; line-height: 1.85; }
.prerequisite strong { font-weight: 600; color: var(--ink); }
.catalogue-card > .prompt { margin-top: 19px; font-size: 15px; }
.catalogue-card > .solution { margin: 22px -24px 0; border-top: 1px solid var(--line); background: #f4f6ee; }
.catalogue-card .solution-content { padding: 20px 24px; }
.catalogue-card .solution summary { padding-inline: 24px; }
.catalogue-card .answer > p { font-size: 15px; }
.catalogue-card .answer > p[lang="es"] { font-size: 22px; }
.catalogue-card .feedback { font-size: 13px; }
.matching-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.matching-columns ol { margin: 0; padding-left: 20px; }
.matching-columns li { padding: 8px 4px; font-size: 13px; border-bottom: 1px solid #e0e5d8; }
.matching-columns ol[lang="es"] li { color: var(--green); font-weight: 550; }
.picture-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.picture-options figure { border: 1px solid #dbe0d1; border-radius: 7px; background: #faf8ef; }
.picture-options svg { width: 100%; }
.picture-options figcaption { text-align: center; padding-block: 4px 9px; font-size: 12px; font-weight: 600; }
.notice, .audio-transcript, .reading-passage { margin-top: 18px; padding: 18px 19px; border: 1px solid #d3dbc8; border-radius: 7px; background: #f3f5eb; }
.notice p, .audio-transcript p { margin-top: 6px; font: 22px/1.5 var(--serif); }
.audio-transcript { border-style: dashed; }
.audio-transcript small { display: block; margin-top: 12px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.phrase-options { margin-top: 16px; }
.phrase-options p { padding-block: 11px; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.8; }
.phrase-options b { margin-right: 8px; color: var(--clay); font-size: 12px; }
.numbered-prompts { margin-top: 16px; font: 21px/1.75 var(--serif); }
.numbered-prompts p + p { margin-top: 13px; }
.wide-card { grid-column: 1 / -1; }
.wide-card .reading-passage { padding: 22px 25px; }
.reading-passage p { font: 22px/1.85 var(--serif); letter-spacing: -.2px; }
.wide-card .answer > p[lang="es"] { font: 21px/1.85 var(--serif); }
.source-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 19px; }
.source-pair > div { padding: 20px; background: #f4f4e9; border: 1px solid #d6dccb; border-radius: 7px; }
.source-pair .label { font-size: 9px; }
.source-pair p { margin-top: 11px; font: 21px/1.8 var(--serif); }
.section-note { margin-top: 19px; color: var(--muted); font-size: 12px; line-height: 1.85; }
.starting-options { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.starting-options > div { padding: 23px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.starting-options h3 { margin-top: 13px; font-size: 19px; }
.starting-options p { margin-top: 11px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.subheading { margin: 32px 0 19px; font-size: 21px; line-height: 1.5; }
.unit-map { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.unit-map > div { padding: 19px; border: 1px solid #d3dac9; border-radius: 9px; background: #fdfcf5; }
.unit-map > div > span { color: var(--clay); font-size: 12px; font-weight: 650; }
.unit-map h4 { margin-top: 9px; }
.unit-map p { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.unit-map small { display: block; margin-top: 12px; padding-top: 11px; border-top: 1px solid #dce2d2; font-size: 11px; color: var(--green); line-height: 1.8; }
.level-roadmap { border: 1px solid #d0d9c5; border-radius: 11px; background: var(--white); overflow: hidden; }
.level-roadmap article { display: grid; grid-template-columns: 88px 1fr; gap: 9px 20px; padding: 23px; align-items: start; }
.level-roadmap article + article { border-top: 1px solid var(--line); }
.level-label { display: inline-block; padding: 4px 8px; background: #edf1e4; border: 1px solid #ced8c1; border-radius: 5px; color: var(--green); font-size: 11px; text-align: center; }
.level-roadmap h4 { font-size: 17px; }
.level-roadmap article > div > p { margin-top: 7px; color: var(--muted); font-size: 13px; }
.level-roadmap article .roadmap-example { color: var(--green); font: 20px/1.6 var(--serif); }
.level-roadmap article > a { grid-column: 2; justify-self: start; padding-block: 6px; font-size: 12px; font-weight: 550; }
.progress-dashboard { margin-top: 30px; padding: 25px; border: 1px solid #becdb2; border-radius: 11px; background: var(--white); }
.dashboard-title { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.dashboard-title h3 { margin-top: 7px; font-size: 22px; }
.dashboard-title .tag { flex-shrink: 0; font-size: 9px; }
.progress-table { margin-top: 22px; }
.progress-row { display: grid; grid-template-columns: .6fr 1.5fr 1fr; gap: 16px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }
.progress-row > strong { font: 20px/1.5 var(--serif); }
.progress-row > p { color: var(--muted); font-size: 12px; }
.progress-table-head { font-size: 10px; font-weight: 650; color: var(--muted); }
.status { justify-self: start; display: inline-block; padding: 5px 8px; border: 1px solid #c9d5bd; background: #eff4e8; color: #365528; border-radius: 5px; font-size: 10px; line-height: 1.7; }
.status-warm { border-color: #dfc7ad; background: #f8eddd; color: #7c5028; }
.next-session { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; margin-top: 23px; }
.next-session > div > p { margin-top: 10px; color: var(--muted); font-size: 12px; }
.next-session b { display: inline-block; margin-right: 5px; color: var(--green); }
.settings-example { padding: 18px; background: #f4f4ec; border-radius: 8px; border: 1px solid var(--line); }
.settings-example strong { font-weight: 550; color: var(--ink); }
.settings-example small { display: block; margin-top: 12px; color: var(--muted); font-size: 10px; line-height: 1.8; }
.adaptation-cases { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.adaptation-cases > article { padding: 23px; background: var(--white); border: 1px solid #d2dac8; border-radius: 9px; }
.case-label { color: var(--clay); font-size: 9px; letter-spacing: .65px; font-weight: 700; line-height: 1.7; }
.adaptation-cases h3 { margin-top: 11px; font-size: 19px; }
.adaptation-cases p { margin-top: 11px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.review-schedule { margin-top: 23px; padding: 24px; border: 1px solid #c6d4b8; background: #edf2e4; border-radius: 9px; }
.review-schedule h3 { font-size: 19px; }
.review-schedule > div { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.review-schedule > div > span { display: inline-block; padding: 7px 10px; border: 1px solid #c5d1b8; border-radius: 5px; background: #fafbf4; font-size: 11px; font-weight: 500; }
.review-schedule b { color: #657b55; font-size: 16px; font-weight: 400; }
.review-schedule > p { margin-top: 17px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.grading-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.grading-grid > div { padding: 20px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); }
.grading-grid .tag { font-size: 8px; }
.grading-grid h4 { margin-top: 13px; font-size: 17px; }
.grading-grid p { margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.correction-example { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; align-items: start; margin-top: 21px; padding: 23px; border: 1px solid #dfc9b4; border-radius: 9px; background: #fbf0e5; }
.correction-example p { margin-top: 10px; font-size: 13px; line-height: 1.85; color: #694b36; }
.correction-example p[lang="es"] { font: 23px/1.6 var(--serif); color: var(--ink); }
.back-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 25px; font-size: 13px; }
.site-footer { padding-block: 24px 34px; border-top: 1px solid #cfd8c4; color: var(--muted); font-size: 11px; line-height: 1.9; }
.site-footer > p { max-width: 1070px; }
.site-footer strong { color: var(--ink); font-weight: 600; }
.sources { margin-top: 13px; }
.sources a { display: inline-block; padding-block: 5px; }
.button { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 20px; border-radius: 7px; background: var(--green); color: var(--white); font-size: 14px; text-decoration: none; }
.button:hover { color: white; background: #173e2d; }
.error-page { display: grid; place-content: center; min-height: 100vh; padding: 30px; max-width: 740px; margin: auto; }
.error-page h1 { margin-top: 15px; font: 58px/1.1 var(--serif); }
.error-page h1 em { color: var(--clay); }
.error-page > p:not(.eyebrow) { margin-block: 25px; color: var(--muted); }
.error-page .button { justify-self: start; }

@media (max-width: 1180px) {
  .page-width { width: calc(100% - 56px); }
  .book-layout { grid-template-columns: 1fr; gap: 24px; }
  .contents { position: static; }
  .contents nav { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: #fdfbf4; }
  .contents nav > a { padding: 14px 15px; font-size: 12px; gap: 9px; }
  .contents nav > a + a { border-top: 0; border-left: 1px solid var(--line); }
  .contents-note { margin-top: 10px; font-size: 11px; }
  .contents-note br { display: none; }
  .contents-note strong { margin-right: 8px; }
  .intro { padding-top: 29px; padding-bottom: 22px; }
}

@media (max-width: 820px) {
  .page-width { width: calc(100% - 44px); }
  .header-inner { width: calc(100% - 40px); min-height: 64px; gap: 16px; }
  .wordmark { font-size: 16px; }
  .header-caption { font-size: 10px; }
  .contents nav { grid-template-columns: 1fr 1fr; }
  .contents nav > a { padding: 13px 16px; font-size: 13px; }
  .contents nav > a:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .contents nav > a:nth-child(4) { border-top: 1px solid var(--line); }
  .chapter-heading h2 { font-size: 25px; }
  .step-heading { padding-inline: 19px; flex-wrap: wrap; }
  .step-heading .format-label { margin-left: 43px; }
  .step-heading > div { flex: 1; }
  .step-heading h3 { font-size: 18px; }
  .scene, .vocabulary { padding: 21px; }
  .dialogue-line p { font-size: 21px; }
  .vocabulary dt { font-size: 14px; }
  .vocabulary dd { font-size: 11px; }
  .task { padding: 21px; }
  .solution-content { padding-inline: 18px; }
  .solution summary { padding-inline: 17px; }
  .answer { padding: 13px 15px; }
  .answer > p[lang="es"] { font-size: 21px; }
  .exercise-catalogue { gap: 16px; }
  .catalogue-card { padding: 21px 20px 0; }
  .catalogue-card h3 { font-size: 20px; }
  .catalogue-card > .solution { margin-inline: -20px; }
  .catalogue-card .solution-content, .catalogue-card .solution summary { padding-inline: 20px; }
  .card-heading .tag { font-size: 9px; }
  .matching-columns { gap: 8px; }
  .matching-columns li { font-size: 12px; }
  .notice, .audio-transcript { padding: 15px; }
  .notice p, .audio-transcript p { font-size: 21px; }
  .picture-options { gap: 6px; }
  .source-pair p { font-size: 20px; }
  .unit-map { grid-template-columns: 1fr 1fr; }
  .grading-grid { grid-template-columns: 1fr; gap: 13px; }
  .grading-grid .tag { font-size: 9px; }
  .grading-grid p { font-size: 13px; }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 83px; }
  .page-width { width: calc(100% - 32px); }
  .header-inner { width: calc(100% - 32px); min-height: 63px; gap: 10px; }
  .header-caption { display: none; }
  .wordmark { font-size: 14px; gap: 8px; letter-spacing: -.4px; }
  .brand-mark { width: 28px; height: 28px; font-size: 19px; }
  .header-link { font-size: 11px; }
  .intro { padding-top: 24px; padding-bottom: 21px; }
  .intro .eyebrow { font-size: 9px; letter-spacing: 1px; }
  h1 { font-size: 30px; letter-spacing: -1px; line-height: 1.23; }
  .intro > p:not(.eyebrow) { font-size: 14px; line-height: 1.85; margin-top: 13px; }
  .intro > .reading-note { font-size: 11px; }
  .book-layout { gap: 28px; }
  .contents nav > a { padding: 13px 11px; font-size: 12px; gap: 7px; }
  .contents nav > a > span { font-size: 10px; }
  .contents small { font-size: 9px; line-height: 1.7; }
  .contents-note { font-size: 10px; margin-top: 12px; }
  .chapter { padding-bottom: 36px; }
  .chapter + .chapter { padding-top: 28px; }
  .chapter-heading { gap: 11px; margin-bottom: 18px; }
  .chapter-number { min-width: 37px; min-height: 45px; font-size: 23px; }
  .chapter-heading .eyebrow { font-size: 8px; letter-spacing: 1px; }
  .chapter-heading h2 { font-size: 23px; letter-spacing: -.7px; }
  .chapter-intro { font-size: 13px; margin-bottom: 21px; line-height: 1.85; }
  .lesson-brief { padding: 19px; gap: 12px; align-items: flex-start; margin-bottom: 20px; }
  .lesson-brief .tag { font-size: 8px; }
  .lesson-brief h3 { font-size: 19px; line-height: 1.45; }
  .lesson-brief p { font-size: 12px; }
  .lesson-brief img { width: 68px; margin-top: 30px; }
  .step { margin-top: 17px; border-radius: 10px; }
  .step-heading { padding: 17px; gap: 10px; }
  .step-heading .eyebrow { font-size: 7px; letter-spacing: .8px; }
  .step-heading h3 { font-size: 17px; line-height: 1.45; letter-spacing: -.3px; }
  .step-number { width: 29px; height: 29px; font-size: 13px; }
  .step-heading .format-label { margin-left: 39px; font-size: 9px; padding: 3px 7px; }
  .teaching-layout { grid-template-columns: 1fr; }
  .scene { border-right: 0; border-bottom: 1px solid var(--line); }
  .scene, .vocabulary { padding: 20px; }
  .label { font-size: 8px; letter-spacing: .8px; }
  .dialogue-line p { font-size: 23px; }
  .dialogue-line > span { font-size: 11px; }
  .dialogue-line small { font-size: 12px; }
  .vocabulary dt { font-size: 15px; }
  .vocabulary dd { font-size: 12px; }
  .micro-note { font-size: 11px; }
  .step-purpose { padding: 14px 19px; font-size: 11px; }
  .exercise-columns { grid-template-columns: 1fr; }
  .task { padding: 20px; }
  .prompt { font-size: 16px; }
  .exercise-columns > .solution { border-left: 0; border-top: 1px solid var(--line); }
  .solution summary { padding: 15px 19px; font-size: 12px; }
  .solution-content { padding: 18px 19px 20px; }
  .answer { padding: 14px 15px; }
  .answer > p[lang="es"] { font-size: 23px; }
  .feedback { font-size: 13px; }
  .next-question, .warning-note { padding: 13px 14px; font-size: 12px; }
  .evaluation-note { font-size: 11px; }
  .choices li { font-size: 15px; }
  .choices small { font-size: 10px; }
  .question-line { font-size: 24px; }
  .written-example p { font-size: 16px; }
  .word-bank span { font-size: 14px; padding: 6px 9px; }
  .request-ticket { font-size: 12px; padding: 14px; }
  .speech-bubble { padding: 15px 17px; }
  .speech-bubble > p { font-size: 23px; }
  .exercise-index { gap: 6px; margin-bottom: 19px; }
  .exercise-index a { min-height: 36px; padding-inline: 9px; font-size: 11px; }
  .exercise-catalogue { grid-template-columns: 1fr; gap: 18px; }
  .catalogue-card { padding: 20px 20px 0; }
  .card-heading { gap: 10px; }
  .card-heading .tag { font-size: 9px; }
  .catalogue-card h3 { font-size: 22px; letter-spacing: -.5px; line-height: 1.35; }
  .prerequisite { font-size: 12px; line-height: 1.85; margin-top: 13px; }
  .catalogue-card > .prompt { font-size: 15px; }
  .catalogue-card > .solution { margin-top: 21px; }
  .catalogue-card .solution-content { padding: 18px 20px 20px; }
  .catalogue-card .answer > p[lang="es"] { font-size: 22px; }
  .matching-columns { gap: 15px; }
  .matching-columns li { font-size: 13px; }
  .notice, .audio-transcript { padding: 16px; }
  .notice p, .audio-transcript p { font-size: 22px; }
  .picture-options { gap: 7px; }
  .numbered-prompts { font-size: 22px; }
  .wide-card { grid-column: auto; }
  .wide-card .reading-passage { padding: 17px; }
  .reading-passage p { font-size: 21px; line-height: 1.8; }
  .wide-card .answer > p[lang="es"] { font-size: 20px; line-height: 1.85; }
  .source-pair { grid-template-columns: 1fr; gap: 12px; }
  .source-pair > div { padding: 17px; }
  .source-pair p { font-size: 20px; }
  .section-note { font-size: 11px; margin-top: 16px; line-height: 1.9; }
  .starting-options { grid-template-columns: 1fr; gap: 14px; }
  .starting-options > div { padding: 20px; }
  .starting-options h3 { font-size: 19px; }
  .starting-options p { font-size: 13px; }
  .subheading { font-size: 20px; line-height: 1.45; margin-top: 27px; }
  .unit-map { grid-template-columns: 1fr; gap: 12px; }
  .unit-map > div { padding: 19px 20px; }
  .unit-map h4 { display: inline; margin-left: 8px; font-size: 17px; }
  .unit-map p { font-size: 13px; }
  .unit-map small { font-size: 12px; margin-top: 9px; padding-top: 9px; }
  .level-roadmap article { grid-template-columns: 1fr; padding: 20px; gap: 11px; }
  .level-label { justify-self: start; font-size: 11px; }
  .level-roadmap h4 { font-size: 18px; }
  .level-roadmap article > a { grid-column: 1; font-size: 12px; }
  .level-roadmap article > div > p { font-size: 13px; }
  .level-roadmap article .roadmap-example { font-size: 22px; }
  .progress-dashboard { padding: 20px; }
  .dashboard-title { display: block; }
  .dashboard-title .eyebrow { font-size: 8px; }
  .dashboard-title h3 { font-size: 21px; }
  .dashboard-title .tag { margin-top: 12px; }
  .progress-table { margin-top: 15px; }
  .progress-row { grid-template-columns: 1fr; gap: 8px; padding-block: 17px; }
  .progress-row > strong { font-size: 24px; }
  .progress-row > p { font-size: 13px; }
  .progress-table-head { display: none; }
  .status { font-size: 11px; }
  .next-session { grid-template-columns: 1fr; gap: 20px; margin-top: 23px; }
  .next-session > div > p { font-size: 13px; }
  .settings-example small { font-size: 11px; }
  .adaptation-cases { grid-template-columns: 1fr; gap: 13px; }
  .adaptation-cases article { padding: 21px; }
  .case-label { font-size: 9px; line-height: 1.9; }
  .adaptation-cases h3 { font-size: 20px; }
  .adaptation-cases p { font-size: 13px; }
  .review-schedule { padding: 20px; }
  .review-schedule h3 { font-size: 19px; }
  .review-schedule > div { gap: 7px; }
  .review-schedule > div > span { font-size: 10px; padding-inline: 8px; }
  .review-schedule > p { font-size: 12px; }
  .grading-grid > div { padding: 20px; }
  .grading-grid .tag { font-size: 8px; }
  .grading-grid h4 { font-size: 18px; }
  .correction-example { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
  .correction-example p { font-size: 13px; }
  .correction-example p[lang="es"] { font-size: 24px; }
  .back-link { font-size: 12px; }
  .site-footer { font-size: 11px; padding-top: 21px; }
  .sources a { padding-block: 6px; }
  .error-page h1 { font-size: 45px; }
}

@media (max-width: 359px) {
  .page-width { width: calc(100% - 28px); }
  .header-inner { width: calc(100% - 28px); gap: 8px; }
  .wordmark { font-size: 13px; }
  .header-link { font-size: 10px; }
  .brand-mark { width: 25px; height: 25px; }
  h1 { font-size: 28px; }
  .contents nav > a { font-size: 11px; padding-inline: 10px; }
  .contents small { font-size: 8px; }
  .lesson-brief img { display: none; }
  .step-heading .eyebrow { font-size: 7px; letter-spacing: .45px; }
  .dialogue-line p, .answer > p[lang="es"] { font-size: 21px; }
  .catalogue-card { padding-inline: 18px; }
  .catalogue-card > .solution { margin-inline: -18px; }
  .catalogue-card .solution-content, .catalogue-card .solution summary { padding-inline: 18px; }
  .matching-columns { gap: 10px; }
  .matching-columns li { font-size: 12px; }
  .catalogue-card h3 { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  .site-header { position: static; }
  .contents, .header-link, .back-link, .skip-link { display: none; }
  .page-width { width: 100%; }
  .book-layout { display: block; }
  .step, .catalogue-card, .level-roadmap article { break-inside: avoid; }
  body { background: white; }
  .solution { print-color-adjust: exact; }
}
