/* 픽셀바인 홈페이지 */
:root { /* 따뜻한 종이색 + 먹색 + 버밀리언 오렌지 */
  --bg: #edebe6; --tile: #dedbd4; --ink: #121110; --ink-2: #55514b; --line: #121110; --wire: #aba69c;
  --accent: #ff4b1f; --accent-ink: #121110; --btn: #121110; --btn-ink: #ffffff; --solid-hi: #ffffff;
}
:root {
  --sans: "Pretendard Variable", Pretendard, Inter, "Noto Sans KR", "Noto Sans CJK KR", "Malgun Gothic", sans-serif;
  --mono: "JetBrains Mono", "Nanum Gothic Coding", "D2Coding", Consolas, "DejaVu Sans Mono", monospace;
  --rail: 52px; --pad: 40px; --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 17px/1.65 var(--sans); letter-spacing: -0.01em; word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; transition: background 0.5s, color 0.5s; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.mono { font-family: var(--mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.04em; line-height: 1.5; text-transform: none; }
.right { text-align: right; }

/* 양옆 레일 */
.rail { position: fixed; top: 0; bottom: 0; width: var(--rail); z-index: 5; display: flex; flex-direction: column; gap: 18px; padding: 18px 0; align-items: center; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; color: var(--ink-2); }
.rail span { writing-mode: vertical-rl; }
.rail-l { left: 0; } .rail-r { right: 0; }
.frame { margin: 0 var(--rail); border-inline: 1px solid var(--line); min-height: 100vh; }

/* 머리글 */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 var(--pad); background: var(--bg); border-bottom: 1px solid var(--line); transition: background 0.5s; }
.word { font-family: Archivo, Inter, var(--sans); font-weight: 900; font-size: 1.5rem; letter-spacing: -0.06em; line-height: 1; }
.top nav { display: flex; align-items: center; gap: 34px; font-family: var(--mono); font-size: 0.8rem; font-weight: 700; }
.top nav a:not(.nav-cta) { position: relative; padding: 4px 0; }
.top nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.top nav a:hover::after { transform: scaleX(1); }
.nav-cta { background: var(--btn); color: var(--btn-ink); padding: 9px 16px; transition: background 0.25s, color 0.25s; }
.nav-cta:hover { background: var(--accent); color: var(--accent-ink); }

/* 단추 */
.btn { display: inline-block; position: relative; overflow: hidden; background: var(--btn); color: var(--btn-ink); font-family: var(--mono); font-weight: 700; font-size: 0.86rem; letter-spacing: 0.02em; padding: 15px 22px; isolation: isolate; transition: color 0.35s; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--accent); transform: translateY(101%); transition: transform 0.45s var(--ease); z-index: -1; }
.btn:hover { color: var(--accent-ink); } .btn:hover::before { transform: none; }
.col-accent .btn::before { background: var(--bg); }
.col-accent .btn:hover { color: var(--ink); }
.btn-big { font-size: 1.05rem; padding: 22px 34px; }

