/* debutkit 사이트. 제품 문서 형식: 흰 배경, Slate 글자, 얇은 구분선, 표와 실제 화면 중심.
   브랜드 Pink는 로고와 현재 위치 표시에만 사용. 링크와 다운로드 버튼은 Pink Deep(#BF3B68). */

:root {
  --text: #1e2327;
  --muted: #5b6670;
  --line: #e3dfdb;
  --line-strong: #c9c3bd;
  --panel: #faf7f5;
  --bg: #ffffff;
  --link: #5b3fc4;
  --accent: #a98bf7;

  --body: "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans CJK KR", sans-serif;
  --code: "JetBrains Mono", "Cascadia Mono", Consolas, "Noto Sans KR", monospace;
  --wrap: 1080px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.35; letter-spacing: -0.01em; color: var(--text); }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: #fff; padding: 8px 14px; border-radius: 3px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }

/* ---------------------------------------------------------------- header */
.top { border-bottom: 1px solid var(--line); background: var(--bg); }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.lockup { display: inline-flex; align-items: center; flex: none; margin-left: -8px; }
.lockup img { height: 40px; width: auto; }
.nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 2px 24px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); font-weight: 700; border-bottom-color: var(--accent); }

/* ---------------------------------------------------------------- shared */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: 3px; border: 1px solid var(--text);
  background: var(--text); color: #fff; font: 600 15px/1.2 var(--body); text-decoration: none;
}
.btn:hover { background: #343b40; }
.btn.secondary { background: #fff; color: var(--text); border-color: var(--line-strong); }
.btn.secondary:hover { border-color: var(--text); background: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; }
code, kbd { font-family: var(--code); font-size: 0.88em; }
code { background: var(--panel); border: 1px solid var(--line); padding: 0.05em 0.35em; border-radius: 3px; }
pre { margin: 12px 0; padding: 14px 16px; border-radius: 3px; background: var(--panel); border: 1px solid var(--line); overflow-x: auto; font: 14px/1.6 var(--code); }
pre code { background: none; border: 0; padding: 0; font-size: 1em; }
pre.wrap { white-space: pre-wrap; word-break: break-all; }
/* 표 안에서는 단어 중간을 끊지 않아 좁은 열(기본값 등)의 낱말이 쪼개지지 않게 한다 */
table { width: 100%; border-collapse: collapse; font-size: 15px; overflow-wrap: break-word; }
th, td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
thead th { font-size: 14px; font-weight: 700; background: var(--panel); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
tbody th { font-weight: 700; white-space: nowrap; width: 1%; }
.tablewrap { overflow-x: auto; }
figure { margin: 0; }
figure img { border: 1px solid var(--line); width: 100%; }
figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.muted { color: var(--muted); }

/* ---------------------------------------------------------------- home: 상품 상세 형식
   왼쪽 화면 모음과 설명, 오른쪽 고정 요약 카드(다운로드), 아래 관련 페이지와 키워드 */
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.product {
  display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px 40px; align-items: start; padding: 28px 0 48px;
  grid-template-areas: "gallery side" "body side";
}
.gallery { grid-area: gallery; min-width: 0; }
.side { grid-area: side; align-self: stretch; }
.body { grid-area: body; min-width: 0; }

.slide { display: none; }
/* 화면 모음 12장: 고른 라디오 버튼의 화면만 표시 */
#shot-1:checked ~ .slides #slide-1, #shot-2:checked ~ .slides #slide-2, #shot-3:checked ~ .slides #slide-3, #shot-4:checked ~ .slides #slide-4,
#shot-5:checked ~ .slides #slide-5, #shot-6:checked ~ .slides #slide-6, #shot-7:checked ~ .slides #slide-7, #shot-8:checked ~ .slides #slide-8,
#shot-9:checked ~ .slides #slide-9, #shot-10:checked ~ .slides #slide-10, #shot-11:checked ~ .slides #slide-11, #shot-12:checked ~ .slides #slide-12 { display: block; }
.stage { position: relative; aspect-ratio: 4 / 3; background: #f1ede9; border-radius: 10px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.stage img { width: 100%; height: 100%; object-fit: contain; border: 0; }
.turn {
  position: absolute; top: 50%; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; background: #fff; cursor: pointer;
  box-shadow: 0 1px 4px rgba(30, 35, 39, 0.25);
}
.turn::before { content: ""; position: absolute; top: 15px; width: 9px; height: 9px; border: solid var(--text); border-width: 0 2px 2px 0; }
.turn.prev { left: 12px; }
.turn.prev::before { left: 16px; transform: rotate(135deg); }
.turn.next { right: 12px; }
.turn.next::before { left: 13px; transform: rotate(-45deg); }
.turn:hover { box-shadow: 0 1px 6px rgba(30, 35, 39, 0.4); }
.count { position: absolute; right: 12px; top: 12px; padding: 1px 10px; border-radius: 999px; background: rgba(30, 35, 39, 0.72); color: #fff; font: 12px/1.7 var(--code); }
.thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.thumbs label { aspect-ratio: 4 / 3; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: #f1ede9; cursor: pointer; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; object-position: left top; border: 0; }
.thumbs label:hover { border-color: var(--line-strong); }
#shot-1:checked ~ .thumbs label[for="shot-1"], #shot-2:checked ~ .thumbs label[for="shot-2"], #shot-3:checked ~ .thumbs label[for="shot-3"],
#shot-4:checked ~ .thumbs label[for="shot-4"], #shot-5:checked ~ .thumbs label[for="shot-5"], #shot-6:checked ~ .thumbs label[for="shot-6"],
#shot-7:checked ~ .thumbs label[for="shot-7"], #shot-8:checked ~ .thumbs label[for="shot-8"], #shot-9:checked ~ .thumbs label[for="shot-9"],
#shot-10:checked ~ .thumbs label[for="shot-10"], #shot-11:checked ~ .thumbs label[for="shot-11"], #shot-12:checked ~ .thumbs label[for="shot-12"] { border-color: var(--link); }
#shot-1:focus-visible ~ .thumbs label[for="shot-1"], #shot-2:focus-visible ~ .thumbs label[for="shot-2"], #shot-3:focus-visible ~ .thumbs label[for="shot-3"],
#shot-4:focus-visible ~ .thumbs label[for="shot-4"], #shot-5:focus-visible ~ .thumbs label[for="shot-5"], #shot-6:focus-visible ~ .thumbs label[for="shot-6"],
#shot-7:focus-visible ~ .thumbs label[for="shot-7"], #shot-8:focus-visible ~ .thumbs label[for="shot-8"], #shot-9:focus-visible ~ .thumbs label[for="shot-9"],
#shot-10:focus-visible ~ .thumbs label[for="shot-10"], #shot-11:focus-visible ~ .thumbs label[for="shot-11"], #shot-12:focus-visible ~ .thumbs label[for="shot-12"] { outline: 2px solid var(--link); outline-offset: 2px; }

.card { position: sticky; top: 20px; border: 1px solid var(--line); border-radius: 12px; padding: 22px 22px 20px; background: #fff; box-shadow: 0 2px 10px rgba(30, 35, 39, 0.06); }
.maker { margin: 0; font-size: 13px; color: var(--muted); }
.card h1 { margin: 4px 0 0; font-size: 26px; font-weight: 700; }
.kind { margin: 2px 0 0; color: var(--muted); }
.price { margin: 16px 0 0; font-size: 26px; font-weight: 700; line-height: 1.3; }
.price-note { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.meta { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 16px 0; padding: 14px 0 0; border-top: 1px solid var(--line); font-size: 14px; }
.meta dt { color: var(--muted); }
.meta dd { margin: 0; }
.files { margin: 0 0 14px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }
.files summary { cursor: pointer; padding: 11px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.files summary::-webkit-details-marker { display: none; }
.files summary::after { content: ""; width: 7px; height: 7px; margin-right: 4px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.files[open] summary::after { transform: rotate(-135deg); }
.files ul { margin: 0 0 12px; padding-left: 1.1em; }
.files li { margin: 3px 0; }
.btn.primary { background: var(--link); border-color: var(--link); }
.btn.primary:hover { background: #a8325b; }
.btn.block { display: flex; width: 100%; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.card-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); line-height: 1.6; }

/* 상세 설명 메뉴: 내려 읽는 동안 위에 고정(좁으면 가로로 넘김) */
.tabs {
  display: flex; gap: 24px; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; background: var(--bg);
  overflow-x: auto; white-space: nowrap; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs a { padding: 10px 0; color: var(--muted); font-weight: 600; text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a:first-child { color: var(--text); border-bottom-color: var(--text); }
.tabs a:hover { color: var(--text); }
.part { padding: 28px 0 28px; border-bottom: 1px solid var(--line); scroll-margin-top: 48px; }
.part:last-child { border-bottom: 0; }
.part h2 { margin: 0 0 12px; font-size: 22px; font-weight: 700; }
.part h3 { margin: 24px 0 8px; font-size: 17px; font-weight: 700; }
.part p { margin: 10px 0; }
.part ul { margin: 8px 0; padding-left: 1.2em; }
.part li { margin: 4px 0; }
.mark::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 2px; background: var(--text); vertical-align: 1px; }
.features b { margin-right: 6px; }
.procedure { margin: 0; padding-left: 1.3em; }
.procedure li { margin: 0 0 8px; }
.note { margin: 12px 0 0; font-size: 15px; color: var(--muted); }
/* 상품 상세 형식의 소개: 도입 문장, 주요 수치, 비교표, 주요 특징(POINT), 기능별 그림(FEATURE), 이용 절차, 자주 묻는 질문 */
.lead { font-size: 18px; font-weight: 600; line-height: 1.6; }
.part ul.figures { list-style: none; padding: 0; margin: 18px 0 8px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.figures li { margin: 0; padding: 14px 14px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.figures strong { display: block; font-size: 26px; line-height: 1.2; color: var(--link); }
.figures span { display: block; margin-top: 4px; font-weight: 700; font-size: 15px; }
.figures small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.compare td:last-child { background: #f6f2ff; }
.compare thead th:last-child { background: #ece4ff; color: var(--link); }
.points { display: grid; gap: 32px; margin: 32px 0 8px; }
.num { margin: 0; font: 700 13px/1.4 var(--code); letter-spacing: 0.06em; color: var(--link); }
.point h3, .feature h3 { margin: 2px 0 6px; font-size: 21px; }
.point ul, .feature ul { margin: 6px 0 14px; }
.point figure img, .feature figure img { border-radius: 10px; }
.feature { padding: 30px 0 4px; border-top: 1px solid var(--line); scroll-margin-top: 48px; }
.part > p.note + .feature { border-top: 0; padding-top: 16px; }
.sum { margin: 0 0 4px; font-weight: 600; }
.sum code { margin-left: 4px; font-weight: 400; }
.part ul.others { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.others li { margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; }
.others b { display: block; font-size: 15px; }
.others span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.6; color: var(--muted); }
details.all { margin: 24px 0 0; border: 1px solid var(--line); border-radius: 8px; padding: 0 16px; }
details.all summary { cursor: pointer; padding: 12px 0; font-weight: 700; }
details.all[open] { padding-bottom: 12px; }
.part ol.steps { list-style: none; padding: 0; margin: 12px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.steps li { margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.steps .step { display: inline-block; padding: 0 8px; border-radius: 999px; background: var(--text); color: #fff; font: 700 12px/1.8 var(--code); }
.steps strong { display: block; margin-top: 8px; font-size: 17px; }
.steps li > span:last-child { display: block; margin-top: 4px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line-strong); }
.faq summary { cursor: pointer; padding: 13px 4px; font-weight: 700; list-style: none; display: flex; gap: 8px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; flex: none; width: 22px; color: var(--link); font-family: var(--code); }
.faq summary::after { content: ""; flex: none; margin: 8px 4px 0 auto; width: 7px; height: 7px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 11px; }
.faq details ul { margin: 0 0 14px; padding-left: 2.6em; }
@media (max-width: 720px) {
  .part ul.figures, .part ol.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .part ul.others { grid-template-columns: 1fr; }
}

/* 데비 장면 그림: 묶음마다 한 줄(좁으면 두 칸, 한 칸) */
.part ul.scenes { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.scenes li { margin: 0; }
.scenes img { aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.scenes figcaption { margin-top: 6px; font-size: 14px; color: var(--muted); }
.part ul.scenes.promo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 720px) { .part ul.scenes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .part ul.scenes.promo { grid-template-columns: 1fr; } }

/* 관련 페이지, 키워드 */
.more { border-top: 1px solid var(--line); padding: 40px 0 48px; }
.more h2 { margin: 0 0 16px; font-size: 22px; font-weight: 700; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 20px; }
.cards a { display: block; color: var(--text); text-decoration: none; }
.cards img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; object-position: left top; border: 1px solid var(--line); border-radius: 10px; }
.cards .label { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); }
.cards strong { display: block; font-size: 16px; }
.cards .desc { display: block; margin-top: 2px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.cards a:hover strong { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.more .keywords-title { margin-top: 40px; font-size: 18px; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 3px 12px; border-radius: 999px; background: #f1ecff; color: var(--link); font-size: 14px; }

footer { border-top: 1px solid var(--line); background: var(--panel); padding: 24px 0 36px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: baseline; }
footer strong { color: var(--text); margin-right: auto; }
footer a { color: var(--muted); }
footer p { flex-basis: 100%; margin: 6px 0 0; }

/* ---------------------------------------------------------------- documents */
.dochead { padding: 36px 0 22px; border-bottom: 1px solid var(--line-strong); }
.dochead h1 { font-size: 30px; font-weight: 700; margin: 0 0 10px; }
.dochead p { margin: 0; color: var(--muted); max-width: 46em; }
.dochead dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 18px; margin: 12px 0 0; font-size: 15px; color: var(--muted); }
.dochead dd { margin: 0; color: var(--text); }
.doc { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 48px; padding: 28px 0 64px; align-items: start; }
.toc { position: sticky; top: 20px; font-size: 14px; max-height: calc(100vh - 40px); overflow: auto; border-left: 1px solid var(--line); padding-left: 16px; }
.toc h2 { font-size: 13px; color: var(--muted); font-weight: 700; margin: 0 0 8px; }
.toc ol, .toc ul { margin: 0; padding-left: 1.4em; }
.toc ul { padding-left: 0; list-style: none; }
.toc li { margin: 4px 0; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--link); text-decoration: underline; }

.doc article { min-width: 0; max-width: 50em; }
.numbered { counter-reset: chapter; }
.doc article h2 { font-size: 22px; font-weight: 700; margin: 44px 0 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.doc article h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.numbered h2 { counter-increment: chapter; counter-reset: part; }
.numbered h2::before { content: counter(chapter) ". "; }
.doc article h3 { font-size: 17px; font-weight: 700; margin: 24px 0 8px; }
.numbered h3 { counter-increment: part; }
.numbered h3::before { content: counter(chapter) "." counter(part) " "; }
.doc p { margin: 10px 0; }
.doc ul, .doc ol { padding-left: 1.3em; margin: 10px 0; }
.doc li { margin: 4px 0; }
.doc table { margin: 12px 0; }
.doc figure { margin: 18px 0; }
.box { border: 1px solid var(--line); background: var(--panel); border-radius: 3px; padding: 12px 16px; margin: 16px 0; }
.box h4 { margin: 0 0 4px; font-size: 15px; }
.box ul { margin: 0; }

/* 릴리스 노트 */
.release { padding: 0 0 32px; margin: 0 0 32px; border-bottom: 1px solid var(--line); }
.release:last-child { border-bottom: 0; }
.release h2 { margin-bottom: 2px !important; }
.release .date { font: 13px var(--code); color: var(--muted); margin: 0 0 8px; }

/* ---------------------------------------------------------------- small screens */
@media (max-width: 900px) {
  .product { grid-template-columns: minmax(0, 1fr); grid-template-areas: "gallery" "side" "body"; gap: 24px; padding-top: 20px; }
  .card { position: static; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc { grid-template-columns: 1fr; gap: 20px; }
  .toc { position: static; max-height: none; border-left: 0; padding: 0 0 16px; border-bottom: 1px solid var(--line); }
  .toc ol { columns: 2; column-gap: 28px; }
}
@media (max-width: 560px) {
  .wrap { width: min(var(--wrap), 100% - 32px); }
  .top .wrap { flex-wrap: wrap; gap: 8px; padding: 10px 0; }
  .lockup img { height: 34px; }
  .nav { margin-left: 0; gap: 2px 16px; }
  .thumbs { gap: 6px; }
  .turn { width: 34px; height: 34px; margin-top: -17px; }
  .turn::before { top: 12px; }
  .turn.prev::before { left: 13px; }
  .turn.next::before { left: 10px; }
  .tabs { gap: 18px; }
  .btn { flex: 1 1 100%; }
  th, td { padding: 9px 10px; }
  tbody th { white-space: normal; }
  .toc ol { columns: 1; }
}

@media print {
  .top, .toc, .skip { display: none !important; }
  .doc { display: block; }
  a { color: inherit; }
}
