:root{--bg:#fbfbfa;--fg:#171717;--muted:#5c5c5c;--faint:#999999;--rule:#d9d9d9}
@media (prefers-color-scheme:dark){:root{--bg:#121212;--fg:#eaeaea;--muted:#a5a5a5;--faint:#6e6e6e;--rule:#2d2d2d}}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--fg);font-family:"Pretendard Variable",Pretendard,-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;font-size:16.5px;line-height:1.8;letter-spacing:-0.011em;word-break:keep-all}
body.en{letter-spacing:0;word-break:normal}
a{color:var(--fg);text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--faint)}
a:hover{text-decoration-color:var(--fg)}
.wrap{max-width:920px;margin:0 auto;padding:0 28px}
header{display:flex;justify-content:space-between;align-items:baseline;padding:36px 0 14px;border-bottom:1px solid var(--fg)}
.wordmark{font-weight:750;font-size:19px;letter-spacing:-0.02em;text-decoration:none}
.lang{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;color:var(--muted)}
.lang a{color:var(--muted);text-decoration:none}
.lang a:hover{text-decoration:underline}
.hero{padding:96px 0 88px}
.hero h1{font-size:clamp(25px,4.6vw,46px);line-height:1.5;font-weight:600;letter-spacing:-0.025em;margin:0;max-width:20em}
.sub{margin:30px 0 0;font-size:clamp(16px,2.4vw,19px);color:var(--muted)}
.overedge{margin:48px 0 0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;color:var(--faint)}
section{display:grid;grid-template-columns:190px 1fr;gap:28px;border-top:1px solid var(--rule);padding:44px 0 64px}
.label{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11.5px;letter-spacing:0.1em;color:var(--faint);margin:6px 0 0;text-transform:uppercase}
.tier{margin:0 0 36px}
.tier:last-child{margin:0}
.tier + .tier::before{content:"";display:block;width:1px;height:22px;background:var(--rule);margin:-30px 0 8px 4px}
.tier h3,.block h3{margin:0 0 4px;font-size:19px;font-weight:650;letter-spacing:-0.015em}
.tier p,.block p,.prose p{margin:0;color:var(--muted)}
.block{margin:0 0 36px}
.block:last-child{margin:0}
h1.page{font-size:clamp(22px,4.5vw,32px);line-height:1.45;font-weight:650;letter-spacing:-0.025em;margin:80px 0 12px}
.page-note{margin:0 0 56px;color:var(--muted)}
.legal h2{font-size:17px;font-weight:650;letter-spacing:-0.015em;margin:44px 0 8px}
.legal p{margin:0 0 16px;color:var(--muted)}
footer{margin:120px 0 0;border-top:1px solid var(--fg);padding:30px 0 60px;font-size:13px;color:var(--muted);line-height:2.1}
footer a{color:var(--muted)}
@media (max-width:640px){section{grid-template-columns:1fr;gap:14px;padding:36px 0 48px}.hero{padding:72px 0 64px}}

/* 다이어그램 — 묻는 도구 비교 */
.fig2{display:grid;grid-template-columns:1fr 1fr;gap:36px;margin:24px 0 4px;max-width:660px}
.fig2 figure{margin:0;min-width:0}
.fig2 svg{width:100%;height:auto;display:block;overflow:visible}
.fig2 figcaption{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;letter-spacing:0.1em;color:var(--faint);margin-top:10px}
.p-node{fill:var(--bg);stroke:var(--faint);stroke-width:2.5;stroke-dasharray:5 4}
.h-node{fill:var(--fg)}
.h-lb{font-size:19px;font-weight:600;fill:var(--bg);text-anchor:middle;font-family:inherit}
.arw{fill:var(--fg)}
.ray,.live,.live-m{stroke:var(--fg);stroke-width:2.4;fill:none;marker-end:url(#arw)}
.live{marker-start:url(#arw)}
.live-m{marker-start:url(#arw)}
.mesh{stroke:var(--faint);stroke-width:1.3;fill:none;opacity:.38}
.mesh-m{stroke:var(--fg);stroke-width:1.3;fill:none;opacity:.22}
.ansbar{fill:var(--fg);opacity:.18;transform-box:fill-box;transform-origin:left center}
@media (max-width:560px){.fig2{grid-template-columns:1fr;gap:30px}}
.gAnodes{animation:dgA 12s linear infinite}
@keyframes dgA{0%,2%{opacity:0}6%,94%{opacity:1}98%,100%{opacity:0}}
.gArays{animation:dgR 12s linear infinite}
@keyframes dgR{0%,9%{opacity:0}11%,94%{opacity:1}98%,100%{opacity:0}}
.ray{stroke-dasharray:1 1;animation:dgDraw 12s linear infinite}
@keyframes dgDraw{0%,10%{stroke-dashoffset:1}16%,100%{stroke-dashoffset:0}}
.gAbars{animation:dgBar 12s linear infinite}
@keyframes dgBar{0%,18%{opacity:0}21%,94%{opacity:1}98%,100%{opacity:0}}
.ansbar{animation:dgGrow 12s linear infinite}
@keyframes dgGrow{0%,19%{transform:scaleX(0)}27%,100%{transform:scaleX(1)}}
.gBnodes{animation:dgB 12s linear infinite}
@keyframes dgB{0%,6%{opacity:0}10%,94%{opacity:1}98%,100%{opacity:0}}
.gBmesh{animation:dgM 12s linear infinite}
@keyframes dgM{0%,13%{opacity:0}18%,94%{opacity:1}98%,100%{opacity:0}}
.gMod{animation:dgMod 12s linear infinite}
@keyframes dgMod{0%,24%{opacity:0}27%,94%{opacity:1}98%,100%{opacity:0}}
.live-m{stroke-dasharray:1 1;animation:dgDm 12s linear infinite}
@keyframes dgDm{0%,25%{stroke-dashoffset:1}30%,100%{stroke-dashoffset:0}}
.gL1{animation:dgL1 12s linear infinite}
@keyframes dgL1{0%,34%{opacity:0}36%,94%{opacity:1}98%,100%{opacity:0}}
.gL1 .live{stroke-dasharray:1 1;animation:dgD1 12s linear infinite}
@keyframes dgD1{0%,35%{stroke-dashoffset:1}40%,100%{stroke-dashoffset:0}}
.gL2{animation:dgL2 12s linear infinite}
@keyframes dgL2{0%,43%{opacity:0}45%,94%{opacity:1}98%,100%{opacity:0}}
.gL2 .live{stroke-dasharray:1 1;animation:dgD2 12s linear infinite}
@keyframes dgD2{0%,44%{stroke-dashoffset:1}49%,100%{stroke-dashoffset:0}}
.gL3{animation:dgL3 12s linear infinite}
@keyframes dgL3{0%,52%{opacity:0}54%,94%{opacity:1}98%,100%{opacity:0}}
.gL3 .live{stroke-dasharray:1 1;animation:dgD3 12s linear infinite}
@keyframes dgD3{0%,53%{stroke-dashoffset:1}58%,100%{stroke-dashoffset:0}}
@media (prefers-reduced-motion:reduce){.fig2 *{animation:none !important}}

/* 합성인구 표본 테이블 */
.sytab{width:100%;max-width:660px;border-collapse:collapse;margin:20px 0 4px;table-layout:fixed}
.sytab th{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10.5px;letter-spacing:.08em;color:var(--faint);text-align:left;font-weight:500;padding:0 10px 8px 0;border-bottom:1px solid var(--fg)}
.sytab td{font-size:13.5px;color:var(--muted);padding:9px 10px 9px 0;border-bottom:1px solid var(--rule);vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sytab td:first-child{color:var(--fg)}
.sytab .vec{display:flex;align-items:flex-end;gap:2px;height:18px}
.sytab .vec i{flex:1;background:var(--fg);opacity:.45;border-radius:1px 1px 0 0}
.sytab tr.more td{border-bottom:none;padding-top:10px;color:var(--faint);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;letter-spacing:.05em;white-space:normal}
.sytab .dots{font-size:15px;line-height:1;color:var(--faint);margin-bottom:4px}
@media (max-width:560px){.sytab th:nth-child(3),.sytab td:nth-child(3){display:none}}
