:root {
  --bs-link-color: #174e87;
  --bs-link-hover-color: #10385f;
}

body {
  color: #253449;
  background: #fffefa;
  line-height: 1.75;
}

main p, main li {
  max-width: 72ch;
}

h1, h2, h3 {
  color: #182e44;
  line-height: 1.25;
}

main h2 {
  margin-top: 2.4rem;
}

figure img {
  max-width: 100%;
  height: auto;
}

figcaption {
  color: #4d5c6e;
  font-size: 0.95rem;
  line-height: 1.5;
}

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid #a34715;
  outline-offset: 4px;
}

details {
  border-left: 3px solid #174e87;
  padding: 0.6rem 1rem;
  margin: 1.2rem 0;
}

summary {
  cursor: pointer;
  font-weight: 600;
}

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