:root {
  --paper: #f5f3ec;
  --surface: #fffefa;
  --ink: #242722;
  --muted: #64685d;
  --line: #dcded2;
  --green: #3f5945;
  --gold: #e9bd73;
  --serif: "Batang", "바탕", Georgia, serif;
  --sans: "Malgun Gothic", "맑은 고딕", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  word-break: keep-all;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.48;
}
button,
a,
summary {
  transition:
    background 0.16s,
    color 0.16s,
    transform 0.16s;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #956813;
  outline-offset: 4px;
}
::selection {
  background: #e6d5ae;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.06em;
}
h1 {
  font-size: clamp(36px, 4.1vw, 60px);
  line-height: 1.35;
}
h2 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.4;
}
h3 {
  font-size: 20px;
  letter-spacing: -0.04em;
}
small {
  font-size: 12px;
}
.skip {
  position: absolute;
  top: -80px;
  left: 12px;
  background: var(--ink);
  color: white;
  padding: 12px;
  z-index: 100;
}
.skip:focus {
  top: 12px;
}
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(245, 243, 236, 0.97);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1336px;
  margin: auto;
  padding: 21px 40px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 21px;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1.25;
}
.brand-icon {
  font-size: 38px;
  color: var(--green);
  line-height: 1;
}
.brand small {
  display: block;
  font:
    9px Arial,
    sans-serif;
  letter-spacing: 0.19em;
  margin-top: 7px;
}
nav {
  display: flex;
  gap: 27px;
  margin-left: auto;
}
nav a {
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}
nav a:hover,
nav a[aria-current="page"] {
  color: var(--green);
}
nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 8px;
}
.my-progress {
  border-left: 1px solid var(--line);
  padding-left: 24px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.my-progress span {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
}
main {
  max-width: 1256px;
  margin: auto;
  padding: 0 40px;
  min-height: 65vh;
}
main:focus {
  outline: none;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  padding: 66px 0 54px;
  align-items: center;
}
.hero h1 {
  margin-bottom: 23px;
}
.hero h1 em {
  font-style: normal;
  color: var(--green);
}
.hero-copy > p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.9;
  max-width: 420px;
  margin-bottom: 30px;
}
.actions {
  display: flex;
  gap: 13px;
  align-items: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
  border-radius: 2px;
}
.btn:hover {
  background: var(--green);
  border-color: var(--green);
}
.btn.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn.secondary:hover {
  border-color: var(--green);
  background: #e9eddf;
}
.text-link {
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 5px;
  color: var(--green);
}
.hero-art {
  background: #242d25;
  padding: 16px 16px 0;
  box-shadow: 0 15px 28px #24272214;
  transform: rotate(-1deg);
}
.film-edge {
  display: flex;
  justify-content: space-between;
  padding: 0 0 13px;
}
.film-edge i {
  height: 10px;
  width: 21px;
  background: #bfbbaa3b;
  border-radius: 1px;
}
.hero-art img {
  width: 100%;
  display: block;
  aspect-ratio: 1.6;
  object-fit: cover;
}
.art-caption {
  padding: 16px 3px 17px;
  color: #e6e2d4;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.art-caption span:last-child {
  color: #bdc2af;
  font-size: 11px;
}
.journey-band {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0 0 55px;
}
.journey-band a {
  padding: 20px 6px;
}
.journey-band a:hover {
  background: #e9ede1;
}
.journey-band b {
  font:
    12px Georgia,
    serif;
  color: var(--muted);
  display: block;
  margin-bottom: 7px;
}
.journey-band span {
  font-size: 12px;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}