/* 첫 화면 */
.hero { position: relative; padding: 44px var(--pad) 0; min-height: min(86vh, 860px); display: flex; flex-direction: column; overflow: hidden; border-bottom: 1px solid var(--line); }
#wire { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero > :not(canvas) { position: relative; }
.hero-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.box { font-family: var(--mono); font-weight: 700; font-size: 0.86rem; letter-spacing: 0.06em; border: 1.5px solid var(--ink); padding: 6px 12px; background: var(--bg); }
.hero h1 { font-weight: 900; font-size: clamp(3.3rem, 13.2vw, 13.5rem); line-height: 1.02; letter-spacing: -0.065em; margin: auto 0; padding: 34px 0; }
.hero h1 i { font-style: normal; color: var(--accent); }
.ln { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.ln > span { display: block; transform: translateY(108%); }
.go .ln > span { animation: up 1.15s var(--ease) both; }
.go .ln:nth-child(2) > span { animation-delay: 0.12s; } .go .ln:nth-child(3) > span { animation-delay: 0.24s; }
@keyframes up { from { transform: translateY(108%); } to { transform: none; } }
.hero-foot { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0 26px; position: relative; font-size: 0.8rem; }
.hero-foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); transform: scaleX(0); transform-origin: left; }
.go .hero-foot::before { animation: lineIn 1.4s var(--ease) 0.5s both; }
@keyframes lineIn { to { transform: none; } }
.hero-meta, .hero-foot span { opacity: 0; }
.go .hero-meta { animation: fadeUp 0.9s var(--ease) 0.7s both; }
.go .hero-foot span { animation: fadeUp 0.9s var(--ease) 0.9s both; } .go .hero-foot span:nth-child(2) { animation-delay: 1s; } .go .hero-foot span:nth-child(3) { animation-delay: 1.1s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* 스크롤하면 나타나기 */
.rv { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease) var(--d, 0ms), transform 0.9s var(--ease) var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }

/* 세 가지 서비스 */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.col { display: flex; flex-direction: column; min-width: 0; }
.col + .col { border-left: 1px solid var(--line); }
.col-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.col-head b { font-size: 0.95rem; }
.fig { background: var(--tile); aspect-ratio: 3 / 2; display: grid; place-items: center; transition: background 0.5s; }
.col-accent .fig { background: var(--accent); color: var(--accent-ink); }
.fig { position: relative; overflow: hidden; }
.fig canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.col-body { padding: 30px 20px 44px; flex: 1; }
.col-body h2 { font-weight: 900; font-size: clamp(1.6rem, 2.7vw, 2.4rem); line-height: 1.16; letter-spacing: -0.05em; margin-bottom: 18px; }
.col-body p { font-size: 0.98rem; color: var(--ink-2); max-width: 24em; }
.col-foot { display: flex; justify-content: space-between; align-items: flex-end; padding: 20px; border-top: 1px solid var(--line); }

/* 첫 프로그램 */
.prod { display: grid; grid-template-columns: 1fr 1.25fr; border-bottom: 1px solid var(--line); }
.prod-text { padding: 70px var(--pad); display: flex; flex-direction: column; align-items: flex-start; }
.prod-text h2, .flow h2, .cta h2 { font-weight: 900; font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1.08; letter-spacing: -0.06em; }
.prod-text h2 { margin: 18px 0 22px; }
.prod-text > p:not(.mono) { color: var(--ink-2); max-width: 26em; }
.facts { list-style: none; display: grid; grid-template-columns: repeat(3, auto); gap: 0 28px; margin: 34px 0 38px; padding-top: 18px; border-top: 1px solid var(--line); align-self: stretch; color: var(--ink-2); }
.facts b { display: block; font-family: var(--sans); font-weight: 900; font-size: 2rem; letter-spacing: -0.05em; color: var(--ink); line-height: 1.2; }
.prod-shot { border-left: 1px solid var(--line); background: var(--tile); padding: 56px 0 56px 56px; overflow: hidden; display: flex; align-items: center; transition: background 0.5s; }
.prod-shot img { width: 135%; max-width: none; border: 1px solid var(--line); border-right: 0; box-shadow: -18px 18px 0 var(--accent); }

/* 순서 */
.flow { border-bottom: 1px solid var(--line); }
.flow-head { padding: 70px var(--pad) 50px; }
.flow-head h2 { margin-top: 16px; }
.flow ol { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.flow li { padding: 24px 20px 46px; position: relative; }
.flow li + li { border-left: 1px solid var(--line); }
.flow li::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease) calc(var(--d, 0ms) + 200ms); }
.flow li.in::after { transform: none; }
.flow li b { font-size: 0.95rem; display: block; margin-bottom: 46px; }
.flow h3 { font-weight: 900; font-size: 1.45rem; letter-spacing: -0.045em; margin-bottom: 10px; }
.flow li p { color: var(--ink-2); font-size: 0.95rem; }

