:root {
  --ink: #18201d;
  --muted: #5e6964;
  --brand: #16745b;
  --brand-dark: #0f5945;
  --surface: #f5f3ed;
  --card: #ffffff;
  --line: #dde4df;
  --accent: #f3c968;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(245, 243, 237, .92);
  border-bottom: 1px solid rgba(24, 32, 29, .08);
  backdrop-filter: blur(16px);
}
.site-header .wrap { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 12px; }
.header-cta, .primary-cta, .secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}
.header-cta, .primary-cta { color: #fff; background: var(--brand); }
.header-cta:hover, .primary-cta:hover { background: var(--brand-dark); }
.secondary-cta { color: var(--brand-dark); border: 1px solid var(--line); background: #fff; }
.secondary-cta:hover { color: #fff; border-color: var(--brand); background: var(--brand); }
.header-cta:focus-visible, .primary-cta:focus-visible, .secondary-cta:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.breadcrumbs { padding: 22px 0 0; color: var(--muted); font-size: .92rem; }
.breadcrumbs a { color: var(--brand); }
.hero { padding: 64px 0 42px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px; }
.eyebrow { color: var(--brand); font-size: .92rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
h1 { margin: 12px 0 20px; font-size: clamp(2.4rem, 6vw, 4.7rem); line-height: 1.08; letter-spacing: -.055em; }
.hero-copy { color: var(--muted); font-size: 1.16rem; max-width: 680px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-visual { padding: 26px; border-radius: 34px; background: #e3eee8; }
.hero-visual img { margin: auto; max-height: 520px; object-fit: contain; filter: drop-shadow(0 24px 36px rgba(19, 69, 53, .16)); }
.trust { margin-top: 18px; color: var(--muted); font-size: .9rem; }
.content { padding: 28px 0 80px; }
.section { margin-top: 28px; padding: 38px; border: 1px solid var(--line); border-radius: 28px; background: var(--card); }
.section h2 { margin: 0 0 14px; font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -.035em; }
.section h3 { margin-top: 28px; font-size: 1.2rem; }
.section p, .section li { color: #45504b; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.feature { padding: 22px; border-radius: 20px; background: #f7faf8; }
.feature strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: 1.08rem; }
.steps { counter-reset: step; display: grid; gap: 14px; margin: 24px 0 0; padding: 0; list-style: none; }
.steps li { position: relative; padding: 18px 18px 18px 66px; border-radius: 18px; background: #f7faf8; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 18px; top: 16px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: var(--brand); font-weight: 800; }
.note { padding: 18px 20px; border-left: 4px solid var(--accent); border-radius: 12px; background: #fff9e9; }
.faq details { padding: 18px 0; border-top: 1px solid var(--line); }
.faq details:first-of-type { border-top: 0; }
.faq summary { cursor: pointer; font-weight: 800; }
.related { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.related a { padding: 18px; border: 1px solid var(--line); border-radius: 16px; color: var(--brand-dark); background: #fff; font-weight: 750; text-decoration: none; }
.final-cta { text-align: center; color: #fff; background: var(--brand-dark); }
.final-cta h2, .final-cta p { color: #fff; }
footer { padding: 30px 0 52px; color: var(--muted); font-size: .9rem; }

/* Editorial guide pages */
.guide-page { background: #fbfaf6; }
.guide-page .site-header { background: rgba(251, 250, 246, .94); }
.guide-hero { max-width: 900px; padding-top: 76px; padding-bottom: 58px; text-align: center; }
.guide-kicker, .section-number, .answer-label { color: var(--brand); font-size: .78rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.guide-hero h1 { max-width: 880px; margin: 16px auto 24px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.7rem, 6vw, 5rem); font-weight: 500; line-height: 1.04; letter-spacing: -.045em; }
.guide-deck { max-width: 760px; margin: 0 auto; color: #46504c; font-size: clamp(1.08rem, 2vw, 1.28rem); line-height: 1.75; }
.guide-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; color: #7a827e; font-size: .88rem; }
.article-layout { display: grid; grid-template-columns: 210px minmax(0, 720px); justify-content: center; gap: 72px; padding-bottom: 100px; }
.guide-toc { position: sticky; top: 98px; align-self: start; display: grid; gap: 11px; padding: 20px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); font-size: .9rem; }
.guide-toc a { color: var(--muted); text-decoration: none; }
.guide-toc a:hover { color: var(--brand); }
.guide-body { min-width: 0; }
.guide-body > section { scroll-margin-top: 96px; margin-top: 76px; }
.guide-body > section:first-child { margin-top: 0; }
.guide-body h2 { margin: 8px 0 20px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 500; line-height: 1.15; letter-spacing: -.035em; }
.guide-body p, .guide-body li, .guide-table { color: #46504c; }
.answer-box { padding: 28px 30px; border-top: 4px solid var(--brand); background: #eef5f1; }
.answer-box p { margin: 10px 0 0; color: var(--ink); font-size: 1.08rem; }
.editorial-figure { margin: 54px 0 0; padding: 40px; background: #e7efe9; }
.editorial-figure img { max-height: 560px; margin: auto; filter: drop-shadow(0 20px 28px rgba(22, 66, 52, .18)); }
.editorial-figure figcaption { max-width: 560px; margin: 22px auto 0; color: var(--muted); font-size: .86rem; text-align: center; }
.process-list { display: grid; gap: 0; margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 100px 1fr; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.process-list li > span { color: var(--brand); font-size: .8rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.process-list strong { color: var(--ink); font-size: 1.05rem; }
.process-list p { margin: 4px 0 0; }
.table-scroll { overflow-x: auto; margin-top: 26px; }
.guide-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.guide-table th, .guide-table td { padding: 17px 16px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.guide-table thead th { color: #fff; background: var(--brand-dark); }
.guide-table tbody th { color: var(--ink); background: #f3f5f2; }
.editor-note, .limit-callout { margin-top: 24px; padding: 20px 22px; border-left: 4px solid var(--accent); background: #fff8e5; }
.risk-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 26px; overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.risk-grid > div { padding: 24px; background: #fff; }
.risk-grid strong { color: var(--ink); }
.risk-grid p { margin: 6px 0 0; }
.checklist { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; counter-reset: checks; }
.checklist li { position: relative; padding: 17px 18px 17px 54px; border-bottom: 1px solid var(--line); }
.checklist li::before { content: "✓"; position: absolute; left: 14px; top: 15px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #fff; background: var(--brand); font-weight: 900; }
.related-reading { padding-top: 34px; border-top: 2px solid var(--ink); }
.related-reading .related a { display: grid; gap: 5px; border-radius: 0; border-width: 0 0 1px; padding: 16px 0; background: transparent; }
.related-reading .related span { color: var(--muted); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.guide-product { padding: 58px 0; color: #fff; background: var(--brand-dark); }
.product-strip { display: grid; grid-template-columns: 1.2fr auto; align-items: center; gap: 48px; }
.product-strip h2 { margin: 8px 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 500; line-height: 1.1; }
.product-strip p { margin: 0; color: rgba(255,255,255,.8); }
.guide-product .guide-kicker { color: var(--accent); }
.guide-product .cta-row { margin-top: 0; }
.guide-product .secondary-cta { border-color: rgba(255,255,255,.35); }

@media (max-width: 760px) {
  .wrap { width: min(100% - 28px, 1080px); }
  .site-header .wrap { min-height: 60px; }
  .header-cta { min-height: 42px; padding: 0 14px; }
  .hero { padding-top: 42px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-visual { padding: 18px; }
  .section { padding: 26px 20px; border-radius: 22px; }
  .grid-3, .related { grid-template-columns: 1fr; }
  .primary-cta, .secondary-cta { width: 100%; }
  .guide-hero { padding-top: 48px; padding-bottom: 42px; text-align: left; }
  .guide-hero h1 { margin-left: 0; }
  .guide-meta { justify-content: flex-start; }
  .article-layout { grid-template-columns: 1fr; gap: 34px; }
  .guide-toc { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 18px; background: #fff; }
  .guide-toc strong { grid-column: 1 / -1; }
  .guide-body > section { margin-top: 58px; }
  .editorial-figure { margin-left: -14px; margin-right: -14px; padding: 24px 18px; }
  .risk-grid { grid-template-columns: 1fr; }
  .process-list li { grid-template-columns: 76px 1fr; gap: 14px; }
  .product-strip { grid-template-columns: 1fr; gap: 26px; }
  .guide-product .cta-row { width: 100%; }
}
