/* Gorani 소개 페이지 — 포인트 색 없이 모노톤. 플러그인 패널(DESIGN.md)과 같은 모서리(6/8/12, 알약)·간격(4의 배수) */
:root {
  --paper: #FFFFFF;             /* 바탕은 흰색 */
  --soft: #FFFFFF;              /* 레퍼런스처럼 모든 섹션은 흰 바탕 */
  --surface: #FFFFFF;
  --press: #F0F0F0;
  --ink: #141414;
  --ink-2: #4F4F4F;
  --ink-3: #868686;
  --hair: #E6E6E6;
  --on-ink: #FFFFFF;
  --screen: #EFEFEF;            /* 영상 바탕과 같은 색(밝은 판) */
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --mark: url(mark.svg);        /* 정면 마크(브랜드 원본) */
  --run: url(run.svg);          /* 달리는 고라니 8장 가로 띠(패널 RUN_FRAMES) */
  color-scheme: light;
}
@font-face {   /* Windows는 국기 이모지가 없어 Twemoji 국기만 담은 글꼴로 채운다(country-flag-emoji-polyfill, 그림 CC BY 4.0 Twitter) */
  font-family: "Twemoji Country Flags";
  unicode-range: U+1F1E6-1F1FF, U+1F3F4, U+E0062-E0063, U+E0065, U+E0067, U+E006C, U+E006E, U+E0073-E0074, U+E0077, U+E007F;
  src: url(https://cdn.jsdelivr.net/npm/country-flag-emoji-polyfill@0.1.10/dist/TwemojiCountryFlags.woff2) format("woff2");
  font-display: swap;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
  background: var(--paper);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
/* 일본어·중국어: 띄어쓰기가 없어 글자 사이에서 줄을 바꾸고, 한자는 그 언어 글꼴로 */
html[lang="ja"] body { word-break: normal; line-break: strict; font-family: "Pretendard Variable", Pretendard, -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; }
html[lang="ja"] :is(h1, h2, h3, .lead, .sub) { word-break: auto-phrase; }   /* 지원 브라우저에선 어절 단위로 줄바꿈 */
html[lang="zh"] body { word-break: normal; font-family: "Pretendard Variable", Pretendard, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
::selection { background: var(--ink); color: #fff; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
img, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
code { font-family: var(--mono); font-size: .9em; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--surface); padding: 8px 12px; border-radius: 8px; }

/* ── 고라니: 정면 마크와 옆으로 달리는 8장(마스크라 색은 currentColor를 따른다) ── */
.mark {
  display: inline-block; flex: none; width: var(--s, 24px); height: var(--s, 24px);
  background: currentColor;
  -webkit-mask: var(--mark) center / contain no-repeat; mask: var(--mark) center / contain no-repeat;
}
.run {
  --w: 24px; --h: 18px;
  display: inline-block; flex: none; width: var(--w); height: var(--h);
  background: currentColor;
  -webkit-mask: var(--run) 0 0 / calc(var(--w) * 8) var(--h) no-repeat; mask: var(--run) 0 0 / calc(var(--w) * 8) var(--h) no-repeat;
}
.run.go { animation: gorani-run .64s steps(8) infinite; }
@keyframes gorani-run { to { -webkit-mask-position: calc(var(--w) * -8) 0; mask-position: calc(var(--w) * -8) 0; } }

/* ── 머리줄 + 스크롤 진행(선 위를 고라니가 달린다) ── */
.top {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, #FFFFFF 92%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.brand .mark { --s: 28px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.icon-btn svg { width: 15px; height: 15px; }   /* 꽉 찬 GitHub 로고를 선 아이콘(지구본·메뉴)과 같은 무게로 */
.top-tools { display: flex; align-items: center; gap: 8px; }   /* GitHub·언어·(좁은 화면) 메뉴 버튼 묶음 */
.language-switch { position: relative; }
.icon-btn, .language-switch summary, .menu-switch summary { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--hair); border-radius: 8px; color: var(--ink-2); cursor: pointer; list-style: none; font-size: 20px; line-height: 1; }
.language-switch summary::-webkit-details-marker, .menu-switch summary::-webkit-details-marker { display: none; }
.language-switch summary svg, .menu-switch summary svg { width: 17px; height: 17px; }
.icon-btn:hover, .language-switch summary:hover, .language-switch[open] summary, .menu-switch summary:hover, .menu-switch[open] summary { background: var(--press); color: var(--ink); }
.language-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 6; display: grid; min-width: 116px; padding: 4px; border: 1px solid var(--hair); background: var(--surface); box-shadow: 0 12px 28px -18px rgba(20, 20, 20, .35); }
.language-menu a, .language-menu span { padding: 7px 9px; color: var(--ink-2); text-decoration: none; font-size: 13px; white-space: nowrap; }
.language-menu a:hover, .language-menu a[aria-current="page"] { background: var(--press); color: var(--ink); }
.language-menu span[aria-disabled="true"] { color: var(--ink-3); cursor: not-allowed; }
.menu-switch { display: none; position: relative; }   /* 좁은 화면에서만: 머리줄 링크를 접어 둔 메뉴 */
.menu-list { min-width: 168px; }
.menu-list a { padding: 10px 12px; font-size: 15px; }
.nav a, .lang { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; padding: 4px 12px; border-radius: 999px; }
.nav a:hover, .lang:hover { background: var(--press); color: var(--ink); }
.nav a, .menu-list a { display: inline-flex; align-items: center; gap: 6px; }
.nav a svg, .menu-list a svg { width: 15px; height: 15px; flex: none; }
.lang { border: 1px solid var(--hair); }
.progress { position: relative; height: 2px; background: var(--hair); }
.progress i { position: absolute; inset: 0 auto 0 0; width: calc(var(--p, 0) * 100%); background: var(--ink); }
.progress .run {
  position: absolute; bottom: 2px; left: calc(var(--p, 0) * (100% - 24px));
  color: var(--ink);
}
.progress .run.back { transform: scaleX(-1); }
.progress .run { transition: opacity .2s; }
.progress.at-top .run { opacity: 0; }   /* 맨 위에선 로고와 겹치지 않게 숨긴다 */

/* ── 첫 화면: 왼쪽 문구, 오른쪽 시연 화면 — 스크롤 없이 장면 막대까지 한 화면에 ── */
.hero-wrap { }
.hero {
  --fold: calc(100vh - 66px - 40px - 48px - 64px);   /* 창 높이 - 머리줄 - 위아래 여백 - 장면 막대 */
  display: grid; grid-template-columns: minmax(300px, 4fr) minmax(0, 9fr); gap: 48px; align-items: center;
  padding: 40px 0 48px;
}
.hero h1 { font-size: 48px; line-height: 58px; font-weight: 800; letter-spacing: -.035em; text-wrap: balance; }
#hero-title, #install-title { font-weight: 700; }
.hero h1 .nw { white-space: nowrap; }   /* 낱말 덩어리 안에서 줄이 끊기지 않게 */
html[lang="ja"] .hero h1 { font-size: 42px; line-height: 52px; }   /* 전각 글자라 같은 크기에서 더 커 보인다 */
.lead { margin-top: 16px; font-size: 18px; line-height: 29px; color: var(--ink-2); text-wrap: pretty; }
.story { margin-top: 12px; font-size: 15px; line-height: 24px; color: var(--ink-3); }
.acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.final .acts { justify-content: center; }
.water-deer-article { padding: 8px 0; }
.water-deer-article h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1.08; font-weight: 700; letter-spacing: -.045em; }
.water-deer-article h2 a { color: inherit; text-decoration: none; }
.water-deer-article h2 a:hover { text-decoration: underline; }
.wiki-kicker { margin-top: 18px; color: var(--ink-2); font-size: 15px; line-height: 24px; }
.wiki-lead { margin-top: 28px; font-size: 15px; line-height: 24px; color: var(--ink-2); }
.wiki-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 360px); gap: 196px; margin-top: 28px; align-items: start; }
.wiki-body .wiki-lead { margin-top: 0; }
.wiki-infobox { display: block; overflow: hidden; padding: 8px; border: 1px solid var(--hair); background: var(--paper); color: var(--ink); text-decoration: none; }
.wiki-infobox img { width: 100%; transition: transform .3s ease, filter .3s ease; }
.wiki-infobox:hover img, .wiki-infobox:focus-visible img { filter: contrast(1.04); transform: scale(1.02); }
.wiki-infobox span { display: block; padding: 8px 4px 2px; text-align: center; font-size: 13px; line-height: 20px; }
.wiki-infobox .wiki-kicker { margin-top: 0; padding-top: 0; color: var(--ink-3); font-size: 11px; line-height: 18px; }
.wiki-section { margin-top: 34px; }
.wiki-section h3 { display: flex; align-items: baseline; gap: 12px; margin: 0; font-size: 22px; line-height: 30px; font-weight: 700; }
.wiki-section h3 span { font-size: 15px; line-height: 24px; font-weight: 400; color: var(--ink-3); }
.wiki-section p { margin-top: 8px; font-size: 15px; line-height: 24px; color: var(--ink-2); }
.hosts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; padding: 0; list-style: none; }
.hosts li { font-size: 13px; line-height: 20px; color: var(--ink-2); padding: 10px 14px; border-radius: 8px; background: var(--surface); border: 1px solid var(--hair); }
.hosts li:has(img) { display: inline-flex; align-items: center; }
.host-link { display: inline-flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; }
.hosts li:has(img) { transition: border-color .28s cubic-bezier(.33,0,.45,1), background-color .28s cubic-bezier(.33,0,.45,1), color .28s cubic-bezier(.33,0,.45,1), transform .28s cubic-bezier(.33,0,.45,1); }
.hosts img { width: 20px; height: 20px; object-fit: contain; border-radius: 4px; filter: grayscale(1); opacity: .55; transition: filter .28s cubic-bezier(.33,0,.45,1), opacity .28s cubic-bezier(.33,0,.45,1), transform .28s cubic-bezier(.33,0,.45,1); }
.hosts li:has(img):hover { border-color: var(--ink-3); background: var(--press); color: var(--ink); transform: translateY(-2px); }
.hosts li:has(img):hover img { filter: none; opacity: 1; transform: scale(1.08); }
.hosts b { font-weight: 600; color: var(--ink); }
.hosts span:not(.mark) { display: grid; gap: 1px; }
.hosts small { color: var(--ink-3); font-size: 11px; line-height: 15px; }
/* 지원 프로그램 — onorca.dev "Bring your own agent"처럼 가운데 제목·설명 아래 낮은 칩 한 줄, 마우스를 올리면 빠르게 켜지고 뗄 때 천천히 꺼짐(레퍼런스 곡선) */
.block.support { padding: 64px 0; text-align: center; }
.support .block-head { display: block; margin: 0 auto; max-width: 768px; }
.support .sub { margin-inline: auto; max-width: 768px; text-wrap: balance; }
.support .hosts { justify-content: center; gap: 8px; margin: 32px auto 0; max-width: 1024px; }
.support .hosts li { display: contents; }
.support .hosts .host-link {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px;
  border: 1px solid var(--hair); border-radius: 6px; background: rgba(20, 20, 20, .015);
  font-size: 13px; line-height: 1; color: var(--ink-3); white-space: nowrap; cursor: pointer;
  transition: border-color .6s cubic-bezier(.33,0,.45,1), background-color .6s cubic-bezier(.33,0,.45,1), color .6s cubic-bezier(.33,0,.45,1);
}
.support span.host-link { cursor: default; }
.support .hosts img { width: 14px; height: 14px; border-radius: 3px; filter: grayscale(1); opacity: .55; transform: none !important; transition: filter .6s cubic-bezier(.33,0,.45,1), opacity .6s cubic-bezier(.33,0,.45,1); }
.support .host-link > span { display: inline; }
.support .hosts b { font-weight: 500; color: inherit; }
.support .hosts small { margin-left: 4px; font-size: 13px; line-height: 1; color: var(--ink-3); opacity: .8; }
.support .host-link:has(img):hover, .support a.host-link:focus-visible { border-color: #CECECE; background: var(--press); color: var(--ink); }
.support .host-link:has(img):hover img, .support a.host-link:focus-visible img { filter: none; opacity: 1; }
.support .host-link:has(img):hover, .support a.host-link:focus-visible, .support .host-link:has(img):hover img, .support a.host-link:focus-visible img { transition-duration: .18s; }
@media (prefers-reduced-motion: reduce) { .support .hosts .host-link, .support .hosts img { transition: none; } }
@media (min-width: 768px) { .block.support { padding: 80px 0; } .support .hosts { margin-top: 48px; } }

.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px;
  border-radius: 8px; border: 1px solid var(--hair); background: var(--surface); color: var(--ink);
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--press); text-decoration: none; }
.btn svg { width: 16px; height: 16px; }
.btn.icon { width: 44px; padding: 0; justify-content: center; }   /* 로고만 있는 버튼 */
.btn.icon svg { width: 20px; height: 20px; }
.btn .i-arrow { margin-right: -4px; transition: transform .6s cubic-bezier(.33,0,.45,1); }
.btn:hover .i-arrow { transform: translateX(3px); transition-duration: .18s; }   /* 칩·카드와 같은 결 */
.btn.go { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.btn.go:hover { background: color-mix(in srgb, var(--ink) 86%, var(--paper)); }
.btn svg { width: 16px; height: 16px; }
.btn .run { --w: 24px; --h: 18px; }
.btn:hover .run { animation: gorani-run .64s steps(8) infinite; }   /* 주 버튼 위에선 제자리 달리기 */

/* ── 시연 영상: Rhino와 패널을 함께 찍은 가로 16:9 화면 — 창이 낮으면 높이에 맞춰 줄인다 ── */
.demo { min-width: 0; width: min(100%, var(--fold) * 16 / 9); justify-self: end; display: flex; flex-direction: column; gap: 8px; }
.device { padding: 5px; border: 1px solid var(--hair); border-radius: 16px; background: var(--press); box-shadow: 0 8px 20px -16px rgba(20, 20, 20, .1); }
.screen {
  position: relative; container-type: inline-size;
  aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--screen);
}
.screen video { width: 100%; height: 100%; object-fit: contain; }
.loading, .big-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; justify-items: center; gap: 4px; padding: 12px 16px; border-radius: 12px;
  color: #ECECEC; font-size: 13px; line-height: 20px; background: rgba(16, 16, 16, .82); border: 0;
}
.loading { opacity: 0; pointer-events: none; transition: opacity .2s; }
.loading .run { --w: 48px; --h: 36px; }
.screen.wait .loading { opacity: 1; }
.big-play { display: none; align-items: center; gap: 8px; border: 0; cursor: pointer; font-weight: 600; font-size: 14px; padding: 16px 20px; }
.big-play .mark { --s: 28px; }
.big-play:hover { background: rgba(16, 16, 16, .94); }
.screen.idle .big-play { display: grid; }
.screen:not(.ready) .cap { display: none; }

