.book-body .site-head,
.book-body .site-foot {
  max-width: 1120px;
}
.book-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}
.book-mark {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  mask: url(/icons/ai-literacy.svg) center/contain no-repeat;
  -webkit-mask: url(/icons/ai-literacy.svg) center/contain no-repeat;
  background:
    linear-gradient(
      135deg,
      #947ead 0%,
      #6f93ab 25%,
      #80b49a 50%,
      #a79482 75%,
      #a389c0 100%);
  opacity: 0.8;
  transform: translateY(calc(-0.15em + 1px));
}
.book-raised {
  font-size: 0.55em;
  font-weight: 500;
  letter-spacing: 0.02em;
  vertical-align: super;
  line-height: 0;
  color: rgba(var(--ink-rgb), 0.55);
}
.book {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 48px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 24px 72px;
  box-sizing: border-box;
}
.book-legend {
  position: sticky;
  top: 20px;
  align-self: start;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  font-size: 0.875rem;
  line-height: 1.4;
}
.book-legend-toggle {
  display: none;
}
.book-legend ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.book-chapter > a {
  display: grid;
  grid-template-columns: 1.5em 1fr;
  padding: 5px 0;
  color: rgba(var(--ink-rgb), 0.62);
  text-decoration: none;
}
.book-chapter > a:hover,
.book-chapter.current > a {
  color: var(--ink);
}
.book-chapter.current > a {
  font-weight: 600;
}
.book-legend .book-sections {
  margin: 2px 0 8px 1.5em;
  padding-left: 10px;
  border-left: 1px solid rgba(var(--ink-rgb), 0.12);
}
.book-sections a {
  display: block;
  padding: 3px 0;
  color: rgba(var(--ink-rgb), 0.62);
  text-decoration: none;
}
.book-sections a:hover {
  color: var(--ink);
}
.book-sections a[aria-current=page] {
  color: var(--ink);
  font-weight: 600;
}
.book-present {
  display: none;
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(var(--ink-rgb), 0.55);
  font: inherit;
  cursor: pointer;
}
.book-js .book-present {
  display: none;
}
.book-present:hover {
  color: var(--ink);
}
.book-present kbd {
  margin-left: 4px;
  padding: 0 5px;
  border: 1px solid rgba(var(--ink-rgb), 0.2);
  border-radius: 4px;
  font: inherit;
  font-size: 0.75rem;
}
.site-foot .book-licence {
  max-width: 34rem;
  margin-bottom: 14px;
  font-size: 0.75rem;
  line-height: 1.5;
}
.prose.book-page {
  max-width: 640px;
  margin: 0;
  padding: 0;
  font-size: 1rem;
  line-height: 1.6;
}
.book-where {
  margin: 0 0 6px;
  font-size: 0.875rem;
  color: rgba(var(--ink-rgb), 0.55);
}
.book-copy {
  display: none;
  margin-left: 8px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  opacity: 0.7;
  vertical-align: -2px;
}
.book-js .book-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.book-copy:hover,
.book-copy:focus-visible {
  opacity: 1;
}
.book-copy.copied::after {
  content: attr(data-copied);
  font-size: 0.8125rem;
}
.book-presenting .book-copy {
  display: none;
}
.prose.book-page h1 {
  margin: 0 0 18px;
  font-size: 1.625rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.prose.book-page .book-sentence {
  margin: 0 0 26px;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.prose.book-page h3 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.prose.book-page .legal-table td {
  vertical-align: middle;
}
.prose.book-page .first-col-labels td:first-child {
  white-space: nowrap;
}
@media (max-width: 560px) {
  .prose.book-page .first-col-labels td:first-child {
    white-space: normal;
    hyphens: auto;
    -webkit-hyphens: auto;
  }
}
.prose.book-page .legal-table {
  font-size: 0.875rem;
  line-height: 1.5;
}
.prose.book-page .legal-table th {
  white-space: normal;
}
.book-flip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid rgba(var(--ink-rgb), 0.12);
  font-size: 0.9375rem;
  line-height: 1.4;
}
.prose .book-flip a {
  border-bottom: 0;
  color: rgba(var(--ink-rgb), 0.62);
}
.prose .book-flip a:hover {
  color: var(--ink);
}
.book-flip a[rel=next] {
  grid-column: 2;
  text-align: right;
}
.book-flip span {
  display: block;
  font-size: 0.75rem;
  color: rgba(var(--ink-rgb), 0.5);
}
.book-presenting .site-head,
.book-presenting .site-foot,
.book-presenting .book-legend,
.book-presenting .book-depth,
.book-presenting .book-flip {
  display: none;
}
.book-presenting .book {
  display: flex;
  align-items: center;
  max-width: none;
  min-height: 100vh;
  padding: 6vh 8vw;
}
.book-presenting .prose.book-page {
  max-width: 1100px;
}
.book-presenting .book-where {
  font-size: clamp(1rem, 1.6vw, 1.375rem);
}
.book-presenting .prose.book-page h1 {
  margin-bottom: 3vh;
  font-size: clamp(1.25rem, 2.2vw, 1.875rem);
  font-weight: 500;
  color: rgba(var(--ink-rgb), 0.62);
}
.book-presenting .prose.book-page .book-sentence {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 3.75rem);
  line-height: 1.22;
}
@media (max-width: 900px) {
  .book {
    display: block;
    padding-top: 20px;
  }
  .book-legend {
    position: static;
    max-height: none;
    margin-bottom: 28px;
    padding: 2px 14px;
    border: 1px solid rgba(var(--ink-rgb), 0.14);
    border-radius: 12px;
  }
  .book-js .book-legend-toggle {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 11px 0;
    border: 0;
    background: none;
    color: var(--ink);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
  }
  .book-js .book-legend-toggle::after {
    content: "\25be";
    color: rgba(var(--ink-rgb), 0.5);
  }
  .book-js .book-legend.open .book-legend-toggle::after {
    content: "\25b4";
  }
  .book-js .book-legend-list {
    display: none;
    padding-bottom: 10px;
  }
  .book-js .book-legend.open .book-legend-list {
    display: block;
  }
  .book-js .book-present {
    display: none;
  }
  .prose.book-page {
    max-width: none;
    font-size: 1rem;
  }
  .prose.book-page .book-sentence {
    font-size: 1.25rem;
  }
}
@media print {
  .book-legend,
  .book-flip,
  .site-head,
  .site-foot {
    display: none;
  }
  .book {
    display: block;
    padding: 0;
  }
}
