/* J. Authentic
   방향: 어두운 단일 테마, 큰 디스플레이 타이포, 넓은 여백, 얇은 괘선. 데모 화면(.screen)만 밝게 띄운다.
   모서리: 면 14px / 조작부 10px / 칩 999px. 강조색은 --accent 하나. */

:root {
  --bg: #f7f7f5;
  --bg-2: #efefec;
  --surface: #ffffff;
  --ink: #111113;
  --muted: #6b6b72;
  --line: #e2e2dd;
  --line-2: #cfcfc9;
  --accent: #ff4d14;
  --accent-ink: #ffffff;
  --shadow-screen: 0 1px 2px rgb(17 17 19 / .06), 0 24px 60px rgb(17 17 19 / .12);
  --r-surface: 14px;
  --r-control: 10px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Roboto Mono", monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 17px; line-height: 1.65; word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: var(--accent-ink); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 30; background: var(--surface); padding: 8px 12px; border-radius: var(--r-control); }

.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--ink);
  font-weight: 650; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s, transform .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-solid { background: var(--ink); color: var(--bg); }
.btn-solid:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--ink); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }

/* ---------- 내비게이션 ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 20; mix-blend-mode: normal; transition: background-color .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { font-weight: 800; font-size: 19px; letter-spacing: -.03em; text-decoration: none; }
.nav nav { display: flex; align-items: center; gap: 32px; }
.nav nav a:not(.btn) { text-decoration: none; font-size: 15px; font-weight: 550; color: var(--muted); transition: color .2s; }
.nav nav a:not(.btn):hover { color: var(--ink); }

/* ---------- 히어로 ---------- */
.hero { padding: 168px 0 0; position: relative; }
.hero-top { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: end; }
h1 {
  font-size: clamp(46px, 7.4vw, 112px); line-height: .98; letter-spacing: -.055em; font-weight: 800;
  text-wrap: balance;
}
h1 .line { display: block; overflow: hidden; }
h1 .line span { display: block; }
.hero-side { padding-bottom: 10px; }
.lead { font-size: 18px; color: var(--muted); max-width: 26em; }
.hero-btns { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }

.hero-visual {
  margin-top: 72px; padding: 36px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg-2);
  display: grid; grid-template-columns: 1fr 48px 1.3fr; align-items: center; gap: 16px;
  position: relative; overflow: hidden;
}
.hero-visual::before { content: ""; position: absolute; inset: -40% -20% auto; height: 120%; background: radial-gradient(60% 60% at 50% 50%, rgb(255 77 20 / .10), transparent 70%); pointer-events: none; }
.hero-visual > * { position: relative; }
.hero-arrow { height: 1px; background: var(--line-2); position: relative; }
.hero-arrow::after { content: ""; position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border-top: 1px solid var(--muted); border-right: 1px solid var(--muted); transform: rotate(45deg); }

