/* ReCare 소개 페이지. 운영체제가 다크 모드여도 밝은 화면 그대로 둡니다. */
:root {
  color-scheme: light only;
  --ink: #1b2a3b;
  --muted: #55657a;
  --line: #dfe5ea;
  --navy: #0f2238;
  --blue: #0d4f8b;
  --teal: #087068;      /* 글자·강조 (흰 바탕 대비 6:1) */
  --teal-2: #0f9a8c;
  --soft: #f4f6f8;
  --panel: #2a3038;     /* 사진 카드 뒤 어두운 판 */
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { word-break: keep-all; text-wrap: balance; letter-spacing: -0.03em; color: var(--navy); }
p, li, dd, td, summary { word-break: keep-all; overflow-wrap: anywhere; }
img { display: block; max-width: 100%; height: auto; }
figure, blockquote { margin: 0; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 키보드 초점 */
:focus-visible { outline: 3px solid var(--teal-2); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .dark :focus-visible, .contact-sec :focus-visible, .nav.at-top :focus-visible { outline-color: #8ff0e2; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 6px; background: var(--navy); color: #fff; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.in { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }

/* 위 메뉴: 첫 화면 위에서는 투명·흰 글자, 내려가면 흰 바탕 */
.nav { position: fixed; left: 0; right: 0; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--line); transition: background 0.25s, border-color 0.25s, color 0.25s; }
.nav.at-top { background: transparent; border-bottom-color: rgba(255, 255, 255, 0.18); color: #fff; }
.nav-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 21px; color: var(--navy); text-decoration: none; white-space: nowrap; letter-spacing: -0.02em; }
.nav.at-top .brand { color: #fff; }
.brand img { border-radius: 7px; }
.brand.small { font-size: 17px; gap: 8px; }
.nav-links { display: flex; gap: 30px; margin: 0 auto; }
.nav-links a { padding: 4px 0; text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 550; border-bottom: 2px solid transparent; transition: color 0.15s, border-color 0.15s; }
.nav.at-top .nav-links a { color: rgba(255, 255, 255, 0.86); }
.nav-links a:hover { color: var(--navy); border-bottom-color: currentColor; }
.nav.at-top .nav-links a:hover { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 20px; }
.nav-tel { display: flex; flex-direction: column; line-height: 1.2; text-decoration: none; text-align: right; font-weight: 700; font-size: 15px; color: var(--navy); font-variant-numeric: tabular-nums; }
.nav.at-top .nav-tel { color: #fff; }
.nav-tel small { font-size: 11.5px; font-weight: 500; opacity: 0.75; }
.nav.at-top .btn.primary { background: #fff; border-color: #fff; color: var(--navy); }

/* 단추 */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid #c8d1d9; background: #fff; color: var(--navy); font-weight: 650; font-size: 15px; text-decoration: none; white-space: nowrap; transition: background 0.15s, border-color 0.15s, color 0.15s; }
.btn:hover { border-color: var(--navy); }
.btn.primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn.primary:hover { background: #1c3b5c; border-color: #1c3b5c; }
.btn.light { background: #fff; border-color: #fff; color: var(--navy); }
.btn.light:hover { background: #e9f3f6; }
.btn.outline { background: transparent; border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn.outline:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.btn.big { min-height: 52px; padding: 0 28px; font-size: 16px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* 첫 화면: 병원 건물 사진 */
.hero { position: relative; min-height: max(640px, 92vh); display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; background: #0e2a3f; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9, 28, 46, 0.72) 0%, rgba(10, 42, 62, 0.55) 45%, rgba(6, 52, 60, 0.82) 100%); }
.hero-in { position: relative; padding-top: 72px; padding-bottom: 80px; }
.wordmark { margin: 0; font-size: clamp(64px, 12.5vw, 176px); line-height: 1; font-weight: 800; letter-spacing: 0.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.85); user-select: none; }
.hero-kicker { margin: 26px 0 6px; font-size: 17px; color: rgba(255, 255, 255, 0.86); }
.hero h1 { margin: 0; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.34; font-weight: 750; color: #fff; }
.hero .cta { justify-content: center; margin-top: 34px; }
.scroll-down { position: absolute; left: 50%; bottom: 0; width: 240px; height: 44px; margin-left: -120px; display: block; color: var(--navy); }
.scroll-down .notch { position: absolute; inset: 0; width: 100%; height: 100%; fill: #fff; }
.mouse { position: absolute; left: 50%; top: 10px; width: 18px; height: 28px; margin-left: -9px; border: 2px solid #9aa9b6; border-radius: 10px; }
.mouse i { position: absolute; left: 50%; top: 5px; width: 2px; height: 6px; margin-left: -1px; border-radius: 2px; background: #6b7c8d; }

/* 구역 공통 */
.sec { padding: 120px 0; }
.sec.soft { background: var(--soft); }
.sec h2 { margin: 0; font-size: clamp(27px, 3vw, 38px); line-height: 1.34; font-weight: 750; }
.sec-head { max-width: 760px; }
.sec-head.center { margin: 0 auto; text-align: center; }
/* 제목: 작은 한글 꼬리표 + 큰 영문 */
.title .ko { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 700; letter-spacing: 0; color: var(--teal); }
.title .en { display: block; font-size: clamp(36px, 4vw, 52px); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }
.sub { margin: 18px 0 0; font-size: 17.5px; color: var(--muted); }
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* 한눈에 보기 */
.overview { padding-top: 110px; }
.overview .hero-shot { position: relative; max-width: 1000px; margin: 56px auto 0; padding: 0 120px 40px 0; }
.browser { position: relative; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -30px rgba(15, 34, 56, 0.35), 0 0 0 1px rgba(15, 34, 56, 0.08); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #f3f5f7; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d3d9de; flex: none; }
.browser-bar span { margin-left: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone { border-radius: 24px; overflow: hidden; background: #fff; border: 5px solid #1b2a3b; box-shadow: 0 30px 50px -20px rgba(15, 34, 56, 0.45); }
.hero-phone { position: absolute; width: 21%; max-width: 200px; right: 0; bottom: 0; }
/* 세 가지 특징 카드 (첫 카드는 사진 바탕) */
.quick { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.quick li { position: relative; overflow: hidden; min-height: 190px; padding: 28px 28px 26px; border-radius: 16px; background: var(--blue); color: #d7e6f3; }
.quick li:nth-child(3) { background: var(--teal); color: #d6f0ec; }
.quick li.photo-card { background: var(--navy); }
.quick li.photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.45; transition: transform 0.8s ease; }
.quick li.photo-card:hover img { transform: scale(1.05); }
.quick li > :not(img) { position: relative; }
.quick .ico { width: 34px; height: 34px; color: #fff; stroke-width: 1.5; }
.quick h3 { margin: 16px 0 6px; font-size: 19px; color: #fff; }
.quick h3 small { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: 0; opacity: 0.75; }
.quick p { margin: 0; font-size: 15px; }

/* 지금의 방식과 비교 */
.problem-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: end; }
.quote { padding-left: 24px; border-left: 3px solid var(--teal); }
.quote p { margin: 0; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.4; font-weight: 700; color: var(--navy); letter-spacing: -0.03em; }
.quote footer { margin-top: 10px; font-size: 16px; color: var(--muted); }
.table-wrap { margin-top: 48px; }
.compare { width: 100%; border-collapse: collapse; font-size: 16px; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.compare th, .compare td { padding: 22px 24px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { padding-top: 16px; padding-bottom: 16px; font-size: 14px; font-weight: 700; color: var(--muted); background: #fafbfc; }
.compare thead th.me { color: #fff; background: var(--navy); }
.compare tbody th { width: 18%; font-size: 17px; font-weight: 700; color: var(--navy); }
.compare td { width: 41%; color: var(--muted); }
.compare td.me { color: var(--navy); font-weight: 550; background: #f1f8f7; }
.compare tbody tr:last-child > * { border-bottom: 0; }

/* 업무 흐름: 왼쪽 글 + 오른쪽 어두운 판 위 사진 카드 (오른쪽 끝까지) */
.workflow { overflow: hidden; }
.wf-in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 48px; align-items: center; }
.arrows { display: flex; gap: 10px; margin-top: 30px; }
.arrow { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid #b8c3cc; background: #fff; color: var(--navy); cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s; }
.arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.arrow:hover:not(:disabled) { background: var(--navy); border-color: var(--navy); color: #fff; }
.arrow:disabled { opacity: 0.35; cursor: default; }
.wf-panel { position: relative; margin-right: calc((min(100vw, 1200px) - 100vw) / 2 - 24px); padding: 56px 0 56px 48px; }
.wf-panel::before { content: ""; position: absolute; inset: 0 0 0 0; border-radius: 28px 0 0 28px; background: var(--panel); }
.wf-track { position: relative; list-style: none; margin: 0; padding: 0 48px 6px 0; display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 0; scrollbar-width: none; }
.wf-track::-webkit-scrollbar { display: none; }
.wf-track li { flex: 0 0 262px; scroll-snap-align: start; border-radius: 14px; overflow: hidden; background: #fff; }
.wf-track img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.7s ease; }
.wf-track li:hover img { transform: scale(1.05); }
.wf-track li > div { position: relative; padding: 16px 18px 20px; background: #fff; }
.wf-track span { font-size: 12.5px; font-weight: 700; color: var(--blue); }
.wf-track h3 { margin: 2px 0 8px; font-size: 18.5px; }
.wf-track p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.wf-track p b { display: block; margin-bottom: 4px; font-size: 13px; color: var(--teal); }

/* 기능 소개 */
.feature { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 80px; align-items: center; }
.feature.rev .feature-text { order: 2; }
.label { margin: 0 0 14px; font-size: 15px; font-weight: 700; color: var(--teal); }
.label span { display: block; font-size: 13px; color: var(--blue); letter-spacing: 0.02em; }
.points { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--line); }
.points li { position: relative; padding: 14px 0 14px 18px; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--ink); }
.points li::before { content: ""; position: absolute; left: 0; top: 25px; width: 7px; height: 1.5px; background: var(--teal); }
.fine { margin: 18px 0 0; padding-left: 12px; border-left: 2px solid #d9a441; color: var(--muted); font-size: 14.5px; }
.card-shot { border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -28px rgba(15, 34, 56, 0.4), 0 0 0 1px rgba(15, 34, 56, 0.08); justify-self: center; max-width: 540px; width: 100%; }
.card-shot.wide { max-width: 600px; }

/* 원칙 (어두운 띠) */
.sec.dark { background: var(--navy); color: #c2cfd8; }
.sec.dark h2, .sec.dark h3, .sec.dark .title .en { color: #fff; }
.sec.dark .title .ko { color: #6fd8ca; }
.sec.dark .sub { color: #a9b9c5; }
.nots { list-style: none; counter-reset: no; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.nots li { counter-increment: no; position: relative; padding: 26px 0 28px 48px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.nots li::before { content: "0" counter(no); position: absolute; left: 0; top: 30px; font-size: 14px; font-weight: 700; color: #6fd8ca; font-variant-numeric: tabular-nums; }
.nots h3 { margin: 0 0 6px; font-size: 21px; }
.nots p { margin: 0; font-size: 16px; }

/* 역할 표 */
.roles { width: 100%; border-collapse: collapse; font-size: 16px; }
.roles th, .roles td { padding: 20px 20px 20px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.roles thead th { padding-top: 0; padding-bottom: 12px; font-size: 13px; font-weight: 700; color: var(--muted); border-bottom: 2px solid var(--navy); }
.roles tbody th { width: 20%; font-size: 17px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.roles td:nth-child(2) { width: 30%; color: var(--teal); font-weight: 600; font-size: 15px; }
.roles td:nth-child(3) { color: var(--muted); }

/* 2열 목록 (그 밖의 기능 · 보안) */
.more { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 2fr); gap: 56px; }
.list2 { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.list2 > div { padding: 20px 0 22px; border-top: 1px solid #cdd5dc; }
.list2 dt { font-size: 17px; font-weight: 700; color: var(--navy); }
.list2 dd { margin: 4px 0 0; font-size: 15.5px; color: var(--muted); }
.sec-list { margin-top: 56px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; }

/* 보안 구성도 */
.arch { margin: 52px 0 0; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(150px, 0.6fr) minmax(0, 0.75fr); align-items: center; }
.zone { position: relative; padding: 40px 28px 28px; border-radius: 16px; border: 1.5px dashed #a9c9c5; background: #f7faf9; }
.zone-h { position: absolute; left: 20px; top: -13px; margin: 0; padding: 1px 12px; background: #fff; border: 1px solid #a9c9c5; border-radius: 999px; color: var(--teal); font-size: 13px; font-weight: 700; }
.node { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border-radius: 10px; background: #fff; border: 1px solid var(--line); line-height: 1.4; }
.node .ico { width: 38px; height: 38px; padding: 8px; border-radius: 8px; background: #eef2f5; color: #2b4258; }
.node b { display: block; font-size: 16px; color: var(--navy); }
.node span { font-size: 14px; color: var(--muted); }
.node.server { border-color: var(--teal); box-shadow: inset 3px 0 0 var(--teal); }
.node.server .ico { background: var(--teal); color: #fff; }
.node.hq { border-style: dashed; border-color: #b8c3cc; }
.node.hq img { border-radius: 7px; flex: none; }
/* 연결선: 점선이 흐르는 세로선 / 가로선 */
.link { position: relative; height: 54px; display: flex; align-items: center; }
.link::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: repeating-linear-gradient(180deg, var(--teal-2) 0 6px, transparent 6px 12px); background-size: 2px 12px; animation: flow-y 0.9s linear infinite; }
.link.ro::before { background-image: repeating-linear-gradient(0deg, #9aa9b6 0 6px, transparent 6px 12px); animation-direction: reverse; }
.link span { position: relative; margin-left: calc(50% + 14px); font-size: 12.5px; font-weight: 700; color: var(--teal); }
.link.ro span { color: var(--muted); }
.link.out { height: auto; min-height: 120px; justify-content: center; }
.link.out::before { left: 8px; right: 8px; top: 50%; bottom: auto; width: auto; height: 2px; margin: -1px 0 0; background: repeating-linear-gradient(90deg, #9aa9b6 0 6px, transparent 6px 12px); background-size: 12px 2px; animation: flow-x 1.2s linear infinite; }
.link.out span { margin: 0 0 70px; text-align: center; line-height: 1.45; color: var(--muted); font-weight: 600; }
.link.out strong { color: #a8323f; }
@keyframes flow-y { from { background-position: 0 0; } to { background-position: 0 12px; } }
@keyframes flow-x { from { background-position: 0 0; } to { background-position: 12px 0; } }

/* 설치·운영 */
.steps { list-style: none; counter-reset: st; margin: 30px 0 0; padding: 0; }
.steps li { counter-increment: st; position: relative; padding: 0 0 20px 44px; }
.steps li::before { content: counter(st); position: absolute; left: 0; top: 1px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--navy); color: var(--navy); font-weight: 700; font-size: 14px; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 34px; bottom: 4px; width: 1px; background: #c3ccd4; }
.steps b { display: block; font-size: 17px; color: var(--navy); }
.steps span { display: block; margin-top: 2px; color: var(--muted); font-size: 15.5px; }
.steps + .points { margin-top: 12px; }
.spec { margin-top: 72px; }
.spec h3 { margin: 0 0 14px; font-size: 18px; }
.spec dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 2px solid var(--navy); }
.spec dl > div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid #cdd5dc; }
.spec dt { font-weight: 700; color: var(--navy); font-size: 15px; }
.spec dd { margin: 0; color: var(--muted); font-size: 15px; }

/* 자주 묻는 질문 */
.faq-in { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 2fr); gap: 56px; align-items: start; }
.faq { border-top: 2px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-weight: 650; font-size: 17px; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 2px; margin-top: -1px; background: var(--navy); transition: transform 0.2s; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { color: var(--teal); }
.faq details p { margin: 0; padding: 0 48px 24px 0; color: var(--muted); font-size: 16px; }

/* 도입 문의 · 고객센터 (사진 배경) */
.contact-sec { position: relative; padding: 110px 0; color: #d7e3ec; overflow: hidden; background: #0b2a44; }
.contact-bg { position: absolute; inset: 0; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; }
.contact-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 24, 42, 0.55), rgba(8, 40, 70, 0.78)); }
.contact-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 72px; align-items: center; }
.inquiry { position: relative; padding: 56px 56px 52px 0; }
.inquiry::before { content: ""; position: absolute; top: 0; bottom: 0; right: 0; left: calc((min(100vw, 1200px) - 100vw) / 2 - 24px); border-radius: 0 28px 28px 0; background: var(--panel); }
.inquiry > * { position: relative; }
.contact-sec .title .en { color: #fff; }
.contact-sec .title .ko { color: #8fe3d8; }
.contact-sec .sub { color: #b8c7d3; font-size: 16.5px; }
.intro-steps { list-style: none; counter-reset: is; margin: 28px 0 30px; padding: 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.intro-steps li { counter-increment: is; display: grid; grid-template-columns: 36px 100px minmax(0, 1fr); gap: 8px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-size: 15.5px; }
.intro-steps li::before { content: "0" counter(is); color: #6fd8ca; font-weight: 700; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.intro-steps b { color: #fff; font-weight: 650; }
.inquiry .btn.primary { background: #fff; border-color: #fff; color: var(--navy); cursor: pointer; font-family: inherit; }
.inquiry .btn.primary:hover { background: #e9f3f6; }
.inquiry .btn.primary:disabled { opacity: 0.6; cursor: progress; }
.steps-h { margin: 44px 0 0; font-size: 15px; font-weight: 700; color: #8fe3d8; }
.cs .intro-steps { margin-top: 12px; }

/* 도입 문의 양식 (어두운 판 위 밑줄 입력칸) */
.req-mark { font-style: normal; color: #8ff0e2; }
.inq-form { margin-top: 30px; }
.inq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field.wide { grid-column: 1 / -1; }
.field > span { font-size: 13.5px; font-weight: 600; color: #b8c7d3; }
.field input, .field textarea { width: 100%; padding: 9px 0 10px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.3); border-radius: 0; background: transparent; color: #fff; font: inherit; font-size: 16px; line-height: 1.5; transition: border-color 0.15s; }
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, 0.38); }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: #8ff0e2; box-shadow: 0 1px 0 #8ff0e2; }
.field [aria-invalid="true"] { border-bottom-color: #ff8f9b; box-shadow: 0 1px 0 #ff8f9b; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.consent { margin-top: 26px; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 12px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 650; color: #fff; cursor: pointer; }
.check input { flex: none; width: 19px; height: 19px; margin: 0; accent-color: #13a598; }
.check input[aria-invalid="true"] { outline: 2px solid #ff8f9b; outline-offset: 2px; }
.consent ul { list-style: none; margin: 10px 0 0; padding: 0 0 0 29px; display: grid; gap: 3px; font-size: 13.5px; color: #a9bccb; }
.consent li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 6px; }
.consent li:last-child { display: block; }
.consent li b { font-weight: 650; color: #d7e3ec; }
.inq-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.form-status { flex: 1 1 260px; margin: 0; font-size: 15px; font-weight: 600; color: #b8c7d3; }
.form-status:empty { display: none; }
.form-status.ok { color: #8ff0e2; }
.form-status.err { color: #ffb4bd; }
.cs-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 18px; }
.cs-list li { display: flex; align-items: center; gap: 16px; }
.cs-list .ico { width: 46px; height: 46px; padding: 11px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.5); color: #fff; }
.cs-list a, .cs-list span { display: block; text-decoration: none; font-size: 28px; font-weight: 750; line-height: 1.25; color: #fff; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.cs-list .mail { font-size: 21px; }
.cs-list small { display: block; font-size: 13px; font-weight: 500; color: #a9bccb; }
.cs-list a:hover { color: #8ff0e2; }

/* 바닥글 (밝은 회색) */
.foot { position: relative; padding: 44px 0 48px; background: #f2f4f6; color: var(--muted); font-size: 14px; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid #dde2e7; }
.foot-top nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-top nav a { color: var(--ink); font-weight: 600; text-decoration: none; }
.foot-top nav a:hover { color: var(--teal); text-decoration: underline; }
.biz { margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 6px 22px; max-width: 920px; }
.biz > div { display: flex; gap: 8px; }
.biz > div.wide { flex-basis: 100%; }
.biz dt { flex: none; white-space: nowrap; color: #5b6b7d; }
.biz dd { margin: 0; color: #3d4c5c; }
.biz a { color: inherit; text-decoration: none; }
.biz a:hover { color: var(--teal); text-decoration: underline; }
.foot-note { margin: 20px 0 0; color: #5b6b7d; font-size: 13px; }
.copy { margin: 4px 0 0; color: #5b6b7d; font-size: 13px; }
.to-top { position: absolute; right: 24px; bottom: 48px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid #c8d1d9; background: #fff; color: var(--muted); font-size: 10px; font-weight: 700; text-decoration: none; line-height: 1; }
.to-top svg { width: 18px; height: 18px; margin-bottom: -10px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.to-top:hover { color: var(--navy); border-color: var(--navy); }

/* ------------------------------------------------------------------
   시연 화면 (demo.js)
   실제 ReCare 화면을 HTML로 고정 크기(--w × --h)에 그리고, .fit이 칸 폭에 맞게 줄입니다(--s는 demo.js가 계산).
   ------------------------------------------------------------------ */
.fit { position: relative; width: 100%; aspect-ratio: var(--w) / var(--h); overflow: hidden; }
.browser .fit { --s: 0.8; }
.card-shot .fit { --s: 1; }
.hero-phone .fit { --s: 0.6; }
.fit-in { position: absolute; left: 0; top: 0; width: calc(var(--w) * 1px); height: calc(var(--h) * 1px); transform: scale(var(--s)); transform-origin: 0 0; }
.dm { font-family: var(--font); font-size: 13px; line-height: 1.5; color: #15253b; background: #f5f7fa; letter-spacing: -0.01em; overflow: hidden; }
.dm b { font-weight: 750; }
.dm u { text-decoration: none; }
.dm [hidden] { display: none !important; }
.dm .tag { margin-left: auto; padding: 1px 8px; border-radius: 6px; background: #fff3d9; color: #8a5a12; font-size: 11px; font-weight: 700; white-space: nowrap; }
.dm .tag.dark { margin-left: 6px; background: rgba(255, 210, 120, 0.18); color: #ffd98a; }
.dm .pill { display: inline-block; padding: 1px 8px; border-radius: 999px; background: #eef1f5; color: #4d5f72; font-size: 11px; font-weight: 750; white-space: nowrap; }
.dm .pill.teal { background: #e3f5f1; color: #07736a; }
.dm .pill.ok { background: #e2f6ec; color: #13744f; }
.dm .pill.red { background: #fde9eb; color: #b0303f; }
.dm .pill.warn { background: #fff1d9; color: #94600e; }
.dm .pill.blue { background: #e8effc; color: #2d59a3; }
.dm-bar { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px; background: #fff; border-bottom: 1px solid #e3eaf0; font-size: 15px; }
.dm-bar b { color: #14243a; }
.dm-btn { display: inline-flex; align-items: center; justify-content: center; height: 30px; padding: 0 13px; border-radius: 8px; border: 1px solid #d5e1e8; background: #fff; color: #374a60; font-size: 12px; font-weight: 750; white-space: nowrap; transition: background 0.2s, color 0.2s, transform 0.12s, box-shadow 0.2s; }
.dm-btn.primary { background: #07887e; border-color: #07887e; color: #fff; }
.dm-btn.disabled { opacity: 0.38; }
.dm-btn.press { transform: scale(0.94); box-shadow: 0 0 0 5px rgba(7, 136, 126, 0.18); }
.dm .chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 18px 4px; }
.dm .chips span { padding: 5px 11px; border-radius: 999px; border: 1px solid #d5e1e8; background: #fff; font-size: 11.5px; font-weight: 750; color: #374a60; white-space: nowrap; }
.dm .chips span b { color: #07887e; margin-left: 2px; }
.dm .chips span.on { background: #144e56; border-color: #144e56; color: #fff; }
.dm .chips span.on b { color: #9ff0e3; }
.dm .chips b.bump { display: inline-block; animation: pop 0.45s ease; }
/* 마우스 포인터 */
.dm-cur { position: absolute; left: 0; top: 0; z-index: 9; width: 22px; height: 22px; margin: -2px 0 0 -4px; opacity: 0; pointer-events: none; transition: transform 0.85s cubic-bezier(0.5, 0, 0.25, 1), opacity 0.3s;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 11.5-6.6.9 3.8 7.4-3 1.5-3.8-7.5L4 20z' fill='%23fff' stroke='%2315253b' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") 0 0 / contain no-repeat;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25)); }
.dm-cur::before { content: ""; position: absolute; left: 4px; top: 2px; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; background: rgba(7, 136, 126, 0.3); transform: scale(0); transition: transform 0.2s; z-index: -1; }
.dm-cur.down::before { transform: scale(1); }
.dm-cur.show { opacity: 1; }
@keyframes pop { 0% { transform: scale(0.8); } 60% { transform: scale(1.08); } 100% { transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes dots { 0%, 80%, 100% { opacity: 0.25; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
.dm .js { display: inline-block; padding: 2px 7px; border-radius: 6px; font-size: 10.5px; font-weight: 600; white-space: nowrap; font-style: normal; }
.dm .js b { font-weight: 800; }
.dm .js.sent { background: #fff3df; color: #a06b18; }
.dm .js.booked { background: #eaf1fd; color: #2d59a3; }
.dm .js.visited { background: #e6f8f2; color: #146c51; }
.dm .js.exam { background: #f3ecfd; color: #6a3fb0; }
.dm .js { transition: opacity 0.35s, transform 0.35s; }
.dm .js.hide { opacity: 0; transform: translateX(-6px); }

/* 시연: 오늘의 업무 (첫 화면) */
.dm-dash { display: grid; grid-template-columns: 158px minmax(0, 1fr); }
.ap-side { background: #14243a; color: #c3d0da; padding: 16px 10px; }
.ap-brand { display: flex; align-items: center; gap: 8px; padding: 0 6px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.ap-brand b { display: block; color: #fff; font-size: 14px; line-height: 1.2; }
.ap-brand small { display: block; font-size: 9px; color: #8ea2b4; white-space: nowrap; letter-spacing: -0.03em; }
.ap-logo { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #13a598; color: #fff; font-weight: 900; font-size: 18px; }
.ap-nav { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 3px; }
.ap-nav li { padding: 7px 10px; border-radius: 8px; font-size: 11.5px; font-weight: 600; }
.ap-nav li.on { background: rgba(19, 165, 152, 0.22); color: #fff; box-shadow: inset 3px 0 0 #13a598; }
.ap-main { min-width: 0; }
.ap-top { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; background: #fff; border-bottom: 1px solid #e3eaf0; }
.ap-top > b { font-size: 13.5px; }
.ap-top .tag { margin-left: 4px; }
.ap-me { margin-left: auto; font-size: 11px; color: #718093; }
.ap-page { padding: 14px 18px; }
.ap-h b { display: block; font-size: 17px; letter-spacing: -0.02em; }
.ap-h span { font-size: 11px; color: #718093; }
.ap-kpis { margin-top: 10px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; }
.ap-kpis div { padding: 9px 10px; border-radius: 10px; background: #fff; border: 1px solid #e3eaf0; }
.ap-kpis small { display: block; font-size: 9.5px; font-weight: 750; color: #6c7f91; white-space: nowrap; }
.ap-kpis b { display: block; font-size: 21px; line-height: 1.3; color: #07887e; font-variant-numeric: tabular-nums; }
.ap-kpis b.bump { animation: pop 0.45s ease; }
.ap-panel { margin-top: 10px; padding: 10px 12px 4px; border-radius: 12px; background: #fff; border: 1px solid #e3eaf0; }
.ap-ph { margin: 0 0 6px; font-size: 12.5px; font-weight: 800; }
.ap-th, .ap-tr { display: grid; grid-template-columns: 1.55fr 0.9fr 0.8fr 1.45fr; gap: 8px; align-items: center; }
.ap-th { padding: 5px 0; border-bottom: 1px solid #e3eaf0; font-size: 9.5px; font-weight: 800; color: #6c7f91; }
.ap-tr { padding: 7px 0; border-bottom: 1px solid #eef2f6; font-size: 11px; transition: background 0.4s; }
.ap-tr:last-child { border-bottom: 0; }
.ap-tr > span { min-width: 0; }
.ap-tr b { display: block; font-size: 11.5px; }
.ap-tr b small { color: #8494a4; font-weight: 600; }
.ap-tr i { display: block; font-style: normal; font-size: 10px; color: #718093; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-tr > span > small { display: block; font-size: 10px; color: #718093; }
.ap-tr.flash { background: #eaf8f5; }
.dm .st { display: inline-block; padding: 1px 8px; border-radius: 999px; font-style: normal; font-size: 10.5px; font-weight: 750; background: #fff1d9; color: #94600e; white-space: nowrap; }
.dm .st.ok { background: #e2f6ec; color: #13744f; }
.dm .st.red { background: #fde9eb; color: #b0303f; }
.ap-path { display: flex; flex-wrap: wrap; gap: 3px; }
.ap-path i.js { font-size: 9.5px; padding: 1px 6px; }
.ap-path i.dim { color: #9ba8b5; }

/* 시연: 환자 휴대폰 (카카오톡 채팅방 모양) */
.dm-phone { background: #b2c7d9; display: flex; flex-direction: column; }
.kc-status { display: flex; justify-content: space-between; padding: 10px 18px 4px; font-size: 12px; font-weight: 700; color: #1d2b38; }
.kc-top { display: flex; align-items: center; gap: 10px; padding: 8px 14px 10px; font-size: 15px; color: #1d2b38; }
.kc-top b { flex: 1; }
.kc-body { flex: 1; padding: 8px 12px; }
.kc-date { margin: 4px auto 14px; width: max-content; padding: 2px 12px; border-radius: 999px; background: rgba(0, 0, 0, 0.12); color: #fff; font-size: 11px; }
.kc-row { display: flex; gap: 8px; align-items: flex-start; transition: opacity 0.4s, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.kc-row.hide { opacity: 0; transform: translateY(14px); }
.kc-ava { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 14px; background: #13a598; color: #fff; font-weight: 800; }
.kc-msg { min-width: 0; }
.kc-name { font-size: 11.5px; color: #3b4a58; margin-bottom: 4px; }
.kc-bubble { border-radius: 4px 14px 14px 14px; background: #fff; overflow: hidden; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
.kc-head { padding: 7px 12px; background: #fee500; color: #3c1e1e; font-size: 12px; font-weight: 800; }
.kc-bubble p { margin: 0; padding: 10px 12px 12px; font-size: 12.5px; line-height: 1.6; color: #1d2b38; }
.kc-time { display: block; margin-top: 4px; font-size: 10px; color: #4d5c6a; }
.kc-typing { display: flex; gap: 4px; width: max-content; margin: 12px 0 0 44px; padding: 10px 12px; border-radius: 14px; background: #fff; opacity: 0; transition: opacity 0.3s; }
.kc-typing.show { opacity: 1; }
.kc-typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa8b5; animation: dots 1.2s infinite; }
.kc-typing i:nth-child(2) { animation-delay: 0.15s; }
.kc-typing i:nth-child(3) { animation-delay: 0.3s; }

/* 시연: 자동 동기화 */
.sy-form { margin: 14px 18px 0; padding: 4px 14px; border-radius: 12px; background: #fff; border: 1px solid #e3eaf0; }
.sy-row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid #eef2f6; }
.sy-row:last-child { border-bottom: 0; }
.sy-row > span { font-size: 11.5px; font-weight: 750; color: #6c7f91; }
.sy-row .mono { font-family: Consolas, "D2Coding", monospace; font-size: 12.5px; }
.sy-row .chip { font-style: normal; padding: 3px 10px; border-radius: 999px; background: #eaf8f5; color: #07736a; font-size: 11.5px; }
.sy-row .words { display: flex; flex-wrap: wrap; gap: 4px; }
.sy-row .words i { font-style: normal; padding: 2px 8px; border-radius: 6px; background: #f0f3f7; color: #374a60; font-size: 11px; font-weight: 650; transition: background 0.3s, color 0.3s; }
.sy-row .words i.lit { background: #fff0b7; color: #243e51; }
.sy-act { display: flex; align-items: center; gap: 12px; margin: 12px 18px 0; font-size: 11.5px; color: #718093; }
.syncbox { position: relative; display: flex; align-items: center; gap: 12px; margin: 12px 18px 0; padding: 12px 14px 16px; border-radius: 12px; background: #eaf8f5; border: 1px solid #bfe6dd; overflow: hidden; }
.sb-i { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #07887e; color: #fff; font-weight: 900; }
.sb-text b { display: block; font-size: 13px; }
.sb-text small { display: block; font-size: 11px; color: #4d6a6a; }
.sb-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(7, 136, 126, 0.12); }
.sb-bar i { display: block; height: 100%; width: 100%; background: #07887e; transition: width 0.25s linear; }
.syncbox.syncing { background: #eef3fc; border-color: #cbd9f2; }
.syncbox.syncing .sb-i { background: transparent; border: 3px solid #cbd9f2; border-top-color: #2d59a3; color: transparent; animation: spin 0.8s linear infinite; }
.syncbox.syncing .sb-bar i { background: #2d59a3; }
.syncbox.prev { background: #fff; border-color: #e3eaf0; }
.syncbox.prev .sb-i { background: #c3ced8; }
.sy-res { list-style: none; margin: 12px 18px 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sy-res li { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 10px; background: #fff; border: 1px solid #e3eaf0; font-size: 12px; transition: opacity 0.35s, transform 0.35s; }
.sy-res li b { color: #07887e; font-variant-numeric: tabular-nums; }
.sy-res li.hide, .sy-next.hide { opacity: 0; transform: translateY(8px); }
.sy-next { margin: 12px 18px 0; padding: 10px 14px; border-radius: 10px; background: #14243a; color: #dbe9ef; font-size: 12.5px; transition: opacity 0.35s, transform 0.35s; }
.sy-next b { color: #9ff0e3; }

/* 시연: 의사 검토·승인 */
.rv-card { position: relative; margin: 10px 18px 0; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid #e3eaf0; }
.rv-card.mini { padding: 10px 16px; opacity: 0.9; }
.rv-who { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 10px; }
.rv-who b { font-size: 13.5px; }
.rv-who b small { color: #8494a4; font-weight: 600; }
.rv-who > span:not(.pill) { font-size: 11px; color: #718093; }
.rv-k { margin: 10px 0 4px; font-size: 11px; font-weight: 800; color: #6c7f91; display: flex; align-items: center; gap: 8px; }
.rv-text { margin: 0; padding: 9px 12px; border-radius: 8px; background: #f7f9fb; font-size: 13px; }
.rv-card.mini .rv-text { margin-top: 6px; padding: 6px 10px; font-size: 12px; }
.rv-text mark { background: linear-gradient(#fff0b7, #fff0b7) 0 0 / 100% 100% no-repeat; color: #243e51; border-radius: 3px; padding: 1px 2px; transition: background-size 0.45s ease; }
.rv-text mark.off { background-size: 0% 100%; }
.rv-ext { margin: 0; padding: 8px 12px; border-left: 3px solid #07887e; background: #edf8f5; color: #294d4b; font-size: 12px; transition: opacity 0.4s, transform 0.4s; }
.rv-box { display: flex; flex-direction: column; padding: 9px 12px; border-radius: 8px; border: 1px solid #e3eaf0; transition: opacity 0.4s, transform 0.4s; }
.rv-box b { font-size: 13px; }
.rv-box span { font-size: 11.5px; color: #4d5f72; }
.rv-ext.hide, .rv-box.hide, .rv-k .pill.hide { opacity: 0; transform: translateY(6px); }
.rv-k .pill { transition: opacity 0.4s, transform 0.4s; }
.rv-act { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
.rv-ok:not(.primary) { color: #b0303f; border-color: #f0c7cd; }
.rv-done { transition: opacity 0.3s; }
.rv-done.hide { opacity: 0; }
.rv-done.show { animation: pop 0.45s ease; }

/* 시연: 환자 CRM */
.cr-cond { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 12px 18px 0; padding: 9px 12px; border-radius: 10px; background: #fff; border: 1px solid #e3eaf0; font-size: 11.5px; color: #374a60; }
.cr-cond > b { margin-right: 4px; color: #14243a; }
.cr-cond .num { font-style: normal; display: inline-grid; place-items: center; width: 38px; height: 24px; border-radius: 6px; border: 1px solid #c9d6df; background: #fff; font-weight: 800; color: #14243a; }
.cr-list { margin: 8px 18px 0; border-radius: 12px; background: #fff; border: 1px solid #e3eaf0; }
.cr-row { display: grid; grid-template-columns: 1.35fr 0.95fr 0.85fr 1.3fr 0.85fr; gap: 8px; align-items: center; padding: 10px 12px; border-bottom: 1px solid #eef2f6; transition: background 0.4s; }
.cr-row:last-child { border-bottom: 0; }
.cr-row > div { min-width: 0; }
.cr-row b { display: block; font-size: 12px; }
.cr-row b small { color: #8494a4; font-weight: 600; }
.cr-row small { display: block; font-size: 10px; color: #718093; white-space: nowrap; }
.cr-row .pill { margin-top: 3px; font-size: 10px; padding: 1px 6px; }
.cr-exam { font-size: 12px; }
.cr-when b { font-size: 11.5px; }
.cr-type small { margin-top: 3px; color: #374a60; font-weight: 600; }
.cr-row.off .cr-exam, .cr-row.off .cr-when, .cr-row.off .cr-type { opacity: 0.55; }
.cr-row.flash { background: #eaf8f5; }
.cr-do { display: flex; justify-content: flex-end; }
.cr-do .dm-btn { height: 28px; padding: 0 10px; font-size: 11px; }
.cr-sent { display: none; font-size: 11px !important; }
.cr-row.sent .cr-send { display: none; }
.cr-row.sent .cr-sent { display: inline-block; animation: pop 0.45s ease; }
.cr-modal { position: absolute; left: 50%; top: 168px; z-index: 5; width: 330px; margin-left: -165px; padding: 18px 18px 16px; border-radius: 14px; background: #fff; box-shadow: 0 24px 60px rgba(15, 34, 56, 0.28), 0 0 0 1px #e3eaf0; opacity: 0; transform: translateY(10px) scale(0.97); transition: opacity 0.3s, transform 0.3s; pointer-events: none; }
.cr-modal.open { opacity: 1; transform: none; }
.cr-mt { margin: 0; font-size: 15px; font-weight: 800; }
.cr-mp { margin: 6px 0 12px; font-size: 11.5px; color: #4d5f72; }
.otp { display: flex; gap: 6px; margin-bottom: 14px; }
.otp i { display: grid; place-items: center; width: 40px; height: 44px; border-radius: 9px; border: 1.5px solid #c9d6df; font-style: normal; font-size: 19px; font-weight: 800; color: #14243a; transition: border-color 0.2s; }
.otp i.on { border-color: #07887e; }
.otp i.empty { color: transparent; }
.cr-ok { width: 100%; height: 36px; }
.cr-phone { position: absolute; right: 16px; bottom: -6px; z-index: 6; width: 236px; padding-bottom: 14px; border-radius: 22px 22px 0 0; border: 6px solid #fff; border-bottom: 0; background: #b2c7d9; box-shadow: 0 20px 50px rgba(15, 34, 56, 0.3); transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s; }
.cr-phone.hide { transform: translateY(105%); opacity: 0; }
.cr-phone .kc-top { font-size: 12.5px; padding: 8px 12px; }
.cr-phone .kc-bubble { margin: 0 10px; }
.cr-phone .kc-bubble p { font-size: 11px; padding: 8px 10px 10px; }
.cr-phone .kc-head { font-size: 11px; padding: 5px 10px; }

/* 시연: 성과 리포트 */
.jr-hero { display: flex; gap: 16px; align-items: center; margin: 16px 18px 0; padding: 16px 18px; border-radius: 14px; background: linear-gradient(120deg, #10243a, #144e56); color: #dbe9ef; }
.jr-hero small { display: flex; align-items: center; font-size: 11px; font-weight: 800; color: #9ff0e3; }
.jr-hero b { display: block; margin: 4px 0; font-size: 17px; line-height: 1.35; color: #fff; letter-spacing: -0.02em; }
.jr-hero em { font-style: normal; color: #9ff0e3; }
.jr-hero > div > span { font-size: 11px; color: #b8cdd6; }
.jr-rate { flex: none; text-align: center; padding: 10px 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); }
.jr-rate strong { display: block; font-size: 30px; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.jr-rate span { font-size: 10.5px; color: #b8cdd6; }
.jr-funnel { display: flex; align-items: stretch; gap: 5px; margin: 12px 18px 0; }
.jr-funnel > div { flex: 1 1 0; min-width: 0; padding: 9px 10px; border-radius: 11px; background: #fff; border: 1px solid #e3eaf0; }
.jr-funnel > div.strong { background: #eaf8f5; border-color: #bfe6dd; }
.jr-funnel small { display: block; font-size: 9.5px; font-weight: 800; color: #75859a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jr-funnel b { display: block; font-size: 22px; line-height: 1.25; color: #07887e; font-variant-numeric: tabular-nums; }
.jr-funnel > i { align-self: center; font-style: normal; color: #9ba8b5; font-size: 12px; }
.jr-list { display: grid; gap: 7px; margin: 12px 18px 0; }
.jr { display: grid; grid-template-columns: 118px minmax(0, 1fr) 136px; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 11px; background: #fff; border: 1px solid #e3eaf0; }
.jr-who b { display: block; font-size: 12.5px; }
.jr-who small { display: block; font-size: 10px; color: #718093; }
.jr-path { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.jr-path .js + .js::before { content: "›"; margin: 0 5px 0 -1px; color: #9ba8b5; font-weight: 400; }
.jr-path .js + .js { padding-left: 0; }
.jr-res { text-align: right; }
.jr-res small { display: block; margin-top: 3px; font-size: 10px; color: #718093; }
.jr-res .pill { transition: opacity 0.3s; }
.jr-res .pill.hide, .jr-res small.hide { opacity: 0; }
.jr-res small { transition: opacity 0.3s; }
.jr-note { margin: 10px 18px 0; font-size: 10.5px; color: #718093; }

/* 시연: 프로그램 업데이트 */
.up-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 18px; background: #eef3fc; border-bottom: 1px solid #cbd9f2; color: #23447e; font-size: 12.5px; font-weight: 700; transition: background 0.3s; }
.up-bar.busy { background: #fff6e4; border-color: #f0dcb0; color: #7a5310; }
.up-panel { margin: 14px 18px 0; padding: 16px 18px; border-radius: 12px; background: #fff; border: 1px solid #e3eaf0; }
.up-h { display: flex; align-items: center; justify-content: space-between; }
.up-h b { font-size: 15px; }
.up-sub { margin: 6px 0 0; font-size: 11.5px; color: #4d5f72; }
.up-btns { margin-top: 12px; }
.up-at { margin-top: 12px; padding-top: 10px; border-top: 1px solid #eef2f6; font-size: 11px; color: #4d5f72; }
.up-at > div { display: flex; gap: 6px; margin-top: 6px; }
.up-at i { flex: 1; font-style: normal; display: flex; align-items: center; height: 30px; padding: 0 10px; border-radius: 8px; border: 1px solid #c9d6df; color: #14243a; font-size: 12px; }
.up-steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.up-steps li { position: relative; padding: 8px 10px 8px 30px; border-radius: 9px; background: #f2f5f8; color: #8494a4; font-size: 11.5px; font-weight: 750; transition: background 0.3s, color 0.3s; }
.up-steps li::before { content: ""; position: absolute; left: 10px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; border: 2px solid #c3ced8; box-sizing: border-box; }
.up-steps li.now { background: #eef3fc; color: #23447e; }
.up-steps li.now::before { border-color: #cbd9f2; border-top-color: #2d59a3; animation: spin 0.8s linear infinite; }
.up-steps li.done { background: #e2f6ec; color: #13744f; }
.up-steps li.done::before { content: "✓"; display: grid; place-items: center; border: 0; background: #13744f; color: #fff; font-size: 8px; font-weight: 900; }
.up-done { margin: 12px 0 0; font-size: 12.5px; font-weight: 750; color: #13744f; transition: opacity 0.3s; }
.up-done.hide { opacity: 0; }
.up-pill.warn { background: #fff1d9; color: #94600e; }

/* 시연 공통: 한 바퀴 끝나면 살짝 흐려졌다 처음으로 */
.dm { transition: opacity 0.4s; }
.resetting .dm, .dm.resetting { opacity: 0.35; }

.foot .in { position: relative; }

/* ------------------------------------------------------------------
   움직임
   첫 화면은 CSS만으로 한 번 나타나고, 아래 구역은 app.js가 화면에 들어올 때 .reveal → .shown 으로 보여 줍니다.
   ------------------------------------------------------------------ */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoom-out { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes spread { from { opacity: 0; letter-spacing: 0.22em; } to { opacity: 1; letter-spacing: 0.04em; } }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(8px); } }

.hero-bg img { animation: zoom-out 9s cubic-bezier(0.2, 0.6, 0.2, 1) both; }
.wordmark { animation: spread 1.6s 0.1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-kicker { animation: rise 0.8s 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero h1 { animation: rise 0.8s 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero .cta { animation: rise 0.8s 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.mouse i { animation: wheel 1.6s 1.4s ease-in infinite; }

/* 업무 흐름 카드는 화면에 들어오면 오른쪽에서 차례로 */
.js .wf-track li.reveal { opacity: 0; transform: translateX(40px); }
.js .wf-track li.shown { opacity: 1; transform: none; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0ms); }
.js .reveal.shown { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .wf-track li.reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------
   화면 폭
   ------------------------------------------------------------------ */
@media (max-width: 1180px) {
  .nav-links { gap: 20px; }
  .nav-tel { display: none; }
  .feature { gap: 48px; }
  .sec-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-in { justify-content: space-between; }
  .nav-tel { display: flex; }
  .sec { padding: 88px 0; }
  .overview .hero-shot { padding-right: 48px; }
  .quick { grid-template-columns: 1fr; }
  .quick li { min-height: 0; }
  .problem-top { grid-template-columns: 1fr; gap: 32px; }
  .wf-in { grid-template-columns: 1fr; gap: 36px; }
  .wf-panel { margin-left: -24px; margin-right: -24px; padding: 40px 0 40px 24px; }
  .wf-panel::before { border-radius: 0; }
  .wf-track { padding-right: 24px; }
  .feature { grid-template-columns: 1fr; gap: 40px; }
  .feature.rev .feature-text { order: 0; }
  .nots { grid-template-columns: 1fr; }
  .more, .faq-in { grid-template-columns: 1fr; gap: 28px; }
  .arch { grid-template-columns: 1fr; justify-items: stretch; }
  .link.out { min-height: 0; height: 96px; justify-content: flex-start; }
  .link.out::before { left: 50%; right: auto; top: 0; bottom: 0; width: 2px; height: auto; margin: 0 0 0 -1px; background-image: repeating-linear-gradient(180deg, #9aa9b6 0 6px, transparent 6px 12px); background-size: 2px 12px; animation-name: flow-y; }
  .link.out span { margin: 0 0 0 calc(50% + 14px); font-size: 12px; text-align: left; }
  .spec dl { grid-template-columns: 1fr; }
  .contact-in { grid-template-columns: 1fr; gap: 56px; }
  .inquiry { padding: 48px 24px 44px 0; }
  .inquiry::before { left: -24px; right: -24px; border-radius: 0; }
}
@media (max-width: 640px) {
  .in { padding-inline: 16px; }
  .nav-in { height: 60px; gap: 12px; }
  .brand { font-size: 19px; }
  .brand img { width: 28px; height: 28px; }
  .nav-tel { display: none; }
  .nav-cta .btn { min-height: 38px; padding: 0 16px; font-size: 14.5px; }
  .hero { min-height: 600px; }
  .hero-in { padding-top: 60px; }
  .wordmark { -webkit-text-stroke-width: 1.2px; }
  .hero-kicker { font-size: 15px; margin-top: 18px; }
  .hero .cta { margin-top: 28px; }
  .btn.big { min-height: 50px; padding: 0 22px; font-size: 16px; }
  .cta .btn { flex: 1 1 auto; }
  .sec { padding: 68px 0; }
  .overview { padding-top: 72px; }
  .title .en { font-size: 34px; }
  .sub { font-size: 16.5px; }
  .overview .hero-shot { margin-top: 40px; padding: 0 28px 26px 0; }
  .hero-phone { width: 30%; }
  .quick { margin-top: 44px; gap: 12px; }
  .quick li { padding: 22px 20px; }
  .quote { padding-left: 16px; }
  .wf-panel { margin-left: -16px; margin-right: -16px; padding: 32px 0 32px 16px; }
  .wf-track { padding-right: 16px; gap: 12px; }
  .wf-track li { flex-basis: 76%; }
  .points li { font-size: 15.5px; }
  .nots li { padding-left: 40px; }
  .list2, .sec-list { grid-template-columns: 1fr; }
  .node { padding: 14px; }
  .zone { padding: 34px 14px 18px; }
  .spec dl > div { grid-template-columns: 1fr; gap: 2px; }
  .faq summary { font-size: 16px; padding-right: 40px; }
  .faq details p { padding-right: 0; font-size: 15.5px; }
  .contact-sec { padding: 0 0 72px; }
  .inquiry { padding: 56px 16px 44px 0; }
  .inquiry::before { left: -16px; right: -16px; }
  .intro-steps li { grid-template-columns: 32px minmax(0, 1fr); row-gap: 0; }
  .intro-steps li::before { grid-row: span 2; }
  .intro-steps li span { grid-column: 2; }
  .cs-list a, .cs-list span { font-size: 23px; }
  .cs-list .mail { font-size: 17px; }
  .inq-grid { grid-template-columns: 1fr; gap: 18px; }
  .consent { padding: 14px; }
  .consent ul { padding-left: 0; }
  .consent li { grid-template-columns: 1fr; gap: 0; }
  .inq-act .btn { width: 100%; }
  .biz { flex-direction: column; gap: 6px; }
  .to-top { right: 16px; bottom: auto; top: -28px; }
  /* 표는 줄마다 세로로 */
  .table-wrap table, .table-wrap tbody, .table-wrap tr, .table-wrap th, .table-wrap td { display: block; width: auto !important; }
  .table-wrap thead { display: none; }
  .table-wrap tr { padding: 18px 0; border-bottom: 1px solid #cdd5dc; }
  .table-wrap tbody th, .table-wrap td { padding: 0; border: 0; }
  .table-wrap td { margin-top: 10px; }
  .table-wrap td::before { content: attr(data-label); display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); margin-bottom: 2px; }
  .roles tbody tr:first-child { border-top: 2px solid var(--navy); }
  .compare { box-shadow: none; background: transparent; border-radius: 0; }
  .compare tr { padding: 18px 16px; margin-bottom: 12px; border: 1px solid var(--line) !important; border-radius: 12px; background: #fff; }
  .compare td.me { padding: 10px 12px; border-radius: 8px; }
  .compare td.me::before { color: var(--teal); }
}
