/* ==========================================================================
   96launcher — 공용 디자인 시스템 (홈 · 문서 · 블로그 한 파일)
   바꾼 뒤에는 lib/blog.js 의 CSS_V 를 올려야 브라우저가 새 파일을 받는다.
   ========================================================================== */

:root {
  color-scheme: light;

  /* 바탕 · 글자 */
  --paper:    #FBF9F5;   /* 페이지 바탕 (따뜻한 종이) */
  --paper-2:  #F4F1EA;   /* 한 단 어두운 띠 */
  --surface:  #FFFFFF;   /* 카드 */
  --ink:      #15171A;   /* 제목 */
  --ink-2:    #3E444B;   /* 본문 */
  --muted:    #767C84;   /* 보조 */
  --line:     #E5E0D7;   /* 경계선 */
  --line-2:   #F0ECE4;   /* 옅은 경계선 */

  /* 강조 — 프로그램 아이콘의 초록에서 가져왔다 */
  --green:    #0E6B3D;
  --green-d:  #0A5730;
  --green-t:  #E9F2EC;
  --signal:   #03C75A;

  /* 스크린샷을 올리는 어두운 판 */
  --stage:    #14171B;
  --stage-2:  #1D2126;
  --stage-ln: #2C3138;
  --stage-tx: #C8CDD4;

  --r-lg: 14px;
  --r:    10px;
  --r-sm: 6px;

  /* 진한 단추 (밝은 화면에서는 먹색, 어두운 화면에서는 밝은색) */
  --solid:    #15171A;
  --solid-fg: #FFFFFF;
  --go-fg:    #FFFFFF;
  --head-bg:  rgba(251, 249, 245, .88);

  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --sans: Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", sans-serif;
}

/* --------------------------------------------------------- 어두운 화면
   기본값은 컴퓨터(브라우저) 설정을 따르고, 오른쪽 위 단추로 직접 바꾸면 그 선택을 기억한다. */

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #1A1917; --paper-2: #222020; --surface: #211F1D;
    --ink: #F6F3EE; --ink-2: #C9C4BC; --muted: #948E86;
    --line: #34302B; --line-2: #2A2724;
    --green: #4CC584; --green-d: #6FD69C; --green-t: rgba(76,197,132,.14); --signal: #03C75A;
    --stage: #100F0E; --stage-2: #191715; --stage-ln: #2E2A26; --stage-tx: #C4BFB7;
    --solid: #F1EDE6; --solid-fg: #171614; --go-fg: #0B1F14;
    --head-bg: rgba(26, 25, 23, .86);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #1A1917; --paper-2: #222020; --surface: #211F1D;
  --ink: #F6F3EE; --ink-2: #C9C4BC; --muted: #948E86;
  --line: #34302B; --line-2: #2A2724;
  --green: #4CC584; --green-d: #6FD69C; --green-t: rgba(76,197,132,.14); --signal: #03C75A;
  --stage: #100F0E; --stage-2: #191715; --stage-ln: #2E2A26; --stage-tx: #C4BFB7;
  --solid: #F1EDE6; --solid-fg: #171614; --go-fg: #0B1F14;
  --head-bg: rgba(26, 25, 23, .86);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font: 16px/1.75 var(--sans);
  letter-spacing: -0.015em;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }   /* height 를 빼면 width/height 값 때문에 세로로 늘어난다 */
svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; letter-spacing: -0.035em; line-height: 1.3; font-weight: 800;
                 text-wrap: balance; }   /* 제목이 한 단어만 남고 줄바꿈되는 것을 막는다 */
p, li, dd, figcaption, summary { text-wrap: pretty; }
p { margin: 0; }
ul, ol { margin: 0; padding-left: 1.1em; }
b, strong { color: var(--ink); font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--signal); color: #04281A; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 10px; z-index: 99; background: var(--solid); color: var(--solid-fg); padding: 8px 14px; border-radius: var(--r-sm); }

/* --------------------------------------------------------- 상단 바 */

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: var(--head-bg);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { height: 62px; display: flex; align-items: center; gap: 26px; }