/* 로드 시 제목 줄이 아래에서 올라온다 */
@media (prefers-reduced-motion: no-preference) {
  h1 .line span { transform: translateY(110%); animation: lineUp 1.1s var(--ease) forwards; }
  h1 .line:nth-child(2) span { animation-delay: .08s; }
  .hero-side, .hero-visual { opacity: 0; animation: fadeUp 1s var(--ease) .35s forwards; }
  .hero-visual { animation-delay: .5s; }
}
@keyframes lineUp { to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- 실적 수치 ---------- */
.facts { padding: 40px 0 0; }
.facts-in { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.facts-in > div { padding: 28px 24px 28px 0; }
.facts-in > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.facts strong { display: block; font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.facts span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }

/* ---------- 하는 일 : 인덱스 ---------- */
.overview { padding: 160px 0 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; align-items: end; }
.index { margin-top: 56px; border-top: 1px solid var(--line); }
.index li { border-bottom: 1px solid var(--line); }
.index a {
  display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr) 40px; align-items: center; gap: 24px;
  padding: 30px 0; text-decoration: none; position: relative; transition: padding-left .35s var(--ease);
}
.index a::before { content: ""; position: absolute; inset: 0 -24px; background: var(--surface); opacity: 0; transition: opacity .3s; border-radius: 12px; z-index: -1; }
.index a:hover::before { opacity: 1; }
.index a:hover { padding-left: 12px; }
.index i { font-style: normal; font-size: 14px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.index b { font-size: clamp(22px, 2.6vw, 34px); font-weight: 750; letter-spacing: -.03em; line-height: 1.15; }
.index span { font-size: 16px; color: var(--muted); }
.index em { font-style: normal; font-size: 22px; color: var(--muted); transition: transform .35s var(--ease), color .2s; justify-self: end; }
.index a:hover em { transform: translateX(6px); color: var(--ink); }

/* ---------- 사례 공통 ---------- */
.case { padding: 160px 0 0; }
.case.tinted { background: transparent; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: -.005em; color: var(--accent); margin-bottom: 18px; }
h2 { font-size: clamp(38px, 5.2vw, 76px); line-height: 1.02; letter-spacing: -.05em; font-weight: 800; text-wrap: balance; }
h2::before { display: none; }
.sub { margin-top: 0; color: var(--muted); max-width: 30em; font-size: 18px; }
.case .wrap > .sub { margin-top: 24px; }
.applied { margin-top: 32px; font-size: 14.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }

.demo { margin-top: 56px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg-2); }
.demo-note { font-size: 14px; color: var(--muted); margin-bottom: 18px; }

.story { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; border-top: 1px solid var(--line); }
.story dt { font-size: 14px; font-weight: 700; color: var(--accent); margin-bottom: 12px; padding-top: 24px; }
.story dd { color: var(--ink); font-size: 16.5px; line-height: 1.7; }

/* 근태 : 좌 카피 / 우 데모 */
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.split-copy .sub { margin-top: 24px; }
.points { margin-top: 36px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.points li { color: var(--muted); font-size: 15.5px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.points b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }
.split .demo { margin-top: 0; }

.h3-cap { margin-top: 96px; font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.03em; }
.caps { margin-top: 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; border-top: 1px solid var(--line); }
.cap-group h4 { margin: 0 0 14px; padding-top: 24px; font-size: 16px; font-weight: 750; color: var(--ink); }
.cap-group li { font-size: 15.5px; color: var(--ink); padding: 6px 0; }
.cap-group li::before { display: none; }

/* 리뷰 : 실제 캡처 + 이야기 */
.proof { margin-top: 64px; display: grid; grid-template-columns: 280px 1fr; gap: 72px; align-items: center; }
.proof-shot { padding: 8px; border-radius: 28px; background: #1c1f23; box-shadow: var(--shadow-screen); }
.proof-shot figcaption { color: #c9ced4 !important; }
.proof-shot > img { border-radius: 20px; }
.proof-shot figcaption { color: var(--muted); font-size: 12.5px; text-align: center; padding: 10px 4px 4px; }
.story.stack { margin-top: 0; grid-template-columns: 1fr; gap: 0; border-top: 0; }
.story.stack > div { border-top: 1px solid var(--line); padding-bottom: 24px; }

/* 웹사이트 */
.web { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 64px; align-items: center; }
.web-shots { position: relative; padding: 0 48px 48px 0; }
.browser { box-shadow: var(--shadow-screen); border-color: var(--line-2); }
.phone.shot { position: absolute; right: 0; bottom: 0; width: 24%; min-width: 130px; padding: 6px; border-radius: 22px; }
.phone.shot > img { border-radius: 16px; }
.web-copy .sub { margin-top: 24px; }
.web-copy .btn { margin-top: 28px; }

/* 자체 운영 */
.perf { margin-top: 56px; background: #0e1116; border-color: #262c35; padding: 28px; border-radius: 20px; box-shadow: var(--shadow-screen); }
.guards { margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.guards li { padding: 24px 24px 24px 0; font-size: 15px; color: var(--muted); border-bottom: 1px solid var(--line); }
.guards li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.guards b { display: block; color: var(--ink); font-size: 16.5px; margin-bottom: 6px; }
.demo-bot { margin-top: 24px; }

/* ---------- 진행 방식 ---------- */
.steps { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.steps li { counter-increment: step; padding: 32px 28px 40px 0; position: relative; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-size: clamp(40px, 4.5vw, 64px); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--accent); margin-bottom: 40px; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 22px; font-weight: 750; letter-spacing: -.02em; }
.steps p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }

/* ---------- 문의 ---------- */
.contact { padding: 180px 0 120px; }
.contact-in { display: grid; justify-items: start; text-align: left; }
.contact .who { font-size: 15px; font-weight: 600; color: var(--muted); margin-bottom: 20px; }
.contact h2 { font-size: clamp(40px, 6.4vw, 96px); }
.contact .sub { margin-top: 24px; }
.inq { margin-top: 56px; max-width: 1320px; display: grid; gap: 40px; padding: 40px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg-2); }
.inq legend, .inq .field > label { display: block; font-weight: 700; font-size: 17px; margin-bottom: 14px; padding: 0; }
.inq legend small, .inq .field > label small { font-weight: 500; font-size: 14px; color: var(--muted); margin-left: 8px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts label { position: relative; }
.opts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opts span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font-size: 15px; font-weight: 550; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.opts span:hover { border-color: var(--ink); }
.opts input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.opts input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.field-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; }
.inq input[type="text"], .inq textarea { width: 100%; min-height: 52px; padding: 12px 16px; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-control); }
.inq textarea { resize: vertical; }
.inq input[type="text"]:focus, .inq textarea:focus { outline: none; border-color: var(--ink); }
.inq input::placeholder, .inq textarea::placeholder { color: #9a9aa0; }
.inq .err { margin-top: 8px; font-size: 14px; color: #c62828; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inq { position: relative; }
.inq-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.inq-hint { font-size: 13.5px; color: var(--muted); max-width: 34em; }
.inq-done { font-size: 15px; font-weight: 600; }
.contact-btns { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); }

/* ---------- 푸터 ---------- */
.foot { padding: 80px 0 32px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); overflow: hidden; }
.foot-mark { font-size: clamp(56px, 13.5vw, 240px); font-weight: 800; letter-spacing: -.06em; line-height: .9; color: var(--ink); margin-bottom: 56px; white-space: nowrap; }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot .logo { font-size: 16px; color: var(--ink); }
.foot-nav { display: flex; gap: 24px; }
.foot-nav a { text-decoration: none; }
.foot-nav a:hover { color: var(--ink); }
.biz { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 6px 28px; }
.biz div { display: flex; gap: 8px; }
.biz dt { color: var(--muted); }
.biz dd { color: var(--ink); }
.biz a { text-decoration: none; }
.copy { margin-top: 24px; font-size: 13px; }

/* ---------- 스크롤 등장 ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---------- 데모 화면 공통 (.screen 은 테마와 무관하게 항상 밝다) ---------- */
.screen {
  color-scheme: light;
  background: #fff; color: #1d1b19;
  border: 1px solid #d9dde2; border-radius: var(--r-surface);
  box-shadow: var(--shadow-screen); overflow: hidden;
  font-size: 15px; line-height: 1.5;
}
.screen-bar {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  padding: 12px 14px; font-weight: 750; font-size: 15px;
  background: #f1f3f5; border-bottom: 1px solid #e3e6ea;
}
.screen-bar small { font-weight: 500; font-size: 12.5px; opacity: .85; }
.screen-bar.green { background: #17603a; color: #fff; border-color: #17603a; }
.screen-bar.brown { background: #502c1c; color: #fff; border-color: #502c1c; }
.screen table { width: 100%; border-collapse: collapse; }
.screen th, .screen td { padding: 9px 10px; text-align: left; white-space: nowrap; }
.screen thead th { font-size: 12.5px; font-weight: 600; color: #6b6e73; background: #fafbfc; }
.screen tbody tr + tr td { border-top: 1px solid #eef0f2; }

.chat .bubbles { padding: 12px; display: grid; gap: 8px; background: #b9cbdb; }
.chat .bubbles li { background: #fff; border-radius: 10px; padding: 7px 10px; font-size: 13.5px; }
.chat .bubbles b { display: block; font-size: 11.5px; color: #5d6670; font-weight: 600; }
.sheet td, .sheet th { font-size: 13.5px; }
.sheet td:last-child { color: #17603a; }

@media (prefers-reduced-motion: no-preference) {
  /* 대화가 쌓인 뒤 표가 채워지는 순서를 보여준다 */
  .chat .bubbles li, .sheet tbody tr { opacity: 0; animation: rise .5s var(--ease) forwards; }
  .chat .bubbles li:nth-child(1) { animation-delay: .2s; }
  .chat .bubbles li:nth-child(2) { animation-delay: .5s; }
  .chat .bubbles li:nth-child(3) { animation-delay: .8s; }
  .chat .bubbles li:nth-child(4) { animation-delay: 1.1s; }
  .sheet tbody tr:nth-child(1) { animation-delay: 1.6s; }
  .sheet tbody tr:nth-child(2) { animation-delay: 1.75s; }
  .sheet tbody tr:nth-child(3) { animation-delay: 1.9s; }
  .sheet tbody tr:nth-child(4) { animation-delay: 2.05s; }
  .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
}
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.demo { margin-top: 40px; }
.demo-note { font-size: 14px; color: var(--muted); margin-bottom: 14px; }

/* 칩 */
.chips { display: flex; gap: 6px; padding: 10px 12px; flex-wrap: wrap; }
.chips button {
  border: 1.5px solid #cfd4da; background: #fff; color: #33373c;
  border-radius: 999px; min-height: 40px; padding: 0 14px; font-size: 15px; font-weight: 600;
}
.chips.small button { min-height: 32px; font-size: 13px; padding: 0 12px; }
.order-phone .chips button[aria-selected="true"] { background: #17603a; border-color: #17603a; color: #fff; }
.dash .chips button[aria-selected="true"] { background: #502c1c; border-color: #502c1c; color: #fff; }

/* 큰 버튼 (실제 시스템의 고령 직원용 터치 크기를 따른다) */
.big {
  display: block; width: calc(100% - 24px); margin: 12px;
  min-height: 56px; border: 0; border-radius: var(--r-control);
  font-size: 18px; font-weight: 800; color: #fff;
  transition: transform .2s var(--ease), opacity .2s;
}
.big:active { transform: scale(.98); }
.big.green { background: #17603a; }
.big.brown { background: #502c1c; }
.big.gray { background: #e9ecef; color: #2b2e32; }
.big:disabled { background: #d5d9dd; color: #6f7479; cursor: not-allowed; }

/* 휴대폰 틀 */
.phone { background: #1c1f23; border-radius: 28px; padding: 10px; box-shadow: var(--shadow-screen); }
.phone > .screen, .phone > img { border-radius: 20px; border: 0; box-shadow: none; }

/* ---------- 발주 데모 ---------- */
.demo-order .demo-grid { display: grid; grid-template-columns: 340px 1fr; gap: 28px; align-items: start; }
.demo-order .phone { align-self: start; }
.order-phone { min-height: 520px; display: flex; flex-direction: column; }
.items { flex: 1; }
.items li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-top: 1px solid #eef0f2; }
.items .nm { font-size: 18px; font-weight: 700; }
.items .nm small { display: block; font-size: 12.5px; font-weight: 500; color: #6b6e73; }
.stepper { display: flex; align-items: center; gap: 6px; }
.stepper button { width: 44px; height: 44px; border-radius: var(--r-control); border: 1.5px solid #cfd4da; background: #fff; font-size: 22px; font-weight: 700; line-height: 1; }
.stepper output { min-width: 58px; text-align: center; font-weight: 750; font-size: 16px; }
.sent { padding: 16px 14px 4px; flex: 1; }
.sent-title { font-size: 24px; font-weight: 800; color: #17603a; }
.sent ul { margin: 14px 0 6px; display: grid; gap: 8px; }
.sent li { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px; background: #f4f6f5; border-radius: var(--r-control); font-weight: 650; }
.sent .big { width: 100%; margin: 12px 0; }

.board { align-self: start; }
.vendors { padding: 14px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.vendor { border: 1px solid #dfe3e7; border-radius: var(--r-surface); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.vendor.done { background: #f3f8f5; border-color: #bfd8c9; }
.vendor h4 { margin: 0; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.vendor ul { display: grid; gap: 4px; font-size: 14.5px; flex: 1; align-content: start; }
.vendor li { display: flex; justify-content: space-between; gap: 8px; }
.vendor li.new { animation: flash 1.6s ease-out; }
@keyframes flash { from { background: #fff3bf; } to { background: transparent; } }
.vendor li span:first-child { color: #55595e; }
.vendor .acts { display: flex; gap: 6px; flex-wrap: wrap; }
.vendor .acts button { flex: 1; min-height: 40px; border-radius: var(--r-control); border: 1.5px solid #17603a; background: #fff; color: #17603a; font-size: 14px; font-weight: 700; padding: 0 10px; white-space: nowrap; }
.vendor .acts button.primary { background: #17603a; color: #fff; }
.vendor .stamp { font-size: 13px; color: #17603a; font-weight: 650; }
.vendor .read { font-size: 22px; font-weight: 800; line-height: 1.5; background: #fffbe6; border-radius: var(--r-control); padding: 10px 12px; }

.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 2px 10px; font-size: 12.5px; font-weight: 700; background: #eceef0; color: #4a4e53; white-space: nowrap; }
.badge.ok { background: #e2f3e8; color: #1f7a3d; }
.badge.warn { background: #fdf1cf; color: #8a5e00; }
.badge.danger { background: #fbe3e3; color: #a32020; }
.badge.brand { background: #efe5df; color: #502c1c; }

/* ---------- 근태 데모 ---------- */
.demo-hr { margin-top: 0; }
.hr-grid { display: grid; grid-template-columns: 1fr 200px; gap: 20px; align-items: start; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 12px; }
.stats > div { border: 1px solid #e3ddd7; border-radius: var(--r-control); padding: 8px 10px; background: #faf8f6; }
.stats span { display: block; font-size: 12px; color: #6b625b; }
.stats b { font-size: 20px; }
.table-scroll { overflow-x: auto; }
.dash td { font-size: 14.5px; }
.dash tr.me td { background: #fff8e1; }
.punch { text-align: center; padding-bottom: 6px; }
.punch-who { padding: 18px 10px 8px; font-size: 16px; }
.punch-who b { font-size: 20px; }
.punch-ok { font-size: 13px; color: #1f7a3d; font-weight: 600; }
.punch .big { font-size: 16px; min-height: 52px; }
.punch-done { padding: 0 10px 12px; font-size: 14px; font-weight: 700; color: #502c1c; }

/* ---------- 리뷰 데모 ---------- */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.flow h3 { font-size: 15px; font-weight: 750; margin-bottom: 10px; }
.rv-list { display: grid; gap: 10px; }
.rv-list button {
  text-align: left; background: #fff; color: #1d1b19; color-scheme: light;
  border: 1.5px solid #d9dde2; border-radius: var(--r-surface); padding: 12px 14px; font-size: 15px; line-height: 1.5;
  transition: border-color .2s, transform .2s var(--ease);
}
.rv-list button:active { transform: scale(.99); }
.rv-list button[aria-selected="true"] { border-color: #12161b; box-shadow: 0 0 0 1px #12161b; }
.rv-list .meta { display: flex; justify-content: space-between; font-size: 12.5px; color: #6b6e73; margin-bottom: 4px; }
.rv-list .stars { color: #d98e00; letter-spacing: 1px; }
.rv-draft, .rv-out { padding: 14px; min-height: 220px; }
.rv-draft .reply { margin-top: 10px; background: #f4f6f8; border-radius: var(--r-control); padding: 12px; font-size: 15px; }
.rv-draft .why { margin-top: 8px; font-size: 13px; color: #6b6e73; }

.rv-out .tg { margin-top: 10px; background: #eaf2fb; border-radius: var(--r-control); padding: 12px; font-size: 14.5px; }
.rv-out .tg b { display: block; margin-bottom: 4px; }
.rv-out .acts { display: flex; gap: 8px; margin-top: 12px; }
.rv-out .acts button { flex: 1; min-height: 44px; border-radius: var(--r-control); border: 1.5px solid #12161b; background: #fff; color: #12161b; font-weight: 700; }
.rv-out .acts button.primary { background: #12161b; color: #fff; }
.rv-out .result { margin-top: 12px; font-weight: 700; font-size: 15px; }
.rv-out p + p { margin-top: 8px; }

.browser { border-radius: var(--r-surface); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-screen); background: #fff; }
.browser-bar { background: #eef0f2; padding: 8px 12px; }
.browser-bar span { display: inline-block; background: #fff; color: #5a5e63; border-radius: 999px; padding: 2px 14px; font-size: 12.5px; }
.perf { margin-top: 36px; background: #0e1116; color: #e6e9ee; border: 1px solid #262c35; border-radius: var(--r-surface); padding: 20px; color-scheme: dark; }
.perf-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.perf-kpis span { display: block; font-size: 13px; color: #8b95a1; }
.perf-kpis b { display: block; font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.perf-kpis b.up { color: #6fd397; }
.perf-kpis small { display: block; font-size: 12px; color: #8b95a1; }
.perf-chart { margin-top: 18px; }
.perf-chart svg { display: block; width: 100%; height: 180px; }
.perf-chart figcaption { display: flex; justify-content: space-between; font-size: 12.5px; color: #8b95a1; margin-top: 6px; }
.perf-note { margin-top: 14px; font-size: 13px; color: #8b95a1; }

.screen.bot { color-scheme: dark; background: #0e1116; color: #e6e9ee; border-color: #262c35; font-size: 14px; }
.screen-bar.dark { background: #151a21; color: #e6e9ee; border-color: #262c35; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; }
.screen-bar.dark small { display: inline-flex; gap: 6px; }
.tag { display: inline-block; border: 1px solid #3a424d; border-radius: 999px; padding: 1px 9px; font-size: 11.5px; color: #aab3bf; font-family: "Pretendard Variable", sans-serif; }
.tag.live { border-color: #2f8f5b; color: #6fd397; }
.tag.dead { border-color: #a33a3a; color: #f08a8a; }
.bot-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; padding: 12px; }
.bot-card { background: #151a21; border: 1px solid #262c35; border-radius: var(--r-control); padding: 12px 14px; min-width: 0; }
.bot-card h4 { margin: 0 0 10px; font-size: 13px; color: #aab3bf; font-weight: 600; }
.bot-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.bot-kpis span { display: block; font-size: 12px; color: #8b95a1; }
.bot-kpis b { font-size: 20px; font-variant-numeric: tabular-nums; }
.bot-muted { margin-top: 10px; font-size: 12.5px; color: #8b95a1; }
.bar { height: 8px; background: #262c35; border-radius: 999px; overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; background: #e0a33b; border-radius: 999px; transition: width .6s var(--ease), background-color .3s; }
.bar i.danger { background: #e05555; }
.bot-state { margin-top: 8px; font-weight: 700; color: #6fd397; }
.bot-state.dn { color: #f08a8a; }
.bot .up { color: #6fd397; } .bot .dn { color: #f08a8a; }
.bot table { font-variant-numeric: tabular-nums; }
.bot th, .bot td { padding: 7px 8px; font-size: 13.5px; }
.bot thead th { background: transparent; color: #8b95a1; font-weight: 600; }
.bot tbody tr + tr td { border-top: 1px solid #262c35; }
.bot td.empty { color: #8b95a1; }
.pend { background: #1b2230; border-radius: var(--r-control); padding: 10px 12px; font-size: 13.5px; line-height: 1.55; }
.pend b { display: block; margin-bottom: 2px; }
.pend .acts { display: flex; gap: 6px; margin-top: 10px; }
.pend .acts button { flex: 1; min-height: 38px; border-radius: var(--r-control); border: 1px solid #3a424d; background: transparent; color: #e6e9ee; font-weight: 700; font-size: 14px; }
.pend .acts button.primary { background: #2f8f5b; border-color: #2f8f5b; }
.pend-none { color: #8b95a1; font-size: 13.5px; }
.bot-log { display: grid; gap: 6px; font-size: 13px; }
.bot-log li { background: #1b2230; border-radius: var(--r-control); padding: 8px 10px; line-height: 1.5; }
.bot-log li small { display: block; color: #8b95a1; font-size: 11.5px; }
.bot-actions { display: flex; gap: 8px; padding: 0 12px 12px; }
.bot-actions button { min-height: 40px; padding: 0 14px; border-radius: var(--r-control); border: 1px solid #3a424d; background: #151a21; color: #e6e9ee; font-size: 14px; font-weight: 650; }
.bot-actions button:first-child { border-color: #a33a3a; color: #f08a8a; }

.inq fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.inq legend, .inq .field > label { display: block; font-weight: 750; font-size: 17px; margin-bottom: 12px; padding: 0; }
.inq legend small, .inq .field > label small { font-weight: 500; font-size: 14px; color: var(--muted); margin-left: 6px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts label { position: relative; }
.opts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opts span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-size: 15px; font-weight: 550; cursor: pointer; transition: border-color .15s, background-color .15s, color .15s; }
.opts span:hover { border-color: var(--ink); }
.opts input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.opts input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.field { display: grid; gap: 0; }
.field-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; }
.inq input[type="text"], .inq textarea { width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-control); }
.inq textarea { resize: vertical; }
.inq input[type="text"]:focus, .inq textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.inq input::placeholder, .inq textarea::placeholder { color: #8a929b; }
.inq .err { margin-top: 8px; font-size: 14px; color: #b42323; font-weight: 600; }

/* ---------- 반응형 ---------- */
@media (max-width: 1024px) {
  .hero-top, .sec-head { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .index a { grid-template-columns: 56px minmax(0, 1fr) 32px; }
  .index span { grid-column: 2; }
  .split, .web { grid-template-columns: 1fr; gap: 40px; }
  .demo-order .demo-grid { grid-template-columns: 1fr; }
  .demo-order .phone { max-width: 380px; width: 100%; margin: 0 auto; }
  .order-phone { min-height: 0; }
  .story, .caps { grid-template-columns: 1fr; gap: 0; }
  .story > div, .cap-group { border-bottom: 1px solid var(--line); padding-bottom: 20px; }
  .flow { grid-template-columns: 1fr; }
  .rv-draft, .rv-out { min-height: 0; }
  .proof { grid-template-columns: 1fr; gap: 40px; }
  .proof-shot { max-width: 320px; width: 100%; margin: 0 auto; }
  .steps, .guards { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3), .guards li:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts-in { grid-template-columns: 1fr 1fr; }
  .facts-in > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts-in > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .case, .overview { padding-top: 120px; }
  .contact { padding: 140px 0 96px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .nav-in { height: 64px; }
  .nav nav { gap: 16px; }
  .nav nav a:not(.btn) { display: none; }
  .hero { padding-top: 120px; }
  .hero-visual { grid-template-columns: 1fr; padding: 20px; }
  .hero-arrow { width: 1px; height: 24px; margin: 0 auto; }
  .hero-arrow::after { right: -4px; top: auto; bottom: 0; transform: rotate(135deg); }
  .hero-btns .btn { flex: 1; }
  .index a { grid-template-columns: 44px minmax(0, 1fr) 24px; padding: 22px 0; gap: 14px; }
  .index a:hover { padding-left: 0; }
  .demo, .perf, .inq { padding: 16px; border-radius: 16px; }
  .hr-grid { grid-template-columns: 1fr; }
  .hr-grid .phone { max-width: 240px; width: 100%; margin: 0 auto; }
  .stats, .bot-kpis, .perf-kpis { grid-template-columns: 1fr 1fr; }
  .bot-grid { grid-template-columns: 1fr; }
  .bot-card.wide { overflow-x: auto; }
  .steps, .guards { grid-template-columns: 1fr; }
  .steps li, .guards li { padding-left: 0 !important; border-left: 0 !important; }
  .web-shots { padding: 0 24px 24px 0; }
  .field-row { grid-template-columns: 1fr; }
  .biz { flex-direction: column; gap: 6px; }
  .case, .overview { padding-top: 96px; }
  .foot-mark { margin-bottom: 40px; }
}
