
:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #555555;
  --link: #0b57d0;
  --border: #e5e7eb;
  --maxw: 820px;
  --radius: 16px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 1.25rem; }

h1, h2, h3 { line-height: 1.25; }
h1 { font-size: 2rem; margin: 0.5rem 0 0.25rem; }
h2 { font-size: 1.375rem; margin-top: 1.75rem; }

a { color: var(--link); text-decoration: underline; }
a:hover { text-decoration-thickness: 2px; }

.byline { color: var(--muted); margin: 0 0 0.5rem; }

.site-header {
  border-bottom: 1px solid var(--border);
  background: #fafafa;
}

.hero {
  margin: 1rem 0 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero img { display: block; width: 100%; height: auto; }
.hero figcaption {
  font-size: 0.875rem;
  color: var(--muted);
  padding: 0.5rem 0.75rem;
  background: #f8f9fb;
  border-top: 1px solid var(--border);
}

.content p { margin: 0.75rem 0; }
.content ul { margin: 0.5rem 0 0.5rem 1.25rem; }
.content li { margin: 0.25rem 0; }

.note {
  border-left: 4px solid var(--border);
  background: #fbfbfb;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  color: #333;
}

.site-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.875rem;
}

/* Print-friendly tweaks */
@media print {
  a[href]:after { content: " (" attr(href) ")"; font-size: 0.9em; }
  .hero a { text-decoration: none; }
}