/* 설명 자막: 한 줄의 어두운 띠, 강조는 블루 */
.cap {
  position: absolute; left: 6%; right: 6%; bottom: 7%; text-align: center; pointer-events: none;
  font-size: clamp(13px, 1.75cqw, 24px); line-height: 1.6; font-weight: 600; letter-spacing: -.01em; color: #fff;
}
.cap span {
  display: inline-block; padding: .12em .5em; border-radius: 0; white-space: nowrap;
  background: rgba(16, 16, 16, .86);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.cap em { font-style: normal; font-weight: 700; color: #FFFFFF; }

.screen-bar { position: absolute; inset: 8px; display: flex; justify-content: flex-end; align-items: flex-start; gap: 8px; pointer-events: none; }
.screen-bar > * { pointer-events: auto; }
.screen-bar .toggle { position: absolute; right: 0; bottom: 0; }
.chip-btn {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 8px; cursor: pointer;
  background: rgba(16, 16, 16, .72); color: #fff;
}
.chip-btn:hover { background: rgba(16, 16, 16, .9); }
.chip-btn svg { width: 16px; height: 16px; }
.chip-btn .i-play { display: none; }
.screen.paused .chip-btn .i-play { display: block; }
.screen.paused .chip-btn .i-pause { display: none; }
.cc { display: flex; padding: 2px; gap: 2px; border-radius: 8px; background: rgba(16, 16, 16, .72); }
.cc button { border: 0; background: none; color: #B2B2B2; font-size: 12px; line-height: 18px; font-weight: 600; padding: 5px 8px; border-radius: 6px; cursor: pointer; }
.cc button[aria-pressed="true"] { background: #fff; color: #141414; }

/* 장면: 스토리처럼 칸마다 채워지는 막대, 누르면 그 장면으로 */
.chapters { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; min-width: 0; margin: 0; padding: 3px; list-style: none; overflow: hidden; border: 1px solid color-mix(in srgb, var(--hair) 72%, transparent); border-radius: 8px; background: color-mix(in srgb, var(--press) 72%, transparent); opacity: .82; }
.chapters button {
  position: relative; display: block; width: 100%; min-width: 0; padding: 8px 12px; border: 0; border-radius: 6px; background: transparent; cursor: pointer; text-align: center; overflow: hidden;
  font-size: 13px; line-height: 20px; color: var(--ink-2); font-weight: 500; white-space: nowrap; transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.chapters button:hover { color: var(--ink); background: color-mix(in srgb, var(--surface) 72%, transparent); }
.chapters button[aria-current="step"] { color: var(--ink); font-weight: 600; background: color-mix(in srgb, var(--surface) 76%, transparent); box-shadow: 0 1px 2px rgba(20, 20, 20, .05); }
.chapters b { font-weight: inherit; font-variant-numeric: tabular-nums; margin-right: 4px; color: inherit; }

/* ── 섹션 ── */
#main { display: flex; flex-direction: column; }
#main > .hero-wrap { order: 1; }
#main > #support { order: 4; }
#main > #install { order: 5; }
#main > #usage { order: 6; }
#main > #model { order: 2; }
#main > #maps { order: 3; }
#main > #coverage { order: 7; }
#main > #faq { order: 8; }
#main > #changelog { order: 8; }   /* FAQ 다음 */
#main > .final { order: 9; }
.block { position: relative; padding: 128px 0; }
.block::before { content: ""; position: absolute; top: 0; left: max(16px, calc((100% - 1200px) / 2)); right: max(16px, calc((100% - 1200px) / 2)); height: 1px; background: var(--hair); }
.final::before { left: 0; right: 0; }
.final::after { content: ""; position: absolute; right: max(16px, calc((100% - 1200px) / 2)); bottom: 0; left: max(16px, calc((100% - 1200px) / 2)); height: 1px; background: var(--hair); }
.block.soft { background: var(--soft); }
.block h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1.08; font-weight: 700; letter-spacing: -.045em; }
.feature h2 { text-wrap: balance; }   /* 두 줄일 때 줄 길이를 고르게 */
/* 글 간격 규칙(4의 배수): 라벨→제목 16, 섹션 제목→부제 20, 부제→태그·목록 32, 섹션 머리→카드 48, 카드 제목→본문 8, 카드 본문→목록 16 */
.block-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 48px; }
.block-head > .hosts { margin-top: 0; }
.eyebrow { display: block; margin-bottom: 16px; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--ink-3); letter-spacing: .02em; }
.sub { margin-top: 20px; max-width: 560px; font-size: 17px; line-height: 28px; color: var(--ink-2); }

/* 기능: 패널 화면 + 설명(좌우), 2D는 좌우를 바꾼다 */
.feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.feature.flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.feature.flip > .shot { order: 2; }
.shot { border-radius: 16px; overflow: hidden; background: var(--press); border: 1px solid var(--hair); transition: border-color .6s cubic-bezier(.33,0,.45,1), box-shadow .6s cubic-bezier(.33,0,.45,1); }
.shot:hover { border-color: #CECECE; box-shadow: 0 12px 32px -24px rgba(20, 20, 20, .35); transition-duration: .18s; }   /* 사용법 카드·지원 칩과 같은 결 */
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media-stack { display: grid; gap: 12px; padding: 12px; }
.media-stack video, .media-stack img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 10px; background: var(--surface); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding: 0; list-style: none; }
.tags li { font-size: 14px; line-height: 20px; font-weight: 500; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--hair); color: var(--ink-2); background: var(--surface); }
.files { margin-top: 32px; padding: 0; list-style: none; }
.files li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; font-size: 15px; line-height: 22px; color: var(--ink-2); }
.files b { font-weight: 600; color: var(--ink); }
.files code { color: var(--ink-3); font-size: 13px; white-space: nowrap; }

