/* 공개 홈페이지(dodannylab.com) — 라이트 한 벌. 네 색을 골라 정했다(2026-09-06 길록):
   노랑 #FFC629(범블) 포인트 · 갈색 #7A4A2A(앰버) 보조 · 흰색 #F6EFE4 바탕 · 검정 #191919(카카오) 글자.
   다크 판은 뺐다 — 라이트만 간다. 토큰의 정본은 platform/DESIGN.md(공개 페이지 절).
   움직임은 스크롤이 만든다(site.js): .reveal 리빌, 히어로 장면 .bm 은 .in 뒤 CSS 박자. prefers-reduced-motion 이면 전부 정지. */
:root {
  --bg: #f6efe4; --bg-2: #ebe4da; --card: #fbf8f3; --card-2: #efe9de;
  --line: rgba(25,25,25,.11); --line-2: rgba(25,25,25,.19);
  --fg: #191919; --muted: #5b5956; --faint: #938f89;
  /* 기본은 비버 — 몸이 갈색이다. 노랑(헬멧)은 --accent2-container 로 남아 작은 배지에만 쓴다 */
  --accent: #7a4a2a; --accent-hover: #8d5832; --accent-container: rgba(122,74,42,.16); --accent-text: #7a4a2a; --on-accent: #ffffff;
  --accent2: #7a4a2a; --accent2-container: rgba(255,198,41,.34); --accent2-text: #7a4a2a;
  --on-ink: #ffc629;   /* 잉크(검정) 위에서 읽히는 그 집의 색 — 비버는 헬멧 노랑 */
  --ok-container: rgba(46,160,110,.14); --on-ok-container: #1e7a50;
  --warn-container: rgba(255,198,41,.34); --on-warn-container: #7a4a2a;
  --bad-container: rgba(220,70,70,.12); --on-bad-container: #b3261e;
  --bad: #c0392b;
  --top-bg: rgba(246,239,228,.84); --shadow: rgba(25,25,25,.12);
  --col: 1120px; --gut: 24px;   /* 기둥 하나 — 머리부터 꼬리까지 모든 절이 이 폭 안에 선다. 폭을 바꾸려면 여기만 */
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
  font-size: 17px; line-height: 1.75; color: var(--fg); background: var(--bg);
  word-break: keep-all; overflow-wrap: break-word; -webkit-text-size-adjust: 100%;
  color-scheme: light;
  --ease: cubic-bezier(.2,.7,.2,1);
}
/* 집마다 제 색(2026-09-20) — 회사 사이트가 동물 색을 --c 로 그 동물 자리에만 쓰는 것과 같은 규칙을, 여기선 집 단위로 건다.
   비버 갈색 · 치타 노랑 · 옥토 보라 — 정본은 회사 사이트의 --beaver/--cheetah/--octo(lab/static/lab/site.css).
   그전엔 셋 다 비버의 노랑을 썼다. 보라 문어 밑에 노란 단추가 서 있었다.
   --accent  = 그 집의 색(글로우·칠한 면·데모 화면의 로고)
   --accent2 = 그 집의 짙은 색(작은 라벨·체크·포커스 테두리) — 종이 위에서 글자로 읽혀야 해서 노랑은 여기 못 온다 */
body[data-site="cheetah"] {
  --accent: #ffc629; --accent-hover: #ffcf4b; --accent-container: rgba(255,198,41,.34); --accent-text: #7a4a2a; --on-accent: #191919;
  --accent2: #7a4a2a; --accent2-container: rgba(255,198,41,.34); --accent2-text: #7a4a2a;
  --on-ink: #ffc629;
}
body[data-site="octo"] {
  --accent: #8a5c8e; --accent-hover: #9a6b9e; --accent-container: rgba(138,92,142,.24); --accent-text: #6f4673; --on-accent: #ffffff;
  --accent2: #6f4673; --accent2-container: rgba(138,92,142,.18); --accent2-text: #6f4673;
  --on-ink: #c79bcb;
}
* { box-sizing: border-box; }
html[lang="ja"] { word-break: normal; overflow-wrap: anywhere; }   /* keep-all 은 한국어용 — 일본어는 글자 사이에서 줄을 바꾼다 */
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); }
a { color: var(--accent-text); text-decoration: none; }
p { margin: 0 0 14px; }
.wrap { max-width: var(--col); margin: 0 auto; padding: 0 var(--gut); }
.muted { color: var(--muted); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--accent-container); }

/* 머리 — 스크롤하면 반투명 블러(리니어) */
.top { position: sticky; top: 0; z-index: 10; background: var(--top-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color 300ms ease; }
.top.scrolled { border-bottom-color: var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
/* 넓은 화면에서 스크롤하면 머리가 떠 있는 알약이 된다(2026-10-11, agently.dev 에서) — 띠 대신 기둥 폭의 테두리 하나.
   높이는 60 그대로(6 + 48 + 6)라 아래 글이 밀리지 않는다. 회사 사이트 css 에 같은 블록 */
@media (min-width: 961px) {
  .top { transition: border-color 300ms ease, background-color 300ms ease; }
  .top .bar { border: 1px solid transparent; border-radius: 14px; transition: max-width 300ms ease, height 300ms ease, margin 300ms ease, padding 300ms ease, background-color 300ms ease, border-color 300ms ease; }
  .top.scrolled { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; }
  .top.scrolled .bar { max-width: calc(var(--col) - 2 * var(--gut) + 24px); height: 48px; margin: 6px auto; padding: 0 6px 0 12px; background: var(--top-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
  .top.scrolled nav a.btn { padding-top: 9px; padding-bottom: 9px; }
}
.mark { font-weight: 700; font-size: 18px; letter-spacing: -.01em; color: var(--fg);
  display: inline-flex; align-items: center; gap: 9px; }
.mark img { width: 30px; height: 30px; }   /* 마크 = 대화창 아바타(beaver/avatar.svg) — 상담창·비버모드와 같은 얼굴(2026-09-11) */
.top nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.top nav a { color: var(--muted); transition: color 150ms ease; }
.top nav a:hover { color: var(--fg); }
/* 머리의 CTA — `.top nav a` 가 .btn 보다 명시도가 높아 단추 글자가 회색으로 죽어 있었다(2026-09-20 발견).
   노랑 단추일 땐 겨우 읽혔고, 잉크 단추가 되자 검정 위 회색이 됐다 */
.top nav a.btn { color: var(--bg); }
.top nav a.btn:hover { color: var(--bg); }

/* 버튼 — 한 화면에 primary 하나 */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 10px; background: var(--fg); color: var(--bg); font-weight: 600; font-size: 16px; line-height: 22px; border: 1px solid var(--fg); transition: background 150ms ease, transform 150ms ease, border-color 150ms ease; cursor: pointer; }
.btn:hover { background: #2b2b2b; color: var(--bg); }
.btn:active { transform: translateY(1px); }
.btn.small { padding: 9px 15px; font-size: 14px; line-height: 20px; }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--line-2); }
.btn.ghost:hover { background: var(--card); }
/* 집의 색으로 칠한 단추 — 쓰는 자리가 따로 있을 때만. 주 단추는 잉크다(2026-09-20) */
.btn.accent { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn.accent:hover { background: var(--accent-hover); color: var(--on-accent); }
.cta { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; }
.cta .note { color: var(--muted); font-size: 14px; }
.cta-g { margin: 8px 0 0; color: var(--muted); font-size: 13px; }   /* 큰 단추 밑 한 줄 — 「구글 계정으로 가입」(2026-11-02 가입 먼저, build.py 가 붙인다) */

/* 절 */
section { padding: 112px 0; position: relative; }
h1, h2, h3 { text-wrap: balance; }
p, li, .lead, .sub, .bridge, dd { text-wrap: pretty; }   /* 줄넘김 — 제목은 고르게, 문단은 마지막 줄에 낱말 하나만 남지 않게(2026-09-11 길록 「줄넘김 어색한 문장」) */
h1 { font-size: clamp(38px, 6.4vw, 78px); line-height: 1.08; font-weight: 800; letter-spacing: -.04em; margin: 0 0 24px; }
h2 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.12; font-weight: 800; letter-spacing: -.035em; margin: 0 0 18px; }
h3 { font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 6px; }
/* 실험 슬롯(data-exp) — px.js 가 변형을 배정할 때까지만 안 보인다(최대 300ms). wiki/유입.md */
html.px-wait [data-exp] { visibility: hidden; }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.7; color: var(--muted); max-width: 620px; margin: 0 0 36px; }
.sub { color: var(--muted); max-width: 640px; margin: 0 0 44px; font-size: 18px; line-height: 1.7; }

/* 리빌 — 없앴다(2026-09-20). 절마다 아래에서 떠오르며 블러가 걷히는 것이 AI 티의 절반이었다(회사 사이트가 2026-09-18 먼저 걷었다).
   글은 처음부터 거기 있다. 움직이는 것은 셋뿐 — 히어로에 동물이 한 번 들어오는 것 · 스크롤이 끄는 제품 화면(.bm·.grow) · 세는 숫자.
   site.js 는 그대로 .in 을 붙인다(그 신호를 쓰는 조각이 따로 있다) — 여기서 모양만 없앤다. */
.reveal { opacity: 1; }

/* 히어로 — 강조색 글로우 하나. 나머지는 어둡다 */
.hero { padding: 64px 0 76px; overflow: hidden; }   /* 92vh 를 채우던 것을 걷었다(2026-09-20) — 첫 화면이 글 높이만큼만 선다. 회사 사이트와 같은 결 */
.hero::before { content: ''; position: absolute; right: -6vw; top: -8vh; width: 62vw; height: 86%; background: radial-gradient(48% 52% at 60% 46%, var(--accent-container) 0%, transparent 70%); pointer-events: none; }   /* 동물 뒤에만 한 덩이 — 화면 위를 가로지르던 띠는 종이를 뿌옇게 만들었다 */
.hero .wrap { position: relative; }   /* 플렉스 안에서 줄어들면 글이 가운데로 밀려 마스코트와 붙는다 */
.hero h1 { max-width: 820px; font-size: clamp(36px, 5.2vw, 66px); }   /* 히어로 제목만 한 단계 작게 — 회사 사이트와 같은 규칙(절 제목 78, 첫 화면 66) */
.hero .lead { max-width: 560px; }
.hero .fit { font-size: 14px; line-height: 22px; color: var(--muted); margin: 16px 0 0; max-width: 520px; }   /* CTA 아래 「누구를 위한 것인가」 한 줄 */
/* 히어로 근거 줄 — 머리선 하나 아래 칸 셋, 칸마다 굵은 이름 + 흐린 한 줄(2026-10-11, agently.dev 의 GDPR·암호화 줄에서).
   실데이터를 받는 신청 폼이 생겨 「내 데이터는?」을 첫 화면에서 답한다. 문구는 약관에 이미 있는 것만(build.py PROOF) */
.proof { display: flex; list-style: none; margin: 28px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); max-width: 600px; }
.proof li { flex: 1 1 0; min-width: 0; padding: 0 16px; border-left: 1px solid var(--line); }
.proof li:first-child { padding-left: 0; border-left: 0; }
.proof b { display: block; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--fg); }
.proof span { display: block; margin-top: 2px; font-size: 13px; line-height: 19px; color: var(--muted); }
@media (max-width: 719px) { .proof { flex-direction: column; gap: 12px; } .proof li { padding: 0; border-left: 0; } }
#biz .nb { white-space: nowrap; }   /* 꼬리 사업자정보 — 번호·이름은 줄 끝에서 안 갈라진다, 주소만 접힌다 */
/* 히어로의 동물 — **첫 슬로건 오른쪽**에 크게 앉는다(2026-09-16 길록). 아래가 아니라 위에 건다:
   약관·방침처럼 히어로 한 절이 문서 전체인 장이 있어서, bottom 으로 걸면 그림이 문서 맨 끝으로 내려간다.
   장마다 다른 자세를 쓴다 — 자리는 이 한 규칙, 무엇을 넣을지는 페이지가 정한다. 좁아지면 작아지고 폰에서는 사라진다. */
.hero .mascot { position: absolute; right: 0; top: -20px; width: var(--mascot, min(32vw, 380px)); height: auto;
  pointer-events: none; opacity: 0; transform: translateY(18px) scale(.96); animation: mascot-rise .9s cubic-bezier(.2,.7,.2,1) .35s forwards; }
.hero:has(.mascot) h1 { max-width: min(820px, calc(100% - 380px)); }   /* 제목이 그림 밑으로 파고들지 않게 */
@media (max-width: 1180px) { .hero .mascot { width: min(var(--mascot, 100vw), 26vw); right: -1vw; } .hero:has(.mascot) h1 { max-width: calc(100% - 26vw); } }
@media (max-width: 900px) { .hero .mascot { display: none; } .hero:has(.mascot) h1 { max-width: 820px; } .hero::before { display: none; } }   /* 동물이 빠지면 뒤 빛도 — 폰 오른쪽 끝에 갈색 얼룩만 남았다(2026-09-26) */
/* 404 — 폰에선 마스코트가 빠지는데 84vh 가 그대로라 아래로 빈 화면이 한 뼘 남았다(2026-09-21). 글만 남으면 키도 글에 맞춘다 */
@media (max-width: 900px) { .hero.nf { min-height: 0; padding: 56px 0 72px; } }
/* 이름을 `rise` 로 두면 안 된다 — 아래 「자라는 화면」 절(.grow)이 같은 이름을 뒤에서 다시 정의하고,
   그쪽은 `from` 만 있어서 끝 상태가 이 그림의 opacity:0 으로 잡힌다. 그래서 히어로 동물이 내내 안 보였다(2026-09-16에 발견). */
