/* 공개 홈페이지(dodannylab.com) — 라이트 한 벌. 네 색을 골라 정했다(2026-09-06 길록):
   노랑 #FFC629(범블) 포인트 · 갈색 #7A4A2A(앰버) 보조 · 흰색 #F6EFE4 바탕 · 검정 #191919(카카오) 글자.
   다크 판은 뺐다 — 라이트만 간다. 토큰의 정본은 platform/DESIGN.md(공개 페이지 절).
   움직임은 스크롤이 만든다(site.js): .reveal 리빌, .morph 고정 구간(--p 0→1), .story 스티키 패널. 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;
  --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;
  --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);
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
  font-size: 16px; line-height: 26px; color: var(--fg); background: var(--bg);
  word-break: keep-all; overflow-wrap: break-word; -webkit-text-size-adjust: 100%;
  color-scheme: light;
}
* { 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 12px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.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; }
.mark { font-weight: 700; font-size: 18px; letter-spacing: -.01em; color: var(--fg);
  display: inline-flex; align-items: center; gap: 9px; }
.mark img { width: 28px; height: 28px; }   /* 아이콘용 비버 — 글자와 한 덩어리로 */
.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); }

/* 버튼 — 한 화면에 primary 하나 */
.btn { display: inline-block; padding: 12px 20px; border-radius: 8px; background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 16px; line-height: 24px; transition: background 150ms ease, transform 150ms ease; }
.btn:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn:active { transform: translateY(1px); }
.btn.small { padding: 9px 14px; font-size: 14px; line-height: 20px; }
.btn.ghost { background: transparent; color: var(--fg); border: 1px solid var(--line-2); }
.btn.ghost:hover { background: var(--card); }
.cta { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; }
.cta .note { color: var(--muted); font-size: 14px; }

/* 절 */
section { padding: 120px 0; position: relative; }
h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.1; font-weight: 700; letter-spacing: -.03em; margin: 0 0 24px; }
h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.15; font-weight: 700; letter-spacing: -.025em; margin: 0 0 16px; }
h3 { font-size: 18px; line-height: 26px; font-weight: 600; margin: 0 0 6px; }
.lead { font-size: 18px; line-height: 30px; color: var(--muted); max-width: 600px; margin: 0 0 36px; }
.sub { color: var(--muted); max-width: 640px; margin: 0 0 40px; font-size: 17px; line-height: 28px; }

/* 리빌 — 아래에서 올라오며 블러가 걷힌다. .in 이 붙으면 끝 */
.reveal { opacity: 0; transform: translateY(28px); filter: blur(10px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1), filter .9s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 120ms); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* 히어로 — 강조색 글로우 하나. 나머지는 어둡다 */
.hero { min-height: 92vh; display: flex; align-items: center; padding: 80px 0 40px; overflow: hidden; }
.hero::before { content: ''; position: absolute; left: 50%; top: -30vh; width: 120vw; height: 80vh; transform: translateX(-50%); background: radial-gradient(50% 60% at 50% 40%, var(--accent-container) 0%, transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; width: 100%; }   /* 플렉스 안에서 줄어들면 글이 가운데로 밀려 마스코트와 붙는다 */
.hero h1 { max-width: 820px; }
.hero .lead { max-width: 560px; }
/* 히어로의 비버 — 오른쪽 여백에 앉는다. 글 폭이 좁아지면 뒤로 빠지고, 폰에서는 사라진다. */
.hero .mascot { position: absolute; right: max(3vw, calc(50% - 640px)); bottom: 8%; width: min(38vw, 420px); height: auto;
  pointer-events: none; opacity: 0; transform: translateY(18px) scale(.96); animation: rise .9s cubic-bezier(.2,.7,.2,1) .35s forwards; }
@media (max-width: 1180px) { .hero .mascot { width: 30vw; opacity: .5; right: -2vw; } }
@media (max-width: 860px) { .hero .mascot { display: none; } }
@keyframes rise { to { opacity: 1; transform: none } }
@media (prefers-reduced-motion: reduce) { .hero .mascot { opacity: 1; transform: none; animation: none } }
.cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 22px; height: 36px; border: 1.5px solid var(--line-2); border-radius: 12px; }
.cue::after { content: ''; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--muted); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1 } 70% { transform: translateY(12px); opacity: 0 } 100% { opacity: 0 } }