.brand { display: flex; align-items: center; gap: 9px; flex: none; }
.brand-mk { width: 30px; height: 30px; flex: none; border-radius: 8px; }
.brand-tx { display: flex; flex-direction: column; line-height: 1.1; }
.brand-tx b { font-size: 15px; font-weight: 800; letter-spacing: -0.03em; }
.brand-tx small { font-size: 10.5px; color: var(--muted); letter-spacing: .06em; font-family: var(--mono); }

.gnb { display: flex; align-items: center; gap: 22px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.gnb a { padding: 4px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.gnb a:hover { color: var(--green); }
.gnb a[aria-current] { color: var(--ink); border-bottom-color: var(--green); }
.head-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.head-menu { display: none; }

@media (max-width: 900px) {
  .site-head .wrap { gap: 14px; }
  .gnb { gap: 14px; font-size: 13.5px; font-weight: 500; overflow-x: auto; scrollbar-width: none; }
  .gnb::-webkit-scrollbar { display: none; }
  .brand-tx small { display: none; }
}
@media (max-width: 900px) {
  .head-cta .chip-ad { display: none; }   /* 좁은 화면에서는 후원 단추만 — 광고 문의는 바닥글에 있다 */
}
@media (max-width: 560px) {
  .gnb { gap: 13px; }
  .brand-tx b { font-size: 14px; }
}

/* --------------------------------------------------------- 단추 */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: var(--r-sm);
  font-size: 14.5px; font-weight: 700; letter-spacing: -0.02em;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn svg { width: 17px; height: 17px; flex: none; fill: currentColor; }
.btn-go { background: var(--green); color: var(--go-fg); }
.btn-go:hover { background: var(--green-d); }
.btn-ink { background: var(--solid); color: var(--solid-fg); }
.btn-ink:hover { opacity: .88; }
.btn-line { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-lg { height: 54px; padding: 0 24px; font-size: 16px; border-radius: 8px; }

/* 다운로드 큰 단추 (OS 아이콘 + 두 줄) */
.dl-row { display: flex; flex-wrap: wrap; gap: 10px; }
.dl {
  display: inline-flex; align-items: center; gap: 13px;
  min-width: 198px; height: 60px; padding: 0 20px 0 17px;
  border-radius: 10px; border: 1px solid transparent;
  transition: background-color .15s, border-color .15s, transform .15s;
}
.dl svg { width: 26px; height: 26px; flex: none; fill: currentColor; }
.dl i { font-style: normal; display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.dl i b, .dl i small { color: inherit; }
.dl i small { font-size: 11.5px; font-weight: 500; opacity: .72; letter-spacing: .01em; }
.dl i b { font-size: 19px; font-weight: 700; letter-spacing: -0.03em; }
.dl-win { background: var(--solid); color: var(--solid-fg); }
.dl-win:hover { opacity: .88; }
.dl-mac { background: var(--surface); color: var(--ink); border-color: var(--line); }
.dl-mac:hover { border-color: var(--ink); }
.on-dark .dl-mac { background: transparent; color: #fff; border-color: #3A4048; }
.on-dark .dl-mac:hover { border-color: #fff; }
.on-dark .dl-win { background: #fff; color: #15171A; }

/* --------------------------------------------------------- 섹션 공통 */

.sec { padding: 78px 0; border-top: 1px solid var(--line); }
.sec-tint { background: var(--paper-2); }
.sec-head { max-width: 680px; margin-bottom: 38px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font: 700 12.5px/1 var(--sans); letter-spacing: .02em; color: var(--green);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--signal); }
.sec-head h2 { font-size: clamp(23px, 3.2vw, 31px); }
.sec-head p { margin-top: 12px; color: var(--muted); font-size: 15.5px; }

.lede { font-size: 17px; line-height: 1.8; color: var(--ink-2); }
.small { font-size: 13.5px; color: var(--muted); }
.mono { font-family: var(--mono); font-size: .92em; letter-spacing: -0.01em; }

/* --------------------------------------------------------- 히어로 */

.hero { padding: 64px 0 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 46px; align-items: center; }
.hero h1 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.22; letter-spacing: -0.045em; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero .lede { margin-top: 18px; max-width: 30em; }
.hero .dl-row { margin-top: 28px; }
.hero-note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.hero-note b { color: var(--ink-2); font-weight: 600; }

.tagline {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  height: 28px; padding: 0 12px 0 10px; border-radius: 999px;
  background: var(--green-t); color: var(--green);
  font-size: 12.5px; font-weight: 700; letter-spacing: -0.01em;
}
.tagline::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }

/* 스크린샷을 올리는 어두운 판 */
.stage {
  background: var(--stage); border: 1px solid var(--stage-ln); border-radius: var(--r-lg);
  padding: 14px; box-shadow: 0 30px 60px -34px rgba(16, 20, 14, .5);
}
.stage img { width: 100%; height: auto; border-radius: 8px; }
.stage-cap {
  display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; padding: 0 4px 2px;
  font: 500 12px/1.6 var(--mono); color: #7F8791; letter-spacing: -0.01em;
}
.stage-cap span::before { content: "· "; color: #4A525B; }
.stage-cap span:first-child::before { content: ""; }

@media (max-width: 940px) {
  .hero { padding: 44px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .sec { padding: 56px 0; }
}

/* --------------------------------------------------------- 한눈에 보기 띠 */

.specbar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--r); background: var(--surface);
  overflow: hidden;
}
.specbar div { padding: 18px 20px; border-left: 1px solid var(--line-2); }
.specbar div:first-child { border-left: 0; }
.specbar dt { font-size: 12px; color: var(--muted); font-weight: 600; }
.specbar dd { margin: 4px 0 0; font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; }
@media (max-width: 760px) {
  .specbar { grid-template-columns: repeat(2, 1fr); }
  .specbar div:nth-child(3) { border-left: 0; }
  .specbar div:nth-child(n+3) { border-top: 1px solid var(--line-2); }
}

/* --------------------------------------------------------- 카드 묶음 */

.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px 22px 24px;
}
.card h3 { font-size: 16.5px; margin-bottom: 8px; letter-spacing: -0.035em; }
.card p { font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }
.card .ic {
  width: 34px; height: 34px; border-radius: 9px; margin-bottom: 14px;
  background: var(--green-t); color: var(--green);
  display: flex; align-items: center; justify-content: center;
}
.card .ic svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.8; }

/* --------------------------------------------------------- 기능 (번갈아 배치) */

.feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 52px; align-items: center; padding: 46px 0; border-top: 1px solid var(--line-2); }
.feat:first-of-type { border-top: 0; }
.feat.flip .feat-tx { order: 2; }
.feat-no { font: 700 12px/1 var(--mono); color: var(--green); letter-spacing: .04em; }
.feat-tx h3 { font-size: clamp(20px, 2.6vw, 25px); margin: 12px 0 14px; }
.feat-tx p { font-size: 15.5px; line-height: 1.8; }
.feat-tx p + p { margin-top: 12px; }
.feat-tx ul { margin-top: 14px; font-size: 15px; color: var(--ink-2); padding-left: 0; list-style: none; }
.feat-tx li { position: relative; padding-left: 17px; margin: 6px 0; }
.feat-tx li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 1.5px; background: var(--green); }
.feat-shot { display: grid; gap: 10px; }
@media (max-width: 940px) {
  .feat { grid-template-columns: 1fr; gap: 26px; padding: 34px 0; }
  .feat.flip .feat-tx { order: 0; }
}

/* --------------------------------------------------------- 도구 목록 (카탈로그) */

.tools { border-top: 1px solid var(--line); }
.tool {
  display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 20px; align-items: center;
  padding: 24px 4px; border-bottom: 1px solid var(--line);
}
.tool-ic {
  width: 54px; height: 54px; border-radius: 13px; overflow: hidden; flex: none;
  background: var(--surface); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.tool-ic img { width: 100%; height: 100%; }
.tool-ic span { font: 700 17px/1 var(--mono); color: var(--muted); }
.tool-bd h3 { font-size: 17.5px; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.tool-bd p { font-size: 14.5px; color: var(--muted); margin-top: 5px; }
.tool-bd .kv { margin-top: 9px; font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.tool-bd .kv span::before { content: "· "; opacity: .5; }
.tool-bd .kv span:first-child::before { content: ""; }
.tool.soon .tool-ic { background: var(--paper-2); border-style: dashed; }
.tool.soon h3 { color: var(--muted); }

.pill {
  display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px;
  border-radius: 999px; font: 700 11.5px/1 var(--sans); letter-spacing: 0;
}
.pill-live { background: var(--green-t); color: var(--green); }
.pill-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
.pill-soon { background: var(--paper-2); color: var(--muted); border: 1px solid var(--line); }
@media (max-width: 720px) {
  .tool { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
  .tool-ic { width: 44px; height: 44px; border-radius: 11px; }
  .tool > .btn, .tool > .tool-end { grid-column: 2; justify-self: start; }
}

/* --------------------------------------------------------- 단계 */

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.steps .step { padding: 26px 24px 28px; border-left: 1px solid var(--line-2); counter-increment: s; }
.steps .step:first-child { border-left: 0; }
.steps .step::before {
  content: counter(s, decimal-leading-zero);
  font: 700 12px/1 var(--mono); color: var(--green); letter-spacing: .06em;
}
.steps .step h3 { font-size: 16.5px; margin: 12px 0 8px; }
.steps .step p { font-size: 14.5px; color: var(--ink-2); line-height: 1.7; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .steps .step { border-left: 0; border-top: 1px solid var(--line-2); }
  .steps .step:first-child { border-top: 0; }
}

/* --------------------------------------------------------- 표 */

.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
table.cmp { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14.5px; }
table.cmp th, table.cmp td { padding: 14px 18px; text-align: left; vertical-align: top; border-top: 1px solid var(--line-2); }
table.cmp thead th { border-top: 0; background: var(--paper-2); font-size: 13px; color: var(--muted); font-weight: 700; white-space: nowrap; }
table.cmp tbody th { font-weight: 700; color: var(--ink); white-space: nowrap; }
table.cmp td { color: var(--ink-2); }

/* --------------------------------------------------------- 자주 묻는 질문 */

.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; padding: 19px 34px 19px 2px; position: relative;
  font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -0.03em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform .18s;
}
.qa details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.qa summary:hover { color: var(--green); }
.qa .a { padding: 0 34px 22px 2px; font-size: 15px; line-height: 1.8; color: var(--ink-2); }
.qa .a a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------- 어두운 마무리 띠 */

.band { background: var(--stage); color: var(--stage-tx); padding: 76px 0; }
.band h2 { color: #fff; font-size: clamp(24px, 3.4vw, 34px); }
.band p { margin-top: 14px; color: #98A0AA; font-size: 16px; }
.band .dl-row { margin-top: 30px; }
.band-mid { text-align: center; }
.band-mid .dl-row { justify-content: center; }

/* --------------------------------------------------------- 바닥 */

.site-foot { background: var(--stage); color: #8A929B; font-size: 14px; padding: 54px 0 44px; border-top: 1px solid var(--stage-ln); }
.site-foot .cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 30px; }
.site-foot h4 { color: #fff; font-size: 13px; margin-bottom: 12px; letter-spacing: -0.02em; }
.site-foot ul { list-style: none; padding: 0; display: grid; gap: 8px; font-size: 13.5px; }
.site-foot a:hover { color: #fff; }
.site-foot .about { font-size: 13px; line-height: 1.8; max-width: 30em; }
.site-foot .brand { margin-bottom: 12px; }
.site-foot .brand-tx b { color: #fff; }
.foot-end { margin-top: 38px; padding-top: 20px; border-top: 1px solid var(--stage-ln); font-size: 12.5px; color: #6B737C; display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; }
@media (max-width: 760px) {
  .site-foot .cols { grid-template-columns: 1fr 1fr; }
  .site-foot .about { grid-column: 1 / -1; }
}

/* ==========================================================================
   문서 페이지 (사용 설명서 · 자주 묻는 질문 · 업데이트 · 약관 · 개인정보)
   ========================================================================== */

.doc { max-width: 780px; margin: 0 auto; padding: 44px 20px 90px; }
.doc h1 { font-size: clamp(26px, 4vw, 34px); margin-bottom: 8px; }
.doc h2 { font-size: 20px; margin: 42px 0 10px; scroll-margin-top: 78px; }
.doc h3 { font-size: 16px; margin: 26px 0 6px; }
.doc p, .doc li { font-size: 15.5px; line-height: 1.85; }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { margin: 10px 0; padding-left: 20px; }
.doc li { margin: 5px 0; }
.doc a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.doc a:hover { color: var(--green-d); }
.doc img { border: 1px solid var(--line); border-radius: var(--r); margin: 14px 0; }
.doc .meta { color: var(--muted); font-size: 13.5px; }
.doc h2 .meta { font-weight: 500; margin-left: 8px; font-size: 13px; }
.doc code { font-family: var(--mono); font-size: .88em; background: var(--paper-2); border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; color: var(--ink); }
.doc pre { background: var(--stage); color: #DCE1E7; border-radius: var(--r); padding: 15px 17px; overflow-x: auto; font-size: 13.5px; }
.doc pre code { background: none; border: 0; padding: 0; color: inherit; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 14px 0; }
.doc th, .doc td { border-top: 1px solid var(--line); padding: 11px 10px; text-align: left; vertical-align: top; }
.doc th { color: var(--muted); font-weight: 700; font-size: 13px; border-top: 0; }
.doc .toc {
  display: flex; flex-wrap: wrap; gap: 7px 16px; margin: 22px 0 6px; padding: 15px 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); font-size: 14px;
}
.doc .toc a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.doc .toc a:hover { color: var(--green); }
.doc .note { border-left: 3px solid var(--green); background: var(--green-t); padding: 13px 16px; font-size: 14.5px; border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: 16px 0; }
.doc .note a { color: var(--green-d); }
.doc details { border-top: 1px solid var(--line); }
.doc details:last-of-type { border-bottom: 1px solid var(--line); }
.doc summary { cursor: pointer; padding: 14px 0; color: var(--ink); font-weight: 700; font-size: 15.5px; }
.doc details p { margin: 0 0 14px; }
.doc .more { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14.5px; }
.doc .muted { color: var(--muted); }
@media (max-width: 560px) {
  .doc table, .doc tbody, .doc tr, .doc td, .doc th { display: block; }
  .doc thead { display: none; }
  .doc td { border-top: 0; padding: 2px 0; }
  .doc tbody tr { border-top: 1px solid var(--line); padding: 10px 0; }
}

/* ==========================================================================
   블로그
   ========================================================================== */

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 6px; }
.chips a { border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; font-size: 13.5px; color: var(--ink-2); background: var(--surface); font-weight: 600; }
.chips a span { color: var(--muted); margin-left: 3px; font-weight: 500; }
.chips a:hover { border-color: var(--green); color: var(--green); }
.chips a[aria-current] { background: var(--solid); border-color: var(--solid); color: var(--solid-fg); }
.chips a[aria-current] span { color: var(--solid-fg); opacity: .6; }

.posts { list-style: none; padding: 0; margin: 26px 0; }
.posts li { border-top: 1px solid var(--line); }
.posts li:last-child { border-bottom: 1px solid var(--line); }
.posts a { display: flex; gap: 20px; padding: 22px 0; color: inherit; }
.posts a:hover h2 { color: var(--green); }
.posts img { flex: none; width: 210px; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: var(--r-sm); border: 1px solid var(--line); }
.posts h2 { margin: 2px 0 7px; font-size: 18.5px; line-height: 1.45; transition: color .15s; }
.posts p { font-size: 14.5px; color: var(--ink-2); }
.posts p.meta { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
@media (max-width: 560px) {
  .posts a { flex-direction: column; gap: 11px; }
  .posts img { width: 100%; }
  .posts h2 { font-size: 16.5px; }
}

.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--green); }

.post h1 { font-size: clamp(27px, 4.2vw, 34px); line-height: 1.34; }
.post h2 { font-size: 22px; margin: 46px 0 12px; line-height: 1.4; }
.post h3 { font-size: 17.5px; margin: 30px 0 6px; }
.post p, .post li { font-size: 16.5px; line-height: 1.9; }
.post img { max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--r); }
.post img.cover { margin: 18px 0 8px; }
.post blockquote { margin: 20px 0; padding: 14px 18px; border-left: 3px solid var(--green); background: var(--green-t); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.post blockquote p { margin: 4px 0; font-size: 15.5px; }
.post hr { margin: 38px 0; }
.post .tbl { overflow-x: auto; margin: 14px 0; border: 1px solid var(--line); border-radius: var(--r); }
.post .tbl table { min-width: 480px; margin: 0; }
.post .tbl th, .post .tbl td { padding: 11px 14px; }
.post .toc { flex-direction: column; gap: 5px; }
.tags { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 7px; }
.tags span { font-size: 12px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.related { margin-top: 46px; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.related h2 { margin: 0 0 10px; font-size: 16.5px; }
.related ul { margin: 0; }

/* 글 안에서 프로그램을 소개하는 띠 */
.promo {
  margin: 40px 0 8px; padding: 22px 24px; border-radius: var(--r-lg);
  background: var(--stage); color: var(--stage-tx);
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.promo img { width: 46px; height: 46px; border-radius: 11px; flex: none; }
.promo div { flex: 1 1 260px; }
.promo b { display: block; color: #fff; font-size: 16px; letter-spacing: -0.03em; }
.promo p { font-size: 14px; color: #98A0AA; margin-top: 4px; }
.promo .btn { flex: none; }

/* --------------------------------------------------------- 작은 조각 */

.lk { color: var(--green); font-weight: 600; }
.lk:hover { color: var(--green-d); text-decoration: underline; text-underline-offset: 3px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; font-size: 15px; color: var(--ink-2); }
.ticks li { position: relative; padding-left: 17px; margin: 7px 0; line-height: 1.7; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .78em; width: 7px; height: 1.5px; background: var(--green); }
.tool-end { color: var(--muted); font-size: 13px; }
.flat { padding-top: 0; border-top: 0; }
.note-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; align-items: center; margin-top: 22px; }
@media (max-width: 620px) { .note-row { grid-template-columns: 1fr; } }

/* --------------------------------------------------------- 밝기 바꾸기 단추 */

.theme-btn {
  width: 38px; height: 38px; flex: none; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: border-color .15s, color .15s;
}
.theme-btn:hover { border-color: var(--ink); color: var(--ink); }
.theme-btn svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; }
.theme-btn .i-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-btn .i-sun { display: none; } :root:not([data-theme="light"]) .theme-btn .i-moon { display: block; } }
:root[data-theme="dark"] .theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-moon { display: block; }
:root[data-theme="light"] .theme-btn .i-sun { display: block; }
:root[data-theme="light"] .theme-btn .i-moon { display: none; }

/* 문서 페이지 안에 놓인 홈 부품 (단추 · 도구 목록) 이 본문 규칙에 물들지 않게 */
.doc a.btn, .doc a.dl { text-decoration: none; }
.doc a.btn-go { color: var(--go-fg); }
.doc a.btn-line { color: var(--ink); }
.doc a.btn-ink { color: var(--solid-fg); }
.doc .tool-ic img, .doc .brand-mk { border: 0; border-radius: 8px; margin: 0; }
.doc .tools { margin: 26px 0 8px; }
.doc .tool p { margin: 0; }
.doc .tool-bd h3 { margin: 0; }

/* --------------------------------------------------------- 정리 전 · 정리 후 그림 */

.ba { display: grid; grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr); align-items: center; gap: 0; }
.ba-card { margin: 0; min-width: 0; }
.ba-shot {
  display: block; width: 100%; height: auto; border-radius: var(--r);
  box-shadow: 0 20px 44px -28px rgba(16, 20, 14, .55);
}
.ba-card figcaption { margin-top: 14px; font-size: 14.5px; line-height: 1.65; color: var(--ink-2); }
.ba-card figcaption b {
  display: inline-flex; align-items: center; height: 22px; padding: 0 9px; margin-right: 8px;
  border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line);
  font-size: 12px; font-weight: 700; color: var(--muted); vertical-align: 2px;
}
.ba-card:last-of-type figcaption b { background: var(--green-t); border-color: transparent; color: var(--green); }
.ba-ar { display: flex; justify-content: center; align-self: start; margin-top: 92px; }
.ba-ar svg { width: 34px; height: 34px; fill: none; stroke: var(--green); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ba-clock { font: 700 19px var(--mono); text-anchor: middle; }
.ba-note { margin-top: 18px; }
@media (max-width: 820px) {
  .ba { grid-template-columns: 1fr; gap: 6px; }
  .ba-ar { margin: 4px 0 10px; transform: rotate(90deg); }
}

/* --------------------------------------------------------- 광고 문의 */


.adstrip { border-top: 1px solid var(--line); background: var(--paper-2); padding: 26px 0; }
.adstrip .wrap { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.adstrip b { display: block; font-size: 16px; color: var(--ink); letter-spacing: -0.03em; }
.adstrip p { margin-top: 4px; }
.adstrip div { flex: 1 1 320px; }
.adstrip .btn { flex: none; }

/* --------------------------------------------------------- 상단 광고 문의 · 후원 */

.chip-ad, .chip-love {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 13px;
  border-radius: 999px; font-size: 13.5px; font-weight: 700; letter-spacing: -0.02em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  font-family: inherit; line-height: 1;
}
.chip-ad { color: var(--green); border-color: var(--green); background: transparent; }
.chip-ad:hover { background: var(--green-t); color: var(--green); }
.chip-love { background: var(--green); color: var(--go-fg); }
.chip-love:hover { background: var(--green-d); }
.gnb-sep { width: 1px; height: 18px; background: var(--line); flex: none; }

/* --------------------------------------------------------- 작은 알림 창 (후원) */

.modal {
  width: min(420px, calc(100vw - 32px)); padding: 26px 26px 22px; border: 1px solid var(--line);
  border-radius: var(--r-lg); background: var(--surface); color: var(--ink-2);
  box-shadow: 0 40px 90px -40px rgba(16, 20, 14, .6); position: relative;
}
.modal::backdrop { background: rgba(10, 10, 8, .5); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.modal h3 { font-size: 19px; margin-bottom: 2px; padding-right: 30px; }
.modal p { font-size: 14.5px; line-height: 1.75; }
.modal-x {
  position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%;
  border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 14px;
}
.modal-x:hover { background: var(--paper-2); color: var(--ink); }
.modal .acct {
  margin: 16px 0 18px; padding: 15px 17px; border-radius: var(--r); background: var(--paper-2);
  border: 1px solid var(--line); display: flex; align-items: center; gap: 13px;
}
.modal .acct .bank { width: 34px; height: 34px; flex: none; border-radius: 9px; }
.modal .acct b { display: block; font: 700 18px/1.35 var(--sans); color: var(--ink); letter-spacing: -0.03em; }
.modal .acct b, .modal .acct span { font-variant-numeric: tabular-nums; }
.modal .acct span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.modal-end { display: flex; gap: 8px; margin-top: 4px; }
.modal-end .btn { flex: 1; }

/* --------------------------------------------------------- 광고 문의 폼 */

.adform { margin: 18px 0 8px; }
.adform .f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.adform p { margin: 0 0 16px; }
.adform .f2 p { margin: 0; }
.adform label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.adform label i { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--green); margin-left: 5px; }
.adform input, .adform textarea {
  width: 100%; padding: 11px 13px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font: 15px/1.6 var(--sans); letter-spacing: -0.015em;
}
.adform textarea { resize: vertical; min-height: 120px; }
.adform input:focus, .adform textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: transparent; }
.adform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.adform .adform-end { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.adform #adMsg { font-size: 14px; color: var(--muted); }
.adform #adMsg.bad { color: #D6414A; font-weight: 600; }
.adform button[disabled] { opacity: .6; cursor: default; }
.adform .agree { margin: 4px 0 18px; padding: 14px 16px; border-radius: var(--r); background: var(--paper-2); border: 1px solid var(--line); }
.adform .agree label { display: flex; gap: 11px; align-items: flex-start; margin: 0; font-size: 14px; font-weight: 500; color: var(--ink-2); line-height: 1.65; cursor: pointer; }
.adform .agree input { width: 19px; height: 19px; flex: none; margin-top: 1px; accent-color: var(--green); cursor: pointer; }
.adform .agree b { color: var(--green); font-weight: 700; }
.adform .agree a { color: var(--green); font-weight: 600; }
@media (max-width: 620px) { .adform .f2 { grid-template-columns: 1fr; } }

.doc figure { margin: 20px 0; }
.doc figure img { margin: 0; }
.doc figure img.zoom { max-width: 291px; }
.doc figcaption { margin-top: 9px; font-size: 13.5px; color: var(--muted); }
