/* Hallmark · shape: Workbench · genre: modern-minimal · theme: Rim (deal 2/3, seed ffc20e-2b2b2b-c9f2·fee31827·2026-11-17·r0; palette and face by request: white, #2B2B2B, #FFC20E, Pretendard) · job: try · draw: manual
 * hero: Stage · nav: edge-aligned, wordmark and one action · footer: mast · imagery: the product, built with made-up data · signature: four order channels filling one order sheet, one cell marked 확인필요
 * axes: light/grotesk-sans/warm · posture: committed · contrast: pass · fold: pass · copy: verbatim · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V3 · weakest: V, ten required sections follow a familiar landing order; moved the demo up beside the steps and kept every surface square and flat */
/* Hallmark · dismissed 42 · the nav holds four section links and the one trial action, its yellow block is the shape */
/* Hallmark · dismissed 58 · the section list and its facts are the owner's brief, kept short sentence by sentence */

:root {
  --color-white: #FFFFFF;
  --color-charcoal: #2B2B2B;
  --color-charcoal-2: #3A3A38;
  --color-charcoal-deep: #1F1F1F;
  --color-wire: #8A8A8A;
  --color-yellow: #FFC20E;
  --color-yellow-deep: #E6AC00;
  --color-grey-1: #F5F4F0;
  --color-grey-1b: #E9E7E1;
  --color-grey-2: #D9D7D0;
  --color-grey-3: #5F5E5A;
  --color-grey-on-dark: #C9C7C0;
  --color-sheen: rgb(255 255 255 / 0.6);
  --color-light: rgb(255 246 208 / 0.9);

  --color-paper: var(--color-white);
  --color-paper-2: var(--color-grey-1);
  --color-ink: var(--color-charcoal);
  --color-muted: var(--color-grey-3);
  --color-line: var(--color-grey-2);
  --color-placeholder: var(--color-grey-1b);
  --color-accent: var(--color-yellow);
  --color-accent-deep: var(--color-yellow-deep);
  --color-on-accent: var(--color-charcoal);
  --color-accent-ink: var(--color-charcoal);
  --color-focus: var(--color-charcoal);

  --font-body: "SUIT Variable", SUIT, "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-md: 1.0625rem;
  --text-lead: clamp(1.125rem, 1.5vw, 1.3125rem);
  --text-title: 1.25rem;
  --text-section: clamp(1.75rem, 3.4vw, 2.75rem);
  --text-display: clamp(2.25rem, 4.6vw, 3.75rem);
  --text-figure: clamp(3rem, 7vw, 5.5rem);

  --container: 75rem;
  --gutter: 32px;
  --gap: 32px;
  --section-gap: 88px;
  --radius: 2px;
  --nav-h: 64px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
/* theme block: charcoal bands */
.dark {
  --color-paper: var(--color-charcoal);
  --color-paper-2: var(--color-charcoal-2);
  --color-ink: var(--color-white);
  --color-muted: var(--color-grey-on-dark);
  --color-line: var(--color-grey-3);
  --color-focus: var(--color-yellow);
  background: var(--color-paper);
  color: var(--color-ink);
}

/* 검정 구간 안의 흰 제품 화면(채널 칸, 주문표)은 밝은 토큰 그대로: 검정 위에 조명 받은 흰 화면 */
.dark .flow-src, .dark .sheet {
  --color-paper: var(--color-white);
  --color-paper-2: var(--color-grey-1);
  --color-ink: var(--color-charcoal);
  --color-muted: var(--color-grey-3);
  --color-line: var(--color-grey-2);
  --color-focus: var(--color-charcoal);
  color: var(--color-ink);
}
/* 검정 구간에서는 노랑을 크게: 형광펜 대신 글자색, 실측 숫자 노랑 */
.dark .pen { background: none; color: var(--color-accent); }
/* 검정 바탕과 표 제목 띠가 붙어 보이지 않게 한 단계 밝은 차콜 */
.dark .sheet { border-color: var(--color-charcoal-2); }
.dark .sheet caption { background: var(--color-charcoal-2); }
.dark .lead { color: var(--color-muted); }
.hero.dark .lead { color: var(--color-white); font-size: clamp(1.125rem, 1.4vw, 1.3125rem); line-height: 1.55; max-width: none; }
.nav .brand { --logo-h: 29px; }

/* base */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-padding-top: calc(var(--nav-h) + 1px); scroll-behavior: smooth; }
/* 2000px 넘는 화면(또는 축소 보기)에서만 글자와 rem 단위 폭을 최대 20px 기준까지 키웁니다 */
html { font-size: clamp(16px, 0.8vw, 20px); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.6; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
::selection { background: var(--color-accent); color: var(--color-on-accent); }
html { scrollbar-color: var(--color-muted) var(--color-paper-2); caret-color: var(--color-ink); }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { font-size: var(--text-display); line-height: 1.15; }
h2 { font-size: var(--text-section); max-width: 22em; }
h3 { font-size: var(--text-title); font-weight: 700; }
p { text-wrap: pretty; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
mark { background: var(--color-accent); color: var(--color-on-accent); font-weight: 700; font-size: 0.85em; padding: 0 8px; border-radius: var(--radius); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.lead { font-size: var(--text-lead); line-height: 1.5; max-width: 30em; }
.small { font-size: var(--text-sm); color: var(--color-muted); }
.todo { font-size: var(--text-sm); font-weight: 600; padding: 0 8px; border: 1px dashed currentColor; border-radius: var(--radius); }
.skip { position: absolute; left: 8px; top: -80px; z-index: 20; padding: 8px 12px; background: var(--color-ink); color: var(--color-paper); }
.skip:focus { top: 8px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 2px solid var(--color-ink); border-radius: var(--radius); background: transparent; color: var(--color-ink); font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color 0.15s var(--ease), color 0.15s var(--ease), transform 0.1s var(--ease); }
.btn:hover { background: var(--color-ink); color: var(--color-paper); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-on-accent); }
.btn-primary:hover { background: var(--color-accent-deep); border-color: var(--color-accent-deep); color: var(--color-on-accent); }
.btn-s { min-height: 44px; padding: 0 16px; font-size: var(--text-sm); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: var(--color-paper); border-bottom: 1px solid var(--color-line); }
.nav-in { display: flex; align-items: center; gap: var(--gap); height: var(--nav-h); }
.logo { display: block; margin-right: auto; }
/* 머리글 차콜 로고 판: 파일의 그림 영역(x 51~394, y 48~161)에 사방 26씩 같은 여백만 남기고 화면에서 자릅니다. 보이는 판 395 x 165 */
.logo-plate { --plate-h: 42px; overflow: hidden; height: var(--plate-h); width: calc(var(--plate-h) * 2.394); }
.logo-plate img { height: calc(var(--plate-h) * 1.297); width: auto; max-width: none; margin: calc(var(--plate-h) * -0.1333) 0 0 calc(var(--plate-h) * -0.1515); }
/* 로고 파일 안의 여백(위 48, 아래 53, 좌 46.5, 우 50 / 그림 높이 113)을 잘라 --logo-h가 보이는 로고 높이가 되게 합니다. 파일 자체는 그대로. */
.brand { --logo-h: 34px; width: auto; height: calc(var(--logo-h) * 1.894); max-width: none; margin: calc(var(--logo-h) * -0.425) calc(var(--logo-h) * -0.442) calc(var(--logo-h) * -0.469) calc(var(--logo-h) * -0.411); }
.brand-apply { --logo-h: 40px; margin-bottom: calc(40px * -0.469 + 24px); }
.nav-links { display: flex; gap: 28px; font-size: var(--text-sm); font-weight: 600; }
.nav-links a { text-decoration: none; padding: 12px 0; }
.nav-links a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--color-accent); }

