/* conode.net 소개·사용법 — 웹 앱(admin 테마)과 같은 색·글꼴 */
:root {
  --ink: #1d2225; --ink-2: #4c5053; --muted: #686b6d; --line: #e4e4e5; --soft: #f6f6f6;
  --blue: #0f73e5; --blue-soft: #e6f2ff; --violet: #7c3aed; --violet-soft: #f1ebfd;
  --night: #16191d; --night-2: #1f242a; --night-fg: #a9b0b8;
  --font: "Pretendard Variable", Pretendard, -apple-system, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--ink); font: 16px/1.65 var(--font); letter-spacing: -.01em; word-break: keep-all; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* 머리 */
.top { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / 92%); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; text-decoration: none; letter-spacing: -.3px; }
.brand img { width: 28px; height: 28px; border-radius: 8px; }
.top nav { display: flex; gap: 4px; margin-left: 12px; }
.top nav a { padding: 6px 10px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: 15px; }
.top nav a:hover, .top nav a[aria-current="page"] { background: var(--soft); color: var(--ink); }
.top .right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang select { height: 34px; padding: 0 28px 0 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23686b6d' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center; font: inherit; font-size: 14px; color: var(--ink); appearance: none; cursor: pointer; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: #fafafa; }
.btn.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.primary:hover { background: #000; }
.btn.big { height: 48px; padding: 0 22px; font-size: 16px; border-radius: 12px; }
@media (max-width: 760px) { .top nav { display: none; } .top .right .btn:not(.primary) { display: none; } }

/* 첫 화면: 왼쪽 글, 오른쪽 실제 화면 (오른쪽으로 조금 넘친다) */
.hero2 { padding: 72px 0 56px; overflow: hidden; }
.hero2 .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 56px; row-gap: 48px; align-items: end; }
.hero2 h1 { margin: 0; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.16; letter-spacing: -.045em; font-weight: 750; max-width: 13em; }
.hero2 .lead { margin: 0 0 24px; font-size: 17px; color: var(--ink-2); }
.cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.link { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #c9cbcd; }
.link:hover { text-decoration-color: currentColor; }
.hero2 .fine { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.hero-shot { grid-column: 1 / -1; margin-right: -160px; }
.shot { margin: 0; }
.shot img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 48px rgb(29 34 37 / 9%); background: #fff; }
.shot figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); max-width: 40em; }
@media (max-width: 900px) { .hero2 .wrap { grid-template-columns: 1fr; row-gap: 28px; } .hero-shot { margin-right: -60px; } .hero2 { padding-top: 40px; } }

/* 연결되는 AI 앱 이름 줄 */
.works { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.works .wrap { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.works p { margin: 0; font-size: 14px; color: var(--muted); }
.works ul { display: flex; gap: 36px; margin: 0; padding: 0; list-style: none; flex-wrap: wrap; }
.works li { font-size: 20px; font-weight: 700; letter-spacing: -.03em; color: #43484b; }

/* 구역 공통 */
.sec { padding: 96px 0; }
.sec.tint { background: var(--soft); }
.h2 { margin: 0 0 14px; font-size: clamp(26px, 3vw, 36px); line-height: 1.28; letter-spacing: -.035em; font-weight: 720; max-width: 22em; }
.sub { margin: 0; color: var(--ink-2); font-size: 17px; max-width: 36em; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: 40px; }
@media (max-width: 900px) { .sec { padding: 72px 0; } .sec-head { grid-template-columns: 1fr; gap: 8px; } }

.code { display: block; background: #f1f2f3; color: var(--ink); border-radius: 8px; padding: 10px 12px; font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-x: auto; white-space: nowrap; letter-spacing: 0; }
q.say { display: block; quotes: "\201C" "\201D"; font-size: 15px; color: var(--ink); }
q.say::before, q.say::after { color: var(--muted); }

/* 순서: 가로 선 위에 번호 (실제 순서라 번호를 쓴다) */
.timeline { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: t; }
.timeline li { counter-increment: t; border-top: 2px solid var(--ink); padding-top: 18px; display: grid; gap: 10px; align-content: start; }
.timeline li::before { content: counter(t); font-size: 14px; font-weight: 700; color: var(--blue); font-variant-numeric: tabular-nums; }
.timeline li + li { border-top-color: var(--line); }
.timeline h3 { margin: 0; font-size: 19px; letter-spacing: -.02em; }
.timeline p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 1000px) { .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }

/* 업무 예시: 크기가 다른 칸 */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; gap: 16px; }
.cell { background: #fff; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; grid-column: span 1; }
.cell.big { grid-column: span 2; grid-row: span 2; }
.cell.wide { grid-column: span 2; }
.cell img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.cell.big img { aspect-ratio: auto; flex: 1 1 0; min-height: 320px; }
.cell-body { padding: 18px 20px 20px; display: grid; gap: 6px; }
.cell h3 { margin: 0; font-size: 18px; letter-spacing: -.02em; }
.cell .fields { margin: 0; font-size: 14px; color: var(--muted); }
.cell q.say { margin-top: 6px; }
.cell.text { justify-content: space-between; }
.cell.text .cell-body { padding-top: 24px; }
.cell-note { margin: 0; padding: 16px 20px 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cell.big { grid-row: auto; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .cell.big, .cell.wide { grid-column: auto; } }

/* 안심: 화면 + 설명 */
.trust { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.points2 { margin: 28px 0 0; display: grid; }
.points2 dt { font-weight: 650; font-size: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.points2 dd { margin: 4px 0 18px; color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr; gap: 36px; } .trust .shot { order: 2; } }

/* 요금: 표 한 줄씩 */
.pricing { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.price-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.price-table th, .price-table td { text-align: left; padding: 18px 12px 18px 0; border-bottom: 1px solid #dfe0e2; vertical-align: baseline; }
.price-table tr:first-child th, .price-table tr:first-child td { border-top: 2px solid var(--ink); }
.price-table th { font-weight: 700; width: 24%; }
.price-table .amt { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; width: 28%; }
.price-table td:last-child { color: var(--ink-2); font-size: 15px; }
.plan-note { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 560px) { .price-table tr { display: grid; grid-template-columns: 1fr auto; } .price-table td:last-child { grid-column: 1 / -1; padding-top: 0; } .price-table th, .price-table td { border-bottom: 0; } .price-table tr { border-bottom: 1px solid #dfe0e2; } .price-table tr:first-child { border-top: 2px solid var(--ink); } .price-table tr:first-child th, .price-table tr:first-child td { border-top: 0; } }

/* 마지막 권유: 왼쪽 정렬 한 줄 */
.closing { border-top: 1px solid var(--line); }
.closing .sub { margin-bottom: 28px; }

/* 출처 배지 (사용법 페이지) */
.tag { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 7px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.tag.ai::before { content: ""; width: 6px; height: 6px; background: currentColor; transform: rotate(45deg); border-radius: 1px; }
.say { font-size: 15px; }

footer.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer.foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer.foot a { color: var(--muted); text-decoration: none; margin-right: 14px; }

/* ───────── 사용법 페이지 ───────── */
.doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; padding: 48px 0 80px; }
.toc { position: sticky; top: 88px; align-self: start; display: grid; gap: 2px; font-size: 14px; }
.toc a { padding: 6px 10px; border-radius: 8px; text-decoration: none; color: var(--ink-2); }
.toc a:hover { background: var(--soft); color: var(--ink); }
.doc h1 { margin: 0 0 12px; font-size: clamp(30px, 4vw, 42px); letter-spacing: -.04em; line-height: 1.2; }
.doc .lead { font-size: 18px; color: var(--ink-2); margin: 0 0 36px; }
.doc h2 { margin: 56px 0 14px; font-size: 26px; letter-spacing: -.03em; scroll-margin-top: 88px; }
.doc h3 { margin: 28px 0 10px; font-size: 19px; letter-spacing: -.02em; }
.doc p, .doc li { color: var(--ink-2); }
.doc ol.howto { padding-left: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.doc ol.howto > li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 12px; }
.doc ol.howto > li::before { content: counter(s); width: 26px; height: 26px; border-radius: 8px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; margin-top: 1px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; margin: 10px 0 6px; }
.tbl th, .tbl td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { color: var(--muted); font-weight: 500; font-size: 13.5px; background: #fafafa; }
.scenario { border: 1px solid var(--line); border-radius: 16px; padding: 22px; margin: 18px 0; display: grid; gap: 14px; }
.scenario h3 { margin: 0; }
.convo { display: grid; gap: 8px; }
.convo .line { display: grid; grid-template-columns: 132px 1fr; gap: 12px; align-items: start; font-size: 15px; }
.convo .line .who { font-size: 13px; color: var(--muted); padding-top: 2px; }
.convo .line .what { background: var(--soft); border-radius: 10px; padding: 8px 12px; color: var(--ink); }
.convo .line.ai .what { background: #fff; border: 1px solid var(--line); }
.callout { border-radius: 12px; padding: 14px 16px; background: var(--blue-soft); color: #0b4f9e; font-size: 15px; }
details.faq { border-bottom: 1px solid var(--line); padding: 14px 0; }
details.faq summary { cursor: pointer; font-weight: 600; font-size: 16px; }
details.faq p { margin: 10px 0 0; }
@media (max-width: 900px) { .doc { grid-template-columns: minmax(0, 1fr); } .doc .tbl { display: block; overflow-x: auto; } .doc .code { white-space: pre-wrap; word-break: break-all; } .toc { display: none; } .convo .line { grid-template-columns: 1fr; gap: 4px; } }

/* 밝은 바탕(사용법 페이지)의 출처 표시 */
.doc .tag.ai { background: var(--violet-soft); color: #6d28d9; }
.doc .tag.web { background: var(--blue-soft); color: #0b5cb8; }
.tbl td.no { color: #b4b7ba; }
@media (max-width: 560px) {
  .top .wrap { gap: 10px; }
  .lang select { width: 96px; }
  .hero-shot figcaption { padding-right: 60px; }
}
/* 띄어쓰기가 없는 언어는 글자 단위 줄바꿈 */
:lang(ja), :lang(zh-CN), :lang(zh-TW), :lang(th) { word-break: normal; overflow-wrap: anywhere; }
@media (max-width: 900px) { .hero2 .wrap, .trust, .pricing { grid-template-columns: minmax(0, 1fr); } }

/* 개인정보 처리방침·이용약관: 읽기 좋은 한 단 */
.legal { max-width: 760px; padding-top: 48px; padding-bottom: 80px; }
.legal h1 { margin: 0 0 6px; font-size: clamp(28px, 4vw, 38px); letter-spacing: -.04em; }
.legal .muted { margin: 0 0 24px; color: var(--muted); font-size: 14px; }
.legal .lead { font-size: 17px; color: var(--ink-2); }
.legal h2 { margin: 40px 0 10px; font-size: 20px; letter-spacing: -.02em; }
.legal ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--ink-2); }
.legal a { color: var(--blue); }
