/* ==========================================================================
   96launcher — 공용 디자인 시스템 (홈 · 문서 · 블로그 한 파일)
   컨셉: '책상 위 사용 설명서' — 종이 바탕, 먹색 글자, 로고의 밝은 초록, 1px 선.
   그림자 · 그라데이션 카드 · 아이콘 박스 같은 템플릿 장식은 쓰지 않는다.
   바꾼 뒤에는 모든 HTML 의 app.css?v= 와 lib/blog.js 의 CSS_V 를 같이 올린다.
   ========================================================================== */

:root {
  color-scheme: light;

  /* 바탕 · 글자 */
  --paper:    #F6F5F1;   /* 페이지 바탕 */
  --paper-2:  #EDEBE5;   /* 한 단 어두운 띠 */
  --surface:  #FFFFFF;   /* 표 · 입력칸 */
  --ink:      #101311;   /* 제목 */
  --ink-2:    #363B38;   /* 본문 */
  --muted:    #6B716D;   /* 보조 */
  --line:     #D9D6CE;   /* 경계선 */
  --line-2:   #E7E4DD;   /* 옅은 경계선 */

  /* 초록 — 로고 캐릭터의 초록. 글자에는 --green, 칠하는 면에는 --signal */
  --green:    #0A7A3B;
  --green-d:  #075F2E;
  --green-t:  #DFF3E6;
  --signal:   #1FC45F;
  --hi:       #E29A12;   /* 프로그램 타이머 숫자의 노랑 — 아주 조금만 */

  /* 프로그램 화면 색 (스크린샷 · 타이머 재현) */
  --stage:    #1E2227;
  --stage-2:  #2A3038;
  --stage-ln: #3A414B;
  --stage-tx: #D5DAE0;

  --r-lg: 12px;
  --r:    8px;
  --r-sm: 6px;

  /* 진한 단추 (밝은 화면에서는 먹색, 어두운 화면에서는 밝은색) */
  --solid:    #101311;
  --solid-fg: #F6F5F1;
  --go-fg:    #05200D;   /* 초록 단추 위 글자 — 흰 글자는 대비가 모자라다 */
  --head-bg:  rgba(246, 245, 241, .9);

  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --sans: Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", sans-serif;
  --pen:  "Nanum Pen Script", var(--sans);
}

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

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #0F1110; --paper-2: #161917; --surface: #1A1D1B;
    --ink: #F1F0EB; --ink-2: #C3C6C1; --muted: #8A8F8B;
    --line: #2C302D; --line-2: #212523;
    --green: #3DDC7A; --green-d: #72E6A0; --green-t: rgba(61, 220, 122, .12); --signal: #22C55E; --hi: #F2B63C;
    --stage: #1B1F24; --stage-2: #262B32; --stage-ln: #353C45; --stage-tx: #D5DAE0;
    --solid: #F1F0EB; --solid-fg: #0F1110; --go-fg: #05200D;
    --head-bg: rgba(15, 17, 16, .86);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0F1110; --paper-2: #161917; --surface: #1A1D1B;
  --ink: #F1F0EB; --ink-2: #C3C6C1; --muted: #8A8F8B;
  --line: #2C302D; --line-2: #212523;
  --green: #3DDC7A; --green-d: #72E6A0; --green-t: rgba(61, 220, 122, .12); --signal: #22C55E; --hi: #F2B63C;
  --stage: #1B1F24; --stage-2: #262B32; --stage-ln: #353C45; --stage-tx: #D5DAE0;
  --solid: #F1F0EB; --solid-fg: #0F1110; --go-fg: #05200D;
  --head-bg: rgba(15, 17, 16, .86);
}

/* --------------------------------------------------------- 기본 */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@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.04em; line-height: 1.28; 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; }
button { font-family: inherit; }

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

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1320px; }
@media (max-width: 560px) { .wrap { padding: 0 16px; } }
.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); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tnum { font-variant-numeric: tabular-nums; }

/* 손글씨 메모 — 홈에서만, 두세 군데만 쓴다 */
.scribble { font: 400 25px/1.1 var(--pen); color: var(--green); letter-spacing: 0; transform: rotate(-3deg); }

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

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

.brand { display: flex; align-items: center; gap: 9px; flex: none; }
.brand-mk { width: 28px; height: 28px; flex: none; border-radius: 50%; }
.brand-tx { display: flex; flex-direction: column; line-height: 1.1; }
.brand-tx b { font-size: 16px; font-weight: 800; letter-spacing: -0.045em; }
.brand-tx small { font-size: 10.5px; color: var(--muted); }

.gnb { display: flex; align-items: center; gap: 24px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.gnb a { position: relative; padding: 4px 0; white-space: nowrap; }
.gnb a:hover { color: var(--ink); }
.gnb a[aria-current] { color: var(--ink); }
.gnb a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -19px; height: 2px; background: var(--ink); }
.head-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.head-menu { display: none; }

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

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

