/* ZIGU Print 소개 홈페이지 — 레이아웃 · 모양
   색 · 글꼴 · 버튼 · 탭 · 칸의 값은 Zigu DS 0.5.324 에서 옮겨 적었다(제품이 DS 파일을 불러올 의무는 없다 — DS apps/PRINCIPLES 원칙 7).
   바탕 · 블록 · 선 = V3 관리 화면과 같은 slate 세 값 → 홈에서 관리 화면 그림으로 넘어갈 때 한 화면처럼 보인다.
   틀 = level.io 에서 빌린 것: 가는 세로 레일 · 꼭지마다 가로선 · 칸을 선으로 나눈 격자 · 점 바탕 · 흰 + 흐린 두 톤 제목.
   가볍게: backdrop-filter · SVG 필터 없음 · 움직임은 transform · opacity 만 · 정적인 그라데이션만(한 번 그리고 끝). */

:root {
  color-scheme: dark;
  --page: #0A0E14;       /* DS --side-nav-slate-page = V3 페이지 */
  --block: #11161F;      /* DS --side-nav-slate-bg   = V3 블록 */
  --block-2: #171E2A;    /* 블록 안 한 단계 밝게(입력 · 칸) */
  --line: #232C3A;       /* DS --side-nav-slate-line = V3 선 */
  --line-2: #313C4E;
  --t1: #F4F6F9;
  --t2: rgb(244 246 249 / 0.74);
  --t3: rgb(244 246 249 / 0.54);
  --t4: rgb(244 246 249 / 0.36);
  --primary: #007FFF;              /* DS --primary-500 — 다음 행동 하나에만 */
  --primary-hover: #2B93FF;        /* DS 의 hover(#007CF9)는 어두운 바탕에서 안 보여 한 단계 밝게 */
  --primary-press: #0070E6;
  --primary-soft: rgb(0 127 255 / 0.16);
  --blue-t: #7DB8FF;               /* 어두운 바탕의 파랑 글씨(대비 ≥ 4.5) */
  --danger: #FF4957;               /* DS --danger */
  --danger-t: #FF8A93;
  --success: #3CC8B4;              /* DS turquoise 계열 */
  --warning: #F5C043;
  --violet-t: #B9A7F5;
  --nebula: linear-gradient(100deg, #8EA6FF 0%, #A994F4 48%, #E7A2C9 100%);   /* ZIGU Print 마크 tile-nebula(#33509E → #6258BA → #B48BD3 · #F97F90)를 어두운 바탕 글씨용으로 밝힘 */
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  --frame: 1280px;
  --pad: 64px;           /* 칸 안쪽 여백 — 좁은 화면에서 줄어듦 */
  --r: 12px;             /* 그림 · 판 모서리 */
  --ease: cubic-bezier(0.2, 0, 0, 1);   /* DS --ease-standard */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);   /* 들어오는 움직임(스크롤 등장) — 빨리 시작해 천천히 멈춤 */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--page); color: var(--t1); font: 400 16px/1.6 var(--font); letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: break-word; }
/* 중국어(간체 · 2026-11-26) — 한글 글꼴(Apple SD Gothic Neo · Malgun Gothic)이 한자를 한국 자형으로 그리지 않게 중국어 글꼴로.
   keep-all 은 한자 사이에서도 줄을 바꾸지 않아 넘치므로 normal(중국어는 글자마다 줄을 바꿈) */
html:lang(zh) { --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, sans-serif; }
html:lang(zh) body { word-break: normal; letter-spacing: 0; }
html:lang(zh) .h2, html:lang(zh) .h2 .mute { text-wrap: pretty; }   /* 끝줄에 한두 글자만 남지 않게 */
html:lang(zh) .h2 .mute { display: inline-block; }   /* 두 마디 제목의 뒷마디(흐린 글)는 한 덩이로 다음 줄에 — 글자마다 꺾이면 끝줄에 '印。' 한 글자만 남았음 */
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 50; padding: 8px 12px; background: var(--t1); color: var(--page); border-radius: 6px; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }
.show-sm { display: none; }

/* ── 아이콘(DS assets/icons 스프라이트) ── */
.i { width: 20px; height: 20px; flex: none; fill: currentColor; vertical-align: middle; }
.i--xs { width: 14px; height: 14px; }
.i--sm { width: 16px; height: 16px; }
.i--lg { width: 24px; height: 24px; }

/* ── 단추 — DS Button 의 모양을 옮김(primary · line · ghost). 모서리 6(DS 4) — 48 높이 단추에 비례 ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 6px; font-weight: 600; font-size: 15px; white-space: nowrap; transition: background-color .15s var(--ease), box-shadow .15s var(--ease); }
.btn--md { height: 36px; padding: 0 14px; font-size: 14px; }
.btn--lg { height: 48px; padding: 0 22px; font-size: 16px; }
.btn--sm { height: 28px; padding: 0 10px; font-size: 13px; border-radius: 4px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-hover); }
.btn--primary:active { background: var(--primary-press); }
.btn--line { box-shadow: inset 0 0 0 1px var(--line-2); color: var(--t1); background: rgb(255 255 255 / 0.03); }
.btn--line:hover { background: rgb(255 255 255 / 0.07); }
.btn--ghost { color: var(--t2); }
.btn--ghost:hover { color: var(--t1); background: rgb(255 255 255 / 0.06); }
.btn--danger { background: var(--danger); color: #fff; }

/* ── 상태 낱말(DS Lozenge 모양) ── */
.loz { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: 4px; font-size: 12px; font-weight: 700; letter-spacing: 0; background: rgb(255 255 255 / 0.1); color: var(--t2); white-space: nowrap; }
.loz--blue { background: rgb(0 127 255 / 0.2); color: var(--blue-t); }
.loz--red { background: rgb(255 73 87 / 0.2); color: var(--danger-t); }
.loz--violet { background: rgb(150 120 240 / 0.22); color: var(--violet-t); }
.loz--warn { background: rgb(245 192 67 / 0.18); color: var(--warning); }
.loz--soon { background: rgb(169 148 244 / 0.18); color: var(--violet-t); margin-inline-start: 8px; vertical-align: 1px; }

/* ── 머리 ── */
.top { position: sticky; top: 0; z-index: 30; background: rgb(10 14 20 / 0.94); border-bottom: 1px solid var(--line); }
.top__in { width: min(100% - 32px, var(--frame)); margin: 0 auto; height: 64px; display: flex; align-items: center; gap: 32px; padding: 0 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 28px; height: 28px; border-radius: 7px; }
.brand__name { font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.nav { display: flex; gap: 4px; min-width: 0; }
.nav a { padding: 8px 10px; border-radius: 6px; font-size: 15px; color: var(--t2); white-space: nowrap; }
@media (min-width: 1181px) { html:lang(en) .nav a { padding-inline: 8px; } }   /* 영어 메뉴가 '블로그'를 더하며 1280 에서 13px 넘쳐 서랍으로 접혔음(2026-11-26) — 한국어 · 중국어는 그대로 */
/* 메뉴가 한 줄에 안 들어가면(긴 언어 · 좁은 화면) 서랍으로 — site.js 가 재서 .top.is-tight. 언어마다 폭이 달라 고정 너비로 정하지 않는다(영어가 961~1024 에서 두 줄로 꺾였음) */
.top.is-tight .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 16px 16px; background: var(--page); border-bottom: 1px solid var(--line); }
.top.is-tight .nav.is-open { display: flex; }
.top.is-tight .nav a { padding: 12px 8px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
.top.is-tight .nav a::after { display: none; }
.top.is-tight .menu-btn { display: inline-flex; }
.nav a:hover { color: var(--t1); background: rgb(255 255 255 / 0.05); }
.top__end { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; width: 36px; height: 36px; border-radius: 6px; align-items: center; justify-content: center; color: var(--t1); }
.menu-btn:hover { background: rgb(255 255 255 / 0.06); }

/* ── 틀: 가운데 세로 레일 + 꼭지마다 가로선 (level.io) ── */
.frame { width: min(100% - 32px, var(--frame)); margin: 0 auto; border-inline: 1px solid var(--line); }
.sec { border-top: 1px solid var(--line); }
.sec__head { padding: 112px var(--pad) 56px; }
.eyebrow { display: flex; align-items: center; font-size: 14px; font-weight: 600; color: var(--blue-t); margin-bottom: 16px; }
.h2 { font-size: clamp(28px, 1.8vw + 16px, 42px); line-height: 1.25; font-weight: 700; letter-spacing: -0.03em; max-width: 21em; }
.h2 .mute { color: var(--t3); }
.h2--xl { font-size: clamp(32px, 2.6vw + 16px, 52px); }
.h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }
.lead { color: var(--t2); font-size: 17px; }
.lead b { color: var(--t1); font-weight: 600; }
.hint { margin-top: 14px; color: var(--t3); font-size: 14px; }
.hint a { color: var(--blue-t); text-decoration: underline; text-underline-offset: 3px; }
.dots { background-color: var(--page); background-image: radial-gradient(rgb(255 255 255 / 0.075) 1px, transparent 1.5px); background-size: 20px 20px; }

