/* 현장대장 공개 사이트 — 가볍게: 관리 프로그램(app.css)과 분리 */
:root {
  --bg: #f1f2ef; --surface: #fff; --line: #e1e4df; --line2: #cbd1ca;
  --text: #1b1f1d; --muted: #5c6660; --primary: #1f4d3a; --primary-d: #173b2c; --primary-l: #e5efe9;
  --safety: #f2b705; --safety-d: #d9a404;
  --ok: #1f7a46; --ok-l: #e3f2e8; --warn: #a15c07; --warn-l: #fdf3df; --err: #b42318; --err-l: #fdecea;
  --board: #1f4d3a; --r: 12px; --r-s: 8px; --shadow: 0 1px 2px rgba(27,31,29,.05);
  --focus: rgba(31,77,58,.35);
  --side: 236px; --font: "Pretendard Variable", "Pretendard", "Malgun Gothic", "맑은 고딕", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 var(--font); word-break: keep-all; overflow-wrap: anywhere; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.3; margin: 0; }
h2 { font-size: 19px; margin-bottom: 14px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
h2 small { font-size: 14px; font-weight: 400; }
h3 { font-size: 16px; margin: 16px 0 8px; color: var(--muted); }
hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.ico { width: 22px; height: 22px; flex: none; }
.muted { color: var(--muted); } .center { text-align: center; } .r { text-align: right; } .nowrap { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hint { color: var(--muted); font-size: 15px; background: #f6f7f4; border-left: 3px solid var(--line2); padding: 8px 12px; border-radius: 4px; margin: 0 0 14px; }
.spacer { flex: 1; }


/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--line2); background: #fff; color: var(--text); font: 600 16.5px var(--font); cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s; }
.btn:hover { background: #f5f7fa; text-decoration: none; border-color: #b9c2ce; }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .slot:focus-visible, a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn.primary:hover { background: var(--primary-d); }
.btn.ghost { background: transparent; }
.btn.safety { background: var(--safety); border-color: var(--safety-d); color: #1b1f1d; font-weight: 800; }
.btn.safety:hover { background: var(--safety-d); }
.btn.danger { color: var(--err); border-color: #f0c2c2; }
.btn.sm { min-height: 36px; padding: 0 12px; font-size: 14.5px; border-radius: 8px; }
.btn.lg { min-height: 56px; padding: 0 24px; font-size: 17.5px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.brand-mark { width: 36px; height: 36px; border-radius: 8px; background: var(--board); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; flex: none; box-shadow: inset 0 0 0 3px var(--board), inset 0 0 0 4.5px rgba(255,255,255,.75); }

/* ───────── 서비스 소개 (로그인 전 첫 화면) ───────── */
.lp { background: var(--bg); }
.lp-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 14px max(20px, calc((100vw - 1160px) / 2)); background: rgba(241,242,239,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.lp-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--text); letter-spacing: -.3px; }
.lp-brand:hover { text-decoration: none; }
.lp-nav { display: flex; gap: 22px; margin-left: auto; }
.lp-nav a { color: var(--muted); font-weight: 600; font-size: 16px; }
.lp-hero { max-width: 1160px; margin: 0 auto; padding: 64px 20px 72px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.lp-hero h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.18; letter-spacing: -1.6px; font-weight: 800; margin: 0 0 22px; }
.lp-lead { font-size: 19px; line-height: 1.7; color: #3b443f; margin: 0 0 22px; max-width: 34em; }
.lp-checks { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 10px; }
.lp-checks li { position: relative; padding-left: 34px; font-size: 17.5px; font-weight: 600; }
.lp-checks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 6px; background: var(--board); box-shadow: inset 0 0 0 2px var(--board), inset 0 0 0 3.5px rgba(255,255,255,.8); }
.lp-checks li::after { content: ''; position: absolute; left: 7px; top: 8px; width: 8px; height: 5px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg); }
.lp-cta { display: flex; gap: 12px; flex-wrap: wrap; }
/* 핵심 장면: A4 사진대장 위에 겹친 휴대폰 */
.lp-visual { position: relative; height: 540px; }
.lp-sheet { position: absolute; left: 4%; top: 30px; width: 58%; aspect-ratio: 210 / 297; background: #fff; border: 1px solid #d5d9d3; box-shadow: 0 18px 40px rgba(27,31,29,.12); transform: rotate(-4deg); padding: 5% 5% 4%; display: flex; flex-direction: column; gap: 0; font-size: 10px; }
.lp-sheet-head { display: grid; grid-template-columns: auto 1fr auto 1fr; border: 1px solid #777; }
.lp-sheet-head span { background: #eef0ec; padding: 3px 5px; border-right: 1px solid #777; font-weight: 700; }
.lp-sheet-head b { padding: 3px 5px; border-right: 1px solid #777; font-weight: 500; white-space: nowrap; overflow: hidden; }
.lp-sheet-head b:last-child { border-right: 0; }
.lp-sheet-row { flex: 1; display: grid; grid-template-columns: 9% 1fr; border: 1px solid #777; border-top: 0; }
.lp-sheet-row span { display: grid; place-items: center; background: #f6f7f4; border-right: 1px solid #777; font-weight: 800; font-size: 12px; }
.lp-sheet-row .ph { margin: 6% 12%; border-radius: 1px; }
.ph1 { background: linear-gradient(#b9cad8 0 38%, #7d6d5c 38%); } .ph2 { background: linear-gradient(#b9cad8 0 38%, #6f675f 38%); } .ph3 { background: linear-gradient(#b9cad8 0 38%, #8a8277 38%); }
.lp-phone { position: absolute; right: 2%; top: 0; width: 56%; max-width: 320px; aspect-ratio: 9 / 18.5; background: #1b1f1d; border-radius: 38px; padding: 12px; box-shadow: 0 30px 60px rgba(27,31,29,.28); }
.lp-screen { width: 100%; height: 100%; background: #0f1211; border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; }
.lp-photo { position: relative; flex: 1; background: linear-gradient(#a9c2d6 0 36%, #8e8070 36% 100%); }
.lp-photo::after { content: ''; position: absolute; inset: 36% 0 0; background: radial-gradient(circle at 30% 70%, rgba(0,0,0,.12) 0 6%, transparent 7%), radial-gradient(circle at 75% 40%, rgba(0,0,0,.1) 0 5%, transparent 6%), radial-gradient(circle at 15% 30%, rgba(255,255,255,.08) 0 4%, transparent 5%); }
.lp-manhole { position: absolute; left: 50%; top: 48%; width: 46%; aspect-ratio: 1.6; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse at center, #3a3f3c 0 52%, #2a2e2c 53% 64%, #545a56 65% 100%); z-index: 1; }
.lp-board { position: absolute; left: 6%; right: 6%; bottom: 5%; z-index: 2; border-collapse: collapse; background: rgba(31,77,58,.95); color: #fff; font-size: clamp(9px, 1vw, 12px); outline: 2px solid rgba(255,255,255,.9); outline-offset: -5px; }
.lp-board th, .lp-board td { border-top: 1px solid rgba(255,255,255,.55); padding: 4px 8px; text-align: left; white-space: nowrap; }
.lp-board tr:first-child th, .lp-board tr:first-child td { border-top: 0; }
.lp-board th { width: 26%; text-align: center; border-right: 1px solid rgba(255,255,255,.55); font-weight: 700; padding-top: 6px; }
.lp-board tr:first-child th, .lp-board tr:first-child td { padding-top: 9px; }
.lp-board tr:last-child th, .lp-board tr:last-child td { padding-bottom: 9px; }
.lp-shot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 12px 10px 16px; background: #0f1211; }
.lp-shot span { text-align: center; color: #c9d1cc; font-size: 12px; padding: 8px 0; border-radius: 8px; background: #252a28; font-weight: 600; }
.lp-shot span.on { background: var(--safety); color: #1b1f1d; }
/* 본문 섹션 */
.lp-sec { max-width: 1160px; margin: 0 auto; padding: 56px 20px; border-top: 1px solid var(--line); }
.lp-h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.9px; font-weight: 800; margin: 0 0 30px; display: block; }
.lp-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.lp-compare > div { border-radius: 14px; padding: 26px 28px; }
.lp-old { background: #fff; border: 1px solid var(--line); color: #4d5651; }
.lp-new { background: var(--board); color: #fff; }
.lp-compare h3 { font-size: 19px; margin: 0 0 14px; color: inherit; }
.lp-compare ol { margin: 0; padding-left: 1.3em; display: grid; gap: 10px; font-size: 17px; line-height: 1.55; }
.lp-new ol li::marker { color: var(--safety); font-weight: 800; }
.lp-day { list-style: none; counter-reset: d; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 3px solid var(--board); }
.lp-day li { counter-increment: d; padding: 22px 22px 6px 0; position: relative; }
.lp-day li::before { content: counter(d); position: absolute; top: -17px; left: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--board); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; box-shadow: 0 0 0 4px var(--bg); }
.lp-day b { display: block; font-size: 19px; margin: 6px 0 8px; }
.lp-day p { margin: 0; color: #4d5651; line-height: 1.6; }
.lp-roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.lp-roles h3 { color: var(--text); font-size: 19px; margin: 0 0 8px; }
.lp-roles p { margin: 0; color: #4d5651; line-height: 1.65; }
.lp-forms { display: flex; gap: 28px; flex-wrap: wrap; }
.lp-forms figure { margin: 0; display: flex; gap: 14px; align-items: center; flex: 1 1 280px; }
.lp-forms svg { width: 64px; height: 77px; flex: none; }
.lp-forms figcaption { display: flex; flex-direction: column; } .lp-forms b { font-size: 18px; } .lp-forms span { color: #4d5651; }
.lp-note { color: var(--muted); margin: 22px 0 0; }
.lp-faq { display: grid; gap: 10px; max-width: 820px; }
.lp-faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.lp-faq summary { color: var(--text); font-size: 17.5px; }
.lp-faq summary::before { color: var(--board); }
.lp-faq p { margin: 10px 0 0; color: #4d5651; line-height: 1.7; }
.lp-end { background: var(--board); color: #fff; text-align: center; padding: 64px 20px; }
.lp-end h2 { display: block; font-size: clamp(26px, 3vw, 34px); letter-spacing: -.8px; margin: 0 0 24px; }
.lp-end .lp-cta { justify-content: center; }
.lp-end .lp-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.lp-foot { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; padding: 26px 20px 40px; color: var(--muted); font-size: 14.5px; }
.lp-foot span:first-child { font-weight: 800; color: var(--text); }
@media (max-width: 900px) {
  .lp-nav { display: none; }
  .lp-top { justify-content: space-between; }
  .lp-hero { grid-template-columns: 1fr; padding: 36px 20px 48px; gap: 30px; }
  .lp-visual { height: 470px; }
  .lp-compare, .lp-roles { grid-template-columns: 1fr; }
  .lp-day { grid-template-columns: 1fr; border-top: 0; border-left: 3px solid var(--board); padding-left: 0; }
  .lp-day li { padding: 0 0 26px 30px; }
  .lp-day li::before { top: 0; left: -17px; }
  .lp-day b { margin-top: 2px; }
  .lp-cta .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .lp-phone { animation: lp-in .7s cubic-bezier(.2,.7,.2,1) both .1s; }
  @keyframes lp-in { from { transform: translateY(24px); opacity: 0; } }
}


/* 무료 도구 안내 띠 (첫 화면) */
.lp-tool { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; max-width: 1120px; margin: 0 auto 8px; padding: 16px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--text); box-shadow: var(--shadow); }
.lp-tool:hover { text-decoration: none; border-color: var(--board); }
.lp-tool b { font-size: 17.5px; flex: 1 1 260px; }
.lp-tool-tag { background: var(--safety); color: #1b1f1d; font-weight: 800; font-size: 14px; padding: 4px 10px; border-radius: 999px; }
.lp-tool-go { color: var(--board); font-weight: 800; }
@media (max-width: 1200px) { .lp-tool { margin: 0 20px 8px; } }

/* 무료 전자칠판 /board */
.bd { max-width: 1160px; margin: 0 auto; padding: 28px 20px 0; }
.bd-intro h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -1px; margin: 0 0 8px; }
.bd-intro p { margin: 0 0 22px; font-size: 18px; color: #3b443f; line-height: 1.6; }
.bd-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.bd-stage { position: sticky; top: 84px; }
.bd-canvas { position: relative; background: #1b1f1d; border-radius: 14px; overflow: hidden; line-height: 0; }
.bd-canvas canvas { width: 100%; height: auto; max-height: 64vh; object-fit: contain; display: block; }
.bd-sample { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.bd-sample[hidden] { display: none; }
.bd-pick { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-top: 12px; }
.bd-pick .btn { cursor: pointer; white-space: normal; text-align: center; padding: 0 10px; line-height: 1.25; }
.bd-count { color: var(--muted); font-size: 15px; margin: 8px 0 0; min-height: 1em; }
.bd-form form { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: grid; gap: 14px; }
.bd-form label { display: grid; gap: 6px; font-weight: 700; font-size: 16px; }
.bd-form label small { color: var(--muted); font-weight: 500; }
.bd-form input:not([type=radio]) { font: 500 17px var(--font); min-height: 50px; padding: 0 14px; border: 1px solid var(--line2); border-radius: 10px; background: #fff; color: var(--text); width: 100%; box-sizing: border-box; }
.bd-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bd-chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bd-chips legend { font-weight: 700; font-size: 16px; padding: 0; margin-bottom: 6px; }
.bd-chips label { display: block; }
.bd-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bd-chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line2); border-radius: 999px; font-weight: 600; font-size: 16px; cursor: pointer; background: #fff; }
.bd-chips input:checked + span { background: var(--board); border-color: var(--board); color: #fff; }
.bd-chips input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.bd-more { border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 12px; }
.bd-more[open] { gap: 14px; }
.bd-more summary { cursor: pointer; font-weight: 700; color: var(--board); }
.bd-more > fieldset { margin-top: 12px; }
.bd-save { display: grid; gap: 10px; margin-top: 4px; }
.bd-msg { margin: 0; color: var(--board); font-weight: 700; min-height: 1.4em; }
.bd-next { margin: 36px 0 0; padding: 28px; border-radius: 16px; background: var(--board); color: #fff; }
.bd-next h2 { margin: 0 0 10px; font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -.6px; }
.bd-next p { margin: 0 0 18px; line-height: 1.7; font-size: 17px; color: #e3ece7; }
.bd-next .btn:not(.safety) { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.bd-next.on { box-shadow: 0 0 0 4px var(--safety); }
.bd-how { padding-left: 0; padding-right: 0; margin-top: 36px; }
.bd + .lp-foot, .bd ~ .lp-foot { margin-top: 20px; }
@media (max-width: 900px) {
  .bd { padding-top: 18px; }
  .bd-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; } /* 2.4.11 1fr 는 버튼 최소 폭만큼 늘어 390px 에서 401px 로 밀림 */
  .bd-stage { position: static; }
  .bd-two { grid-template-columns: 1fr; }
  .bd-next { padding: 22px 18px; }
}

/* 무료 양식 /forms */
.fm-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fm-card { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.fm-card svg, .fm-head svg { width: 64px; height: 84px; flex: none; }
.fm-card h2 { margin: 0 0 6px; font-size: 20px; letter-spacing: -.4px; }
.fm-card h2 a { color: var(--text); }
.fm-card p { margin: 0 0 14px; color: #4d5651; line-height: 1.6; }
.fm-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.fm-msg { color: var(--board); font-weight: 700; min-height: 1.4em; margin: 10px 0 0; }
.fm-crumb { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.fm-head { display: flex; gap: 22px; align-items: flex-start; }
.fm-head svg { width: 96px; height: 126px; }
.fm-head h1 { font-size: clamp(26px, 3.6vw, 36px); letter-spacing: -.9px; margin: 0 0 10px; }
.fm-head h1 small { font-size: 16px; color: var(--muted); font-weight: 600; letter-spacing: 0; margin-left: 6px; }
.fm-head p { margin: 0 0 18px; font-size: 18px; line-height: 1.65; color: #3b443f; max-width: 40em; }
.fm-sec { margin-top: 34px; }
.fm-sec h2 { font-size: 22px; letter-spacing: -.5px; margin: 0 0 14px; }
.fm-pain p { background: #fff; border-left: 4px solid var(--safety); padding: 14px 18px; border-radius: 6px; margin: 0; font-size: 17px; line-height: 1.65; }
.fm-other { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.fm-other a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 16px; border: 1px solid var(--line2); border-radius: 999px; background: #fff; color: var(--text); font-weight: 600; }
.fm .bd-next { margin-top: 34px; }
@media (max-width: 900px) {
  .fm-list { grid-template-columns: 1fr; }
  .fm-head svg { display: none; }
  .fm-head .btn { width: 100%; }
  .fm-card { padding: 16px; gap: 14px; }
  .fm-card svg { width: 48px; height: 63px; }
}
.lp-note a, .fm-crumb a { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.lp-end-sub { margin: 18px 0 0; color: #dfe9e3; }
.lp-end-sub a { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }

/* 도입 문의 /contact */
.ct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; padding-bottom: 20px; }
.ct-form { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: grid; gap: 14px; }
.ct-form label { display: grid; gap: 6px; font-weight: 700; font-size: 16px; }
.ct-form label small { color: var(--muted); font-weight: 500; }
.ct-form input:not([type=checkbox]), .ct-form textarea { font: 500 17px var(--font); min-height: 50px; padding: 10px 14px; border: 1px solid var(--line2); border-radius: 10px; background: #fff; color: var(--text); width: 100%; box-sizing: border-box; }
.ct-form textarea { resize: vertical; line-height: 1.55; }
.ct-form .ct-agree { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 15px; color: #4d5651; line-height: 1.5; }
.ct-agree input { width: 22px; height: 22px; margin-top: 1px; flex: none; }
.ct-err { background: #fdecec; color: #a12622; border-radius: 8px; padding: 10px 12px; font-weight: 700; }
.ct-alt { margin: 0; text-align: center; color: var(--muted); }
.ct-alt a, .ct-tel { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ct-tel { font-size: 20px; }
.ct-done { text-align: center; max-width: 640px; margin: 30px auto 40px; }
.ct-done p { font-size: 18px; line-height: 1.7; color: #3b443f; }
.ct-done .lp-cta { justify-content: center; }
.ct-ok { width: 64px; height: 64px; border-radius: 50%; background: var(--board); color: #fff; display: grid; place-items: center; font-size: 34px; margin: 0 auto 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) { .ct-grid { grid-template-columns: 1fr; gap: 18px; } }

/* ───────── 2.0 덧붙임 (CSP: 인라인 style 대신 클래스) ───────── */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.lp-top-acts { display: flex; gap: 8px; align-items: center; }
.lp-signup { border-color: var(--safety-d); }
.lp-flash { max-width: 1160px; margin: 16px auto 0; padding: 0 20px; }
.flash { border-radius: 10px; padding: 12px 16px; font-weight: 700; margin-bottom: 8px; background: var(--ok-l); color: var(--ok); }
.flash.err { background: var(--err-l); color: var(--err); }
.lp-404 { text-align: center; padding: 80px 20px; }
.lp-404 .lp-cta { justify-content: center; margin-top: 24px; }
.lp-noscript { padding: 20px; }
.bd-next .lp-end-sub a { color: #fff; }
@media (max-width: 900px) { .lp-signup { display: none; } }
/* 2.4.0 요금 안내·약관·사업자 정보 */
.lp-biz { flex-basis: 100%; font-size: 12.5px; opacity: .8; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.bl-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 24px 0; }
.bl-plan { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: #fff; }
.bl-plan h2 { margin: 0 0 6px; font-size: 19px; }
.bl-price { margin: 0 0 10px; }
.bl-price b { font-size: 28px; }
.bl-plan ul { margin: 0; padding-left: 18px; line-height: 1.8; }
.tm section { margin: 24px 0; }
.tm h2 { font-size: 19px; margin: 0 0 8px; }
.tm-text { line-height: 1.8; }
.tm .info { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 20px; }
.tm .info dt { font-size: 13px; opacity: .7; }
.tm .info dd { margin: 0; }
/* 2.5.1 강점·시작 9분 (AARRR 진단을 첫 화면에) */
.lp-str { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp-str li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 20px; border-top: 4px solid var(--board); }
.lp-str-tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #fff7d6; color: #6b4e00; font-size: 14px; font-weight: 700; }
.lp-str h3 { font-size: 20px; margin: 12px 0 6px; color: var(--text); }
.lp-str p { margin: 0; color: #4d5651; line-height: 1.65; }
.lp-start { list-style: none; counter-reset: s; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.lp-start li { counter-increment: s; position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 46px 16px 16px; }
.lp-start li::before { content: counter(s); position: absolute; top: 14px; left: 16px; width: 26px; height: 26px; border-radius: 50%; background: var(--board); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.lp-start b { display: block; font-size: 17.5px; }
.lp-min { display: inline-block; margin: 4px 0 6px; font-size: 14px; font-weight: 700; color: var(--board); }
.lp-start p { margin: 0; color: #4d5651; font-size: 15.5px; line-height: 1.55; }
.lp-value { display: grid; grid-template-columns: minmax(260px, 360px) 1fr; gap: 24px; align-items: center; }
.lp-value > p { margin: 0; color: #3d4641; font-size: 17px; line-height: 1.7; }
.lp-value-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: 0 8px 24px rgba(27,31,29,.06); }
.lp-value-tag { display: inline-block; font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; margin-bottom: 10px; }
.lp-value-card > b { display: block; font-size: 16px; }
.lp-value-card strong { display: block; font-size: 34px; color: var(--board); letter-spacing: -1px; margin: 4px 0 12px; }
.lp-value-card strong small { font-size: 15px; color: #4d5651; font-weight: 600; letter-spacing: 0; }
.lp-value-card ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lp-value-card li { display: flex; flex-direction: column; background: #f5f7f5; border-radius: 10px; padding: 8px 10px; font-size: 13.5px; color: #4d5651; }
.lp-value-card li b { font-size: 19px; color: var(--text); }
.lp-end-sub + .lp-end-sub { margin-top: 6px; }
@media (max-width: 900px) {
  .lp-str { grid-template-columns: 1fr; }
  .lp-start { grid-template-columns: 1fr; }
  .lp-start li { padding: 14px 16px 14px 56px; }
  .lp-start li::before { top: 14px; }
  .lp-value { grid-template-columns: 1fr; }
}
@media (min-width: 901px) and (max-width: 1100px) { .lp-str { grid-template-columns: repeat(2, 1fr); } .lp-start { grid-template-columns: repeat(3, 1fr); } }
@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }
.lp-sec[id] { scroll-margin-top: 90px; }
/* 2.5.2 움직이는 기능 소개 (Slack 기능 화면처럼 — 그림은 HTML·CSS, site.js 가 단계 진행) */
.lp-tour-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 28px 0; }
.lp-tour-row + .lp-tour-row { border-top: 1px dashed var(--line); }
.lp-tour-row.rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.lp-tour-row.rev .lp-scene-wrap { order: 2; }
.lp-tour-text h3 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.6px; margin: 12px 0 10px; color: var(--text); }
.lp-tour-text p { margin: 0 0 14px; color: #3d4641; font-size: 17px; line-height: 1.7; }
.lp-tour-text ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.lp-tour-text li { position: relative; padding-left: 22px; color: #3d4641; }
.lp-tour-text li::before { content: ''; position: absolute; left: 4px; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--safety); }
.lp-scene-wrap { position: relative; }
.lp-scene { position: relative; height: 360px; border-radius: 18px; background: linear-gradient(160deg, #e8efe9, #f6f4ea); border: 1px solid var(--line); overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 22px; font-size: 13px; color: var(--text); }
.lp-scene-wrap { display: flex; flex-direction: column; align-items: stretch; }
.lp-scene-btn { align-self: flex-end; margin-top: 8px; min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(255,255,255,.92); color: var(--text); font: 600 13px var(--font); cursor: pointer; }
.lp-scene-btn:focus-visible { outline: 3px solid #1d5fa8; outline-offset: 2px; }

/* 단계 표시: 스크립트가 켜졌을 때만 숨겼다가 차례로 */
.lp-scene.is-anim [data-at] { opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .35s ease, transform .35s cubic-bezier(.2,.8,.2,1); }
.lp-scene.is-anim [data-at].on { opacity: 1; transform: none; }
.lp-scene [data-off].off { display: none !important; }
.lp-scene.is-anim .tap.on::after { content: ''; position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: rgba(242,183,5,.55); animation: ts-tap .6s ease-out 1 forwards; pointer-events: none; }
@keyframes ts-tap { from { transform: scale(.3); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.lp-scene.is-anim .ts-type.on { animation: ts-type .7s steps(18, end) 1 both; }
@keyframes ts-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* 공통 조각 */
.ts-win { width: 100%; max-width: 470px; background: #fff; border-radius: 14px; box-shadow: 0 10px 30px rgba(27,31,29,.12); overflow: hidden; }
.ts-win-top { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fafbf9; }
.ts-win-top i { width: 9px; height: 9px; border-radius: 50%; background: #d5dad5; }
.ts-win-top b { margin-left: 8px; font-size: 13px; }
.ts-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; min-height: 30px; padding: 0 14px; border-radius: 8px; font-weight: 700; font-size: 13px; background: #fff; border: 1px solid var(--line2); }
.ts-btn.primary { background: var(--board); color: #fff; border-color: var(--board); }
.ts-btn.ok { background: var(--ok); color: #fff; border-color: var(--ok); }
.ts-badge { display: inline-flex; padding: 4px 10px; border-radius: 999px; font-weight: 700; font-size: 12.5px; }
.ts-badge.warn { background: var(--warn-l); color: var(--warn); }
.ts-badge.ok { background: var(--ok-l); color: var(--ok); }
.ts-photo { position: relative; display: block; width: 100%; height: 100%; border-radius: 6px; overflow: hidden; background: linear-gradient(180deg, #7d8f86 0 45%, #5b6a61 45% 100%); }
.ts-photo.p2 { background: linear-gradient(180deg, #8a9a7f 0 40%, #6b5a45 40% 100%); }
.ts-photo.p3 { background: linear-gradient(180deg, #8fa3b0 0 50%, #4f5d66 50% 100%); }
.ts-manhole { position: absolute; left: 18%; bottom: 14%; width: 32%; aspect-ratio: 2.4; border-radius: 50%; background: #2c3330; box-shadow: inset 0 0 0 3px #47504b; }
.ts-board { position: absolute; right: 6%; bottom: 8%; width: 40%; padding: 3px 4px; background: var(--board); border: 2px solid #fff; border-radius: 3px; display: grid; gap: 2px; }
.ts-board b { color: #fff; font-size: 8px; line-height: 1.1; }
.ts-board i { display: block; height: 2px; background: rgba(255,255,255,.55); }

/* 장면 1 사진대장 */
.ts-phone { position: relative; width: 168px; height: 316px; flex: none; border-radius: 26px; background: #1b1f1d; padding: 10px; box-shadow: 0 14px 30px rgba(0,0,0,.2); display: flex; flex-direction: column; gap: 6px; }
.ts-ph-top { background: #fff; border-radius: 14px 14px 6px 6px; padding: 8px 10px; display: flex; flex-direction: column; }
.ts-ph-top b { font-size: 12px; } .ts-ph-top small { color: var(--muted); font-size: 10.5px; }
.ts-slots { flex: 1; display: grid; grid-template-rows: repeat(3, 1fr); gap: 6px; }
.ts-slot { position: relative; border-radius: 8px; border: 2px dashed #6b756f; background: #2a302d; display: flex; }
.ts-slot .ts-photo { position: absolute; inset: 0; }
.ts-slot-l { position: absolute; left: 6px; top: 4px; z-index: 1; color: #fff; font-size: 10px; font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.lp-scene.is-anim .ts-slot[data-at] { opacity: 1; transform: none; }
.lp-scene.is-anim .ts-slot .ts-photo { opacity: 0; transition: opacity .35s; }
.lp-scene.is-anim .ts-slot.on .ts-photo { opacity: 1; }
.ts-ph-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: #fff; border-radius: 6px 6px 14px 14px; padding: 6px; }
.ts-ph-bar span { text-align: center; font-size: 10px; color: var(--muted); padding: 3px 0; border-radius: 6px; }
.ts-ph-bar .on { background: var(--safety); color: #1b1f1d; font-weight: 700; }
.ts-sheet { width: 190px; height: 268px; flex: none; background: #fff; border-radius: 6px; box-shadow: 0 10px 26px rgba(27,31,29,.14); padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.ts-sheet-h { display: flex; flex-direction: column; align-items: center; border-bottom: 2px solid var(--board); padding-bottom: 4px; }
.ts-sheet-h span { font-weight: 800; letter-spacing: 4px; font-size: 12px; } .ts-sheet-h small { font-size: 9.5px; color: var(--muted); }
.ts-sheet-r { flex: 1; display: grid; grid-template-columns: 18px 1fr; gap: 6px; align-items: stretch; }
.ts-sheet-r em { font-style: normal; font-weight: 700; display: grid; place-items: center; background: var(--primary-l); border-radius: 4px; font-size: 11px; }
.ts-done { position: absolute; left: 50%; bottom: 18px; translate: -50% 0; white-space: nowrap; background: var(--board); color: #fff; font-weight: 700; padding: 7px 14px; border-radius: 999px; box-shadow: 0 8px 20px rgba(31,77,58,.3); }

/* 장면 2 작업일보 */
.ts-daily { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.ts-chips { display: flex; flex-wrap: wrap; gap: 6px; min-height: 28px; }
.ts-chips span { padding: 4px 10px; border-radius: 999px; background: var(--primary-l); color: var(--board); font-weight: 700; }
.ts-text { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; min-height: 120px; display: flex; flex-direction: column; gap: 4px; }
.ts-text small { color: var(--muted); font-size: 11px; }
.ts-text p { margin: 0 0 4px; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.ts-status { min-height: 26px; }

/* 장면 3 전자카드 */
.ts-ecard { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.ts-file { align-self: flex-start; padding: 6px 10px; border: 1px dashed var(--line2); border-radius: 8px; background: #fafbf9; font-weight: 600; }
.ts-tbl { display: grid; gap: 2px; }
.ts-tr { display: grid; grid-template-columns: 1.5fr .8fr .7fr .6fr 1.1fr; gap: 6px; align-items: center; padding: 6px 8px; border-radius: 6px; background: #fafbf9; }
.ts-tr.th { background: none; color: var(--muted); font-size: 11.5px; font-weight: 700; }
.ts-tr.hl.on { background: #fff8e6; box-shadow: inset 3px 0 0 var(--safety); }
.ts-tr em { font-style: normal; } .ts-new { color: var(--ok); font-weight: 800; }
.ts-r, .ts-r b { font-weight: 700; } .ts-r.ok, .ts-r .ok { color: var(--ok); } .ts-r .warn { color: var(--warn); } .ts-r.err { color: var(--err); }

/* 장면 4 감독관 공유 */
.ts-share-l { max-width: 230px; flex: none; }
.ts-share-form { padding: 12px; display: flex; flex-direction: column; gap: 5px; min-height: 230px; }
.ts-share-form small { color: var(--muted); font-size: 11px; }
.ts-field { padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; font-weight: 600; }
.ts-share-form .ts-btn { margin-top: 6px; }
.ts-toast { align-self: flex-start; margin-top: 4px; padding: 5px 10px; border-radius: 8px; background: #fee500; color: #3a1d1d; font-weight: 700; font-size: 12px; }
.ts-seen { margin-top: auto; padding: 6px 8px; border-radius: 8px; background: var(--ok-l); color: var(--ok); font-weight: 600; }
.ts-phone-r { width: 160px; height: 300px; background: #1b1f1d; }
.ts-phone-r > * { background: #fff; border-radius: 16px; }
.ts-msg { margin-top: 40px; padding: 10px; display: flex; flex-direction: column; gap: 4px; background: #fee500 !important; color: #3a1d1d; font-size: 11.5px; }
.ts-view { flex: 1; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.ts-view > b { font-size: 11.5px; }
.ts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; height: 110px; }
.ts-line { height: 6px; border-radius: 3px; background: #e3e7e3; } .ts-line.s { width: 60%; }
.ts-view .ts-btn, .ts-view .ts-badge { align-self: stretch; justify-content: center; margin-top: auto; }

.lp-scene.ts-k-photo { align-items: flex-start; padding-top: 18px; }
.ts-k-photo .ts-phone { height: 290px; } .ts-k-photo .ts-sheet { height: 250px; margin-top: 20px; }
.ts-done { bottom: 14px; }
.ts-tr span { white-space: nowrap; overflow: hidden; text-overflow: clip; }
@media (max-width: 900px) {
  .lp-tour-row { grid-template-columns: 1fr; gap: 18px; padding: 22px 0; }
  .lp-tour-row.rev { grid-template-columns: 1fr; }
  .lp-tour-row.rev .lp-scene-wrap { order: 0; }
  .lp-scene { height: 330px; padding: 14px; gap: 10px; font-size: 12px; }
}
@media (max-width: 420px) {
  .ts-phone, .ts-k-photo .ts-phone { width: 138px; height: 262px; padding: 8px; }
  .ts-k-photo .ts-sheet { height: 220px; margin-top: 14px; }
  .ts-sheet { width: 150px; height: 230px; padding: 8px; }
  .ts-share-l { max-width: 160px; }
  .ts-phone-r { width: 140px; height: 280px; }
  .ts-tr { grid-template-columns: 1.6fr .9fr .6fr .5fr 1.2fr; gap: 3px; padding: 5px; font-size: 11px; }
  .ts-text p { font-size: 12px; white-space: normal; }
  .ts-done { font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) { .lp-scene * { transition: none !important; animation: none !important; } }