/* hero */
.hero { padding-block: 64px 88px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: 48px; align-items: start; }
.hero-text { display: grid; gap: 24px; }
.hero h1 { max-width: 9em; }
.hero .lead { color: var(--color-ink); }
@media (min-width: 64rem) { .hero .lead { max-width: none; font-size: 1.1875rem; } }
.tick { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--color-accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* flow figure */
/* --jh 연결선 높이, --by 가로선 위치, --rp 표 줄 위아래 여백. 고정 묶음에서는 창 높이에 맞춰 바뀝니다 */
.flow { --jh: 44px; --by: calc(var(--jh) * 0.45); --rp: 8px; display: grid; justify-items: stretch; }
.flow figcaption, .panel figcaption { font-size: var(--text-xs); color: var(--color-muted); margin-top: 12px; }
.flow-src { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.flow-src li { position: relative; display: grid; gap: 4px; align-content: start; padding: 12px; border: 1px solid var(--color-line); border-radius: var(--radius); background: var(--color-paper); font-size: var(--text-xs); line-height: 1.4; color: var(--color-muted); }
.flow-src b { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: var(--text-sm); color: var(--color-ink); }
/* 지금 차례인 채널 칸과 표 줄(.cur)은 전체 노랑 + 차콜 글자(흰 글자는 노랑 위 대비 부족이라 쓰지 않음). 바탕색만 바뀌어 크기 변화 없음 */
.flow-src li { transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease); }
.flow-src li.cur { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-on-accent); }
.sheet tbody td { transition: background-color 0.15s var(--ease); }
.sheet tbody tr.cur td { background: var(--color-accent); color: var(--color-on-accent); }
.sheet tbody tr.cur mark { background: var(--color-charcoal); color: var(--color-accent); }
.sheet-out { transition: background-color 0.15s var(--ease), color 0.15s var(--ease); }
.sheet-out.cur { background: var(--color-accent); color: var(--color-on-accent); }
/* 채널 4칸에서 내려온 선이 가로선 하나로 모여 띠로 들어갑니다 */
.flow-join { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; height: var(--jh); background: linear-gradient(var(--color-accent), var(--color-accent)) center var(--by) / 3px calc(var(--jh) - var(--by)) no-repeat; }
.flow-join i { position: relative; }
.flow-join i::before { content: ""; position: absolute; left: calc(50% - 1.5px); top: 0; width: 3px; height: calc(var(--by) + 3px); background: var(--color-accent); transition: background-color 0.2s var(--ease); }
/* 가로 구간: 칸마다 자기 가지에서 가운데 모임 점까지. 켜진(.on) 구간을 위에 그려 겹친 부분을 덮습니다. 4열 간격 8px 기준 */
.flow-join i::after { content: ""; position: absolute; top: var(--by); height: 3px; background: var(--color-accent); transition: background-color 0.2s var(--ease); }
.flow-join i:nth-child(1)::after { left: 50%; width: calc(150% + 12px); }
.flow-join i:nth-child(2)::after { left: 50%; width: calc(50% + 4px); }
.flow-join i:nth-child(3)::after { right: 50%; width: calc(50% + 4px); }
.flow-join i:nth-child(4)::after { right: 50%; width: calc(150% + 12px); }
.flow-join i.on::after { z-index: 1; }
.is-staged .flow-join i:not(.on)::before, .is-staged .flow-join i:not(.on)::after { background: var(--color-wire); }
.flow-pipe { position: relative; z-index: 2; width: 3px; height: var(--jh); margin-inline: auto; background: var(--color-accent); }
.flow-join::after, .flow-pipe::after { content: ""; position: absolute; z-index: 2; top: calc(var(--by) - 5px); left: calc(50% - 7px); width: 14px; height: 14px; background: var(--color-accent); border: 2px solid var(--color-charcoal); }
.flow-pipe::after { top: calc(50% - 7px); }
.flow-hub { position: relative; z-index: 1; display: grid; place-items: center; overflow: hidden; padding: 10px 16px; background: var(--color-accent); border-radius: var(--radius); }
/* 띠가 작동할 때: 로고는 그대로 두고, ㅎ 한 붓 선 위를 빛 선(.mark-light)이 한 번 따라 지나가고 띠에도 빛(.sheen)이 지나갑니다. 재생은 script.js */
.mark-light { fill: none; stroke: var(--color-light); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 0.3 1.3; opacity: 0; }
.sheen { position: absolute; inset: 0 auto 0 0; width: 22%; background: linear-gradient(100deg, transparent, var(--color-sheen), transparent); opacity: 0; pointer-events: none; }
/* 연결선을 따라 움직이는 빛 */
.spark { position: absolute; z-index: 3; left: -5px; top: -5px; width: 10px; height: 10px; background: var(--color-white); border: 2px solid var(--color-accent-deep); opacity: 0; pointer-events: none; }
.flow-pipe .spark { left: -3px; }
.sheet { border: 2px solid var(--color-ink); border-radius: var(--radius); background: var(--color-paper); }
.sheet table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); line-height: 1.4; }
.sheet caption small { margin-left: 8px; font-size: var(--text-xs); font-weight: 400; color: var(--color-grey-on-dark); }
.sheet caption { text-align: left; padding: calc(var(--rp) + 4px) 16px; background: var(--color-ink); color: var(--color-paper); font-weight: 700; }
.sheet th, .sheet td { text-align: left; vertical-align: top; padding: var(--rp) 16px; border-bottom: 1px solid var(--color-line); }
.sheet th { font-size: var(--text-xs); font-weight: 600; color: var(--color-muted); }
.sheet td:first-child { font-weight: 700; white-space: nowrap; }
/* script.js가 .is-staged를 붙이면 줄 자리만 회색으로 보이다가 .on이 된 줄부터 채워집니다. 스크립트가 꺼져 있으면 처음부터 다 보입니다. */
.sheet td > span, .sheet-out > *, .sheet mark { border-radius: var(--radius); -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: color 0.15s var(--ease), background-color 0.15s var(--ease); }
.is-staged .sheet tbody tr:not(.on) td > span, .is-staged .sheet-out:not(.on) > * { color: transparent; background: var(--color-placeholder); }
.is-staged .sheet tbody tr:not(.on) mark { color: transparent; background: transparent; }
.sheet-out { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: calc(var(--rp) + 4px) 16px; background: var(--color-paper-2); font-size: var(--text-sm); }
/* PC: 첫 화면을 고정한 채 스크롤 진행도로 줄을 채웁니다(script.js가 .scrolly를 붙임) */
/* 폭 1024px 이상이면 창 높이와 관계없이 항상 고정합니다. 창 높이 680px 이상이면 실측(#results)도 .pin 안으로 옮겨 한 묶음이 됩니다. */
@media (min-width: 64rem) {
  .hero.scrolly { padding-block: 0; }
  /* 고정 구간 길이: 창 높이의 0.92배, 최대 840px(단계당 거리는 이전과 같고, 시작 전 빈 구간만 뺐습니다) */
  .hero.scrolly::after { content: ""; display: block; height: min(92svh, 840px); }
  .hero.scrolly .pin { position: sticky; top: calc(var(--nav-h) + 1px); display: flex; flex-direction: column; min-height: calc(100svh - var(--nav-h) - 1px); padding-top: clamp(12px, 3vh, 56px); }
  .hero.scrolly .hero-in { align-items: center; }
  /* 실측이 묶음에 없을 때(창 높이 680px 미만)는 첫 화면을 가운데에 */
  .hero.scrolly .hero-in:last-child { margin-block: auto; }
  .hero.scrolly .flow { --jh: clamp(24px, calc(8vh - 32px), 52px); --rp: clamp(5px, calc(1.6vh - 6px), 11px); }
  .hero.scrolly .flow figcaption { margin-top: 8px; }
  @media (max-height: 799px) { .hero.scrolly .pin { padding-top: 12px; } }
  /* 묶음일 때는 실측의 회색 바탕이 없으므로 다음 섹션과 선으로 나눕니다 */
  .hero.scrolly + #pain { border-top: 1px solid var(--color-line); }
}

/* sections */
.sec { padding-block: var(--section-gap); }
.sec-tint { background: var(--color-paper-2); }
.sec h2 { margin-bottom: 48px; }
.sec h3 + p, .road h3 + p { margin-top: 8px; }


/* steps */
.step-n { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 8px; background: var(--color-accent); color: var(--color-on-accent); font-weight: 800; font-size: var(--text-title); border-radius: var(--radius); }
.panel { margin-top: 16px; padding: 16px; background: var(--color-paper); border: 2px solid var(--color-ink); border-radius: var(--radius); font-size: var(--text-sm); display: grid; gap: 8px; align-content: start; }
.panel-h { font-weight: 700; padding-bottom: 8px; border-bottom: 1px solid var(--color-line); }
.say { display: grid; grid-template-columns: 3em minmax(0, 1fr); gap: 8px; }
.note { color: var(--color-muted); font-size: var(--text-xs); padding-top: 8px; border-top: 1px dashed var(--color-line); }
.kv { display: grid; gap: 8px; }
.kv div { display: grid; grid-template-columns: 4em minmax(0, 1fr); gap: 8px; }
.kv dt { color: var(--color-muted); }
.kv dd { font-weight: 600; }

/* demo */
.player { position: relative; aspect-ratio: 16 / 9; background: var(--color-paper-2); border-radius: var(--radius); overflow: hidden; }
.player img, .player video { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--color-accent); color: var(--color-on-accent); cursor: pointer; transition: background-color 0.15s var(--ease), transform 0.15s var(--ease); }
.play:hover { background: var(--color-accent-deep); transform: scale(1.06); }
.play:active { transform: scale(0.98); }
.play svg { margin-left: 4px; }

/* who */

/* 선 아이콘: 굵기 2, 끝과 모서리 둥글게, 22px. 색은 글자색을 따릅니다 */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-box { display: grid; place-items: center; width: 28px; height: 28px; margin-block: -4px; border-radius: var(--radius); transition: background-color 0.2s var(--ease); }
.flow-src li.cur .ic-box { background: var(--color-charcoal); color: var(--color-accent); }
/* 채널 꼬리표: 전화 "자동"(노랑), 나머지 "붙여 넣기"(회색 선). 줄 높이 안에 들어가 카드 높이는 그대로 */
.flow-src .ch { display: inline-flex; align-items: center; gap: 6px; }
.via-tag { padding: 0 4px; border: 1px solid var(--color-grey-2); border-radius: var(--radius); font-size: 0.6875rem; font-style: normal; font-weight: 700; line-height: 1.4; color: var(--color-grey-3); white-space: nowrap; }
.via-tag.auto { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-on-accent); }
.flow-src li.cur .via-tag { border-color: var(--color-charcoal); color: var(--color-charcoal); }
.flow-src li.cur .via-tag.auto { background: var(--color-charcoal); color: var(--color-accent); }
/* 폰·태블릿: 주문 그림만 고정하고 아래 빈 구간(.m-track)을 지나는 동안 스크롤로 채널이 넘어갑니다(script.js가 .scrolly-m을 붙임) */
.m-track { display: none; }
.hero.scrolly-m .flow { position: sticky; top: calc(var(--nav-h) + 13px); z-index: 1; }
.hero.scrolly-m .m-track { display: block; height: min(72svh, 560px); }
.tile { display: grid; place-items: center; width: 44px; height: 44px; background: var(--color-yellow); color: var(--color-charcoal); border-radius: var(--radius); }