.section-head h2 {
  margin: 0 0 10px;
}
.section-head p {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
}
.number-label {
  font:
    12px Georgia,
    serif;
  letter-spacing: 0.13em;
  color: var(--green);
  margin-bottom: 14px;
  display: block;
}
.home-next {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 32px;
  margin-bottom: 65px;
}
.next-panel {
  background: #e8ecdf;
  padding: 33px 36px;
  border-left: 3px solid var(--green);
}
.next-panel h3 {
  font-size: 25px;
  margin-bottom: 12px;
}
.next-panel p {
  color: var(--muted);
  font-size: 14px;
}
.next-panel .btn {
  margin-top: 15px;
}
.practice-panel {
  border-top: 2px solid var(--ink);
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.practice-panel p {
  color: var(--muted);
  font-size: 14px;
}
.practice-panel a {
  align-self: start;
}
.page-title {
  padding: 45px 0 30px;
}
.page-title h1 {
  font-size: 42px;
  margin: 0 0 15px;
}
.page-title > p {
  max-width: 720px;
  color: var(--muted);
  margin: 0;
  line-height: 1.9;
}
.progress-strip {
  display: flex;
  gap: 23px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 20px 24px;
  margin-bottom: 25px;
}
.progress-strip progress {
  flex: 1;
  height: 6px;
  accent-color: var(--green);
  min-width: 80px;
}
.progress-strip strong {
  white-space: nowrap;
  font-size: 14px;
}
.progress-strip span {
  font-size: 12px;
  color: var(--muted);
}
.roadmap details {
  border-top: 1px solid var(--line);
}
.roadmap details:last-child {
  border-bottom: 1px solid var(--line);
}
.roadmap summary {
  display: flex;
  gap: 26px;
  align-items: center;
  list-style: none;
  padding: 27px 12px;
  cursor: pointer;
}
.roadmap summary::-webkit-details-marker {
  display: none;
}
.phase-no {
  font:
    30px Georgia,
    serif;
  color: #859078;
  min-width: 45px;
}
.phase-title {
  flex: 1;
}
.phase-title h3 {
  margin: 0 0 4px;
  font-size: 20px;
}
.phase-title p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.stage-level {
  font-size: 12px;
  color: var(--green);
  min-width: 84px;
}
.stage-count {
  font-size: 12px;
  color: var(--muted);
}
.chevron {
  font-size: 22px;
  transition: transform 0.2s;
}
.roadmap details[open] .chevron {
  transform: rotate(90deg);
}
.stage-body {
  padding: 0 20px 28px 83px;
}
.stage-goal {
  padding: 15px 18px;
  background: #e9eddf;
  font-size: 13px;
  margin-bottom: 15px;
  color: #415140;
}
.stage-goal p {
  margin: 5px 0;
}
.lesson-row {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  width: 100%;
  padding: 18px 14px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.lesson-row:hover {
  background: var(--surface);
}
.lesson-row .row-title {
  flex: 1;
}
.lesson-row .row-title strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}
.lesson-row small {
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
.lesson-num {
  font:
    13px Georgia,
    serif;
  color: var(--muted);
  min-width: 21px;
}
.done-icon {
  color: var(--green);
  min-width: 18px;
}
.end-note {
  margin: 30px 0 45px;
  color: var(--muted);
  font-size: 13px;
  max-width: 900px;
  line-height: 1.9;
}
.split {
  display: grid;
  grid-template-columns: 1.16fr 1fr;
  gap: 35px;
  align-items: start;
  margin-bottom: 45px;
}
.scene-image {
  width: 100%;
  aspect-ratio: 1.6;
  object-fit: cover;
  background: var(--ink);
  display: block;
}
.scene-capture {
  background: var(--ink);
  color: var(--paper);
  padding: 13px 17px;
  font-size: 13px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}
.scene-capture span {
  color: #bcc2b0;
  font-size: 12px;
}
.shot-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 15px 0;
}
.shot-tab {
  padding: 0;
  background: transparent;
  border: 2px solid transparent;
  text-align: left;
  color: var(--muted);
}
.shot-tab img {
  display: block;
  width: 100%;
  aspect-ratio: 1.8;
  object-fit: cover;
}
.shot-tab span {
  display: block;
  font-size: 11px;
  padding: 7px;
}
.shot-tab[aria-pressed="true"] {
  border-color: var(--green);
  color: var(--green);
  background: #e9eddf;
}
.scene-desc {
  font-size: 14px;
  color: var(--muted);
}
.small-heading {
  font-size: 16px;
  margin-bottom: 13px;
}
.field {
  display: block;
  margin-bottom: 18px;
}
.field > span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
}
.field small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 6px;
}
input[type="text"],
input[type="search"],
textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid #c7cdbd;
  border-radius: 2px;
  padding: 12px 14px;
  color: var(--ink);
  resize: vertical;
  line-height: 1.8;
  word-break: normal;
}
textarea {
  min-height: 110px;
}
.scene-notes textarea {
  min-height: 92px;
}
.save-status {
  font-size: 12px;
  color: var(--green);
  min-height: 22px;
  margin: 12px 0;
}
.read-analysis {
  padding: 18px 22px;
  background: #e9eddf;
  margin: 20px 0;
}
.read-analysis summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}
.read-analysis p {
  font-size: 14px;
  line-height: 1.9;
  margin: 16px 0 0;
}
.reading-prompt {
  padding: 24px;
  border-top: 1px solid var(--line);
  margin: 20px 0;
}
.reading-prompt h3 {
  font-size: 18px;
}
.reading-prompt p {
  font-size: 14px;
  color: var(--muted);
}
.tab-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}
.tab-buttons button {
  border: 1px solid var(--line);
  padding: 8px 18px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  border-radius: 2px;
}
.tab-buttons button[aria-pressed="true"] {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.note-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 36px;
  margin-bottom: 45px;
}
.note-title {
  font-size: 17px !important;
}
.note-side {
  border-top: 2px solid var(--ink);
  padding-top: 25px;
  position: sticky;
  top: 120px;
}
.note-side p {
  font-size: 13px;
  color: var(--muted);
}
.check-list {
  display: grid;
  gap: 13px;
  margin: 20px 0 25px;
}
.check-list label {
  display: flex;
  gap: 10px;
  font-size: 13px;
  align-items: start;
}
.check-list input {
  accent-color: var(--green);
  width: 16px;
  height: 16px;
  margin-top: 4px;
  flex-shrink: 0;
}
.note-count {
  font-size: 12px;
  color: var(--muted);
  margin-top: -10px;
  margin-bottom: 18px;
}
.notebook textarea.draft {
  min-height: 320px;
}
.backup-box {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 22px;
}
.backup-box h3 {
  font-size: 15px;
  margin-bottom: 8px;
}
.backup-box .actions {
  gap: 12px;
}
.backup-box button {
  font-size: 12px;
  padding: 9px 12px;
  min-height: 40px;
}
.glossary-search {
  max-width: 600px;
  margin: 0 0 25px;
}
.glossary-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 38px;
  margin-bottom: 50px;
}
.term {
  border-top: 1px solid var(--line);
  padding: 23px 0;
}
.term h3 {
  font-size: 18px;
  margin: 0 0 5px;
}
.term .english {
  color: var(--muted);
  font:
    12px Georgia,
    serif;
  margin-bottom: 12px;
  display: block;
}
.term p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 13px;
  line-height: 1.85;
}
.term button {
  border: none;
  background: none;
  padding: 0;
  color: var(--green);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.empty {
  padding: 40px 0;
  color: var(--muted);
}
.source-list {
  margin-bottom: 40px;
}
.source-row {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.source-row h3 {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 5px;
  font-family: var(--sans);
}
.source-row p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.source-row a {
  text-decoration: underline;
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}
.source-row .source-desc {
  font-size: 12px;
  align-self: center;
  line-height: 1.9;
}
.study-loop {
  background: var(--ink);
  color: var(--paper);
  padding: 35px 40px;
  margin: 40px 0;
}
.study-loop h2 {
  font-size: 28px;
  margin-bottom: 15px;
}
.study-loop p {
  font-size: 14px;
  color: #d0d4c5;
  margin-bottom: 0;
  line-height: 1.9;
}
footer {
  max-width: 1176px;
  margin: 30px auto 0;
  padding: 30px 0 40px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 15px 28px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}
footer > span {
  color: var(--ink);
  font-weight: 700;
}
footer p {
  margin: 0;
}
footer a {
  margin-left: auto;
  color: var(--green);
  font-size: 12px;
}
footer small {
  flex-basis: 100%;
  font-size: 11px;
}
dialog {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 0;
  max-width: 850px;
  width: calc(100% - 40px);
  max-height: 91vh;
  border-radius: 3px;
  box-shadow: 0 25px 70px #0004;
}
dialog::backdrop {
  background: #131b16b8;
  backdrop-filter: blur(3px);
}
.dialog-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 30px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 2;
  font-size: 12px;
  color: var(--muted);
}
.plain {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 13px;
  padding: 6px;
}
.plain:hover {
  color: var(--green);
}
#lesson-content {
  padding: 35px 50px 45px;
}
#lesson-content h1 {
  font-size: 34px;
  margin-bottom: 14px;
}
#lesson-content h2 {
  font-size: 22px;
  margin: 30px 0 15px;
  font-family: var(--sans);
  letter-spacing: -0.03em;
}
#lesson-content .goal {
  color: var(--green);
  font-size: 14px;
  margin-bottom: 22px;
}
.concepts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  margin-bottom: 25px;
}
.concepts span {
  font-size: 12px;
  color: var(--muted);
  padding-right: 14px;
}
.prose {
  font-size: 15px;
  line-height: 2;
  word-break: normal;
}
.lesson-box {
  padding: 20px 23px;
  background: #e9eddf;
  margin: 25px 0;
  font-size: 14px;
  line-height: 1.95;
}
.lesson-box strong {
  display: block;
  font-size: 12px;
  color: var(--green);
  margin-bottom: 8px;
}
.lesson-box p {
  margin: 0;
}
.caution {
  font-size: 13px;
  color: var(--muted);
  padding-left: 14px;
  border-left: 2px solid #a6ab96;
  line-height: 1.9;
}
.quiz {
  padding: 25px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 30px;
}
.quiz fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
.quiz legend {
  font-weight: 600;
  font-size: 15px;
  padding: 0;
  margin-bottom: 15px;
}
.quiz-option {
  display: flex;
  gap: 11px;
  padding: 13px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  margin-bottom: 9px;
  font-size: 14px;
  cursor: pointer;
}
.quiz-option:has(input:checked) {
  border-color: var(--green);
  background: #e9eddf;
}
.quiz-option input {
  accent-color: var(--green);
  margin-top: 5px;
  flex-shrink: 0;
}
.quiz-feedback {
  font-size: 13px;
  margin: 15px 0 0;
  line-height: 1.9;
}
.quiz-feedback.correct {
  color: var(--green);
}
.quiz-feedback.wrong {
  color: #9b4a35;
}
.lesson-end {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 28px;
}
.lesson-end span {
  font-size: 12px;
  color: var(--muted);
}
.lesson-refs {
  font-size: 12px;
  color: var(--muted);
  line-height: 2;
}
.lesson-refs a {
  text-decoration: underline;
  display: block;
  text-underline-offset: 3px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 15px);
  background: var(--ink);
  color: var(--paper);
  padding: 13px 22px;
  box-shadow: 0 5px 20px #0003;
  border-radius: 3px;
  z-index: 50;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  max-width: 90vw;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (min-width: 1450px) {
  .hero {
    padding-top: 85px;
    padding-bottom: 72px;
  }
  .hero-art {
    padding: 20px 20px 0;
  }
  .hero-copy > p {
    max-width: 480px;
  }
}
@media (max-width: 1060px) {
  .header-inner {
    gap: 20px;
    padding: 17px 24px;
  }
  nav {
    gap: 18px;
  }
  .my-progress {
    padding-left: 16px;
  }
  .brand {
    font-size: 18px;
  }
  main {
    padding: 0 25px;
  }
  .hero {
    gap: 30px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .journey-band {
    grid-template-columns: repeat(4, 1fr);
  }
  .journey-band a:nth-child(n + 5) {
    border-top: 1px solid var(--line);
  }
  footer {
    margin-left: 25px;
    margin-right: 25px;
  }
  .note-layout {
    grid-template-columns: 1.5fr 1fr;
    gap: 25px;
  }
}
@media (max-width: 760px) {
  body {
    font-size: 14px;
  }
  .header-inner {
    flex-wrap: wrap;
    padding: 15px 20px;
    gap: 17px;
  }
  .brand {
    font-size: 18px;
  }
  .brand-icon {
    font-size: 32px;
  }
  .my-progress {
    margin-left: auto;
    border-left: none;
    padding: 0;
    text-align: right;
  }
  nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    margin: 0;
  }
  nav a {
    font-size: 12px;
  }
  main {
    padding: 0 20px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 42px 0 35px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero-copy > p {
    font-size: 14px;
    margin-bottom: 25px;
    max-width: 100%;
  }
  .hero-art {
    transform: none;
  }
  .hero-art img {
    max-height: 320px;
  }
  .journey-band {
    margin-bottom: 38px;
  }
  .journey-band a {
    padding: 16px 5px;
  }
  .journey-band span {
    font-size: 11px;
  }
  .home-next {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 40px;
  }
  .next-panel {
    padding: 26px;
  }
  .section-head {
    align-items: start;
  }
  .section-head h2 {
    font-size: 28px;
  }
  .page-title {
    padding-top: 32px;
  }
  .page-title h1 {
    font-size: 33px;
  }
  .page-title > p {
    font-size: 14px;
  }
  .progress-strip {
    padding: 17px;
    flex-wrap: wrap;
    gap: 15px;
  }
  .progress-strip span {
    flex-basis: 100%;
  }
  .roadmap summary {
    padding: 22px 0;
    gap: 14px;
    flex-wrap: wrap;
  }
  .phase-no {
    font-size: 26px;
    min-width: 35px;
  }
  .phase-title h3 {
    font-size: 17px;
  }
  .phase-title p {
    font-size: 12px;
  }
  .stage-level {
    margin-left: 49px;
    font-size: 11px;
    min-width: unset;
  }
  .stage-count {
    margin-left: auto;
  }
  .chevron {
    font-size: 20px;
  }
  .stage-body {
    padding: 0 0 25px;
  }
  .stage-goal {
    font-size: 12px;
  }
  .lesson-row {
    padding: 17px 8px;
    gap: 12px;
  }
  .lesson-row .row-title strong {
    font-size: 14px;
  }
  .lesson-row small {
    font-size: 11px;
  }
  .split,
  .note-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .note-side {
    position: static;
  }
  .glossary-list {
    grid-template-columns: 1fr;
  }
  .source-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .study-loop {
    padding: 28px 24px;
  }
  .study-loop h2 {
    font-size: 24px;
  }
  .study-loop p {
    font-size: 13px;
  }
  footer {
    margin: 20px 20px 0;
    padding: 25px 0;
    gap: 12px;
  }
  footer a {
    margin-left: 0;
    flex-basis: 100%;
  }
  .art-caption {
    font-size: 11px;
  }
  .art-caption span:last-child {
    font-size: 10px;
  }
  dialog {
    width: calc(100% - 18px);
    max-height: 94vh;
  }
  .dialog-bar {
    padding: 13px 18px;
  }
  #lesson-content {
    padding: 25px 22px 35px;
  }
  #lesson-content h1 {
    font-size: 28px;
  }
  .prose {
    font-size: 14px;
  }
  .quiz-option {
    font-size: 13px;
  }
  .btn {
    font-size: 13px;
    padding: 12px 18px;
  }
  .end-note {
    font-size: 12px;
  }
  .scene-capture {
    font-size: 12px;
  }
  .tab-buttons button {
    font-size: 12px;
    padding: 8px 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