/* 맺음 */
.cta { padding: 110px var(--pad); display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.foot { padding: 56px var(--pad) 40px; }
.word.big { font-size: clamp(3.4rem, 15.5vw, 16rem); letter-spacing: -0.07em; line-height: 0.86; margin-left: -0.04em; }
.foot-info { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 36px; color: var(--ink-2); }

@media (max-width: 900px) {
  :root { --rail: 0px; --pad: 22px; }
  .rail { display: none; }
  .frame { border: 0; }
  .top nav a:not(.nav-cta) { display: none; }
  .svc { grid-template-columns: 1fr; } .col + .col { border-left: 0; border-top: 1px solid var(--line); }
  .fig { aspect-ratio: 16 / 9; }
  .prod { grid-template-columns: 1fr; } .prod-text { padding: 56px var(--pad); }
  .prod-shot { border-left: 0; border-top: 1px solid var(--line); padding: 36px 0 36px 22px; }
  .flow ol { grid-template-columns: 1fr 1fr; } .flow li:nth-child(3) { border-left: 0; } .flow li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero { min-height: 78vh; padding-top: 28px; }
  .hero-foot { flex-direction: column; gap: 4px; }
  .hero-meta .right { display: none; }
  .cta { padding: 72px var(--pad); }
  .facts { gap: 0 18px; } .facts b { font-size: 1.6rem; }
}

/* 첫 화면: 로고 애니메이션만 */
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero-space { flex: 1; min-height: 46vh; }

/* ── 전체 사이트용 추가 ── */
.top nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-btn { display: none; font: 700 0.8rem/1 var(--mono); background: transparent; color: var(--ink); border: 1.5px solid var(--ink); padding: 9px 12px; cursor: pointer; }
.replay { position: absolute; right: var(--pad); bottom: 78px; font: 500 0.72rem/1 var(--mono); letter-spacing: 0.04em; background: var(--bg); color: var(--ink-2); border: 1px solid var(--ink-2); padding: 7px 10px; cursor: pointer; }
.replay:hover { color: var(--ink); border-color: var(--ink); }
.fig canvas, .ph-fig canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* 쪽 머리 */
.page-hero { display: grid; grid-template-columns: 1.5fr 1fr; border-bottom: 1px solid var(--line); }
.ph-text { padding: 64px var(--pad) 60px; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.ph-text h1 { font-weight: 900; font-size: clamp(2.5rem, 6.4vw, 6.2rem); line-height: 1.06; letter-spacing: -0.065em; margin: 20px 0 26px; }
.ph-text h1 i { font-style: normal; color: var(--accent); }
.ph-text .lead { font-size: 1.12rem; color: var(--ink-2); max-width: 30em; margin-bottom: 34px; }
.ph-fig { position: relative; border-left: 1px solid var(--line); background: var(--tile); min-height: 340px; overflow: hidden; }
.ph-fig.is-accent { background: var(--accent); }
.page-hero.solo { grid-template-columns: 1fr; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }

/* 구역 */
.sec { border-bottom: 1px solid var(--line); }
.sec-head { padding: 64px var(--pad) 44px; }
.sec-head h2, .h2 { font-weight: 900; font-size: clamp(2rem, 4.6vw, 4rem); line-height: 1.1; letter-spacing: -0.06em; margin-top: 14px; }
.sec-head p:not(.mono) { color: var(--ink-2); max-width: 34em; margin-top: 18px; }
.cells { display: grid; border-top: 1px solid var(--line); }
.c2 { grid-template-columns: repeat(2, 1fr); } .c3 { grid-template-columns: repeat(3, 1fr); } .c4 { grid-template-columns: repeat(4, 1fr); } .c5 { grid-template-columns: repeat(5, 1fr); }
.cell { padding: 26px 20px 44px; position: relative; min-width: 0; }
.cell + .cell { border-left: 1px solid var(--line); }
.cell > b.mono { display: block; font-size: 0.95rem; margin-bottom: 40px; }
.cell h3 { font-weight: 900; font-size: 1.4rem; letter-spacing: -0.045em; line-height: 1.25; margin-bottom: 10px; }
.cell p, .cell li { color: var(--ink-2); font-size: 0.96rem; }
.cell ul { list-style: none; } .cell li { padding: 7px 0 7px 18px; position: relative; border-top: 1px solid rgba(18, 17, 16, 0.14); } .cell li:first-child { border-top: 0; }
.cell li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 7px; height: 7px; background: var(--accent); }
.cell small { display: block; margin-top: 14px; font: 700 0.74rem/1.4 var(--mono); color: var(--accent); filter: brightness(0.82); }
.cell.bar::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease) calc(var(--d, 0ms) + 200ms); }
.cell.bar.in::after { transform: none; }
.tag { display: inline-block; font: 700 0.74rem/1 var(--mono); padding: 6px 10px; margin-bottom: 18px; border: 1.5px solid var(--ink); }
.tag.t-need { background: var(--ink); color: var(--bg); } .tag.t-no { background: var(--accent); color: var(--accent-ink); }

