* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
  background: #f6f7f9;
  color: #222;
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 32px, 1080px);
  margin: 0 auto;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  color: #111827;
}

nav a {
  margin-left: 18px;
  font-size: 14px;
  color: #4b5563;
}

.hero {
  margin: 34px 0 28px;
  padding: 34px;
  background: linear-gradient(135deg, #111827, #374151);
  color: #fff;
  border-radius: 22px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.35;
}

.hero p {
  margin: 0;
  color: #e5e7eb;
  font-size: 16px;
}

.section-title h2 {
  font-size: 24px;
  margin: 30px 0 18px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.post-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 22px;
  transition: 0.2s;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.post-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.45;
}

.post-card p {
  font-size: 14px;
  color: #6b7280;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
  color: #2563eb;
}

.article {
  max-width: 820px;
  margin: 34px auto;
  background: #fff;
  padding: 34px;
  border-radius: 22px;
  border: 1px solid #e5e7eb;
}

.article-head h1 {
  font-size: 32px;
  line-height: 1.35;
  margin: 0 0 8px;
}

.date {
  color: #6b7280;
  font-size: 14px;
}

.article-content h2 {
  margin-top: 34px;
  font-size: 24px;
  border-left: 5px solid #2563eb;
  padding-left: 12px;
}

.article-content p {
  font-size: 16px;
  margin: 16px 0;
}

.article-content ul {
  background: #f9fafb;
  padding: 18px 22px 18px 38px;
  border-radius: 14px;
}

.article-content img {
  max-width: 100%;
  border-radius: 16px;
  margin: 20px 0;
}

.cta-box {
  margin: 34px 0;
  padding: 24px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 18px;
  text-align: center;
}

.cta-box p {
  margin-top: 0;
  color: #7c2d12;
}

.cta-btn {
  display: inline-block;
  background: #f97316;
  color: #fff;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 800;
}

.origin-box {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #e5e7eb;
  text-align: right;
  color: #2563eb;
  font-weight: 700;
}

.site-footer {
  margin-top: 50px;
  padding: 30px 0;
  background: #111827;
  color: #d1d5db;
  font-size: 14px;
}

@media (max-width: 800px) {
  .post-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 26px;
  }

  .article {
    padding: 24px;
  }

  nav a {
    margin-left: 10px;
  }
}