/* Base resets for better accessibility */
* { box-sizing: border-box; }
html:focus-within { scroll-behavior: smooth; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #111;
  background: #fff;
}

/* High-contrast, accessible defaults */
a { color: #0b5fff; }
a:focus, button:focus, [tabindex]:focus { outline: 3px solid #ffbf47; outline-offset: 2px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #ffbf47;
  color: #111;
  border-radius: 0.25rem;
}

.container {
  max-width: 56rem; /* ~896px */
  margin: 0 auto;
  padding: 1rem;
}

.site-header {
  background: #f6f7f9;
  border-bottom: 1px solid #e5e7eb;
}
.site-title {
  margin: 0.5rem 0;
  font-size: clamp(1.25rem, 2.5vw + 1rem, 2rem);
}

.content p { margin: 1rem 0 0.5rem; font-size: 1.5rem; }
.content strong { font-weight: 700; }

figure { margin: 0; }
figure + p { margin-top: 1.25rem; }
img { max-width: 100%; height: auto; border: 1px solid #e5e7eb; border-radius: 8px; }

.site-footer {
  margin-top: 2rem;
  padding: 1rem 0;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
  color: #444;
  font-size: 0.95rem;
}

/* Prefer reduced motion where requested */
@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
}