/* 사용 순서: 패널과 Rhino 3D 뷰 화면 4장 */
.usage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 0; list-style: none; }
.usage li { border-radius: 16px; background: var(--surface); border: 1px solid var(--hair); overflow: hidden; transition: border-color .6s cubic-bezier(.33,0,.45,1), box-shadow .6s cubic-bezier(.33,0,.45,1); }
.usage li:hover { border-color: #CECECE; box-shadow: 0 12px 32px -24px rgba(20, 20, 20, .35); transition-duration: .18s; }   /* 지원 칩과 같은 결: 제자리에서 빠르게 켜지고 천천히 꺼짐 */
.usage img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: top; background: var(--press); }   /* 네 장을 같은 3:2 틀에 — 카드 본문 높이가 같아진다 */
.usage div { padding: 20px 24px 24px; }
.usage h3 { font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: -.01em; }
.usage h3 b { color: var(--ink-3); font-weight: 700; margin-right: 10px; font-variant-numeric: tabular-nums; }
.usage p { margin-top: 8px; font-size: 15px; line-height: 24px; color: var(--ink-2); }

/* 레퍼런스의 조용한 진입 모션: 스크립트가 켜진 경우에만 초기 상태를 숨긴다. */
/* 섹션 머리·카드·줄 모두 같은 결로 올라온다. 함께 화면에 들어온 것끼리 위에서부터 0.06초씩(최대 0.3초) 늦게(--d는 스크립트가 넣는다) */
body.motion-ready .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.2,.8,.2,1), transform .6s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
body.motion-ready .reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  body.motion-ready .reveal { opacity: 1; transform: none; transition: none; }
  .shot, .usage li { transition: none; }
}

