:root {
  color: #171717;
  background: #f7f7f4;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-synthesis: none;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
}

a {
  color: #123f3c;
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  color: #27615d;
}

.static-header,
.static-page {
  width: min(calc(100% - 32px), 960px);
  margin: 0 auto;
}

.static-header {
  padding: 24px 0 8px;
}

.wordmark {
  margin: 0;
  color: #4a4a44;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.wordmark a {
  color: inherit;
  text-decoration: none;
}

.wordmark a:hover,
.wordmark a:focus-visible {
  text-decoration: underline;
}

.static-page {
  padding: 8px 0 48px;
}

h1 {
  max-width: 860px;
  margin: 0 0 22px;
  color: #11110f;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h2 {
  margin: 0 0 12px;
  color: #191915;
  font-size: 1.08rem;
  line-height: 1.25;
  letter-spacing: 0;
}

p {
  max-width: 820px;
  margin: 0 0 12px;
  color: #4d4d46;
}

.page-block {
  border-top: 1px solid #deded7;
  padding: 24px 0;
}

.page-intro {
  border-top: 0;
  padding-top: 0;
}

.note-block {
  color: #55554d;
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}

.stats-row + p {
  margin-top: 12px;
}

.stat-pill {
  display: inline-flex;
  min-height: 34px;
  align-items: baseline;
  gap: 8px;
  border: 1px solid #d8d8d0;
  border-radius: 999px;
  padding: 5px 11px;
  background: #fff;
}

.stat-pill dt {
  order: 2;
  color: #66665c;
  font-size: 0.82rem;
}

.stat-pill dd {
  order: 1;
  margin: 0;
  color: #22221e;
  font-size: 0.95rem;
  font-weight: 700;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid #bfcfcb;
  border-radius: 6px;
  padding: 6px 11px;
  background: #eef6f4;
  color: #123f3c;
  font-weight: 700;
  text-decoration: none;
}

.primary-link:hover,
.primary-link:focus-visible {
  border-color: #27615d;
  text-decoration: underline;
}

.link-list {
  display: grid;
  gap: 0;
}

.list-card {
  display: grid;
  min-width: 0;
  min-height: 58px;
  align-content: start;
  gap: 4px;
  border-top: 1px solid #deded7;
  padding: 12px 0;
  text-decoration: none;
}

.list-card:last-child {
  border-bottom: 1px solid #deded7;
}

.list-card:hover,
.list-card:focus-visible {
  outline: 0;
  background: #eef6f4;
}

.list-card__title {
  color: #191915;
  font-weight: 700;
  overflow-wrap: break-word;
}

.list-card__meta,
.small-note,
.byline {
  color: #66665c;
  font-size: 0.88rem;
}

.book-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.book-list li {
  color: #45453f;
  padding-left: 2px;
}

.guide-list {
  display: grid;
  gap: 14px;
  max-width: 820px;
  margin: 0;
}

.guide-list div {
  border-top: 1px solid #deded7;
  padding-top: 12px;
}

.guide-list div:first-child {
  border-top: 0;
  padding-top: 0;
}

.guide-list dt {
  color: #191915;
  font-weight: 700;
}

.guide-list dd {
  margin: 4px 0 0;
  color: #4d4d46;
}

.example-grid {
  display: grid;
  gap: 14px;
}

.example-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  min-height: 180px;
  border: 1px solid #d5d5cd;
  border-radius: 8px;
  padding: 14px;
  background: #fffdfa;
}

.example-card:not(:has(img)) {
  grid-template-columns: 1fr;
  min-height: auto;
}

.example-card__cover {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.example-card__cover img {
  width: 104px;
  height: 156px;
  border-radius: 4px;
  background: #ededdf;
  box-shadow: 0 1px 2px rgb(0 0 0 / 18%);
  object-fit: cover;
}

.example-card__body {
  display: grid;
  align-content: start;
  min-width: 0;
}

.example-card h2 {
  margin-bottom: 4px;
  font-size: 1.06rem;
}

.example-card .byline {
  margin-bottom: 12px;
}

.example-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 0;
}

.example-facts div {
  min-width: 0;
}

.example-facts dt {
  color: #66665c;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.example-facts dd {
  margin: 2px 0 0;
  color: #2f2f2a;
  overflow-wrap: break-word;
}

.example-card p {
  margin-bottom: 0;
}

.related-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.related-links li {
  margin: 0;
}

@media (max-width: 560px) {
  .static-header,
  .static-page {
    width: min(calc(100% - 24px), 960px);
  }

  .static-header {
    padding-top: 20px;
  }

  .static-page {
    padding-bottom: 36px;
  }

  h1 {
    font-size: 2rem;
  }

  .link-list {
    grid-template-columns: 1fr;
  }

  .stat-pill {
    width: 100%;
    justify-content: space-between;
  }

  .example-card {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    min-height: 132px;
    padding: 10px;
  }

  .example-card__cover img {
    width: 80px;
    height: 120px;
  }

  .example-facts {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
