:root {
  --cream: #fbf6e9;
  --paper: #fffdf7;
  --ink: #123d48;
  --teal: #173f42;
  --teal-2: #225b5d;
  --gold: #c79b45;
  --gold-soft: #ead8ad;
  --line: rgba(18, 61, 72, 0.18);
  --muted: #58696a;
  --shadow: 0 24px 70px rgba(23, 63, 66, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 99;
  padding: 0.75rem 1rem;
  background: var(--paper);
}

.skip-link:focus { left: 1rem; top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 246, 233, 0.96);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(1180px, calc(100% - 2rem));
  min-height: 128px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-lockup {
  display: block;
  width: clamp(17rem, 30vw, 24rem);
  height: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  position: relative;
  padding: 0.45rem 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-list a:hover,
.nav-list a:focus-visible,
.nav-list a[aria-current="page"] { color: var(--ink); }

.nav-list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.62rem 0.85rem;
  font: inherit;
  font-weight: 700;
}

.container { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 2rem)); margin: 0 auto; }

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--teal-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
}

h1 { font-size: clamp(2.7rem, 6.5vw, 5.7rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(2rem, 4vw, 3.65rem); letter-spacing: -0.035em; }
h3 { font-size: clamp(1.35rem, 2.5vw, 2rem); }
p { margin: 0; }

.lede {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.78rem 1.15rem;
  border: 1px solid var(--teal);
  border-radius: 4px;
  background: var(--teal);
  color: #fffdf7;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible { background: var(--teal-2); transform: translateY(-2px); }

.button.secondary {
  border-color: var(--gold);
  background: transparent;
  color: var(--ink);
}

.hero {
  min-height: calc(100vh - 128px);
  display: grid;
  align-items: center;
  padding: 5.5rem 0;
  background:
    radial-gradient(circle at 85% 12%, rgba(199,155,69,0.2), transparent 30%),
    linear-gradient(135deg, var(--cream) 0%, #fffdf8 62%, #f3ead4 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.hero-copy .lede { margin-top: 1.45rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.hero-note {
  margin-top: 2.2rem;
  padding-left: 1rem;
  border-left: 3px solid var(--gold);
  color: var(--muted);
  font-size: 0.95rem;
}

.editorial-card {
  position: relative;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--line);
  background: rgba(255,253,247,0.92);
  box-shadow: var(--shadow);
}

.editorial-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  border: 1px solid rgba(199,155,69,0.38);
}

.cover-crop {
  position: relative;
  width: min(100%, 405px);
  aspect-ratio: 0.767;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(18,61,72,0.16);
  background: #f7edd7;
  box-shadow: 0 18px 40px rgba(18,61,72,0.22);
}

.cover-crop img {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  max-width: none;
  height: 100%;
  transform: translateX(-50.49%);
}

.cover-crop.front-cover img {
  position: static;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transform: none;
}

.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section.alt { background: var(--paper); }

.section-heading {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 3rem;
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.direction-card { min-height: 255px; padding: 2rem; background: var(--cream); }
.direction-card::before { content: ""; display: block; width: 46px; height: 3px; margin-bottom: 2rem; background: var(--gold); }
.direction-card h3 { margin: 0 0 0.9rem; }
.direction-card p { color: var(--muted); }

.page-hero {
  padding: clamp(3.5rem, 7vw, 5.75rem) 0 clamp(2.75rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(115deg, var(--cream), #fffdf8);
}

.page-hero h1 { max-width: 850px; font-size: clamp(2.65rem, 5.2vw, 4.5rem); }
.page-hero .lede { margin-top: 1.25rem; }

.resource-card {
  display: grid;
  grid-template-columns: minmax(230px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  max-width: 1050px;
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.resource-card .cover-crop { width: min(100%, 285px); }
.resource-card .cover-crop.front-cover {
  width: min(100%, 285px);
  aspect-ratio: auto;
  overflow: visible;
}
.resource-card + .resource-card { margin-top: clamp(2rem, 5vw, 3.5rem); }
.resource-copy h2 { margin: 0.25rem 0 1rem; }
.resource-copy > p { color: var(--muted); font-size: 1.08rem; }

.feature-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.8rem 0;
  padding: 0;
  list-style: none;
}

.feature-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.feature-list li::before { content: "◆"; color: var(--gold); font-size: 0.68rem; margin-top: 0.42rem; }

.purchase-area { margin-top: 1.9rem; }

.purchase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.purchase-actions .button { min-width: 190px; }

.availability-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.availability-status span {
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--gold-soft);
  background: #f6eedc;
  color: #5d4a24;
  font-weight: 700;
}

.note-panel {
  margin-top: 2rem;
  padding: 1.25rem 1.4rem;
  border-left: 3px solid var(--gold);
  background: #f6eedc;
  color: var(--muted);
}

.library-note { padding: 0 0 clamp(4.5rem, 8vw, 7rem); }
.library-note-inner { max-width: 1050px; padding-top: 2.5rem; border-top: 2px solid var(--gold); }
.library-note h2 { margin: 0.35rem 0 0.65rem; font-size: clamp(2rem, 4vw, 3.25rem); }
.library-note p:last-child { max-width: 680px; margin: 0; color: var(--muted); font-size: 1.05rem; }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.about-copy { display: grid; gap: 1.25rem; color: var(--muted); font-size: 1.08rem; }

.principles { display: grid; gap: 1px; border: 1px solid var(--line); background: var(--line); }
.principle { padding: 1.5rem; background: var(--paper); }
.principle strong { display: block; margin-bottom: 0.35rem; color: var(--ink); font-family: Georgia, serif; font-size: 1.25rem; }

.companion-shell { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.companion-intro { display: grid; gap: 1.1rem; text-align: center; }
.companion-intro h1 { font-size: clamp(2.55rem, 6vw, 4.8rem); }
.companion-intro .lede { margin: 0 auto; }

.privacy-note {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.5rem auto 0;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--gold-soft);
  background: #f6eedc;
  color: #5f552f;
  font-size: 0.9rem;
}

.download-groups { display: grid; gap: 2.5rem; margin-top: 4rem; }
.download-group h2 { margin-bottom: 1rem; font-size: clamp(1.75rem, 3vw, 2.4rem); }
.download-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }

.download-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 230px;
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: var(--paper);
}

.file-type { color: var(--gold); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.download-card h3 { margin: 1rem 0 0.65rem; }
.download-card p { color: var(--muted); }
.download-card .button { margin-top: auto; padding-top: 0.68rem; padding-bottom: 0.68rem; }
.toolkit-grid .download-card:last-child { grid-column: 1 / -1; min-height: 205px; }

.companion-footer-link { margin-top: 3rem; text-align: center; }

.site-footer { padding: 2.2rem 0; border-top: 1px solid var(--line); background: var(--teal); color: rgba(255,253,247,0.8); }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; align-items: flex-start; }
.footer-brand { color: #fffdf7; font-family: Georgia, serif; letter-spacing: 0.14em; }
.footer-legal { max-width: 760px; font-size: 0.82rem; line-height: 1.55; text-align: right; }

:focus-visible { outline: 3px solid #f0bd58; outline-offset: 3px; }

@media (max-width: 820px) {
  .header-inner { min-height: 104px; gap: 1rem; }
  .brand-lockup { width: min(17rem, 64vw); }
  .menu-button { display: inline-flex; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 0.6rem 1rem 1rem; border-bottom: 1px solid var(--line); background: var(--cream); }
  .site-nav.open { display: block; }
  .nav-list { align-items: stretch; flex-direction: column; gap: 0; }
  .nav-list a { display: block; padding: 0.9rem 0.3rem; }
  .nav-list a[aria-current="page"]::after { right: auto; width: 42px; }
  .hero { min-height: auto; padding: 4rem 0; }
  .hero-grid, .resource-card, .about-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .lede { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-note { display: inline-block; text-align: left; }
  .editorial-card { max-width: 520px; margin: 0 auto; }
  .section-heading { grid-template-columns: 1fr; gap: 1rem; }
  .direction-grid { grid-template-columns: 1fr; }
  .direction-card { min-height: auto; }
  .direction-card::before { margin-bottom: 1.4rem; }
  .resource-copy { text-align: center; }
  .feature-list { max-width: 530px; margin-left: auto; margin-right: auto; text-align: left; }
  .availability-status { justify-content: center; }
  .download-grid { grid-template-columns: 1fr; }
  .toolkit-grid .download-card:last-child { grid-column: auto; }
  .footer-inner { flex-direction: column; }
  .footer-legal { text-align: left; }
}

@media (max-width: 480px) {
  .brand-lockup { width: min(17rem, 64vw); }
  .container, .narrow, .header-inner { width: min(100% - 1.25rem, 1180px); }
  .page-hero { padding-top: 3rem; }
  .resource-card { padding: 1rem; }
  .resource-card .cover-crop { width: 100%; }
  .button { width: 100%; }
  .privacy-note { align-items: flex-start; }
}

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

/* Published book catalog; companion pages retain their own layouts. */
.category-links { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 2rem; }
.category-links a { display: inline-flex; align-items: center; gap: .65rem; padding: .65rem .9rem; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); font-size: .95rem; font-weight: 650; text-decoration: none; }
.category-links a:hover { border-color: var(--teal); }
.category-links span { font-size: .875rem; color: var(--muted); }
.catalog-section { padding: 3.5rem 0 4rem; scroll-margin-top: 145px; }
.catalog-section + .catalog-section { border-top: 1px solid var(--line); }
.catalog-section:nth-of-type(odd) { background: var(--paper); }
.catalog-heading { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 2rem; margin-bottom: 2rem; }
.catalog-heading h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
.catalog-heading > p { max-width: 440px; color: var(--muted); }
.catalog-page .eyebrow { font-size: .875rem; letter-spacing: .12em; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; align-items: stretch; }
.book-card { display: flex; flex-direction: column; min-width: 0; padding: 1.5rem; border: 1px solid var(--line); background: var(--paper); scroll-margin-top: 145px; }
.book-cover { height: 290px; display: flex; align-items: center; justify-content: center; margin: .3rem 0 1.7rem; }
.book-cover img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 8px 22px rgba(18,61,72,.13); }
.book-details { display: flex; flex-direction: column; flex: 1; }
.book-edition { margin-bottom: .55rem; color: var(--teal-2); font-size: .85rem; font-weight: 700; }
.book-details h3 { font-size: 1.6rem; line-height: 1.2; letter-spacing: -.015em; }
.book-details > p { margin: 1rem 0 1.4rem; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.book-purchase { display: flex; flex-direction: column; gap: .6rem; margin-top: auto; }
.book-purchase .button { width: 100%; font-size: .95rem; }
.household-grid { grid-template-columns: 1fr; }
.household-grid .book-card { display: grid; grid-template-columns: minmax(190px, .65fr) minmax(0, 1.35fr); align-items: center; gap: 3rem; padding: 2rem; max-width: 850px; }
.household-grid .book-cover { height: 320px; margin: 0; }
.household-grid .book-details h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.household-grid .book-purchase { align-items: flex-start; }
.household-grid .button { width: auto; }
.catalog-companion { padding: 2.5rem 0 3.5rem; border-top: 1px solid var(--line); }
.catalog-companion h2 { font-size: 1.8rem; margin-bottom: .8rem; }
.catalog-companion p { color: var(--muted); max-width: 700px; }
.catalog-companion a { display: inline-block; margin-top: 1rem; text-underline-offset: .25em; }
.category-card { display: flex; flex-direction: column; text-decoration: none; }
.category-card::before { display: none; }
.category-card > img { width: auto; height: 190px; max-width: 100%; object-fit: contain; align-self: flex-start; margin-bottom: 1.5rem; box-shadow: 0 8px 20px rgba(18,61,72,.12); }
.category-count { font-size: .875rem; color: var(--muted); margin-bottom: .45rem; }
.category-card h3 { line-height: 1.18; }
.category-card p { margin-bottom: 1.5rem; }
.category-action { margin-top: auto; text-decoration: underline; text-underline-offset: .3em; font-weight: 650; }
.category-card:hover { background: var(--paper); }
.editorial-card .front-cover { aspect-ratio: auto; }

/* Articles & Tips: readable editorial pages in the studio's existing palette. */
.articles-hero { padding: 3.5rem 0 2.5rem; }
.articles-hero .eyebrow, .article-category { font-size: .875rem; letter-spacing: .08em; }
.articles-list { padding: 3rem 0 4rem; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.article-card { display: flex; flex-direction: column; padding: 1.7rem; border: 1px solid var(--line); border-top: 3px solid var(--gold); background: var(--paper); }
.article-category { color: var(--teal-2); font-weight: 700; margin-bottom: .9rem; }
.article-card h2, .article-card h3 { font-size: 1.8rem; line-height: 1.2; letter-spacing: -.02em; }
.article-card h2 a, .article-card h3 a { text-decoration: none; }
.article-card h2 a:hover, .article-card h3 a:hover { text-decoration: underline; text-underline-offset: .15em; }
.article-card .article-excerpt { margin: 1rem 0 1.5rem; color: var(--muted); }
.article-card .article-link { margin-top: auto; font-weight: 700; text-underline-offset: .25em; }
.article-meta { color: var(--muted); font-size: .9375rem; }
.article-shell { width: min(760px, calc(100% - 2rem)); margin: 0 auto; padding: 2.5rem 0 4rem; }
.article-breadcrumb { margin-bottom: 2rem; font-size: .9375rem; }
.article-breadcrumb a { text-underline-offset: .25em; }
.article-header { padding-bottom: 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); }
.article-header h1 { font-size: clamp(2.25rem, 5vw, 3.55rem); line-height: 1.12; letter-spacing: -.035em; }
.article-header .lede { margin: 1.2rem 0; }
.article-body { font-size: 1.125rem; line-height: 1.8; overflow-wrap: break-word; }
.article-body p { margin: 0 0 1.2rem; }
.article-body h2 { margin: 2.5rem 0 1rem; font-size: clamp(1.7rem, 3vw, 2.15rem); line-height: 1.2; letter-spacing: -.025em; }
.article-body h3 { margin: 1.5rem 0 .75rem; font-family: inherit; font-size: 1.125rem; font-weight: 750; line-height: 1.4; }
.article-body ul { padding-left: 1.4rem; margin: 1rem 0 1.5rem; }
.article-body li { margin-bottom: .65rem; }
.article-body a, .article-sources a, .related-book a { text-underline-offset: .2em; }
.article-checklist { margin: 2rem 0; padding: 1.5rem 1.7rem; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold); }
.article-checklist h2 { margin-top: 0; }
.article-checklist ul:last-child, .article-checklist p:last-child { margin-bottom: 0; }
.article-sources { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 1rem; overflow-wrap: anywhere; }
.article-sources h2 { font-size: 1.5rem; margin-bottom: .8rem; }
.article-sources ul { padding-left: 1.2rem; }
.article-sources li { margin: .65rem 0; }
.related-book { display: grid; grid-template-columns: 125px minmax(0, 1fr); gap: 1.5rem; align-items: center; padding: 1.7rem; margin: 2.5rem 0; background: var(--paper); border: 1px solid var(--line); }
.related-book img { width: 125px; height: auto; box-shadow: 0 6px 18px rgba(18,61,72,.12); }
.related-book h2 { font-size: 1.6rem; line-height: 1.25; margin: .4rem 0 .8rem; }
.related-book p { margin-bottom: .9rem; }
.related-book .button { font-size: 1rem; }
.articles-home { padding: 4rem 0; }
.articles-home .section-heading { grid-template-columns: 1fr auto; align-items: center; margin-bottom: 2rem; }
.articles-home h2 { font-size: clamp(2rem, 4vw, 3rem); }
@media (max-width: 820px) {
  .article-grid { grid-template-columns: 1fr; }
  .articles-home .section-heading { grid-template-columns: 1fr; }
  .article-card { padding: 1.5rem; }
}
@media (max-width: 480px) {
  .article-shell { width: calc(100% - 1.5rem); padding-top: 1.8rem; }
  .related-book { grid-template-columns: 1fr; padding: 1.3rem; }
  .related-book img { width: 115px; }
  .article-checklist { padding: 1.2rem; }
}

@media (min-width: 1100px) {
  .guides-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .guides-grid .book-card { padding: 1.15rem; }
  .guides-grid .book-cover { height: 260px; }
  .guides-grid .book-details h3 { font-size: 1.4rem; }
}
@media (max-width: 1099px) and (min-width: 651px) {
  .catalog-grid:not(.household-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .catalog-heading { grid-template-columns: 1fr; gap: 1rem; }
  .category-card > img { align-self: center; }
}
@media (max-width: 650px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-section { padding: 2.5rem 0; }
  .book-card { padding: 1.5rem; }
  .book-cover { height: 300px; }
  .category-links { flex-direction: column; align-items: stretch; }
  .category-links a { justify-content: space-between; }
  .household-grid .book-card { display: flex; gap: 0; padding: 1.5rem; }
  .household-grid .book-cover { margin-bottom: 1.7rem; }
  .household-grid .button { width: 100%; }
}

/* Expanded catalog: four familiar categories, including homework planners. */
.direction-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.catalog-pending { padding: 3rem 0; border-top: 1px solid var(--line); background: var(--paper); }
.catalog-pending h2 { max-width: 850px; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.catalog-pending p { max-width: 720px; margin-top: 1rem; }
.catalog-pending .eyebrow { margin-top: 0; }
.catalog-pending .pending-note { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .direction-grid { grid-template-columns: 1fr; } }

/* Free printable alongside its book. */
.book-free-download { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.book-free-download h4 { margin: 0; font-size: 1.15rem; line-height: 1.35; }
.book-free-download p { margin: .65rem 0 1rem; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.book-free-download .button { width: 100%; white-space: normal; text-align: center; }
.book-free-download a:focus-visible { outline: 3px solid var(--ink, #17384a); outline-offset: 4px; }

.book-preview { margin-top: 1.25rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.book-preview summary { cursor: pointer; font-weight: 700; padding: .5rem 0; min-height: 2.75rem; }
.book-preview summary:focus-visible, .book-preview a:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.book-preview > p { margin: .5rem 0 1rem; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.book-preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .75rem; }
.book-preview-grid figure { margin: 0; min-width: 0; }
.book-preview-grid a { display: block; padding: .25rem; background: #fff; border: 1px solid var(--line); }
.book-preview-grid img { display: block; width: 100%; height: 180px; object-fit: contain; }
.book-preview-grid figcaption { margin-top: .4rem; color: var(--ink); font-size: .85rem; line-height: 1.4; overflow-wrap: anywhere; }
