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

body {
  background: #fafaf8;
  color: #1a1a1a;
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ── Navigation ── */
.blog-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  max-width: 720px;
  margin: 0 auto;
  border-bottom: 1px solid #eee;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  color: #1a1a1a;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-logo {
  height: 32px;
  width: auto;
  display: block;
}

.nav-brand strong { font-weight: 700; }

.nav-links {
  display: flex;
  gap: 16px;
  font-size: 14px;
  align-items: center;
}

.nav-links a {
  color: #666;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.nav-links a:hover { color: #1a1a1a; }

/* ── Breadcrumbs ── */
.breadcrumb {
  max-width: 620px;
  margin: 0 auto;
  padding: 16px 24px 0;
  font-size: 13px;
  color: #999;
  letter-spacing: 0.02em;
}

.breadcrumb a {
  color: #888;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover { color: #1a1a1a; }

.breadcrumb span { margin: 0 6px; color: #ccc; }

.breadcrumb .current {
  color: #666;
  display: inline-block;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

/* ── Article ── */
.article, .blog-index {
  max-width: 620px;
  margin: 0 auto;
  padding: 32px 24px 60px;
}

.article-header { margin-bottom: 40px; }

.article h1, .blog-index h1 {
  font-size: 34px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.article-meta {
  font-size: 13px;
  color: #999;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.meta-sep { color: #ccc; }

.reading-time {
  color: #888;
  font-style: italic;
}

.article-body h2 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 14px;
  color: #1a1a1a;
  letter-spacing: -0.01em;
}

.article-body p {
  font-size: 16.5px;
  color: #333;
  margin-bottom: 22px;
  letter-spacing: 0.01em;
}

.article-body p:first-child::first-letter {
  font-size: 3.2em;
  float: left;
  line-height: 0.8;
  margin-right: 8px;
  margin-top: 6px;
  color: #1a1a1a;
  font-weight: 400;
}

.article-body ul, .article-body ol {
  margin: 0 0 22px 24px;
  font-size: 16.5px;
  color: #333;
}

.article-body li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.article-body strong { color: #1a1a1a; }

.article-body blockquote {
  border-left: 3px solid #1a1a1a;
  margin: 32px 0;
  padding: 16px 24px;
  font-style: italic;
  color: #555;
  background: #f9f9f6;
}

/* ── Disclaimer ── */
.disclaimer {
  margin-top: 48px;
  padding: 20px 24px;
  background: #f5f4f0;
  border-left: 3px solid #ccc;
  font-size: 13px;
  color: #666;
  line-height: 1.7;
  font-style: italic;
  border-radius: 0 4px 4px 0;
}

/* ── CTA Box ── */
.cta-box {
  margin-top: 48px;
  text-align: center;
  padding: 44px 24px;
  border-top: 1px solid #e5e4e0;
  border-bottom: 1px solid #e5e4e0;
  background: linear-gradient(180deg, #fafaf8 0%, #f5f4f0 100%);
}

.cta-secondary {
  background: #fafaf8;
  border-bottom: none;
  padding-bottom: 24px;
}

.cta-headline {
  font-size: 21px;
  font-weight: 400;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.cta-sub {
  font-size: 14px;
  color: #888;
  margin-bottom: 22px;
}

.cta-btn {
  display: inline-block;
  background: #1a1a1a;
  color: #fafaf8;
  padding: 14px 36px;
  text-decoration: none;
  font-family: Georgia, serif;
  font-size: 15px;
  letter-spacing: 0.05em;
  transition: all 0.25s ease;
  border-radius: 2px;
}

.cta-btn:hover {
  background: #333;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-outline {
  background: transparent;
  color: #1a1a1a;
  border: 1.5px solid #1a1a1a;
}

.btn-outline:hover {
  background: #1a1a1a;
  color: #fafaf8;
}

/* ── Related Articles ── */
.related-articles {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid #e5e4e0;
}

.related-articles h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 24px;
  color: #1a1a1a;
  letter-spacing: 0.02em;
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.related-card {
  display: block;
  padding: 20px;
  border: 1px solid #e5e4e0;
  border-radius: 6px;
  text-decoration: none;
  color: #1a1a1a;
  transition: all 0.2s ease;
  background: #fff;
}

.related-card:hover {
  border-color: #ccc;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.related-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Back to articles ── */
.back-to-articles {
  text-align: center;
  padding: 32px 0;
}

.back-to-articles a {
  color: #888;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.back-to-articles a:hover { color: #1a1a1a; }

/* ── Footer ── */
.blog-footer {
  text-align: center;
  padding: 40px 24px;
  font-size: 13px;
  color: #999;
  border-top: 1px solid #eee;
  max-width: 720px;
  margin: 0 auto;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.footer-nav a {
  color: #888;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.footer-nav a:hover { color: #1a1a1a; }

.blog-footer p a { color: #999; text-decoration: none; }
.blog-footer p a:hover { color: #1a1a1a; }

/* ── Blog Index ── */
.index-header {
  margin-bottom: 8px;
}

.index-count {
  font-size: 14px;
  color: #888;
  margin-top: 8px;
  letter-spacing: 0.02em;
}

.article-list {
  list-style: none;
  margin-top: 32px;
}

.article-list li {
  border-bottom: 1px solid #eee;
}

.article-list li:last-child { border-bottom: none; }

.article-list a {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  text-decoration: none;
  color: #1a1a1a;
  transition: all 0.2s;
}

.article-list a:hover { opacity: 0.7; }

.article-number {
  font-size: 14px;
  color: #ccc;
  font-weight: 500;
  min-width: 28px;
  padding-top: 3px;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.05em;
}

.article-info { flex: 1; }

.article-list h2 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 6px;
  line-height: 1.4;
}

.article-list p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* ── FAQ ── */
.faq details {
  border-bottom: 1px solid #e5e4e0;
  padding: 16px 0;
}

.faq summary {
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 0;
  list-style: none;
  transition: color 0.2s;
}

.faq summary:hover { color: #555; }

.faq summary::-webkit-details-marker { display: none; }

.faq summary::before {
  content: '+';
  display: inline-block;
  width: 24px;
  font-weight: 300;
  color: #999;
  font-size: 18px;
  transition: transform 0.2s;
}

.faq details[open] summary::before {
  content: '\2212';
  transform: rotate(180deg);
}

.faq details p {
  font-size: 15px;
  color: #444;
  padding: 8px 0 8px 24px;
  line-height: 1.8;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .article h1, .blog-index h1 { font-size: 26px; }
  .article-body h2 { font-size: 17px; }
  .article-body p { font-size: 15px; }
  .article-body p:first-child::first-letter {
    font-size: 2.6em;
    margin-top: 4px;
  }
  .related-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .related-card { padding: 16px; }
  .breadcrumb .current { max-width: 160px; }
  .blog-nav { padding: 16px 20px; }
  .nav-logo { height: 26px; }
  .nav-brand { gap: 8px; font-size: 16px; }
  .article, .blog-index { padding: 24px 20px 48px; }
  .cta-box { padding: 32px 20px; }
  .nav-links { gap: 12px; font-size: 13px; }
  .article-list a { gap: 14px; }
}

/* ── Print ── */
@media print {
  .blog-nav, .breadcrumb, .cta-box, .cta-secondary,
  .related-articles, .back-to-articles, .blog-footer { display: none; }
  .article { max-width: 100%; padding: 0; }
  body { background: #fff; }
}