:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #5f6b7a;
  --border: #dce3ed;
  --accent: #2f5ea8;
  --accent-strong: #1f4680;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}

.site-shell {
  width: min(860px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0 1.5rem;
  text-align: center;
}

.site-title {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.site-title a {
  color: inherit;
}

.site-tagline {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.site-nav {
  margin-top: 1.2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.site-main {
  padding: 2rem 0 3rem;
}

.home-intro {
  margin-bottom: 1.4rem;
}

.home-intro h1 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.intro-copy > *:first-child {
  margin-top: 0;
}

.home-intro-figure {
  margin: 1.1rem 0 0;
  text-align: center;
}

.home-intro-figure img {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.post-feed {
  display: grid;
  gap: 1rem;
}

.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
}

.post-card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.3rem;
}

.post-meta {
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin: 1.1rem 0 0;
}

.post-tag {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  border: 1px solid #c7dcff;
  border-radius: 8px;
  background: #e7f1ff;
  color: #24539a;
  font-size: 0.85rem;
  text-decoration: none;
}

.post-tag:hover {
  background: #d7e8ff;
  color: #173d73;
  text-decoration: none;
}

.read-more {
  font-weight: 600;
}

.article-page {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}

.article-header h1 {
  margin: 0;
}

.article-header time {
  display: inline-block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.article-content {
  margin-top: 1.3rem;
}

.article-content > *:first-child {
  margin-top: 0;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.95rem;
  padding: 1.3rem 0 2rem;
}

.disclosure {
  margin: 0 0 0.6rem;
}