/* 지원 지역 */
/* 지원 국가: 끝없이 흐르는 카드 줄(impeccable.style 후기 카드 결). 카드를 누르면 멈추고 아래에 데이터 출처를 연다 */
.country-rail { position: relative; }
.country-marquee { --gap: 12px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; padding: 4px 0 8px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 64px, #000 calc(100% - 64px), transparent); mask-image: linear-gradient(90deg, transparent, #000 64px, #000 calc(100% - 64px), transparent); }
.country-marquee::-webkit-scrollbar { display: none; }
.country-marquee.is-dragging { cursor: grabbing; user-select: none; }
.country-marquee.is-dragging .country-card { pointer-events: none; }
.country-track { display: flex; width: max-content; }   /* 저절로 흐르는 건 site.js가 scrollLeft로 — 밀기·끌기·화살표도 같은 줄에서 된다. 같은 목록 4벌을 이어 붙여 이음매 없이 반복 */
.country-set { display: flex; gap: var(--gap); padding-right: var(--gap); }
.country-nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; margin-top: -22px; padding: 0; border-radius: 999px; border: 1px solid var(--hair); background: var(--surface); color: var(--ink); cursor: pointer; opacity: 0; pointer-events: none; box-shadow: 0 1px 2px rgba(20, 20, 20, .06); transition: opacity .6s cubic-bezier(.33,0,.45,1), border-color .6s cubic-bezier(.33,0,.45,1); }
.country-nav svg { width: 16px; height: 16px; }
.country-nav.prev { left: 8px; }
.country-nav.prev svg { transform: scaleX(-1); }
.country-nav.next { right: 8px; }
.country-rail:hover .country-nav, .country-rail:focus-within .country-nav { opacity: 1; pointer-events: auto; transition-duration: .18s; }   /* 마우스를 올리거나 키보드로 들어오면 화살표가 나온다 */
.country-nav:hover { border-color: #CECECE; }
@media (hover: none) { .country-nav { display: none; } }   /* 터치 화면은 밀어서 넘긴다 */
.country-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; flex: none;
  width: 168px; height: 120px; padding: 0 12px; font: inherit; font-size: 15px; line-height: 20px; font-weight: 700; text-align: center; color: var(--ink); cursor: pointer;
  border-radius: 12px; background: var(--surface); border: 1px solid var(--hair);
  transition: transform .6s cubic-bezier(.33,0,.45,1), border-color .6s cubic-bezier(.33,0,.45,1), box-shadow .6s cubic-bezier(.33,0,.45,1);
}
.country-card:hover { border-color: #CECECE; transform: translateY(-1px); transition-duration: .18s; }
.country-card:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.country-card[aria-expanded="true"] { border-color: var(--ink); box-shadow: 0 12px 32px -24px rgba(20, 20, 20, .45); }
.country-flag { flex: none; font-family: "Apple Color Emoji", "Twemoji Country Flags", "Noto Color Emoji", sans-serif; font-size: 40px; line-height: 1; font-weight: 400; }   /* 국기 이모지. Windows(국기 이모지 없음)에선 Twemoji 국기 글꼴로 */
.country-name { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.country-name h3 { font-size: 14px; line-height: 20px; font-weight: 700; }
.country-name small { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; line-height: 18px; color: var(--ink-3); }
.country-detail { margin-top: 16px; }
.country-panel {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "head label" "text sources" "date sources"; grid-template-rows: auto auto 1fr; gap: 0 48px;
  position: relative; padding: 28px 32px; border-radius: 16px; background: var(--surface); border: 1px solid var(--ink);
  animation: country-panel-in .28s cubic-bezier(.2,.8,.2,1);
}
.country-panel[hidden] { display: none; }
@keyframes country-panel-in { from { opacity: 0; transform: translateY(8px); } }
.country-panel header { grid-area: head; display: flex; align-items: center; gap: 12px; }
.country-panel header .country-flag { font-size: 40px; }
.country-panel .country-name h3 { font-size: 20px; line-height: 28px; }
.country-close { transition: background-color .6s cubic-bezier(.33,0,.45,1), color .6s cubic-bezier(.33,0,.45,1); position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 8px; background: none; color: var(--ink-2); cursor: pointer; }
.country-close:hover { background: var(--press); color: var(--ink); transition-duration: .18s; }
.country-close svg { width: 16px; height: 16px; }
.country-panel > p { grid-area: text; margin-top: 16px; font-size: 15px; line-height: 24px; }
.country-panel > .coverage-date { grid-area: date; align-self: end; }   /* 확인일은 카드 왼쪽 아래 */
.country-panel h4 { grid-area: label; align-self: end; margin: 0 40px 8px 0; font-size: 12px; line-height: 18px; font-weight: 600; letter-spacing: .02em; color: var(--ink-3); }
.country-sources { grid-area: sources; align-self: start; margin: 0; }
.country-sources div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 16px; padding: 12px 0; border-top: 1px solid var(--hair); font-size: 15px; line-height: 22px; }
.country-sources dt { font-weight: 600; color: var(--ink); }
.country-sources dd { margin: 0; color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) {   /* 움직임 줄이기: 흐르지 않고 손으로 넘기는 한 줄 */
  .country-marquee { -webkit-mask-image: none; mask-image: none; }
  .country-track { padding-inline: max(16px, calc((100% - 1200px) / 2)); }
  .country-set[aria-hidden="true"] { display: none; }
  .country-card, .country-panel, .country-nav { transition: none; animation: none; }
}
.coverage h3 { font-size: 22px; line-height: 30px; font-weight: 700; }
.coverage p { margin-top: 8px; color: var(--ink-2); }
.coverage-date { display: block; margin-top: 16px; color: var(--ink-3); font-size: 12px; line-height: 18px; }
.coverage ul { margin-top: 16px; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; line-height: 22px; color: var(--ink-2); }
.coverage li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 10px 2px 0; border-radius: 999px; background: var(--ink-3); }

