:root {
  --primary: #03C75A;
  --primary-dark: #08783F;
  --text: #1a1a24;
  --text-soft: #5b5b6b;
  --border: #e3e6e8;
  --bg-soft: #f7f9f8;
  --card-radius: 0.75rem;
  --max-width: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  color: var(--text);
  font-weight: 400;
  line-height: 1.6;
  word-break: keep-all;
}
h1, h2, h3, h4 { font-weight: 800; line-height: 1.3; margin: 0 0 0.75rem; }
p { margin: 0 0 1rem; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.section { max-width: var(--max-width); margin: 0 auto; padding: 5rem 1.5rem; }
.section-narrow { max-width: 860px; margin: 0 auto; padding: 5rem 1.5rem; }

/* Buttons - btn-pill */
.btn-primary {
  display: inline-block;
  border-radius: 9999px;
  padding: 0.85rem 2rem;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--border); }
.header-inner { max-width: var(--max-width); margin: 0 auto; padding: 0.9rem 1.5rem; display: flex; align-items: center; gap: 1.5rem; }
.logo img { height: 32px; width: auto; }
.main-nav { display: flex; gap: 1.75rem; margin-right: auto; margin-left: 2rem; }
.main-nav a { text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--text); }
.main-nav a:hover { color: var(--primary-dark); }
.header-cta { font-size: 0.9rem; padding: 0.65rem 1.4rem; }
.nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); }

@media (max-width: 768px) {
  .main-nav { position: fixed; top: 65px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 0; max-height: 0; overflow: hidden; margin: 0; border-bottom: 1px solid var(--border); transition: max-height .25s; }
  .main-nav.open { max-height: 300px; }
  .main-nav a { padding: 1rem 1.5rem; border-top: 1px solid var(--border); }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* Hero - hero-copy */
.hero-copy {
  padding: 6rem 1.5rem 5rem;
  text-align: center;
  background: linear-gradient(180deg, #f0fbf4 0%, #ffffff 100%);
}
.hero-copy .hero-inner { max-width: 780px; margin: 0 auto; }
.hero-copy h1 {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  letter-spacing: -0.02em;
  color: var(--text);
}
.hero-copy h1 span { color: var(--primary-dark); }
.hero-copy .hero-sub { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-soft); margin-bottom: 2.25rem; }
.hero-copy .btn-primary { font-size: 1.05rem; padding: 1rem 2.5rem; }

/* Section heading (label-none: no badge, just heading + optional eyebrow text) */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head .eyebrow { color: var(--primary-dark); font-weight: 700; font-size: 0.9rem; margin-bottom: 0.5rem; }
.section-head h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.section-head p { color: var(--text-soft); }

/* Article grid - grid-3 */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 1024px) { .article-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .article-grid { grid-template-columns: 1fr; } }

.article-card {
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: all .3s;
  cursor: pointer;
  text-decoration: none;
  display: block;
  background: #fff;
}
.article-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.12); border-color: var(--primary); }
.article-card .thumb { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-soft); }
.article-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-card .card-body { padding: 1.25rem; }
.article-card .tag { display: inline-block; font-size: 0.75rem; font-weight: 700; color: var(--primary-dark); background: #e8f9ee; padding: 0.25rem 0.7rem; border-radius: 999px; margin-bottom: 0.6rem; }
.article-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.article-card .summary { font-size: 0.9rem; color: var(--text-soft); margin-bottom: 0.75rem; }
.article-card .more { font-size: 0.85rem; font-weight: 700; color: var(--primary-dark); }

/* Mid banner */
.mid-banner {
  max-width: var(--max-width); margin: 0 auto 5rem; padding: 2.5rem 2rem;
  background: var(--bg-soft); border-radius: 1rem; text-align: center;
}
.mid-banner h3 { font-size: 1.3rem; margin-bottom: 1.25rem; }

/* Why sinnam cards */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 1024px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .why-grid { grid-template-columns: 1fr; } }
.why-card { border: 1px solid var(--border); border-radius: var(--card-radius); padding: 1.75rem 1.5rem; }
.why-card .num { font-family: monospace; color: var(--primary); font-weight: 700; font-size: 0.85rem; }
.why-card h3 { font-size: 1.1rem; margin: 0.5rem 0; }
.why-card p { font-size: 0.9rem; color: var(--text-soft); margin: 0; }

/* Process */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .process-grid { grid-template-columns: 1fr; } }
.process-step { text-align: center; }
.process-step .badge { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.process-step h3 { font-size: 1rem; }
.process-step p { font-size: 0.88rem; color: var(--text-soft); }

/* About */
.about-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.5rem; }
@media (max-width: 640px) { .about-facts { grid-template-columns: 1fr; } }
.about-facts .fact { border-left: 3px solid var(--primary); padding: 0.5rem 0 0.5rem 1rem; font-size: 0.92rem; color: var(--text-soft); }

