:root {
  --bg: #f7f5ec;
  --ink: #1c3b28;
  --muted: rgba(28, 59, 40, .65);
  --muted-3: rgba(28, 59, 40, .45);
  --accent-text: #4d8a2c;
  --card-border: #ece8d8;
  color-scheme: light;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Apple SD Gothic Neo", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.65;
}
a { color: var(--accent-text); text-decoration: none; }
a:hover { color: var(--ink); text-decoration: underline; }
.wordmark { font-family: Fredoka, sans-serif; font-weight: 600; }
.shell { width: 100%; max-width: 1280px; margin: 0 auto; }
.header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px 20px; flex-wrap: wrap; padding: 24px 24px 0;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: inherit; text-decoration: none;
}
.brand:hover { text-decoration: none; color: inherit; }
.brand img { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; display: block; }
.brand .wordmark { font-size: 19px; }
.nav { display: flex; align-items: center; gap: 16px; }
.nav a { font-size: 13px; color: rgba(28, 59, 40, .7); text-decoration: none; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.prose { max-width: 720px; padding: 28px 24px 8px; }
.prose h1 {
  font-family: Fredoka, sans-serif; font-weight: 600; font-size: 32px; margin: 0 0 8px;
}
.prose h2 {
  font-family: Fredoka, sans-serif; font-weight: 600; font-size: 22px; margin: 28px 0 12px;
}
.prose h3 {
  font-family: Fredoka, sans-serif; font-weight: 600; font-size: 17px; margin: 24px 0 8px;
}
.prose p, .prose li { font-size: 15px; color: rgba(28, 59, 40, .82); }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 16px; padding-left: 1.2em; }
.prose .meta { font-size: 13px; color: var(--muted-3); margin-bottom: 20px; }
.footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px 16px; padding: 18px 24px 26px; border-top: 1px solid var(--card-border);
  font-size: 12px; color: var(--muted-3); margin-top: 40px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 12px; }
@media (min-width: 800px) {
  .header { padding: 28px 64px; }
  .brand img { width: 38px; height: 38px; }
  .nav { gap: 28px; }
  .nav a { font-size: 14px; }
  .prose { padding: 40px 64px 12px; }
  .footer { padding: 26px 64px; }
}