/* FAQ: 얇은 선 아코디언 */
/* 자주 묻는 질문 + 문의: 왼쪽 접고 펴는 질문, 오른쪽 문의 카드(스크롤해도 따라온다) */
.faq-contact { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.faq { max-width: none; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {   /* + 가 펴면 − 로 */
  content: ""; flex: none; width: 14px; height: 14px; opacity: .55;
  background: linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
  transition: transform .6s cubic-bezier(.33,0,.45,1), background-size .32s cubic-bezier(.2,.8,.2,1), opacity .6s cubic-bezier(.33,0,.45,1);
}
.faq-item[open] summary::after { transform: rotate(180deg); background-size: 14px 1.5px, 1.5px 0; }
.faq-item summary:hover::after { opacity: 1; transition-duration: .18s; }
.faq-item summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.faq-item h3 { margin: 0; font-size: 17px; line-height: 26px; font-weight: 600; }
.faq-item p { margin: 0; padding: 0 32px 20px 0; font-size: 15px; line-height: 24px; color: var(--ink-2); }
.faq-item[open] p { animation: faq-open .32s cubic-bezier(.2,.8,.2,1); }
@keyframes faq-open { from { opacity: 0; transform: translateY(-4px); } }

/* 문의: 왼쪽 머리, 오른쪽 폼 카드 — 보내면 구글 앱스 스크립트(tools/contact)가 시트에 적고 메일로 알린다 */
.contact { position: sticky; top: 88px; display: grid; gap: 16px; }
.contact-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }   /* 제목 + GitHub 이슈 단추 */
.contact-head h3 { font-size: 22px; line-height: 30px; font-weight: 700; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 28px; border-radius: 16px; background: var(--surface); border: 1px solid var(--hair); }
.contact-form .wide { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--hair); background: var(--paper);
  font: inherit; font-size: 15px; line-height: 22px; color: var(--ink); transition: border-color .6s cubic-bezier(.33,0,.45,1);
}
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; padding-right: 36px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23868686' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #CECECE; transition-duration: .18s; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: -1px; border-color: var(--ink); }
.field textarea::placeholder { color: var(--ink-3); }
.contact-form.checked :is(input, select, textarea):invalid { border-color: #C2410C; }   /* 보내기를 눌러 본 뒤에만 빈칸을 표시 */
.field.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }   /* 사람에겐 안 보이는 칸 — 채워져 오면 자동 입력 봇 */
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 20px; color: var(--ink-2); cursor: pointer; }
.consent input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--ink); }
.contact-form.checked .consent input:invalid { outline: 2px solid #C2410C; outline-offset: 1px; }
.contact-send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.contact-send .btn[disabled] { opacity: .5; cursor: progress; }
.contact-status { font-size: 14px; line-height: 20px; color: var(--ink-2); }
.contact-status.error { color: #C2410C; }
.contact-form.sent { display: block; }
.contact-form.sent > :not(.contact-send), .contact-form.sent .btn { display: none; }
.contact-form.sent .contact-status { font-size: 17px; line-height: 26px; font-weight: 600; color: var(--ink); }

/* 마지막 권유 */
.final { text-align: left; }
.final h2 { font-size: 44px; line-height: 56px; }
.final .sub { margin-inline: 0; }

/* 설치: 프로그램 고르기(세그먼트) + 단계 카드 */
.seg { display: inline-flex; gap: 2px; padding: 2px; border-radius: 8px; background: var(--press); }
.seg button { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; transition: background-color .6s cubic-bezier(.33,0,.45,1), color .6s cubic-bezier(.33,0,.45,1), box-shadow .6s cubic-bezier(.33,0,.45,1); border: 0; background: none; height: 36px; padding: 0 16px; border-radius: 6px; font-weight: 500; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.seg button[aria-selected="true"] { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.steps { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 12px; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; padding: 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--hair); }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 16px;
  border-radius: 999px; background: var(--ink); color: var(--on-ink); font-weight: 700; font-size: 14px;
}
.steps h3 { font-size: 17px; line-height: 24px; font-weight: 700; }
.steps p { margin-top: 8px; font-size: 15px; line-height: 22px; color: var(--ink-2); }
.cmd {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px;
  height: 40px; padding: 0 4px 0 12px; border-radius: 8px; background: var(--press);
}
.cmd code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; scrollbar-width: thin; padding: 10px 0; font-size: 15px; font-weight: 600; color: var(--ink); }   /* 긴 명령어·경로는 칸 안에서 가로 스크롤, 칸 크기는 그대로 */
.cmd .copy { flex: none; }
.cmd.path code { font-size: 13px; }   /* 긴 폴더 경로는 글자만 조금 작게(칸 안에서 가로 스크롤) */
.copy { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 6px; background: none; color: var(--ink-2); cursor: pointer; }
.copy { transition: background-color .6s cubic-bezier(.33,0,.45,1), color .6s cubic-bezier(.33,0,.45,1); }
.copy:hover { background: var(--surface); color: var(--ink); transition-duration: .18s; }
.copy svg { width: 16px; height: 16px; }
.copy .i-done, .copy.done .i-copy { display: none; }
.copy.done .i-done { display: block; color: var(--ink); animation: copy-done .32s cubic-bezier(.2,.8,.2,1); }   /* 복사됨: 체크가 살짝 튀어나온다 */
@keyframes copy-done { from { opacity: 0; transform: scale(.6); } }
.ui { font-weight: 600; color: var(--ink); white-space: nowrap; }
.note { margin-top: 16px; font-size: 14px; line-height: 22px; color: var(--ink-3); }
[role="tabpanel"][hidden] { display: none; }
/* 설치 카드: 세 프로그램 모두 같은 번호 목록(명령은 줄 오른쪽). Rhino만 맨 위에 바로 설치 한 줄을 더한다 */
.install-card { padding: 8px 32px; border-radius: 16px; background: var(--surface); border: 1px solid var(--hair); }
.install-quick { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-bottom: 12px; padding: 20px 24px 20px 32px; border-radius: 16px; background: var(--press); }
.install-quick h3 { font-size: 17px; line-height: 24px; font-weight: 700; }
.install-quick p { margin-top: 2px; font-size: 14px; line-height: 20px; color: var(--ink-2); }
.os-switch { display: inline-flex; gap: 16px; margin-left: auto; padding: 0; background: none; }   /* AutoCAD: Windows·macOS 글자 전환(기본 Windows) */
.os-switch button { height: auto; padding: 2px 0; border-radius: 0; background: none; box-shadow: none; font-size: 14px; font-weight: 500; color: var(--ink-3); }
.os-switch button:hover { color: var(--ink); background: none; }
.os-switch button[aria-pressed="true"] { color: var(--ink); font-weight: 600; background: none; box-shadow: none; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.os-block[hidden] { display: none; }
/* 설치 받기: 프로그램·버전 글자 링크 + 받기 아이콘, 한 줄에 하나(한 번 누르면 끝) */
.install-links { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; justify-items: start; }
.install-links a, .install-links > li > span { display: inline-block; font-size: 15px; line-height: 24px; font-weight: 600; color: var(--ink); text-decoration: none; }
.install-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.install-links svg { width: 16px; height: 16px; margin-left: 8px; vertical-align: -3px; transition: transform .6s cubic-bezier(.33,0,.45,1); }
.install-links a:hover svg { transform: translateY(2px); transition-duration: .18s; }
.install-links span[aria-disabled="true"] { color: var(--ink-3); cursor: not-allowed; }
.steps.install-list { display: block; }
/* 설치 순서: 번호를 세로선으로 잇는 타임라인, 명령어 칸은 오른쪽 열 */
.steps.install-list li { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr) 300px; column-gap: 20px; align-items: start; padding: 20px 0; border: 0; border-radius: 0; background: none; }
.steps.install-list li::before { grid-row: span 2; margin: 0; position: relative; z-index: 1; }
.steps.install-list li:not(:last-child)::after { content: ""; position: absolute; left: 13.5px; top: 52px; bottom: -16px; width: 1px; background: var(--hair); }
.steps.install-list h3 { line-height: 28px; }
.steps.install-list h3, .steps.install-list p { grid-column: 2; }
.steps.install-list p { margin-top: 2px; }
.steps.install-list .cmd { grid-column: 3; grid-row: 1 / span 2; align-self: center; margin: 0; min-width: 0; }

/* ── 꼬리말 ── */
.foot { position: relative; background: var(--soft); padding: 40px 0 48px; font-size: 14px; line-height: 22px; color: var(--ink-2); }
.foot-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px 32px; }
.foot-top p { display: flex; align-items: flex-start; gap: 12px; color: var(--ink); max-width: 720px; }
.foot-top .mark { --s: 32px; }
.links { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 0; list-style: none; }
.fine { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 4px 20px; font-size: 13px; line-height: 20px; color: var(--ink-2); text-align: left; }
.credit { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }   /* 꼬리말: 만든 사람, 메일, 버전(가운뎃점 없이 간격으로) */
.credit .ver-tag { color: var(--ink-3); }
.fine .mark { --s: 24px; color: var(--ink); }
.fine .btn { height: 34px; margin-left: auto; padding: 0 14px; font-size: 13px; }

