@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

:root {
  --brand: #f0472a;
  --brand-dark: #c9351b;
  --brand-soft: #fff1ec;
  --olive: #566b24;
  --olive-dark: #33401a;
  --olive-soft: #eef1e3;
  --olive-line: #d4dbbb;
  --ink: #16181d;
  --ink-2: #4a4f59;
  --ink-3: #8a909b;
  --line: #e9ebef;
  --bg: #ffffff;
  --bg-2: #f7f8fa;
  --code-bg: #1d2027;
  --code-ink: #eef0f4;
  --radius: 16px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* 헤더 */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: grid; place-items: center;
  font-size: 9px; font-weight: 900; line-height: 1; text-align: center; letter-spacing: -.02em;
}
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px;
  font-weight: 700; font-size: 15px; border: 0; cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-dark); }
.btn-ghost { background: var(--olive-soft); color: var(--olive-dark); border: 1px solid var(--olive-line); }
.btn-ghost:hover { background: #e3e8d2; }
.btn-olive { background: var(--olive); color: #fff; }
.btn-olive:hover { background: var(--olive-dark); }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* 메인 히어로 */
.hero { padding: 88px 0 72px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--brand); background: var(--brand-soft); padding: 6px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.18; letter-spacing: -.035em; margin: 18px 0 18px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero p.lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 620px; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* 섹션 */
section { padding: 64px 0; }
.section-alt { background: var(--olive-soft); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.03em; margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--ink-2); }
.more { font-weight: 700; color: var(--brand); white-space: nowrap; }

/* 카드 */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(22,24,29,.08); }
.card-cover {
  aspect-ratio: 16/10; background: linear-gradient(135deg, var(--brand) 0%, #ff8a5c 100%);
  color: #fff; padding: 22px; display: flex; flex-direction: column; justify-content: space-between;
}
.card-cover .num { font-size: 13px; font-weight: 700; opacity: .85; }
.card-cover .big { font-size: 24px; font-weight: 800; line-height: 1.25; letter-spacing: -.03em; }
.card-cover.soon { background: linear-gradient(135deg, #46581d 0%, #73873a 100%); color: #fff; }
.card-cover.olive { background: linear-gradient(135deg, #46581d 0%, #73873a 100%); }
.card-body { padding: 18px 20px 22px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--brand); background: var(--brand-soft); padding: 4px 10px; border-radius: 999px; }
.tag.gray { color: var(--olive); background: var(--olive-soft); }
.tag.olive { color: var(--olive); background: var(--olive-soft); }
.card-body h3 { font-size: 18px; margin: 10px 0 6px; letter-spacing: -.02em; }
.card-body p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

/* 서비스 */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.service .icon { font-size: 24px; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--olive-soft); border: 1px solid var(--olive-line); }
.service h3 { margin: 12px 0 8px; font-size: 19px; letter-spacing: -.02em; }
.service p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* CTA 띠 */
.cta-band { background: var(--olive-dark); color: #fff; border-radius: 24px; padding: 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { margin: 0 0 6px; font-size: clamp(22px, 3vw, 30px); letter-spacing: -.03em; }
.cta-band p { margin: 0; color: #cfd8b4; }

/* 자료 상세 */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 20px 80px; }
.breadcrumb { font-size: 14px; color: var(--ink-3); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--ink); }
.doc h1 { font-size: clamp(30px, 4.6vw, 44px); letter-spacing: -.035em; line-height: 1.2; margin: 12px 0 14px; }
.doc .meta { color: var(--ink-3); font-size: 14px; }
.doc h2 { font-size: 24px; letter-spacing: -.03em; margin: 56px 0 14px; padding-top: 8px; }
.doc h2 .step { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 15px; margin-right: 10px; vertical-align: 3px; }
.doc h3 { font-size: 18px; margin: 28px 0 10px; }
.doc p, .doc li { font-size: 16.5px; color: #2b2f37; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }

.box { border-radius: 14px; padding: 18px 20px; margin: 20px 0; font-size: 15.5px; }
.box p { margin: 0; font-size: 15.5px; }
.box p + p, .box ul { margin-top: 8px; }
.box-brand { background: var(--brand-soft); border: 1px solid #ffd9cc; }
.box-info { background: #eef5ff; border: 1px solid #d6e6ff; }
.box-warn { background: #fff4f2; border: 1px solid #ffd6cf; }
.box-tip { background: var(--olive-soft); border: 1px solid var(--olive-line); }
.box strong.title { display: block; margin-bottom: 4px; font-size: 16px; }

.toc { background: var(--olive-soft); border: 1px solid var(--olive-line); border-radius: 14px; padding: 18px 22px; margin: 26px 0; }
.toc strong { font-size: 14px; color: var(--ink-3); }
.toc ol { margin: 8px 0 0; padding-left: 20px; }
.toc li { font-size: 15px; margin: 4px 0; }
.toc a:hover { color: var(--brand); }

table.simple { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
table.simple th, table.simple td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.simple th { background: var(--bg-2); font-weight: 700; }

/* 프롬프트 복사 상자 */
.prompt { position: relative; margin: 18px 0; border-radius: 14px; background: var(--code-bg); overflow: hidden; }
.prompt-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: #272b33; color: #aab0bb; font-size: 13px; font-weight: 600; }
.copy-btn { background: var(--brand); color: #fff; border: 0; border-radius: 8px; padding: 6px 12px; font: inherit; font-weight: 700; cursor: pointer; }
.copy-btn.done { background: #2fa36b; }
.prompt pre { margin: 0; padding: 16px 18px 18px; color: var(--code-ink); white-space: pre-wrap; word-break: keep-all; font-family: "Pretendard", ui-monospace, monospace; font-size: 14.5px; line-height: 1.7; }

details { border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; margin: 12px 0; background: #fff; }
details summary { cursor: pointer; font-weight: 700; padding: 12px 0; list-style: none; }
details summary::after { content: "＋"; float: right; color: var(--ink-3); }
details[open] summary::after { content: "－"; }
details summary::-webkit-details-marker { display: none; }

.checklist { list-style: none; padding: 0 !important; }
.checklist li { padding-left: 32px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border: 2px solid var(--olive); border-radius: 6px; }

.doc-end { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 56px; }
.doc-end .box { margin: 0; }

/* 푸터 */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 44px; color: var(--ink-3); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a:hover { color: var(--ink); }

/* 휴대폰 */
@media (max-width: 860px) {
  .cards, .services { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 32px 26px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .nav .hide-sm { display: none; }
  .nav { gap: 14px; }
  .hero { padding: 56px 0 48px; }
  section { padding: 48px 0; }
  .cards, .services, .doc-end { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .doc { padding: 32px 16px 64px; }
}