/* 절 사이를 잇는 한 문장 — 다음 절의 이유가 된다 */
.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 120px; }
.tight .bridge { margin: 0; }

/* 준비할 건 둘 */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 880px; }
.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; }

/* 부담 없는 이유 */
/* 절 오른쪽 위에 앉는 비버 — 제목 옆 여백을 쓴다. 좁아지면 사라진다. */
.wrap { position: relative; }
.aside-bv { position: absolute; right: 0; top: -28px; width: 150px; height: auto; pointer-events: none;
  opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.aside-bv.in { opacity: 1; transform: none; }
/* 시작하기 — 제목과 안 겹치게 폼 옆 빈자리에서 기다린다 */
.hero .aside-bv { top: 260px; right: 20px; width: 210px; }
@media (max-width: 900px) { .aside-bv { display: none; } }
/* 404 — 길 잃은 비버가 글 위에 선다 */
.lost-bv { display: block; width: 200px; height: auto; margin: 0 0 22px -10px; }
@media (prefers-reduced-motion: reduce) { .aside-bv { opacity: 1; transform: none; } }

/* 셋이 나란히 — 캐릭터 + 제목 + 한 문장(치타웹 홈 「이렇게 일합니다」). 그림은 위에서 아래로 살짝 겹치게 */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 960px; }
.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; }