/* 줄 목록 (왼쪽 제목 / 오른쪽 내용) */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(180px, 0.42fr) 1fr; gap: 20px; padding: 22px var(--pad); border-top: 1px solid var(--line); align-items: baseline; }
.row:first-child { border-top: 0; }
.row h3 { font-weight: 900; font-size: 1.2rem; letter-spacing: -0.04em; }
.row p { color: var(--ink-2); max-width: 40em; }
.row .num { font: 900 clamp(1.3rem, 2.4vw, 1.9rem)/1.2 var(--sans); letter-spacing: -0.04em; color: var(--ink); white-space: nowrap; }
.row.three { grid-template-columns: minmax(180px, 0.42fr) 1fr auto; }

/* 줄 그은 단어들 */
.chores { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0 var(--pad) 26px; }
.chores li { font-weight: 800; letter-spacing: -0.03em; padding: 8px 14px; border: 1.5px solid var(--ink); text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: var(--accent); }
.chores-end { padding: 0 var(--pad) 64px; font-weight: 900; font-size: clamp(1.5rem, 3vw, 2.4rem); letter-spacing: -0.05em; }

/* 글 + 화면 */
.duo { display: grid; grid-template-columns: 1fr 1.25fr; border-top: 1px solid var(--line); }
.duo.flip .duo-text { order: 2; border-left: 1px solid var(--line); } .duo.flip .duo-shot { border-left: 0; padding: 56px 56px 56px 0; justify-content: flex-end; }
.duo.flip .duo-shot img { border-right: 1px solid var(--line); border-left: 0; box-shadow: 18px 18px 0 var(--accent); }
.duo-text { padding: 60px var(--pad); min-width: 0; }
.duo-text h3 { font-weight: 900; font-size: clamp(1.7rem, 3.2vw, 2.7rem); line-height: 1.14; letter-spacing: -0.055em; margin: 14px 0 18px; }
.duo-text > p:not(.mono) { color: var(--ink-2); max-width: 28em; }
.ticks { list-style: none; margin-top: 24px; border-top: 1px solid var(--line); }
.ticks li { padding: 11px 0 11px 22px; border-bottom: 1px solid rgba(18, 17, 16, 0.16); position: relative; font-size: 0.96rem; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 9px; height: 9px; background: var(--accent); }
.duo-shot { border-left: 1px solid var(--line); background: var(--tile); padding: 56px 0 56px 56px; overflow: hidden; display: flex; align-items: center; }
.duo-shot img { width: 135%; max-width: none; border: 1px solid var(--line); border-right: 0; box-shadow: -18px 18px 0 var(--accent); }
.chat { align-self: center; width: min(420px, 100%); margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.duo-shot.talk { padding: 56px var(--pad); }
.say { font-weight: 800; letter-spacing: -0.03em; padding: 12px 16px; border: 1.5px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); max-width: 88%; background: var(--bg); }
.say.me { align-self: flex-end; background: var(--accent); } .say.app { align-self: flex-start; }

