/* Larger reading text and controls; the main heading sizes stay unchanged. */
:root { --reading-size: 17px; }
body { font-size: var(--reading-size); line-height: 1.7; }

.hero-description, .section-heading-row > p, .about-copy > p,
.backcover-description blockquote, .chapter-detail #selected-chapter-summary,
.chapter-empty > p, .passage-context, .passage-reading-note p:not(.eyebrow),
.theme-panel > p.theme-description, .theme-panel #word-detail,
.prompt-content p, .notebook-intro > p, .empty-notes, .note-entry p,
.author-bio p, .purchase-description, dialog p:not(.eyebrow), .noscript-note {
  font-size: var(--reading-size);
  line-height: 1.75;
}
.hero-lead { font-size: 28px; line-height: 1.35; }
.about-copy > .about-lead { font-size: 28px; line-height: 1.4; }
.author-bio p:first-child { font-size: 25px; line-height: 1.5; }
.passage-panel blockquote { font-size: 35px; line-height: 1.45; }
.active-note-prompt { font-size: 27px; line-height: 1.35; }
.chapter-question > p:last-child { font-size: 25px; line-height: 1.4; }
.purchase-title { font-size: 28px; line-height: 1.35; }
.note-entry h3 { font-size: 22px; line-height: 1.4; }

.eyebrow, .hero .eyebrow, .header-caption, .section-label,
.section-label > span:first-child, .book-details, .hero-footnote,
.book-gallery .art-topline, .intro-line, .intro-line > span:last-child,
.chapter-toolbar label, .chapter-meta, .chapter-choice > span:last-child,
.chapter-detail-top .eyebrow, .chapter-detail-top > span,
.chapter-question .eyebrow, .passage-source, .passage-reading-note .eyebrow,
.word-panel .eyebrow, .stage-num, .stage-list .stage-num,
.prompt-top, .prompt-top .eyebrow, .explore-bottom, .privacy-note p,
.notebook-body .eyebrow, .note-form-bottom > span,
.saved-notes-header #notes-count, #note-status, .note-entry time,
.author-portrait figcaption, .author-copy > .eyebrow,
.purchase-isbn, .purchase-status, .closing .eyebrow {
  font-size: 14px;
  line-height: 1.6;
}
.eyebrow, .hero .eyebrow, .section-label, .book-details,
.book-gallery .art-topline, .intro-line, .intro-line > span:last-child,
.author-portrait figcaption, .author-copy > .eyebrow, .closing .eyebrow {
  letter-spacing: .8px;
}
.brand, .footer .brand { font-size: 13px; line-height: 1.45; letter-spacing: 1px; }
.word-number { font-size: 16px; }
.purchase-author { font-size: 16px; line-height: 1.6; }
.chapter-choice > span:first-child { font-size: 20px; line-height: 1.4; }
.chapter-choice { min-height: 62px; }
.chapter-detail-top, .chapter-meta { flex-wrap: wrap; }