/* 스크롤리텔링 — 왼쪽 단계가 지나가면 오른쪽 고정 패널이 바뀐다 */
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
.story .txt .step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; transition: opacity .5s ease; opacity: .32; }
.story .txt .step.on { opacity: 1; }
.story .step .n { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent2); margin-bottom: 14px; letter-spacing: .02em; }
.story .step h3 { font-size: clamp(24px, 3vw, 34px); line-height: 1.2; letter-spacing: -.02em; margin-bottom: 12px; }
.story .step p { color: var(--muted); font-size: 17px; line-height: 28px; max-width: 420px; }
.story .step .inline { display: none; margin-top: 24px; }
/* 단계마다 붙는 비버 — 글 위에 작게. 단계가 활성일 때만 또렷해진다. */
.story .step .bv { display: block; width: 108px; height: auto; margin: 0 0 14px -8px;
  opacity: .55; transform: scale(.94); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
.story .step.on .bv { opacity: 1; transform: none; }
.story .panel { position: sticky; top: calc(50vh - 220px); height: 440px; }
.story .pane { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; transform: translateY(18px) scale(.985); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.story .pane.on { opacity: 1; transform: none; pointer-events: auto; }
.story .pane > * { width: 100%; }

/* 화면 한 장 + 설명 */
.shots { display: grid; grid-template-columns: 1fr; gap: 40px; }
.shot { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 40px; align-items: center; }
.caption h3 { font-size: 22px; line-height: 30px; letter-spacing: -.01em; }
.caption p { color: var(--muted); font-size: 17px; line-height: 28px; }

/* ── 밝은 제품 화면. 어두운 바탕 위의 스크린샷이라 색을 고정한다 ── */
.screen, .sheet { --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; }
.screen .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.screen .tile { border: 1px solid var(--sline); border-radius: 6px; padding: 8px 10px; }
.screen .tile .k { color: var(--smuted); font-size: 11px; line-height: 14px; }
.screen .tile .v { font-weight: 700; font-size: 16px; line-height: 22px; font-variant-numeric: tabular-nums; }
.app table, .screen table { width: 100%; border-collapse: collapse; border: 1px solid var(--sline); border-radius: 6px; overflow: hidden; }
.app th, .app td, .screen th, .screen td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--sline); white-space: nowrap; }
.app th, .screen 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 { border-bottom: 0; }
.app .num, .screen .num { text-align: right; font-variant-numeric: tabular-nums; }
.app td.hl, .app th.hl, .screen td.hl, .screen th.hl { background: #eef4ff; }
.app .badge, .screen .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 { background: #e6f6ee; color: #0f5f37; }
.app .badge.warn, .screen .badge.warn { background: #fdf1e0; color: #7a4200; }
.app .badge.bad, .screen .badge.bad { background: #fde8e8; color: #7f1d1d; }
.app .badge.new, .screen .badge.new { background: #dce6ff; color: #0c2a78; }
.screen .chat { border-top: 1px solid var(--sline); margin-top: 12px; padding-top: 10px; display: grid; gap: 6px; }
.screen .chat.only { border-top: 0; margin-top: 0; padding-top: 0; gap: 10px; }
.screen .msg { display: flex; gap: 8px; align-items: baseline; }
.screen .msg b { min-width: 56px; font-size: 12px; display: flex; align-items: center; gap: 5px; }
.screen .msg .av { width: 18px; height: 18px; flex: none; }   /* 말하는 건 비버다 — 아이콘용 판 */
.screen .rows { display: grid; gap: 6px; }
.screen .rows .r { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--sline); border-radius: 6px; }
.screen .rows .r span:last-child { color: var(--smuted); font-size: 12px; white-space: nowrap; }

.sheet { background: #fff; border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; font-size: 12px; line-height: 16px; min-width: 0; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.sheet .name { padding: 6px 10px; border-bottom: 1px solid var(--sline); background: #f3f2ee; font-weight: 600; }
.sheet table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.sheet th, .sheet td { border: 1px solid #e0ded8; padding: 3px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; font-weight: 400; }
.sheet th { background: #f3f2ee; color: #8a8f98; text-align: center; }
.sheet thead th:first-child, .sheet tbody th { width: 26px; }
.sheet tbody tr:first-child td { font-weight: 600; background: #fbfaf7; }
.sheet td.err { color: #b42318; }
.sheet .tabs { display: flex; gap: 2px; padding: 4px 6px 0; background: #f3f2ee; border-top: 1px solid var(--sline); overflow: hidden; }
.sheet .tabs span { padding: 3px 10px 4px; border: 1px solid #e0ded8; border-bottom: 0; border-radius: 4px 4px 0 0; background: #eae8e2; color: #6b6f76; white-space: nowrap; font-size: 11px; }
.sheet .tabs span.on { background: #fff; color: var(--sfg); font-weight: 600; }

/* 요금 한 줄 */
.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(3, 1fr); gap: 18px; align-items: start; margin-top: 34px; }
.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: 4px; margin-bottom: 14px; }   /* 비버 마릿수 — 아이콘용 판, 요금이 곧 마릿수다 */
.plan .crew img { width: 26px; height: 26px; }
.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; }
.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: 26px; 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 { max-width: 720px; }
.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: '+'; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); margin: 10px 0 0; }
.faq details .srcs { margin-top: 10px; }

/* 신청 폼 */
.form { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 32px 36px; max-width: 560px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 16px; }
.form input, .form select, .form textarea { font: inherit; font-size: 16px; line-height: 24px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--bg); color: var(--fg); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-container); }
.form textarea { min-height: 120px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .agree { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--fg); font-size: 14px; line-height: 22px; }
.form .agree input { width: auto; margin-top: 4px; }
.form .foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.form button { font: inherit; border: 0; cursor: pointer; }
.form .error { color: var(--bad); font-size: 14px; }
.form .done { padding: 8px 0; }
.form .done h3 { font-size: 22px; line-height: 30px; }

/* 법적 문서 */
.doc { max-width: 720px; }
.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); }

/* 꼬리 */
.foot { border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: 14px; line-height: 22px; }
.foot .cols { display: flex; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 32px; }
.foot .mark { font-size: 16px; margin-bottom: 8px; gap: 8px; }
.foot .mark img { width: 24px; height: 24px; }
.foot .links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot .links a { color: var(--muted); }
.foot .links a:hover { color: var(--fg); }
.foot .legal { font-size: 13px; line-height: 20px; color: var(--muted); }
.foot .legal a { color: var(--muted); }

@media (max-width: 899px) {
  section { padding: 80px 0; }
  .hero { min-height: 84vh; padding: 48px 0 40px; }
  .shot { grid-template-columns: 1fr; gap: 20px; }
  .plan .two, .two, .plans { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; gap: 20px; }
  .tight { padding-bottom: 80px; }
  .story { grid-template-columns: 1fr; gap: 0; }
  .story .panel { display: none; }
  .story .txt .step { min-height: 0; padding: 32px 0; opacity: 1; border-top: 1px solid var(--line); }
  .story .step .inline { display: block; }
}
@media (max-width: 719px) {
  .wrap { padding: 0 18px; }
  .top nav { gap: 14px; font-size: 14px; }
  .top nav a:not(.btn) { display: none; }
  .lead { font-size: 16px; line-height: 26px; }
  .plan { padding: 24px 20px; }
  .plan .go { padding-top: 18px; }
  .form { padding: 22px 18px; }
  .screen .tiles { grid-template-columns: 1fr 1fr; }
  .screen, .sheet { overflow-x: auto; }
  .sheet table { table-layout: 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; }
  .story .txt .step { opacity: 1; }
  .story .pane { transition: none; }
}

/* ── 2026-09-05 밤 추가: 히어로 와이프, 조사 수치, 3단 변신, 패널 애니메이션, 늘어나는 화면, 빛 카드 ── */
/* 히어로 제목 — 줄이 아래에서 밀려 올라오는 와이프(리빌과 다른 결) */
.wipe { opacity: 1; }
.wipe > span { display: block; overflow: hidden; }
.wipe > span > span { display: block; transform: translateY(110%); transition: transform 1.1s cubic-bezier(.16,1,.3,1) .1s; }
.wipe.in > span > span { transform: none; }
.hero::after { content: ''; position: absolute; right: -20vw; bottom: -30vh; width: 60vw; height: 60vh; background: radial-gradient(50% 50% at 50% 50%, var(--accent2-container) 0%, transparent 70%); pointer-events: none; opacity: .7; animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate(0, 0) } to { transform: translate(-12vw, -10vh) } }

/* 조사 수치 절 — 한 톤 더 어두운 바탕 */
.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; }
.srcs { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 22px; }
.srcs li { margin: 6px 0; }

/* 시트 — 구글 시트 모양 */
.sheet .name { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sheet .share { display: inline-flex; align-items: center; gap: 2px; font-weight: 400; color: var(--smuted); font-size: 11px; }
.sheet .share i { width: 14px; height: 14px; border-radius: 50%; background: #c9c6bf; border: 1.5px solid #fff; margin-right: -5px; }
.sheet .share i:nth-child(2) { background: #a3b8d9 } .sheet .share i:nth-child(3) { background: #d9b8a3 } .sheet .share i:nth-child(4) { background: #b8d9a3; margin-right: 4px; }
.sheet.gsheet .name { background: #fff; border-bottom: 1px solid var(--sline); }
.sheet.gsheet .name > span:first-child::before { content: ''; display: inline-block; width: 12px; height: 15px; background: #1e8e3e; border-radius: 2px; margin-right: 8px; vertical-align: -2px; }
.sheet.gsheet th { background: #f8f9fa; color: #5f6368; }
.sheet.gsheet .tabs { background: #f8f9fa; }
.sheet.gsheet .tabs span { background: transparent; border: 0; border-radius: 0; color: #5f6368; padding: 5px 12px; }
.sheet.gsheet .tabs span.on { background: #fff; color: #1e8e3e; font-weight: 600; box-shadow: inset 0 -2px 0 #1e8e3e; }
.sheet .tabs .plus { color: var(--smuted); padding-left: 8px; padding-right: 8px; }

/* 콜아웃 — 시트 위 말풍선. --k 번째가 순서대로 뜨고(.32~.45), 문제 → 해결로 뒤집힌다(.46~.58) */
.co { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); font-size: 13px; line-height: 18px; font-weight: 600; white-space: nowrap; pointer-events: none; opacity: clamp(0, calc((var(--p, 0) - .14 - var(--k) * .025) * 16), 1); }
.co span { display: block; padding: 6px 10px; border-radius: 999px; box-shadow: 0 8px 24px var(--shadow); transition: none; }
.co .bad { background: #fde8e8; color: #7f1d1d; border: 1px solid #f5b8b8; opacity: clamp(0, calc((.32 + var(--k) * .02 - var(--p, 0)) * 30), 1); transform: scale(calc(.9 + clamp(0, (var(--p, 0) - .14 - var(--k) * .025) * 16, 1) * .1)); }
.co .fix { position: absolute; left: 0; top: 0; background: #0f5f37; color: #e6f6ee; border: 1px solid #0f5f37; opacity: clamp(0, calc((var(--p, 0) - .3 - var(--k) * .02) * 30), 1); transform: translateY(calc((1 - clamp(0, (var(--p, 0) - .3 - var(--k) * .02) * 30, 1)) * 6px)); }
/* 못 하던 것이 달린 화면 — 필터 칩·권한·이력 */
.screen.rich .body { display: grid; grid-template-columns: minmax(0, 1fr) 168px; gap: 14px; padding: 14px 16px; }
.screen .chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.screen .chip { font-size: 11px; line-height: 16px; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--sline); color: var(--smuted); }
.screen .chip.on { background: #1a1d21; color: #fff; border-color: #1a1d21; }
.screen .chip.perm { margin-left: auto; border-style: dashed; }
.screen .log { border-left: 1px solid var(--sline); padding-left: 12px; font-size: 12px; line-height: 16px; }
.screen .log b { display: block; font-size: 11px; color: var(--smuted); margin-bottom: 8px; }
.screen .lg { display: grid; gap: 1px; margin-bottom: 8px; }
.screen .lg span { font-weight: 600; }
.screen .lg em { font-style: normal; color: var(--smuted); font-size: 11px; }

/* 패널 안 애니메이션 — .on 이 붙은 뒤 시작. 파일이 들어오고, 상태등이 켜지고, 글이 써지고, 열이 생긴다 */
.pane .rows.drop .r, .inline .rows.drop .r { opacity: 0; transform: translateY(-10px); }
.on .rows.drop .r { animation: dropin .55s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(.15s + var(--k) * .18s); }
@keyframes dropin { to { opacity: 1; transform: none } }
.rows .sw { position: relative; display: inline-grid; }
.rows .sw .badge { grid-area: 1 / 1; }
.rows .sw .badge.ok { opacity: 0; }
.on .rows.light .sw .badge.ok { animation: swap .4s ease forwards; animation-delay: calc(.5s + var(--k) * .45s); }
.on .rows.light .sw .badge.warn { animation: swapout .4s ease forwards; animation-delay: calc(.5s + var(--k) * .45s); }
@keyframes swap { to { opacity: 1 } } @keyframes swapout { to { opacity: 0 } }
.msg.typed span i { font-style: normal; display: inline-block; clip-path: inset(0 100% 0 0); }
.on .msg.typed span i { animation: type 1.1s steps(22, end) forwards; animation-delay: calc(.3s + var(--k) * 1.5s); }
@keyframes type { to { clip-path: inset(0 0 0 0) } }
.screen.ask td.hl, .screen.ask th.hl { opacity: 0; }
.on .screen.ask td.hl, .on .screen.ask th.hl { animation: colin .6s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: 3.2s; }
@keyframes colin { from { opacity: 0; background: #dce6ff } to { opacity: 1; background: #eef4ff } }

/* 몇 달 뒤 — 작은 화면이 달마다 늘어난다 */
.growth { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: end; }
.growth .g { display: grid; gap: 10px; }
.growth .when { font-size: 13px; font-weight: 600; color: var(--accent2); letter-spacing: .02em; }
.growth .screen { box-shadow: 0 16px 40px var(--shadow); }
.growth .g:nth-child(2) { transform: translateY(-14px); } .growth .g:nth-child(3) { transform: translateY(-28px); } .growth .g:nth-child(4) { transform: translateY(-42px); }
.growth .g.reveal { transform: translateY(28px); } .growth .g.reveal.in:nth-child(1) { transform: none; }
.growth .g.reveal.in:nth-child(2) { transform: translateY(-14px); } .growth .g.reveal.in:nth-child(3) { transform: translateY(-28px); } .growth .g.reveal.in:nth-child(4) { transform: translateY(-42px); }

/* 마우스를 따라가는 테두리 빛(리니어) */
.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; }
  .growth { grid-template-columns: 1fr 1fr; align-items: start; }
  .growth .g, .growth .g.reveal.in { transform: none; }
  .screen.rich .body { grid-template-columns: 1fr; }
  .screen .log { border-left: 0; border-top: 1px solid var(--sline); padding: 10px 0 0; }
  .co { font-size: 12px; }
}
@media (max-width: 719px) {
  .facts, .facts.three { grid-template-columns: 1fr; }
  .growth { grid-template-columns: 1fr; }
  .co { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .wipe > span > span { transform: none; transition: none; }
  .hero::after { animation: none; }
  .on .rows.drop .r, .rows.drop .r { animation: none; opacity: 1; transform: none; }
  .rows .sw .badge.warn { opacity: 0 } .rows .sw .badge.ok { opacity: 1 }
  .msg.typed span i { clip-path: none; animation: none; }
  .screen.ask td.hl, .screen.ask th.hl { opacity: 1; animation: none; }
  .growth .g.reveal { transform: none; }
}

/* ── 고정 구간 4단 변신. --p(0→1): ①시트(0~.14) ②말풍선 문제→해결(.14~.4) ③분해: 데이터는 DB, 화면은 프론트(.42~.7) ④전용 ERP + 폰(.72~1) ── */
.morph { height: 440vh; padding: 0; }
.morph .stick { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; overflow: hidden; }
.morph .stage { width: min(1120px, calc(100% - 48px)); display: grid; grid-template-rows: auto 1fr; gap: 28px; perspective: 1600px; max-height: calc(100vh - 72px); }
.morph .stage > *, .morph .scene3 > * { min-width: 0; max-width: 100%; }
.morph .scene3 { position: relative; display: grid; align-items: center; justify-items: center; min-height: 0; }
.morph .scene3 > * { grid-area: 1 / 1; }
.morph .sheetwrap { width: min(880px, 100%); position: relative; opacity: clamp(0, calc(1 - (var(--p, 0) - .4) * 12), 1); filter: blur(calc(clamp(0, (var(--p, 0) - .4) * 12, 1) * 6px)); transform: translateY(calc(clamp(0, (var(--p, 0) - .4) * 12, 1) * -50px)) scale(calc(1 - clamp(0, (var(--p, 0) - .4) * 12, 1) * .12)); transform-origin: 50% 50%; }
.morph .sheet, .app .tbl { overflow-x: auto; }
/* 분해 — 왼쪽(DB)·오른쪽(화면) 카드가 가운데(시트 자리)에서 갈라져 나오고, 항목이 하나씩 켜지고, 사이에 연결선이 그어진다. .7~.78 에 물러난다 */
.split { --in: clamp(0, calc((var(--p, 0) - .42) * 8), 1); --out: clamp(0, calc((var(--p, 0) - .7) * 12), 1); width: min(960px, 100%); display: grid; grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr); align-items: center; gap: 12px; opacity: calc(min(var(--in), 1 - var(--out))); transform: scale(calc(1 - var(--out) * .08)) translateY(calc(var(--out) * -40px)); filter: blur(calc(var(--out) * 6px)); pointer-events: none; }
.split .card { background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; padding: 20px 22px; color: var(--fg); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.split .db { transform: translateX(calc((1 - var(--in)) * 160px)); }
.split .ui { transform: translateX(calc((1 - var(--in)) * -160px)); }
.split .card b { display: block; font-size: 17px; margin: 10px 0 2px; }
.split .card em { display: block; font-style: normal; color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.split ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.split li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13px; line-height: 18px; padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,.04); border: 1px solid var(--line); opacity: clamp(0, calc((var(--p, 0) - .48 - var(--k) * .025) * 14), 1); transform: translateX(calc((1 - clamp(0, (var(--p, 0) - .48 - var(--k) * .025) * 14, 1)) * 14px)); }
.split li span { font-weight: 600; white-space: nowrap; }
.split li i { font-style: normal; color: var(--muted); font-size: 12px; text-align: right; }
.split .ui li { background: var(--accent-container); border-color: transparent; }
.split .ui li span { color: var(--accent-text); }
.split .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-content: center; gap: 4px; background: var(--card-2); border: 1px solid var(--line-2); }
.split .ic.cyl i { display: block; width: 22px; height: 7px; border-radius: 50%; border: 2px solid var(--accent2); }
.split .ic.cyl i + i { border-top-color: transparent; border-radius: 0 0 50% 50%; height: 5px; margin-top: -3px; }
.split .ic.win { grid-template-columns: repeat(3, 6px); gap: 3px; align-content: center; }
.split .ic.win i { width: 6px; height: 6px; border-radius: 2px; background: var(--accent-text); }
.split .ic.win i:first-child { grid-column: 1 / -1; width: 24px; height: 4px; }
.split .link { position: relative; text-align: center; color: var(--muted); font-size: 12px; }
.split .link svg { width: 100%; height: 40px; overflow: visible; }
.split .link path { fill: none; stroke: var(--accent2); stroke-width: 2; stroke-dasharray: 120; stroke-dashoffset: calc(120 * (1 - clamp(0, (var(--p, 0) - .58) * 10, 1))); stroke-linecap: round; }
.split .link span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--bg); padding: 0 8px; opacity: clamp(0, calc((var(--p, 0) - .64) * 12), 1); }
/* 전용 ERP 대시보드가 올라오고(.72~.86), 그래프가 자라고(.84~), 폰이 겹쳐 온다(.9~) */
.morph .app { width: 100%; opacity: clamp(0, calc((var(--p, 0) - .72) * 7), 1); transform: translateY(calc((1 - clamp(0, (var(--p, 0) - .72) * 7, 1)) * 120px)) scale(calc(.92 + clamp(0, (var(--p, 0) - .72) * 7, 1) * .08)); }
.morph .scene3 > .phone { justify-self: end; align-self: end; margin: 0 -28px -48px 0; opacity: clamp(0, calc((var(--p, 0) - .9) * 10), 1); transform: translateY(calc((1 - clamp(0, (var(--p, 0) - .9) * 10, 1)) * 70px)) rotate(-5deg); }
/* 4단 표시 — 활성 단계(--a 0→1)만 밝고, 밑줄과 한 줄 설명이 켜진다 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.st { --a: 0; position: relative; padding: 0 0 14px; border-bottom: 2px solid var(--line); }
.st::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--accent2); transform: scaleX(var(--a)); transform-origin: left; }
.st b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 12px; margin-right: 10px; vertical-align: 2px; background: rgba(255,188,51,calc(var(--a) * .95)); color: rgb(calc(241 - var(--a) * 220), calc(237 - var(--a) * 210), calc(230 - var(--a) * 215)); border-color: rgba(255,188,51,calc(.16 + var(--a))); }
.st span { font-size: 17px; font-weight: 600; color: var(--fg); opacity: calc(.4 + var(--a) * .6); }
.st em { display: block; font-style: normal; font-size: 13px; line-height: 18px; color: var(--muted); margin-top: 6px; opacity: var(--a); }
.st.s1 { --a: clamp(0, calc(1 - (var(--p, 0) - .12) * 16), 1); }
.st.s2 { --a: clamp(0, calc(min((var(--p, 0) - .12) * 16, (.42 - var(--p, 0)) * 16)), 1); }
.st.s3 { --a: clamp(0, calc(min((var(--p, 0) - .4) * 16, (.72 - var(--p, 0)) * 16)), 1); }
.st.s4 { --a: clamp(0, calc((var(--p, 0) - .7) * 16), 1); }

/* 폰 — 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; }
.app .row { display: grid; grid-template-columns: 5fr 3fr 3fr; gap: 10px; }
.app .card { background: #fff; border: 1px solid var(--sline); border-radius: 8px; padding: 10px 12px; min-width: 0; }
.app .card > em { display: block; font-style: normal; font-size: 11px; color: var(--smuted); margin-bottom: 8px; }
.app .bars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; align-items: end; height: 84px; margin-bottom: 18px; }
.app .bars span { position: relative; height: calc(var(--h) * 100%); background: var(--accent); border-radius: 4px 4px 0 0; transform-origin: bottom; transform: scaleY(clamp(0, calc((var(--p, 1) - .84 - var(--k) * .015) * 8), 1)); }
.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 .dwrap { display: flex; align-items: center; gap: 12px; }
.app .dwrap svg { width: 84px; height: 84px; transform: rotate(-90deg); flex: none; }
.app .dwrap circle { fill: transparent; stroke-width: 6; stroke: #c7cad1; stroke-dasharray: calc(var(--len) * clamp(0, calc((var(--p, 1) - .84 - var(--k) * .03) * 8), 1)) 100; stroke-dashoffset: calc(-1 * var(--off)); }
.app circle.ok { stroke: #2e9e63; } .app circle.warn { stroke: #f0a12e; } .app circle.bad { stroke: #e05252; }
.app .dwrap ul { list-style: none; margin: 0; padding: 0; font-size: 11px; display: grid; gap: 4px; white-space: nowrap; }
.app .dwrap li i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; background: #c7cad1; }
.app .dwrap li i.ok { background: #2e9e63; } .app .dwrap li i.warn { background: #f0a12e; } .app .dwrap li i.bad { background: #e05252; }
.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; }

/* 언어 — 머리엔 KO EN JA, 꼬리엔 이름 */

@media (max-width: 899px) {
  .morph { height: 380vh; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 12px; } .st span { font-size: 14px; } .st em { display: none; } .st b { width: 20px; height: 20px; font-size: 11px; margin-right: 6px; }
  .app .row { grid-template-columns: 1fr 1fr; } .app .recent { display: none; }
  .morph .scene3 > .phone { width: 150px; margin: 0 -10px -20px 0; }
  .split { grid-template-columns: 1fr; gap: 10px; } .split .link { display: none; }
  .split .card { padding: 12px 14px; } .split .card em { display: none; } .split .card b { margin: 6px 0 8px; } .split li { padding: 4px 8px; } .split li:nth-child(n+5) { display: none; }
}
@media (max-width: 719px) {
  .morph .stage { width: calc(100% - 36px); }
  .steps { gap: 6px; } .st { padding-bottom: 10px; } .st span { font-size: 12px; } .st b { display: none; }
  .app { grid-template-columns: 1fr; } .app .side { display: none; }
  .app .kpis { grid-template-columns: 1fr 1fr; } .app .row { grid-template-columns: 1fr; } .app .donut { display: none; }
  .app .search { display: none; }
  .morph .scene3 > .phone { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .app .bars span { transform: none; } .app .dwrap circle { stroke-dasharray: var(--len) 100; }
}
