body[data-page="the-book-system"] .system-hero {
  margin-bottom: 22px;
}

body[data-page="the-book-system"] .hero-grid {
  align-items: stretch;
}

body[data-page="the-book-system"] .hero-copy {
  max-width: 68ch;
}

body[data-page="the-book-system"] .hero-actions {
  align-items: center;
  gap: 12px;
}

body[data-page="the-book-system"] .hero-actions .cta-pill {
  min-width: 184px;
}

body[data-page="the-book-system"] .hero-actions .hero-system-pill .hero-pill-word,
body[data-page="the-book-system"] .hero-actions .hero-system-pill .hero-pill-dot {
  display: inline-block;
  font-weight: inherit;
  line-height: inherit;
  vertical-align: middle;
}

body[data-page="the-book-system"] .hero-actions .hero-system-pill .hero-pill-word {
  color: var(--gold);
}

body[data-page="the-book-system"] .hero-actions .hero-system-pill .hero-pill-dot {
  color: #ffffff;
  margin: 0 0.02em;
}

body[data-page="the-book-system"] .section-card,
body[data-page="the-book-system"] .footer-card {
  scroll-margin-top: 108px;
}

body[data-page="the-book-system"] .section-head {
  margin-bottom: 20px;
}

body[data-page="the-book-system"] .system-grid-3,
body[data-page="the-book-system"] .system-grid-2,
body[data-page="the-book-system"] .entry-grid {
  align-items: stretch;
}

body[data-page="the-book-system"] .system-grid-3 .index-card,
body[data-page="the-book-system"] .system-grid-2 .index-card,
body[data-page="the-book-system"] .entry-grid .entry-card,
body[data-page="the-book-system"] .hero-panel .index-card,
body[data-page="the-book-system"] .hero-panel .quote-card {
  height: 100%;
}

body[data-page="the-book-system"] .system-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-page="the-book-system"] .hero-panel .index-card,
body[data-page="the-book-system"] .hero-panel .quote-card {
  display: flex;
  flex-direction: column;
}

body[data-page="the-book-system"] .hero-panel .index-card .index-label,
body[data-page="the-book-system"] .hero-panel .quote-card .quote-label {
  margin-bottom: 10px;
  font-size: 0.7rem !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: none !important;
  color: var(--soft) !important;
}

body[data-page="the-book-system"] .hero-panel .index-card {
  overflow: hidden;
}

body[data-page="the-book-system"] .hero-panel .mini-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  width: 100%;
  max-width: 100%;
  margin-top: 0;
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
  box-sizing: border-box;
}

body[data-page="the-book-system"] .hero-panel .mini-pills .mini-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 46px;
  padding: 0 18px;
  text-align: center;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  box-sizing: border-box;
}

body[data-page="the-book-system"] .hero-panel .mini-pills .mini-pill:nth-child(1),
body[data-page="the-book-system"] .hero-panel .mini-pills .mini-pill:nth-child(2),
body[data-page="the-book-system"] .hero-panel .mini-pills .mini-pill:nth-child(3),
body[data-page="the-book-system"] .hero-panel .mini-pills .mini-pill:nth-child(4) {
  grid-column: auto;
  justify-self: stretch;
  border-color: rgba(201, 162, 39, 0.72);
}

body[data-page="the-book-system"] .hero h1 > span {
  display: block;
}

body[data-page="the-book-system"] .hero .hero-subhead {
  max-width: 24ch;
  margin-top: 16px;
  padding-top: 2px;
  font-size: 0.5em;
  line-height: 1.08;
}

body[data-page="the-book-system"] .hero .hero-subhead-line {
  display: block;
}

body[data-page="the-book-system"] .hero .hero-subhead-line + .hero-subhead-line {
  margin-top: 0.08em;
}

body[data-page="the-book-system"] .entry-note-lines {
  display: grid;
  gap: 8px;
  margin-top: 0;
}

body[data-page="the-book-system"] .entry-note-text {
  margin: 0;
  font-family: inherit;
  font-size: clamp(0.9rem, 1.35vw, 1rem);
  line-height: 1.38;
  font-weight: 400;
  letter-spacing: 0;
  color: inherit;
}

body[data-page="the-book-system"] .system-list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 12px;
}

body[data-page="the-book-system"] .system-list li {
  color: var(--text);
  line-height: 1.65;
}

body[data-page="the-book-system"] .footer-label .gold-dot,
body[data-page="the-book-system"] .spine-nav .gold-dot {
  display: inline-block;
  margin-inline: 0.14em;
}

body[data-page="the-book-system"] .footer-card .footer-label .gold-dot {
  margin-inline: 0 !important;
}

body[data-page="the-book-system"] .footer-card .spine-nav .phase-chip {
  display: inline-flex;
  align-items: center;
  gap: 0;
  list-style: none;
  white-space: nowrap;
}

body[data-page="the-book-system"] .footer-card .spine-nav .phase-chip::before,
body[data-page="the-book-system"] .footer-card .spine-nav .phase-chip::after,
body[data-page="the-book-system"] .footer-card .spine-nav .phase-chip::marker {
  content: none !important;
  display: none !important;
}

body[data-page="the-book-system"] .footer-card .spine-nav .phase-chip .chip-bullet {
  display: inline-block;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.95;
  margin-right: 0.5rem;
  flex: 0 0 auto;
}

body[data-page="the-book-system"] .footer-card .spine-nav .phase-chip .chip-word,
body[data-page="the-book-system"] .footer-card .spine-nav .phase-chip .chip-dot {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
}

body[data-page="the-book-system"] .footer-card .spine-nav .phase-chip .chip-word {
  letter-spacing: 0.14em;
  color: currentColor;
}

body[data-page="the-book-system"] .footer-card .spine-nav .phase-chip .chip-dot {
  color: #ffffff;
  letter-spacing: 0;
  margin: 0 0.18em;
  padding: 0;
}

body[data-page="the-book-system"] .entry-card p:last-of-type,
body[data-page="the-book-system"] .index-card p:last-of-type {
  margin-bottom: 0;
}

body[data-page="the-book-system"] .footer-card {
  margin-top: 20px;
}

@media (max-width: 1120px) {
  body[data-page="the-book-system"] .hero-grid,
  body[data-page="the-book-system"] .system-grid-3,
  body[data-page="the-book-system"] .system-grid-2,
  body[data-page="the-book-system"] .entry-grid {
    align-items: stretch;
  }
}

@media (max-width: 720px) {
  body[data-page="the-book-system"] .system-hero {
    margin-bottom: 18px;
  }

  body[data-page="the-book-system"] .hero-actions {
    align-items: stretch;
  }

  body[data-page="the-book-system"] .hero-actions .cta-pill {
    width: 100%;
    min-width: 0;
  }

  body[data-page="the-book-system"] .hero-panel .mini-pills,
  body[data-page="the-book-system"] .system-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="the-book-system"] .section-card,
  body[data-page="the-book-system"] .footer-card {
    scroll-margin-top: 96px;
  }

  body[data-page="the-book-system"] .hero .hero-subhead {
    max-width: 100%;
    margin-top: 14px;
    font-size: 0.56em;
  }
}

@media (max-width: 560px) {
  body[data-page="the-book-system"] .hero-panel .mini-pills,
  body[data-page="the-book-system"] .system-grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-page="the-book-system"] .hero-panel .mini-pills .mini-pill {
    white-space: normal;
  }
}