@keyframes mascot-rise { to { opacity: 1; transform: none } }
@media (prefers-reduced-motion: reduce) { .hero .mascot { opacity: 1; transform: none; animation: none } }
/* 첫 화면 오른쪽 광고 영상(2026-10-05 길록 「랜딩 첫 화면에 쓰면」 → 비버 홈·랜딩 전부) — 1:1, 소리 없이 반복. 소스·다시 뽑기는 platform/video/ad.
   동물처럼 절대 위치로 띄우면 글 묶음 옆에 붕 뜨고 오른쪽 끝이 머리 단추보다 삐져나갔다(같은 날 「크기나 위치가 애매」) — 두 칸 격자로:
   글은 왼쪽 칸에 쌓고, 영상은 글 다섯 줄(제목·설명·단추·엑셀 칸·한 줄)에 걸쳐 그 높이 가운데, 오른쪽 끝은 .wrap 안쪽 끝(= 머리 단추 끝).
   맨 끝 시연 장면은 두 칸을 다 쓴다(세 동물 같은 규칙). 폰에선 격자를 풀고 단추 밑으로 내려와 폭을 채운다. */
@media (min-width: 901px) {
  .hero .wrap:has(> .heroclip) { display: grid; grid-template-columns: minmax(0, 1fr) min(40%, 480px); column-gap: 56px; }
  .hero .wrap:has(> .heroclip) > * { grid-column: 1; }
  .hero .wrap:has(> .heroclip) > .heroclip { grid-column: 2; grid-row: 1 / 6; align-self: center; }
  .hero .wrap:has(> .heroclip) > :last-child { grid-column: 1 / -1; }   /* 아래 시연 장면(비버 .bm·치타·옥토 것) */
}
.hero .heroclip { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 28px; background: #191919;
  box-shadow: 0 30px 60px rgba(25,25,25,.18); opacity: 0; transform: translateY(18px) scale(.96); animation: mascot-rise .9s cubic-bezier(.2,.7,.2,1) .35s forwards; }
@media (max-width: 900px) { .hero .heroclip { max-width: 520px; margin: 28px 0 0; border-radius: 20px; } }
@media (prefers-reduced-motion: reduce) { .hero .heroclip { opacity: 1; transform: none; animation: none } }
/* 「아래로 내려 보세요」 마우스 — 없앴다(2026-09-20). 스크롤은 안 가르쳐도 된다 */
.cue { display: none; }


/* 절 사이를 잇는 한 문장 — 다음 절의 이유가 된다 */
.bridge { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.5; letter-spacing: -.01em; color: var(--fg); max-width: 720px; margin: 48px 0 0; }
.tight { padding: 0 0 40px; }
.tight .bridge { margin: 0; }

/* 둘 나란히(요금제) */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }   /* 요금제 — 위 플랜 카드 둘(.plans)과 같은 사이라 두 열이 한 줄로 선다 */

/* 절 오른쪽 위에 앉는 비버 — 제목 옆 여백을 쓴다. 좁아지면 사라진다. */
.wrap { position: relative; }
.aside-bv { position: absolute; right: 0; top: -28px; width: 150px; height: auto; pointer-events: none; }
@media (max-width: 900px) { .aside-bv { display: none; } }
@media (prefers-reduced-motion: reduce) { .aside-bv { opacity: 1; transform: none; } }

/* 셋이 나란히 — 캐릭터 + 제목 + 한 문장(치타Web 홈 「이렇게 일합니다」). 그림은 위에서 아래로 살짝 겹치게 */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.trio img { display: block; width: 168px; height: auto; margin: 0 0 6px -12px; }
.trio h3 { font-size: 20px; line-height: 28px; margin-bottom: 6px; }
.trio p { color: var(--muted); margin: 0; }
@media (max-width: 720px) { .trio { grid-template-columns: 1fr; gap: 28px; } .trio img { width: 132px; } }
.hint { color: var(--muted); font-size: 15px; line-height: 24px; border-top: 1px solid var(--line); padding-top: 20px; max-width: 720px; }
.hint b { color: var(--fg); font-weight: 600; }
.why { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.why li { border-top: 1px solid var(--line); padding-top: 20px; }
.why h3 { font-size: 19px; line-height: 27px; margin-bottom: 6px; }
.why p { color: var(--muted); margin: 0; }

/* 장면 셋 — 큰 글자, 하나씩 */
.scenes { display: grid; gap: 40px; max-width: 760px; }
.scene { border-top: 1px solid var(--line); padding-top: 28px; }
.scene h3 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.25; letter-spacing: -.02em; margin-bottom: 10px; }
.scene p { color: var(--muted); font-size: 17px; line-height: 28px; margin: 0; }

/* ── 밝은 제품 화면. 어두운 바탕 위의 스크린샷이라 색을 고정한다 ── */
.screen { --sfg: #1a1d21; --smuted: #667085; --sline: #e5e3dd; --ssv: #fbfaf7; color: var(--sfg); }
.screen { background: #fff; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; font-size: 13px; line-height: 18px; min-width: 0; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.screen .chrome { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-bottom: 1px solid var(--sline); background: var(--ssv); color: var(--smuted); font-size: 12px; }
.screen .chrome i { width: 8px; height: 8px; border-radius: 50%; background: var(--sline); display: inline-block; }
.screen .chrome span { margin-left: 8px; }
.screen .body { padding: 14px 16px; }
.screen .head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.screen .head b { font-size: 14px; }
.screen .head em { font-style: normal; color: var(--smuted); font-size: 12px; }
.app table, .screen table, .web table { width: 100%; border-collapse: collapse; border: 1px solid var(--sline); border-radius: 6px; overflow: hidden; }
.app th, .app td, .screen th, .screen td, .web th { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--sline); white-space: nowrap; }
.app th, .screen th, .web th { color: var(--smuted); font-weight: 600; font-size: 11px; line-height: 14px; background: var(--ssv); }
.app tr:last-child td, .screen tr:last-child td, .web tr:last-child td { border-bottom: 0; }
.app .num, .screen .num, .web .num { text-align: right; font-variant-numeric: tabular-nums; }
.app td.hl, .app th.hl, .screen td.hl, .screen th.hl, .web td.hl { background: #eef4ff; }
.app .badge, .screen .badge, .web .badge { display: inline-block; padding: 1px 7px; border-radius: 999px; font-size: 11px; line-height: 15px; font-weight: 600; background: #eef0f3; color: #4b5563; }
.app .badge.ok, .screen .badge.ok, .web .badge.ok { background: #e6f6ee; color: #0f5f37; }
.app .badge.warn, .screen .badge.warn, .web .badge.warn { background: #fdf1e0; color: #7a4200; }
.app .badge.bad, .screen .badge.bad, .web .badge.bad { background: #fde8e8; color: #7f1d1d; }
.app .badge.new, .screen .badge.new, .web .badge.new { background: #dce6ff; color: #0c2a78; }


/* 요금 한 줄 */
.price-line { display: flex; align-items: flex-end; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 12px; }
.price-line .amount { font-size: clamp(40px, 6vw, 64px); line-height: 1.1; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price-line .per { color: var(--muted); padding-bottom: 10px; }

/* 요금제 페이지 */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; align-items: start; margin-top: 34px; }   /* 플랜 둘(2026-09-12) — 카드 둘이 좌우를 다 쓴다(길록) */
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 30px 28px; display: flex; flex-direction: column; gap: 4px; height: 100%; }
.plan.pick { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-container); }
.plan .crew { display: flex; gap: 2px; align-items: center; margin-bottom: 14px; }   /* 아바타 하나, + 플랜은 뒤에 + */
.plan .crew .plus { margin-left: 8px; background: var(--accent2-container); color: var(--accent2-text); border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; letter-spacing: .06em; line-height: 16px; }   /* 「PLUS」 알약 — 그림 옆 + 만으론 못 알아본다(2026-09-12 길록) */
.plan .who small { font-size: 14px; font-weight: 600; color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.plan .amount small { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--muted); }   /* 「월 1,000,000원」 뒤에 붙는 작은 글씨(영문 「a month」). 조사라 붙인다 — 영문은 마크업에서 공백을 준다 */
.plan .crew img { width: 28px; height: 28px; }
.plan .crew img.off { opacity: .16; }
.plan .who { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.plan .line { color: var(--muted); margin: 2px 0 16px; }
.plan .go { margin-top: auto; padding-top: 22px; }
.plan .go .btn { width: 100%; text-align: center; }
.plan .talk { display: block; text-align: center; border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 0; color: var(--fg); text-decoration: none; font-weight: 600; }
.plan .talk:hover { border-color: var(--accent2); }
.plan .after { color: var(--muted); font-size: 13px; line-height: 20px; margin: 10px 0 0; }
.when { margin-top: 22px; display: grid; grid-template-columns: 170px 1fr; gap: 14px 24px; align-items: start; padding: 20px 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }   /* 원→투 올리는 조건 넷(2026-09-11 길록) */
.when b { font-size: 15px; line-height: 24px; }
.when ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; line-height: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 28px; }
.plan .amount { font-size: 32px; line-height: 40px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.plan .vat { color: var(--muted); font-size: 13px; line-height: 20px; margin-bottom: 18px; }
.plan .free { position: absolute; right: 20px; top: 28px; background: var(--accent2-container); color: var(--accent2-text); border-radius: 999px; padding: 3px 11px; font-size: 12px; font-weight: 600; }   /* 이름 줄이 셋 다 같은 높이에 오도록 띄워 둔다 */
.plan h3 { margin-bottom: 0; }
.plan .two { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 28px; margin: 10px 0 28px; }
.plan ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.plan li { margin: 6px 0; }
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 12px; height: 12px; margin-top: 9px; color: var(--muted);   /* + → – (2026-10-11 transitions.dev 아코디언 결 — 세로 막대가 줄며 반 바퀴) */
  background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  transition: transform var(--t-open) var(--ease-out), background-size var(--t-open) var(--ease-out); }
.faq details[open]:not(.shut) summary::after { transform: rotate(180deg); background-size: 12px 1.5px, 1.5px 0; }
.faq details p { color: var(--muted); margin: 10px 0 0; }
.faq details .srcs { margin-top: 10px; }
#faq .faq { max-width: 760px; }   /* 홈 문답(2026-09-30) — 몇 개만, 읽는 줄 길이로 */
.faq-more { margin: 20px 0 0; font-size: 15px; }
.faq-more a::after { content: '→'; display: inline-block; margin-left: .3em; transition: transform .35s var(--ease-out); }
.faq-more a:hover::after { transform: translateX(3px); }

/* 업무 지도(비버 홈, 2026-09-30) — 묶음 이름 | 그 안의 일. 카드 격자가 아니라 표 한 장 */
.umap { margin: 0; max-width: 900px; border-top: 1px solid var(--line); }
.umap > div { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.umap dt { font-weight: 700; font-size: 17px; }
.umap dd { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.umap dd a { margin-left: 10px; font-size: 15px; white-space: nowrap; }
@media (max-width: 599px) { .umap > div { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; } }

/* 법적 문서 */
.doc > * { max-width: 720px; }   /* 법적 문서 — 기둥은 그대로 두고(머리·꼬리와 같은 왼쪽 끝) 읽는 줄 길이만 720 으로 줄인다. 가운데로 몰면 제목이 마크보다 160px 안으로 들어갔다(2026-09-15 길록) */
.doc h2 { font-size: 22px; line-height: 30px; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--muted); }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--muted); }
.doc th { color: var(--fg); font-size: 13px; font-weight: 600; background: var(--card); }
/* 칸이 넷 이상인 비교표 — 폰에선 행마다 카드로 쌓는다(가로 스크롤 금지, platform/DESIGN.md). 칸 이름은 td 의 data-l 이 들고 있다(2026-09-24 가이드) */
@media (max-width: 640px) {
  .doc table.rows thead { display: none; }
  .doc table.rows tr { display: block; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 0 0 10px; background: var(--card); }
  .doc table.rows td { display: block; border: 0; padding: 2px 0; }
  .doc table.rows td[data-l]::before { content: attr(data-l); display: block; font-size: 12px; font-weight: 600; color: var(--fg); margin-top: 6px; }
  .doc table.rows td:first-child { font-size: 16px; font-weight: 700; color: var(--fg); }
}

/* 꼬리 — 네 사이트(회사·비버·치타·옥토)가 같은 모양이다(2026-09-21 길록이 시안에서 골랐다. 그전엔 회사 사이트와 동물 셋이 서로 달랐다 — 같은 사업자인데 옮겨 다니면 다른 회사처럼 보였다).
   네 칸(브랜드·서비스·회사·약관)을 균등하게 나누고 칸마다 머리선을 하나씩 얹는다 — 칸마다 항목 수가 달라도(서비스 셋·회사 둘셋·약관 셋) 선이 시작을 잡아 줘서 안 어긋난다.
   markup 정본은 site/build.py 의 foot() 하나 — 여기 css 는 lab/static/lab/site.css 의 같은 블록과 짝이다(두 사이트가 static 을 안 나눈다). */
.foot { border-top: 1px solid var(--line); font-size: 14px; line-height: 23px; }
.foot .cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 40px; padding-top: 60px; }
.foot .cols > * { border-top: 1px solid var(--line-2); padding-top: 16px; }
.foot .cols.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }   /* 「쓰는 곳」이 있는 집(비버 국문) */
.foot .brand .mark { font-size: 16px; gap: 8px; }
.foot .brand .mark img { width: 24px; height: 24px; }
.foot .brand p { margin: 12px 0 0; max-width: 26ch; }   /* 한 줄 소개는 글자 수로 묶는다 — 픽셀로 묶으면 집마다 한 줄·네 줄로 들쭉날쭉했다 */
.foot h4 { font-size: 12px; line-height: 18px; letter-spacing: .06em; font-weight: 600; color: var(--faint); margin: 0 0 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot li { white-space: nowrap; }   /* 「개인정보 / 처리방침」으로 갈라지지 않는다 — 칸 폭이 이걸 버틴다 */
.foot .col a { color: var(--muted); transition: color 150ms ease; }
.foot .col a:hover { color: var(--fg); }
.foot .svc li { white-space: normal; }
.foot .svc a, .foot .svc .here { display: flex; align-items: center; gap: 9px; font-weight: 600; color: var(--fg); }
.foot .svc img { width: 26px; height: 26px; border-radius: 50%; flex: none; }
.foot .svc small { display: block; font-weight: 400; font-size: 12px; line-height: 17px; color: var(--faint); white-space: nowrap; }
.foot .svc .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent2); flex: none; }   /* 지금 보고 있는 집 */
.foot .bot { margin-top: 44px; padding-bottom: 30px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: flex-end; justify-content: space-between; }

/* 언어 — 지구본 하나에 말 둘, 지금 보는 말이 채운 칸. **꼬리에만**(2026-09-20 길록 「머리에 있는 게 이상하다」 — 09-12 엔 머리에도 있었다).
   국기는 안 쓴다(나라 ≠ 말). 말 이름은 그 말로 적는다 — 「Korean」이 아니라 「한국어」. 큰 사이트들의 공통 규칙이다.
   첫 방문 자동 맞춤은 Caddy 가 하고, 여기서 고르면 그게 이긴다(site.js 가 dl_lang 쿠키를 남긴다). */
.lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; line-height: 20px; }
.lang .gl { flex: none; margin: 0 4px 0 7px; color: var(--muted); }
.lang a, .lang span { padding: 2px 10px; border-radius: 999px; white-space: nowrap; color: var(--muted); }
.lang a:hover { color: var(--fg); }
.lang [aria-current] { background: var(--card-2); color: var(--fg); font-weight: 600; }
/* 말이 안 맞을 때만 한 줄 띠(site.js, 2026-09-20) — 브라우저 말과 페이지 말이 다르고 아직 고른 적 없을 때, 머리 위에 「이 페이지는 한국어로도 있습니다 · 한국어로 보기」.
   공유 링크로 반대 말에 떨어진 사람·캐디 자동 맞춤이 못 본 사람만 본다. 닫으면 지금 말이 고른 말이 된다. */
