:root {
  --bg: #f6f3ee;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #ffffff;
  --ink: #17202a;
  --muted: #5a6673;
  --line: rgba(23, 32, 42, 0.1);
  --accent: #0e7490;
  --accent-soft: rgba(14, 116, 144, 0.12);
  --shadow: 0 24px 60px rgba(20, 28, 36, 0.08);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Georgia", "Noto Serif SC", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(14, 116, 144, 0.12), transparent 28%),
    linear-gradient(180deg, #fcfaf7 0%, var(--bg) 100%);
}
a { color: inherit; text-decoration: none; }
.shell {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}
.site-header, .site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.site-header {
  padding: 12px 0 28px;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.subtitle, .meta, .site-footer, .eyebrow {
  color: var(--muted);
}
.subtitle { margin: 8px 0 0; max-width: 560px; font-size: 14px; line-height: 1.7; }
.nav { display: flex; gap: 16px; flex-wrap: wrap; }
.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  transition: all .2s ease;
}
.nav a:hover, .button:hover, .post-card:hover, .list-item:hover, .archive-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.hero, .post-card, .list-item, .article, .archive-item {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(12px);
}
.hero {
  margin: 28px 0 36px;
  padding: 48px;
  border-radius: 32px;
  box-shadow: var(--shadow);
}
.hero h1 {
  margin: 10px 0 16px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.04;
  max-width: 820px;
}
.lead {
  max-width: 700px;
  font-size: 18px;
  line-height: 1.9;
  color: #34404d;
}
.hero-actions, .tag-row, .pager {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.66);
}
.button.primary {
  color: white;
  background: linear-gradient(135deg, #0f766e, var(--accent));
  border-color: transparent;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin: 24px 0 18px;
}
.section-head.tight { margin-top: 28px; }
.section-head h1, .section-head h2 { margin: 6px 0 0; font-size: clamp(28px, 4vw, 42px); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.post-card, .list-item {
  border-radius: 24px;
  padding: 24px;
  transition: all .2s ease;
}
.post-card h3, .list-item h2 { margin: 10px 0 12px; font-size: 24px; line-height: 1.3; }
.post-card p, .list-item p { line-height: 1.8; }
.tag-row span {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
}
.stack-list { display: grid; gap: 16px; }
.article {
  border-radius: 32px;
  padding: 42px;
  margin-top: 28px;
  box-shadow: var(--shadow);
}
.article h1 { margin: 10px 0 18px; font-size: clamp(34px, 5vw, 56px); }
.content { margin-top: 28px; font-size: 18px; line-height: 1.95; }
.content h2, .content h3 { margin-top: 34px; }
.content pre {
  overflow: auto;
  padding: 18px;
  border-radius: 20px;
  background: #17202a;
  color: #ecf4ff;
}
.archive-list { display: grid; gap: 12px; margin-top: 18px; }
.archive-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  border-radius: 22px;
  transition: all .2s ease;
}
.pager { justify-content: space-between; margin-top: 22px; }
.site-footer {
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr; }
  .site-header, .site-footer, .section-head, .archive-item { display: block; }
  .hero, .article { padding: 28px; border-radius: 24px; }
  .nav { margin-top: 16px; }
}