/* ── 좁은 화면 ── */
@media (max-width: 900px) {   /* 위아래로 쌓기: 가운데 문구, 아래 시연 화면 */
  .hero { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 64px; text-align: center; }
  .lead { max-width: 640px; margin-inline: auto; }
  .hero .acts, .hero .hosts { justify-content: center; }
  .demo { width: 100%; justify-self: stretch; }
}
@media (max-width: 960px) {
  .block { padding: 72px 0; }
  .water-deer-article { padding: 0; }
  .wiki-body { grid-template-columns: 1fr; gap: 32px; }
  .faq-contact { grid-template-columns: 1fr; gap: 48px; }
  .wiki-infobox { max-width: 360px; }
  .block h2, .final h2 { font-size: 32px; line-height: 42px; }
  .feature { grid-template-columns: 1fr; gap: 32px; }
  .feature.flip > .shot { order: 0; }   /* 화면을 먼저, 설명은 아래 */
  .feature.flip { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .faq-item p { padding: 0 0 20px; }
  .top .wrap { gap: 12px; }
  .nav { display: none; }
  .menu-switch { display: block; }
  .top-tools { margin-left: auto; }
  .hero { padding-top: 40px; }
  .hero h1 { font-size: 34px; line-height: 42px; }
  html[lang="ja"] .hero h1 { font-size: 30px; line-height: 40px; }
  .lead { font-size: 17px; line-height: 28px; }
  .acts .btn { flex: 0 1 auto; justify-content: center; }
  .acts .btn.icon { flex: 0 0 44px; }
  .wrap, .hero-wrap, .top .wrap { width: min(1120px, 100% - 24px); }
  .device { padding: 4px; border-radius: 12px; }
  .screen { border-radius: 9px; }
  .screen-bar { inset: 6px; }
  .cap { font-size: 11px; line-height: 1.5; bottom: 5%; }
  .chapters { overflow-x: auto; grid-template-columns: repeat(5, minmax(120px, 1fr)); }
  .chapters button { font-size: 12px; line-height: 18px; }
  .chapters b { display: inline; }
  .block { padding: 56px 0; }
  .block h2, .final h2 { font-size: 26px; line-height: 34px; }
  .block-head { align-items: center; margin-bottom: 32px; }
  .eyebrow { margin-bottom: 12px; }
  .sub { margin-top: 12px; }
  .tags, .files { margin-top: 24px; }
  .usage { grid-template-columns: 1fr; }
  .usage div { padding: 16px 20px 20px; }
  .country-marquee { -webkit-mask-image: none; mask-image: none; }
  .country-card { width: 132px; height: 100px; gap: 8px; font-size: 14px; }
  .country-flag { font-size: 32px; }
  .country-panel { grid-template-columns: 1fr; grid-template-areas: "head" "text" "label" "sources" "date"; grid-template-rows: none; padding: 20px; }
  .country-panel h4 { margin-top: 24px; }
  .country-sources div { grid-template-columns: 1fr; gap: 2px; }
  .seg { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); }   /* 탭 5개: 휴대폰에서는 세 칸씩 두 줄 */
  .seg button { justify-content: center; padding: 0 6px; font-size: 14px; }
  .os-switch { width: auto; display: inline-flex; margin-left: 0; align-self: flex-start; }
  .os-switch button { padding: 2px 0; font-size: 14px; }
  .install-card { padding: 4px 20px; }
  .install-quick { flex-direction: column; align-items: stretch; padding: 20px; }
  .contact { position: static; }
  .contact-form { grid-template-columns: 1fr; padding: 20px; }
  .steps.install-list li { grid-template-columns: 28px minmax(0, 1fr); column-gap: 12px; align-items: start; padding: 16px 0; }
  .steps.install-list li::before { grid-row: span 3; }
  .steps.install-list li:not(:last-child)::after { top: 48px; }
  .steps.install-list .cmd { grid-column: 2; grid-row: auto; margin-top: 10px; }
  .fine {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: start;
    gap: 8px 12px;
  }
  .fine .mark { grid-row: 1 / span 2; }
  .fine .btn { grid-column: 2; width: max-content; margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .run.go, .btn:hover .run { animation: none; }
  .btn .i-arrow, .seg button, .copy, .country-close, .field input, .field select, .field textarea, .faq-item summary::after { transition: none; }
  .faq-item[open] p { animation: none; }
  .copy.done .i-done { animation: none; }
}

/* ── 버전 기록: 3D 프로그램별 탭 + 심플한 타임라인 스타일 ── */
.changelog-filter {
  margin-top: 14px;
  flex-wrap: wrap;
  gap: 4px;
}
.changelog-filter button {
  height: 34px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  color: var(--ink-2);
}
.changelog-filter button[aria-selected="true"] {
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
}

.changelog-timeline-wrap {
  position: relative;
  margin-top: 32px;
}

/* 월 구분선 (November 2026 ────────) */
.gh-month-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 36px 0 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
}
.gh-month-divider:first-child {
  margin-top: 0;
}
.gh-month-line {
  flex: 1;
  height: 1px;
  background: var(--hair);
}