/* 예시 화면 부품: 주문 한 줄, 말 한 줄, 눌리지 않는 버튼 모양 */
.line-card, .say-card { padding: 8px 12px; background: var(--color-white); color: var(--color-charcoal); border: 2px solid var(--color-charcoal); border-radius: var(--radius); font-size: var(--text-sm); line-height: 1.4; }
.line-card b { display: block; }
.say-card { display: flex; gap: 8px; border: 1px solid var(--color-grey-2); color: var(--color-grey-3); }
.fbtn { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border: 1px solid var(--color-ink); border-radius: var(--radius); font-weight: 600; white-space: nowrap; cursor: default; }
.fbtn.on { background: var(--color-ink); color: var(--color-paper); }
.fbtn.sel { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-on-accent); }


/* 전과 후 */
.ba-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; margin-bottom: 48px; }
.sec .ba-head h2 { margin-bottom: 0; }
.ba-count { font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
.y { color: var(--color-accent); }
.ba-row h3 small { display: block; font-size: 0.8em; font-weight: 600; }
.ba { display: grid; gap: 16px; }
.ba-row { display: grid; grid-template-columns: 7em minmax(0, 1fr) minmax(0, 17em); gap: 24px; align-items: center; padding: 24px; background: var(--color-paper); border: 1px solid var(--color-line); border-radius: var(--radius); }
.ba-new { border: 2px solid var(--color-accent); }
.ba-new .chain li:not(.key, .opt) { border-color: var(--color-ink); }
.ba-new .chain li.erp { border-color: var(--color-accent); }
.chain { --link: 28px; display: flex; align-items: stretch; }
.chain-col { font-size: var(--text-xs); }
.chain-note { margin-top: 8px; color: var(--color-muted); }
.chain .opt { border-style: dashed; border-color: var(--color-muted); color: var(--color-muted); }
.ba-new .chain .opt { border: 2px dashed var(--color-accent); color: var(--color-ink); }
.chain li { position: relative; display: grid; justify-items: center; align-content: center; gap: 6px; text-align: center; width: 76px; padding: 12px 4px; background: var(--color-paper); border: 1px solid var(--color-line); border-radius: var(--radius); font-size: var(--text-sm); font-weight: 600; line-height: 1.3; }
.chain li + li { margin-left: var(--link); }
.chain li + li::before { content: ""; position: absolute; right: 100%; top: calc(50% - 1px); width: var(--link); height: 2px; background: var(--color-muted); }
.chain li + li::after { content: ""; position: absolute; right: calc(100% + 4px); top: calc(50% - 5px); width: 8px; height: 8px; border-top: 2px solid var(--color-muted); border-right: 2px solid var(--color-muted); transform: rotate(45deg); }
.ba-new .chain li + li::before { top: calc(50% - 2px); height: 4px; background: var(--color-accent); }
.ba-new .chain li + li::after { border-color: var(--color-ink); }
.chain .key { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-on-accent); }
.ba-sum { font-size: var(--text-sm); }
.ba-sum b { display: block; font-size: var(--text-title); font-weight: 800; }

/* 제품 둘러보기 */

.app { background: var(--color-paper); border: 2px solid var(--color-ink); border-radius: var(--radius); font-size: var(--text-sm); line-height: 1.4; }
.app-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 12px 16px; background: var(--color-ink); color: var(--color-paper); }
.app-bar span { color: var(--color-grey-on-dark); }
.cards li { display: grid; grid-template-columns: 5em 9em minmax(0, 1fr) auto; grid-template-areas: "via name what btn"; gap: 4px 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--color-line); }
.cards li:last-child { border-bottom: 0; }
.cards .via { grid-area: via; display: flex; align-items: center; gap: 6px; font-weight: 700; }
.cards b { grid-area: name; }
.cards .what { grid-area: what; }
.cards .fbtn { grid-area: btn; justify-self: end; }
.cards .need, .kv-wide .need { box-shadow: inset 0 0 0 3px var(--color-accent); }
.kv-wide { gap: 0; padding: 8px 16px; }
.kv-wide div { grid-template-columns: 6em minmax(0, 1fr); padding: 12px; border-bottom: 1px solid var(--color-line); }
.kv-wide div:last-child { border-bottom: 0; }
.choices { display: flex; gap: 8px; margin-top: 8px; }
.app-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; padding: 12px 16px; background: var(--color-paper-2); color: var(--color-muted); }
.app-foot .fbtn { color: var(--color-paper); }
.xls-wrap { overflow-x: auto; }
.xls { width: 100%; border-collapse: collapse; font-size: var(--text-xs); white-space: nowrap; font-variant-numeric: tabular-nums; }
.xls th, .xls td { padding: 8px 10px; border: 1px solid var(--color-line); text-align: left; }
.xls th { background: var(--color-paper-2); color: var(--color-muted); font-weight: 600; text-align: center; }
.xls tbody tr:first-child td { background: var(--color-accent); color: var(--color-on-accent); font-weight: 700; }
/* 잠금화면 알림: 폰 틀(특정 기기 모양 아님) + 알림 카드 2장 */
/* 폰 그림: 실제 폰 비율(가로:세로 1:2) */
.phone { width: min(100%, 209px); height: 418px; margin-inline: auto; padding: 24px 8px; background: var(--color-charcoal-2); border: 7px solid var(--color-charcoal); border-radius: 32px; color: var(--color-white); }
.lock-time { text-align: center; font-size: 2.25rem; font-weight: 300; line-height: 1; font-variant-numeric: tabular-nums; }
.lock-date { margin: 8px 0 28px; text-align: center; font-size: var(--text-xs); color: var(--color-grey-on-dark); }
.notifs { display: grid; gap: 8px; }
/* script.js가 .js-drop을 붙였을 때만: 탭이 보이면 알림이 위에서 한 장씩 내려옵니다 */
.js-drop .notif { opacity: 0; transform: translateY(-16px); }
.js-drop .notif.in { opacity: 1; transform: none; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.notif { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 2px 8px; padding: 10px 8px; background: var(--color-white); color: var(--color-charcoal); border-radius: 6px; font-size: var(--text-xs); line-height: 1.4; }
.notif img { grid-row: span 3; width: 24px; height: 24px; }
.notif-h { display: flex; justify-content: space-between; font-size: var(--text-xs); }
.notif-h span { color: var(--color-grey-3); }
.notif-t { font-weight: 700; }
.screen-phone figcaption { text-align: center; }


/* features */
.tile-s { width: 32px; height: 32px; }
.tile-s .ic { width: 20px; height: 20px; }

/* results */
/* 노랑 형광펜: 섹션 제목의 핵심 단어 한 곳에만 */
.pen { padding-inline: 2px; background: linear-gradient(transparent 60%, var(--color-accent) 60%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* road */
.road { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); counter-reset: road; }
.road li { counter-increment: road; padding: 20px; border-top: 4px solid var(--color-ink); background: var(--color-paper); }
.road li::before { content: counter(road); display: block; font-weight: 800; font-size: var(--text-title); margin-bottom: 8px; }
.road .hl { background: var(--color-accent); color: var(--color-on-accent); }
.road .hl p { color: var(--color-on-accent); }



/* 처리방침·약관 */
.legal { max-width: 48rem; padding-block: 64px 96px; }
.legal h1 { font-size: var(--text-section); margin-bottom: 8px; }
.legal h2 { margin: 40px 0 12px; font-size: 1.375rem; }
.legal p, .legal li { font-size: var(--text-sm); line-height: 1.7; }
.legal p + p { margin-top: 8px; }
.legal ul { display: grid; gap: 4px; padding-left: 1.25em; list-style: disc; }
.legal table { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: var(--text-sm); }
.legal th, .legal td { padding: 8px 10px; border: 1px solid var(--color-line); text-align: left; vertical-align: top; }
.legal th { background: var(--color-paper-2); font-weight: 700; white-space: nowrap; }
.legal .draft { margin: 16px 0 0; padding: 12px 16px; border: 2px dashed var(--color-ink); font-weight: 700; }

/* faq */
.faq-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
.faq details { border-top: 1px solid var(--color-ink); }
.faq details:last-child { border-bottom: 1px solid var(--color-ink); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 700; font-size: var(--text-title); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; background: var(--color-accent); color: var(--color-on-accent); border-radius: var(--radius); font-weight: 700; line-height: 1; }
.faq details[open] summary::after { content: "×"; }
.faq summary:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--color-accent); }
.faq details p { padding-bottom: 24px; max-width: 40em; }