/* 표 */
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 18px var(--pad); border-top: 1px solid var(--line); }
.spec th { width: 15em; font-weight: 900; letter-spacing: -0.03em; }
.spec td { color: var(--ink-2); border-left: 1px solid var(--line); }

/* 묻고 답하기 */
.faq details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 70px 22px var(--pad); font-weight: 900; font-size: 1.15rem; letter-spacing: -0.04em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: var(--pad); top: 14px; font: 400 1.7rem/1.2 var(--mono); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq details p { padding: 0 var(--pad) 26px; color: var(--ink-2); max-width: 46em; }

/* 가격 */
.price-box { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.price-l { padding: 60px var(--pad); background: var(--accent); color: var(--accent-ink); }
.price-l .price { font-weight: 900; font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -0.06em; line-height: 1.1; margin: 12px 0 8px; }
.price-r { padding: 60px var(--pad); border-left: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.price-r ul { list-style: none; align-self: stretch; } .price-r li { padding: 10px 0; border-bottom: 1px solid rgba(18, 17, 16, 0.16); color: var(--ink-2); font-size: 0.96rem; }
.note { margin: 0 var(--pad) 56px; border: 1.5px solid var(--ink); border-left: 10px solid var(--accent); padding: 18px 20px; color: var(--ink-2); max-width: 52em; }
.note strong { color: var(--ink); }
.empty { margin: 0 var(--pad) 64px; border: 1.5px dashed var(--ink-2); padding: 48px 20px; text-align: center; color: var(--ink-2); font-family: var(--mono); font-size: 0.82rem; }
.steps-list { list-style: none; counter-reset: st; }
.steps-list li { counter-increment: st; padding: 14px 0 14px 46px; position: relative; border-bottom: 1px solid rgba(18, 17, 16, 0.16); color: var(--ink-2); }
.steps-list li::before { content: "0" counter(st); position: absolute; left: 0; top: 15px; font: 700 0.9rem/1.5 var(--mono); color: var(--ink); }
.steps-list strong { color: var(--ink); }

/* 글 쪽 (약관·방침·안내) */
.doc { padding: 0 var(--pad) 90px; }
.doc-in { max-width: 46em; }
.doc h1 { display: none; }
.doc-meta { color: var(--ink-2); margin: 40px 0 34px; font-family: var(--mono); font-size: 0.82rem; }
.doc h2 { font-weight: 900; font-size: 1.3rem; letter-spacing: -0.04em; margin: 44px 0 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.doc p, .doc li { color: var(--ink-2); } .doc p { margin-bottom: 1em; }
.doc strong { color: var(--ink); } .doc a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.doc ul, .doc ol { padding-left: 1.2em; margin-bottom: 1em; } .doc li { margin-bottom: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin-bottom: 1.2em; font-size: 0.94rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 11px 13px; border: 1px solid var(--line); color: var(--ink-2); }
.doc th { background: var(--ink); color: var(--bg); font-weight: 700; }
.doc code { font-family: var(--mono); font-size: 0.86em; background: var(--tile); padding: 2px 5px; }
.callout { border: 1.5px solid var(--ink); border-left: 10px solid var(--accent); padding: 18px 20px; margin-bottom: 1.4em; }
.callout p { color: var(--ink); } .callout p:last-child { margin: 0; }

/* 신청서 */
.form { border: 1.5px solid var(--ink); padding: 26px; margin: 20px 0; box-shadow: 8px 8px 0 var(--ink); background: var(--bg); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 6px; color: var(--ink); }
.field small { color: var(--ink-2); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--ink); border-radius: 0; }
.field textarea { min-height: 150px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin-top: 4px; flex: none; accent-color: var(--accent); }
.form button.btn { border: 0; cursor: pointer; margin-top: 8px; }
.form-note { margin-top: 14px; font-weight: 700; min-height: 1.5em; }
.form-note.is-ok { color: #1c7a4a; } .form-note.is-warn { color: #b3390f; }
.todo { background: var(--accent); color: var(--accent-ink); padding: 1px 7px; font: 700 0.78em/1.5 var(--mono); letter-spacing: 0; white-space: nowrap; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-links a:hover { text-decoration: underline; }
.foot-info p { max-width: 62em; }

@media (max-width: 900px) {
  .menu-btn { display: block; }
  .top nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); }
  .top nav.open { display: flex; }
  .top nav a, .top nav a:not(.nav-cta) { display: block; padding: 16px var(--pad); border-top: 1px solid var(--line); font-size: 0.95rem; }
  .top nav a::after { display: none; }
  .page-hero { grid-template-columns: 1fr; } .ph-text { padding: 44px var(--pad); } .ph-fig { border-left: 0; border-top: 1px solid var(--line); min-height: 0; aspect-ratio: 16 / 9; }
  .sec-head { padding: 48px var(--pad) 32px; }
  .c2, .c3, .c4, .c5 { grid-template-columns: 1fr; } .cell + .cell { border-left: 0; border-top: 1px solid var(--line); } .cell { padding: 22px var(--pad) 30px; } .cell > b.mono { margin-bottom: 16px; }
  .row, .row.three { grid-template-columns: 1fr; gap: 6px; }
  .duo, .price-box { grid-template-columns: 1fr; }
  .duo.flip .duo-text { order: 0; border-left: 0; } .duo-text { padding: 44px var(--pad); }
  .duo-shot, .duo.flip .duo-shot { border-left: 0; border-top: 1px solid var(--line); padding: 34px 0 34px 22px; } .duo.flip .duo-shot { padding: 34px 22px 34px 0; } .duo-shot.talk { padding: 34px 22px; }
  .price-l, .price-r { padding: 44px var(--pad); } .price-r { border-left: 0; border-top: 1px solid var(--line); }
  .spec th { width: 7.5em; } .spec th, .spec td { padding: 14px 16px; }
  .replay { display: none; }
}
.price .todo, .num .todo, .facts b .todo { font-size: 0.9rem; vertical-align: middle; }
.price-l .todo { background: var(--ink); color: var(--bg); }

/* ── 간격 정리: 칸 안쪽 여백을 맞추고, 첫 칸은 제목 줄과 왼쪽 선을 맞춥니다 ── */
:root { --cell: 28px; }
.col-head, .col-foot { padding: 18px var(--cell); }
.col-body { padding: 32px var(--cell) 48px; }
.cell { padding: 28px var(--cell) 44px; }
.flow li { padding: 26px var(--cell) 48px; }
.col:first-child > .col-head, .col:first-child > .col-body, .col:first-child > .col-foot, .cell:first-child, .flow li:first-child { padding-left: var(--pad); }
.col:last-child > .col-head, .col:last-child > .col-body, .col:last-child > .col-foot, .cell:last-child, .flow li:last-child { padding-right: var(--pad); }
.cells + .cells { border-top: 1px solid var(--line); }
.doc { padding-top: 52px; }
.doc-meta { margin-top: 0; }
.doc-in > :first-child { margin-top: 0; }
.sec-head + .faq, .sec-head + .rows, .sec-head + .cells, .sec-head + .price-box { margin-top: 0; }
.ph-text .lead:last-child { margin-bottom: 0; }
.prod-text { padding: 72px var(--pad); }
.facts { margin: 30px 0 36px; }
.cta { align-items: center; }
.cta h2 { font-weight: 900; font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1.08; letter-spacing: -0.06em; }
.note { margin-top: 40px; }
.chores { padding-bottom: 30px; }
@media (max-width: 900px) {
  .col-head, .col-foot, .col-body, .cell, .flow li, .cell:first-child, .cell:last-child, .flow li:first-child, .flow li:last-child { padding-left: var(--pad); padding-right: var(--pad); }
  .cells + .cells { border-top: 0; }
  .doc { padding-top: 36px; }
}
.mt { margin-top: 16px; }
.facts { align-items: end; }
.doc { border-bottom: 1px solid var(--line); }
.form-note:empty { min-height: 0; margin: 0; }

/* 첫 화면 로봇 장면: 누르면 픽셀이 떨어지므로 십자 커서, '다시 보기'는 로봇을 가리지 않게 위로 */
.hero { cursor: crosshair; }
.hero > .replay { position: absolute; bottom: auto; top: 112px; right: var(--pad); }

/* ── 프로그램 목록(상품 카드) ── */
.shop { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.item { display: flex; flex-direction: column; min-width: 0; }
.item + .item { border-left: 1px solid var(--line); }
.item-thumb { display: block; position: relative; aspect-ratio: 16 / 10; background: var(--tile); overflow: hidden; border-bottom: 1px solid var(--line); }
.item-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform 0.6s var(--ease); }
.item:hover .item-thumb img { transform: scale(1.04); }
.item-thumb canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.item-body { padding: 26px var(--cell) 22px; flex: 1; }
.item-body .tag { margin-bottom: 14px; }
.item h3 { font-weight: 900; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.05em; line-height: 1.2; margin-bottom: 12px; }
.item h3 a:hover { color: var(--accent); }
.item-body > p { color: var(--ink-2); font-size: 0.96rem; }
.item-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 18px; font-size: 0.74rem; color: var(--ink-2); }
.item-foot { padding: 20px var(--cell) 30px; border-top: 1px solid var(--line); }
.item-price { font-weight: 900; font-size: 2rem; letter-spacing: -0.05em; line-height: 1.2; margin-bottom: 16px; }
.item-price.muted { font-size: 1.2rem; color: var(--ink-2); }
.item-price .todo { font-size: 0.9rem; vertical-align: middle; }
.item-foot .item-price:last-child { margin-bottom: 0; }
/* ── 상세 쪽 위쪽 가격 띠 ── */
.buybar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 36px; padding: 22px var(--pad); border-bottom: 1px solid var(--line); background: var(--tile); }
.buybar-price { font-weight: 900; font-size: 1.9rem; letter-spacing: -0.05em; line-height: 1.2; }
.buybar-price small { font: 500 0.74rem/1 var(--mono); letter-spacing: 0; color: var(--ink-2); margin-left: 12px; }
.buybar-price .todo { font-size: 0.9rem; vertical-align: middle; }
.buybar ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 0.76rem; color: var(--ink-2); flex: 1; min-width: 240px; }
.buybar ul li::before { content: "■ "; color: var(--accent); }
@media (max-width: 900px) {
  .shop { grid-template-columns: 1fr; }
  .item + .item { border-left: 0; border-top: 1px solid var(--line); }
  .buybar-price small { display: block; margin: 8px 0 0; }
}

/* ── 만든 영상 장면 모음 ── */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.gallery figure { margin: 0; min-width: 0; border-bottom: 1px solid var(--line); }
.gallery figure:not(:nth-child(3n + 1)) { border-left: 1px solid var(--line); }
.gallery img { display: block; width: 100%; height: auto; }
.gallery figcaption { padding: 12px var(--cell) 14px; font-size: 0.74rem; color: var(--ink-2); border-top: 1px solid var(--line); }
@media (max-width: 900px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery figure:not(:nth-child(3n + 1)) { border-left: 0; }
}

/* 미리보기: 아직 정해지지 않은 값 */
.soon { color: var(--muted, #6b6862); font: 500 0.82em/1.5 var(--mono); letter-spacing: 0; white-space: nowrap; }
.btn[disabled] { opacity: .45; cursor: default; }