/* FAQ accordion */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 1.25rem 0; font-size: 1.02rem; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-q::after { content: "+"; font-size: 1.4rem; color: var(--primary); flex-shrink: 0; transition: transform .2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; font-size: 0.94rem; color: var(--text-soft); transition: max-height .25s ease; }
.faq-item.open .faq-a { max-height: 500px; padding-bottom: 1.25rem; }

/* CTA section */
.cta-section { background: var(--bg-soft); text-align: center; padding: 5rem 1.5rem; }
.cta-section blockquote { font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 800; margin: 0 0 2rem; }

/* Footer */
.site-footer { background: #14151a; color: #cfd2d6; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; padding: 3.5rem 1.5rem 2rem; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 0.9rem; }
.footer-col a { display: block; text-decoration: none; color: #a7abb2; font-size: 0.88rem; margin-bottom: 0.6rem; }
.footer-col img { filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer-col p { font-size: 0.85rem; color: #8b8f96; }
.footer-bottom { border-top: 1px solid #2a2c33; padding: 1.25rem 1.5rem; text-align: center; font-size: 0.8rem; color: #7c8087; }

/* Floating CTA */
.floating-cta {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 60;
  background: var(--primary); color: #fff; text-decoration: none;
  padding: 1rem 1.5rem; border-radius: 9999px; font-weight: 700;
  box-shadow: 0 8px 24px rgba(3,199,90,.35);
}
.floating-cta:hover { background: var(--primary-dark); }

/* Article detail */
.article-hero { max-width: 820px; margin: 0 auto; padding: 4rem 1.5rem 2rem; text-align: center; }
.article-hero .back-link { display: inline-block; margin-bottom: 1.5rem; font-size: 0.88rem; color: var(--text-soft); text-decoration: none; }
.article-hero h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.article-hero .subtitle { color: var(--text-soft); font-size: 1.05rem; }
.article-body { max-width: 780px; margin: 0 auto; padding: 0 1.5rem 4rem; }
.article-body blockquote.hook { border-left: 4px solid var(--primary); background: var(--bg-soft); padding: 1.25rem 1.5rem; font-size: 1.1rem; font-weight: 700; margin: 0 0 2.5rem; border-radius: 0 0.5rem 0.5rem 0; }
.article-body h2 { font-size: 1.35rem; margin-top: 3rem; }
.key-message-box { background: #e8f9ee; border: 1px solid #b8ecc9; border-radius: var(--card-radius); padding: 1.75rem; margin: 2rem 0; font-size: 1.05rem; font-weight: 700; color: var(--primary-dark); }
.compare-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.compare-table th, .compare-table td { border: 1px solid var(--border); padding: 0.85rem; text-align: left; font-size: 0.92rem; }
.compare-table th { background: var(--bg-soft); font-weight: 700; }
.differentiator-box { border: 1px solid var(--border); border-left: 4px solid var(--primary-dark); border-radius: 0.5rem; padding: 1.5rem; margin: 2rem 0; }
.checklist { list-style: none; padding: 0; margin: 1.5rem 0; }
.checklist li { padding: 0.6rem 0 0.6rem 1.7rem; position: relative; font-size: 0.95rem; border-bottom: 1px dashed var(--border); }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 800; }
.scenario-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: 1.5rem 0; }
@media (max-width: 640px) { .scenario-grid { grid-template-columns: 1fr; } }
.scenario-card { border: 1px solid var(--border); border-radius: var(--card-radius); padding: 1.5rem; }
.scenario-card .label { font-size: 0.78rem; font-weight: 700; color: var(--primary-dark); }
.scenario-card h3 { font-size: 1.02rem; margin: 0.4rem 0 0.5rem; }
.scenario-card p { font-size: 0.9rem; color: var(--text-soft); margin: 0; }
.closing-cta { text-align: center; background: var(--bg-soft); border-radius: 1rem; padding: 2.5rem; margin: 3rem 0; }
.closing-cta blockquote { font-size: 1.2rem; font-weight: 700; margin: 0 0 1.5rem; }
.related-articles { max-width: 780px; margin: 0 auto; padding: 0 1.5rem 4rem; }
.related-articles h2 { font-size: 1.2rem; }

/* Breadcrumb */
.breadcrumb { max-width: 780px; margin: 1.5rem auto 0; padding: 0 1.5rem; font-size: 0.82rem; color: var(--text-soft); }
.breadcrumb a { color: var(--text-soft); text-decoration: none; }
