/* 소개 · 다운로드 페이지. 어두운 바탕, 큰 글자, 실제 화면 캡처, 움직이는 빛과 커서.
   색은 잉크와 회색, 초록은 표식과 강조에만. 파란색은 쓰지 않는다. */
:root {
	--ui: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", sans-serif;
	--mono: ui-monospace, "Cascadia Code", "JetBrains Mono", Consolas, monospace;
	--bg: #0b0c0f; --bg-2: #101217; --card: #16181d; --line: #2a2e35; --line-2: #3a3f48;
	--ink: #f2f3f5; --sub: #a2a9b4; --faint: #737a86; --accent: #34d399; --accent-2: #a7f3d0;
	color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--ui); font-size: 16px; line-height: 1.55; letter-spacing: -.2px; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(100% - 48px, 1180px); margin: 0 auto; }
h2 { margin: 0 0 14px; font-size: clamp(26px, 3vw, 38px); line-height: 1.25; font-weight: 700; letter-spacing: -.8px; text-wrap: balance; word-break: keep-all; }
.sec { padding: 84px 0; border-top: 1px solid var(--line); }
.sec > .wrap > p.intro { margin: 0 0 32px; color: var(--sub); font-size: 17px; max-width: 40em; word-break: keep-all; line-height: 1.7; }

