:root {
  color-scheme: light dark;
  --bg: #eff1f5;
  --surface: #ccd0da;
  --text: #4c4f69;
  --muted: #6c6f85;
  --border: #bcc0cc;
  --hover: #bcc0cc;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #24273a;
    --surface: #363a4f;
    --text: #cad3f5;
    --muted: #a5adcb;
    --border: #494d64;
    --hover: #494d64;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.6;
}

.wrap {
  inline-size: min(720px, calc(100% - 32px));
  margin-inline: auto;
  padding-block: 72px 56px;
}

.site-title {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.lead {
  margin: 0 0 36px;
  color: var(--muted);
  font-size: 0.98rem;
}

.site-title a { color: inherit; text-decoration: none; }
.site-title a:hover { text-decoration: underline; }

footer {
  margin-block-start: 32px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

footer p { margin: 0; font-size: inherit; }
footer a { color: var(--text); }