/* apply */
.apply-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: start; }
.apply-in h2 { margin-bottom: 20px; }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; }
.form label { font-size: var(--text-sm); font-weight: 600; }
.req { margin-left: 4px; font-size: var(--text-xs); font-weight: 400; color: var(--color-muted); }
.hint { font-size: var(--text-xs); color: var(--color-muted); }
.form textarea { width: 100%; min-height: 120px; padding: 12px 16px; border: 2px solid var(--color-white); border-radius: var(--radius); background: var(--color-white); color: var(--color-charcoal); font: inherit; font-size: var(--text-md); resize: vertical; }
.form input, .form select { width: 100%; min-height: 52px; padding: 0 16px; border: 2px solid var(--color-white); border-radius: var(--radius); background: var(--color-white); color: var(--color-charcoal); font-size: var(--text-md); font-weight: 400; }
.form input::placeholder { color: var(--color-grey-3); }
.form input:hover, .form select:hover, .form textarea:hover { border-color: var(--color-accent); }
.form [aria-invalid="true"] { border-color: var(--color-accent); }
/* 안내 글자는 노랑 계열(빨강 쓰지 않음) */
.err { font-size: var(--text-sm); font-weight: 600; color: var(--color-accent); }
.form .agree { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.form .agree input { flex: none; width: 22px; height: 22px; min-height: 0; padding: 0; accent-color: var(--color-accent); }
.terms summary { width: fit-content; font-size: var(--text-sm); color: var(--color-muted); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.terms dl { display: grid; gap: 4px; margin: 8px 0; font-size: var(--text-sm); }
.terms dl div { display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: 8px; }
.terms dt { color: var(--color-muted); }
.terms p { font-size: var(--text-sm); color: var(--color-muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done { padding: 24px; border: 2px solid var(--color-accent); border-radius: var(--radius); font-size: var(--text-lead); font-weight: 700; }
.apply-free { margin-top: 16px; }
.form .actions { margin-top: 8px; }
#apply-status { margin-top: 16px; min-height: 1.6em; }

/* footer */
.foot { padding-block: 48px; background: var(--color-charcoal-deep); border-top: 1px solid var(--color-grey-3); }
.foot-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 56px; }
.foot .small { margin-top: 12px; }
.biz { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; font-size: var(--text-sm); }
.biz div { display: flex; gap: 12px; }
.biz dt { flex: none; color: var(--color-muted); min-width: 7em; }
.biz a, .foot-links a { text-underline-offset: 4px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--color-grey-3); font-size: var(--text-sm); }
.foot-links span { margin-left: auto; color: var(--color-muted); }

@media (max-width: 63.99rem) {
  :root { --section-gap: 80px; --gutter: 24px; }
  .nav-links { display: none; }
  .hero { padding-block: 40px 64px; }
  .hero h1 { max-width: none; }
  .sec h2 { margin-bottom: 36px; }
  .pc-br { display: none; }
}
@media (max-width: 40rem) {
  :root { --section-gap: 64px; --gutter: 16px; --gap: 20px; }
  .nav .brand { --logo-h: 24px; }
  .via-tag { font-size: 0.625rem; padding: 0 3px; }
  .flow-src .ch { gap: 4px; }
  .flow-src { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-join { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-join i:nth-child(n+3) { display: none; }
  .flow-join i:nth-child(1)::after { width: calc(50% + 4px); }
  .flow-join i:nth-child(2)::after { left: auto; right: 50%; }
  .sheet table { font-size: var(--text-xs); }
  .sheet th, .sheet td, .sheet caption, .sheet-out { padding-inline: 8px; }
  .foot-links span { margin-left: 0; flex-basis: 100%; }
  .actions .btn { flex: 1 1 100%; }
  .nav .btn { flex: none; }
  .faq summary { font-size: var(--text-md); }
  .play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .chain { --link: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px var(--link); }
  .chain li { width: auto; padding: 8px 2px; font-size: 0.75rem; }
  .chain li + li { margin-left: 0; }
  .chain li + li::after, .chain li:nth-child(3n + 1)::before { display: none; }
  .ba-row { padding: 16px; }
  .cards li { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "via btn" "name btn" "what what"; }
  .kv-wide { padding: 8px; }
  .kv-wide div { grid-template-columns: 4em minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ================= v2 (2026-11-21) ================= */
/* 첫 화면: 강점 4개는 2칸씩, 채널 이름 노랑 밑줄, 엑셀 줄은 흰 바탕 굵게 */
.perks { display: grid; grid-template-columns: repeat(2, max-content); gap: 8px; }
.perks li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--color-line); border-radius: var(--radius); font-size: var(--text-sm); font-weight: 600; white-space: nowrap; }
.chn { text-decoration: underline 3px var(--color-accent); text-underline-offset: 5px; text-decoration-skip-ink: none; }
.flow-src li.cur .chn, .sheet tbody tr.cur .chn { text-decoration-color: var(--color-charcoal); }
.is-staged .sheet tbody tr:not(.on) .chn { text-decoration-color: transparent; }
.sheet-out { background: var(--color-white); border-top: 2px solid var(--color-ink); font-weight: 800; }
.sheet-out span { display: inline-flex; align-items: center; gap: 8px; }
.sheet-out .ic { width: 20px; height: 20px; }
.sheet-out.cur { background: var(--color-white); color: var(--color-ink); box-shadow: inset 0 0 0 3px var(--color-accent); }
.flow figcaption.cap-r { text-align: right; }

/* 실측: 큰 숫자 하나, 나타날 때 0 → 96.4로 올라가며 튀어나옵니다(script.js가 .js-stat → .pop) */
.stat { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 8px 32px; padding-bottom: 20px; border-bottom: 8px solid var(--color-accent); }
.num { font-size: clamp(4.5rem, 11vw, 9rem); font-weight: 800; letter-spacing: -0.04em; line-height: 0.9; white-space: nowrap; color: var(--color-accent); font-variant-numeric: tabular-nums; transform-origin: left bottom; }
.num span { font-size: 0.45em; margin-left: 4px; }
.stat-text { display: grid; gap: 10px; min-width: 15em; padding-bottom: 0.3em; }
.num-d b, .nums-foot { white-space: nowrap; }
.num-d { font-size: var(--text-lead); line-height: 1.4; color: var(--color-muted); }
.num-d b { color: var(--color-ink); font-weight: 700; }
.num-d b, .num-d .nb { display: block; }
.num-d .sep { display: none; }
.nums-foot { font-size: var(--text-md); font-weight: 700; color: var(--color-ink); }
.results-head h2 { margin-bottom: 4px; }
.results-sub { font-size: 1.25rem; font-weight: 700; color: var(--color-ink); margin-bottom: 32px; }
.js-stat .num { opacity: 0; }
.js-stat.pop .num { opacity: 1; animation: stat-pop 0.75s cubic-bezier(0.2, 0.9, 0.3, 1.25); }
@keyframes stat-pop { 0% { opacity: 0; transform: scale(0.55); } 60% { opacity: 1; transform: scale(1.07); } 100% { transform: scale(1); } }
@media (min-width: 64rem) {
  .pin .results { margin-block: auto; padding-block: 0; background: none; }
  .pin .results-in { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 16fr); align-items: start; gap: 12px 48px; padding-top: clamp(12px, 2.4vh, 28px); border-top: 2px solid var(--color-ink); }
  .pin .results h2 { margin: 0; font-size: clamp(1.375rem, 3.6vh, 1.75rem); white-space: nowrap; }
  .pin .results-sub { margin: 4px 0 0; }
  .pin .stat { padding-bottom: 12px; border-bottom-width: 6px; }
  .pin .num { font-size: clamp(3.5rem, calc(36vh - 168px), 9rem); }
  .pin .num-d { font-size: var(--text-md); }
}

/* 공통: 스크롤하면 하나씩 올라오며 나타남(script.js가 .js-rise → li.in) */
.js-rise > li { opacity: 0; transform: translateY(28px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.js-rise > li.in { opacity: 1; transform: none; }

/* 고충: 넓은 여백, 2×2 큰 카드 */
#pain { padding-block: 136px; }
.pain { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.pain li { display: grid; gap: 12px; align-content: start; padding: 32px; background: var(--color-paper-2); border-top: 4px solid var(--color-accent); border-radius: var(--radius); }
.pain h3 { font-size: 1.625rem; font-weight: 800; }
.pain p { color: var(--color-muted); }
.pain .tile { margin-bottom: 4px; }

/* 작동 방식: 한 상자, 왼쪽 한손노트 / 오른쪽 사장님(승인 한 번) */
.how-box { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); border: 2px solid var(--color-ink); border-radius: var(--radius); overflow: hidden; }
.how-h { padding: 32px; }
.how-o { position: relative; display: grid; gap: 12px; align-content: start; padding: 32px; background: var(--color-charcoal); color: var(--color-white); }
.how-tag { width: fit-content; margin-bottom: 24px; padding: 6px 12px; font-size: var(--text-sm); font-weight: 800; border-radius: var(--radius); }
.tag-h { background: var(--color-accent); color: var(--color-on-accent); }
.how-o > .tag-o { margin-bottom: 12px; background: var(--color-white); color: var(--color-charcoal); }
.how-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.how-steps li { display: grid; grid-template-rows: auto auto 1fr; gap: 10px; }
.how-steps h3 { display: flex; align-items: center; gap: 10px; font-size: 1.375rem; }
.how-steps .step-n { width: 32px; height: 32px; margin: 0; font-size: var(--text-md); }
.how-steps p { color: var(--color-muted); font-size: var(--text-sm); }
.how-steps .panel { margin-top: 6px; }
.how-o h3 { font-size: 1.75rem; font-weight: 800; }
.how-o > p { color: var(--color-grey-on-dark); font-size: var(--text-sm); }
.how-o .panel { margin-top: 12px; color: var(--color-charcoal); border-color: var(--color-white); }
.how-o .kv dt { color: var(--color-grey-3); }
.appr-pick { display: flex; gap: 8px; }
.appr-btn { position: relative; display: flex; justify-content: flex-end; margin-top: 4px; }
.ok-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 28px; background: var(--color-accent); color: var(--color-on-accent); font-size: var(--text-md); font-weight: 800; border-radius: var(--radius); transition: background-color 0.2s var(--ease), transform 0.12s var(--ease); }
.ok-chk { width: 0; height: 22px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transition: width 0.2s var(--ease); }
.ok-chk path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.lbl-b { display: none; }
.appr.done .ok-btn { background: var(--color-charcoal); color: var(--color-accent); }
.appr.done .ok-chk { width: 22px; }
.appr.done .ok-chk path { stroke-dashoffset: 0; transition: stroke-dashoffset 0.35s var(--ease) 0.1s; }
.appr.done .lbl-a { display: none; }
.appr.done .lbl-b { display: inline; }
.appr.press .ok-btn { transform: scale(0.94); }
.cursor { position: absolute; right: 18px; bottom: -14px; width: 28px; height: 28px; fill: var(--color-white); stroke: var(--color-charcoal); stroke-width: 1.5; stroke-linejoin: round; opacity: 0; pointer-events: none; }
.js-appr .cursor { transform: translate(70px, 60px); }
.appr.go .cursor { opacity: 1; transform: translate(0, 0); transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.2s linear; }

/* 둘러보기: 왼쪽 단계 목록 고정, 오른쪽 화면이 세로로 지나감. 가운데 온 화면만 선명(.on) */
.tour2 { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 64px; align-items: start; }
.t-steps { position: sticky; top: max(calc(var(--nav-h) + 24px), calc(50svh - 180px)); display: grid; counter-reset: none; }
.t-steps button { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; width: 100%; padding: 18px 0; border: 0; border-top: 1px solid var(--color-line); background: none; color: var(--color-muted); text-align: left; cursor: pointer; transition: color 0.2s var(--ease); }
.t-steps li:last-child button { border-bottom: 1px solid var(--color-line); }
.t-steps b { display: grid; place-items: center; width: 36px; height: 36px; border: 2px solid currentColor; border-radius: var(--radius); font-weight: 800; transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease); }
.t-steps strong { display: block; font-size: 1.25rem; font-weight: 800; line-height: 36px; }
.t-steps small { display: block; max-height: 0; overflow: hidden; font-size: var(--text-sm); line-height: 1.6; opacity: 0; transition: max-height 0.3s var(--ease), opacity 0.3s var(--ease), margin 0.3s var(--ease); }
.t-steps button:hover { color: var(--color-ink); }
.t-steps [aria-current="step"] { color: var(--color-ink); }
.t-steps [aria-current="step"] b { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-on-accent); }
.t-steps [aria-current="step"] small { max-height: 6em; margin-top: 6px; opacity: 1; color: var(--color-muted); }
.t-screens { display: grid; gap: 20vh; padding-block: 8vh; }
.t-screen { transition: opacity 0.35s var(--ease), filter 0.35s var(--ease); }
.js-tour .t-screen:not(.on) { opacity: 0.22; filter: blur(2px) grayscale(0.7); }
.t-label { display: none; }
.screen-phone .phone { margin-inline: auto; }

/* 시연 영상: 제목 줄 + 본문 폭 가득 */
.demo-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 56px; margin-bottom: 40px; }
.sec .demo-head h2 { margin: 0; }
.demo-head .lead { max-width: 26em; }
.player { position: relative; aspect-ratio: 16 / 9; width: 100%; background: var(--color-charcoal-2); border-radius: var(--radius); overflow: hidden; }
#video-status { margin-top: 12px; min-height: 1.6em; }

.who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.who h3 + p { color: var(--color-muted); }


/* 이것도 됩니다 */
.also { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.also li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; row-gap: 10px; align-items: center; padding-top: 24px; border-top: 1px solid var(--color-ink); }
.also h3 { font-size: 1.375rem; font-weight: 800; }
.also p { grid-column: 1 / -1; color: var(--color-muted); }

/* 지금 방식 그대로 + 계산기 */
.keep { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.keep li { padding-top: 20px; border-top: 4px solid var(--color-accent); }
.keep p { color: var(--color-muted); }
.roi { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: 56px; border: 2px solid var(--color-accent); border-radius: var(--radius); }
.roi-out { display: grid; gap: 10px; align-content: start; padding: 36px 32px; background: var(--color-accent); color: var(--color-on-accent); }
.roi-out h3 { font-size: var(--text-title); }
.roi-big { font-size: 1.75rem; font-weight: 800; line-height: 1; white-space: nowrap; }
.roi-big b { font-size: clamp(4rem, 8vw, 6.5rem); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.roi-days { font-size: var(--text-lead); font-weight: 700; }
.roi-kv { display: grid; margin-top: 12px; font-size: var(--text-sm); }
.roi-kv div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding: 10px 0; border-top: 1px solid var(--color-charcoal); }
.roi-kv dd { font-weight: 700; font-variant-numeric: tabular-nums; }
.roi-plan { display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin-top: 12px; padding: 10px 16px; background: var(--color-charcoal); color: var(--color-accent); font-weight: 700; text-decoration: none; border-radius: var(--radius); }
.roi-plan .ic { width: 18px; height: 18px; }
.roi-plan:hover { background: var(--color-charcoal-deep); }
.roi-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; align-content: start; padding: 32px; }
.roi-in h3, .roi-note, .roi-phone { grid-column: 1 / -1; }
.roi-in > label { display: grid; gap: 6px; align-content: space-between; font-size: var(--text-sm); font-weight: 600; }
.roi-phone { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin: 0; padding: 0; border: 0; font-size: var(--text-sm); font-weight: 600; }
.roi-phone legend { float: left; margin-right: 8px; padding: 0; }
.roi-phone label { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; cursor: pointer; }
.roi-phone input { width: 20px; height: 20px; accent-color: var(--color-accent); }
.unit { display: flex; align-items: center; gap: 8px; font-weight: 400; color: var(--color-muted); }
.roi-in .unit input { width: 100%; min-width: 0; min-height: 48px; padding: 0 12px; border: 2px solid var(--color-white); border-radius: var(--radius); background: var(--color-white); color: var(--color-charcoal); font-size: var(--text-md); font-weight: 700; font-variant-numeric: tabular-nums; }
.roi-in .unit input:hover, .roi-in .unit input:focus { border-color: var(--color-accent); }
.roi-note { font-size: var(--text-xs); color: var(--color-muted); }

/* 요금: 카드 4장, 추천은 차콜. 계산기에서 고른 요금제(.pick)는 노랑 테두리 */
.sec .price-lead { margin: -28px 0 36px; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 14px; padding: 28px 24px; background: var(--color-white); border: 1px solid var(--color-grey-2); border-radius: var(--radius); transition: box-shadow 0.25s var(--ease); }
.plan.rec { background: var(--color-charcoal); color: var(--color-white); border-color: var(--color-charcoal); }
.plan.pick { box-shadow: 0 0 0 4px var(--color-accent); }
.plan h3 { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 1.375rem; font-weight: 800; }
.plan-tag { padding: 2px 10px; background: var(--color-accent); color: var(--color-on-accent); border-radius: var(--radius); font-size: var(--text-xs); font-style: normal; font-weight: 800; }
.price { font-weight: 700; white-space: nowrap; }
.price b { margin: 0 2px 0 4px; font-size: 2.75rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.price small { margin-left: 4px; font-size: var(--text-xs); font-weight: 600; color: var(--color-muted); }
.plan.rec .price small, .plan.rec .plan-who { color: var(--color-grey-on-dark); }
.plan-who { font-size: var(--text-sm); color: var(--color-muted); }
.plan ul { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--color-grey-2); font-size: var(--text-sm); line-height: 1.45; }
.plan.rec ul { border-top-color: var(--color-grey-3); }
.plan ul li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; align-items: start; }
.plan ul .tick { margin-top: 1px; stroke: var(--color-accent-deep); }
.plan.rec ul .tick { stroke: var(--color-accent); }
.plan .btn { margin-top: auto; width: 100%; }
.plan .btn-line { border-color: var(--color-ink); color: var(--color-ink); }
.price-note { margin: 16px 0 56px; font-size: var(--text-xs); color: var(--color-muted); }
.road-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; }
.road-3 li { position: relative; }
.road-3 li + li::after { content: ""; position: absolute; left: -40px; top: calc(50% - 12px); width: 24px; height: 24px; background: var(--color-ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M13 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M13 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat; }
.foot-note { margin-top: 16px; font-size: var(--text-xs); color: var(--color-muted); }

@media (max-width: 63.99rem) {
  .hero-in, .faq-in, .apply-in, .foot-in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .faq-in h2 { margin-bottom: 0; }
  .apply-in h2 { margin-bottom: 16px; }
  .ba-row { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .road { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #pain { padding-block: 96px; }
  .how-box, .tour2, .roi, .roi2, .who, .keep, .also, .road-3 { grid-template-columns: minmax(0, 1fr); }
  .how-o { padding-top: 28px; }
  .who, .keep, .also { gap: 40px; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-steps { display: none; }
  .t-screens { gap: 56px; padding-block: 0; }
  .t-label { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; margin-bottom: 16px; }
  .t-label b { display: grid; place-items: center; width: 32px; height: 32px; background: var(--color-accent); border-radius: var(--radius); font-weight: 800; }
  .t-label strong { display: block; font-size: var(--text-title); }
  .t-label p { font-size: var(--text-sm); color: var(--color-muted); }
  .js-tour .t-screen:not(.on) { opacity: 0.35; filter: grayscale(0.7); }
  .road-3 { gap: 40px; }
  .road-3 li + li::after { left: calc(50% - 12px); top: -32px; transform: rotate(90deg); }
}
@media (max-width: 40rem) {
  .road, .biz { grid-template-columns: minmax(0, 1fr); }
  .perks { grid-template-columns: minmax(0, 1fr); }
  .pain, .plans, .how-steps, .roi-in { grid-template-columns: minmax(0, 1fr); }
  .pain li, .how-h, .how-o, .roi-out, .roi-in { padding: 20px; }
  .stat { grid-template-columns: minmax(0, 1fr); }
  .demo-head { margin-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .js-tour .t-screen:not(.on) { opacity: 1; filter: none; }
}
.tour2 > *, .t-screen { min-width: 0; }
.roi-phone legend { float: none; width: 100%; margin: 0 0 4px; }
@media (min-width: 40.01rem) { .roi-phone legend { float: left; width: auto; margin: 0 8px 0 0; } }


/* ================= v3 ================= */
/* 둘러보기: 폰 크게, 화면마다 등장 연출(.on이 될 때) */
#screen-push .phone { width: 260px; height: 520px; padding: 36px 12px; border-width: 8px; border-radius: 40px; }
#screen-push .lock-time { font-size: 3rem; }
#screen-push .lock-date { margin-bottom: 36px; font-size: var(--text-sm); }
#screen-push .notif { padding: 12px 10px; font-size: var(--text-sm); grid-template-columns: 30px minmax(0, 1fr); }
#screen-push .notif img { width: 30px; height: 30px; }
#screen-push .notif-h { font-size: var(--text-xs); }
.js-tour #screen-review .app { opacity: 0; transform: translateY(28px) scale(0.97); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.js-tour #screen-review.on .app { opacity: 1; transform: none; }
.js-tour #screen-review .cards li { opacity: 0; transform: translateX(-14px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.js-tour #screen-review.on .cards li { opacity: 1; transform: none; }
.js-tour #screen-review.on .cards li:nth-child(1) { transition-delay: 0.3s; }
.js-tour #screen-review.on .cards li:nth-child(2) { transition-delay: 0.42s; }
.js-tour #screen-review.on .cards li:nth-child(3) { transition-delay: 0.54s; }
.js-tour #screen-review.on .cards li:nth-child(4) { transition-delay: 0.66s; }
.js-tour #screen-review.on .cards .need, .js-tour #screen-fix.on .kv-wide .need { animation: ring 0.7s var(--ease) 1s both; }
.js-tour #screen-fix.on .kv-wide .need { animation-delay: 0.25s; }
@keyframes ring { 0% { outline: 3px solid transparent; outline-offset: 16px; } 60% { outline: 3px solid var(--color-accent); outline-offset: -2px; } 100% { outline: 3px solid var(--color-accent); outline-offset: -3px; } }
.js-tour #screen-fix .choices .fbtn.sel { background: transparent; border-color: var(--color-ink); }
.js-tour #screen-fix.on .choices .fbtn.sel { background: var(--color-accent); border-color: var(--color-accent); transition: background-color 0.25s var(--ease) 0.9s, border-color 0.25s var(--ease) 0.9s; }
.js-tour #screen-fix .app-foot .fbtn.on { transition: background-color 0.25s var(--ease) 1.3s, color 0.25s var(--ease) 1.3s; }
.js-tour #screen-fix.on .app-foot .fbtn.on { background: var(--color-accent); color: var(--color-on-accent); border-color: var(--color-accent); }
/* 4단계: 엑셀로 내보내기 버튼 → 파일 창 → 한 줄씩 */
.xls-shot .app-bar { align-items: center; }
.xbtn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: var(--color-white); color: var(--color-charcoal); font-weight: 800; border-radius: var(--radius); transition: background-color 0.2s var(--ease), transform 0.12s var(--ease); }
.xbtn .ic { width: 18px; height: 18px; }
.xwin { margin: 16px; border: 1px solid var(--color-grey-2); border-radius: var(--radius); background: var(--color-white); box-shadow: 0 10px 28px rgb(0 0 0 / 0.12); }
.xwin-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; padding: 10px 12px; background: var(--color-grey-1); border-bottom: 1px solid var(--color-grey-2); font-size: var(--text-sm); }
.xfile { display: inline-flex; align-items: center; gap: 8px; }
.xfile .ic { width: 20px; height: 20px; color: var(--color-accent-deep); }
.xdone { font-size: var(--text-xs); font-weight: 700; color: var(--color-grey-3); }
.xfx { display: flex; gap: 10px; align-items: center; padding: 6px 12px; border-bottom: 1px solid var(--color-grey-2); font-size: var(--text-xs); }
.xfx i { padding: 0 6px; border-right: 1px solid var(--color-grey-2); font-style: italic; color: var(--color-grey-3); }
.xls-shot .xls { font-size: var(--text-sm); }
.xls-shot .xls tbody tr.xhead td { background: var(--color-accent); color: var(--color-on-accent); font-weight: 700; }
.xls-shot .xls tbody tr:first-child td { background: var(--color-accent); }
.xtabs { display: flex; gap: 2px; padding: 0 8px; background: var(--color-grey-1); border-top: 1px solid var(--color-grey-2); font-size: var(--text-xs); }
.xtabs span { padding: 6px 12px; color: var(--color-grey-3); }
.xtabs .on { background: var(--color-white); color: var(--color-charcoal); font-weight: 700; box-shadow: inset 0 2px 0 var(--color-accent); }
.js-tour #screen-xls .xwin { opacity: 0; transform: translateY(18px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.js-tour #screen-xls.on .xwin { opacity: 1; transform: none; transition-delay: 0.45s; }
.js-tour #screen-xls.on .xbtn { animation: xpress 0.4s var(--ease) 0.15s; background: var(--color-accent); }
@keyframes xpress { 50% { transform: scale(0.92); } }
.js-tour #screen-xls .xls tbody tr { opacity: 0; transition: opacity 0.3s var(--ease); }
.js-tour #screen-xls.on .xls tbody tr { opacity: 1; }
.js-tour #screen-xls.on .xls tbody tr:nth-child(1) { transition-delay: 0.8s; }
.js-tour #screen-xls.on .xls tbody tr:nth-child(2) { transition-delay: 1.05s; }
.js-tour #screen-xls.on .xls tbody tr:nth-child(3) { transition-delay: 1.3s; }
.js-tour #screen-xls.on .xls tbody tr:nth-child(4) { transition-delay: 1.55s; }
.js-tour #screen-xls.on .xls tbody tr:nth-child(5) { transition-delay: 1.8s; }
.js-tour #screen-xls .xdone { opacity: 0; transition: opacity 0.3s var(--ease); }
.js-tour #screen-xls.on .xdone { opacity: 1; transition-delay: 2.1s; }

/* 영상 재생 버튼 크게 */
.play { width: 120px; height: 120px; margin: -60px 0 0 -60px; }
.play svg { margin-left: 6px; }

/* 현장: 들어오는 주문 모습 → 정리된 한 줄 */
.who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.scene { display: grid; align-content: center; justify-items: stretch; aspect-ratio: 4 / 3; margin-bottom: 20px; padding: 28px; background: var(--color-charcoal); border-radius: var(--radius); }
.scene .line-card { background: var(--color-accent); border-color: var(--color-accent); }
.scene .line-card b { font-size: var(--text-md); }
.scene-link { justify-self: center; width: 3px; height: 32px; background: var(--color-accent); transform-origin: top; }
.in-call { padding: 14px 16px; background: var(--color-white); color: var(--color-charcoal); border-radius: var(--radius); }
.call-h { display: flex; align-items: center; gap: 8px; font-size: var(--text-xs); }
.call-h .ic { width: 18px; height: 18px; color: var(--color-accent-deep); }
.call-h span { color: var(--color-grey-3); }
.call-t { margin-top: 8px; font-size: var(--text-md); font-weight: 600; line-height: 1.45; }
.chat-who { margin-bottom: 6px; font-size: var(--text-xs); color: var(--color-grey-on-dark); }
.chat-b { position: relative; width: fit-content; max-width: 100%; padding: 12px 16px; background: var(--color-white); color: var(--color-charcoal); border-radius: 4px 14px 14px 14px; font-weight: 600; line-height: 1.45; }
.in-fax { padding: 14px 18px; background: #FBFAF6; color: var(--color-charcoal); border-radius: var(--radius); transform: rotate(-1.5deg); box-shadow: 0 6px 16px rgb(0 0 0 / 0.3); }
.fax-h { padding-bottom: 6px; border-bottom: 2px solid var(--color-charcoal); font-size: var(--text-xs); font-weight: 800; }
.fax-b { display: grid; gap: 4px; margin-top: 8px; font-size: var(--text-md); font-weight: 600; }
.fax-b span { border-bottom: 1px dashed var(--color-grey-2); }
.who h3 + p { color: var(--color-muted); }
.js-rise .scene-link { transform: scaleY(0); transition: transform 0.3s var(--ease) 0.45s; }
.js-rise .in .scene-link { transform: none; }
.js-rise .scene .line-card { opacity: 0; transform: translateY(-8px); transition: opacity 0.35s var(--ease) 0.75s, transform 0.35s var(--ease) 0.75s; }
.js-rise .in .scene .line-card { opacity: 1; transform: none; }
/* 업종: 머리말 + 4묶음 */
.inds-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 56px; margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--color-ink); }
.inds-head h3 { font-size: 1.75rem; font-weight: 800; }
.inds-head p { margin-top: 10px; color: var(--color-muted); }
.inds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ind-h { margin-bottom: 12px; padding-bottom: 8px; border-bottom: 3px solid var(--color-accent); font-weight: 800; }
.ind-g ul { display: flex; flex-wrap: wrap; gap: 6px; }
.ind-g li { padding: 4px 10px; background: var(--color-paper-2); border-radius: var(--radius); font-size: var(--text-sm); font-weight: 600; white-space: nowrap; }

/* 한곳에: 왼쪽 세로 채널 → 한손노트 → 승인 → 엑셀·ERP */
.hub { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr) auto minmax(0, 1fr); grid-template-areas: "phone core ok out" "kakao core ok out" "fax core ok out"; gap: 20px 64px; align-items: center; }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.hub-lines path { fill: none; stroke: var(--color-accent); stroke-width: 3; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.55s var(--ease); }
.hub-lines path.on { stroke-dashoffset: 0; }
.hub-lines .arrow { stroke: var(--color-ink); stroke-width: 4; }
.hub-node, .hub-out { position: relative; z-index: 1; display: grid; gap: 10px; padding: 16px 18px; background: var(--color-paper); border: 1px solid var(--color-line); border-radius: var(--radius); }
.n-phone { grid-area: phone; } .n-kakao { grid-area: kakao; } .n-fax { grid-area: fax; }
.hub-out { grid-area: out; border: 2px solid var(--color-ink); }
.hub-h { display: flex; align-items: center; gap: 12px; font-size: var(--text-title); font-weight: 800; line-height: 1.3; }
.hub .line-card { font-size: var(--text-sm); }
.hub-out .line-card { background: var(--color-accent); border-color: var(--color-accent); }
.hub-out .line-card span { display: block; }
.hub-core { grid-area: core; position: relative; z-index: 1; display: grid; justify-items: center; gap: 10px; padding: 32px 16px; background: var(--color-accent); border-radius: var(--radius); text-align: center; }
.hub-core img { width: auto; height: 46px; max-width: none; margin: -10px 0; }
.hub-core p { font-weight: 800; }
.hub-ok { grid-area: ok; position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; }
.ok-dot { display: grid; place-items: center; width: 56px; height: 56px; background: var(--color-ink); border-radius: 50%; }
.ok-dot svg { width: 30px; height: 30px; fill: none; stroke: var(--color-accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ok-dot path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.hub-ok b { font-weight: 800; }
.js-hub .hub [data-step] { opacity: 0; transform: translateY(14px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.js-hub .hub .n-phone, .js-hub .hub .n-kakao, .js-hub .hub .n-fax { transform: translateX(-20px); }
.js-hub .hub [data-step].on { opacity: 1; transform: none; }
.js-hub .hub .hub-ok .ok-dot path { stroke-dashoffset: 1; transition: stroke-dashoffset 0.4s var(--ease) 0.2s; }
.js-hub .hub .hub-ok.on .ok-dot path { stroke-dashoffset: 0; }

/* 왜 한손노트인가: 비교표 */
.why-lead { margin: -28px 0 36px; }
.cmp-wrap { overflow-x: auto; border: 1px solid var(--color-grey-2); border-radius: var(--radius); background: var(--color-white); }
.cmp { width: 100%; min-width: 760px; border-collapse: collapse; font-size: var(--text-sm); }
.cmp th, .cmp td { padding: 16px 20px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--color-grey-2); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp thead th { background: var(--color-grey-1); font-weight: 700; color: var(--color-grey-3); }
.cmp tbody th { width: 20%; font-weight: 800; }
.cmp td { color: var(--color-grey-3); }
.cmp .us { width: 30%; background: var(--color-charcoal); color: var(--color-white); font-weight: 700; border-bottom-color: var(--color-charcoal-2); }
.cmp thead .us { background: var(--color-charcoal); color: var(--color-accent); font-weight: 800; }
.only { display: block; width: fit-content; margin-top: 6px; padding: 1px 8px; background: var(--color-accent); color: var(--color-on-accent); border-radius: var(--radius); font-size: var(--text-xs); font-style: normal; font-weight: 800; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cmp-note { margin-top: 12px; font-size: var(--text-xs); color: var(--color-muted); }

/* 계산기 A안: 슬라이더 하나 */
.roi2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 56px; }
.r2-in { display: grid; gap: 16px; align-content: start; padding: 32px; background: var(--color-white); color: var(--color-charcoal); border-radius: var(--radius); }
.r2-in h3 { font-size: 1.5rem; font-weight: 800; }
.r2-n { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: var(--text-sm); font-weight: 700; color: var(--color-grey-3); }
.r2-n output { font-size: 1.5rem; font-weight: 800; color: var(--color-charcoal); }
.r2-n output b { font-size: 2.75rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.r2-in input[type="range"] { width: 100%; height: 28px; margin: 0; accent-color: var(--color-charcoal); cursor: pointer; }
.r2-scale { position: relative; height: 1.4em; margin-top: -8px; font-size: var(--text-xs); color: var(--color-grey-3); }
.r2-scale span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.r2-scale span:first-child { transform: none; }
.r2-scale span:last-child { transform: translateX(-100%); }
.r2-phone { display: inline-flex; align-items: center; gap: 10px; width: fit-content; padding: 10px 14px; border: 2px solid var(--color-charcoal); border-radius: var(--radius); font-weight: 700; cursor: pointer; }
.r2-phone input { width: 20px; height: 20px; accent-color: var(--color-charcoal); }
.r2-note { font-size: var(--text-xs); color: var(--color-grey-3); }
.r2-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.r2-act .btn { flex: 1 1 10em; }
.r2-act .btn-line { border-color: var(--color-charcoal); color: var(--color-charcoal); }
.r2-out { display: grid; gap: 6px; align-content: start; padding: 32px; background: var(--color-charcoal-deep); color: var(--color-white); border: 1px solid var(--color-grey-3); border-radius: var(--radius); }
.r2-l { font-size: var(--text-sm); font-weight: 700; color: var(--color-grey-on-dark); }
.r2-big { font-size: 1.75rem; font-weight: 800; line-height: 1; }
.r2-big b { font-size: clamp(4rem, 7vw, 5.5rem); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.r2-s { font-size: var(--text-xs); color: var(--color-grey-on-dark); }
.r2-kv { display: grid; margin-top: 20px; }
.r2-kv div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--color-grey-3); }
.r2-kv dt { font-size: var(--text-sm); font-weight: 700; }
.r2-kv dt small { display: block; margin-top: 2px; font-size: var(--text-xs); font-weight: 400; color: var(--color-grey-on-dark); font-variant-numeric: tabular-nums; }
.r2-kv dd { font-size: var(--text-title); font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.r2-kv .save dd { color: var(--color-accent); font-size: 1.5rem; }

@media (max-width: 63.99rem) {
  .who, .inds-wrap { grid-template-columns: minmax(0, 1fr); }
  .inds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub { grid-template-columns: minmax(0, 1fr); grid-template-areas: "phone" "kakao" "fax" "core" "ok" "out"; gap: 36px; }
  .hub-lines { display: none; }
  .hub [data-step]:not(.hub-out)::after, .hub-core::after { content: ""; position: absolute; left: calc(50% - 1.5px); top: 100%; width: 3px; height: 36px; background: var(--color-accent); }
  .js-hub .hub .n-phone, .js-hub .hub .n-kakao, .js-hub .hub .n-fax { transform: translateY(14px); }
  #screen-push .phone { width: 220px; height: 440px; }
}
@media (max-width: 40rem) {
  .inds { grid-template-columns: minmax(0, 1fr); }
  .scene { padding: 20px; }
  .r2-in, .r2-out { padding: 20px; }
  .play { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
  .play svg { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .js-tour .t-screen * { transition: none !important; animation: none !important; opacity: 1 !important; transform: none !important; }
}
.hub-logo { width: auto; height: 28px; }
.app-bar .xbtn { color: var(--color-charcoal); }
@media (max-width: 63.99rem) { .roi2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 40rem) {
  .cmp { min-width: 0; font-size: var(--text-xs); }
  .cmp th:nth-child(2), .cmp td:nth-child(2) { display: none; }
  .cmp th, .cmp td { padding: 12px 10px; }
}

/* ================= v4 ================= */
@font-face { font-family: "HanPen"; src: url("assets/pen.woff2") format("woff2"); font-display: swap; }
/* 첫 화면: 엑셀 줄은 나타날 때 노랑 */
.sheet-out.on, .sheet-out.cur { background: var(--color-accent); color: var(--color-on-accent); box-shadow: none; }

/* 6단계 → 3단계: 차례로 등장, 3단계 강조 */
.ba-count .bc2 { margin-inline: 12px; }
.js-ba .bc1, .js-ba .bc2, .js-ba .bc3 { display: inline-block; opacity: 0; transform: translateY(10px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.js-ba.in .bc1 { opacity: 1; transform: none; }
.js-ba.in .bc2 { opacity: 1; transform: none; transition-delay: 0.2s; }
.js-ba.in .bc3 { opacity: 1; transform: none; transition-delay: 0.4s; animation: bc-pop 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.3) 0.4s both; }
@keyframes bc-pop { 0% { transform: scale(0.6); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }
.js-ba .ba-new .chain li, .js-ba .ba-new .chain-note, .js-ba .ba-new .ba-sum { opacity: 0; transform: translateX(-12px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.js-ba.in .ba-new .chain li, .js-ba.in .ba-new .chain-note, .js-ba.in .ba-new .ba-sum { opacity: 1; transform: none; }
.js-ba.in .ba-new .chain li:nth-child(1) { transition-delay: 0.6s; }
.js-ba.in .ba-new .chain li:nth-child(2) { transition-delay: 0.85s; }
.js-ba.in .ba-new .chain li:nth-child(3) { transition-delay: 1.1s; }
.js-ba.in .ba-new .chain-note, .js-ba.in .ba-new .ba-sum { transition-delay: 1.3s; }

/* 현장 ①: 통화 중 화면 강조 */
.in-call { display: grid; gap: 10px; padding: 16px 18px; }
.call-top { display: flex; align-items: center; gap: 8px; font-size: var(--text-xs); font-weight: 800; }
.call-time { margin-left: auto; color: var(--color-grey-3); font-variant-numeric: tabular-nums; }
.live { width: 10px; height: 10px; border-radius: 50%; background: #D9412F; animation: live 1.2s ease-in-out infinite; }
@keyframes live { 50% { opacity: 0.25; } }
.call-who { display: flex; align-items: center; gap: 10px; font-size: var(--text-title); }
.call-av { display: grid; place-items: center; width: 40px; height: 40px; background: var(--color-accent); border-radius: 50%; }
.call-av .ic { width: 20px; height: 20px; color: var(--color-charcoal); }
.wave { display: flex; align-items: center; gap: 4px; height: 26px; }
.wave i { width: 4px; height: 100%; background: var(--color-accent-deep); border-radius: 2px; transform: scaleY(0.3); animation: wave 1s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: -0.3s; } .wave i:nth-child(3n+1) { animation-delay: -0.6s; } .wave i:nth-child(4n) { animation-duration: 0.8s; }
@keyframes wave { 50% { transform: scaleY(1); } }
.in-call .call-t { margin-top: 0; padding-top: 10px; border-top: 1px solid var(--color-grey-2); font-size: var(--text-sm); }
/* 현장 ③: 진짜 발주서 */
.in-fax { padding: 14px 16px 12px; transform: rotate(-1.2deg); }
.po-title { text-align: center; font-size: 1.125rem; font-weight: 800; letter-spacing: 0.5em; padding-left: 0.5em; }
.po-meta { display: flex; justify-content: space-between; gap: 8px; margin: 8px 0 6px; font-size: var(--text-xs); }
.po-t { width: 100%; border-collapse: collapse; font-size: var(--text-xs); }
.po-t th, .po-t td { padding: 2px 6px; border: 1px solid var(--color-charcoal); text-align: left; }
.po-t th { background: var(--color-grey-1); font-weight: 700; }
.po-t td:first-child { width: 2.2em; text-align: center; }
.hw { font-family: "HanPen", var(--font-body); font-size: 1.45em; font-style: normal; color: #2B3A67; line-height: 1.1; }
.po-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; font-size: var(--text-xs); }
.stamp { display: grid; place-items: center; width: 34px; height: 34px; border: 2px solid #C8402F; border-radius: 50%; color: #C8402F; font-size: 0.625rem; font-weight: 800; transform: rotate(-12deg); opacity: 0.85; }

/* 왜 한손노트인가: 강점 3개 + 표(한손노트가 왼쪽) */
.why3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-bottom: 40px; }
.why3 li { display: grid; gap: 6px; padding-top: 16px; border-top: 4px solid var(--color-accent); }
.why3 b { font-size: 1.375rem; font-weight: 800; }
.why3 span { color: var(--color-muted); font-size: var(--text-sm); }
.cmp .us { width: 32%; }
.only.soon { background: var(--color-grey-2); color: var(--color-charcoal); }
.roi-in > label small { display: block; margin-top: 2px; font-size: var(--text-xs); font-weight: 400; color: var(--color-muted); }
@media (max-width: 63.99rem) { .why3 { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
@media (max-width: 40rem) {
  .cmp th:nth-child(2), .cmp td:nth-child(2) { display: table-cell; }
  .cmp th:nth-child(4), .cmp td:nth-child(4) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .wave i, .live { animation: none; } }

/* ================= v5 ================= */
.js-rise > li { transition-duration: 0.8s; }
/* 한곳에: 로고 크게, 승인 원 중앙에 선, 화살표 노랑 */
.hub-core { padding: 40px 20px; }
.hub-core img { height: 84px; margin: -18px 0; }
.hub-ok b { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; }
.hub-lines .arrow { stroke: var(--color-accent-deep); stroke-width: 4; }
@media (max-width: 63.99rem) { .hub-ok b { position: static; transform: none; } .hub-core img { height: 64px; } }
/* 끝까지 맡습니다: 타이핑 커서, 항목은 위에서 내려옴 */
.typing { position: relative; }
.typing::after { content: ""; display: inline-block; width: 3px; height: 0.9em; margin-left: 3px; vertical-align: -0.08em; background: currentColor; animation: caret 0.8s steps(1) infinite; }
.typing.typed::after { animation: caret 0.8s steps(1) 3 forwards; opacity: 0; }
@keyframes caret { 50% { opacity: 0; } }
.js-drop2 > li { opacity: 0; transform: translateY(-24px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.js-drop2 > li.in { opacity: 1; transform: none; }
/* 비교표: 한손노트는 가운데, 노랑 테두리 + 옅은 노랑 */
.cmp .us { background: rgb(255 194 14 / 0.14); color: var(--color-ink); font-weight: 700; border-left: 2px solid var(--color-accent); border-right: 2px solid var(--color-accent); border-bottom-color: rgb(255 194 14 / 0.4); }
.cmp thead .us { background: var(--color-accent); color: var(--color-on-accent); border-top: 2px solid var(--color-accent); }
.cmp tbody tr:last-child .us { border-bottom: 2px solid var(--color-accent); }
@media (max-width: 40rem) {
  .cmp th:nth-child(2), .cmp td:nth-child(2) { display: none; }
  .cmp th:nth-child(4), .cmp td:nth-child(4) { display: table-cell; }
}
/* 도입 단계 상자 여백 넓게 */
.road-3 li { padding: 28px 36px; }
/* 계산기: 칸 이름 한 줄 */
.roi-in > label .lab small { display: inline; font-size: var(--text-xs); font-weight: 400; color: var(--color-muted); }

/* ================= v6 ================= */
/* 현장: 세 칸의 그림·제목·설명 줄을 서로 맞춤 */
.who { grid-template-rows: auto auto auto; row-gap: 0; }
.who > li { display: grid; grid-row: span 3; grid-template-rows: subgrid; }
.who .scene { aspect-ratio: auto; height: 100%; min-height: 300px; margin-bottom: 20px; }
.who h3 { align-self: start; }
.who h3 + p { margin-top: 8px; }
@media (max-width: 63.99rem) { .who { grid-template-rows: none; row-gap: 40px; } .who > li { grid-row: auto; grid-template-rows: none; } .who .scene { min-height: 0; } }
/* 강점 4칸 */
.why3 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: -8px; }
@media (max-width: 63.99rem) { .why3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .why3 { grid-template-columns: minmax(0, 1fr); } }
/* 비교표: 한손노트 열을 굵은 차콜 테두리 + 진한 노랑으로 */
.cmp .us { background: rgb(255 194 14 / 0.32); color: var(--color-charcoal); font-size: var(--text-md); font-weight: 800; border-left: 4px solid var(--color-charcoal); border-right: 4px solid var(--color-charcoal); border-bottom: 1px solid rgb(43 43 43 / 0.18); }
.cmp thead .us { background: var(--color-accent); border-top: 4px solid var(--color-charcoal); padding-block: 12px; }
.cmp tbody tr:last-child .us { border-bottom: 4px solid var(--color-charcoal); }
.cmp-logo { display: block; width: auto; height: 46px; max-width: none; margin: -10px 0; }
.who { row-gap: 20px; }
.who .scene { margin-bottom: 0; }
.who h3 + p { margin-top: -12px; }
.cmp-logo { height: 58px; margin: -14px 0; }
@media (max-width: 63.99rem) { .who h3 + p { margin-top: 8px; } .who > li { row-gap: 12px; } }
@media (max-width: 40rem) { .cmp-logo { height: 40px; margin: -10px 0; } }

/* ================= v7 ================= */
/* 메뉴: 지금 구간 밑줄. 폰·태블릿에서는 로고 줄 아래 가로로 밀 수 있는 메뉴 줄 */
.nav-links a.on { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; text-decoration-color: var(--color-accent); color: var(--color-white); }
@media (max-width: 63.99rem) {
  .nav-in { flex-wrap: wrap; height: auto; row-gap: 0; padding-top: 10px; }
  .nav .nav-links { display: flex; order: 3; flex-basis: 100%; gap: 20px; margin: 4px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter); overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
  .nav .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { padding: 10px 0 12px; }
  html { scroll-padding-top: 112px; }
}
/* 현장: 노랑 칸은 모두 아래에 맞추고, 위 글자는 키움 */
.scene { grid-template-rows: auto 1fr auto; align-content: stretch; }
.scene-link { height: auto; min-height: 24px; align-self: stretch; }
.scene > .line-card { align-self: end; min-height: 4.6em; }
.call-who { font-size: 1.375rem; }
.in-call .call-t { font-size: var(--text-md); }
.chat-b { font-size: 1.1875rem; line-height: 1.5; }
.chat-who { font-size: var(--text-sm); }
.in-fax .po-t { font-size: var(--text-sm); }
.in-fax .hw { font-size: 1.5em; }
/* 비교표: 세로 칸 나눔, 첫째·둘째 칸 바탕색 */
.cmp th, .cmp td { border-right: 1px solid var(--color-grey-2); }
.cmp tbody th { background: var(--color-grey-1b); }
.cmp tbody td:nth-child(2), .cmp thead th:nth-child(2) { background: var(--color-grey-1); }
.cmp thead th:first-child { background: var(--color-grey-1b); }
/* 신청 양식: 선택 칸은 접어 둠 */
.more { border: 1px solid var(--color-grey-3); border-radius: var(--radius); }
.more summary { padding: 14px 16px; font-size: var(--text-sm); font-weight: 700; cursor: pointer; }
.more[open] summary { border-bottom: 1px solid var(--color-grey-3); }
.more-in { display: grid; gap: 16px; padding: 16px; }
@media (max-width: 63.99rem) { :root { --nav-h: 105px; } .nav-in { min-height: 0; } }

/* v8: 한손노트만 줄 강조, 폰 현장 칸 간격 */
.cmp tr.only-row th { background: rgb(255 194 14 / 0.28); }
.cmp tr.only-row th .only:not(.soon) { background: var(--color-charcoal); color: var(--color-accent); }
.cmp tr.only-row td:not(.us) { color: var(--color-charcoal); }
@media (max-width: 63.99rem) { .who > li { row-gap: 0; } .who .scene { margin-bottom: 16px; } .who h3 + p { margin-top: 6px; } }
@media (max-width: 63.99rem) { .who .scene { height: auto; margin-bottom: 20px; } .who h3 + p { margin-top: 6px; } }