.lbar { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 8px 18px; font-size: 13px; line-height: 20px; background: var(--card-2); color: var(--muted); border-bottom: 1px solid var(--line); }
.lbar a { color: var(--fg); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.lbar button { flex: none; margin-left: 4px; width: 32px; height: 32px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: inherit; font-size: 18px; line-height: 32px; cursor: pointer; }   /* 과녁 32 — 24 는 폰에서 좁았다(2026-09-21) */
.lbar button:hover { color: var(--fg); background: var(--line); }
.foot .legal { flex: 1 1 30em; font-size: 12px; line-height: 19px; color: var(--muted); opacity: .85; }
.foot .legal p { margin: 0; }
.foot .legal a { color: var(--muted); }

@media (max-width: 899px) {
  section { padding: 80px 0; }
  .hero { min-height: 84vh; padding: 48px 0 40px; }
  .plan .two, .two, .plans { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; gap: 20px; }
  .tight { padding-bottom: 80px; }
}
@media (max-width: 719px) {
  .wrap { padding: 0 18px; }
  .top nav { gap: 14px; font-size: 14px; }
  .top nav a:not(.btn) { display: none; }   /* 폰 머리엔 문의하기 단추만 */
  .foot .cols, .foot .cols.five { grid-template-columns: 1fr 1fr; gap: 26px 20px; padding-top: 42px; }   /* 폰에서도 격자는 살아 있다 — 브랜드만 전폭 */
  .foot .brand { grid-column: 1 / -1; }
  .foot .brand p { max-width: 32ch; }
  .foot .bot { margin-top: 32px; flex-direction: column-reverse; align-items: flex-start; }
  .foot .legal { flex: none; width: 100%; }   /* 세로로 쌓이면 basis 는 높이가 된다 — 폭은 여기서 준다 */
  .lead { font-size: 16px; line-height: 26px; }
  .plan { padding: 24px 20px; }
  .plan .go { padding-top: 18px; }
  .when { grid-template-columns: 1fr; gap: 8px; padding: 18px 20px; } .when ul { grid-template-columns: 1fr; }
  .screen { overflow-x: auto; }
  .cue { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .cue::after { animation: none; }
}

/* ── 2026-09-05 밤 추가: 히어로 와이프, 조사 수치, 3단 변신, 패널 애니메이션, 늘어나는 화면, 빛 카드 ── */
/* 히어로 제목 — 와이프(줄이 아래에서 밀려 올라오던 것)도 2026-09-20 에 걷었다. 첫 문장은 기다리지 않는다 */
.wipe { opacity: 1; }
.wipe > span, .wipe > span > span { display: block; }
/* 둘째 글로우가 18초짜리로 떠다니던 것은 없앴다(2026-09-20) — 배경이 저 혼자 움직이면 화면이 싸 보인다 */

/* 조사 수치 절(치타Web 홈이 쓴다) — 한 톤 더 어두운 바탕 */
.dark2 { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 48px 0 24px; }
.facts.three { grid-template-columns: repeat(3, 1fr); }
.fact .big { display: block; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; font-weight: 700; letter-spacing: -.03em; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.fact p { color: var(--muted); font-size: 15px; line-height: 24px; margin: 0; }
.src { color: var(--muted); font-size: 13px; line-height: 20px; margin: 0; }
/* 준비물 카드(치타Web 홈이 쓴다) */
.need { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 28px 28px 24px; }
.need .k { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent2); margin-bottom: 12px; letter-spacing: .02em; }
.need h3 { font-size: 22px; line-height: 30px; letter-spacing: -.015em; margin-bottom: 8px; }
.need p { color: var(--muted); margin: 0; }
/* 요금제 FAQ 의 출처 목록 */
.srcs { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 22px; }
.srcs li { margin: 6px 0; }

/* 마우스를 따라가는 테두리 빛(리니어) */
.glow { position: relative; overflow: hidden; }
.glow::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(240px circle at var(--mx, -200px) var(--my, -200px), var(--accent-container), transparent 60%); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.glow:hover::before { opacity: 1; }
.glow > * { position: relative; }

@media (max-width: 899px) { .facts, .facts.three { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (max-width: 719px) { .facts, .facts.three { grid-template-columns: 1fr; } }
/* 폰 머리의 CTA 는 한 줄 — 360(흔한 안드로이드)에서 「비버에게 말해 / 보기」로 두 줄, 320 에선 세 줄로 붙은 머리(60px)보다 커졌고
   치타 영문은 화면 밖으로 나갔다(2026-09-26 가로 스크롤 340). 사이 여백을 줄여 360 에 한 줄로 들이고,
   그래도 안 들어가는 폭(320 전부 · 400 아래 치타 영문 — 이름과 단추가 가장 길다)은 마크를 얼굴만 남긴다(글자는 font-size 0 — 읽어 주기엔 남는다) */
@media (max-width: 719px) { .bar { gap: 10px; } .top nav { gap: 10px; } .top nav a.btn { white-space: nowrap; } }
@media (max-width: 359px) { .top .mark { font-size: 0; gap: 0; } }
@media (max-width: 399px) { html[lang="en"] body[data-site="cheetah"] .top .mark { font-size: 0; gap: 0; } }
@media (prefers-reduced-motion: reduce) { .wipe > span > span { transform: none; transition: none; } .hero::after { animation: none; } }

/* 폰 — 9:19, 상태바·앱 헤더·내용·탭바·홈 인디케이터 */
.phone { width: 190px; aspect-ratio: 9 / 19; background: #fff; border: 6px solid #1b1e24; border-radius: 30px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.4); font-size: 11px; line-height: 15px; color: #1a1d21; position: relative; display: flex; flex-direction: column; }
.phone .status { display: flex; justify-content: space-between; align-items: center; padding: 8px 14px 2px; font-size: 11px; font-weight: 600; }
.phone .status::before { content: ''; position: absolute; left: 50%; top: 6px; width: 60px; height: 16px; margin-left: -30px; border-radius: 10px; background: #1b1e24; }
.phone .sig { display: inline-flex; gap: 2px; align-items: flex-end; }
.phone .sig i { width: 3px; background: #1a1d21; border-radius: 1px; height: 5px; }
.phone .sig i:nth-child(2) { height: 8px; } .phone .sig i:nth-child(3) { height: 11px; }
.phone .pbody { padding: 10px 12px; flex: 1; }
.phone .head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.phone .head b { font-size: 15px; } .phone .head em { font-style: normal; color: #667085; font-size: 10px; }
.phone .ptiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 8px; }
.phone .ptiles div { border: 1px solid #e5e3dd; border-radius: 8px; padding: 6px 8px; }
.phone .ptiles em { display: block; font-style: normal; font-size: 9px; color: #667085; }
.phone .ptiles b { font-size: 14px; }
.phone table { width: 100%; border-collapse: collapse; }
.phone th, .phone td { text-align: left; padding: 6px 4px; border-bottom: 1px solid #e5e3dd; white-space: nowrap; }
.phone th { font-size: 10px; color: #667085; font-weight: 600; }
.phone .badge { display: inline-block; padding: 0 6px; border-radius: 999px; font-size: 10px; line-height: 14px; font-weight: 600; background: #eef0f3; color: #4b5563; }
.phone .badge.ok { background: #e6f6ee; color: #0f5f37; } .phone .badge.warn { background: #fdf1e0; color: #7a4200; } .phone .badge.bad { background: #fde8e8; color: #7f1d1d; }
.phone .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #e5e3dd; padding: 6px 4px 2px; font-size: 8px; color: #667085; text-align: center; }
.phone .tabbar span { display: grid; justify-items: center; gap: 3px; white-space: nowrap; overflow: hidden; }
.phone .tabbar i { width: 14px; height: 14px; border-radius: 4px; background: #c7cad1; }
.phone .tabbar span.on { color: var(--accent); } .phone .tabbar span.on i { background: var(--accent); }
.phone .home { width: 60px; height: 4px; border-radius: 2px; background: #1b1e24; margin: 6px auto 6px; }
/* 숫자 카드 스파크라인 — 선이 그어진다 */
.app .kpi { position: relative; }
.app .spark { position: absolute; right: 10px; bottom: 10px; width: 58px; height: 18px; }
.app .spark polyline { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: calc(80 * (1 - clamp(0, (var(--p, 1) - .82 - var(--k) * .02) * 8, 1))); opacity: .8; }

/* 완성된 ERP — 왼쪽 메뉴, 숫자, 막대·도넛 그래프, 최근 변경, 표. 밝은 제품 화면이라 색을 고정한다 */
.app { --sfg: #1a1d21; --smuted: #667085; --sline: #e5e3dd; --ssv: #fbfaf7; color: var(--sfg); background: #f4f4f1; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; display: grid; grid-template-columns: 180px minmax(0, 1fr); font-size: 13px; line-height: 18px; box-shadow: 0 40px 100px rgba(0,0,0,.55); text-align: left; }
.app .side { background: #1c1f26; color: #c9ccd3; padding: 16px 12px; display: flex; flex-direction: column; gap: 18px; }
.app .logo { color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; padding: 0 6px; white-space: nowrap; }
.app .logo i { width: 22px; height: 22px; border-radius: 6px; background: var(--accent); flex: none; }
.app nav { display: grid; gap: 2px; }
.app nav a { padding: 7px 10px; border-radius: 6px; color: #c9ccd3; white-space: nowrap; }
.app nav a.on { background: rgba(255,255,255,.1); color: #fff; font-weight: 600; }
.app .me { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 12px; padding: 0 6px; white-space: nowrap; }
.app .me i { width: 20px; height: 20px; border-radius: 50%; background: #5b6470; flex: none; }
.app .main { padding: 14px 18px 18px; display: grid; gap: 12px; min-width: 0; align-content: start; }
.app .topbar { display: flex; align-items: center; gap: 12px; }
.app .topbar b { font-size: 16px; }
.app .search { margin-left: auto; border: 1px solid var(--sline); background: #fff; border-radius: 6px; padding: 4px 10px; color: var(--smuted); font-size: 12px; min-width: 150px; }
.app .who { color: var(--smuted); font-size: 12px; white-space: nowrap; }
.app .kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.app .kpi { background: #fff; border: 1px solid var(--sline); border-radius: 8px; padding: 10px 12px; min-width: 0; }
.app .kpi em { display: block; font-style: normal; color: var(--smuted); font-size: 11px; white-space: nowrap; }
.app .kpi b { display: block; font-size: 18px; line-height: 24px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.app .kpi i { font-style: normal; font-size: 11px; color: #0f5f37; }

@media (max-width: 719px) {
  .app { grid-template-columns: 1fr; } .app .side { display: none; }
  .app .kpis { grid-template-columns: 1fr 1fr; }
  .app .search { display: none; }
}

/* ── 2026-09-11 비버모드 중심 — 히어로 장면(.bm), 이렇게 말하면 됩니다(.says), 하나씩 자라는 화면(.grow), 이렇게 씁니다(ol.steps), 마감 카드(.close), FAQ 검색 ── */
.hero.bmh { min-height: 0; display: block; padding: 88px 0 72px; }
.hero.bmh .mascot { top: -24px; width: 380px; }   /* 홈·랜딩은 아래 장면(.bm)이 있어 조금 더 크게 세운다 */
.hero.bmh .cue { display: none; }
@media (max-width: 1180px) { .hero.bmh .mascot { width: 300px; } }

/* 장면 — 왼쪽 ERP, 오른쪽 대화창 띠. 말이 세 번 오가고(--t 담당자, --r 비버) 그때마다 화면이 바뀐다 */
.bm { --t1: .5s; --r1: 2s; --t2: 3.9s; --r2: 5.4s; --t3: 7.3s; --r3: 8.8s;
      margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; border: 1px solid var(--line-2); border-radius: 14px; background: #fff; box-shadow: 0 30px 80px var(--shadow); text-align: left; }
.bm-app { position: relative; min-width: 0; }
.bm .app { border: 0; border-radius: 14px 0 0 14px; box-shadow: none; height: 100%; }
.bm .app .kpis { grid-template-columns: repeat(3, 1fr); }
.bm .app .side { padding-top: 18px; }
.bm .app .main { padding-bottom: 22px; }
.bm .app .tbl { overflow: visible; }
@keyframes colin { from { opacity: 0; background: #dce6ff } to { opacity: 1; background: #eef4ff } }
@keyframes swap { to { opacity: 1 } } @keyframes swapout { to { opacity: 0 } }
.bm-chat { display: flex; flex-direction: column; border-left: 1px solid #e3dccd; background: #fff; border-radius: 0 14px 14px 0; overflow: hidden; font-size: 13px; line-height: 20px; color: #191919; min-width: 0; }
.bm-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #e3dccd; background: #fbf8f3; }
.bm-head .av { width: 32px; height: 32px; }
.bm-head .t b { display: block; font-size: 14px; line-height: 18px; }
.bm-head .t span { display: block; font-size: 12px; color: #5b5956; line-height: 16px; }
.bm-head .t span::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #2ea06e; margin: 0 6px 1px 0; vertical-align: middle; }
.bm-body { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.bm-row { display: flex; gap: 8px; align-items: flex-start; }
.bm-row.me { flex-direction: row-reverse; }
.bm-row .av { width: 30px; height: 30px; flex: none; } .bm-row .pv { border-radius: 50%; }
.bm-row .col { min-width: 0; max-width: calc(100% - 38px); display: flex; flex-direction: column; align-items: flex-start; }
.bm-row.me .col { align-items: flex-end; }
.bm-row .who { font-size: 12px; color: #5b5956; margin: 0 0 3px 2px; }
.bm-row .bub { display: inline-block; padding: 7px 12px; border-radius: 14px; border-top-left-radius: 4px; background: #fbf8f3; border: 1px solid #e3dccd; text-align: left; }
.bm-row.me .bub { background: rgba(255,198,41,.34); border-color: rgba(255,198,41,.34); border-radius: 14px; border-top-right-radius: 4px; }
.bm-row .tm { font-size: 11px; color: #938f89; margin: 3px 4px 0; line-height: 14px; }
.bm-foot { border-top: 1px solid #e3dccd; padding: 10px; display: flex; gap: 8px; align-items: center; }
.bm-foot .ta { flex: 1; border: 1px solid #e3dccd; border-radius: 10px; padding: 7px 12px; color: #938f89; }
.bm-foot .ta::after { content: ''; display: inline-block; width: 1px; height: 14px; background: #191919; margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(2) infinite; }
.bm-foot .go { background: var(--accent); color: var(--on-accent); border-radius: 8px; padding: 7px 14px; font-weight: 600; }
@keyframes blink { to { opacity: 0 } }
.bm .phone { position: absolute; right: 14px; bottom: -30px; width: 140px; transform: rotate(-4deg); }
/* 박자 — .in 이 붙으면 시작. 그 전엔 말풍선·새 열·폰·새 배지가 없다 */
.bm .bm-row, .bm td.hl, .bm th.hl, .bm .phone, .bm .sw .badge:last-child, .bm .bm-row.me .tm { opacity: 0; }
.bm .bm-row { transform: translateY(6px); }
.bm.in .bm-row { animation: bmsay .35s cubic-bezier(.2,.7,.2,1) forwards; }
.bm.in .bm-row.me .tm { animation: bmfade .3s forwards; }
.bm.in .t1 { animation-delay: var(--t1); } .bm.in .t1 .tm { animation-delay: calc(var(--t1) + .9s); } .bm.in .r1 { animation-delay: var(--r1); }
.bm.in .t2 { animation-delay: var(--t2); } .bm.in .t2 .tm { animation-delay: calc(var(--t2) + .9s); } .bm.in .r2 { animation-delay: var(--r2); }
.bm.in .t3 { animation-delay: var(--t3); } .bm.in .t3 .tm { animation-delay: calc(var(--t3) + .9s); } .bm.in .r3 { animation-delay: var(--r3); }
.bm.in td.hl, .bm.in th.hl { animation: colin .6s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--r1) + .25s); }
.bm.in .phone { animation: bmphone .6s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--r2) + .25s); }
.bm .sw { position: relative; display: inline-grid; } .bm .sw .badge { grid-area: 1 / 1; white-space: nowrap; }
.bm.in .sw .badge:last-child { animation: swap .4s ease forwards; animation-delay: calc(var(--r3) + .25s); }
.bm.in .sw .badge:first-child { animation: swapout .4s ease forwards; animation-delay: calc(var(--r3) + .25s); }
@keyframes bmsay { to { opacity: 1; transform: none } }
@keyframes bmfade { to { opacity: 1 } }
@keyframes bmphone { from { opacity: 0; transform: translateY(40px) rotate(-4deg) } to { opacity: 1; transform: rotate(-4deg) } }

/* 이렇게 말하면 됩니다 — 말풍선 둘이 한 카드 */
.says { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.say { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 21px; }

@media (max-width: 899px) {
  .bm { grid-template-columns: 1fr; }
  .bm .app { border-radius: 14px 14px 0 0; }
  .bm-chat { border-left: 0; border-top: 1px solid #e3dccd; border-radius: 0 0 14px 14px; }
  .bm .phone { display: none; }
}
@media (max-width: 719px) {
  .hero.bmh { padding: 56px 0 56px; }
  .bm { margin-top: 36px; }
  .bm .app .kpis { grid-template-columns: 1fr 1fr; } .bm .app .kpi:nth-child(3) { display: none; }
  .bm .app .tbl { overflow-x: auto; }   /* 여섯 열이 350px 에 들어오게 글자·여백을 줄이고, 그래도 넘치면 옆으로 민다 */
  .bm .app th, .bm .app td { padding: 6px 5px; font-size: 11px; } .bm .app .badge { padding: 1px 5px; font-size: 10px; }
  .bm .app .opt, .grow .app .opt { display: none; }   /* 폰에선 덜 중요한 열(words.py 의 'opt')을 감춘다 — 「새 열」이 보여야 한다 */
  .grow .app .tbl { overflow-x: auto; } .grow .app th, .grow .app td { padding: 6px 5px; font-size: 11px; } .grow .app .badge { padding: 1px 5px; font-size: 10px; }
  .says { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .grow .scr *, .grow .scr > * { animation: none !important; }
  .grow .gk, .grow .phone.gk { opacity: 1; transform: none; } .grow .un { opacity: 0; } .gs { --a: 1; } .grow .scr, .grow nav a.nv { --a: 0; } .grow .scr.s5, .grow nav a.s5 { --a: 1; }   /* 다 자란 화면(대시보드)만 */
  .bm .bm-row, .bm td.hl, .bm th.hl, .bm .bm-row.me .tm, .bm .sw .badge:last-child { opacity: 1; transform: none; animation: none; }
  .bm .phone { opacity: 1; animation: none; } .bm .sw .badge:first-child { opacity: 0; } .bm-foot .ta::after { animation: none; }
}

/* 한 번에 다 만들지 않습니다 — 고정 구간. --p(0→1)를 다섯 단계로 나눠 ERP 가 자란다.
   .gk(--s 단계)는 그 단계에 들어오고, .un(--u 단계)은 그 단계에 물러난다(배지가 글자를 대신하는 식). 단계 설명 .gs 는 자기 구간에서만 밝다 */
section.lead-in { padding-bottom: 0; }
section.lead-in .sub { margin-bottom: 0; }
.grow { height: 360vh; padding: 0; }
.grow .stick { position: sticky; top: 60px; height: calc(100vh - 60px); display: grid; grid-template-rows: auto minmax(0, 1fr); justify-items: center; align-items: start; padding-top: 28px; box-sizing: border-box; overflow: hidden; }
/* 제목은 고정 구간 안에(2026-09-20 길록) — 화면이 다섯 단계로 바뀌는 내내 「한 번에 다 만들지 않습니다」가 위에 서 있다. 전엔 앞 절(.lead-in)에 있어 붙자마자 흘러갔다 */
.grow .ghead { width: min(var(--col), 100%); padding: 0 var(--gut); box-sizing: border-box; margin-bottom: 20px; }
.grow .ghead h2 { margin-bottom: 8px; }
.grow .ghead .sub { margin-bottom: 0; }   /* 위에 붙인다(2026-09-11 길록) — 들어갈 때 제목과 화면 사이가 안 빈다 */   /* 60px = 붙어 있는 머리(.bar) 높이 — 그 아래에 선다 */
.grow .stage { width: min(var(--col), 100%); height: 100%; container-type: size; padding: 0 var(--gut); display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 36px; align-items: center; }   /* 제목 아래 남은 높이를 다 차지하고(container) 모형은 그 안에서 잘린다 — 넘쳐서 제목을 덮거나 밖으로 나가지 않는다 */
.grow .app, .grow .web { max-height: 100cqh; }   /* 모형이 남은 높이보다 크면 제 틀 안에서 아래가 잘린다(치타 모형은 자연 높이가 크다) */
.grow .stage > * { min-width: 0; }
.gs-list { display: grid; gap: 6px; }
.gs { --a: 0; padding: 12px 14px; border-left: 2px solid var(--line); position: relative; }
.gs::before { content: ''; position: absolute; left: -2px; top: 0; bottom: 0; width: 2px; background: var(--accent2); transform: scaleY(var(--a)); transform-origin: top; }
.gs b { display: block; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--accent2); opacity: calc(.45 + var(--a) * .55); }
.gs span { display: block; font-size: 17px; line-height: 24px; font-weight: 600; color: var(--fg); opacity: calc(.4 + var(--a) * .6); }
.gs em { display: block; font-style: normal; font-size: 14px; line-height: 20px; color: var(--muted); margin-top: 3px; opacity: var(--a); max-height: calc(var(--a) * 40px); overflow: hidden; }
.gs em::before { content: '「'; } .gs em::after { content: '」'; }
.gs .from { display: inline-block; margin-top: 8px; font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .02em; color: var(--accent2-text); background: var(--accent2-container); border-radius: 999px; padding: 2px 9px; opacity: var(--a); max-height: calc(var(--a) * 24px); overflow: hidden; }
/* 경계는 .2·.4·.6·.8 하나 — 화면·캡션·메뉴·사람 수·폰이 같은 자리에서 바뀐다(전엔 화면이 .17, 메뉴가 .2 라 어긋났다, 2026-09-11 길록 「균일하지 않다」).
   나가는 쪽은 경계 앞 .04 동안 사라지고, 들어오는 쪽은 경계 .02 앞부터 .04 동안 들어온다 — 빈 순간이 없다 */
.grow .s1 { --a: clamp(0, calc((.2 - var(--p, 0)) * 25), 1); }
.grow .s2 { --a: clamp(0, calc(min((var(--p, 0) - .18) * 25, (.4 - var(--p, 0)) * 25)), 1); }
.grow .s3 { --a: clamp(0, calc(min((var(--p, 0) - .38) * 25, (.6 - var(--p, 0)) * 25)), 1); }
.grow .s4 { --a: clamp(0, calc(min((var(--p, 0) - .58) * 25, (.8 - var(--p, 0)) * 25)), 1); }
.grow .s5 { --a: clamp(0, calc((var(--p, 0) - .78) * 25), 1); }
.gs-app { position: relative; }
/* 본문은 다섯 화면이 한 자리에 겹쳐 있고, 자기 단계에서만 보인다 — 메뉴가 들어오면 화면이 그 메뉴로 넘어간다(2026-09-11 길록) */
.grow .app .main { grid-template-columns: 100%; }
.grow .scr { grid-area: 1 / 1; display: grid; gap: 12px; align-content: start; min-width: 0; opacity: var(--a, 0); transform: translateY(calc((1 - var(--a, 0)) * 14px)); }
.grow nav a.nv { background: rgba(255,255,255, calc(var(--a, 0) * .1)); color: color-mix(in srgb, #fff calc(var(--a, 0) * 100%), #c9ccd3); }
.app .kpis.n2 { grid-template-columns: repeat(2, 1fr); max-width: 62%; }
.app .kpis.n3 { grid-template-columns: repeat(3, 1fr); }
.app .card > em { display: block; font-style: normal; font-weight: 600; font-size: 12px; color: var(--smuted); margin: 0 0 6px; }
.grow .app { box-shadow: 0 30px 80px var(--shadow); }
.grow .gk { --at: calc((var(--s) - 1) * .2); --g: clamp(0, calc((var(--p, 0) - var(--at) + .02) * 25), 1); opacity: var(--g); transform: translateY(calc((1 - var(--g)) * 8px)); }   /* 메뉴·사람 수·폰 — 화면과 같은 경계·같은 폭 */
.grow tr.gk { transform: none; } .grow tr.gk td { border-bottom-color: color-mix(in srgb, var(--sline) calc(var(--g) * 100%), transparent); }   /* 접힌 표(border-collapse)는 줄이 행 투명도를 안 따라가서 줄 색을 따로 잇는다 */
.grow .un { --ut: calc((var(--u) - 1) * .2); opacity: clamp(0, calc((var(--ut) - var(--p, 0)) * 25), 1); }
.grow .un.gk { opacity: min(var(--g), clamp(0, calc((var(--ut) - var(--p, 0)) * 25), 1)); }
/* 스크롤 걸음(휠 한 칸) 사이를 transition 이 잇는다 — --p 는 뚝뚝 바뀌어도 눈에는 흐른다 */
.grow .scr, .grow .gk, .grow .un, .grow .gs b, .grow .gs span, .grow .gs em, .grow .gs .from, .grow .gs::before, .grow nav a.nv, .grow .web .wnav a.nv, .grow tr.gk td { transition: opacity .55s ease, transform .55s ease, background-color .55s ease, color .55s ease, max-height .55s ease, border-color .55s ease; }
.grow .sw { position: relative; display: inline-grid; } .grow .sw > * { grid-area: 1 / 1; white-space: nowrap; }
.grow .users { display: inline-grid; } .grow .users i { grid-area: 1 / 1; font-style: normal; font-weight: 600; color: var(--sfg); }
.grow .who { display: inline-flex; gap: 4px; }
.app .row { display: grid; grid-template-columns: 5fr 3fr; gap: 10px; }
.app .bars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; align-items: end; height: 72px; margin-bottom: 18px; }
.app .bars span { position: relative; height: calc(var(--h) * 100%); background: var(--accent); border-radius: 4px 4px 0 0; }
.app .bars span:last-child { background: var(--accent2); }
.app .bars span i { position: absolute; top: 100%; left: 0; right: 0; text-align: center; font-style: normal; font-size: 10px; color: var(--smuted); margin-top: 4px; }
.app .recent .lg { display: grid; gap: 1px; margin-bottom: 6px; font-size: 12px; }
.app .recent .lg span { font-weight: 600; white-space: nowrap; }
.app .recent .lg em { font-style: normal; color: var(--smuted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.grow .phone { position: absolute; right: -16px; bottom: -40px; width: 150px; transform: rotate(-5deg); }
.grow .phone.gk { --at: calc((var(--s) - 1) * .2 + .06); transform: translateY(calc((1 - var(--g)) * 60px)) rotate(-5deg); }   /* 폰은 그 단계의 표가 다 선 뒤에 */

/* 화면은 통째로 페이드가 아니라 조각으로 선다(2026-09-11 길록 「오른쪽 화면이 쪼개져서 그럴싸하게」) — site.js 가 단계에 들어설 때 data-stage 를 바꾸고,
   그 단계 화면의 조각들이 순서대로 올라온다: 상단바 → 타일 줄 → 카드 → 표의 행. 되돌아와도 다시 논다. 지연은 ms — 층마다 --d1(첫째 층)·--d2(타일·카드)·--d3(행) */
.grow .scr { --an: none; --an-row: none; }
.grow[data-stage="1"] .scr.s1, .grow[data-stage="2"] .scr.s2, .grow[data-stage="3"] .scr.s3, .grow[data-stage="4"] .scr.s4, .grow[data-stage="5"] .scr.s5 { --an: rise; --an-row: fade; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes fade { from { opacity: 0; } }
.grow .scr > *, .grow .scr .kpis > .kpi, .grow .scr .row > .card, .grow .scr .wrow > *, .grow .scr .wrow3 > *, .grow .scr .pics > i { animation: var(--an) .55s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--d3, var(--d2, var(--d1, 0))) * 1ms); }
.grow .scr tbody > tr, .grow .scr .bars > span, .grow .scr .recent > .lg, .grow .scr .form > * { animation: var(--an-row) .45s ease both; animation-delay: calc(var(--d3, 0) * 1ms); }
.grow .scr > :nth-child(1) { --d1: 0; } .grow .scr > :nth-child(2) { --d1: 90; } .grow .scr > :nth-child(3) { --d1: 180; } .grow .scr > :nth-child(4) { --d1: 270; } .grow .scr > :nth-child(5) { --d1: 360; } .grow .scr > :nth-child(6) { --d1: 450; }
.grow .scr .kpis > .kpi, .grow .scr .row > .card, .grow .scr .wrow > *, .grow .scr .wrow3 > *, .grow .scr .pics > i { --d2: calc(var(--d1, 0) + var(--c, 0) * 70); }
.grow .scr :nth-child(2) { --c: 1; } .grow .scr :nth-child(3) { --c: 2; } .grow .scr :nth-child(4) { --c: 3; }
.grow .scr tbody > tr, .grow .scr .bars > span, .grow .scr .recent > .lg, .grow .scr .form > * { --d3: calc(var(--d2, var(--d1, 0)) + 80 + var(--r, 0) * 40); }
.grow .scr tbody > tr:nth-child(2), .grow .scr .bars > span:nth-child(2), .grow .scr .lg:nth-child(3), .grow .scr .form > :nth-child(2) { --r: 1; }
.grow .scr tbody > tr:nth-child(3), .grow .scr .bars > span:nth-child(3), .grow .scr .lg:nth-child(4), .grow .scr .form > :nth-child(3) { --r: 2; }
.grow .scr tbody > tr:nth-child(4), .grow .scr .bars > span:nth-child(4), .grow .scr .form > :nth-child(4) { --r: 3; }
.grow .scr tbody > tr:nth-child(5), .grow .scr .bars > span:nth-child(5) { --r: 4; }
.grow .scr tbody > tr:nth-child(6), .grow .scr .bars > span:nth-child(6) { --r: 5; }
.grow .scr tbody > tr:nth-child(7) { --r: 6; } .grow .scr tbody > tr:nth-child(8) { --r: 7; } .grow .scr tbody > tr:nth-child(9) { --r: 8; }

/* 이렇게 씁니다 · 첫 달 수습(요금제) — 번호 목록 */
ol.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
ol.steps li { display: flex; gap: 14px; align-items: flex-start; border-top: 1px solid var(--line); padding-top: 20px; }
ol.steps .n { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 13px; font-weight: 700; }
ol.steps h3 { font-size: 19px; line-height: 27px; margin: 1px 0 6px; }
ol.steps p { color: var(--muted); font-size: 15px; line-height: 24px; margin: 0; }

/* 마감 — 값·이유·CTA. 흰 카드였던 것을 2026-09-20 에 잉크 절로 뒤집었다(회사 사이트가 이렇게 끝난다).
   페이지가 종이로 시작해 잉크로 닫힌다 — 넷이 같은 방식으로 끝난다. */
section.last { padding: 104px 0; margin-top: 40px; background: var(--fg); color: var(--bg); }
.close { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px 48px; align-items: center; }
.close .k { display: block; font-size: 14px; font-weight: 600; color: var(--on-ink); letter-spacing: .02em; margin-bottom: 8px; }
.close h2 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 8px; font-variant-numeric: tabular-nums; color: #fff; }
.close .note { color: rgba(246,239,228,.72); max-width: 440px; margin: 0 0 28px; }
.close .cta { margin: 0; }
.close .btn { background: var(--bg); color: var(--fg); border-color: var(--bg); }
.close .btn:hover { background: #fff; color: var(--fg); }
.close .btn.ghost { background: transparent; color: var(--bg); border-color: rgba(246,239,228,.4); }
.close .btn.ghost:hover { background: rgba(255,255,255,.08); }
.close a:not(.btn) { color: var(--on-ink); }
.close .r { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.close .r li { display: grid; gap: 2px; padding-left: 26px; position: relative; }
.close .r li::before { content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2.5px solid var(--on-ink); border-bottom: 2.5px solid var(--on-ink); transform: rotate(-45deg); }
.close .r b { font-size: 16px; color: #fff; }
.close .r span { color: rgba(246,239,228,.65); font-size: 14px; line-height: 22px; }
.close .bv { position: absolute; right: 28px; top: -150px; width: 150px; height: auto; pointer-events: none; }   /* 동물은 잉크 절 위 종이 쪽에 선다 — 경계에 걸치지 않게 */


/* FAQ 검색 — 글자를 치면 맞는 것만 남고 펼쳐진다(pricing.html 의 스크립트) */
.faq-search { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; padding: 0 14px; margin: 0 0 20px; color: var(--muted); }
.faq-search:focus-within { border-color: var(--accent2); box-shadow: 0 0 0 3px rgba(122,74,42,.12); }
.faq-search input { flex: 1; font: inherit; font-size: 16px; line-height: 24px; padding: 11px 0; border: 0; background: none; color: var(--fg); min-width: 0; }
.faq-search input:focus { outline: none; }
.faq details[hidden] { display: none; }
.faq-none { color: var(--muted); margin: 16px 0 0; }

@media (max-width: 899px) {
  .grow { height: 320vh; }
  .grow .stage { grid-template-columns: 1fr; gap: 16px; align-content: start; }   /* 위에서부터 — center 면 넘치는 모형이 위로도 밀려 제목을 덮는다 */
  .grow .ghead { margin-bottom: 14px; } .grow .ghead .sub { font-size: 15px; line-height: 1.5; }
  /* 폰: 다섯 칸 진행선(몇 개월차만) + 그 아래 한 줄에 지금 단계 제목이 겹쳐서 갈아든다 */
  .gs-list { grid-template-columns: repeat(5, 1fr); gap: 4px; position: relative; padding-bottom: 30px; }
  .gs { padding: 6px 0 0; position: static; border-left: 0; border-top: 2px solid color-mix(in srgb, var(--accent2) calc(var(--a) * 100%), var(--line)); }
  .gs::before { display: none; }
  .gs b { font-size: 11px; }
  .gs span { position: absolute; left: 0; right: 0; bottom: 0; font-size: 16px; line-height: 24px; opacity: var(--a); }
  .gs em { display: none; } .gs .from { display: none; }
  .app .row { grid-template-columns: 1fr 1fr; }
  .app .kpis.n2, .app .kpis.n3 { grid-template-columns: 1fr 1fr; max-width: none; }
  .grow .phone { display: none; }
  ol.steps { grid-template-columns: 1fr; gap: 18px; }
  .close { grid-template-columns: 1fr; padding: 32px 24px 28px; gap: 24px; }
  .close .bv { width: 110px; top: -58px; right: 16px; }
}

/* ── 치타Web — 가게 홈페이지 모형(.web). 비버의 .app 자리에 선다: 히어로 장면(.bm)·자라는 화면(.grow) 박자를 그대로 쓴다(2026-09-11) ── */
.web { --sfg: #1a1d21; --smuted: #667085; --sline: #e5e3dd; --ssv: #fbfaf7; color: var(--sfg); background: #fff; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; font-size: 13px; line-height: 18px; text-align: left; min-width: 0; display: grid; grid-template-rows: auto 1fr auto; }
.web .wnav { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--sline); background: #fff; }
.web .wnav b { font-size: 14px; display: flex; align-items: center; gap: 8px; margin-right: auto; white-space: nowrap; }
.web .wnav b i { width: 18px; height: 18px; border-radius: 5px; background: var(--accent); flex: none; }
.web .wnav nav { display: flex; gap: 2px; }
.web .wnav a { font-size: 12px; color: var(--smuted); padding: 4px 9px; border-radius: 6px; white-space: nowrap; }
.web .wnav a.on { color: var(--sfg); font-weight: 600; background: var(--ssv); }
.web .wnav .who { font-size: 11px; color: var(--smuted); white-space: nowrap; margin-left: 6px; }
.web .wbody { padding: 14px 16px 16px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.web .whero { position: relative; background: linear-gradient(135deg, #fff1bf, #fbf8f3); border-radius: 10px; padding: 22px 20px 20px; overflow: hidden; }
.web .whero b { display: block; font-size: 22px; line-height: 28px; letter-spacing: -.02em; }
.web .whero span { color: var(--smuted); }
.web .whero .strip { display: block; font-style: normal; margin-top: 10px; font-size: 11px; font-weight: 600; color: #7a4200; background: #fdf1e0; border-radius: 6px; padding: 3px 8px; width: fit-content; }
.web .wrow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.web .wrow3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.web .card { background: #fff; border: 1px solid var(--sline); border-radius: 8px; padding: 10px 12px; min-width: 0; }
.web .card > em { display: block; font-style: normal; font-weight: 600; font-size: 12px; color: var(--smuted); margin: 0 0 6px; }
.web .mut { color: var(--smuted); font-size: 12px; }
.web .pics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.web .pics i { display: block; aspect-ratio: 4 / 3; border-radius: 6px; background: linear-gradient(135deg, #ece5d6, #d9d0bd); }
.web .map { height: 78px; border-radius: 6px; background: repeating-linear-gradient(45deg, #eef0f3 0 8px, #f6f7f9 8px 16px); position: relative; margin-bottom: 4px; }
.web .map::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -9px 0 0 -6px; border-radius: 50% 50% 50% 0; background: var(--accent2); transform: rotate(-45deg); }
.web .hours { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.web .form { display: grid; gap: 6px; }
.web .form i { display: block; height: 24px; border: 1px solid var(--sline); border-radius: 6px; background: var(--ssv); font-style: normal; font-size: 11px; color: var(--smuted); padding: 3px 8px; }
.web .form b { display: block; text-align: center; background: var(--accent); color: var(--on-accent); border-radius: 6px; padding: 4px; font-size: 12px; }
.web .serp b { display: block; color: #1a0dab; font-size: 13px; } .web .serp span { display: block; color: #0f5f37; font-size: 11px; } .web .serp p { margin: 2px 0 0; color: var(--smuted); font-size: 12px; line-height: 16px; }
.web .foot { padding: 9px 16px; border-top: 1px solid var(--sline); color: var(--smuted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bm .web { border: 0; border-radius: 14px 0 0 14px; height: 100%; }
.bm .web td.hl .badge { opacity: 1; }
.grow .web { box-shadow: 0 30px 80px var(--shadow); }
.grow .web .wbody { grid-template-columns: 100%; }
.grow .web .wnav a.nv { opacity: var(--g, 1); background: rgba(25,25,25, calc(var(--a, 0) * .06)); color: color-mix(in srgb, var(--sfg) calc(var(--a, 0) * 100%), var(--smuted)); }
.grow .web .users i { color: var(--sfg); }
/* 2026-09-26 — 모형 가게를 디자인된 사이트로(길록 「이 부분이 너무 디자인이 별로」 · 「한 번에 다 만들지 않습니다도 마찬가지」).
   말하려는 것(히어로: 한 줄에 바뀐다 / 자라는 절: 한 장이 다섯 단계로 자란다)은 그대로, 옷만 갈았다 — 회색 칸 대신 사진·큰 이름·가게 색 하나(짙은 초록) */
.web { --cafe: #1f3a2e; --cafe2: #e3ebe0; --sline: #ece8df; }
.web .wnav { padding: 12px 18px; }
.web .wnav b { letter-spacing: -.02em; }
.web .wnav b i { width: 20px; height: 20px; border-radius: 50%; background: var(--cafe); box-shadow: inset 0 0 0 5px var(--cafe2); }
.web .wnav a.on { background: var(--cafe2); color: var(--cafe); }
.web .wbody { padding: 14px 16px 16px; gap: 10px; }
.web .whero { display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; min-height: 118px; padding: 22px; border-radius: 12px; background: var(--cafe); color: #fff; isolation: isolate; }
.web .whero span { color: rgba(255,255,255,.72); font-size: 12px; }
.web .whero b { font-size: 30px; line-height: 1.08; letter-spacing: -.05em; font-weight: 800; }
.web .whero.ph { min-height: 148px; background-size: cover; background-position: center 58%; }
.web .whero.ph::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.58)); }
.web .whero .strip { margin-top: 12px; background: #fff; color: var(--cafe); font-size: 11px; border-radius: 999px; padding: 3px 10px; }
.web .card { border: 0; background: #f7f5f0; border-radius: 10px; padding: 12px 14px; }
.web .card > em { font-size: 11px; color: #8a8579; margin-bottom: 6px; }
.web .pics { gap: 8px; }
.web .pics img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.web .wmap { display: block; width: 100%; height: 78px; border-radius: 8px; margin-bottom: 6px; }
.web table { border: 0; border-radius: 0; background: none; }
.web th { background: none; padding: 0 2px 6px; font-size: 10.5px; }
.web th, .web td { border-bottom: 1px solid var(--sline); }
.web td { padding: 6px 2px; }
.web thead, .web tr:has(> th) { display: none; }   /* 칸 이름(「메뉴」)이 머리줄에 한 번 더 찍히던 것 — 칸마다 제목이 이미 있다 */
.web td.num { white-space: nowrap; }
.web .form i { height: 26px; background: #fff; border-color: var(--sline); border-radius: 8px; padding: 4px 9px; }
.web .form b { background: var(--cafe); color: #fff; border-radius: 8px; padding: 6px; }
.web .foot { background: #faf9f6; }
/* 히어로의 가게(.cafe) — 커버 위 큰 이름, 아래 원두·메뉴·약도. 공지 띠는 첫 답과 함께 내려온다 */
.web.cafe { display: flex; flex-direction: column; }
.cafe .cnote { max-height: 0; overflow: hidden; padding: 0 14px; background: var(--cafe); color: #fff; font-size: 12px; font-weight: 600; text-align: center; }
.bm.in .cafe .cnote { animation: cnote .6s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--r1) + .25s); }
@keyframes cnote { to { max-height: 40px; padding: 9px 14px; } }
.cafe .cv { position: relative; isolation: isolate; margin: 14px 16px 0; min-height: 214px; border-radius: 12px; background-size: cover; background-position: center 55%; color: #fff; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 20px 22px; }
.cafe .cv::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.6)); }
.cafe .cv-t em { display: block; font-style: normal; font-size: 12px; opacity: .82; margin-bottom: 6px; }
.cafe .cv-t b { display: block; font-size: clamp(30px, 3.4vw, 44px); line-height: 1; letter-spacing: -.055em; font-weight: 800; }
.cafe .cv-h { display: flex; align-items: center; gap: 6px; flex: none; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.32); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 12px; font-weight: 600; white-space: nowrap; }
.cafe .cv-h > i { width: 7px; height: 7px; border-radius: 50%; background: #7dffb0; }
.cafe .cv-h .badge { background: none; color: #fff; padding: 0; font-size: 12px; line-height: 16px; font-weight: 700; }
.cafe .cv-h .badge.ok { color: #ffd66b; }
.cafe .ct { flex: 1; display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 10px; padding: 10px 16px 16px; }
.cafe .cp { position: relative; margin: 0; min-height: 150px; border-radius: 10px; overflow: hidden; }
.cafe .cp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cafe .cp figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 12px 10px; color: #fff; font-weight: 700; font-size: 13px; background: linear-gradient(transparent, rgba(0,0,0,.62)); }
.cafe .cp figcaption em { display: block; font-style: normal; font-weight: 500; font-size: 11px; opacity: .82; }
.cafe .cm, .cafe .cmap { background: #f7f5f0; border-radius: 10px; }
.cafe .cm { padding: 12px 14px; }
.cafe .cm em { display: block; font-style: normal; font-size: 11px; color: #8a8579; margin-bottom: 2px; }
.cafe .cm ul { list-style: none; margin: 0; padding: 0; }
.cafe .cm li { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; border-bottom: 1px solid var(--sline); white-space: nowrap; }
.cafe .cm li:last-child { border-bottom: 0; }
.cafe .cm li b { font-weight: 600; font-variant-numeric: tabular-nums; }
.cafe .cmap { padding: 8px; display: flex; flex-direction: column; }
.cafe .cmap .wmap { flex: 1; height: auto; min-height: 72px; margin: 0; }
.cafe .cmap p { margin: 8px 4px 2px; font-size: 11.5px; line-height: 1.45; color: var(--smuted); }
.cafe .cmap p b { display: block; font-size: 12.5px; color: var(--sfg); }
/* 폰 — 같은 가게 */
.pcafe .pbody { padding: 0; }
.pcafe .pcv { position: relative; isolation: isolate; height: 120px; background-size: cover; background-position: center; display: flex; align-items: flex-end; padding: 10px 12px; color: #fff; }
.pcafe .pcv::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 35%, rgba(0,0,0,.6)); }
.pcafe .pcv b { font-size: 17px; letter-spacing: -.045em; font-weight: 800; }
.pcafe .pch { display: flex; align-items: center; gap: 6px; margin: 10px 12px 2px; font-size: 11px; color: #667085; }
.pcafe .pch i { width: 6px; height: 6px; border-radius: 50%; background: #2ea06e; }
.pcafe .pch b { color: #1a1d21; font-size: 12px; }
.pcafe .pmenu { list-style: none; margin: 4px 12px 0; padding: 0; }
.pcafe .pmenu li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid #ece8df; }
.pcafe .pmenu li b { font-weight: 600; }
@media (max-width: 719px) {
  .cafe .cv { min-height: 180px; flex-direction: column; align-items: flex-start; justify-content: flex-end; }
  .cafe .ct { grid-template-columns: 1fr 1fr; } .cafe .cp { grid-column: 1 / -1; min-height: 130px; }
}
@media (prefers-reduced-motion: reduce) { .bm .cafe .cnote { max-height: 40px; padding: 9px 14px; animation: none; } }
@media (max-width: 899px) {
  .web .wrow3 { grid-template-columns: 1fr 1fr; } .web .wnav .who { display: none; }
}
@media (max-width: 719px) {
  .web .wrow, .web .wrow3 { grid-template-columns: 1fr; } .web .pics { grid-template-columns: repeat(3, 1fr); } .web .pics i:nth-child(4) { display: none; }
  .web .wnav { flex-wrap: wrap; gap: 6px 4px; } .web .wnav nav { flex-wrap: wrap; }
  .web th, .web td { padding: 6px 5px; font-size: 11px; } .web .whero b { font-size: 18px; line-height: 24px; }
}

/* ── 치타 템플릿 갤러리(.tpl, 2026-09-26) — 거르는 단추 + 카드 열넷. 카드는 썸네일·이름·업종 셋만(같은 날 저녁 덜었다 — 색 점·영문 이름·한 줄·단추가
   열네 장에서 다 소리를 냈다). 앞 두 벌은 여섯 칸 중 셋씩, 나머지 열둘은 둘씩 — 2 + 3×4 로 줄이 딱 맞는다.
   썸네일은 페이지 전체를 세로로 찍은 것이라 올려 두면 object-position 이 아래까지 천천히 내려간다. 카드 전체가 미리 보기(site.js) */
.tpl-f { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 28px; }
.tpl-f button { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--fg); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.tpl-f button:hover { background: var(--card); }
.tpl-f button.on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.tpl-g { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 24px; row-gap: 36px; }
.tp { grid-column: span 2; cursor: pointer; }
.tpl:not(.picked) .tp:nth-child(-n+2) { grid-column: span 3; }
.tp[hidden] { display: none; }
.tp-shot { display: block; width: 100%; aspect-ratio: 16 / 10; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--card-2); overflow: hidden; cursor: pointer; transition: border-color .2s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease); }
.tp-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: object-position 1.2s var(--ease); }
.tp:hover .tp-shot { border-color: var(--line-2); box-shadow: 0 20px 40px -24px var(--shadow); transform: translateY(-3px); }
.tp:hover .tp-shot img, .tp-shot:focus-visible img { object-position: 50% 100%; transition: object-position 7s linear; }
.tp h3 { margin: 14px 0 0; font-size: 17px; line-height: 1.4; letter-spacing: -.02em; }
.tp p { margin: 2px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.tpl-more { margin: 40px 0 0; font-size: 16px; color: var(--muted); }
.tpl-more a { color: var(--fg); font-weight: 600; text-underline-offset: 4px; }
@media (max-width: 959px) { .tpl-g { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; row-gap: 28px; } .tp, .tpl:not(.picked) .tp:nth-child(-n+2) { grid-column: span 1; } }
@media (max-width: 599px) {   /* 폰은 행 카드 — 왼쪽 썸네일, 오른쪽 이름·업종 */
  .tpl-f button { height: 34px; padding: 0 13px; font-size: 13px; }
  .tpl-g { grid-template-columns: 1fr; row-gap: 12px; }
  .tp { display: grid; grid-template-columns: 112px 1fr; column-gap: 14px; align-items: center; }
  .tp-shot { grid-row: span 2; aspect-ratio: 4 / 3; border-radius: 10px; }
  .tp h3 { margin: 0; align-self: end; font-size: 16px; }
  .tp p { align-self: start; font-size: 13px; }
  .tpl-more { margin-top: 28px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .tp-shot, .tp-shot img, .tp:hover .tp-shot img { transition: none; } .tp:hover .tp-shot { transform: none; } }

/* ── 쓰는 곳 실측(.tally + .cases) — 한 덩어리(2026-09-23 다시). 날마다 막대 + 문장 속 숫자 셋, 아래 이름 없는 카드 둘 ── */
.tally { margin-top: 44px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px 32px 28px; display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 18px 48px; align-items: center; }
.tally .lab { grid-column: 1 / -1; display: block; font-style: normal; font-size: 13px; color: var(--muted); }
.tally .tl em { display: block; font-style: normal; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.tally .bars { display: flex; align-items: flex-end; gap: 4px; height: 92px; border-bottom: 1px solid var(--line); }
.tally .bars span { flex: 1 1 0; height: calc(var(--h) * 100%); min-height: 2px; background: var(--accent); border-radius: 3px 3px 0 0; }
.tally .ends { display: flex; justify-content: space-between; margin-top: 6px; }
.tally .ends i { font-style: normal; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tally .tr p { margin: 0; font-size: 19px; line-height: 38px; letter-spacing: -.01em; }
.tally .tr b { font-size: 28px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin: 0 1px; }
.cases { margin-top: 16px; }
.cases em { display: block; font-style: normal; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.cases .cs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cases .c { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px 26px; display: flex; flex-direction: column; }
.cases .c b { display: block; font-size: 17px; margin-bottom: 6px; }
.cases .c p { margin: 0; font-size: 15px; line-height: 25px; color: var(--muted); }
.cases .c p.n { margin-top: auto; padding-top: 14px; color: inherit; }
.cases .c p.n strong { font-size: 22px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cases .c p.n span { font-size: 14px; color: var(--muted); }
.cases .c-f { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cases .c-f p.n { margin: 0; padding: 0; }
.cases .c-demo { height: 40px; padding: 0 16px; font-size: 15px; }
/* 데모 모달 — 화면을 거의 다 쓴다(업무 화면이라 좁으면 모양이 안 산다). 폰은 꽉 채운다 */
.demo { position: fixed; inset: 0; z-index: 9050; background: rgba(25,25,25,.45); display: grid; place-items: center; padding: 24px; }
.demo[hidden] { display: none; }
.demo-box { width: min(1280px, 100%); height: min(860px, 100%); background: var(--card); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 24px 60px rgba(25,25,25,.25); }
.demo-h { display: flex; align-items: center; gap: 16px; padding: 12px 14px 12px 22px; border-bottom: 1px solid var(--line); }
.demo-h > div { flex: 1; min-width: 0; }
.demo-h b { display: block; font-size: 17px; }
.demo-h p { margin: 2px 0 0; font-size: 13px; line-height: 20px; color: var(--muted); }
.demo-h .btn { height: 40px; padding: 0 16px; font-size: 15px; white-space: nowrap; }
.demo-x { width: 40px; height: 40px; border: 0; background: none; font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer; border-radius: 10px; }
.demo-x:hover { background: var(--card-2); color: var(--fg); }
.demo iframe { flex: 1; width: 100%; border: 0; background: #fff; }
@media (max-width: 719px) { .demo { padding: 0; } .demo-box { border-radius: 0; height: 100%; } .demo-h { padding: 10px 8px 10px 16px; } .demo-h .btn { display: none; } .demo-h p { font-size: 12px; line-height: 18px; } }
@media (max-width: 719px) { .cases .cs { grid-template-columns: 1fr; } .cases .c { padding: 18px 20px; } }
@media (max-width: 719px) { .tally { grid-template-columns: 1fr; padding: 20px 20px 22px; } .tally .tr p { font-size: 17px; line-height: 32px; } .tally .tr b { font-size: 24px; } }

/* ── 무료 서식 도구(2026-09-30, static/doc.js · pages/tools/) ───────────────
   화면: 왼쪽 칸 · 오른쪽 A4 견본(좁으면 위아래). 인쇄: 견본 한 장만 A4 로 */
.dt-hero .lead { max-width: 720px; }
.doctool { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 28px; align-items: start; margin: 28px 0 0; }
.dt-form fieldset { border: 1px solid var(--line); border-radius: 12px; background: var(--card); padding: 12px 14px 14px; margin: 0 0 12px; min-width: 0; }
.dt-form legend { font-size: 14px; font-weight: 600; padding: 0 4px; }
.dt-form legend small { font-weight: 400; color: var(--faint); font-size: 12px; }
.dt-form label { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 8px; margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.dt-form input, .dt-form textarea { font: inherit; font-size: 14px; color: var(--fg); width: 100%; min-width: 0; box-sizing: border-box; padding: 7px 9px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; }
.dt-form textarea { resize: vertical; }
.dt-form input:focus, .dt-form textarea:focus { outline: 2px solid var(--accent-container); border-color: var(--accent); }
.dt-vat { display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--muted); margin: 4px 0 8px; flex-wrap: wrap; }
.dt-vat label { display: inline-flex; gap: 4px; margin: 0; grid-template-columns: none; color: var(--fg); }
.dt-vat input { width: auto; }
.dt-head, .dt-row { display: grid; grid-template-columns: 2fr 1fr .7fr 1fr 24px; gap: 4px; }
.dt-head span { font-size: 12px; color: var(--faint); }
.dt-row { margin: 4px 0 0; }
.dt-row input { padding: 6px 6px; font-size: 13px; }
.dt-del { border: 0; background: none; color: var(--faint); cursor: pointer; font-size: 18px; line-height: 1; padding: 0; }
.dt-del:hover { color: var(--bad); }
.dt-add { margin: 8px 0 0; border: 1px dashed var(--line-2); background: none; border-radius: 8px; padding: 6px 10px; font: inherit; font-size: 13px; color: var(--muted); cursor: pointer; width: 100%; }
.dt-add:hover { border-color: var(--accent); color: var(--accent); }
.dt-go { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 0; }
.dt-tip { font-size: 12px; color: var(--faint); margin: 8px 0 0; }
.dt-paper { position: sticky; top: 84px; background: var(--bg-2); border-radius: 14px; padding: 18px; }
.dt-sheet { background: #fff; color: #191919; aspect-ratio: 210 / 297; padding: 7% 7.5%; box-shadow: 0 1px 3px var(--shadow); font-size: 12px; line-height: 1.55; overflow: hidden; }
.dt-sheet h2 { text-align: center; font-size: 26px; letter-spacing: .2em; margin: 0 0 18px; padding: 0 0 10px; border-bottom: 3px double #191919; }
.dt-top { display: grid; grid-template-columns: 1fr 1.05fr; gap: 16px; align-items: start; }
.dt-to p { margin: 0 0 4px; }
.dt-who { font-size: 15px; margin: 6px 0 8px; border-bottom: 1px solid #191919; padding: 0 0 4px; }
.dt-lead { margin: 10px 0 0; }
.dt-sheet table { width: 100%; border-collapse: collapse; }
.dt-me caption { text-align: left; font-weight: 600; font-size: 11px; padding: 0 0 2px; }
.dt-me th, .dt-me td { border: 1px solid #191919; padding: 2px 5px; font-size: 11px; text-align: left; vertical-align: top; }
.dt-me th { width: 56px; background: #f3f1ed; font-weight: 500; }
.dt-in { float: right; color: #555; margin-left: 8px; }
.dt-go-m { display: none; }
.dt-faint { color: #938f89; }
.dt-sum { margin: 16px 0 8px; padding: 7px 10px; border: 1.5px solid #191919; font-size: 14px; font-weight: 600; }
.dt-sum span { font-weight: 400; font-size: 12px; }
.dt-items th, .dt-items td { border: 1px solid #191919; padding: 3px 5px; text-align: center; height: 18px; }
.dt-items thead th { background: #f3f1ed; font-weight: 600; font-size: 11px; }
.dt-items td.l { text-align: left; } .dt-items td.n { text-align: right; font-variant-numeric: tabular-nums; }
.dt-items tfoot th { background: #f3f1ed; }
.dt-note { margin: 10px 0 0; border: 1px solid #191919; padding: 5px 8px; }
.dt-note p { margin: 2px 0 0; }
.dt-sign { text-align: right; margin: 16px 0 0; } .dt-sign span { margin-left: 40px; }
.dt-mark { position: absolute; left: -9999px; }
.dt-hook-s { padding-top: 8px; } .dt-hook-s + section { padding-top: 0; }
.dt-hook { max-width: 720px; border: 1px solid var(--line); background: var(--card); border-radius: 16px; padding: 24px; transition: box-shadow .4s var(--ease), border-color .4s var(--ease); }
.dt-hook.on { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-container); }
.dt-hook h2 { margin-top: 0; }
.dt-cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.dt-cards li { display: flex; }
.doc > .dt-cards { max-width: none; }   /* 목록 장 — 읽는 줄은 720, 카드 격자는 기둥을 채운다(DESIGN.md) */
.dt-cards a { display: block; flex: 1; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); text-decoration: none; color: var(--fg); }
.dt-cards a:hover { border-color: var(--accent); }
.dt-cards b { display: block; font-size: 17px; } .dt-cards span { display: block; margin: 4px 0 0; font-size: 13px; line-height: 20px; color: var(--muted); word-break: keep-all; }
@media screen and (max-width: 860px) {
  .doctool { grid-template-columns: 1fr; }
  .dt-form input, .dt-form textarea { font-size: 16px; }   /* iOS 는 16px 아래 입력칸을 누르면 화면을 키운다(DESIGN.md) */
  .dt-go-m { display: flex; margin: 12px 0 0; } .dt-go-m .btn { width: 100%; justify-content: center; }
  .dt-paper { position: static; padding: 10px; }
  .dt-sheet { font-size: 9px; } .dt-sheet h2 { font-size: 18px; } .dt-who { font-size: 12px; } .dt-sum { font-size: 11px; }
  .dt-me th, .dt-me td, .dt-items thead th { font-size: 8.5px; }
}
/* 사무 문서(2026-10-02 — 증명서·임금명세서·결의서·품의서). 표는 dt-items 를 같이 쓰고, 칸·값 표는 dt-kv */
.dt-foot { margin: 14px 0 0; text-align: center; font-weight: 600; }
.dt-office h2 { margin-bottom: 14px; }
.dt-no { margin: 0 0 6px; font-size: 11px; }
.dt-sub { text-align: center; margin: -8px 0 12px; }
.dt-cap { margin: 14px 0 4px; font-weight: 600; font-size: 12px; } .dt-cap span { font-weight: 400; margin-left: 10px; }
.dt-kv { width: 100%; border-collapse: collapse; margin: 0 0 6px; table-layout: fixed; } .dt-kv col.k { width: 17%; }
.dt-kv th, .dt-kv td { border: 1px solid #191919; padding: 4px 6px; text-align: left; vertical-align: top; }
.dt-kv th { background: #f3f1ed; font-weight: 500; white-space: nowrap; overflow: hidden; }
.dt-proof { text-align: center; margin: 26px 0 0; font-size: 14px; }
.dt-co { margin: 28px 0 0; text-align: center; }
.dt-co .dt-day { margin: 0 0 22px; font-size: 13px; }
.dt-co dl { display: inline-grid; grid-template-columns: auto auto; gap: 6px 18px; margin: 0; text-align: left; font-size: 13px; }
.dt-co dt { color: #555; } .dt-co dd { margin: 0; min-width: 160px; } .dt-co i { font-style: normal; float: right; margin-left: 24px; color: #555; }
.dt-hrs { margin: 6px 0 0; font-size: 11px; color: #444; }
.dt-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0 0; align-items: start; }
.dt-from { text-align: right; margin: 18px 0 0; font-weight: 600; }
.dt-head2 { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 14px; padding: 0 0 8px; border-bottom: 3px double #191919; }
.dt-head2 h2 { border: 0; margin: 0; padding: 0; text-align: left; }
.dt-ap { width: auto !important; border-collapse: collapse; } .dt-ap th, .dt-ap td { border: 1px solid #191919; text-align: center; font-size: 10px; }
.dt-ap th { width: 18px; background: #f3f1ed; font-weight: 500; line-height: 1.3; } .dt-ap td.h { width: 54px; padding: 2px; } .dt-ap td.s { height: 40px; }
.dt-body p { min-height: 80px; }
.dt-items .dt-blank td { height: 2.1em; box-sizing: border-box; }   /* 빈 줄이 채운 줄보다 얇아 보였다 */
@media screen and (max-width: 860px) { .dt-kv th, .dt-kv td, .dt-ap th, .dt-ap td { font-size: 8.5px; }  .dt-proof { font-size: 11px; } .dt-ap td.s { height: 26px; } .dt-ap td.h { width: 36px; } }
#dt-print { display: none; }
@media print {
  @page { size: A4; margin: 0; }
  body > *:not(#dt-print) { display: none !important; }
  #dt-print { display: block; }
  #dt-print .dt-sheet { width: 210mm; height: 297mm; aspect-ratio: auto; padding: 18mm 16mm; box-shadow: none; font-size: 11pt; box-sizing: border-box; }
  #dt-print .dt-sheet h2 { font-size: 24pt; }
  #dt-print .dt-me th, #dt-print .dt-me td, #dt-print .dt-items thead th { font-size: 9.5pt; }
  #dt-print .dt-who { font-size: 13pt; } #dt-print .dt-sum { font-size: 12pt; }
  #dt-print .dt-kv th, #dt-print .dt-kv td { font-size: 10.5pt; padding: 2.2mm 2.5mm; }
  #dt-print .dt-cap { font-size: 10.5pt; margin-top: 6mm; } #dt-print .dt-items tbody td, #dt-print .dt-items tfoot td, #dt-print .dt-items tfoot th { font-size: 10.5pt; }
  #dt-print .dt-office .dt-items td, #dt-print .dt-office .dt-items th { height: 8mm; }
  #dt-print .dt-proof { font-size: 13pt; margin-top: 16mm; } #dt-print .dt-co { margin-top: 12mm; } #dt-print .dt-co .dt-day { font-size: 12pt; margin-bottom: 10mm; }
  #dt-print .dt-co dl { font-size: 12pt; gap: 3mm 8mm; } #dt-print .dt-co dd { min-width: 55mm; }
  #dt-print .dt-ap th, #dt-print .dt-ap td { font-size: 9pt; } #dt-print .dt-ap td.h { width: 20mm; } #dt-print .dt-ap td.s { height: 17mm; }
  #dt-print .dt-sub, #dt-print .dt-hrs, #dt-print .dt-no { font-size: 10.5pt; } #dt-print .dt-from { font-size: 12pt; margin-top: 10mm; }
}

/* ── 화면 신청 폼 /apply(2026-10-11 — 대화창을 걷고 폼 하나로, site/apply.py·static/apply.js) ── */
.apply-hero { padding: 72px 0 96px; }
.apply { max-width: 720px; }
.apply-top { display: grid; grid-template-columns: 1fr 220px; column-gap: 24px; align-items: center; margin: 0 0 24px; }
.apply-face { display: block; width: 220px; height: 220px; margin: -32px 0 -8px; }   /* 장마다 그 동물이 손 흔든다 — 56px 아이콘은 안 보였다(2026-10-11 길록 「너무 작은데」) */
@media (max-width: 640px) { .apply-top { grid-template-columns: 1fr; } .apply-face { order: -1; width: 140px; height: 140px; margin: -24px 0 0 -12px; } }
.apply h1 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.25; margin: 0 0 12px; word-break: keep-all; }
.apply .lead { color: var(--muted); margin: 0; }
.apply-gone { background: var(--warn-container); color: var(--on-warn-container); border-radius: 12px; padding: 12px 16px; font-size: 15px; line-height: 23px; margin: 0 0 20px; }
.apply-form { display: grid; gap: 22px; background: #fff; border: 1px solid var(--line-2); border-radius: 18px; padding: 28px; box-shadow: 0 12px 32px rgba(25,25,25,.06); }
.apply-form .aq, .apply-form .ae, .apply-form .af { display: grid; gap: 8px; }
.apply-form .aq { grid-template-columns: 28px 1fr; column-gap: 10px; }
.apply-form .aq textarea, .apply-form .aq input[type=text] { grid-column: 2; }
.apply-form .an { color: var(--accent2); font-weight: 700; font-size: 18px; line-height: 28px; }
.apply-form .al { font-weight: 600; font-size: 17px; line-height: 28px; }
.apply-form .al small { font-weight: 400; color: var(--faint); font-size: 14px; }
.apply-form .afs { color: var(--muted); font-size: 14px; line-height: 22px; margin-top: -4px; }
.apply-form textarea, .apply-form input[type=email], .apply-form input[type=text] { display: block; width: 100%; font: inherit; font-size: 16px; line-height: 24px; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); color: var(--fg); }
.apply-form textarea { resize: vertical; min-height: 72px; }
.apply-form textarea:focus, .apply-form input:focus { outline: none; border-color: var(--accent2); box-shadow: 0 0 0 3px rgba(122,74,42,.15); }
.apply-form .apick { justify-self: start; cursor: pointer; }
.apply-form .apick input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.apply-form .apick:focus-within .btn { box-shadow: 0 0 0 3px rgba(122,74,42,.2); }
.apply-form .afl { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.apply-form .afl:empty { display: none; }
.apply-form .afl li { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 7px 8px 7px 12px; font-size: 15px; line-height: 22px; min-width: 0; }
.apply-form .afl li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.apply-form .afl small { color: var(--faint); }
.apply-form .afl button { border: 0; background: none; font-size: 20px; line-height: 1; padding: 4px 8px; border-radius: 6px; color: var(--muted); cursor: pointer; }
.apply-form .afl button:hover { background: var(--card-2); color: var(--fg); }
.apply-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.apply-form .asend { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.apply-form .asend .btn { font: inherit; font-weight: 600; cursor: pointer; }
.apply-form .asend .btn:disabled { opacity: .55; cursor: wait; }
.apply-form .aerr { color: var(--bad); font-size: 14px; line-height: 22px; }
.apply-form .anote { color: var(--muted); font-size: 13px; line-height: 21px; margin: -6px 0 0; }
.apply-form .anote a { color: var(--accent-text); text-decoration: underline; }
.apply-done { background: #fff; border: 1px solid var(--line-2); border-radius: 18px; padding: 28px; display: grid; gap: 6px; }
.apply-done b { font-size: 22px; line-height: 32px; }
.apply-done p { margin: 0; color: var(--muted); }
.apply-done p b { font-size: inherit; color: var(--fg); }
.apply-next { margin-top: 40px; }
.apply-next h2 { font-size: 18px; line-height: 28px; margin: 0 0 10px; }
.apply-next ol { margin: 0; padding-left: 22px; color: var(--muted); display: grid; gap: 6px; }
@media (max-width: 719px) {
  .apply-hero { padding: 40px 0 64px; }
  .apply-form, .apply-done { padding: 20px 16px; border-radius: 14px; }
  .apply-form .aq { grid-template-columns: 22px 1fr; column-gap: 8px; }
}

/* 문의하기 모달 안의 폼 장(?embed=1 → html.embed, amod.js) — 머리·꼬리·진행 순서·말 띠를 걷고 폼만. 높이는 apply.js 가 바깥에 알린다 */
html.embed { scroll-behavior: auto; }
html.embed .top, html.embed .foot, html.embed .apply-next, html.embed .apply-gone, html.embed .lbar { display: none !important; }
html.embed .apply-hero { padding: 36px 0 32px; }
html.embed .apply-top { grid-template-columns: 1fr 132px; padding-right: 32px; }
html.embed .apply-face { width: 132px; height: 132px; margin: -12px 0 -8px; }
html.embed .apply h1 { font-size: clamp(26px, 3.6vw, 34px); }
@media (max-width: 640px) {
  html.embed .apply-hero { padding: 24px 0 20px; }
  html.embed .apply-top { grid-template-columns: 1fr; padding-right: 0; }
  html.embed .apply-face { width: 88px; height: 88px; margin: -8px 0 0 -8px; }
}

/* 장 전환(2026-10-11 길록 「페이지 전환할 때 애니메이션 왜 안 들어가 있지」) — 회사 사이트(lab/site.css)와 같은 값. 같은 사이트 안에서 장을 옮기면
   본문은 크로스페이드, 머리·꼬리는 제자리에서 이어진다. 지원하는 브라우저만(크롬·엣지·사파리 18.2+), 나머지는 예전 그대로. 다른 사이트로 가는 건 브라우저가 못 잇는다 */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .26s; animation-timing-function: cubic-bezier(.22,.61,.36,1); }
header.top { view-transition-name: top; }   /* 태그까지 — 치타 홈 장면 안에도 .foot 이 있어 이름이 겹치면 전환이 통째로 빠진다 */
footer.foot { view-transition-name: foot; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  header.top, footer.foot { view-transition-name: none; }
}

/* ── 작은 전환들(2026-10-11 길록 「transitions.dev 무료에서 쓸 만한 것 다」) — 우리 규칙(DESIGN.md 공개 페이지)에 맞는 것만 들였다:
   튀는 곡선(오버슈트)·히어로 글 리빌·3D 기울기·하트·토글은 뺐다. 값은 하나 — 열 때 .25s · 닫을 때 .15s · 곡선 --ease-out.
   움직임 줄이기면 전부 끝 상태로 바로(site.js·apply.js 도 still 이면 안 돌린다). */
:root { --ease-out: cubic-bezier(.22,1,.36,1); --t-open: .25s; --t-close: .15s; }
@keyframes mopen { from { opacity: 0; transform: scale(.96) } }
@keyframes tin { from { opacity: 0; transform: translateY(4px); filter: blur(2px) } }
@keyframes tfade { from { opacity: 0 } }
@keyframes shimmer { from { background-position: 100% 0 } to { background-position: 0 0 } }
@keyframes shake { 0% { transform: translateX(0) } 28.57% { transform: translateX(6px) } 57.14% { transform: translateX(-6px) } 78.57% { transform: translateX(4px) } 100% { transform: translateX(0) } }
@keyframes pulse { from { opacity: 1 } to { opacity: .5 } }
/* 모달(둘러보기 .demo) — 바탕은 번지고, 닫을 땐 살짝 줄며 사라진다 */
.demo:not([hidden]) { animation: tfade var(--t-open) var(--ease-out); }
.demo-box { position: relative; animation: mopen var(--t-open) var(--ease-out) both; }
.demo.out { opacity: 0; transition: opacity var(--t-close) var(--ease-out); }
.demo.out .demo-box { transform: scale(.96); opacity: 0; transition: transform var(--t-close) var(--ease-out), opacity var(--t-close) var(--ease-out); animation: none; }
/* 둘러보기 화면이 오는 동안 — 빈 흰 칸 대신 화면 윤곽이 숨 쉬다가, 오면 번져 들어온다(스켈레톤 → 리빌) */
.demo-box.loading iframe { opacity: 0; }
.demo-box iframe { transition: opacity .4s ease-in-out, filter .4s ease-in-out; }
.demo-box.loading::after { content: ''; position: absolute; left: 0; right: 0; top: var(--dh, 65px); bottom: 0; pointer-events: none; animation: pulse 1s ease-in-out infinite alternate;
  background: linear-gradient(var(--card-2), var(--card-2)) 24px 24px / calc(100% - 48px) 44px no-repeat,
              linear-gradient(var(--card-2), var(--card-2)) 24px 92px / 38% 20px no-repeat,
              linear-gradient(var(--card-2), var(--card-2)) 24px 128px / 62% 14px no-repeat,
              linear-gradient(var(--card-2), var(--card-2)) 24px 176px / calc(33.3% - 32px) 120px no-repeat,
              linear-gradient(var(--card-2), var(--card-2)) 50% 176px / calc(33.3% - 32px) 120px no-repeat,
              linear-gradient(var(--card-2), var(--card-2)) calc(100% - 24px) 176px / calc(33.3% - 32px) 120px no-repeat, #fff; }
/* 치타 템플릿 거르기 — 고른 알약이 미끄러져 간다(탭 슬라이딩). 걸러져 나온 카드는 번져 들어온다 */
.tpl-pill { position: absolute; left: 0; top: 0; border-radius: 999px; background: var(--fg); pointer-events: none; transition: transform var(--t-open) var(--ease-out), width var(--t-open) var(--ease-out), height var(--t-open) var(--ease-out); }
.tpl-f.slid button { position: relative; z-index: 1; transition: color var(--t-open) var(--ease-out), background var(--t-close) ease; }
.tpl-f.slid button.on { background: transparent; border-color: transparent; }
.tp.tin { animation: tin .4s ease-in-out both; animation-delay: calc(var(--i, 0) * 40ms); }
/* 히어로 대화창 머리 — 손님이 말하고 답이 오기 전까지 「고치는 중」이 반짝인다(생각 중 상태). 자리는 두 말 중 긴 쪽 폭으로 고정이라 머리가 안 흔들린다 */
.bm-head .stt { display: inline-grid; font-style: normal; }
.bm-head .stt i { grid-area: 1 / 1; font-style: normal; white-space: nowrap; transition: opacity var(--t-close) ease-in-out, transform var(--t-close) ease-in-out, filter var(--t-close) ease-in-out; }
.bm-head .stt .th { opacity: 0; transform: translateY(4px); filter: blur(2px); color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: linear-gradient(90deg, #938f89 0%, #938f89 40%, #191919 50%, #938f89 60%, #938f89 100%); background-size: 400% 100%; animation: shimmer 2s linear infinite; }
.bm-head.busy .stt i:first-child { opacity: 0; transform: translateY(-4px); filter: blur(2px); }
.bm-head.busy .stt .th { opacity: 1; transform: none; filter: none; }
/* 신청 폼 — 빈 칸은 흔들리고 3초 뒤 제 색으로, 보내는 동안 단추 글이 바뀌어 반짝이고, 받으면 체크가 그어진다 */
.apply-form .bad { border-color: var(--bad) !important; animation: shake .28s linear; }
.apply-form .aerr:not([hidden]) { animation: tfade .28s ease-out; }
.apply-form .afl li.new { animation: tin var(--t-open) var(--ease-out) both; }
.apply-form .afl li.gone { opacity: 0; transform: translateX(12px); filter: blur(2px); transition: opacity var(--t-open) var(--ease-out), transform var(--t-open) var(--ease-out), filter var(--t-open) var(--ease-out); }
.btn .tsw { display: inline-block; }
.btn .tsw.out { opacity: 0; transform: translateY(-4px); filter: blur(2px); transition: opacity var(--t-close) ease-in-out, transform var(--t-close) ease-in-out, filter var(--t-close) ease-in-out; }
.btn .tsw.in { animation: tin var(--t-close) ease-in-out both; }
.btn.busy .tsw { color: transparent; -webkit-background-clip: text; background-clip: text; background-size: 400% 100%; animation: shimmer 2s linear infinite;
  background-image: linear-gradient(90deg, rgba(246,239,228,.5) 0%, rgba(246,239,228,.5) 40%, #f6efe4 50%, rgba(246,239,228,.5) 60%, rgba(246,239,228,.5) 100%); }
.btn.busy .tsw.in { animation: tin var(--t-close) ease-in-out both, shimmer 2s linear infinite; }
.apply-form .asend .btn.busy:disabled { opacity: 1; }
.okc { display: block; width: 48px; height: 48px; margin: 0 0 10px; color: var(--accent2); }
.okc circle { fill: var(--accent-container); }
.okc path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 0; }
.okc { animation: okin .5s var(--ease-out) both; }
.okc path { animation: okdraw .5s var(--ease-out) .08s both; }
@keyframes okin { from { opacity: 0; transform: translateY(30px) rotate(80deg); filter: blur(10px) } }
@keyframes okdraw { from { stroke-dashoffset: 24 } }
@media (prefers-reduced-motion: reduce) {
  .faq summary::after, .tpl-pill, .tpl-f.slid button, .bm-head .stt i, .demo-box iframe { transition: none; }
  .demo:not([hidden]), .demo-box, .tp.tin, .apply-form .bad, .apply-form .afl li.new, .btn .tsw.in, .okc, .okc path,
  .apply-form .aerr:not([hidden]), .demo-box.loading::after { animation: none; }
  .bm-head .stt .th, .btn.busy .tsw { animation: none; color: inherit; background: none; }
}