/* ── ① 첫 화면 ── */
.hero { position: relative; overflow: hidden; padding: 0 0 72px; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 760px; pointer-events: none;
  background:
    radial-gradient(48% 52% at 50% 0%, rgb(98 88 186 / 0.34), transparent 70%),
    radial-gradient(30% 30% at 72% 8%, rgb(249 127 144 / 0.10), transparent 70%),
    radial-gradient(rgb(255 255 255 / 0.07) 1px, transparent 1.5px) 0 0 / 22px 22px;
  -webkit-mask-image: linear-gradient(#000 30%, transparent 100%); mask-image: linear-gradient(#000 30%, transparent 100%); }
.hero__in { position: relative; text-align: center; padding: 96px var(--pad) 64px; }
.hero__t { margin: 0 auto;   /* 위 알약(HP 공식 AI 솔루션 파트너)을 뺌 — 사용자 2026-11-25 */ font-size: clamp(38px, 4.4vw + 12px, 72px); line-height: 1.14; font-weight: 800; letter-spacing: -0.035em; }
.glow { background: var(--nebula); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { margin: 24px auto 0; max-width: 680px; font-size: clamp(16px, 0.3vw + 15px, 19px); color: var(--t2); }
.cta { display: flex; justify-content: center; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.cta--start { justify-content: flex-start; }
.facts { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; font-size: 14px; color: var(--t3); }
.facts li { display: inline-flex; align-items: center; gap: 6px; }
.facts .i { color: var(--success); }
.facts--col { flex-direction: column; align-items: flex-start; gap: 10px; font-size: 16px; color: var(--t2); margin-top: 28px; }

/* 둘러보기 — 제품 창 + 탭 */
.tour { position: relative; padding: 0 48px; }
.win { border-radius: var(--r); background: var(--block); box-shadow: 0 0 0 1px var(--line-2), 0 0 0 8px rgb(255 255 255 / 0.025), 0 48px 120px -24px rgb(0 0 0 / 0.75); overflow: hidden; }
.win__bar { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.win__bar > i { width: 10px; height: 10px; border-radius: 50%; background: #2A3342; }
.win__title { margin-inline-start: 10px; font-size: 13px; color: var(--t3); }
.win__title b { color: var(--t2); font-weight: 600; }
.win__view { position: relative; aspect-ratio: 1440 / 900; background: var(--page); }
.win__view img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transform: scale(1.02); transition: opacity .45s var(--ease), transform .9s var(--ease-out); }   /* 다음 장은 살짝 크게 있다가 제자리로 */
.win__view img.is-on { opacity: 1; transform: none; }
.tour__bar { height: 2px; margin: 20px 0 0; background: var(--line); border-radius: 2px; overflow: hidden; }
.tour__bar > i { display: block; height: 100%; background: var(--primary); transform-origin: 0 50%; transform: scaleX(0); }
.tour__bar > i.is-run { animation: fill var(--tour-ms, 7000ms) linear forwards; }
.tour.is-paused .tour__bar > i.is-run { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.tour__ctl { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 18px; }
.pills { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
/* DS Tabs --pill(40) — 다크: 고른 것 = 밝게(inverse) */
.pill { height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--t3); background: rgb(255 255 255 / 0.05); transition: background-color .15s var(--ease), color .15s var(--ease); }
.pill:hover:not([aria-selected="true"]) { background: rgb(255 255 255 / 0.1); color: var(--t2); }
.pill[aria-selected="true"] { background: var(--t1); color: var(--page); font-weight: 600; }
.round { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--t2); box-shadow: inset 0 0 0 1px var(--line-2); }
.round:hover { color: var(--t1); background: rgb(255 255 255 / 0.06); }
.tour__cap { margin-top: 14px; text-align: center; color: var(--t2); font-size: 15px; min-height: 1.6em; }
.note { margin-top: 10px; text-align: center; font-size: 12px; color: var(--t4); }

/* ── 칸 격자(선으로 나눔) ── */
.cells { display: grid; border-top: 1px solid var(--line); }
.cells--4 { grid-template-columns: repeat(4, 1fr); }
.cells--3 { grid-template-columns: repeat(3, 1fr); }
.cell { padding: 36px 32px 40px; border-inline-start: 1px solid var(--line); }
.cell:first-child { border-inline-start: 0; }
.cell > .i { color: var(--blue-t); }
.cell h3 { margin: 16px 0 8px; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.cell p { color: var(--t2); font-size: 15px; }
.steps .cell { padding-top: 40px; }
.step { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; color: var(--blue-t); box-shadow: inset 0 0 0 1px rgb(125 184 255 / 0.45); background: #091727; position: relative; z-index: 1; }   /* 바탕 = 페이지 위 파랑 8%를 불투명하게(뒤로 지나가는 진행 선이 비치지 않게) */

/* ── 왼쪽 글 + 오른쪽 무대 ── */
.split { display: grid; grid-template-columns: 440px 1fr; border-top: 1px solid var(--line); }
.split__text { padding: 48px 40px 56px; border-inline-end: 1px solid var(--line); }
.split__stage { position: relative; padding: 56px 48px; display: flex; align-items: center; justify-content: center; min-width: 0; }
.split--rev .split__text { order: 2; border-inline-end: 0; border-inline-start: 1px solid var(--line); }
.split--rev { grid-template-columns: 1fr 440px; }

.points { display: grid; gap: 28px; }
.points li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.ico { width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: var(--blue-t); background: rgb(0 127 255 / 0.1); box-shadow: inset 0 0 0 1px rgb(125 184 255 / 0.18); }
.points h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; letter-spacing: -0.02em; }
.points p { color: var(--t2); font-size: 15px; }

/* 흐름 — level 자동화 노드 모양 */
.flow { width: 100%; max-width: 480px; display: grid; gap: 28px; position: relative; }
.flow::before { content: ""; position: absolute; left: 39px; top: 30px; bottom: 30px; width: 1px; background: var(--line-2); }
.node { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 10px; background: var(--block); box-shadow: 0 0 0 1px var(--line); }
.node__ic { width: 44px; height: 44px; border-radius: 8px; flex: none; display: inline-flex; align-items: center; justify-content: center; color: #fff; position: relative; z-index: 1; }
.n-blue { background: #1F6FE5; } .n-violet { background: #6A5BD6; } .n-teal { background: #13998A; } .n-green { background: #2E9F5B; } .n-gray { background: #3A4557; }
.node__path { font-size: 13px; color: var(--t3); display: flex; align-items: center; gap: 4px; }
.node__v { font-size: 15px; font-weight: 600; color: var(--t1); }
.node__pin { font-variant-numeric: tabular-nums; letter-spacing: 0.12em; font-size: 18px; }
.node__if { margin-inline-start: auto; align-self: flex-start; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--warning); background: rgb(245 192 67 / 0.12); box-shadow: inset 0 0 0 1px rgb(245 192 67 / 0.3); display: inline-flex; align-items: center; white-space: nowrap; }
.node--dim .node__v { color: var(--t2); font-weight: 500; }
/* 화면에 들어오면 위에서부터 차례로(한 번) — 동작 줄이기면 처음부터 다 보임 */
[data-reveal].is-armed .node { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
[data-reveal].is-armed.is-on .node { opacity: 1; transform: none; }
[data-reveal].is-armed.is-on .node:nth-child(2) { transition-delay: .25s; }
[data-reveal].is-armed.is-on .node:nth-child(3) { transition-delay: .5s; }
[data-reveal].is-armed.is-on .node:nth-child(4) { transition-delay: .75s; }
[data-reveal].is-armed.is-on .node:nth-child(5) { transition-delay: 1s; }

/* ── ③ 운영: 아코디언 + 그림 ── */
.feat { display: grid; grid-template-columns: 400px 1fr; border-top: 1px solid var(--line); }
.feat__list { border-inline-end: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc:last-child { border-bottom: 0; }
.acc__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 32px; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; color: var(--t3); text-align: start; }
.acc__btn:hover { color: var(--t2); }
.acc__btn[aria-expanded="true"] { color: var(--t1); }
.acc__btn .i { transition: transform .2s var(--ease); color: var(--t3); }
.acc__btn[aria-expanded="true"] .i { transform: rotate(180deg); }
.acc__panel { padding: 0 32px 26px; color: var(--t2); font-size: 15px; }
.ticks { display: grid; gap: 6px; margin-top: 14px; }
.ticks li { position: relative; padding-inline-start: 18px; color: var(--t2); font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.66em; width: 6px; height: 6px; border-radius: 50%; background: var(--t4); }
.ticks--lg li { font-size: 16px; }
.feat__stage { position: relative; min-height: 560px; min-width: 0; }
.shot { position: absolute; inset: 48px; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(12px); transition: opacity .35s var(--ease), transform .6s var(--ease-out); pointer-events: none; }
.shot.is-on { opacity: 1; transform: none; pointer-events: auto; }
.shot img, .wide img, .care__img { border-radius: var(--r); box-shadow: 0 0 0 1px var(--line-2), 0 28px 70px -20px rgb(0 0 0 / 0.7); }
.shot > img { width: auto; height: auto; max-width: 100%; max-height: 100%; }
.shot--cut > img:first-child { -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }   /* 아래를 자른 갈무리 — 끝을 흐리게 */
.shot--alarm .shot__under { opacity: 0.35; }
.shot--alarm .shot__over { position: absolute; right: 0; top: 50%; width: min(52%, 360px); transform: translateY(-62%); box-shadow: 0 30px 80px rgb(0 0 0 / 0.65); border-radius: 18px; }
.wide { border-top: 1px solid var(--line); padding: 56px var(--pad) 64px; }
.wide img { width: 100%; }
.wide__cap { margin-top: 20px; color: var(--t2); font-size: 15px; }
.wide__cap b { color: var(--t1); font-weight: 600; }

.tile__img { flex: 1; display: flex; align-items: flex-start; justify-content: center; }
.tile__img img { width: 100%; }
.tile__img--poster img { width: auto; max-height: 520px; }
.receipt__h { font-weight: 800; font-size: 14px; margin-bottom: 10px; color: #1A2230 !important; }
.receipt__h span { font-weight: 600; font-size: 11px; color: #6B7686; margin-inline-start: 4px; }
.receipt__sep { border-top: 1px dashed #C9CFD8; padding-top: 8px; margin-top: 4px; }
.fax__v { display: flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 700; color: var(--t1) !important; font-variant-numeric: tabular-nums; }
.fax__s { margin-top: 4px; font-size: 13px !important; color: var(--t3) !important; }

/* ── 디자인 라이브러리(사용자 2026-11-25 — 전의 '매출 · 정산' 벤토 자리): 실제 디자인물 넷을 점 바탕 칸에 ── */
.lib { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.lib__i { background: var(--page); padding: 28px 24px 30px; display: flex; flex-direction: column; min-width: 0; }
.lib__img { height: 480px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.lib__img img { width: auto; height: auto; max-width: calc(100% - 32px); max-height: 440px; border-radius: 4px; box-shadow: 0 18px 44px -14px rgb(0 0 0 / 0.75); }
.lib__t { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.lib__s { margin-top: 4px; font-size: 14px; color: var(--t3); }

.care__points { margin-top: 28px; }
.care__img { width: 100%; max-width: 720px; -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); }   /* 아래를 자른 갈무리 — 끝을 흐리게 */

/* ── ⑤ 파트너 ── */
.seg { display: inline-flex; padding: 3px; margin-top: 24px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); background: rgb(255 255 255 / 0.03); }
.seg button { height: 34px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--t3); }
.seg button:hover:not([aria-checked="true"]) { color: var(--t2); }
.seg button[aria-checked="true"] { background: var(--t1); color: var(--page); font-weight: 600; }
.org { width: 100%; max-width: 560px; display: grid; gap: 10px; }
.org__row { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 12px 14px; border-radius: 10px; background: var(--block); box-shadow: 0 0 0 1px var(--line); }
.org__row--me { box-shadow: 0 0 0 1px rgb(125 184 255 / 0.5); }
.org__row--l2 { margin-inline-start: 32px; }
.org__row--l3 { margin-inline-start: 64px; }
.org__row--l2::before, .org__row--l3::before { content: ""; position: absolute; left: -18px; top: -11px; width: 12px; height: calc(50% + 11px); border-left: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); border-bottom-left-radius: 6px; }
.org__row--out { opacity: 0.55; }
.org__who { font-size: 14px; font-weight: 700; min-width: 92px; }
.org__who em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--blue-t); background: var(--primary-soft); padding: 1px 6px; border-radius: 4px; margin-inline-start: 4px; vertical-align: 1px; }
.org__note { margin-inline-start: auto; font-size: 12px; color: var(--t3); }
.chip { height: 26px; padding: 0 10px; border-radius: 6px; display: inline-flex; align-items: center; font-size: 13px; font-weight: 500; transition: opacity .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease); }
.chip[data-k="direct"] { background: rgb(0 127 255 / 0.18); color: var(--blue-t); box-shadow: inset 0 0 0 1px rgb(125 184 255 / 0.35); }
.chip[data-k="managed"] { background: rgb(60 200 180 / 0.14); color: #8EE3D6; box-shadow: inset 0 0 0 1px rgb(60 200 180 / 0.32); }
.chip[data-k="out"] { background: rgb(255 255 255 / 0.04); color: var(--t3); border: 1px dashed var(--line-2); }
.org[data-scope-view="direct"] .chip[data-k="managed"], .org[data-scope-view="managed"] .chip[data-k="direct"] { opacity: 0.22; }
.org__sum { margin-top: 6px; font-size: 14px; color: var(--t2); text-align: center; }
.stack__a { width: 92%; }
.stack__b { position: absolute; right: 0; bottom: 0; width: 78%; }

/* ── ⑥ 스텔라 — DS Side panel · Message 모양을 옮김 ── */
.tiers { display: grid; grid-template-columns: minmax(58px, max-content) 1fr; gap: 10px; margin-top: 28px; }   /* 등급 낱말 열 = 가장 긴 낱말에 맞춤(영어 'Human only'가 58 을 넘었음) — 줄마다 subgrid 로 같은 열 */
.tiers li { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: baseline; font-size: 14px; color: var(--t2); }
.tiers .loz { justify-content: center; }
.ai { width: 100%; max-width: 520px; border-radius: 14px; background: var(--block); box-shadow: 0 0 0 1px var(--line-2), 0 40px 100px -30px rgb(0 0 0 / 0.8); overflow: hidden; }
.ai__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.ai__name { font-weight: 700; font-size: 16px; }
.ai__now { font-size: 12px; color: var(--t3); }
.ai__body { display: grid; gap: 16px; padding: 18px; }
.msg { font-size: 14px; line-height: 1.55; }
.msg--me { justify-self: end; max-width: 80%; padding: 9px 13px; border-radius: 14px 14px 4px 14px; background: #233047; color: var(--t1); }
.msg--ai { display: grid; grid-template-columns: 32px 1fr; gap: 10px; color: var(--t2); }
.msg__in { display: grid; gap: 8px; min-width: 0; }
.msg__in > p { color: var(--t1); }
.msg__who { font-size: 12px; color: var(--t4) !important; }
.rows { border-radius: 8px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.rows li { display: flex; align-items: center; gap: 6px; padding: 8px 10px; font-size: 13px; color: var(--t2); border-top: 1px solid var(--line); }
.rows li:first-child { border-top: 0; }
.rows b { color: var(--danger-t); font-weight: 700; }
.rows .err { color: var(--danger-t); font-weight: 600; }
.rows .i { margin-inline-start: auto; color: var(--t4); }
.todo { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; background: rgb(255 255 255 / 0.04); font-size: 13px; color: var(--t1); }
.msg__act { display: flex; gap: 6px; }
.ai__foot { display: flex; align-items: center; justify-content: space-between; margin: 0 18px 18px; height: 40px; padding: 0 12px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--t4); font-size: 14px; }
/* AI icon: 가장 새 답 하나만 움직임(DS 규칙) · 화면 밖이면 멈춤(끄는 길) */
.ai.is-off .ai-live, .ai.is-off .ai-live *, .ai.is-off .ai-live::before, .ai.is-off .ai-live::after, .ai.is-off .ai-live *::before, .ai.is-off .ai-live *::after { animation-play-state: paused !important; }

/* ── ⑧ 요금 ── */
.price { display: grid; grid-template-columns: 1fr 420px; border-top: 1px solid var(--line); }
.price__plans { padding: 48px var(--pad) 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; border-inline-end: 1px solid var(--line); }
.plan { padding: 24px; border-radius: var(--r); background: var(--block); box-shadow: 0 0 0 1px var(--line); }
.plan__k { display: flex; align-items: center; gap: 8px; color: var(--t2); font-weight: 600; }
.plan__k .i { color: var(--blue-t); }
.plan__v { margin-top: 14px; font-size: 34px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan__v small { font-size: 15px; font-weight: 500; color: var(--t3); margin-inline-start: 6px; letter-spacing: 0; }
.plan__list { grid-column: 1 / -1; margin-top: 12px; }
.plan__inc { grid-column: 1 / -1; margin-top: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.plan__inc p { font-size: 13px; color: var(--t3); margin-bottom: 10px; }
.plan__inc ul { display: flex; flex-wrap: wrap; gap: 6px; }
.plan__inc li { height: 28px; padding: 0 10px; border-radius: 6px; display: inline-flex; align-items: center; font-size: 13px; color: var(--t2); background: rgb(255 255 255 / 0.05); }
.calc { padding: 40px 40px 44px; background: linear-gradient(180deg, rgb(255 255 255 / 0.025), transparent 60%); }
.calc__t { font-weight: 700; font-size: 18px; margin-bottom: 18px; }
.calc__row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--t2); }
.step-in { display: inline-flex; align-items: center; gap: 4px; }
.step-in button { width: 34px; height: 34px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: var(--t2); box-shadow: inset 0 0 0 1px var(--line-2); }
.step-in button:hover { color: var(--t1); background: rgb(255 255 255 / 0.06); }
.step-in button:disabled { opacity: 0.4; cursor: default; background: none; }
.step-in output { min-width: 40px; text-align: center; font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; color: var(--t1); }
.calc__sum { margin: 22px 0 22px; }
.calc__sum p:first-child { color: var(--t3); font-size: 14px; }
.calc__v { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.calc__vat { color: var(--t3); font-size: 14px; }

/* ── ⑨ FAQ ── */
.faq { display: grid; grid-template-columns: 440px 1fr; }
.faq__head { padding: 112px 40px 56px var(--pad); border-inline-end: 1px solid var(--line); }
.faq__list { padding: 96px var(--pad) 96px 48px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--t3); transition: transform .2s var(--ease); }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { padding: 0 32px 22px 0; color: var(--t2); font-size: 15px; }

/* ── ⑩ 마지막 · 상담 ── */
.end { position: relative; overflow: hidden; }
.end::before { content: ""; position: absolute; inset: auto 0 0; height: 520px; pointer-events: none; background: radial-gradient(50% 60% at 30% 100%, rgb(98 88 186 / 0.22), transparent 70%), radial-gradient(40% 50% at 80% 100%, rgb(0 127 255 / 0.12), transparent 70%); }
.end__in { position: relative; display: grid; grid-template-columns: 1fr 480px; gap: 48px; padding: 112px var(--pad) 112px; align-items: start; }
.form { padding: 28px; border-radius: 16px; background: var(--block); box-shadow: 0 0 0 1px var(--line-2), 0 40px 100px -30px rgb(0 0 0 / 0.7); display: grid; gap: 14px; }
.form__t { font-size: 20px; font-weight: 700; }
.form__s { color: var(--t3); font-size: 14px; margin-top: -8px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fld { display: grid; gap: 6px; font-size: 13px; color: var(--t2); min-width: 0; }
.fld i, .agree i { font-style: normal; color: var(--t4); }
.fld input, .fld textarea { width: 100%; min-height: 40px; padding: 9px 12px; border-radius: 6px; border: 0; background: var(--block-2); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 15px; color: var(--t1); resize: vertical; }
.fld input::placeholder, .fld textarea::placeholder { color: var(--t4); }
.fld input:hover, .fld textarea:hover { box-shadow: inset 0 0 0 1px #46536A; }
.fld input:focus, .fld textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--primary); }
.fld [aria-invalid="true"] { box-shadow: inset 0 0 0 1px var(--danger); }
.fld--set { border: 0; padding: 0; margin: 0; }
.fld--set legend { padding: 0; margin-bottom: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border-radius: 999px; font-size: 14px; color: var(--t2); box-shadow: inset 0 0 0 1px var(--line-2); }
.chips input:checked + span { background: var(--primary-soft); color: var(--blue-t); box-shadow: inset 0 0 0 1px rgb(125 184 255 / 0.55); }
.chips input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--t2); }
.agree input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--primary); flex: none; }
.form__err { color: var(--danger-t); font-size: 13px; }
.form__ok { display: flex; gap: 8px; align-items: flex-start; color: var(--t1); font-size: 14px; padding: 12px; border-radius: 8px; background: rgb(60 200 180 / 0.1); box-shadow: inset 0 0 0 1px rgb(60 200 180 / 0.3); }
.form__ok .i { color: var(--success); margin-top: 3px; }
.form__ok i { font-style: normal; color: var(--t3); }
.form__ok a { color: var(--blue-t); text-decoration: underline; text-underline-offset: 3px; }
.form__ok--mail { background: rgb(0 127 255 / 0.08); box-shadow: inset 0 0 0 1px rgb(125 184 255 / 0.3); }   /* 바로 못 보내 메일 앱으로 넘김 */
.form__ok--mail .i { color: var(--blue-t); }
.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }   /* 숨은 칸(봇 막기) — 화면 · 화면 읽기에서 빠짐 */

/* ── 바닥 ── */
.foot { border-top: 1px solid var(--line); }
.foot__in { width: min(100% - 32px, var(--frame)); margin: 0 auto; padding: 56px var(--pad) 40px; display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.foot__brand p { margin-top: 14px; color: var(--t3); font-size: 14px; max-width: 260px; }
.foot h4 { font-size: 13px; font-weight: 600; color: var(--t3); margin-bottom: 12px; }
.foot ul { display: grid; gap: 8px; font-size: 14px; color: var(--t2); }
.foot a:hover { color: var(--t1); }
.foot__mail { color: var(--t2); text-decoration: underline; text-underline-offset: 3px; }
.foot a[data-todo] { color: var(--t4); cursor: default; }
.foot__bottom { width: min(100% - 32px, var(--frame)); margin: 0 auto; padding: 20px var(--pad) 40px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--t4); border-top: 1px solid var(--line); }
.foot__co p + p { margin-top: 2px; }   /* 회사 정보 두 줄(상호 · 대표 · 등록번호 / 주소) */
.foot__co span { white-space: nowrap; }   /* 항목(번호)이 줄 사이에서 끊기지 않게 — 줄은 · 에서만 바뀜 */

/* ── 2차(2026-11-25): 도입 결정 꼭지 — 믿을 이유 · 운영자의 문제 · 추천의 말 · 갈아타기 · 설치 · ZIGU Kiosk · 기기 구매 ── */
.sec__lead { margin-top: 18px; max-width: 40em; color: var(--t2); font-size: 17px; }
.trust { border-top: 0; }
.trust .cell { padding: 28px 32px 30px; }
.trust__hp { display: flex; gap: 14px; align-items: flex-start; }
.trust__logo { flex: none; width: 44px; height: 44px; margin-top: 2px; }   /* HP 공식 로고 — HP 가 준 Garage 2.0 템플릿의 그림(PLAN §6) */
.trust__k { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; color: var(--t1) !important; margin-bottom: 4px; }
.pills__g { align-self: center; padding: 0 4px 0 10px; font-size: 12px; font-weight: 600; color: var(--t4); white-space: nowrap; }
.pills__g:first-child { padding-inline-start: 0; }

/* 운영자의 문제 → 답 (선으로 나눈 3 × 2) */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.pains li { background: var(--page); padding: 32px 32px 36px; }
/* 손님 · 점주의 말(VOC) → 답 (사용자 2026-11-25): 위 = DS Message item 받은 말풍선(왼쪽 꼬리 · 프로필 · 이름) · 아래 = 평문(구분선은 뺌 — 같은 날 2차) */
.pains--voc li { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; align-content: start; padding: 30px 30px 34px; }   /* 같은 줄의 칸끼리 말풍선 · 구분선 높이를 맞춤(말풍선이 두 줄인 칸이 있어도) */
.pains--voc .zg-message { align-self: start; }
.pains--voc .pains__fix { align-self: start; }
.pains--voc .zg-message__item { max-width: 100%; }   /* DS 는 옆에 마우스 단추 자리를 비움 — 여기는 단추가 없다 */
.pains__av { flex: none; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }   /* DS Avatar 40 자리 — 사람 대신 역할 아이콘 */
.pains__av .i { width: 20px; height: 20px; }
.pains__av--guest { background: rgb(60 200 180 / 0.16); color: #8EE3D6; box-shadow: inset 0 0 0 1px rgb(60 200 180 / 0.3); }
.pains__av--owner { background: rgb(0 127 255 / 0.16); color: var(--blue-t); box-shadow: inset 0 0 0 1px rgb(125 184 255 / 0.3); }
.pains__fix { margin-top: 22px; }   /* 말풍선과 답 사이 — 구분선 없이 여백 하나만(사용자 2026-11-25: 선 삭제 · margin-top · padding-top 중 하나만) */
.pains__t { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; color: var(--t1); margin-bottom: 6px; }
.pains__d { font-size: 15px; color: var(--t2); }

/* 추천의 말 */
.voices { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.voice { margin: 0; background: var(--page); padding: 44px var(--pad) 48px; display: flex; flex-direction: column; gap: 22px; }
.voice__org { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue-t); }
.voice blockquote { margin: 0; }
.voice blockquote p { font-size: clamp(19px, 0.7vw + 14px, 24px); line-height: 1.55; font-weight: 600; letter-spacing: -0.02em; color: var(--t1); }
.voice blockquote p::before { content: "“"; color: var(--t4); margin-inline-end: 2px; }
.voice blockquote p::after { content: "”"; color: var(--t4); margin-inline-start: 2px; }
.voice figcaption { margin-top: auto; display: grid; gap: 2px; font-size: 14px; color: var(--t3); }
.voice figcaption b { color: var(--t1); font-weight: 600; font-size: 15px; }

/* 갈아타기 — 모델 칩 · 기기 화면 */
.models { display: flex; gap: 8px; margin: 24px 0 8px; }
.models li { flex: 1; padding: 14px 16px; border-radius: 10px; background: var(--block); box-shadow: 0 0 0 1px var(--line-2); }
.models b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.models span { font-size: 12px; color: var(--t3); }
/* 갈아타면 — 큰 숫자판 둘(전환 비용 ZERO · 정산 금액 UP · 사용자 2026-11-25) */
.gains { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0 4px; }
.gain { padding: 16px 16px 18px; border-radius: var(--r); background: var(--block); box-shadow: 0 0 0 1px var(--line-2); }
.gain__k { font-size: 13px; font-weight: 600; color: var(--t3); }
.gain__v { display: flex; align-items: center; gap: 4px; margin-top: 2px; font-size: 44px; line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; background: var(--nebula); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gain__v .i { width: 32px; height: 32px; color: #E7A2C9; }   /* 글자는 그라데이션, 화살표는 그 끝 색 */
.gain__s { margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--t2); }
.device { margin: 0; width: 100%; max-width: 640px; }
.device__screen { padding: 14px; border-radius: 22px; background: linear-gradient(160deg, #2A3242, #151A24 60%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08), inset 0 1px 0 rgb(255 255 255 / 0.12), 0 40px 100px -30px rgb(0 0 0 / 0.85); }
.device__screen img { width: 100%; border-radius: 10px; }
.device figcaption { margin-top: 14px; text-align: center; font-size: 13px; color: var(--t3); }
.band { border-top: 1px solid var(--line); padding: 22px var(--pad); font-size: 15px; color: var(--t2); }

/* ZIGU Kiosk 갈무리 — 기기 화면처럼 테 */
.shot--kiosk > img { padding: 8px; background: #1A202C; border-radius: 16px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08), 0 28px 70px -20px rgb(0 0 0 / 0.75); }

/* 기기 구매 */
.buy { grid-column: 1 / -1; margin-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; border-radius: var(--r); background: linear-gradient(120deg, rgb(0 127 255 / 0.14), rgb(98 88 186 / 0.12)); box-shadow: inset 0 0 0 1px rgb(125 184 255 / 0.3); scroll-margin-top: 96px; }
.buy__k { font-size: 17px; font-weight: 700; }
.buy__v { margin-top: 4px; font-size: 14px; color: var(--t2); }
.buy .btn { flex: none; }

/* ── 언어 고르기(머리 · 2026-11-26 영어 먼저) — 지금은 두 개라 알약 하나에 KO | EN. 12개가 되면 메뉴로 ── */
.lang { display: inline-flex; padding: 2px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); }
.lang a { height: 28px; min-width: 34px; padding: 0 8px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; color: var(--t3); }
.lang a:hover { color: var(--t1); }
.lang a[aria-current="true"] { background: rgb(255 255 255 / 0.1); color: var(--t1); }
/* 서랍 안의 언어 고르기 — 휴대폰(≤ 640)에서만 보임: 언어가 셋이 되며 머리(로고 · 언어 · 도입 상담 · 메뉴)가 390 에 안 들어가 로고 이름이 두 줄로 꺾였음(2026-11-26) */
.lang--nav { display: none; }
.top .nav .lang a { height: 32px; min-width: 44px; padding: 0 12px; font-size: 13px; border-bottom: 0; border-radius: 999px; }
.top .nav .lang a::after { display: none; }
.agree a { color: var(--blue-t); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* ── 약관 · 정책 문서(terms.html · privacy.html · 2026-11-26) — 왼쪽 조항 목차(따라 내려옴) + 오른쪽 본문 ── */
.doc { display: grid; grid-template-columns: 280px 1fr; }
.doc__head { grid-column: 1 / -1; padding: 96px var(--pad) 40px; border-bottom: 1px solid var(--line); }
.doc__meta { margin-top: 14px; color: var(--t3); font-size: 14px; }
.doc__tr { margin-top: 6px; }   /* 번역본 쪽에만 — 한국어 원문이 기준 */
.doc__meta a, .doc__body a { color: var(--blue-t); text-decoration: underline; text-underline-offset: 3px; }
.doc__draft { margin-top: 20px; max-width: 46em; padding: 12px 14px; border-radius: 8px; font-size: 14px; color: var(--t2); background: rgb(245 192 67 / 0.08); box-shadow: inset 0 0 0 1px rgb(245 192 67 / 0.28); }
.doc__toc { position: sticky; top: 64px; align-self: start; max-height: calc(100vh - 64px); overflow: auto; padding: 36px 24px 40px var(--pad); border-inline-end: 1px solid var(--line); }
.doc__toc a { display: block; padding: 5px 0; font-size: 14px; color: var(--t3); }
.doc__toc a:hover { color: var(--t1); }
.doc__body { min-width: 0; max-width: 880px; padding: 40px var(--pad) 104px 48px; }
.doc__body h2 { margin: 48px 0 14px; font-size: 21px; font-weight: 700; letter-spacing: -0.02em; scroll-margin-top: 88px; }
.doc__body h2:first-child { margin-top: 0; }
.doc__body h3 { margin: 28px 0 8px; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; scroll-margin-top: 88px; }
.doc__body p, .doc__body li { color: var(--t2); font-size: 15px; line-height: 1.75; }
.doc__body p + p { margin-top: 6px; }
.doc__body ol, .doc__body ul { display: grid; gap: 4px; margin: 8px 0; padding-inline-start: 1.4em; }
.doc__body ol { list-style: decimal; }
.doc__body ul { list-style: disc; }
.doc__body b { color: var(--t1); font-weight: 600; }
.doc__body table { width: 100%; margin: 12px 0 10px; border-collapse: collapse; font-size: 14px; }
.doc__body th, .doc__body td { padding: 10px 12px; border: 1px solid var(--line); text-align: start; vertical-align: top; line-height: 1.6; color: var(--t2); }
.doc__body thead th { background: var(--block); color: var(--t1); font-weight: 600; }
.doc__body tbody th { color: var(--t1); font-weight: 600; min-width: 9em; }
.ph { color: var(--warning); }   /* 확정 후 채울 칸 — 공개 전에 모두 없어져야 함 */

/* ── 좁은 화면 ── */
@media (max-width: 1180px) {
  :root { --pad: 44px; }
  .nav a { padding: 8px 6px; font-size: 14px; }
  .pains li { padding: 28px 26px 32px; }
  .top__in { gap: 20px; }
  .split, .split--rev { grid-template-columns: 380px 1fr; }
  .split--rev { grid-template-columns: 1fr 380px; }
  .feat { grid-template-columns: 340px 1fr; }
  .faq { grid-template-columns: 340px 1fr; }
  .price { grid-template-columns: 1fr 360px; }
  .price__plans { grid-template-columns: 1fr; }
  .end__in { grid-template-columns: 1fr 420px; }
}
@media (max-width: 960px) {
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 16px 16px; background: var(--page); border-bottom: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 8px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .menu-btn { display: inline-flex; }
  .top__in { padding: 0 8px; }
  .cells--4 { grid-template-columns: 1fr 1fr; }
  .cells--4 .cell:nth-child(3) { border-inline-start: 0; }
  .lib { grid-template-columns: 1fr 1fr; }
  .cells--4 .cell:nth-child(n+3) { border-top: 1px solid var(--line); }
  .split, .split--rev, .feat, .faq, .price, .end__in { grid-template-columns: 1fr; }
  .split__text, .split--rev .split__text { order: 0; border: 0; border-bottom: 1px solid var(--line); }
  .feat__list { border: 0; border-bottom: 1px solid var(--line); order: 2; }
  .feat__stage { min-height: 0; aspect-ratio: 16 / 9; order: 1; border-bottom: 1px solid var(--line); }
  .shot { inset: 24px; }
  .faq__head { border: 0; padding-bottom: 8px; }
  .faq__list { padding: 24px var(--pad) 72px; }
  .price__plans { border: 0; border-bottom: 1px solid var(--line); grid-template-columns: 1fr 1fr; }
  .pains { grid-template-columns: 1fr 1fr; }
  .voices { grid-template-columns: 1fr; }
  .trust .cell:nth-child(3) { border-inline-start: 0; }
  .trust .cell:nth-child(n+3) { border-top: 1px solid var(--line); }
  .end__in { gap: 40px; }
  .foot__in { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .doc { grid-template-columns: 1fr; }
  .doc__toc { position: static; max-height: none; columns: 2; column-gap: 24px; padding: 24px var(--pad); border: 0; border-bottom: 1px solid var(--line); }
  .doc__body { padding: 32px var(--pad) 72px; }
}
@media (max-width: 640px) {
  :root { --pad: 20px; }
  .frame, .top__in, .foot__in, .foot__bottom { width: 100%; }
  .frame { border-inline: 0; }
  .hide-sm { display: none !important; }
  .show-sm { display: inline; }
  .sec__head { padding: 72px var(--pad) 36px; }
  .hero__in { padding: 64px var(--pad) 48px; }
  .tour { padding: 0 12px; }
  .win__bar { height: 30px; }
  .win__bar > i { width: 8px; height: 8px; }
  .pills { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .pills::-webkit-scrollbar { display: none; }
  .pill { flex: none; height: 36px; padding: 0 14px; }
  .tour__ctl { justify-content: space-between; }
  .round { flex: none; width: 36px; height: 36px; }
  .cells--4, .cells--3 { grid-template-columns: 1fr; }
  .lib { grid-template-columns: 1fr 1fr; }
  .lib__i { padding: 20px 16px 22px; }
  .lib__img { height: 300px; }
  .lib__img img { max-height: 270px; max-width: calc(100% - 20px); }
  .cell, .cells--4 .cell:nth-child(3) { border-inline-start: 0; border-top: 1px solid var(--line); padding: 28px var(--pad); }
  .cell:first-child { border-top: 0; }
  .split__text { padding: 36px var(--pad) 40px; }
  .split__stage { padding: 36px 16px; }
  .flow::before { left: 37px; }
  .node__if { position: absolute; right: 10px; top: -11px; }
  .acc__btn { padding: 18px var(--pad); }
  .acc__panel { padding: 0 var(--pad) 22px; }
  .feat__stage { aspect-ratio: 4 / 3; }
  .shot { inset: 16px; }
  .shot--alarm .shot__over { width: 70%; }
  .wide { padding: 36px var(--pad) 44px; }
  .pains { grid-template-columns: 1fr; }
  .pains li { padding: 26px var(--pad) 28px; }
  .voice { padding: 32px var(--pad) 36px; }
  .trust .cell { padding: 22px var(--pad); }
  .sec__lead { font-size: 16px; }
  .models b { font-size: 18px; }
  .buy { flex-direction: column; align-items: stretch; padding: 20px; }
  .band { padding: 18px var(--pad); }
  .pills__g { display: none; }
  .tile__img--poster img { max-height: 420px; }
  .org__row--l2 { margin-inline-start: 20px; }
  .org__row--l3 { margin-inline-start: 40px; }
  .org__who { min-width: 0; width: 100%; }
  .org__note { margin-inline-start: 0; }
  .price__plans { grid-template-columns: 1fr; padding: 36px var(--pad) 40px; }
  .calc { padding: 32px var(--pad) 40px; }
  .faq__head { padding: 72px var(--pad) 8px; }
  .faq__list { padding: 16px var(--pad) 56px; }
  .end__in { padding: 72px var(--pad); }
  .form { padding: 20px; }
  .form__row { grid-template-columns: 1fr; }
  .foot__in { padding: 44px var(--pad) 28px; }
  .foot__bottom { padding: 18px var(--pad) 32px; }
  .top__end { gap: 6px; }
  .top__end .lang { display: none; }
  .nav .lang--nav { display: inline-flex; align-self: flex-start; margin-top: 14px; }
  .doc__head { padding: 56px var(--pad) 28px; }
  .doc__toc { columns: auto; display: flex; flex-wrap: wrap; gap: 2px 16px; }   /* 휴대폰 — 목차를 흐르는 목록으로(세로 23줄이 화면 하나를 넘었음) */
  .doc__toc a { padding: 3px 0; font-size: 13px; }
  .doc__body table { display: block; overflow-x: auto; }
}

/* ── 블로그(업데이트 소식 · 2026-11-26 — DisplayOS 홈 블로그를 참고) — 목록 blog.html · 글 blog-post.html, 글은 빌드가 넣음(tools/blog.js) ──
   카드 = V3 블록(slate) · 표지 16 : 10 · 표지 없으면 분류 색 바탕 + 아이콘 + 버전(그림 없이). 움직이는 것은 카드 띄우기(transform)뿐 */
.loz--green { background: rgb(60 200 180 / 0.16); color: #8EE3D6; }
.bloghead { padding: 96px var(--pad) 40px; border-bottom: 1px solid var(--line); }
.bloghead__lead { margin-top: 16px; max-width: 40em; color: var(--t2); font-size: 17px; }
.bloghead .doc__draft { margin-top: 20px; }
.blog__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 20px var(--pad); border-bottom: 1px solid var(--line); }
.blog__tabs { justify-content: flex-start; }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 32px var(--pad) 104px; }
.posts:empty { display: none; }
.posts__empty { padding: 48px var(--pad) 104px; color: var(--t3); }
.post { position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: var(--block); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.post:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line-2); }
.post:has(a:focus-visible) { outline: 2px solid var(--primary); outline-offset: 2px; }
.post[hidden] { display: none; }
.post--lead { grid-column: 1 / -1; flex-direction: row; }
.post--lead .post__media { flex: 0 0 56%; }
.post--lead .post__body { padding: 32px 36px; justify-content: center; }
.post--lead .post__title { font-size: 26px; }
.post__media { aspect-ratio: 16 / 10; background: var(--block-2); overflow: hidden; }
.post__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.post__media--none { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--t3); }
.post__media--none .i { width: 40px; height: 40px; }
.post__media--none b { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; }
.post__media--none[data-cat="release"] { background: rgb(150 120 240 / 0.12); color: var(--violet-t); }
.post__media--none[data-cat="news"] { background: rgb(0 127 255 / 0.12); color: var(--blue-t); }
.post__media--none[data-cat="guide"] { background: rgb(60 200 180 / 0.1); color: #8EE3D6; }
.post__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--t3); }
.post__ver { color: var(--t2); font-weight: 600; }
.post__lang { padding: 0 6px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 12px; }
.post__title { font-size: 19px; font-weight: 700; line-height: 1.4; letter-spacing: -0.02em; text-wrap: pretty; }   /* 끝줄에 한 글자만 남지 않게(중국어 390 에서 '付' 한 글자) */
.post__title a::after { content: ""; position: absolute; inset: 0; }   /* 카드 어디를 눌러도 글로 */
.post__title a:focus-visible { outline: none; }
.post__sum { color: var(--t2); font-size: 15px; line-height: 1.6; }
.post__more { margin-top: auto; padding-top: 4px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--blue-t); }
/* 글 한 편 — 본문 폭 760 */
.art__head, .art__cover, .art__main { box-sizing: content-box; max-width: 760px; margin-inline: auto; padding-inline: var(--pad); }
.art__head { padding-top: 72px; padding-bottom: 32px; }
.crumbs { display: flex; align-items: center; gap: 6px; margin-bottom: 20px; font-size: 14px; color: var(--t3); }
.crumbs a:hover { color: var(--t1); }
.art__head .post__meta { margin-bottom: 14px; }
.art__title { font-size: clamp(28px, 1.8vw + 16px, 40px); line-height: 1.3; font-weight: 700; letter-spacing: -0.03em; text-wrap: pretty; }
.art__sum { margin-top: 14px; font-size: 18px; color: var(--t2); }
.art__note { margin-top: 16px; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--t3); }
.art__head .doc__draft { margin-top: 16px; }
.art__fig img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); box-shadow: 0 0 0 1px var(--line); }
.art__main { padding-top: 40px; padding-bottom: 96px; }
.prose { color: var(--t2); font-size: 16px; line-height: 1.8; }
.prose > * + * { margin-top: 16px; }
.prose h2 { margin-top: 40px; font-size: 22px; line-height: 1.4; font-weight: 700; letter-spacing: -0.02em; color: var(--t1); }
.prose h3 { margin-top: 28px; font-size: 18px; font-weight: 700; color: var(--t1); }
.prose ul, .prose ol { display: grid; gap: 6px; padding-inline-start: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose a { color: var(--blue-t); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--t1); font-weight: 600; }
.prose code { padding: 1px 6px; border-radius: 4px; background: var(--block-2); font-size: 0.9em; }
.prose blockquote { padding: 2px 0 2px 16px; border-inline-start: 3px solid var(--line-2); color: var(--t3); }
.prose figure img { display: block; width: 100%; height: auto; border-radius: var(--r); box-shadow: 0 0 0 1px var(--line); }
.art__tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.art__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.art__navi { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: var(--r); background: var(--block); box-shadow: inset 0 0 0 1px var(--line); }
.art__navi:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.art__navi--next { text-align: end; }
.art__navi small { font-size: 13px; color: var(--t3); }
.art__navi b { font-size: 15px; font-weight: 600; line-height: 1.45; }
.art__navi.is-empty { background: none; box-shadow: none; }
.art__end { padding: 72px var(--pad) 88px; text-align: center; }
.art__end .h2 { margin-inline: auto; text-wrap: balance; }   /* 가운데 제목 — 왼쪽으로 쏠리고 끝줄에 낱말 하나만 남았음 */
.art__end .cta { margin-top: 28px; }
.art__head + .art__main { padding-top: 8px; }   /* 표지가 없는 글 — 머리와 본문 사이가 72px 로 비었음 */
.post--lead .post__more { margin-top: 8px; }   /* 큰 카드 — '읽어 보기'가 카드 바닥으로 멀어지지 않게 */
@media (max-width: 1180px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .posts { grid-template-columns: 1fr; gap: 16px; padding: 24px var(--pad) 72px; }
  .post--lead { flex-direction: column; }
  .post--lead .post__media { flex: none; }
  .post--lead .post__body { padding: 20px 22px 22px; }
  .post--lead .post__title { font-size: 20px; }
  .bloghead { padding: 56px var(--pad) 28px; }
  .art__head { padding-top: 48px; padding-bottom: 24px; }
  .art__nav { grid-template-columns: 1fr; }
  .art__navi--next { text-align: start; }
  .art__navi.is-empty { display: none; }
  .blog__tabs { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; }   /* 분류는 넷뿐 — 홈 둘러보기처럼 옆으로 밀지 않고(끝이 흐려 잘려 보였음) 줄을 바꿈 */
}

/* ── 움직임 — 스크롤에 따라(사용자 2026-11-25 '스크롤에 따른 애니메이션으로 역동적인 사이트로') ──────────────
   세 갈래:
   ① 첫 화면 — 열릴 때 한 번(CSS). 제목 두 줄 → 부제 → 단추 → 약속 → 제품 창.
   ② 화면에 들어오면 한 번 — site.js 가 [data-in] 을 붙이고 IntersectionObserver 로 .is-in 을 켠다. 같은 순간 들어온 것끼리 0.08초씩 차례(--d).
      data-in = 그 요소가 떠오름(up · zoom) · kids = 자식들이 차례로(--k) · voc = DS Message 의 '들어오기' 다음 답 · chat = 스텔라 대화가 한 줄씩.
      숨김은 html.motion 일 때만 — 스크립트가 없거나 움직임을 끈 사람에게는 처음부터 다 보인다.
   ③ 스크롤에 붙어 움직임 — CSS scroll-driven(animation-timeline). 지원하지 않는 브라우저는 끝 모습 그대로 가만히(그래서 꺼진 모습 = 끝 모습).
      머리 아래 진행 선 · 제품 창이 누웠다 일어섬 · 첫 화면 빛이 위로 · 설치 4단계 진행 선 · 전체 기기 상태가 커지며 · 기기 화면 · 디자인물 시차.
   모두 transform · opacity 만(설치 단계 동그라미의 색만 예외 — 32px 원). 그림자 · 필터 · 크기 · 위치(top/left)는 움직이지 않는다.
   끄는 길: 동작 줄이기 · html.calm(?calm) — 아래 맨 끝. 잰 값: PLAN.md §7. */

/* ① 첫 화면 */
.hero__l { display: block; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes lift { from { transform: translateY(72px); } }   /* 제품 창 — 투명도는 건드리지 않음(가장 큰 그림이라 처음 그려지는 때를 늦추지 않게) */
@media (prefers-reduced-motion: no-preference) {
  .hero__l, .hero__sub, .hero .cta, .hero .facts { animation: rise 1s var(--ease-out) both; }
  .hero__l + .hero__l { animation-delay: .1s; }
  .hero__sub { animation-delay: .22s; }
  .hero .cta { animation-delay: .32s; }
  .hero .facts { animation-delay: .4s; }
  .tour { animation: lift 1.4s var(--ease-out) .2s both; }
}

/* ② 화면에 들어오면 한 번 */
[data-in]:not([data-in="kids"]):not([data-in="voc"]):not([data-in="chat"]),
[data-in="kids"] > :not([data-in]),
[data-in="chat"] > *,
[data-in="voc"] .pains__fix { transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--d, 0s) + var(--k, 0s)); }
[data-in="kids"] > :nth-child(2) { --k: .07s; }
[data-in="kids"] > :nth-child(3) { --k: .14s; }
[data-in="kids"] > :nth-child(4) { --k: .21s; }
[data-in="kids"] > :nth-child(5) { --k: .28s; }
[data-in="kids"] > :nth-child(n+6) { --k: .35s; }
html.motion [data-in="up"]:not(.is-in) { opacity: 0; transform: translateY(32px); }
html.motion [data-in="zoom"]:not(.is-in) { opacity: 0; transform: translateY(28px) scale(.94); }
html.motion [data-in="kids"]:not(.is-in) > :not([data-in]) { opacity: 0; transform: translateY(22px); }
html.motion .org[data-in]:not(.is-in) > * { transform: translateX(-20px); }   /* 보는 범위 — 줄이 왼쪽에서 나무처럼 */
/* 아코디언 무대 — 무대(점 바탕)는 그대로, 지금 그림만 */
.feat__stage[data-in] .shot > img:first-child { transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
html.motion .feat__stage[data-in]:not(.is-in) .shot.is-on > img:first-child { opacity: 0; transform: translateY(24px) scale(.95); }
/* 왜 ZIGU Print — 말풍선은 DS Message 의 들어오기(.is-entering: 꼬리 쪽에서 조금 작게 → 제자리)를 그대로 쓰고, 길이만 스크롤에 맞게 늘림. 답은 그 뒤에 */
html.motion [data-in="voc"]:not(.is-in) .zg-message, html.motion [data-in="voc"]:not(.is-in) .pains__fix { opacity: 0; }
html.motion [data-in="voc"]:not(.is-in) .pains__fix { transform: translateY(16px); }
.pains--voc .zg-message.is-entering { animation-duration: .5s; animation-delay: var(--d, 0s); }
[data-in="voc"] .pains__fix { --k: .3s; }
/* 스텔라 — 묻고(오른쪽) 답하고(왼쪽), 한 줄씩 */
[data-in="chat"] > :nth-child(2) { --k: .55s; }
[data-in="chat"] > :nth-child(3) { --k: 1.3s; }
[data-in="chat"] > :nth-child(4) { --k: 1.85s; }
html.motion [data-in="chat"]:not(.is-in) > * { opacity: 0; transform: translateY(14px); }
html.motion [data-in="chat"]:not(.is-in) > .msg--me { transform: translateY(14px) scale(.96); transform-origin: 100% 100%; }
/* 꼭지 위 가로선 — 들어올 때 왼쪽에서 한 번 그어지고 사라짐(level.io 의 선 격자) */
.sec { position: relative; }
.sec::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; pointer-events: none; background: linear-gradient(90deg, transparent, var(--blue-t) 35%, #A994F4 75%, transparent); transform-origin: 0 50%; transform: scaleX(0); }
.sec.is-in::before { animation: sweep 1.8s var(--ease-out) both; }
@keyframes sweep { 0% { transform: scaleX(0); opacity: 1; } 55% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
/* 작동 방식 — 노드가 차례로 뜰 때 잇는 선도 위에서 아래로 */
.flow[data-reveal].is-armed::before { transform-origin: 50% 0; transform: scaleY(0); transition: transform 1.5s var(--ease-out) .1s; }
.flow[data-reveal].is-armed.is-on::before { transform: none; }
/* 갈아타기 — UP 화살표가 한 번 솟음 */
@keyframes up { from { opacity: 0; transform: translateY(14px); } }
html.motion .gains.is-in .gain__v .i { animation: up .9s var(--ease-out) calc(var(--d, 0s) + .45s) both; }
/* 요금 계산 — 숫자가 바뀌면 톡 */
@keyframes bump { 40% { transform: scale(1.08); } }
.calc__v { transform-origin: 0 60%; }
.calc__v.is-bump, .step-in output.is-bump { animation: bump .35s var(--ease-out); }
/* FAQ — 열면 답이 살짝 내려오며 */
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: no-preference) { .faq details[open] > p { animation: drop .35s var(--ease-out); } }
/* 추천의 말 — 스크롤에 따라 낱말이 하나씩 밝아짐(site.js 가 낱말로 나눔 · 값이 바뀔 때만 class 를 씀) */
.voice blockquote p.is-split .w { color: var(--t4); transition: color .3s var(--ease); }
.voice blockquote p.is-split .w.is-lit { color: var(--t1); }
/* 머리 메뉴 — 지금 보는 꼭지 */
.nav a { position: relative; transition: color .2s var(--ease); }
.nav a::after { content: ""; position: absolute; inset-inline: 10px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--nebula); transform: scaleX(0); transition: transform .4s var(--ease-out); }
.nav a.is-here { color: var(--t1); }
.nav a.is-here::after { transform: none; }
@media (max-width: 1180px) { .nav a::after { inset-inline: 6px; } }
@media (max-width: 960px) { .nav a::after { display: none; } }

/* ③ 스크롤에 붙어 움직임 — 지원하는 브라우저만(Chrome · Edge 115+, Safari 26+). 안 되면 끝 모습 그대로 */
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes tilt { from { transform: perspective(1400px) rotateX(20deg) scale(.92); } }   /* 처음 = 더 누움(사용자 2026-11-28 — 전 12deg · 1600px · .94) */
@keyframes tilt-sm { from { transform: perspective(560px) rotateX(24deg) scale(.92); } }   /* 좁은 화면 — 창이 작아(≈340px) 같은 원근(1400px)으로는 거의 평평해 보여서 가깝게 */
@keyframes drift { to { transform: translateY(-160px); opacity: .3; } }
@keyframes widen { from { transform: scale(.88); opacity: .45; } }
@keyframes float { from { transform: translateY(36px); } to { transform: translateY(-36px); } }
@keyframes float-s { from { transform: translateY(12px); } to { transform: translateY(-12px); } }
@keyframes glow-up { from { transform: translateY(180px); opacity: 0; } }
@keyframes step-on { to { color: #fff; box-shadow: inset 0 0 0 16px var(--primary), 0 0 0 6px rgb(0 127 255 / 0.18); } }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    /* 머리 아래 — 페이지를 얼마나 읽었는지 */
    .top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--nebula); transform-origin: 0 50%; transform: scaleX(0); animation: grow linear both; animation-timeline: scroll(root); }
    /* 제품 창 — 처음엔 살짝 뒤로 누워 있다가 내리면 일어섬 · 첫 화면 빛은 천천히 위로 */
    .win { transform-origin: 50% 0; animation: tilt linear both; animation-timeline: scroll(root); animation-range: 0 70vh; }
    @media (max-width: 760px) { .win { animation-name: tilt-sm; } }
    .hero::before { animation: drift linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    /* 전체 기기 상태 — 들어오며 커짐 · 기기 화면 · 디자인물 — 시차 */
    .wide img { animation: widen linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    .device__screen, .device figcaption { animation: float linear both; animation-timeline: view(); }   /* 화면과 설명이 함께(따로 움직이면 겹침) */
    .lib__img img { animation: float-s linear both; animation-timeline: view(); }
    /* 마지막 꼭지 — 아래 빛이 올라옴 */
    .end { view-timeline: --end; }
    .end::before { animation: glow-up linear both; animation-timeline: --end; animation-range: entry 0% cover 50%; }
  }
  /* 설치 — 1 → 4 진행 선이 스크롤을 따라 차고, 닿은 단계가 켜짐(가로 4칸일 때만) */
  @media (prefers-reduced-motion: no-preference) and (min-width: 961px) {
    .steps { position: relative; view-timeline: --steps; }
    .steps::before, .steps::after { content: ""; position: absolute; top: 55px; left: 48px; width: 75%; height: 2px; pointer-events: none; }   /* 동그라미 가운데(위 여백 40 + 16 · 왼쪽 여백 32 + 16) */
    .steps::before { background: var(--line-2); }
    .steps::after { background: linear-gradient(90deg, var(--primary), #A994F4); transform-origin: 0 50%; transform: scaleX(0); animation: grow linear both; animation-timeline: --steps; animation-range: cover 24% cover 50%; }
    .steps .step { animation: step-on linear both; animation-timeline: --steps; }
    .steps .cell:nth-child(1) .step { animation-range: cover 22% cover 25%; }
    .steps .cell:nth-child(2) .step { animation-range: cover 30.7% cover 33.7%; }
    .steps .cell:nth-child(3) .step { animation-range: cover 39.3% cover 42.3%; }
    .steps .cell:nth-child(4) .step { animation-range: cover 48% cover 51%; }
  }
}

/* ── 움직임 끄기: 동작 줄이기 · 비상 스위치(html.calm) ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
html.calm *, html.calm *::before, html.calm *::after { animation: none !important; transition: none !important; }
