/* home-v3.css - 첫 화면 v3 (2026-10-18 대표 토론안)
 * home-toss.css 뒤에 읽는다. 색은 home-toss.css 토큰(--t-*)을 쓴다.
 * 구성: 예시 화면(demo) · 문제(tries) · UPFLOW Foundry 흐름(dark) · 진행 단계(steps3) · 실적(proof) · 대화형 문의(chat) · 소개서 대화 상자(modal)
 */

.home svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.home .lead-below { margin-top: 20px; max-width: 760px; }

/* ======================================================== */
/* 1. 예시 화면                                              */
/* ======================================================== */
.home .demo { margin: 64px 0 0; position: relative; }
.home .demo-win {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--t-grey-200); border-radius: 20px;
  box-shadow: 0 1px 2px rgba(12, 30, 51, .04), 0 24px 48px -24px rgba(12, 30, 51, .18);
}
.home .demo-bar { display: flex; align-items: center; gap: 14px; height: 48px; padding: 0 18px; border-bottom: 1px solid var(--t-grey-100); font-size: 14px; color: var(--t-grey-500); }
.home .demo-bar b { color: var(--t-grey-900); font-weight: var(--w-bold); }
.home .demo-dots { display: flex; gap: 6px; }
.home .demo-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--t-grey-200); }
.home .demo-user { margin-left: auto; }
.home .demo-body { display: grid; grid-template-columns: 188px 1fr; min-height: 340px; }
.home .demo-side { list-style: none; margin: 0; padding: 14px 10px; border-right: 1px solid var(--t-grey-100); background: var(--t-grey-50); }
.home .demo-side li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-size: 14px; color: var(--t-grey-600); }
.home .demo-side li svg { width: 16px; height: 16px; }
.home .demo-side li.on { background: #fff; color: var(--t-grey-900); font-weight: var(--w-semibold); box-shadow: 0 1px 2px rgba(12, 30, 51, .06); }
.home .demo-main { padding: 12px 20px; overflow: hidden; }
.home .demo-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.home .demo-table th { text-align: left; font-weight: var(--w-semibold); color: var(--t-grey-500); padding: 10px 8px; border-bottom: 1px solid var(--t-grey-100); white-space: nowrap; }
.home .demo-table td { padding: 12px 8px; border-bottom: 1px solid var(--t-grey-100); color: var(--t-grey-800); white-space: nowrap; }
.home .demo-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.home .pill { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--t-grey-100); color: var(--t-grey-700); font-size: 13px; font-weight: var(--w-semibold); }
.home .pill.done { background: #E8F5EE; color: #1B7A47; }
.home .pill.wait { background: var(--t-blue-50); color: var(--t-blue-700); }
.home .demo-new { transition: background .4s; }
.home .demo:not(.p-new) .demo-new { opacity: 0; }
.home .demo.p-new .demo-new { opacity: 1; background: var(--t-blue-50); transition: opacity .4s, background .4s; }
.home .demo.p-done .demo-new { background: transparent; }

.home .demo-toast {
  position: absolute; right: 20px; top: 68px; width: 300px;
  background: #fff; border: 1px solid var(--t-grey-200); border-radius: 16px; padding: 16px 18px;
  box-shadow: 0 16px 40px -12px rgba(12, 30, 51, .28);
  transform: translateX(calc(100% + 40px)); opacity: 0; transition: transform .5s cubic-bezier(.2, .8, .2, 1), opacity .3s;
}
.home .demo.p-toast .demo-toast { transform: none; opacity: 1; }
.home .demo.p-done .demo-toast { transform: translateX(calc(100% + 40px)); opacity: 0; }
.home .t-head { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: 13px; font-weight: var(--w-bold); color: var(--t-blue-500); }
.home .t-head svg { width: 16px; height: 16px; }
.home .t-text { margin: 0 0 6px; font-size: 15px; line-height: 1.5; color: var(--t-grey-900); }
.home .t-ref { margin: 0 0 12px; font-size: 12px; color: var(--t-grey-500); }
.home .t-actions { display: flex; gap: 8px; }
.home .t-btn { padding: 7px 14px; border-radius: 10px; background: var(--t-grey-100); color: var(--t-grey-700); font-size: 13px; font-weight: var(--w-semibold); transition: transform .15s, box-shadow .15s; }
.home .t-ok { background: var(--t-blue-500); color: #fff; }
.home .demo.p-ok .t-ok { transform: scale(.94); box-shadow: 0 0 0 4px rgba(31, 91, 199, .25); }

.home .demo-snack {
  position: absolute; left: 50%; bottom: 20px; display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 12px; background: var(--t-grey-900); color: #fff; font-size: 14px; font-weight: var(--w-semibold);
  transform: translate(-50%, 24px); opacity: 0; transition: transform .4s cubic-bezier(.2, .8, .2, 1), opacity .3s;
}
.home .demo-snack svg { width: 16px; height: 16px; color: #8FB4F5; }
.home .demo.p-done .demo-snack { transform: translate(-50%, 0); opacity: 1; }
.home .demo figcaption { margin-top: 10px; text-align: right; font-size: 13px; color: var(--t-grey-500); }

/* ======================================================== */
/* 2. 문제                                                   */
/* ======================================================== */
.home .tries { display: grid; grid-template-columns: 1fr 48px 1.25fr; align-items: center; gap: 16px; margin-top: 48px; }
.home .try-list, .home .limit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.home .try-list li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--t-grey-50); border: 1px solid var(--t-grey-200); border-radius: 16px; }
.home .try-list b { display: block; font-size: 17px; color: var(--t-grey-900); }
.home .try-list small { display: block; margin-top: 2px; font-size: 13px; color: var(--t-grey-500); }
.home .try-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--t-grey-200); color: var(--t-grey-600); }
.home .try-x { margin-left: auto; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #FDECEC; color: var(--t-red-600); }
.home .try-x svg { width: 16px; height: 16px; stroke-width: 2.4; }
.home .tries-arrow { display: grid; place-items: center; color: var(--t-grey-400); }
.home .limit-list { counter-reset: lim; }
.home .limit-list li { counter-increment: lim; position: relative; padding: 20px 22px 20px 64px; background: var(--t-grey-100); border-radius: 16px; }
.home .limit-list li::before { content: counter(lim); position: absolute; left: 22px; top: 20px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--t-grey-900); color: #fff; font-size: 14px; font-weight: var(--w-bold); }
.home .limit-list b { display: block; font-size: 17px; color: var(--t-grey-900); }
.home .limit-list p { margin: 4px 0 0; font-size: 15px; line-height: 1.6; color: var(--t-grey-700); }

/* ======================================================== */
/* 3. UPFLOW Foundry (남색 판)                                */
/* ======================================================== */
.home #foundry.dark { background: var(--t-grey-900); color: #fff; }
.home #foundry .label { color: #8FB4F5; }
.home #foundry .h2 { color: #fff; }
.home #foundry .h2 .muted { color: #A9B4C2; }
.home #foundry .lead { color: #C9D1DB; }
.home .flow-tabs { display: inline-flex; gap: 4px; padding: 4px; margin-top: 40px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.home .flow-tabs button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 10px; background: none; color: #A9B4C2; font: inherit; font-size: 15px; font-weight: var(--w-semibold); cursor: pointer; }
.home .flow-tabs button[aria-selected="true"] { background: #fff; color: var(--t-grey-900); }
.home .flow-tabs button:focus-visible { outline: 3px solid #8FB4F5; outline-offset: 2px; }
.home .flow-panel { margin-top: 28px; padding: 40px; border-radius: 24px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.home .flow-panel:focus-visible { outline: 3px solid #8FB4F5; outline-offset: 2px; }

.home .f-node { position: relative; z-index: 1; background: #1A2A3E; border: 1px solid #2A3A4F; border-radius: 16px; padding: 18px; color: #fff; }
.home .f-node b { display: block; margin-top: 12px; font-size: 16px; font-weight: var(--w-bold); }
.home .f-node p { margin: 4px 0 0; font-size: 14px; line-height: 1.55; color: #B8C2CE; }
.home .f-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(143, 180, 245, .14); color: #8FB4F5; }
.home .f-result { background: var(--t-blue-500); border-color: var(--t-blue-500); }
.home .f-result .f-ico { background: rgba(255, 255, 255, .18); color: #fff; }
.home .f-result p { color: #DCE7FB; }
.home .f-tag { position: absolute; top: 14px; right: 14px; padding: 2px 8px; border-radius: 999px; background: rgba(77, 200, 140, .18); color: #7EE0AE; font-size: 12px; font-weight: var(--w-semibold); }
.home .f-tag-warn { background: rgba(255, 196, 80, .16); color: #FFD27A; }

/* 차례로 켜짐 */
.home .flow-panel .f-node, .home .flow-panel .f-inputs li, .home .flow-panel .f-branch { opacity: .15; transform: translateY(8px); transition: opacity .5s, transform .5s; transition-delay: calc(var(--d, 0) * .18s); }
.home .flow-panel.on .f-node, .home .flow-panel.on .f-inputs li, .home .flow-panel.on .f-branch { opacity: 1; transform: none; }
html:not(.js) .home .flow-panel .f-node, html:not(.js) .home .flow-panel .f-inputs li { opacity: 1; transform: none; }

/* 흐름 1 */
.home .flow-build { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: center; }
.home .f-inputs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; position: relative; }
.home .f-inputs li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .08); font-size: 14px; color: #E3E8EE; }
.home .f-inputs li svg { width: 18px; height: 18px; color: #8FB4F5; }
.home .f-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.home .f-steps::before { content: ""; position: absolute; left: -28px; right: 12%; top: 38px; height: 2px; background: linear-gradient(90deg, rgba(143, 180, 245, .1), rgba(143, 180, 245, .6)); }
.home .f-steps .f-node::after { content: ""; position: absolute; right: -20px; top: 32px; width: 12px; height: 12px; border-top: 2px solid #8FB4F5; border-right: 2px solid #8FB4F5; transform: rotate(45deg); }
.home .f-steps .f-node:last-child::after { display: none; }

/* 흐름 2: 세로 순서도 */
.home .flow-daily { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; display: grid; gap: 28px; position: relative; }
.home .flow-daily > li:not(.f-branch)::after, .home .flow-daily .f-branch::after { content: ""; position: absolute; left: 50%; bottom: -24px; width: 2px; height: 20px; background: rgba(143, 180, 245, .5); }
.home .flow-daily > li:last-child::after { display: none; }
.home .flow-daily > .f-node { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; align-items: center; }
.home .flow-daily > .f-node b { margin: 0; }
.home .flow-daily > .f-node p { grid-column: 2; }
.home .flow-daily > .f-node .f-ico { grid-row: span 2; }
.home .f-branch { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.home .f-branch .f-node { padding-top: 18px; }

/* 흐름 3: 순환 */
.home .flow-loop { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.home .flow-loop .f-node::after { content: ""; position: absolute; right: -20px; top: 32px; width: 12px; height: 12px; border-top: 2px solid #8FB4F5; border-right: 2px solid #8FB4F5; transform: rotate(45deg); }
.home .flow-loop .f-node:last-child::after { display: none; }
.home .flow-note { margin: 24px 0 0; padding-top: 18px; border-top: 1px dashed rgba(255, 255, 255, .18); font-size: 14px; color: #A9B4C2; text-align: center; }

/* ======================================================== */
/* 4. 진행 단계                                              */
/* ======================================================== */
.home .steps3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.home .steps3 li { background: var(--t-grey-100); border-radius: 20px; padding: 28px; }
.home .s-no { margin: 0; font-size: 14px; font-weight: var(--w-semibold); color: var(--t-blue-500); }
.home .steps3 h3 { margin: 6px 0 10px; font-size: 24px; line-height: 1.35; font-weight: var(--w-bold); letter-spacing: -0.02em; color: var(--t-grey-900); }
.home .steps3 li > p:not(.s-no):not(.s-out-label) { margin: 0; font-size: 16px; line-height: 1.65; color: var(--t-grey-700); }
.home .s-out-label { margin: 20px 0 8px; padding-top: 16px; border-top: 1px solid var(--t-grey-200); font-size: 13px; font-weight: var(--w-semibold); color: var(--t-grey-500); }
.home .s-out { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.home .s-out li { padding: 4px 10px; border-radius: 8px; background: #fff; font-size: 14px; color: var(--t-grey-800); }

/* ======================================================== */
/* 6. 실적                                                   */
/* ======================================================== */
.home #proof .h2 .count { color: var(--t-blue-500); font-variant-numeric: tabular-nums; }
.home .gov { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.home .gov li { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px; border: 1px solid var(--t-grey-200); border-radius: 16px; }
.home .gov span { font-size: 13px; color: var(--t-grey-500); }
.home .gov b { font-size: 16px; color: var(--t-grey-900); }

/* ======================================================== */
/* 8. 대화형 문의                                            */
/* ======================================================== */
.home .chat { max-width: 680px; margin: 32px auto 0; text-align: left; background: #fff; border: 1px solid var(--t-grey-200); border-radius: 24px; overflow: hidden; }
.home .chat-log { height: 420px; overflow-y: auto; padding: 24px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.home .msg { max-width: 82%; padding: 12px 16px; border-radius: 18px; font-size: 15px; line-height: 1.55; white-space: pre-line; word-break: keep-all; overflow-wrap: anywhere; animation: msg-in .25s ease-out; }
.home .msg.bot { align-self: flex-start; background: var(--t-grey-100); color: var(--t-grey-900); border-bottom-left-radius: 6px; }
.home .msg.me { align-self: flex-end; background: var(--t-blue-500); color: #fff; border-bottom-right-radius: 6px; }
.home .msg.typing { display: flex; gap: 4px; padding: 14px 16px; }
.home .msg.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--t-grey-500); animation: dot 1s infinite; }
.home .msg.typing span:nth-child(2) { animation-delay: .15s; }
.home .msg.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes dot { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
.home .chat-input { border-top: 1px solid var(--t-grey-100); padding: 16px; background: var(--t-grey-50); min-height: 76px; }
.home .chat-input:empty { display: none; }
.home .ci-row { display: flex; gap: 8px; align-items: flex-end; }
.home .ci-row input, .home .ci-row textarea {
  flex: 1; min-width: 0; font: inherit; font-size: 16px; line-height: 1.5; color: var(--t-grey-900);
  background: #fff; border: 1px solid var(--t-grey-300); border-radius: 12px; padding: 11px 14px; resize: none;
}
.home .ci-row input:focus-visible, .home .ci-row textarea:focus-visible { outline: 2px solid var(--t-blue-500); outline-offset: 1px; border-color: var(--t-blue-500); }
.home .ci-row [aria-invalid="true"] { border-color: var(--t-red-600); }
.home .ci-send { height: 46px; min-height: 46px; padding: 0 18px; font-size: 15px; flex: none; }
.home .ci-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.home .chip-btn {
  display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px;
  min-height: 44px; padding: 8px 16px; border: 1px solid var(--t-grey-300); border-radius: 14px; background: #fff;
  font: inherit; font-size: 15px; color: var(--t-grey-800); cursor: pointer; text-align: left;
}
.home .chip-btn small { font-size: 12px; color: var(--t-grey-500); }
.home .chip-btn:hover { border-color: var(--t-blue-500); }
.home .chip-btn[aria-pressed="true"] { border-color: var(--t-blue-500); background: var(--t-blue-50); color: var(--t-blue-700); }
.home .chip-btn:focus-visible { outline: 2px solid var(--t-blue-500); outline-offset: 2px; }
.home .ci-consent .cf-notice { margin: 8px 0 0 28px; }
.home .ci-consent .cf-status { margin: 8px 0 0; }
.home .ci-consent .ci-send { margin-top: 12px; }
.home .chat-noscript { margin-top: 16px; }

/* ======================================================== */
/* 소개서 대화 상자                                           */
/* ======================================================== */
.home .modal { border: 0; padding: 0; border-radius: 24px; width: min(440px, calc(100vw - 32px)); box-shadow: 0 24px 64px rgba(12, 30, 51, .3); }
.home .modal::backdrop { background: rgba(12, 30, 51, .45); }
.home .modal-box { position: relative; padding: 32px 28px 28px; display: grid; gap: 14px; }
.home .modal-box h2 { margin: 0; font-size: 22px; font-weight: var(--w-bold); color: var(--t-grey-900); }
.home .modal-sub { margin: -6px 0 4px; font-size: 15px; color: var(--t-grey-600); }
.home .modal-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 12px; background: none; color: var(--t-grey-600); cursor: pointer; }
.home .modal-close:hover { background: var(--t-grey-100); }
.home .modal .cf-field input { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--t-grey-300); border-radius: 12px; }
.home .modal .cf-field input:focus-visible { outline: 2px solid var(--t-blue-500); outline-offset: 1px; }
.home .modal .cf-field input[aria-invalid="true"] { border-color: var(--t-red-600); }
.home .modal .cf-agree { margin-top: 0; }
.home .modal .cf-status { margin: 0; }
.home .modal-submit { width: 100%; }

/* ======================================================== */
/* 반응형 · 동작 줄이기                                       */
/* ======================================================== */
@media (max-width: 900px) {
  .home .demo-body { grid-template-columns: 1fr; }
  .home .demo-side { display: none; }
  .home .demo-toast { right: 12px; left: 12px; width: auto; top: auto; bottom: 12px; }
  .home .demo-user { display: none; }
  .home .tries { grid-template-columns: 1fr; }
  .home .tries-arrow { transform: rotate(90deg); }
  .home .flow-panel { padding: 24px; }
  .home .flow-build { grid-template-columns: 1fr; }
  .home .f-inputs { grid-template-columns: repeat(3, 1fr); }
  .home .f-steps, .home .flow-loop { grid-template-columns: 1fr 1fr; }
  .home .f-steps::before { display: none; }
  .home .f-steps .f-node::after, .home .flow-loop .f-node::after { display: none; }
  .home .steps3, .home .gov { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .home .demo-main { padding: 8px 10px; overflow-x: auto; }
  .home .demo-table th:nth-child(3), .home .demo-table td:nth-child(3) { display: none; }
  .home .f-inputs { grid-template-columns: 1fr 1fr; }
  .home .f-steps, .home .flow-loop, .home .f-branch { grid-template-columns: 1fr; }
  .home .flow-tabs { display: flex; width: 100%; overflow-x: auto; }
  .home .flow-tabs button { flex: none; padding: 0 14px; font-size: 14px; }
  .home .chat-log { height: 380px; padding: 16px; }
  .home .msg { max-width: 90%; }
  .home .ci-consent .cf-notice { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .home .demo *, .home .flow-panel *, .home .msg { transition: none !important; animation: none !important; }
}

/* ======================================================== */
/* 사례 카드 (Linear 고객 카드 형식: 썸네일 → 제목 → 링크)     */
/* ======================================================== */
.home .cases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1px 1fr 1px 1fr; gap: 48px 32px; }
.home .cases .rule { background: var(--t-grey-200); }
.home .case-card { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.home .case-thumb {
  position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; display: grid; place-items: center;
  background: var(--bg, var(--t-grey-900)); color: #fff; filter: brightness(.96); transition: filter .2s cubic-bezier(.215, .61, .355, 1);
}
.home .case-thumb b { font-size: 24px; font-weight: var(--w-bold); letter-spacing: -0.02em; }
.home .case-thumb svg { position: absolute; right: 16px; bottom: 14px; width: 56px; height: 56px; stroke-width: 1.2; opacity: .22; }
.home .case-tag { margin: 20px 0 6px; font-size: 13px; font-weight: var(--w-semibold); color: var(--t-grey-500); }
.home .case-card h3 { margin: 0; font-size: 19px; line-height: 1.45; font-weight: var(--w-bold); letter-spacing: -0.015em; color: var(--t-grey-900); }
.home .case-more { margin-top: auto; padding-top: 16px; font-size: 14px; color: var(--t-grey-500); transition: color .15s; }
@media (any-hover: hover) {
  .home .case-card:hover .case-thumb { filter: brightness(1.06); }
  .home .case-card:hover .case-more { color: var(--t-grey-900); transition-duration: 0s; }
}
@media (max-width: 1024px) { .home .cases { grid-template-columns: 1fr 1fr; } .home .cases .rule { display: none; } }
@media (max-width: 640px) { .home .cases { grid-template-columns: 1fr; gap: 40px; } }
.home .cases > li { padding: 0; margin: 0; }
.home .cases > li.rule { width: 1px; justify-self: center; }
.home .modal { margin: auto; max-height: calc(100dvh - 32px); overflow: auto; }
.home .ci-row-sub { margin-top: 10px; }

/* 문장 줄바꿈: 문장마다 <br>로 나눈다. 줄 안에서는 단어 단위로 자연스럽게 접는다 */
.home p, .home li, .home dd, .home summary, .home .msg { text-wrap: pretty; word-break: keep-all; overflow-wrap: anywhere; }
.home .hero-sub { max-width: 760px; }
@media (max-width: 600px) {
  .home .hero-sub, .home .lead { font-size: 16px; line-height: 1.7; }
}

/* ======================================================== */
/* 9. 문의하기 v2 — shadcn/ui 스타일                          */
/*   border #E4E4E7 계열, radius 8~12px, ring 포커스, 절제된 회색 */
/* ======================================================== */
.home {
  --sc-border: #E4E7EB;
  --sc-muted: #F5F6F8;
  --sc-muted-fg: #5F6B79;
  --sc-ring: rgba(31, 91, 199, .35);
  --sc-shadow: 0 1px 2px rgba(12, 30, 51, .05);
}
.home #contact { padding: 96px 0 120px; background: #fff; }
.home .contact-v3 { display: grid; grid-template-columns: 1fr 1.35fr; gap: 56px; align-items: start; }
.home .contact-side .h2 { margin: 0 0 28px; }
.home .contact-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.home .contact-steps li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.home .contact-steps span { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; border: 1px solid var(--sc-border); background: #fff; font-size: 13px; font-weight: var(--w-semibold); color: var(--t-grey-900); box-shadow: var(--sc-shadow); }
.home .contact-steps b { display: block; font-size: 15px; color: var(--t-grey-900); }
.home .contact-steps p { margin: 2px 0 0; font-size: 14px; line-height: 1.6; color: var(--sc-muted-fg); }
.home .contact-alt { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--sc-border); font-size: 14px; color: var(--sc-muted-fg); }
.home .contact-alt a { color: var(--t-grey-900); font-weight: var(--w-semibold); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--sc-border); }

/* 카드 */
.home .chat { max-width: none; margin: 0; border: 1px solid var(--sc-border); border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(12, 30, 51, .04), 0 12px 32px -16px rgba(12, 30, 51, .14); overflow: hidden; }
.home .chat-head { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--sc-border); }
.home .chat-avatar, .home .msg-avatar { flex: none; display: grid; place-items: center; border-radius: 999px; background: var(--t-grey-900); color: #fff; font-weight: var(--w-bold); }
.home .chat-avatar { width: 36px; height: 36px; font-size: 15px; }
.home .chat-who b { display: block; font-size: 14px; color: var(--t-grey-900); }
.home .chat-who span { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--sc-muted-fg); }
.home .chat-dot { width: 6px; height: 6px; border-radius: 50%; background: #22A06B; box-shadow: 0 0 0 3px rgba(34, 160, 107, .15); }
.home .chat-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; }
.home .chat-progress i { display: block; height: 100%; width: 0; background: var(--t-blue-500); transition: width .5s cubic-bezier(.2, .8, .2, 1); }

/* 대화 */
.home .chat-log { height: 440px; padding: 20px 18px; gap: 14px; background: #fff; }
.home .msg-row { display: flex; align-items: flex-end; gap: 8px; animation: msg-in .22s ease-out; }
.home .msg-row.from-me { justify-content: flex-end; }
.home .msg-avatar { width: 26px; height: 26px; font-size: 11px; }
.home .msg { max-width: 78%; padding: 10px 14px; border-radius: 12px; font-size: 14.5px; line-height: 1.6; animation: none; }
.home .msg.bot { background: var(--sc-muted); color: var(--t-grey-900); border: 1px solid var(--sc-border); border-bottom-left-radius: 4px; }
.home .msg.me { background: var(--t-grey-900); color: #fff; border-bottom-right-radius: 4px; }
.home .msg.typing { padding: 12px 14px; }

/* 입력 영역 */
.home .chat-input { padding: 12px; border-top: 1px solid var(--sc-border); background: #fff; min-height: 0; }
.home .ci-row { position: relative; gap: 0; }
.home .ci-row input, .home .ci-row textarea {
  height: 44px; padding: 10px 52px 10px 14px; border: 1px solid var(--sc-border); border-radius: 10px; font-size: 15px;
  box-shadow: var(--sc-shadow); transition: border-color .15s, box-shadow .15s;
}
.home .ci-row textarea { height: auto; min-height: 76px; }
.home .ci-row input::placeholder, .home .ci-row textarea::placeholder { color: #8A94A0; }
.home .ci-row input:focus-visible, .home .ci-row textarea:focus-visible { outline: none; border-color: var(--t-blue-500); box-shadow: 0 0 0 3px var(--sc-ring); }
.home .ci-send { font: inherit; cursor: pointer; border: 0; transition: background .15s, opacity .15s; }
.home .ci-icon { position: absolute; right: 6px; bottom: 6px; width: 32px; height: 32px; min-height: 0; border-radius: 8px; display: grid; place-items: center; background: var(--t-grey-900); color: #fff; padding: 0; }
.home .ci-icon svg { width: 16px; height: 16px; stroke-width: 2.2; }
.home .ci-icon:hover { background: var(--t-grey-800); }
.home .ci-text { height: 36px; min-height: 36px; padding: 0 14px; border-radius: 8px; background: var(--t-grey-900); color: #fff; font-size: 14px; font-weight: var(--w-semibold); }
.home .ci-row .ci-text { position: absolute; right: 4px; bottom: 4px; }
.home .ci-text:hover { background: var(--t-grey-800); }
.home .ci-wide { width: 100%; height: 42px; }
.home .ci-send:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--sc-ring); }
.home .ci-send:disabled { opacity: .5; cursor: default; }

/* 선택 버튼 = shadcn outline 버튼 */
.home .ci-chips { gap: 6px; }
.home .chip-btn { min-height: 36px; padding: 6px 12px; border: 1px solid var(--sc-border); border-radius: 8px; background: #fff; font-size: 14px; font-weight: 500; color: var(--t-grey-900); box-shadow: var(--sc-shadow); transition: background .12s, border-color .12s; }
.home .chip-btn:hover { background: var(--sc-muted); border-color: #D3D8DE; }
.home .chip-btn small { color: var(--sc-muted-fg); }
.home .chip-btn[aria-pressed="true"] { background: var(--t-grey-900); border-color: var(--t-grey-900); color: #fff; }
.home .chip-btn[aria-pressed="true"] small { color: #C9D1DB; }
.home .chip-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--sc-ring); }
.home .ci-chips .ci-text { margin-left: auto; }
.home .ci-row-sub { margin-top: 8px; }

/* 동의 */
.home .ci-consent { display: grid; gap: 8px; }
.home .ci-consent .cf-agree { margin: 0; font-size: 14px; }
.home .ci-consent .cf-agree input { accent-color: var(--t-grey-900); }
.home .ci-consent .cf-notice { margin: 0; padding: 10px 12px; border-radius: 8px; background: var(--sc-muted); font-size: 12.5px; line-height: 1.65; color: var(--sc-muted-fg); }
.home .ci-consent .cf-status:empty { display: none; }
.home .ci-consent .ci-send { margin-top: 4px; }

@media (max-width: 900px) {
  .home .contact-v3 { grid-template-columns: 1fr; gap: 32px; }
  .home .contact-steps { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .home #contact { padding: 72px 0 88px; }
  .home .chat-log { height: 400px; padding: 16px 12px; }
  .home .msg { max-width: 86%; font-size: 14px; }
  .home .contact-steps p { display: none; }
  .home .contact-steps { gap: 12px; }
}
.home .gov small { margin-top: 6px; font-size: 12px; font-weight: var(--w-semibold); color: var(--t-blue-500); }

/* ======================================================== */
/* 10. 문의하기 v3 — 3단계 폼 (토스식: 한 화면에 질문 하나)     */
/* ======================================================== */
.home .contact-wz { max-width: 640px; }
.home .contact-wz > .h2 { margin: 0 0 28px; text-align: center; }
.home .wz { background: #fff; border: 1px solid var(--t-grey-200); border-radius: 24px; padding: 28px 32px 32px; box-shadow: 0 1px 2px rgba(12, 30, 51, .04), 0 20px 48px -24px rgba(12, 30, 51, .18); }
.home .wz-steps { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.home .wz-steps li { display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 3px solid var(--t-grey-100); font-size: 14px; font-weight: var(--w-semibold); color: var(--t-grey-400); transition: border-color .3s, color .3s; }
.home .wz-steps li span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--t-grey-100); font-size: 12px; color: var(--t-grey-500); }
.home .wz-steps li.on { border-color: var(--t-blue-500); color: var(--t-grey-900); }
.home .wz-steps li.on span { background: var(--t-blue-500); color: #fff; }
.home .wz-steps li.done { border-color: var(--t-blue-500); color: var(--t-grey-600); }
.home .wz-steps li.done span { background: var(--t-blue-50); color: var(--t-blue-500); }

.home .wz-body { min-height: 300px; }
.home .wz-body.in > * { animation: wz-in .32s cubic-bezier(.2, .8, .2, 1); }
@keyframes wz-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.home .wz-q { margin: 0 0 6px; font-size: 24px; line-height: 1.4; font-weight: var(--w-bold); letter-spacing: -0.02em; color: var(--t-grey-900); }
.home .wz-hint { margin: 0 0 20px; font-size: 15px; color: var(--t-grey-500); }
.home .wz-q + .wz-input, .home .wz-q + label + .wz-input { margin-top: 18px; }
.home .wz-input {
  display: block; width: 100%; box-sizing: border-box; font: inherit; font-size: 17px; color: var(--t-grey-900);
  height: 56px; padding: 0 18px; border: 1.5px solid var(--t-grey-200); border-radius: 14px; background: var(--t-grey-50);
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.home .wz-area { height: auto; min-height: 112px; padding: 16px 18px; line-height: 1.6; resize: vertical; }
.home .wz-input::placeholder { color: #8A94A0; }
.home .wz-input:focus-visible { outline: none; border-color: var(--t-blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(31, 91, 199, .12); }
.home .wz-input[aria-invalid="true"] { border-color: var(--t-red-600); }
.home .wz-error { margin: 8px 0 0; font-size: 14px; color: var(--t-red-600); }
.home .wz-error:empty { display: none; }
.home .wz-label { display: block; margin: 22px 0 10px; font-size: 14px; font-weight: var(--w-semibold); color: var(--t-grey-700); }
.home .wz-label small { margin-left: 4px; font-weight: 500; color: var(--t-grey-400); }
.home .wz-grid .wz-label { margin-top: 0; }
.home .wz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.home .wz-full { grid-column: 1 / -1; }

.home .wz-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.home .wz-chip { min-height: 44px; padding: 0 16px; border: 1.5px solid var(--t-grey-200); border-radius: 12px; background: #fff; font: inherit; font-size: 15px; font-weight: 500; color: var(--t-grey-700); cursor: pointer; transition: border-color .12s, background .12s, color .12s; }
.home .wz-chip:hover { border-color: var(--t-grey-300); }
.home .wz-chip[aria-pressed="true"] { border-color: var(--t-blue-500); background: var(--t-blue-50); color: var(--t-blue-700); font-weight: var(--w-semibold); }
.home .wz-chip:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(31, 91, 199, .18); }

.home .wz-list { display: grid; gap: 8px; }
.home .wz-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 0 18px; border: 1.5px solid var(--t-grey-200); border-radius: 14px; background: #fff; font: inherit; text-align: left; cursor: pointer; transition: border-color .12s, background .12s; }
.home .wz-item b { font-size: 16px; color: var(--t-grey-900); }
.home .wz-item span { font-size: 14px; color: var(--t-grey-500); white-space: nowrap; }
.home .wz-item:hover { border-color: var(--t-blue-500); background: var(--t-blue-50); }
.home .wz-item.picked { border-color: var(--t-blue-500); background: var(--t-blue-50); }
.home .wz-item:disabled { cursor: default; }
.home .wz-item:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(31, 91, 199, .18); }
.home .wz-none b { font-weight: 500; color: var(--t-grey-600); }

.home .wz-company { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 20px; padding: 12px 16px; border-radius: 12px; background: var(--t-grey-50); }
.home .wz-company b { font-size: 15px; color: var(--t-grey-900); }
.home .wz-company span { font-size: 13px; color: var(--t-grey-500); }

.home .wz-agree { display: flex; align-items: center; gap: 10px; margin: 24px 0 8px; font-size: 15px; font-weight: var(--w-semibold); color: var(--t-grey-900); cursor: pointer; }
.home .wz-agree input { width: 20px; height: 20px; margin: 0; accent-color: var(--t-blue-500); flex: none; }
.home .wz-notice { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--t-grey-50); font-size: 12.5px; line-height: 1.7; color: var(--t-grey-500); }
.home .wz-notice a { color: var(--t-blue-500); }

.home .wz-actions { display: flex; gap: 8px; margin-top: 28px; }
.home .wz-btn { flex: 1; height: 56px; border: 0; border-radius: 14px; background: var(--t-blue-500); color: #fff; font: inherit; font-size: 17px; font-weight: var(--w-semibold); cursor: pointer; transition: background .15s, transform .1s; }
.home .wz-btn:hover { background: var(--t-blue-700); }
.home .wz-btn:active { transform: scale(.98); }
.home .wz-btn.ghost { flex: 0 0 96px; background: var(--t-grey-100); color: var(--t-grey-700); }
.home .wz-btn.ghost:hover { background: var(--t-grey-200); }
.home .wz-btn:disabled { opacity: .55; cursor: default; }
.home .wz-btn:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(31, 91, 199, .25); }

.home .wz-loading { display: grid; place-items: center; gap: 16px; min-height: 260px; text-align: center; }
.home .wz-loading p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--t-grey-600); }
.home .wz-loading b { color: var(--t-grey-900); }
.home .wz-spin { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--t-blue-50); border-top-color: var(--t-blue-500); animation: wz-spin .8s linear infinite; }
@keyframes wz-spin { to { transform: rotate(360deg); } }

.home .wz-done { display: grid; justify-items: center; text-align: center; padding: 12px 0 4px; }
.home .wz-check { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 16px; border-radius: 50%; background: var(--t-blue-50); color: var(--t-blue-500); }
.home .wz-check svg { width: 28px; height: 28px; stroke-width: 2.4; }
.home .wz-summary { width: 100%; margin: 16px 0 0; padding: 16px; border-radius: 14px; background: var(--t-grey-50); text-align: left; display: grid; gap: 10px; }
.home .wz-summary div { display: grid; grid-template-columns: 48px 1fr; gap: 10px; font-size: 14px; }
.home .wz-summary dt { color: var(--t-grey-500); }
.home .wz-summary dd { margin: 0; color: var(--t-grey-900); white-space: pre-line; }

@media (max-width: 600px) {
  .home .wz { padding: 20px 18px 22px; border-radius: 20px; }
  .home .wz-q { font-size: 21px; }
  .home .wz-grid { grid-template-columns: 1fr; }
  .home .wz-btn.ghost { flex-basis: 80px; }
  .home .wz-item { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; padding: 12px 16px; }
}
@media (prefers-reduced-motion: reduce) { .home .wz-body.in > *, .home .wz-spin { animation: none; } }

/* ======================================================== */
/* 11. 문의하기 v4 — 자동으로 넘어가는 한 질문 화면            */
/* ======================================================== */
.home .wz { padding: 20px 32px 32px; }
.home .wz-top { display: flex; align-items: center; gap: 12px; height: 36px; margin-bottom: 24px; }
.home .wz-back { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 10px 0 6px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: 14px; color: var(--t-grey-600); cursor: pointer; }
.home .wz-back svg { width: 16px; height: 16px; transform: rotate(180deg); }
.home .wz-back:hover { background: var(--t-grey-100); color: var(--t-grey-900); }
.home .wz-back[hidden] { display: none; }
.home .wz-bar { flex: 1; height: 4px; border-radius: 999px; background: var(--t-grey-100); overflow: hidden; }
.home .wz-bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--t-blue-500); transition: width .45s cubic-bezier(.2, .8, .2, 1); }
.home .wz-body { min-height: 320px; }
.home .wz-q { font-size: 26px; }
.home .wz-field, .home .wz-other { position: relative; margin-top: 20px; }
.home .wz-field .wz-input, .home .wz-other .wz-input { padding-right: 64px; }
.home .wz-enter { position: absolute; right: 8px; top: 8px; width: 40px; height: 40px; border: 0; border-radius: 10px; display: grid; place-items: center; background: var(--t-blue-500); color: #fff; cursor: pointer; transition: background .15s; }
.home .wz-enter:hover { background: var(--t-blue-700); }
.home .wz-enter svg { width: 18px; height: 18px; stroke-width: 2.2; }
.home .wz-enter:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(31, 91, 199, .25); }
.home .wz-keys { display: flex; align-items: center; gap: 12px; margin: 14px 0 0; font-size: 13px; color: var(--t-grey-500); }
.home .wz-keys span { margin-left: auto; }
.home kbd { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border: 1px solid var(--t-grey-200); border-bottom-width: 2px; border-radius: 6px; background: #fff; font: inherit; font-size: 12px; font-weight: var(--w-semibold); color: var(--t-grey-600); }
.home .wz-skip { border: 0; background: none; padding: 6px 0; font: inherit; font-size: 14px; font-weight: var(--w-semibold); color: var(--t-blue-500); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.home .wz-opts { display: grid; gap: 8px; margin-top: 20px; }
.home .wz-opt { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; padding: 0 16px; border: 1.5px solid var(--t-grey-200); border-radius: 14px; background: #fff; font: inherit; text-align: left; cursor: pointer; transition: border-color .12s, background .12s, transform .12s; }
.home .wz-opt b { font-size: 16px; font-weight: var(--w-semibold); color: var(--t-grey-900); }
.home .wz-opt span { margin-left: auto; font-size: 14px; color: var(--t-grey-500); }
.home .wz-opt kbd { flex: none; }
.home .wz-opt:hover { border-color: var(--t-blue-500); background: var(--t-blue-50); }
.home .wz-opt:hover kbd { border-color: var(--t-blue-500); color: var(--t-blue-500); }
.home .wz-opt.picked { border-color: var(--t-blue-500); background: var(--t-blue-50); transform: scale(.99); }
.home .wz-opt.picked kbd { background: var(--t-blue-500); border-color: var(--t-blue-500); color: #fff; }
.home .wz-opt:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(31, 91, 199, .18); }
.home .wz-opt:disabled { cursor: default; }
.home .wz-other { margin-top: 12px; }
.home .wz-loading small { color: var(--t-grey-500); font-size: 14px; }
.home .wz-summary { margin: 18px 0 14px; }
.home .wz-summary div { grid-template-columns: 56px 1fr; }
.home .wz-form > .wz-btn { width: 100%; margin-top: 16px; }

@media (max-width: 600px) {
  .home .wz { padding: 14px 16px 22px; }
  .home .wz-q { font-size: 21px; }
  .home .wz-keys span, .home .wz-opt kbd { display: none; }
  .home .wz-opt { flex-direction: row; }
  .home .wz-opt span { font-size: 13px; }
}
.home .gov li { gap: 4px; }
.home .gov time { font-size: 13px; font-weight: var(--w-bold); color: var(--t-blue-500); font-variant-numeric: tabular-nums; }
.home .gov span { font-size: 13px; color: var(--t-grey-500); }
.home .faq-list details p { line-height: 1.8; }

/* ======================================================== */
/* 12. 문제 v2 — 방법과 한계를 한 줄로 짝짓는다                 */
/* ======================================================== */
.home .tries2 { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 12px; }
.home .tries2 li { display: grid; grid-template-columns: 1fr 96px 1.4fr; align-items: stretch; }
.home .t-way { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border: 1px dashed var(--t-grey-300); border-radius: 16px; background: var(--t-grey-50); }
.home .t-way b { display: block; font-size: 17px; color: var(--t-grey-600); text-decoration: line-through; text-decoration-color: rgba(198, 40, 40, .55); text-decoration-thickness: 2px; }
.home .t-way small { display: block; margin-top: 2px; font-size: 13px; color: var(--t-grey-500); }
.home .t-logo { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--t-grey-200); color: var(--t-grey-500); filter: grayscale(1); }
.home .t-link { position: relative; display: grid; place-items: center; }
.home .t-link::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed var(--t-grey-300); }
.home .t-x { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 2px solid var(--t-red-600); color: var(--t-red-600); }
.home .t-x svg { width: 16px; height: 16px; stroke-width: 2.6; }
.home .t-limit { padding: 20px 24px; border-radius: 16px; background: #fff; border: 1px solid var(--t-grey-200); box-shadow: 0 1px 2px rgba(12, 30, 51, .04); }
.home .t-limit b { display: block; font-size: 17px; color: var(--t-grey-900); }
.home .t-limit p { margin: 6px 0 0; font-size: 15px; line-height: 1.65; color: var(--t-grey-700); }
@media (max-width: 760px) {
  .home .tries2 li { grid-template-columns: 1fr; }
  .home .t-link { height: 44px; }
  .home .t-link::before { left: 50%; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 2px dashed var(--t-grey-300); }
}

/* ======================================================== */
/* 13. 문의하기 v5 — 일반 문의 폼                              */
/* ======================================================== */
.home .contact-v5 { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.home .contact-v5 .h2 { margin: 0 0 16px; }
.home .contact-lead { margin: 0; font-size: 17px; line-height: 1.75; color: var(--t-grey-700); }
.home .cform { padding: 32px; border: 1px solid var(--t-grey-200); border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(12, 30, 51, .04), 0 20px 48px -28px rgba(12, 30, 51, .2); }
.home .cform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.home .cf { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.home .cf-full { grid-column: 1 / -1; }
.home .cf label { font-size: 14px; font-weight: var(--w-semibold); color: var(--t-grey-800); }
.home .cf em, .home .cform-agree em { font-style: normal; color: var(--t-red-600); }
.home .cf input, .home .cf textarea, .home .cf select {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; color: var(--t-grey-900);
  height: 48px; padding: 0 14px; border: 1px solid var(--t-grey-200); border-radius: 10px; background: #fff;
  box-shadow: 0 1px 2px rgba(12, 30, 51, .04); transition: border-color .15s, box-shadow .15s;
}
.home .cf textarea { height: auto; min-height: 132px; padding: 12px 14px; line-height: 1.6; resize: vertical; }
.home .cf input::placeholder, .home .cf textarea::placeholder { color: #8A94A0; }
.home .cf input:focus-visible, .home .cf textarea:focus-visible { outline: none; border-color: var(--t-blue-500); box-shadow: 0 0 0 3px rgba(31, 91, 199, .18); }
.home .cf [aria-invalid="true"] { border-color: var(--t-red-600); }
.home .cf-err { margin: 0; font-size: 13px; color: var(--t-red-600); }
.home .cf-err:empty { display: none; }
.home .cform-agree { display: flex; align-items: center; gap: 10px; margin: 22px 0 8px; font-size: 15px; font-weight: var(--w-semibold); color: var(--t-grey-900); cursor: pointer; }
.home .cform-agree input { width: 18px; height: 18px; margin: 0; accent-color: var(--t-blue-500); }
.home .cform-notice { margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--t-grey-50); font-size: 12.5px; line-height: 1.7; color: var(--t-grey-500); }
.home .cform-notice a { color: var(--t-blue-500); }
.home .cform #err-agree { margin-top: 6px; }
.home .cform-submit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.home .cform-btn { height: 52px; padding: 0 28px; border: 0; border-radius: 12px; background: var(--t-blue-500); color: #fff; font: inherit; font-size: 16px; font-weight: var(--w-semibold); cursor: pointer; transition: background .15s; }
.home .cform-btn:hover { background: var(--t-blue-700); }
.home .cform-btn:disabled { opacity: .55; cursor: default; }
.home .cform-btn:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(31, 91, 199, .25); }
.home .cform-status { margin: 0; font-size: 14px; }
.home .cform-status[data-kind="ok"] { color: var(--t-blue-500); }
.home .cform-status[data-kind="error"] { color: var(--t-red-600); }
@media (max-width: 900px) { .home .contact-v5 { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 600px) {
  .home .cform { padding: 20px 18px; }
  .home .cform-grid { grid-template-columns: 1fr; }
  .home .cform-btn { width: 100%; }
}
.home .contact-doc { display: grid; gap: 14px; margin-top: 28px; padding: 20px; border: 1px solid var(--t-grey-200); border-radius: 16px; background: var(--t-grey-50); }
.home .contact-doc p { margin: 0; }
.home .contact-doc b { display: block; font-size: 16px; color: var(--t-grey-900); }
.home .contact-doc span { display: block; margin-top: 4px; font-size: 14px; color: var(--t-grey-600); }
.home .contact-doc .btn { justify-self: start; background: #fff; border: 1px solid var(--t-grey-200); }
.home .contact-doc .btn:hover { background: var(--t-grey-100); }
/* 머리 메뉴: 회사 소개서 받기 (보조 버튼) */
.home .right-menu { display: flex; align-items: center; gap: 8px; }
.home .btn-doc-nav { min-height: 44px; padding: 0 16px; border: 1px solid var(--t-grey-200); border-radius: 10px; background: #fff; font: inherit; font-size: 15px; font-weight: var(--w-semibold); color: var(--t-grey-800); cursor: pointer; transition: background .15s; }
.home .btn-doc-nav:hover { background: var(--t-grey-100); }
.home .btn-doc-nav:focus-visible { outline: 3px solid var(--t-blue-500); outline-offset: 2px; }
.home .btn-doc-nav .short { display: none; }
@media (max-width: 600px) {
  .home .btn-doc-nav { padding: 0 12px; font-size: 14px; }
  .home .btn-doc-nav .long { display: none; }
  .home .btn-doc-nav .short { display: inline; }
}
/* 첫 화면: UPFLOW OS 표기를 크게 */
.home .hero-badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 8px 16px; border-radius: 999px; background: var(--t-blue-50); color: var(--t-blue-500); font-size: 20px; line-height: 1.2; font-weight: var(--w-bold); letter-spacing: -0.01em; }
.home .hero-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--t-blue-500); }
.home .hero-sub { margin-bottom: 0; }
@media (max-width: 600px) { .home .hero-badge { font-size: 17px; padding: 7px 14px; } }
/* 사례 카드: 추가 예정 */
.home .case-next .case-thumb { background: var(--t-grey-50); border: 1.5px dashed var(--t-grey-300); color: var(--t-grey-400); filter: none; }
.home .case-next .case-thumb b { font-size: 40px; font-weight: 400; }
.home .case-next h3 { color: var(--t-grey-500); }
/* 실적: 정부 지원사업 = Linear 목록 행 (사례 카드 아래) */
.home .gov-list { margin-top: 72px; }
.home .gov-title { margin: 0 0 12px; font-size: 15px; font-weight: var(--w-semibold); color: var(--t-grey-500); }
.home .gov-list ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--t-grey-200); }
.home .gov-list li { position: relative; display: grid; grid-template-columns: 72px 1fr 180px 96px; align-items: center; gap: 16px; min-height: 60px; padding: 0 4px; border-bottom: 1px solid var(--t-grey-200); font-size: 16px; }
.home .gov-list time { font-weight: var(--w-semibold); color: var(--t-grey-500); font-variant-numeric: tabular-nums; }
.home .gov-list b { font-weight: var(--w-semibold); color: var(--t-grey-900); }
.home .gov-list span { font-size: 14px; color: var(--t-grey-500); }
.home .gov-list em { justify-self: end; font-style: normal; font-size: 13px; font-weight: var(--w-semibold); color: var(--t-grey-600); }
@media (max-width: 640px) {
  .home .gov-list li { grid-template-columns: 52px 1fr; grid-template-rows: auto auto; row-gap: 2px; padding: 14px 0; }
  .home .gov-list time { grid-row: span 2; align-self: start; }
  .home .gov-list span { grid-column: 2; }
  .home .gov-list em { display: none; }
}

/* 헤더: 토스처럼 항상 보이는 얇은 구분선 */
.home #main-nav { border-bottom: 1px solid rgba(12, 30, 51, .07); box-shadow: none; }
.home #main-nav.scrolled { border-bottom-color: rgba(12, 30, 51, .1); }

/* 첫 화면 제목: UPFLOW OS를 파랑으로 */
.home .hero-h1 .h1-os { color: var(--t-blue-500); }

/* 예시 화면: 사이드바 아래 사용자 아바타 */
.home .demo-side { display: flex; flex-direction: column; }
.home .demo-side .demo-me { margin-top: auto; padding: 10px 8px; border-top: 1px solid var(--t-grey-100); border-radius: 0; gap: 10px; }
.home .demo-av { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--t-grey-900); color: #fff; font-size: 12px; font-weight: var(--w-bold); flex: none; }
.home .demo-me b { display: block; font-size: 13px; color: var(--t-grey-900); }
.home .demo-me small { display: block; font-size: 12px; color: var(--t-grey-500); }
.home .hero-h1 .h1-os { display: block; }
@media (max-width: 900px) { .home .demo-body .demo-side { display: none; } }
/* 진행 프로세스: 단계 번호를 회색 배지로 */
.home .steps3 .s-no { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: var(--w-semibold); color: var(--t-grey-500); }
.home .steps3 .s-no span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 1px solid var(--t-grey-200); color: var(--t-grey-900); font-size: 13px; font-weight: var(--w-bold); }
.home .b-row { display: flex; gap: 8px; }
.home .b-row input { flex: 1; min-width: 0; height: 52px; padding: 0 14px; font: inherit; font-size: 16px; border: 1px solid var(--t-grey-300); border-radius: 12px; }
.home .b-row input:focus-visible { outline: none; border-color: var(--t-blue-500); box-shadow: 0 0 0 3px rgba(31, 91, 199, .18); }
.home .b-row input[aria-invalid="true"] { border-color: var(--t-red-600); }
.home .b-row .modal-submit { width: auto; height: 52px; padding: 0 20px; flex: none; }
.home .modal .cf-agree { font-size: 14px; }

/* ======================================================== */
/* 14. 차이점 표 v2                                          */
/* ======================================================== */
.home .compare { font-size: 16px; }
.home .compare thead th { font-size: 15px; font-weight: var(--w-bold); color: var(--t-grey-900); padding: 20px; background: var(--t-grey-50); }
.home .compare thead th:first-child { color: var(--t-grey-500); font-weight: var(--w-semibold); }
.home .compare tbody th { width: 150px; background: var(--t-grey-50); color: var(--t-grey-900); font-size: 16px; font-weight: var(--w-bold); }
.home .compare td { color: var(--t-grey-700); font-size: 16px; }
.home .compare .ours { position: relative; background: var(--t-blue-50); color: var(--t-grey-900); font-weight: var(--w-semibold); box-shadow: inset 2px 0 0 var(--t-blue-500), inset -2px 0 0 var(--t-blue-500); }
.home .compare thead .ours { background: var(--t-blue-50); box-shadow: inset 2px 0 0 var(--t-blue-500), inset -2px 0 0 var(--t-blue-500), inset 0 2px 0 var(--t-blue-500); }
.home .compare tbody tr:last-child .ours { box-shadow: inset 2px 0 0 var(--t-blue-500), inset -2px 0 0 var(--t-blue-500), inset 0 -2px 0 var(--t-blue-500); }
.home .compare td.ours::after { content: none; }
.home .th-logo { display: block; height: 14px; width: auto; }
@media (max-width: 700px) {
  .home table.compare tbody th { width: 100%; background: none; }
  .home table.compare .ours { box-shadow: none; }
}

/* ======================================================== */
/* 15. 글자 크기 단계 통일                                    */
/*   카드 제목 20 · 본문 16 · 보조 14 · 설명 문단 18            */
/* ======================================================== */
.home .hero-sub, .home .lead { font-size: 18px; line-height: 1.75; }
.home .t-way b, .home .t-limit b, .home .steps3 h3, .home .case-card h3 { font-size: 20px; line-height: 1.45; letter-spacing: -0.015em; }
.home .t-limit p, .home .steps3 li > p:not(.s-no), .home .faq-list details p, .home .cform-notice ~ p, .home .contact-lead { font-size: 16px; line-height: 1.75; }
.home .t-way small, .home .case-tag, .home .case-more, .home .gov-list span, .home .gov-list time, .home .steps3 .s-no { font-size: 14px; }
.home .gov-list b { font-size: 16px; }
.home .f-node b { font-size: 17px; }
.home .f-node p { font-size: 15px; }
.home .faq-list summary { font-size: 18px; }
@media (max-width: 600px) {
  .home .hero-sub, .home .lead { font-size: 16px; }
  .home .t-way b, .home .t-limit b, .home .steps3 h3, .home .case-card h3 { font-size: 18px; }
  .home .t-limit p, .home .steps3 li > p:not(.s-no), .home .faq-list details p { font-size: 15px; }
  .home .faq-list summary { font-size: 16px; }
}
.home .compare thead th { vertical-align: middle; }
.home .compare thead .ours .th-logo { margin: 1px 0; }
@media (max-width: 700px) { .home table.compare tbody tr:last-child td.ours, .home table.compare tbody tr td.ours { box-shadow: none; } }
/* 옛 쪽(problem.html)용 #problem 스타일을 첫 화면에서 무효로 */
.home section#problem { max-width: none; margin: 0; width: auto; padding: 96px 0; background: #fff; }
@media (max-width: 900px) { .home section#problem { padding: 72px 0; } }
.home .t-limit b, .home .t-way b { font-weight: var(--w-bold); }
@media (max-width: 600px) { .home .steps3 li > p:not(.s-no) { font-size: 15px; } }

/* ======================================================== */
/* 16. 브랜드 색 정리 · 사례 카드 버튼 · 토스트                */
/*   파랑(signal)은 버튼·링크·선택 표시에만 쓴다 (브랜드 가이드 12쪽) */
/* ======================================================== */
.home .hero-h1 .h1-os { color: var(--t-grey-900); }
.home #proof .h2 .count { color: inherit; }
.home button.case-card { width: 100%; padding: 0; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; color: inherit; }
.home .case-card .case-thumb { display: grid; }
.home .case-card .case-tag { display: block; margin: 20px 0 6px; }
.home .case-h { display: block; font-size: 20px; line-height: 1.45; font-weight: var(--w-bold); letter-spacing: -0.015em; color: var(--t-grey-900); }
.home .case-next .case-h { color: var(--t-grey-500); }
.home button.case-card:focus-visible { outline: 3px solid var(--t-blue-500); outline-offset: 6px; border-radius: 10px; }
@media (any-hover: hover) { .home button.case-card:hover .case-h { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--t-grey-300); } }
@media (max-width: 600px) { .home .case-h { font-size: 18px; } }
.home .toast {
  position: fixed; left: 50%; bottom: 32px; z-index: 200; max-width: calc(100vw - 32px);
  padding: 14px 20px; border-radius: 14px; background: var(--t-grey-900); color: #fff;
  font-size: 15px; font-weight: var(--w-semibold); box-shadow: 0 12px 32px -8px rgba(12, 30, 51, .35);
  transform: translate(-50%, 24px); opacity: 0; pointer-events: none; transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .25s;
}
.home .toast.on { transform: translate(-50%, 0); opacity: 1; }
@media (prefers-reduced-motion: reduce) { .home .toast { transition: none; } }

/* ======================================================== */
/* 17. 디자인 리뷰 반영 (2026-10-18)                          */
/* ======================================================== */
/* 휴대폰 메뉴: #main-nav 우선순위 때문에 열리지 않던 문제 */
@media (max-width: 900px) {
  #main-nav .nav-links.mobile-active { display: flex; position: absolute; top: 64px; left: 0; width: 100%; flex-direction: column; gap: 4px; padding: 12px 16px 16px; background: #fff; border-bottom: 1px solid var(--t-grey-200); box-shadow: 0 12px 24px -12px rgba(12, 30, 51, .18); }
  #main-nav .nav-links.mobile-active a { min-height: 48px; padding: 0 12px; border-radius: 10px; font-size: 16px; }
}
/* 헤더: 불투명 흰색 (남색 섹션 위에서 탁해지지 않게) */
.home #main-nav, .home #main-nav.scrolled { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
/* 휴대폰 헤더: 버튼 한 줄 유지 */
.home .btn-doc-nav, .home .btn-cta-nav { white-space: nowrap; }
@media (max-width: 480px) {
  .home #main-nav .logo img { width: 96px; height: auto; }
  .home .right-menu { gap: 6px; }
  .home .btn-doc-nav, .home .btn-cta-nav { padding: 0 12px; font-size: 14px; }
}
/* 섹션 여백 하나로: 96 / 72 (첫 화면 제외) */
.home main > section:not(#hero) { padding-top: 96px; padding-bottom: 96px; }
@media (max-width: 768px) { .home main > section:not(#hero) { padding-top: 72px; padding-bottom: 72px; } }
.home #contact { padding-bottom: 120px; }
/* 예시 화면 알림: 한 줄 */
.home .demo-snack { white-space: nowrap; }
@media (max-width: 600px) { .home .demo-snack { font-size: 13px; bottom: 16px; padding: 9px 14px; } }
/* 사례 썸네일: 휴대폰에서 낮게 */
@media (max-width: 640px) { .home .case-thumb { aspect-ratio: 16 / 7; } .home .case-thumb b { font-size: 20px; } .home .case-thumb svg { width: 40px; height: 40px; } }
/* 정렬 */
.home .faq-list summary { padding-left: 0; }
.home .gov-list li { grid-template-columns: 72px 1fr auto; }
.home .gov-list span { justify-self: end; text-align: right; }
@media (max-width: 640px) { .home .gov-list li { grid-template-columns: 52px 1fr; } .home .gov-list span { justify-self: start; text-align: left; } }
/* 문의 폼: 동의 영역 넓게, 카드 그림자 대신 테두리 */
.home .cform { box-shadow: none; }
.home .cform-agree { min-height: 44px; }
.home .cform-agree input { width: 20px; height: 20px; }
/* 차이점 표: UPFLOW OS 머리 */
.home .th-os { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: var(--w-bold); color: var(--t-grey-900); letter-spacing: .04em; }
.home .compare td, .home .compare tbody th { white-space: nowrap; }
@media (max-width: 700px) { .home .compare td, .home .compare tbody th { white-space: normal; } }
@media (max-width: 700px) {
  .home table.compare tr { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; padding: 16px 16px 14px; }
  .home table.compare tbody th { grid-column: 1 / -1; }
  .home table.compare td { padding-top: 6px; }
  .home table.compare td.ours { grid-column: 1 / -1; margin-top: 10px; }
}

/* ======================================================== */
/* 18. 진행 프로세스 v2 — 단계 카드(화살표) + 단계별 흐름도·그림 */
/* ======================================================== */
.home .pp-steps { display: grid; grid-template-columns: 1fr 48px 1fr 48px 1fr; align-items: stretch; margin-bottom: 20px; }
.home .pp-steps [role="tab"] { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1.5px solid var(--t-grey-200); border-radius: 16px; background: #fff; font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.home .pp-n { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--t-grey-100); color: var(--t-grey-600); font-size: 15px; font-weight: var(--w-bold); transition: background .2s, color .2s; }
.home .pp-t b { display: block; font-size: 18px; color: var(--t-grey-900); }
.home .pp-t small { display: block; margin-top: 2px; font-size: 14px; color: var(--t-grey-500); }
.home .pp-steps [role="tab"]:hover { border-color: var(--t-grey-300); }
.home .pp-steps [role="tab"][aria-selected="true"] { border-color: var(--t-grey-900); box-shadow: 0 8px 24px -16px rgba(12, 30, 51, .35); }
.home .pp-steps [role="tab"][aria-selected="true"] .pp-n { background: var(--t-grey-900); color: #fff; }
.home .pp-steps [role="tab"].done .pp-n { background: var(--t-grey-200); color: var(--t-grey-800); }
.home .pp-steps [role="tab"]:focus-visible { outline: 3px solid var(--t-blue-500); outline-offset: 2px; }
.home .pp-arrow { display: grid; place-items: center; color: var(--t-grey-400); }
.home .pp-arrow svg { width: 22px; height: 22px; stroke-width: 2; }

.home .pp-panel { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; padding: 40px; border-radius: 24px; background: var(--t-grey-100); }
.home .pp-panel[hidden] { display: none; }
.home .pp-panel:focus-visible { outline: 3px solid var(--t-blue-500); outline-offset: 2px; }
.home .pp-copy h3 { margin: 0 0 8px; font-size: 26px; font-weight: var(--w-bold); letter-spacing: -0.02em; color: var(--t-grey-900); }
.home .pp-copy > p:not(.pp-out) { margin: 0 0 24px; font-size: 16px; line-height: 1.7; color: var(--t-grey-700); }
.home .pp-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; position: relative; }
.home .pp-flow::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: var(--t-grey-300); }
.home .pp-flow li { position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: center; padding: 12px 16px 12px 0; }
.home .pp-ico { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--t-grey-200); color: var(--t-grey-800); z-index: 1; }
.home .pp-flow b { font-size: 17px; color: var(--t-grey-900); }
.home .pp-flow small { font-size: 14px; line-height: 1.5; color: var(--t-grey-600); }
.home .pp-out { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--t-grey-200); font-size: 14px; color: var(--t-grey-700); }
.home .pp-out b { display: inline-block; margin-right: 10px; font-weight: var(--w-semibold); color: var(--t-grey-500); }
.home .pp-fig { margin: 0; padding: 24px; border-radius: 20px; background: #fff; }
.home .pp-fig .fig-label { margin: 0 0 14px; color: var(--t-grey-600); }
.home .pp-fig figcaption { margin-top: 10px; font-size: 13px; color: var(--t-grey-500); text-align: right; }
.home .pp-fig .app-window { border: 0; box-shadow: none; }

/* 그림 동작: 패널이 켜지면 선·막대가 그려진다 */
.home .pp-panel .draw { transition: stroke-dashoffset 1.1s cubic-bezier(.2, .8, .2, 1); }
.home .pp-panel.on .draw { stroke-dashoffset: 0; }
.home .pp-panel.on .draw:nth-child(2) { transition-delay: .1s; }
.home .pp-panel.on .draw:nth-child(3) { transition-delay: .2s; }
.home .pp-panel.on .draw:nth-child(4) { transition-delay: .3s; }
.home .pp-panel.on .bar i { transform: scaleX(1); }
.home .pp-panel.on .bars span { transform: scaleY(1); }
.home .pp-flow li { opacity: 0; transform: translateX(-6px); transition: opacity .35s, transform .35s; }
.home .pp-panel.on .pp-flow li { opacity: 1; transform: none; }
.home .pp-panel.on .pp-flow li:nth-child(2) { transition-delay: .12s; }
.home .pp-panel.on .pp-flow li:nth-child(3) { transition-delay: .24s; }
.home .pp-panel.on .pp-flow li:nth-child(4) { transition-delay: .36s; }
html:not(.js) .home .pp-flow li { opacity: 1; transform: none; }

.home .pp-nav { display: flex; justify-content: space-between; margin-top: 16px; }
.home .pp-nav button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 10px; background: none; font: inherit; font-size: 15px; font-weight: var(--w-semibold); color: var(--t-grey-700); cursor: pointer; }
.home .pp-nav button:hover:not(:disabled) { background: var(--t-grey-100); }
.home .pp-nav button:disabled { opacity: .35; cursor: default; }
.home .pp-nav svg { width: 18px; height: 18px; }
.home .pp-prev svg { transform: rotate(180deg); }
.home .pp-anchor { display: block; height: 0; }

@media (max-width: 900px) {
  .home .pp-panel { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
}
@media (max-width: 640px) {
  .home .pp-steps { grid-template-columns: 1fr 22px 1fr 22px 1fr; }
  .home .pp-steps [role="tab"] { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; border-radius: 14px; }
  .home .pp-n { width: 28px; height: 28px; font-size: 13px; }
  .home .pp-t b { font-size: 15px; }
  .home .pp-t small { display: none; }
  .home .pp-arrow svg { width: 16px; height: 16px; }
  .home .pp-panel { padding: 20px 16px; border-radius: 20px; }
  .home .pp-copy h3 { font-size: 22px; }
  .home .pp-fig { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) { .home .pp-panel *, .home .pp-flow li { transition: none !important; } }
/* 아이콘 공통 규칙에서 그림(draw-svg) 제외 */
.home svg.draw-svg { display: block; width: 100%; height: auto; fill: initial; stroke: none; stroke-width: initial; }
.home .pp-fig .draw-svg { border: 0; padding: 0; background: none; }
.home .pp-fig .draw-svg .nodes rect { fill: var(--t-grey-50); stroke: var(--t-grey-200); stroke-width: 1; }
.home .pp-fig .draw-svg text { font-size: 15px; }

/* ======================================================== */
/* 19. 제품 로고 (브랜드 가이드: Red Hat Display 500 · 자간 0.18em · 간격 1.1x) */
/* ======================================================== */
.home .lockup { display: inline-flex; align-items: center; gap: calc(var(--lk-h, 14px) * 1.1); margin: 0 0 18px; line-height: 1; color: var(--t-grey-900); }
.home .lockup img { display: block; height: var(--lk-h, 14px); width: auto; }
.home .lockup span { font-family: 'Red Hat Display', sans-serif; font-weight: 500; letter-spacing: .18em; font-size: calc(var(--lk-h, 14px) * 1.42); line-height: 1; transform: translateY(.02em); }
.home .lockup-sm { --lk-h: 12px; margin: 0; }
.home .lockup-th { --lk-h: 12px; margin: 0; }
.home .th-os { display: none; }

/* ======================================================== */
/* 20. 정부 지원사업 수행 기업 띠 (소개 아래)                  */
/* ======================================================== */
.home main > section#trust { padding: 0 0 96px; background: #fff; }
.home .trust-title { margin: 0 0 16px; font-size: 18px; font-weight: var(--w-bold); color: var(--t-grey-900); }
.home .trust-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.home .trust-list li { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-radius: 16px; background: var(--t-grey-100); }
.home .trust-ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--t-grey-900); }
.home .trust-list b { display: block; font-size: 18px; line-height: 1.4; color: var(--t-grey-900); }
.home .trust-list span:not(.trust-ico) { display: block; margin-top: 4px; font-size: 15px; color: var(--t-grey-600); }
@media (max-width: 900px) { .home .trust-list { grid-template-columns: 1fr; } .home main > section#trust { padding-bottom: 72px; } }

/* ======================================================== */
/* 21. 솔루션 구성도                                          */
/* ======================================================== */
.home .arch { display: grid; grid-template-columns: 1fr 40px 1.45fr 40px 0.8fr; align-items: stretch; margin-top: 8px; }
.home .arch-col { border-radius: 20px; padding: 24px; }
.home .arch-src, .home .arch-app { background: var(--t-grey-100); }
.home .arch-core { background: var(--t-grey-900); color: #fff; }
.home .arch-core .lockup { color: #fff; margin-bottom: 18px; }
.home .arch-core .lockup img { filter: brightness(0) invert(1); }
.home .arch-h { margin: 0 0 14px; font-size: 14px; font-weight: var(--w-semibold); color: var(--t-grey-500); }
.home .arch-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.home .arch-col ul li { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border-radius: 12px; background: #fff; font-size: 15px; font-weight: var(--w-semibold); color: var(--t-grey-900); }
.home .arch-col ul svg { width: 18px; height: 18px; color: var(--t-grey-600); }
.home .arch-app ul li { min-height: 64px; font-size: 17px; }
.home .arch-note { margin: 14px 0 0; font-size: 13px; line-height: 1.6; color: var(--t-grey-600); }
.home .arch-core ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.home .arch-core ol li { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: #1A2A3E; border: 1px solid #2A3A4F; }
.home .arch-ico { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(143, 180, 245, .14); color: #8FB4F5; }
.home .arch-core b { font-size: 16px; }
.home .arch-core small { font-size: 13.5px; line-height: 1.5; color: #B8C2CE; }
.home .arch-arrow { display: grid; place-items: center; color: var(--t-grey-400); }
.home .arch-arrow svg { width: 22px; height: 22px; stroke-width: 2; }
.home .arch .arch-col, .home .arch-core ol li { opacity: .2; transform: translateY(8px); transition: opacity .5s, transform .5s; }
.home .arch.on .arch-col, .home .arch.on .arch-core ol li { opacity: 1; transform: none; }
.home .arch.on .arch-core { transition-delay: .2s; }
.home .arch.on .arch-app { transition-delay: .9s; }
.home .arch.on .arch-core ol li { transition-delay: calc(.35s + var(--d) * .12s); }
html:not(.js) .home .arch .arch-col, html:not(.js) .home .arch-core ol li { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .home .arch { grid-template-columns: 1fr; gap: 0; }
  .home .arch-arrow { height: 40px; transform: rotate(90deg); }
  .home .arch-col ul { grid-template-columns: repeat(2, 1fr); }
  .home .arch-app ul { grid-template-columns: repeat(3, 1fr); }
  .home .arch-app ul li { justify-content: center; flex-direction: column; gap: 4px; min-height: 72px; font-size: 15px; }
}

/* ======================================================== */
/* 22. 업무별 지금 → 전환 후                                  */
/* ======================================================== */
.home #os .sub-h3 { margin: 72px 0 16px; }
.home .bz-tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 16px; border-radius: 14px; background: var(--t-grey-100); }
.home .bz-tabs button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 10px; background: none; font: inherit; font-size: 15px; font-weight: var(--w-semibold); color: var(--t-grey-600); cursor: pointer; }
.home .bz-tabs button[aria-selected="true"] { background: #fff; color: var(--t-grey-900); box-shadow: 0 1px 3px rgba(12, 30, 51, .1); }
.home .bz-tabs button:focus-visible { outline: 3px solid var(--t-blue-500); outline-offset: 2px; }
.home .bz-panel { display: grid; gap: 12px; padding: 28px; border: 1px solid var(--t-grey-200); border-radius: 20px; }
.home .bz-panel[hidden] { display: none; }
.home .bz-row { display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 16px; }
.home .bz-k { margin: 0; font-size: 14px; font-weight: var(--w-bold); color: var(--t-grey-500); }
.home .bz-new .bz-k { color: var(--t-grey-900); }
.home .bz-row ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.home .bz-row ol li { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 10px; font-size: 15px; }
.home .bz-row ol li:not(:last-child)::after { content: "→"; margin: 0 -14px 0 14px; color: var(--t-grey-400); transform: translateX(10px); }
.home .bz-row ol li { margin-right: 18px; }
.home .bz-now ol li { background: var(--t-grey-100); color: var(--t-grey-600); }
.home .bz-now ol li.bad { background: #FDECEC; color: var(--t-red-600); font-weight: var(--w-semibold); }
.home .bz-new ol li { background: var(--t-grey-900); color: #fff; font-weight: var(--w-semibold); }
.home .bz-new ol li.good { background: var(--t-blue-500); }
.home .bz-check { margin: 4px 0 0; padding-top: 14px; border-top: 1px solid var(--t-grey-100); font-size: 14px; color: var(--t-grey-700); }
.home .bz-check b { margin-right: 10px; color: var(--t-grey-500); font-weight: var(--w-semibold); }
.home .bz-panel .bz-row li { opacity: 0; transition: opacity .3s; }
.home .bz-panel.on .bz-row li { opacity: 1; }
.home .bz-panel.on .bz-new li { transition-delay: .25s; }
html:not(.js) .home .bz-panel .bz-row li { opacity: 1; }
@media (max-width: 640px) {
  .home .bz-tabs { display: flex; overflow-x: auto; }
  .home .bz-tabs button { flex: 1 0 auto; padding: 0 14px; }
  .home .bz-panel { padding: 18px; }
  .home .bz-row { grid-template-columns: 1fr; gap: 8px; }
  .home .bz-row ol li { font-size: 14px; min-height: 36px; padding: 0 12px; }
}
.home #os .table-scroll { margin-top: 0; }

/* ======================================================== */
/* 23. 진행 프로세스 그림 v3                                  */
/* ======================================================== */
.home .demo-q td:first-child { white-space: normal; color: var(--t-grey-900); }
.home .demo-q td.no { color: var(--t-grey-500); white-space: nowrap; }
.home .loop { list-style: none; margin: 0 auto; padding: 0; position: relative; width: min(100%, 360px); aspect-ratio: 1; }
.home .loop::before { content: ""; position: absolute; inset: 15%; border: 2px dashed var(--t-grey-300); border-radius: 50%; }
.home .loop li { position: absolute; display: grid; justify-items: center; gap: 6px; width: 96px; padding: 14px 8px; border-radius: 16px; background: #fff; border: 1px solid var(--t-grey-200); text-align: center; box-shadow: 0 6px 18px -12px rgba(12, 30, 51, .3); }
.home .loop li svg { width: 22px; height: 22px; color: var(--t-grey-900); }
.home .loop li b { font-size: 15px; color: var(--t-grey-900); }
.home .loop .l1 { top: 0; left: 50%; transform: translateX(-50%); }
.home .loop .l2 { right: 0; top: 50%; transform: translateY(-50%); }
.home .loop .l3 { bottom: 0; left: 50%; transform: translateX(-50%); }
.home .loop .l4 { left: 0; top: 50%; transform: translateY(-50%); }
.home .loop .loop-c { top: 50%; left: 50%; transform: translate(-50%, -50%); width: 120px; background: var(--t-grey-900); border: 0; box-shadow: none; }
.home .loop .loop-c b { color: #fff; }
.home .loop .loop-c small { font-size: 13px; color: #C9D1DB; }
.home .req-list { list-style: none; margin: 0; padding: 8px 16px; display: grid; }
.home .req-list li { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--t-grey-100); }
.home .req-list .tag { grid-row: span 2; justify-self: start; }
.home .req-list b { font-size: 14.5px; color: var(--t-grey-900); }
.home .req-list small { font-size: 13px; color: var(--t-grey-500); }
.home .sys-status { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 16px; padding: 12px 0 4px; font-size: 13px; color: var(--t-grey-600); }
.home .sys-status i { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #22A06B; }
.home .lockup-lg { --lk-h: 20px; margin-bottom: 22px; }
@media (max-width: 600px) { .home .lockup-lg { --lk-h: 15px; } }
.home .bz-panel .bz-row li, .home .bz-panel.on .bz-row li { opacity: 1; transition: none; }

/* ======================================================== */
/* 24. 첫 화면 제품 로고                                       */
/* ======================================================== */
.home .hero-h1 .lockup-hero { --lk-h: 42px; display: flex; margin: 18px 0 0; }
@media (max-width: 900px) { .home .hero-h1 .lockup-hero { --lk-h: 30px; } }
@media (max-width: 480px) { .home .hero-h1 .lockup-hero { --lk-h: 24px; margin-top: 12px; } }

/* ======================================================== */
/* 25. 아키텍처도 (SVG)                                       */
/* ======================================================== */
.home .arch2 { margin: 8px 0 0; }
.home svg.arch-svg { display: block; width: 100%; height: auto; fill: initial; stroke: none; overflow: visible; font-family: var(--font-text); }
.home .arch-v-svg { display: none; }
@media (max-width: 760px) { .home .arch-h-svg { display: none; } .home .arch-v-svg { display: block; max-width: 420px; margin: 0 auto; } }
.home .arch-svg .ax-h { font-size: 14px; font-weight: 600; fill: #606B79; }
.home .arch-svg .ax-wires path { fill: none; stroke: #C3C8CE; stroke-width: 1.6; stroke-dasharray: 5 6; animation: ax-flow 1.4s linear infinite; }
@keyframes ax-flow { to { stroke-dashoffset: -22; } }
.home .arch-svg .ax-src rect, .home .arch-svg .ax-app rect { fill: #F1F3F5; }
.home .arch-svg .ax-src text, .home .arch-svg .ax-app text { font-size: 15px; font-weight: 600; fill: #0C1E33; }
.home .arch-svg .ax-app text { font-size: 17px; }
.home .arch-svg .ax-app text.c { font-size: 14px; text-anchor: middle; }
.home .arch-svg use { color: #4F5B6A; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.home .arch-svg .ax-core-bg { fill: #0C1E33; }
.home .arch-svg .ax-lockup { font-family: 'Red Hat Display', var(--font-text); font-size: 17px; font-weight: 500; letter-spacing: .18em; fill: #fff; }
.home .arch-svg .ax-layer rect { fill: #1A2A3E; stroke: #2A3A4F; }
.home .arch-svg .ax-t { font-size: 15px; font-weight: 700; fill: #fff; }
.home .arch-svg .ax-s { font-size: 12.5px; fill: #B8C2CE; }
.home .arch-svg .ax-down, .home .arch-svg .ax-chips path { fill: none; stroke: #8FB4F5; stroke-width: 1.6; }
.home .arch-svg .ax-graph line { stroke: #8FB4F5; stroke-width: 1.4; stroke-opacity: .55; }
.home .arch-svg .ax-graph rect { fill: #0C1E33; stroke: #8FB4F5; stroke-opacity: .6; }
.home .arch-svg .ax-graph .hub rect { fill: #1F5BC7; stroke: #1F5BC7; stroke-opacity: 1; }
.home .arch-svg .ax-graph text, .home .arch-svg .ax-chips text { font-size: 12.5px; font-weight: 600; fill: #E3E8EE; text-anchor: middle; }
.home .arch-svg .ax-chips rect { fill: #0C1E33; stroke: #3A4A5E; }
.home .arch-svg .ax-chips rect.ai { fill: #1F5BC7; stroke: #1F5BC7; }
.home .arch-svg .ax-dots circle { fill: #1F5BC7; }
.home .arch-svg .ax-dots circle.out { fill: #22A06B; }
/* 화면에 들어오면 층이 차례로 켜진다 */
.home .arch2 .ax-layer, .home .arch2 .ax-app > g { opacity: .15; transition: opacity .5s; }
.home .arch2.on .ax-layer { opacity: 1; transition-delay: calc(.2s + var(--d) * .18s); }
.home .arch2.on .ax-app > g { opacity: 1; transition-delay: 1s; }
html:not(.js) .home .arch2 .ax-layer, html:not(.js) .home .arch2 .ax-app > g { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .home .arch-svg .ax-wires path { animation: none; } .home .arch-svg .ax-dots { display: none; } }
.home svg.arch-v-svg { display: none; }
@media (max-width: 760px) { .home svg.arch-h-svg { display: none; } .home svg.arch-v-svg { display: block; max-width: 420px; margin: 0 auto; } }
/* 정부 지원사업 카드: 학교 로고 */
.home .trust-list li { flex-direction: column; align-items: flex-start; gap: 18px; padding: 24px; background: #fff; border: 1px solid var(--t-grey-200); }
.home .trust-logo { display: block; height: 32px; width: auto; }
/* 정부 지원사업 띠: 문의하기 아래 */
.home main > section#contact { padding-bottom: 72px; }
.home main > section#trust { padding: 0 0 96px; }
@media (max-width: 768px) { .home main > section#trust { padding-bottom: 72px; } }

/* ======================================================== */
/* 26. 모바일 최적화 2차                                      */
/* ======================================================== */
.home .pp-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.home .pp-copy, .home .pp-fig { min-width: 0; }
@media (max-width: 900px) { .home .pp-panel { grid-template-columns: minmax(0, 1fr); } }
.home .pp-steps [role="tab"] { min-width: 0; }
.home #main-nav .logo { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 768px) {
  .home .sitemap a { display: flex; align-items: center; min-height: 44px; }
  .home .footer-legal div { flex-wrap: wrap; }
}
.home .demo-q { table-layout: fixed; width: 100%; }
@media (max-width: 480px) {
  .home .demo-q th:first-child, .home .demo-q td:first-child { width: 44%; }
  .home .demo-q td.no { white-space: normal; }
  .home .demo-q .tag { white-space: normal; line-height: 1.4; }
  .home .pp-fig .app-window { overflow: hidden; }
}
/* 사례집: 휴대폰에서는 한 줄 목록 */
@media (max-width: 640px) {
  .home .cases { gap: 0; }
  .home .cases > li:not(.rule) { border-bottom: 1px solid var(--t-grey-100); }
  .home .case-card { display: grid !important; grid-template-columns: 72px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 14px 0; }
  .home .case-card .case-thumb { grid-row: span 2; width: 72px; height: 72px; aspect-ratio: auto; border-radius: 14px; }
  .home .case-card .case-thumb b { display: none; }
  .home .case-card .case-thumb svg { position: static; width: 28px; height: 28px; opacity: .85; }
  .home .case-card .case-tag { margin: 0 0 2px; align-self: end; }
  .home .case-h { font-size: 16px; line-height: 1.45; align-self: start; }
  .home .case-next .case-thumb b { display: block; font-size: 28px; }
}
@media (max-width: 640px) { .home button.case-card, .home div.case-card { padding: 14px 0; } }
/* 정부 지원사업: 다른 섹션과 같은 제목·여백·카드 글자 크기 */
.home main > section#contact { padding-bottom: 96px; }
.home main > section#trust { padding: 96px 0; background: #fff; border-top: 1px solid var(--t-grey-100); }
@media (max-width: 768px) { .home main > section#contact { padding-bottom: 72px; } .home main > section#trust { padding: 72px 0; } }
.home .trust-list li { padding: 28px; gap: 20px; border-radius: 20px; }
.home .trust-logo { height: 36px; }
.home .trust-list b { font-size: 20px; line-height: 1.45; letter-spacing: -0.015em; }
.home .trust-list span:not(.trust-ico) { font-size: 16px; margin-top: 6px; }
@media (max-width: 600px) { .home .trust-list b { font-size: 18px; } .home .trust-list span:not(.trust-ico) { font-size: 15px; } .home .trust-list li { padding: 24px; } }

/* ======================================================== */
/* 27. 모바일 전용 레이아웃                                    */
/* ======================================================== */
.home .pp-badge { display: none; }

@media (max-width: 760px) {
  /* 차이점 표 → 번호 목록: UPFLOW OS 답을 먼저, 다른 두 답은 아래 회색 한 줄 */
  .home #os .table-scroll { counter-reset: cmp; }
  .home table.compare tbody tr { counter-increment: cmp; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px; padding: 18px 0; margin: 0; border: 0; border-bottom: 1px solid var(--t-grey-200); border-radius: 0; background: none; }
  .home table.compare tbody tr:first-child { border-top: 1px solid var(--t-grey-200); }
  .home table.compare tbody th { order: 0; flex: 1 0 100%; padding: 0 0 8px; font-size: 14px; font-weight: var(--w-semibold); color: var(--t-grey-500); }
  .home table.compare tbody th::before { content: counter(cmp) ". "; }
  .home table.compare td.ours { order: 1; flex: 1 0 100%; margin: 0 0 8px; padding: 0; background: none; border-radius: 0; font-size: 18px; font-weight: var(--w-bold); color: var(--t-grey-900); box-shadow: none !important; }
  .home table.compare td.ours::before { content: none; }
  .home table.compare td:not(.ours) { order: 2; flex: 0 1 auto; padding: 0; font-size: 14px; color: var(--t-grey-500); }
  .home table.compare td:not(.ours)::before { content: attr(data-label) " · "; display: inline; font-size: 14px; font-weight: 400; color: var(--t-grey-400); margin: 0; }
  .home #os .sub-h3#compare::after { content: " (UPFLOW OS 기준)"; font-size: 14px; font-weight: 500; color: var(--t-grey-500); }

  /* 진행 프로세스 → 세로 스크롤 */
  .home .pp-steps, .home .pp-nav { display: none; }
  .home .pp-panel, .home .pp-panel[hidden] { display: grid; position: relative; margin: 0 0 16px; }
  .home .pp-panel + .pp-panel::before { content: ""; position: absolute; left: 50%; top: -16px; width: 2px; height: 16px; background: var(--t-grey-300); }
  .home .pp-badge { display: inline-flex; align-items: center; height: 26px; margin: 0 0 8px; padding: 0 10px; border-radius: 999px; background: var(--t-grey-900); color: #fff; font-size: 13px; font-weight: var(--w-bold); }
}
@media (max-width: 760px) {
  .home .pp-copy > p.pp-badge { color: #fff; }
  .home .pp-steps { display: grid; position: sticky; top: 64px; z-index: 20; grid-template-columns: 1fr 14px 1fr 14px 1fr; margin: 0 -16px 16px; padding: 8px 16px; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--t-grey-100); }
  .home .pp-steps [role="tab"] { flex-direction: row; align-items: center; justify-content: center; gap: 6px; padding: 8px 4px; min-height: 44px; border-radius: 12px; border-width: 1px; box-shadow: none !important; }
  .home .pp-steps .pp-n { width: 22px; height: 22px; font-size: 12px; }
  .home .pp-steps .pp-t b { font-size: 13px; white-space: nowrap; }
  .home .pp-steps .pp-arrow svg { width: 12px; height: 12px; }
  .home .pp-panel { scroll-margin-top: 130px; }
  .home #pp-2 .pp-fig { display: none; }
}
/* sticky가 동작하도록: 가로 넘침은 hidden 대신 clip으로 막는다 (스크롤 상자를 만들지 않음) */
html:has(body.home), body.home { overflow-x: clip; overflow-y: visible; }

/* ===== 휴대폰 한 화면 = 한 섹션 (2026-10-18) ===== */
.home .cases-more-btn { display: none; }
.home .arch-svg .ax-src-v text.c { font-size: 13px; text-anchor: middle; }
.home .arch-svg .ax-s.r { text-anchor: end; }
/* 진행 프로세스: 그림을 지웠으므로 PC는 설명 왼쪽 · 흐름 오른쪽 */
.home .pp-panel { grid-template-columns: minmax(0, 1fr); }
.home .pp-copy { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 48px; align-items: start; }
.home .pp-copy > :not(.pp-flow) { grid-column: 1; }
.home .pp-copy > .pp-flow { grid-column: 2; grid-row: 1 / span 5; }

@media (max-width: 760px) {
  /* 섹션 단위 스냅 */
  html:has(body.home) { scroll-snap-type: y mandatory; }
  .home main > section { scroll-snap-align: start; scroll-snap-stop: always; min-height: calc(100svh - 64px); display: flex; flex-direction: column; justify-content: center; }
  .home main > section#hero { min-height: 100svh; padding-top: calc(var(--header-height, 64px) + 20px); padding-bottom: 20px; }
  .home #hero .demo { margin-top: 24px; }
  .home #hero .demo-body { min-height: 0; }
  .home #hero .hero-sub { margin-bottom: 0; }
  .home footer { scroll-snap-align: end; }
  .home main > section:not(#hero), .home section#problem { padding-top: 28px; padding-bottom: 28px; }
  .home main > section > .wrap { width: 100%; }
  .home .sec-head { margin-bottom: 20px; }

  /* 소개: 방법과 한계를 번호 목록 줄글로 */
  .home ol.tries2 { counter-reset: tr; display: grid; gap: 0; margin: 0; }
  .home ol.tries2 > li { counter-increment: tr; display: block; padding: 14px 0; border: 0; border-bottom: 1px solid var(--t-grey-200); background: none; }
  .home ol.tries2 > li:last-child { border-bottom: 0; }
  .home ol.tries2 .t-logo, .home ol.tries2 .t-link, .home ol.tries2 .t-way small { display: none; }
  .home ol.tries2 .t-way, .home ol.tries2 .t-limit { display: block; padding: 0; border: 0; background: none; box-shadow: none; }
  .home ol.tries2 .t-way b { font-size: 15px; font-weight: var(--w-semibold); color: var(--t-grey-500); text-decoration: none; }
  .home ol.tries2 .t-way b::before { content: counter(tr) ". "; }
  .home ol.tries2 .t-limit b { display: block; margin-top: 2px; font-size: 17px; color: var(--t-grey-900); }
  .home ol.tries2 .t-limit p { margin: 4px 0 0; font-size: 14px; line-height: 1.6; color: var(--t-grey-600); }
  .home #problem .lead { font-size: 15px; }

  /* 문의하기: 폼을 한 화면에 */
  .home .contact-v5 { gap: 12px; }
  .home .contact-lead { margin: 6px 0 0; font-size: 15px; }
  .home .contact-alt { display: none; }
  .home .contact-side .h2 { margin: 0; }
  .home .cf { gap: 4px; }
  .home .contact-side { padding-bottom: 0; border: 0; }
  .home .cform { padding: 0; border: 0; box-shadow: none; background: none; }
  .home .cform-grid { gap: 8px 10px; grid-template-columns: 1fr 1fr; }
  .home .cf label { font-size: 13px; margin-bottom: 4px; }
  .home .cf input { height: 44px; }
  .home .cf textarea { min-height: 0; height: 88px; }
  .home .cform-notice { font-size: 12px; line-height: 1.5; margin: 4px 0 8px; }
  .home .cform-agree { min-height: 36px; margin-top: 6px; }

  /* 솔루션 그림 */
  .home svg.arch-v-svg { max-width: 100%; }

  /* 진행 프로세스: 세 단계를 한 화면에 */
  .home .pp-steps, .home .pp-nav, .home .pp-out, .home .pp-ico, .home .pp-flow small, .home .pp-copy > p:not(.pp-badge):not(.pp-out) { display: none !important; }
  .home .pp-copy { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; }
  .home .pp-copy > .pp-flow { flex: 1 0 100%; }
  .home .pp-copy h3 { margin: 0; }
  .home #process .sec-head { margin-bottom: 14px; gap: 0; row-gap: 0; }
  .home #process .sec-head .lead { margin-top: 10px; }
  .home #process .h2 { margin-bottom: 0; }
  .home #process .lockup { margin-bottom: 14px; }
  .home .pp-panel:last-child, .home #pp-3 { margin-bottom: 0 !important; }
  .home .pp-panel, .home .pp-panel[hidden] { margin-bottom: 8px !important; }
  .home .pp-panel::after, .home .pp-panel::before { display: none !important; }
  .home #process .lead { margin-top: 8px; line-height: 1.6; }
  .home .pp-panel, .home .pp-panel[hidden] { display: block; margin: 0 0 8px; padding: 14px 16px; border-radius: 14px; }
  .home .pp-badge { margin: 0; }
  .home .pp-copy h3 { font-size: 18px; }
  .home .pp-flow { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin-top: 10px; }
  .home .pp-flow::before { display: none; }
  .home .pp-flow li { display: block; padding: 0 0 0 12px; opacity: 1; transform: none; position: relative; }
  .home .pp-flow li::before { content: ""; position: absolute; left: 0; top: .6em; width: 4px; height: 4px; border-radius: 50%; background: var(--t-grey-500); }
  .home .pp-flow b { font-size: 14px; font-weight: var(--w-semibold); line-height: 1.45; }
  .home #process .lead { font-size: 15px; }

  /* 사례집: 4개 + 더 보기 */
  .home .cases .case-more { display: none; }
  .home .cases.show-all .case-more { display: block; }
  .home .cases-more-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 12px; padding: 0 16px; border: 1px solid var(--t-grey-200); border-radius: 10px; background: #fff; font: inherit; font-size: 15px; font-weight: var(--w-semibold); color: var(--t-grey-800); cursor: pointer; }
  .home .cases-more-btn svg { width: 16px; height: 16px; transform: rotate(90deg); }
}
.home .footer-brand img { width: auto; }
.home .lockup span[data-t]::before { content: attr(data-t); }
.home .cf select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23606B79' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center; cursor: pointer; }
.home .cf select:focus-visible { outline: none; border-color: var(--t-blue-500); box-shadow: 0 0 0 3px rgba(31, 91, 199, .18); }
@media (max-width: 760px) { .home .cf select { height: 44px; } .home .cf textarea { height: 72px; } }
@media (max-width: 760px) { .home main > section#contact { padding-top: 24px; padding-bottom: 24px; } }