.button, .text-link, .hero-secondary, .cover-enlarge, .cover-controls button,
.backcover-description summary, .chapter-toolbar .text-link,
.chapter-detail > .text-link, .chapter-empty .text-link,
.passage-tabs > button, .passage-panel > .text-link,
.passage-panel > .passage-find, .passage-reading-note .text-link,
.prompt-actions .text-link, .note-form-bottom .button,
.saved-notes-header > button:first-child, .notebook-link,
.purchase-actions .text-link, .footer .text-link, .cover-dialog .text-link,
.chapter-toolbar input, .chapter-toolbar select {
  font-size: 16px;
  line-height: 1.45;
}
.button, .cover-controls button, .note-form-bottom .button { min-height: 48px; }
.text-link { gap: 14px; }
.button span, .text-link span { line-height: 20px; }
.button .ui-icon { width: 20px; height: 20px; }
.text-link .ui-icon { width: 18px; height: 18px; }
.cover-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 330px);
  flex-shrink: 0;
  gap: 8px;
  margin-top: 32px;
  padding: 6px;
  border-radius: 34px;
}
.cover-controls button {
  min-width: 0;
  min-height: 50px;
  padding: 12px 10px;
  border-radius: 26px;
  white-space: nowrap;
}
.backcover-description summary > span { flex-shrink: 0; }
.notebook-section textarea { font-size: 20px; line-height: 1.7; }
.cover-dialog h2 { font-size: 16px; line-height: 1.5; letter-spacing: .5px; }
.cover-close { width: 44px; height: 44px; }
.prompt-paging button { width: 44px; height: 44px; font-size: 20px; }
.prompt-actions, .note-form-bottom, .saved-notes-header, .notebook-tools {
  flex-wrap: wrap;
  gap: 16px;
}
.saved-notes-header > button:first-child { gap: 8px; }
.saved-notes-header #notes-chevron { margin-left: 0; }
.stage-list small { font-size: 16px; line-height: 1.6; }
.stage-list strong { font-size: 26px; line-height: 1.4; }
.book-gallery .art-topline { flex-wrap: wrap; gap: 8px 16px; }
.intro-line { flex-wrap: wrap; white-space: normal; gap: 16px; }
.intro-line-rule { min-width: 40px; }
.hero-secondary, .passage-panel > .passage-find { display: flex; width: fit-content; max-width: 100%; }
.hero-secondary { margin: 16px 0 0; }
.header nav { font-size: 16px; gap: 24px; }
.header nav > a { line-height: 24px; }
.header nav > a span { line-height: 24px; }
.header nav .ui-icon { width: 18px; height: 18px; }

@media (max-width: 1400px) {
  .header-caption { display: none; }
}

@media (min-width: 761px) and (max-width: 900px) {
  .header { height: auto; flex-wrap: wrap; padding-block: 22px; gap: 18px; }
  .header nav { width: 100%; justify-content: space-between; }
}

@media (max-width: 760px) {
  :root { --reading-size: 18px; }
  .header { height: auto; min-height: 0; padding-block: 22px; gap: 18px; }
  .header nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 6px 16px;
    font-size: 16px;
  }
  .header nav > a, .header nav > a:first-child {
    display: flex;
    align-items: center;
    min-width: 0;
    padding-block: 10px;
    line-height: 24px;
  }
  .header .nav-notebook { gap: 6px; }
  .header .nav-notebook span, .header .nav-purchase span { display: inline-flex; }
  .header .nav-purchase span { margin-left: 6px; }
  .hero .eyebrow { gap: 8px; letter-spacing: .7px; }
  .hero-secondary { display: flex; margin: 16px 0 0; }
  .hero .button { gap: 20px; }
  .book-gallery { padding-top: 88px; }
  .book-gallery .art-topline { left: 20px; right: 20px; font-size: 14px; letter-spacing: .4px; }
  .intro-line { align-items: flex-start; justify-content: space-between; }
  .intro-line-rule { display: none; }
  .chapter-toolbar { flex-direction: column; align-items: stretch; }
  .chapter-search { flex-basis: auto; }
  .chapter-filter { width: 100%; flex: auto; }
  .chapter-toolbar .text-link { align-self: flex-start; margin: 0; }
  .chapter-meta > p:last-child { max-width: none; }
  .passage-panel blockquote { font-size: 28px; }
  .passage-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .passage-tabs > button { padding: 14px 8px; font-size: 16px; line-height: 1.45; }
  .stage-list { flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
  .stage-list button {
    display: flex;
    align-items: center;
    flex: none;
    gap: 16px;
    min-height: 82px;
    padding: 16px 12px;
    border-top: 0;
    border-bottom: 1px solid var(--line);
  }
  .stage-list button[aria-selected="true"] { border-top: 0; padding-top: 16px; }
  .stage-list .stage-num { margin: 0; font-size: 14px; }
  .stage-list strong { font-size: 18px; line-height: 1.5; }
  .stage-list small { font-size: 16px; line-height: 1.5; }
  .stage-arrow { display: block; }
  .prompt-actions { align-items: flex-start; }
  .prompt-paging { margin-left: auto; }
  .explore-bottom { font-size: 14px; }
  .privacy-note { max-width: none; }
  .saved-notes-header { align-items: center; }
  .notebook-tools { align-items: flex-start; }
  .purchase-actions { gap: 16px; }
  .cover-dialog-top { gap: 16px; }
}