/* 위 줄 */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.mark { width: 30px; height: 30px; border-radius: 8px; background: #16181d; display: grid; place-items: center; flex-shrink: 0; }
.mark svg { width: 100%; height: 100%; display: block; }
.wordmark { font: 700 13px var(--mono); letter-spacing: .3px; }
.wordmark i { font-style: normal; color: var(--accent); animation: blink 1.2s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.top nav { display: flex; align-items: center; gap: 6px; }
.top nav .menu { display: flex; gap: 2px; margin-right: 10px; }
.top nav .menu a { height: 36px; padding: 0 11px; border-radius: 8px; display: inline-flex; align-items: center; font-size: 14px; color: var(--sub); }
.top nav .menu a:hover { color: var(--ink); background: var(--card); }

/* 버튼 두 단: 잉크(흰) · 테두리 */
.btn { position: relative; height: 44px; padding: 0 18px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; font-weight: 600; white-space: nowrap; transition: background .15s ease, border-color .15s ease, transform .1s ease, box-shadow .2s ease; }
.btn.main { background: var(--ink); color: #0b0c0f; }
.btn.main:hover { background: #ffffff; box-shadow: 0 0 0 4px rgba(52, 211, 153, .18); }
.btn.main:active { transform: scale(.99); }
.btn.line { border: 1px solid var(--line-2); color: var(--ink); font-weight: 500; }
.btn.line:hover { background: var(--card); border-color: var(--faint); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn.big { height: 54px; padding: 0 26px; font-size: 16px; border-radius: 12px; }
.top .btn { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 9px; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ── 첫 화면 ─────────────────────────────────────────── */
.hero { position: relative; padding: 96px 0 64px; overflow: hidden; isolation: isolate; }
/* 뒤: 느리게 흐르는 빛 세 덩이 + 아주 옅은 격자 */
.glow { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.glow i { position: absolute; display: block; border-radius: 50%; filter: blur(42px); mix-blend-mode: screen; will-change: transform; }
.glow .a { width: 70vw; height: 70vw; max-width: 980px; max-height: 980px; top: -32%; right: -14%;
	background: radial-gradient(closest-side, rgba(52, 211, 153, .55), rgba(52, 211, 153, .18) 40%, transparent 70%); animation: drift-a 14s ease-in-out infinite alternate; }
.glow .b { width: 46vw; height: 46vw; max-width: 660px; max-height: 660px; top: 18%; right: 20%;
	background: radial-gradient(closest-side, rgba(110, 150, 255, .42), rgba(110, 150, 255, .12) 45%, transparent 72%); animation: drift-b 19s ease-in-out infinite alternate; }
.glow .c { width: 36vw; height: 36vw; max-width: 520px; max-height: 520px; bottom: -10%; left: -8%;
	background: radial-gradient(closest-side, rgba(167, 243, 208, .22), rgba(167, 243, 208, .06) 50%, transparent 72%); animation: drift-c 23s ease-in-out infinite alternate; }
.glow .grid { position: absolute; inset: 0; border-radius: 0; filter: none; mix-blend-mode: normal;
	background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
	background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%); animation: grid-move 30s linear infinite; }
@keyframes drift-a { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-14%, 12%) scale(1.15); } 100% { transform: translate(8%, -8%) scale(.94); } }
@keyframes drift-b { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(18%, -14%) scale(1.22); } 100% { transform: translate(-10%, 10%) scale(1.04); } }
@keyframes drift-c { 0% { transform: translate(0, 0); } 100% { transform: translate(22%, -18%) scale(1.2); } }
@keyframes grid-move { from { background-position: 0 0, 0 0; } to { background-position: 0 56px, 56px 0; } }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { margin: 0 0 22px; font-size: clamp(38px, 5.6vw, 68px); line-height: 1.14; font-weight: 800; letter-spacing: -1.8px; text-wrap: balance; word-break: keep-all; max-width: 15em; }
.hero h1 .w { display: inline-block; animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * 70ms); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { margin: 0 0 34px; font-size: clamp(16px, 1.5vw, 19px); color: var(--sub); line-height: 1.7; max-width: 34em; word-break: keep-all; animation: rise .8s cubic-bezier(.2, .7, .2, 1) .35s both; }
.hero .lede b { color: var(--ink); font-weight: 600; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .cta { animation: rise .8s cubic-bezier(.2, .7, .2, 1) .45s both; }
.cta small { display: block; width: 100%; margin-top: 10px; font-size: 13.5px; color: var(--faint); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* 캡처 틀 */
.shot { position: relative; border-radius: 14px; border: 1px solid var(--line-2); background: #1f2023; overflow: hidden; box-shadow: 0 2px 6px rgba(0, 0, 0, .35), 0 30px 80px rgba(0, 0, 0, .55); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease; }
.hero-shot { margin-top: 60px; animation: rise 1s cubic-bezier(.2, .7, .2, 1) .6s both; }
.hero-shot::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 70%, var(--bg)); }
/* 캡처 위에서 움직이는 다른 사람 커서 — 함께 고치는 느낌을 그림이 아니라 동작으로 */
.cur { position: absolute; z-index: 2; pointer-events: none; display: flex; align-items: flex-start; gap: 4px; will-change: transform; animation: var(--path) var(--dur) ease-in-out infinite alternate; }
.cur svg { width: 18px; height: 18px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5)); } .cur path { stroke: #0b0c0f; stroke-width: 1.2; stroke-linejoin: round; }
.cur b { margin-top: 12px; padding: 2px 7px; border-radius: 6px; font-size: 12px; font-weight: 600; color: #0b0c0f; white-space: nowrap; }
.cur.k { --path: cur-k; --dur: 9s; left: 34%; top: 36%; } .cur.k b { background: #34d399; } .cur.k path { fill: #34d399; }
.cur.l { --path: cur-l; --dur: 12s; left: 48%; top: 60%; } .cur.l b { background: #fbbf24; } .cur.l path { fill: #fbbf24; }
.cur.m { --path: cur-m; --dur: 15s; left: 60%; top: 30%; } .cur.m b { background: #a78bfa; } .cur.m path { fill: #a78bfa; }
@keyframes cur-k { 0% { transform: translate(0, 0); } 30% { transform: translate(120px, 40px); } 60% { transform: translate(40px, 110px); } 100% { transform: translate(180px, 70px); } }
@keyframes cur-l { 0% { transform: translate(0, 0); } 35% { transform: translate(-90px, -60px); } 70% { transform: translate(60px, -120px); } 100% { transform: translate(-30px, 20px); } }
@keyframes cur-m { 0% { transform: translate(0, 0); } 40% { transform: translate(-140px, 90px); } 80% { transform: translate(40px, 160px); } 100% { transform: translate(-60px, 30px); } }
/* 캡처 위 채팅 거품: 잠깐 떠올랐다 사라진다 */
.bub { position: absolute; z-index: 2; pointer-events: none; right: 3.5%; bottom: 14%; max-width: 260px; padding: 10px 14px; border-radius: 12px; background: #16181d; border: 1px solid var(--line-2); color: var(--ink); font-size: 13.5px; line-height: 1.45; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); animation: bub 12s ease-in-out infinite; opacity: 0; }
.bub b { display: block; font-size: 12px; color: var(--accent); margin-bottom: 2px; }
.bub.two { animation-delay: 6s; bottom: 24%; }
@keyframes bub { 0%, 8% { opacity: 0; transform: translateY(10px); } 14%, 40% { opacity: 1; transform: none; } 48%, 100% { opacity: 0; transform: translateY(-6px); } }

/* 숫자 줄: 실제로 잰 값 */
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.nums div { padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; background: color-mix(in srgb, var(--card) 70%, transparent); }
.nums b { display: block; font-size: 40px; font-weight: 800; letter-spacing: -1.5px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.nums b i { font-style: normal; font-size: 20px; color: var(--faint); font-weight: 500; margin-left: 4px; }
.nums small { display: block; margin-top: 6px; font-size: 14px; color: var(--sub); }

/* 스크롤하면 떠오르는 것들 */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.rv.in, .no-io .rv { opacity: 1; transform: none; }

/* 기능: 글 한쪽 · 캡처 한쪽, 줄마다 자리 바꿈 */
.feat { padding: 80px 0; border-top: 1px solid var(--line); }
.feat .wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.feat.flip .wrap { grid-template-columns: 1.25fr 1fr; }
.feat.flip .txt { order: 2; }
.feat p { margin: 0; font-size: 17px; color: var(--sub); line-height: 1.7; word-break: keep-all; max-width: 30em; }
.feat p + p { margin-top: 12px; }
.feat p b { color: var(--ink); font-weight: 600; }
.feat .shot img { aspect-ratio: 16 / 9; object-fit: cover; object-position: left top; }
.feat .shot.tall img { aspect-ratio: 12 / 13; object-position: left top; }
.feat .shot:hover { transform: translateY(-5px) scale(1.01); box-shadow: 0 2px 6px rgba(0, 0, 0, .35), 0 44px 100px rgba(0, 0, 0, .62); }

/* 두 길 */
.ways .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.way { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px 28px 26px; display: flex; flex-direction: column; gap: 8px; transition: border-color .2s ease, transform .3s ease; }
.way:hover { border-color: var(--faint); transform: translateY(-3px); }
.way h3 { margin: 0; font-size: 21px; font-weight: 700; }
.way p { margin: 0 0 10px; color: var(--sub); line-height: 1.65; word-break: keep-all; }
.way ul { margin: 0 0 18px; padding: 0; list-style: none; color: var(--sub); font-size: 15px; display: grid; gap: 6px; }
.way li { padding-left: 14px; position: relative; }
.way li::before { content: ''; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }
.way .btn { align-self: flex-start; margin-top: auto; }

/* 프로그램 정보: 표 하나 */
.info .grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.spec { border-top: 1px solid var(--line-2); }
.spec div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.spec dt { color: var(--faint); }
.spec dd { margin: 0; color: var(--ink); word-break: keep-all; }
.spec dd small { display: block; color: var(--sub); font-size: 14px; margin-top: 2px; }
.req h3, .log h3 { margin: 0 0 12px; font-size: 17px; font-weight: 700; }
.req ul, .log ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; color: var(--sub); font-size: 15.5px; }
.req li, .log li { padding-left: 16px; position: relative; word-break: keep-all; }
.req li::before, .log li::before { content: ''; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.req li b, .log li b { color: var(--ink); font-weight: 600; }
.log { margin-top: 34px; }
.log .ver { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.log .ver b { font-size: 17px; } .log .ver span { color: var(--faint); font-size: 14px; }

/* 자주 묻는 질문: 접었다 펴기 */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 18px; font-weight: 600; word-break: keep-all; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 10px; height: 10px; border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: rotate(45deg); transition: transform .25s ease; flex-shrink: 0; margin-right: 4px; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { margin: -6px 0 22px; color: var(--sub); line-height: 1.7; max-width: 48em; word-break: keep-all; animation: rise .35s ease both; }

/* 끝 */
.end { padding: 96px 0 80px; border-top: 1px solid var(--line); text-align: center; position: relative; overflow: hidden; }
.end::before { content: ''; position: absolute; left: 50%; top: 50%; width: 60vw; height: 60vw; max-width: 700px; max-height: 700px; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
	background: radial-gradient(closest-side, rgba(52, 211, 153, .22), transparent 70%); filter: blur(30px); animation: pulse 6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: translate(-50%, -50%) scale(1.15); opacity: .7; } }
.end .wrap { position: relative; }
.end h2 { margin: 0 0 14px; font-size: clamp(30px, 4vw, 48px); font-weight: 800; letter-spacing: -1.2px; }
.end p { margin: 0 0 30px; color: var(--sub); font-size: 17px; }
.end .cta { justify-content: center; }
footer { border-top: 1px solid var(--line); padding: 26px 0; color: var(--faint); font-size: 13.5px; }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer a:hover { color: var(--ink); }

@media (max-width: 860px) {
	.hero { padding-top: 56px; }
	.feat .wrap, .feat.flip .wrap { grid-template-columns: 1fr; gap: 28px; }
	.feat.flip .txt { order: 0; }
	.ways .grid, .info .grid, .nums { grid-template-columns: 1fr; }
	.top nav .menu, .top nav .line { display: none; }
	.cur, .bub { display: none; }
	.spec div { grid-template-columns: 110px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.glow i, .hero h1 .w, .hero .lede, .hero .cta, .hero-shot, .cur, .bub, .end::before, .wordmark i { animation: none !important; }
	.bub { opacity: 1; } .rv { opacity: 1; transform: none; transition: none; } .shot, .way { transition: none; }
}
