body {
  margin: 0;
  background: #fafafa;
  color: #1a1a1a;
}

a {
  color: #5b3f7a;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Responsive images — screenshots are 2880x1800 / 3736x2324 natively
   and would blow out any container if not constrained. The max-width
   approach also keeps captions ("Audience view: ..." italic blocks
   below each shot) aligned with the screenshot edges. */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem auto;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

@media (prefers-color-scheme: dark) {
  img {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  }
}

/* Caption italics directly below screenshots — Eleventy renders the
   markdown emphasis as <em> in a <p>. Center + dim to read as caption. */
img + em,
p > em:only-child {
  display: block;
  text-align: center;
  opacity: 0.75;
  font-size: 0.95rem;
  margin: -0.5rem 0 2rem;
}

@media (prefers-color-scheme: dark) {
  body { background: #111; color: #f0f0f0; }
  a { color: #a78bcf; }
}