.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(--signal); color: var(--go-fg); }
.btn-go:hover { background: var(--green); color: var(--solid-fg); }
.btn-ink { background: var(--solid); color: var(--solid-fg); }
.btn-ink:hover { opacity: .86; }
.btn-line { border-color: var(--line); background: transparent; color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-lg { height: 54px; padding: 0 24px; font-size: 16px; }

/* 다운로드 큰 단추 (OS 아이콘 + 두 줄) */
.dl-row { display: flex; flex-wrap: wrap; gap: 10px; }
.dl {
  display: inline-flex; align-items: center; gap: 13px;
  min-width: 206px; height: 62px; padding: 0 22px 0 18px;
  border-radius: var(--r); border: 1px solid transparent;
  transition: background-color .15s, border-color .15s, color .15s;
}
.dl svg { width: 24px; height: 24px; 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: 12px; font-weight: 500; opacity: .75; }
.dl i b { font-size: 19px; font-weight: 800; letter-spacing: -0.04em; }
.dl-win { background: var(--signal); color: var(--go-fg); }
.dl-win:hover { background: var(--solid); color: var(--solid-fg); }
.dl-mac, .dl-store { background: transparent; color: var(--ink); border-color: var(--ink); }
.dl-mac:hover, .dl-store:hover { background: var(--solid); color: var(--solid-fg); }
.on-green .dl-win { background: var(--solid); color: var(--solid-fg); }
.on-green .dl-win:hover { background: #fff; color: #101311; }
.on-green .dl-mac, .on-green .dl-store { color: #05200D; border-color: #05200D; }
.on-green .dl-mac:hover, .on-green .dl-store:hover { background: #05200D; color: #DFF3E6; }

/* --------------------------------------------------------- 섹션 공통
   머리 = 굵은 윗선 + '번호 · 이름' 한 줄 + 큰 제목. 설명서의 장(章) 머리처럼. */

.sec { padding: 96px 0; }
.sec + .sec { padding-top: 0; }
.sec-tint { background: var(--paper-2); }
.sec-tint + .sec, .sec + .sec-tint, .sec-tint + .sec-tint { padding-top: 96px; }
.sec-head { border-top: 2px solid var(--ink); padding-top: 18px; margin-bottom: 44px;
            display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 12px 40px; }
.chap { font-size: 14px; font-weight: 700; color: var(--ink); display: flex; gap: 12px; align-items: baseline; }
.chap b { font-variant-numeric: tabular-nums; color: var(--green); font-weight: 800; }
.sec-head h2 { font-size: clamp(28px, 3.9vw, 46px); line-height: 1.16; letter-spacing: -0.05em; }
.sec-head p { margin-top: 16px; color: var(--ink-2); font-size: 16.5px; max-width: 40em; }
.sec-head > div { min-width: 0; }
@media (max-width: 860px) {
  .sec { padding: 64px 0; }
  .sec-tint + .sec, .sec + .sec-tint, .sec-tint + .sec-tint { padding-top: 64px; }
  .sec-head { grid-template-columns: 1fr; margin-bottom: 30px; }
}

/* 예전 이름 (다른 페이지에 남아 있을 수 있다) */
.eyebrow { display: block; font-size: 14px; font-weight: 700; color: var(--green); margin-bottom: 10px; }

.lede { font-size: 18px; line-height: 1.8; color: var(--ink-2); }
.small { font-size: 13.5px; color: var(--muted); }
.mono { font-family: var(--mono); font-size: .9em; letter-spacing: -0.01em; }
.lk { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.lk:hover { color: var(--green-d); }

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

.hero { padding: 64px 0 0; overflow: hidden; }
.hero-top { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 26px; }
.hero-top img { width: 26px; height: 26px; border-radius: 50%; }
.hero-top span { color: var(--muted); font-weight: 500; }
.hero h1 { font-size: clamp(38px, 6.6vw, 86px); line-height: 1.06; letter-spacing: -0.062em; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-top: 34px; }
.hero .lede { max-width: 34em; }
.hero-note { margin-top: 12px; font-size: 13px; color: var(--muted); }
.hero-note b { color: var(--ink-2); font-weight: 700; }
@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero-row { grid-template-columns: 1fr; margin-top: 22px; }
  .hero .lede { font-size: 16.5px; }
}

/* --------------------------------------------------------- 히어로 모니터 (어지러운 바탕화면 → 정리)
   아이콘은 home.js 가 그린다. 스크립트가 없으면 정리된 모습(런처만)으로 보인다. */

.monitor { margin: 54px auto 0; max-width: 1180px; position: relative; }
.monitor::after {   /* 받침 */
  content: ""; display: block; width: 15%; height: 24px; margin: 0 auto;
  background: var(--line); clip-path: polygon(22% 0, 78% 0, 100% 100%, 0 100%);
}
.desk {
  position: relative; container-type: inline-size;
  aspect-ratio: 16 / 9; overflow: hidden;
  border: 12px solid #0E0F10; border-radius: 16px;
  background: #0D2A20;
  isolation: isolate;
}
:root[data-theme="dark"] .desk { border-color: #262A2E; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .desk { border-color: #262A2E; } }

/* 배경 화면 — 로고의 초록으로 만든 꽃잎 모양 */
.desk-wall { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 80% at 72% 58%, rgba(40, 190, 110, .55), transparent 60%),
    radial-gradient(40% 55% at 60% 40%, rgba(160, 235, 190, .35), transparent 62%),
    radial-gradient(70% 90% at 90% 110%, rgba(8, 90, 50, .9), transparent 70%),
    linear-gradient(160deg, #0B2A20 0%, #0F3A2A 45%, #0A2219 100%);
}
.desk-wall::before, .desk-wall::after { content: ""; position: absolute; border-radius: 50%; filter: blur(0.6cqw);
  border: 0.18cqw solid rgba(190, 255, 215, .22); }
.desk-wall::before { width: 46cqw; height: 46cqw; left: 46cqw; top: 6cqw; transform: rotate(-18deg) scaleX(1.5); }
.desk-wall::after  { width: 38cqw; height: 38cqw; left: 52cqw; top: 11cqw; transform: rotate(-30deg) scaleX(1.7); border-color: rgba(190, 255, 215, .14); }

.desk-icons { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0 0 4.6cqw; z-index: 3; pointer-events: none; }
.di {
  --cw: 6.4cqw; --ch: 7.2cqw;
  position: absolute; left: calc(.8cqw + var(--c) * var(--cw)); top: calc(.8cqw + var(--r) * var(--ch));
  width: var(--cw); display: flex; flex-direction: column; align-items: center; gap: .35cqw;
  will-change: transform, opacity;
}
.di svg { width: 3.1cqw; height: 3.1cqw; filter: drop-shadow(0 .15cqw .25cqw rgba(0, 0, 0, .35)); }
.di span { font: 500 max(9px, .92cqw)/1.25 var(--sans); color: #fff; text-align: center; letter-spacing: -0.02em;
           text-shadow: 0 1px 2px rgba(0, 0, 0, .8); max-width: 100%; overflow: hidden;
           display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-all; }
.di.sel { background: rgba(120, 200, 255, .22); outline: 1px solid rgba(150, 215, 255, .5); border-radius: 3px; }

/* 정리된 뒤의 런처 (실제 스크린샷) */
.desk-launcher { position: absolute; left: 6cqw; right: 6cqw; bottom: 6.4cqw; margin: 0; z-index: 2;
                 transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .45s; }
.desk-launcher img { width: 100%; border-radius: .5cqw; box-shadow: 0 1.2cqw 3cqw rgba(0, 0, 0, .45); }
.desk[data-state="messy"] .desk-launcher { transform: translateY(115%); opacity: 0; }
.desk-launcher .count { position: absolute; left: 0; top: -3.4cqw; font: 700 max(11px, 1.2cqw)/1 var(--sans);
  color: #fff; background: rgba(0, 0, 0, .55); padding: .6cqw 1cqw; border-radius: 99px; opacity: 0; transition: opacity .3s .2s; }
.desk[data-state="clean"] .desk-launcher .count { opacity: 1; }

/* 작업 표시줄 (Windows 11 모양) */
.desk-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4.6cqw; z-index: 4;
  background: rgba(20, 26, 24, .82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex; align-items: center; justify-content: center; gap: 1.1cqw; }
.desk-bar i { width: 2.5cqw; height: 2.5cqw; border-radius: .5cqw; background: rgba(255, 255, 255, .16); }
.desk-bar i.start { background:
  linear-gradient(#5BB8F5, #5BB8F5) 0 0 / 46% 46% no-repeat, linear-gradient(#5BB8F5, #5BB8F5) 100% 0 / 46% 46% no-repeat,
  linear-gradient(#5BB8F5, #5BB8F5) 0 100% / 46% 46% no-repeat, linear-gradient(#5BB8F5, #5BB8F5) 100% 100% / 46% 46% no-repeat;
  border-radius: .2cqw; width: 1.9cqw; height: 1.9cqw; }
.desk-bar i.search { width: 11cqw; border-radius: 99px; background: rgba(255, 255, 255, .1); }
.desk-bar i.on { box-shadow: inset 0 -.25cqw 0 -.05cqw #6FD69C; }
.desk-bar i.me { background: url(/images/logo-96launcher-64.png) center / 88% no-repeat, rgba(255, 255, 255, .1); }
.desk-bar time { position: absolute; right: 1.6cqw; color: #fff; font: 500 max(9px, .95cqw)/1.25 var(--sans); text-align: right; }

.desk-btn {
  position: absolute; z-index: 5; right: 2cqw; top: 2cqw;
  height: max(36px, 4cqw); padding: 0 max(14px, 1.8cqw); border-radius: 99px; border: 0; cursor: pointer;
  background: var(--signal); color: #05200D; font: 800 max(13px, 1.35cqw)/1 var(--sans); letter-spacing: -0.03em;
  display: inline-flex; align-items: center; gap: .7em;
  transition: transform .15s, background-color .15s;
}
.desk-btn:hover { transform: translateY(-1px); background: #45D77E; }
.desk-btn:active { transform: translateY(1px); }
.desk-btn svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.desk-note { position: absolute; z-index: 5; right: 2.4cqw; top: calc(2cqw + max(36px, 4cqw) + .6cqw); color: #BFF5D3;
             font-size: max(18px, 2.2cqw); pointer-events: none; transition: opacity .3s; }
.desk[data-state="clean"] .desk-note, .desk.done .desk-note { opacity: 0; }

.desk-cap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 48px; margin: 26px auto 0; max-width: 1180px;
            font-size: 15px; color: var(--ink-2); }
.desk-cap b { display: block; font-size: 17px; margin-bottom: 4px; }
@media (max-width: 720px) {
  .desk { aspect-ratio: 4 / 5; border-width: 7px; border-radius: 12px; }
  .monitor::after { display: none; }
  .di { --cw: 15.4cqw; --ch: 15.6cqw; left: calc(1.2cqw + var(--mc) * var(--cw)); top: calc(1.6cqw + var(--mr) * var(--ch)); gap: .8cqw; }
  .di[data-m="0"] { display: none; }
  .di svg { width: 8.4cqw; height: 8.4cqw; }
  .di span { font-size: max(9.5px, 2.5cqw); }
  .desk-icons { bottom: 11cqw; }
  .desk-bar { height: 11cqw; gap: 2.4cqw; }
  .desk-bar i { width: 6cqw; height: 6cqw; border-radius: 1.2cqw; }
  .desk-bar i.start { width: 4.6cqw; height: 4.6cqw; }
  .desk-bar i.search, .desk-bar time { display: none; }
  .desk-launcher { left: 2.5cqw; right: 2.5cqw; bottom: 14cqw; }
  .desk-launcher .count { top: -7.5cqw; font-size: 12px; padding: 5px 10px; }
  .desk-btn { right: 3cqw; top: auto; bottom: 14cqw; }
  .desk[data-state="clean"] .desk-btn { bottom: auto; top: 3cqw; }
  .desk-note { display: none; }
  .desk-cap { grid-template-columns: 1fr; margin-top: 18px; }
}

/* --------------------------------------------------------- 한눈에 보기 (사양 띠) */

.specbar { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0; }
.specbar div { padding: 18px 20px 20px 0; }
.specbar div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.specbar dt { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.specbar dd { margin: 4px 0 0; font-size: 16px; 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; padding-left: 0; }
  .specbar div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* --------------------------------------------------------- 부품 설명도 (번호 붙인 실제 화면) */

.anat { margin: 0; }
.anat-fig { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; background: var(--stage); }
.anat-fig img { width: 100%; }
.anat-box { position: absolute; left: var(--x1); top: var(--y1); width: calc(var(--x2) - var(--x1)); height: calc(var(--y2) - var(--y1));
            border: 2px solid transparent; border-radius: 6px; transition: border-color .15s, background-color .15s; pointer-events: none; }
.pin {
  position: absolute; left: var(--x1); top: var(--y1); transform: translate(-30%, -30%);
  width: 26px; height: 26px; border-radius: 50%; border: 2px solid #0E0F10;
  background: #fff; color: #0E0F10; font: 800 12.5px/1 var(--sans); letter-spacing: -0.02em;
  display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; z-index: 2;
  font-variant-numeric: tabular-nums; transition: background-color .15s, transform .15s;
}
.anat-fig.on .anat-box.on { border-color: var(--signal); background: rgba(31, 196, 95, .10); }
.anat-fig .pin.on { background: var(--signal); transform: translate(-30%, -30%) scale(1.15); }
.anat-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; counter-reset: a; }
.anat-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 2px 12px; padding: 14px 0; border-top: 1px solid var(--line); cursor: default; }
.anat-list li::before { counter-increment: a; content: counter(a); grid-row: span 2;
  width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--ink); color: var(--ink);
  font: 800 12px/21px var(--sans); text-align: center; font-variant-numeric: tabular-nums; margin-top: 2px; transition: background-color .15s; }
.anat-list li.on::before { background: var(--signal); border-color: var(--signal); color: #05200D; }
.anat-list b { font-size: 16px; }
.anat-list span { font-size: 14.5px; color: var(--ink-2); line-height: 1.65; }
@media (max-width: 760px) {
  .anat-list { grid-template-columns: 1fr; }
  .pin { width: 20px; height: 20px; font-size: 10.5px; border-width: 1.5px; }
}

/* --------------------------------------------------------- 쓰임새 (업무용 · 개인용 전환) */

.seg { display: inline-flex; border: 1px solid var(--ink); border-radius: 99px; padding: 3px; gap: 2px; margin-bottom: 22px; }
.seg button { border: 0; background: transparent; color: var(--ink); height: 36px; padding: 0 18px; border-radius: 99px;
              font-size: 14.5px; font-weight: 700; cursor: pointer; letter-spacing: -0.02em; }
.seg button[aria-selected="true"] { background: var(--solid); color: var(--solid-fg); }
.use-pane { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px 44px; align-items: start; }
.use-pane[hidden] { display: none; }
.use-pane .shot { margin: 0; }
.shot img { width: 100%; border-radius: var(--r); background: var(--stage); }
.shot figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .use-pane { grid-template-columns: 1fr; } }

.ticks { list-style: none; padding: 0; margin: 0; font-size: 15.5px; color: var(--ink-2); }
.ticks li { position: relative; padding: 11px 0 11px 30px; line-height: 1.65; border-top: 1px solid var(--line); }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 12px; height: 7px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }

/* --------------------------------------------------------- 기능 (목록형) */

.feats { border-bottom: 1px solid var(--line); }
.feat { display: grid; grid-template-columns: 56px minmax(0, 5fr) minmax(0, 6fr); gap: 16px 36px; padding: 40px 0; border-top: 1px solid var(--line); align-items: start; }
.feat-no { font: 800 15px/1.4 var(--sans); color: var(--green); font-variant-numeric: tabular-nums; padding-top: 4px; }
.feat-tx h3 { font-size: clamp(21px, 2.4vw, 27px); margin: 0 0 12px; letter-spacing: -0.045em; }
.feat-tx p { font-size: 15.5px; line-height: 1.8; }
.feat-tx p + p { margin-top: 10px; }
.feat-tx ul { margin-top: 14px; font-size: 15px; padding-left: 0; list-style: none; }
.feat-tx li { position: relative; padding-left: 16px; margin: 6px 0; }
.feat-tx li::before { content: "–"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.feat-shot { display: grid; gap: 10px; justify-items: start; }
.feat-shot img { border-radius: var(--r-sm); background: var(--stage); }

/* 3.7 접기 · 펴기 — 실제 화면 세 장을 겹쳐 두고 손잡이 자리에 누르는 표시 */
.fold-demo { grid-column: 2 / -1; margin: 8px 0 0; }
.fold-demo .seg { margin-bottom: 14px; }
.fold-stage { position: relative; aspect-ratio: 1376 / 500; border-radius: var(--r); background: var(--paper-2); overflow: hidden; }
.fold-stage img { position: absolute; left: 0; top: 0; height: 100%; width: auto; border-radius: var(--r-sm);
  opacity: 0; transition: opacity .35s ease; }
.fold-stage img.on { opacity: 1; }
.fold-tap { position: absolute; top: 46%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  border: 2px solid var(--signal); box-shadow: 0 0 0 4px rgba(31, 196, 95, .25); pointer-events: none;
  left: 99.2%; transition: left .45s ease; animation: foldTap 1.6s ease-out infinite; }
@keyframes foldTap { 0% { transform: scale(.7); opacity: 1; } 70% { transform: scale(1.15); opacity: .9; } 100% { transform: scale(1.3); opacity: 0; } }
.fold-cap { margin-top: 12px; font-size: 14.5px; color: var(--ink-2); line-height: 1.7; }
@media (max-width: 900px) { .feat-tx + .feat-tx, .fold-demo { grid-column: 2; } }
@media (max-width: 560px) { .fold-tap { width: 22px; height: 22px; margin: -11px 0 0 -11px; } }
@media (prefers-reduced-motion: reduce) { .fold-stage img, .fold-tap { transition: none; animation: none; } }
.feat-shot img.slim { width: 100%; }
@media (max-width: 900px) {
  .feat { grid-template-columns: 40px minmax(0, 1fr); padding: 30px 0; }
  .feat-shot { grid-column: 2; }
}

/* --------------------------------------------------------- 예약 종료 — 직접 눌러 보는 타이머 */

.tdemo-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 60px; align-items: start; }
.tflow { list-style: none; padding: 0; margin: 0; counter-reset: t; }
.tflow li { counter-increment: t; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.tflow li::before { content: counter(t); grid-row: span 2; font: 800 30px/1 var(--sans); color: var(--ink); letter-spacing: -0.05em; }
.tflow h3 { font-size: 17.5px; }
.tflow p { font-size: 15px; line-height: 1.7; }
.twarn { margin-top: 22px; padding: 16px 0 0; border-top: 2px solid var(--ink); font-size: 14.5px; line-height: 1.8; }
.twarn b { color: var(--ink); }

.tdemo { position: relative; }
.tdemo .scribble { position: absolute; right: 6px; top: -38px; }
.tpanel {
  --tp-bg: #2B3038; --tp-in: #22272E; --tp-ln: #3D4550; --tp-tx: #E6EAEE; --tp-mu: #A2AAB4; --tp-go: #22C55E; --tp-y: #F2B63C;
  background: var(--tp-bg); color: var(--tp-tx); border-radius: 10px; overflow: hidden; border: 1px solid #1A1E23;
  font-variant-numeric: tabular-nums; position: relative; max-width: 520px; margin-left: auto; user-select: none;
}
.tpanel-h { background: var(--tp-go); color: #04210E; font-weight: 800; font-size: 14px; padding: 9px 14px; display: flex; justify-content: space-between; }
.tpanel-h span { font-weight: 600; opacity: .7; }
.tpanel-b { padding: 14px; display: grid; gap: 10px; }
.tp-state { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.tp-state i { width: 9px; height: 9px; background: var(--tp-mu); border-radius: 2px; }
.tpanel.run .tp-state i { background: var(--tp-go); }
.tp-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tp-cell { background: var(--tp-in); border: 1px solid var(--tp-ln); border-radius: 5px; padding: 7px 6px; text-align: center; }
.tp-cell small { display: block; font-size: 11.5px; color: var(--tp-mu); }
.tp-cell b { display: block; color: var(--tp-tx); font-size: 17px; letter-spacing: -0.01em; }
.tp-cell b.go { color: var(--tp-go); }
.tp-left { background: var(--tp-in); border: 1px solid var(--tp-ln); border-radius: 5px; padding: 12px; text-align: center; }
.tp-left small { display: block; font-size: 12px; color: var(--tp-mu); }
.tp-left b { color: var(--tp-y); font-size: 30px; letter-spacing: -0.02em; line-height: 1.3; }
.tp-left b u { text-decoration: none; font-size: 14px; margin: 0 6px 0 2px; }
.tp-btns { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.tp-btns button, .tp-at button, .tp-mode button {
  height: 36px; border-radius: 5px; border: 1px solid var(--tp-ln); background: #39414C; color: var(--tp-tx);
  font: 700 13.5px/1 var(--sans); cursor: pointer; letter-spacing: -0.02em; }
.tp-btns button:hover, .tp-at button:hover, .tp-mode button:hover { background: #454E5A; }
.tp-btns button.minus { background: transparent; color: var(--tp-mu); }
.tp-at { display: grid; grid-template-columns: 64px 10px 64px minmax(0, 1fr); gap: 6px; align-items: center; }
.tp-at input { height: 36px; width: 100%; border-radius: 5px; border: 1px solid var(--tp-ln); background: var(--tp-in); color: var(--tp-tx);
               font: 800 16px/1 var(--sans); text-align: center; font-variant-numeric: tabular-nums; }
.tp-at em { font-style: normal; text-align: center; color: var(--tp-mu); font-weight: 700; }
.tp-mode { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.tp-mode button[aria-pressed="true"] { background: var(--tp-go); color: #04210E; border-color: var(--tp-go); }
.tp-foot { display: flex; justify-content: space-between; gap: 8px; align-items: center; font-size: 12px; color: var(--tp-mu); }
.tp-foot button { border: 0; background: none; color: var(--tp-tx); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: 600 12.5px var(--sans); padding: 4px 0; }
/* 1분 전 경고 */
.tp-warn { position: absolute; inset: 0; background: #2E343D; border: 2px solid var(--tp-go); border-radius: 10px;
           display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; padding: 20px; }
.tpanel.warn .tp-warn { display: flex; }
.tp-warn b { color: var(--tp-go); font-size: 19px; }
.tp-warn strong { color: #F3F5F7; font-size: 72px; line-height: 1.05; letter-spacing: -0.04em; }
.tp-warn p { font-size: 13px; color: var(--tp-mu); }
.tp-warn div { display: flex; gap: 8px; margin-top: 14px; }
.tp-warn button { height: 40px; min-width: 116px; border-radius: 5px; font: 800 14px var(--sans); cursor: pointer; border: 1px solid #58616D; background: #454D58; color: #E6EAEE; }
.tp-warn button.ext { background: linear-gradient(#9CC31B, #7FA513); border-color: #7FA513; color: #fff; }
@media (max-width: 900px) { .tdemo-wrap { grid-template-columns: 1fr; } .tpanel { margin: 0; } .tdemo .scribble { top: -34px; } }
@media (max-width: 420px) { .tp-btns button, .tp-mode button { font-size: 12px; } .tp-warn strong { font-size: 56px; } }

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

.tbl-wrap { overflow-x: auto; border-top: 2px solid var(--ink); }
table.cmp { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
table.cmp th, table.cmp td { padding: 15px 16px 15px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
table.cmp thead th { 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; width: 17%; }
table.cmp td { color: var(--ink-2); width: 41.5%; }

/* --------------------------------------------------------- 안심 (점검표) */

.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.checks li { padding: 24px 0 26px 44px; border-top: 1px solid var(--line); position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 26px; width: 26px; height: 26px; border-radius: 50%; background: var(--signal); }
.checks li::after { content: ""; position: absolute; left: 8px; top: 33px; width: 10px; height: 6px; border-left: 2.4px solid #05200D; border-bottom: 2.4px solid #05200D; transform: rotate(-45deg); }
.checks h3 { font-size: 18px; margin-bottom: 8px; }
.checks p { font-size: 15px; line-height: 1.75; }
.checks a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .checks { grid-template-columns: 1fr; } }

/* 예전 카드 (다른 페이지용) */
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .g2, .g3 { grid-template-columns: 1fr; } }
.card { border-top: 1px solid var(--line); padding: 20px 0; }
.card h3 { font-size: 17px; margin-bottom: 6px; }
.card p { font-size: 15px; }

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

.tools { border-top: 2px solid var(--ink); }
.tool {
  display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 20px; align-items: center;
  padding: 24px 0; border-bottom: 1px solid var(--line);
}
.tool-ic {
  width: 54px; height: 54px; border-radius: 50%; overflow: hidden; flex: none;
  display: flex; align-items: center; justify-content: center;
}
.tool-ic img { width: 100%; height: 100%; }
.tool-ic span { font: 700 22px/1 var(--sans); color: var(--muted); }
.tool-bd h3 { font-size: 19px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; letter-spacing: -0.04em; }
.tool-bd p { font-size: 15px; color: var(--ink-2); margin-top: 5px; }
.tool-bd .kv { margin-top: 9px; font-size: 13px; 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, .tool.ask .tool-ic { border: 1.5px dashed var(--muted); }
.tool.soon h3 { color: var(--muted); }

.pill {
  display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px;
  border-radius: 99px; 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 { color: var(--muted); border: 1px solid var(--line); }
.tool-end { color: var(--muted); font-size: 13px; }
@media (max-width: 720px) {
  .tool { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
  .tool-ic { width: 44px; height: 44px; }
  .tool > .btn, .tool > .tool-end { grid-column: 2; justify-self: start; }
}

/* 만든 사람 한마디 */
.maker { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 22px; align-items: start; margin-top: 44px; padding: 26px 0 0; border-top: 1px solid var(--line); }
.maker img { width: 88px; height: 88px; border-radius: 50%; }
.maker p { font-size: 16px; line-height: 1.85; }
.maker .scribble { display: inline-block; margin-top: 12px; font-size: 34px; }
@media (max-width: 560px) { .maker { grid-template-columns: 60px minmax(0, 1fr); gap: 16px; } .maker img { width: 60px; height: 60px; } }

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

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.steps .step { padding: 22px 0 0; border-top: 2px solid var(--ink); counter-increment: s; }
.steps .step::before { content: counter(s); display: block; font: 800 clamp(44px, 5vw, 64px)/1 var(--sans); color: var(--ink); letter-spacing: -0.06em; margin-bottom: 18px; }
.steps .step h3 { font-size: 19px; margin: 0 0 8px; }
.steps .step p { font-size: 15px; color: var(--ink-2); line-height: 1.75; }
.steps .step a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps .step::before { font-size: 40px; margin-bottom: 10px; }
}

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

.qa { border-top: 2px solid var(--ink); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -0.035em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before, .qa summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 2px; background: var(--ink); transition: transform .2s;
}
.qa summary::after { transform: rotate(90deg); }
.qa details[open] summary::after { transform: rotate(0deg); }
.qa summary:hover { color: var(--green); }
.qa .a { padding: 0 44px 24px 0; font-size: 15.5px; line-height: 1.85; color: var(--ink-2); }
.qa .a a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 30px 40px; }
.faq-grid .sec-head { display: block; border: 0; padding: 0; margin: 0; }
.faq-grid .sec-head .chap { border-top: 2px solid var(--ink); padding-top: 18px; margin-bottom: 12px; }
.faq-grid aside { position: sticky; top: 90px; align-self: start; }
.faq-grid aside .small { margin-top: 18px; line-height: 1.9; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid aside { position: static; } }

/* --------------------------------------------------------- 마무리 (초록 판) */

.band { background: var(--signal); color: #05200D; padding: 84px 0 0; overflow: hidden; }
.band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px 40px; align-items: end; }
.band h2 { color: #05200D; font-size: clamp(34px, 5.4vw, 68px); line-height: 1.06; letter-spacing: -0.06em; }
.band p { margin-top: 18px; color: #0B3A1C; font-size: 17px; }
.band .dl-row { margin-top: 30px; }
.band-mascot { width: clamp(170px, 24vw, 320px); margin-bottom: -22%; align-self: end; }   /* 아래가 잘려 판 밖에서 올라오는 것처럼 */
.band-pad { height: 84px; }
.band .wrap > div { position: relative; z-index: 1; }
@media (max-width: 760px) { .band .wrap { grid-template-columns: 1fr; } .band-pad { height: 20px; } .band-mascot { width: 150px; justify-self: end; margin-top: -10px; } }

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

.adstrip { padding: 28px 0; border-bottom: 1px solid var(--line); }
.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; }

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

.site-foot { background: var(--paper); color: var(--muted); font-size: 14px; padding: 60px 0 0; border-top: 1px solid var(--line); overflow: hidden; }
.site-foot .cols { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 30px; }
.site-foot h4 { color: var(--ink); font-size: 13.5px; margin-bottom: 12px; letter-spacing: -0.02em; }
.site-foot ul { list-style: none; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.site-foot a:hover { color: var(--green); }
.site-foot .about { font-size: 13.5px; line-height: 1.8; max-width: 30em; }
.site-foot .brand { margin-bottom: 12px; }
.foot-end { margin-top: 44px; padding: 18px 0 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); 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: 760px; margin: 0 auto; padding: 52px 20px 100px; }
.doc h1 { font-size: clamp(30px, 4.6vw, 44px); line-height: 1.16; letter-spacing: -0.055em; margin-bottom: 10px; }
.doc h2 { font-size: 22px; margin: 50px 0 12px; padding-top: 14px; border-top: 1px solid var(--line); scroll-margin-top: 78px; letter-spacing: -0.04em; }
.doc h3 { font-size: 17px; margin: 28px 0 6px; }
.doc p, .doc li { font-size: 16px; 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: 14px; }
.doc h2 .meta { font-weight: 500; margin-left: 8px; font-size: 13px; }
.doc code { font-family: var(--mono); font-size: .86em; background: var(--paper-2); border-radius: 4px; padding: 2px 6px; 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: 15px; margin: 14px 0; }
.doc th, .doc td { border-bottom: 1px solid var(--line); padding: 12px 12px 12px 0; text-align: left; vertical-align: top; }
.doc th { color: var(--ink); font-weight: 700; font-size: 13.5px; }
.doc .tbl-wrap table { margin: 0; }
.doc .toc {
  display: flex; flex-wrap: wrap; gap: 7px 18px; margin: 24px 0 6px; padding: 14px 0;
  border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); font-size: 14.5px;
}
.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(--signal); background: var(--green-t); padding: 14px 18px; font-size: 15px; border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: 18px 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: 15px 0; color: var(--ink); font-weight: 700; font-size: 16px; }
.doc summary:hover { color: var(--green); }
.doc details p { margin: 0 0 14px; }
.doc .more { margin-top: 48px; padding-top: 20px; border-top: 2px solid var(--ink); font-size: 15px; }
.doc .muted { color: var(--muted); }
@media (max-width: 560px) {
  .doc { padding-top: 34px; }
  .doc table, .doc tbody, .doc tr, .doc td, .doc th { display: block; }
  .doc thead { display: none; }
  .doc td, .doc th { border: 0; padding: 2px 0; }
  .doc tbody tr, .doc table > 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: 99px; padding: 5px 13px; font-size: 13.5px; color: var(--ink-2); font-weight: 600; }
.chips a span { color: var(--muted); margin-left: 3px; font-weight: 500; }
.chips a:hover { border-color: var(--ink); color: var(--ink); }
.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; border-top: 2px solid var(--ink); }
.posts li { border-bottom: 1px solid var(--line); }
.posts a { display: flex; gap: 22px; padding: 24px 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); }
.posts h2 { margin: 2px 0 7px; font-size: 19px; line-height: 1.42; transition: color .15s; border: 0; padding: 0; }
.posts p { font-size: 15px; 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: 12px; }
  .posts img { width: 100%; }
  .posts h2 { font-size: 17px; }
}

.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--green); }

.post h1 { font-size: clamp(28px, 4.4vw, 40px); line-height: 1.24; }
.post h2 { font-size: 23px; margin: 52px 0 12px; line-height: 1.38; }
.post h3 { font-size: 18px; margin: 30px 0 6px; }
.post p, .post li { font-size: 17px; line-height: 1.9; }
.post img { max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--r); }
.post img.cover { margin: 20px 0 8px; }
.post blockquote { margin: 22px 0; padding: 16px 20px; border-left: 3px solid var(--signal); background: var(--green-t); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.post blockquote p { margin: 4px 0; font-size: 16px; }
.post hr { margin: 40px 0; }
.post .tbl { overflow-x: auto; margin: 16px 0; border-top: 2px solid var(--ink); }
.post .tbl table { min-width: 480px; margin: 0; }
.post .tbl th, .post .tbl td { padding: 12px 14px 12px 0; }
.post .toc { flex-direction: column; gap: 5px; }
.tags { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 7px; }
.tags span { font-size: 12.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 3px 10px; }
.related { margin-top: 48px; padding-top: 18px; border-top: 2px solid var(--ink); }
.related h2 { margin: 0 0 10px; font-size: 17px; border: 0; padding: 0; }
.related ul { margin: 0; }

/* 글 안에서 프로그램을 소개하는 띠 */
.promo {
  margin: 44px 0 8px; padding: 22px 24px; border-radius: var(--r-lg);
  background: var(--signal); color: #05200D;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.promo img { width: 48px; height: 48px; border-radius: 50%; flex: none; border: 0 !important; margin: 0 !important; }
.promo div { flex: 1 1 260px; }
.promo b { display: block; color: #05200D; font-size: 17px; letter-spacing: -0.03em; }
.promo p { font-size: 14.5px; color: #0B3A1C; margin-top: 4px; }
.promo .btn { flex: none; }
.doc .promo a.btn, .doc .promo a.btn-go { background: #05200D; color: #DFF3E6; }

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

.theme-btn {
  width: 36px; height: 36px; flex: none; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; 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-go:hover { color: var(--solid-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: 50%; margin: 0; }
.doc .tools { margin: 28px 0 8px; }
.doc .tool p { margin: 0; }
.doc .tool-bd h3 { margin: 0; }

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

.chip-ad, .chip-love {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px;
  border-radius: 99px; 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(--ink); border-color: var(--ink); background: transparent; }
.chip-ad:hover { background: var(--solid); color: var(--solid-fg); }
.chip-love { background: var(--signal); color: var(--go-fg); }
.chip-love:hover { background: var(--solid); color: var(--solid-fg); }
.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);
  position: relative;
}
.modal::backdrop { background: rgba(10, 12, 11, .55); }
.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 0; border-top: 1px solid var(--line); border-bottom: 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: var(--r-sm); 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); }
.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); }

/* 움직임을 줄이도록 설정한 사용자 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.doc .toc + h2 { border-top: 0; }

/* 블로그: 글 분류와 맞는 프로그램 기능 안내 (광고 자리와 헷갈리지 않게 옅은 테두리 상자) */
.p-cta { margin: 44px 0 0; padding: 20px 22px; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: var(--r); background: var(--surface); }
.p-cta .k { font-size: 12.5px; color: var(--muted); font-weight: 600; margin: 0; }
.doc .p-cta h2 { margin: 4px 0 6px; font-size: 18px; border: 0; padding: 0; }
.p-cta p { font-size: 15px; margin: 0; }
.p-cta .acts { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px 16px; font-weight: 600; }
.p-cta .acts a { min-height: 44px; display: inline-flex; align-items: center; }

/* 블로그 검색칸 */
.b-search { display: flex; gap: 8px; margin: 20px 0 4px; }
.b-search input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; font: inherit; font-size: 15px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.b-search input:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.b-search button { flex: none; height: 46px; padding: 0 18px; font: inherit; font-weight: 700; border: 0; border-radius: var(--r); background: var(--solid); color: var(--solid-fg); cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 쿠팡 파트너스 대가성 문구 (제휴 링크가 든 글의 맨 위) */
.doc .aff-note { font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px 12px; margin: 8px 0 12px; }

/* 쿠팡 상품 카드 (파트너스 iframe, 120×240 고정)
   한 줄만: 칸에 다 들어가는 카드만 보이고, 넘치는 카드는 둘째 줄로 밀려 가려진다 (잘린 카드가 보이지 않게) */
.cp-cards { display: grid; grid-template-columns: repeat(auto-fill, 120px); gap: 10px; height: 240px; overflow: hidden; margin: 16px 0 10px; }
.cp-cards iframe { display: block; border: 0; border-radius: var(--r-sm); background: #fff; }
