/* Paper, near-black ink, one green accent for the active item, links, and claim labels. */
:root {
  color-scheme: light;
  --background: #f3efe6;
  --foreground: #161513;
  --card: #faf8f4;
  --link: #1a3c34;
  --muted-fg: #5c564c;
  --border: #ddd6c8;
}
* { box-sizing: border-box; }
html { background: var(--background); font-size: 16px; }
body {
  margin: 0;
  color: var(--foreground);
  background: var(--background);
  font: 16px/1.6 "Source Sans 3", "Segoe UI", sans-serif;
}
header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--background);
  border-bottom: 1px solid var(--border);
}
.wordmark, nav a, .links a, .pack-link {
  color: var(--foreground);
  text-decoration: none;
}
.wordmark { font-size: 0.95rem; font-weight: 600; }
.wordmark:hover, .wordmark:focus-visible, nav a:hover, nav a:focus-visible, .links a:hover, .links a:focus-visible, .pack-link:hover, .pack-link:focus-visible {
  color: var(--link);
  outline: none;
}
nav { display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; }
nav a { padding: 0.25rem 0.15rem; font-size: 0.95rem; }
nav a[aria-current="page"] { color: var(--link); font-weight: 650; }
nav a:focus-visible, .claim a:focus-visible, .wordmark:focus-visible, .links a:focus-visible, .pack-link:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
}
main { max-width: 72rem; margin: 0 auto; padding: 1.25rem 1rem 3rem; }
h1, h2, p { font-family: "Source Sans 3", "Segoe UI", sans-serif; }
h1 { font-size: 1.7rem; line-height: 1.25; font-weight: 600; margin: 0.35rem 0 0.6rem; }
h2 { font-size: 0.95rem; font-weight: 650; margin: 1.4rem 0 0.35rem; }
p { margin: 0.35rem 0; }
.pack-title {
  font-family: Georgia, "Source Serif 4", serif;
  font-weight: 450;
  letter-spacing: -0.02em;
  font-size: 2rem;
  line-height: 1.15;
}
.measure { max-width: 65ch; }
.who, .note, .meta { color: var(--muted-fg); }
.links { display: flex; gap: 1rem; }
.links a { color: var(--link); }
.pack-link { display: block; margin-top: 1.25rem; }
.pack-link .pack-title { font-size: 1.6rem; margin: 0.2rem 0; }
.grid { display: block; }
.argument { max-width: 65ch; }
.claims {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.claim a {
  display: block;
  height: 100%;
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  color: inherit;
  text-decoration: none;
}
.claim a:hover { border-color: var(--foreground); }
.label { margin: 0; color: var(--link); font-size: 0.8rem; font-weight: 650; }
.file { display: block; margin-top: 0.65rem; color: var(--muted-fg); font: 0.75rem/1.4 ui-monospace, monospace; }
.checks { list-style: none; margin: 0.8rem 0 0; padding: 0; color: var(--muted-fg); font-size: 0.9rem; }
.checks li { margin: 0.15rem 0; }
.prose { max-width: 65ch; margin-top: 1.5rem; padding-top: 0.8rem; border-top: 1px solid var(--border); }
.prose ul { padding-left: 1.15rem; }
@media (min-width: 768px) {
  html, body { font-size: 17px; }
  main { padding: 1.5rem 2rem 4rem; }
  .grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 1.5rem;
  }
  .argument { grid-column: 3 / span 8; max-width: none; }
  .argument .measure, .prose { max-width: 65ch; }
  .claims { grid-column: 2 / span 10; grid-template-columns: 1fr 1fr; }
  .checks { grid-column: 3 / span 8; }
  .pack-title { font-size: 2.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
