:root {
  --ink: #111111;
  --muted: #555555;
  --line: #e5e5e5;
  --bg: #ffffff;
  --footer-h: 64px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: calc(var(--footer-h) + 16px);
}
a { color: var(--ink); }

.hero {
  min-height: calc(100vh - var(--footer-h) - 16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 16px;
}
.hero img { width: min(260px, 60vw); height: auto; margin-bottom: 28px; }
.hero h1 { font-size: clamp(1.4rem, 4vw, 1.9rem); margin: 0 0 6px; font-weight: 700; }
.hero p { margin: 0; color: var(--muted); font-size: 1.05rem; }

.page { max-width: 760px; margin: 0 auto; padding: 24px 16px 32px; }
.page header { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.page header img { width: 64px; height: auto; }
.page header a { text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.page h1 { font-size: 1.7rem; margin: 0 0 4px; }
.page .updated { color: var(--muted); margin: 0 0 24px; font-size: .95rem; }
.page h2 { font-size: 1.15rem; margin: 28px 0 8px; }
.page ul { padding-left: 20px; }
.page li { margin-bottom: 6px; }
.box { border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; background: #fafafa; }

.site-footer {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  min-height: var(--footer-h);
  background: var(--bg);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 20px;
  padding: 10px 16px;
  font-size: .9rem;
  z-index: 10;
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .copy { color: var(--muted); }