/* 타임라인 엔트리 */
.gh-timeline {
  position: relative;
}
.gh-entry {
  position: relative;
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}
.gh-entry[hidden] {
  display: none !important;
}

/* 왼쪽 세로선과 깔끔한 원형 노드 (심볼 없음) */
.gh-node {
  position: relative;
  flex-shrink: 0;
  width: 16px;
  display: flex;
  justify-content: center;
}
.gh-node-line {
  position: absolute;
  top: 10px;
  bottom: -32px;
  left: 7px;
  width: 2px;
  background: var(--hair);
  z-index: 0;
}
.gh-entry:last-child .gh-node-line {
  bottom: 0;
}
.gh-node-dot {
  position: relative;
  z-index: 1;
  width: 14px;
  height: 14px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-sizing: border-box;
}

/* 본문 영역 */
.gh-body {
  flex: 1;
  min-width: 0;
}

/* 동그라미 옆 버전명과 날짜 */
.gh-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}
.gh-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
}
.gh-date {
  font-size: 13px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

/* 심플한 카드 박스 */
.gh-card {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 8px;
  overflow: hidden;
}

/* 툴 행 */
.gh-tool-row {
  padding: 14px 18px;
  border-bottom: 1px solid var(--hair);
}
.gh-tool-row:last-child {
  border-bottom: 0;
}
.gh-tool-row[hidden] {
  display: none !important;
}
.gh-tool-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

/* 변경 내역 불릿 목록 */
.gh-changes {
  margin: 0;
  padding: 0 0 0 18px;
  list-style: disc;
  font-size: 14px;
  line-height: 22px;
  color: var(--ink-2);
}
.gh-changes li {
  margin-bottom: 2px;
}
.gh-changes li:last-child {
  margin-bottom: 0;
}

/* 이전 버전 더 보기 */
.changelog-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

@media (max-width: 640px) {
  .gh-entry {
    gap: 12px;
    margin-bottom: 24px;
  }
  .gh-tool-row {
    padding: 12px 14px;
  }
}

/* 한국 데이터: 레이어마다 원천과 판(기준일)을 한 줄 더 */
.kr-sources dd small { display: block; margin-top: 2px; font-size: 13px; line-height: 20px; color: var(--ink-3); }
.kr-sources dd a { color: inherit; }
