/* 오피스28 AX 소개 사이트: 홈(index.html)과 기능 전체(features.html)
   흰 바탕, 로고의 남색·파랑, 얼음 톤, Pretendard. 움직임은 입력창 예시 글자와 .reveal(스크롤)만. */
:root {
  color-scheme: light;
  --ink: #0a1428;
  --navy: #1b3157;
  --blue: #2563eb;
  --blue-deep: #1d4fc4;
  --sky: #4aaef0;
  --ice-1: #f5f9ff;
  --ice-2: #e8f2fe;
  --ice-3: #cfe3fc;
  --line: #dde7f4;
  --muted: #52627c;
  --white: #fff;
  --font: Pretendard, "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --wrap: 1160px;
  --radius: 18px;
}

/* 작업 분류별 색: 옅은 바탕(--gc)과 글자·선 색(--gi) */
.g-doc { --gc: #e8f0ff; --gi: #1d4fc4; }
.g-rights { --gc: #e2f4f6; --gi: #0b7285; }
.g-cost { --gc: #fcf4d6; --gi: #7a6000; }
.g-case { --gc: #eceeff; --gi: #3b4bc8; }
.g-submit { --gc: #e3f3fc; --gi: #0a6fa8; }
.g-file { --gc: #edf2f8; --gi: #3d5a80; }
.g-law { --gc: #f4ecfc; --gi: #7a3fb8; }
.g-auto { --gc: #e5f5ee; --gi: #0c7a58; }
.g-screen { --gc: #fcebf3; --gi: #a3306f; }
.g-setup { --gc: #eef1f5; --gi: #46556e; }
.g-wip { --gc: #ffeedd; --gi: #a24b00; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
html.dlg-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 16px/1.65 var(--font);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; word-break: keep-all; overflow-wrap: break-word; }
q { quotes: "“" "”"; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.sr { position: absolute; top: 0; left: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--ice-2); color: var(--blue-deep); font-size: 12px; font-weight: 700; letter-spacing: 0; white-space: nowrap; flex: none; }
.st { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; background: #fff3e2; color: #9a5a00; font-size: 12px; font-weight: 700; line-height: 1; white-space: nowrap; flex: none; vertical-align: 2px; }

/* 작업 아이콘 칸: 작업 색 바탕에 선 아이콘 */
.gico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--gc, var(--ice-2)); color: var(--gi, var(--blue)); flex: none; }
.gico .ico { width: 22px; height: 22px; }
.gico.lg { width: 64px; height: 64px; border-radius: 18px; }
.gico.lg .ico { width: 32px; height: 32px; stroke-width: 1.6; }

/* 단추 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid var(--ice-3); border-radius: 12px;
  background: var(--white); color: var(--ink);
  font: 600 16px/1 var(--font); cursor: pointer; white-space: nowrap;
  transition: background-color .18s, border-color .18s, color .18s, transform .18s;
}
.btn:hover { border-color: var(--blue); color: var(--blue-deep); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--blue); border-color: var(--blue); color: var(--white); }
.btn.primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: var(--white); }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
.btn[aria-disabled="true"] { color: #98a6bd; border-color: var(--line); background: var(--white); cursor: not-allowed; }
.btn[aria-disabled="true"]:hover { color: #98a6bd; border-color: var(--line); }

/* 머리줄 */
.top {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  padding-top: env(safe-area-inset-top, 0px);
}
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; gap: 2px; margin-right: auto; }
.nav a { padding: 8px 12px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.nav a:hover { color: var(--ink); background: var(--ice-1); }
.nav a[aria-current="page"] { color: var(--blue-deep); font-weight: 700; }
.nav a.nav-all { position: relative; margin-left: 13px; }
.nav a.nav-all::before { content: ""; position: absolute; left: -8px; top: 50%; width: 1px; height: 16px; margin-top: -8px; background: #c3d2e6; }
.top .actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

/* 막힌 이유 안내(main.js) */
.tip {
  position: fixed; z-index: 60; pointer-events: none;
  padding: 8px 12px; border-radius: 8px;
  background: var(--ink); color: var(--white);
  font-size: 13px; line-height: 1.4; white-space: nowrap;
  opacity: 0; transform: translateY(-4px); transition: opacity .15s, transform .15s;
}
.tip.on { opacity: 1; transform: none; }

/* ───── 첫 화면 ───── */
.hero {
  position: relative; overflow: hidden; padding: 56px 0 64px;
  background: radial-gradient(60% 46% at 50% 72%, rgba(207, 227, 252, .55), rgba(255, 255, 255, 0) 70%), var(--white);
}
.hero-copy { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; text-align: center; }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--blue); }
.hero h1 { margin-top: 12px; font-size: clamp(38px, 5.6vw, 70px); line-height: 1.14; font-weight: 800; letter-spacing: -.035em; text-wrap: balance; }
.hero h1 .em { color: var(--blue); white-space: nowrap; }
.lead { margin-top: 14px; font-size: 19px; font-weight: 500; color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero .cta { justify-content: center; }

.stage { position: relative; max-width: 860px; margin: 40px auto 0; }
.floater { position: absolute; z-index: 1; height: auto; pointer-events: none; filter: drop-shadow(0 18px 24px rgba(27, 49, 87, .14)); }
.f1 { width: 128px; left: -176px; top: -18px; transform: rotate(-8deg); }
.f2 { width: 118px; right: -168px; top: -36px; transform: rotate(10deg); }
.f3 { width: 104px; left: -138px; bottom: -26px; transform: rotate(7deg); }
.f4 { width: 150px; right: -190px; bottom: -40px; transform: rotate(-5deg); }
.motion .floater { animation: float 7s ease-in-out infinite; }
.motion .f2 { animation-delay: -2s; } .motion .f3 { animation-delay: -4s; } .motion .f4 { animation-delay: -5.5s; }
@keyframes float { 50% { translate: 0 -10px; } }

.cmd {
  position: relative; z-index: 2;
  border: 1px solid var(--line); border-radius: 26px; background: var(--white);
  box-shadow: 0 40px 80px -44px rgba(27, 49, 87, .5), 0 2px 10px rgba(27, 49, 87, .06);
  padding: 14px; text-align: left;
}
.cmd-bar { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 6px 0 8px; }
.cmd-mark { width: 26px; height: 26px; }
.cmd-name { font-size: 15px; font-weight: 700; color: var(--navy); }
.cmd-pause {
  margin-left: auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; background: var(--white); color: var(--muted); cursor: pointer;
}
.cmd-pause:hover { color: var(--blue); border-color: var(--ice-3); }
.cmd-pause .ico, .vtoggle .ico { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.cmd-pause .play, .vtoggle .play { display: none; }
.cmd-pause[aria-pressed="true"] .play, .vtoggle[aria-pressed="true"] .play { display: block; }
.cmd-pause[aria-pressed="true"] .pause, .vtoggle[aria-pressed="true"] .pause { display: none; }
.cmd-input {
  display: flex; align-items: center; gap: 14px; margin-top: 8px; padding: 18px 14px 18px 22px;
  border-radius: 18px; background: var(--ice-1); border: 1px solid var(--ice-2);
}
.cmd-text { flex: 1 1 auto; min-width: 0; min-height: 1.35em; font-size: clamp(20px, 2.6vw, 28px); line-height: 1.35; font-weight: 700; letter-spacing: -.02em; }
.caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 3px; vertical-align: -.14em; background: var(--blue); }
.motion .caret { animation: blink 1s steps(1) infinite; }
.cmd.typing .caret { animation: none; }
@keyframes blink { 50% { opacity: 0; } }
.cmd-send { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: var(--white); transition: background-color .2s; }
.cmd.typing .cmd-send { background: var(--ice-3); }
.cmd-send .ico { width: 22px; height: 22px; stroke-width: 2.2; }
.cmd-out { display: flex; align-items: center; gap: 18px; padding: 18px 10px 8px 12px; transition: opacity .3s ease; }
.cmd.typing .cmd-out { opacity: .32; }
.out-body { min-width: 0; flex: 1 1 auto; }
.out-group { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--blue); }
.out-title { margin-top: 2px; font-size: 22px; line-height: 1.3; font-weight: 800; letter-spacing: -.02em; }
.out-desc { margin-top: 4px; font-size: 16px; line-height: 1.5; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; position: relative; z-index: 2; }
.tags li { padding: 5px 12px; border-radius: 999px; background: var(--ice-2); color: var(--navy); font-size: 14px; font-weight: 600; }

/* ───── 공통 섹션 ───── */
.sec { padding: 96px 0; }
.sec.tint { background: var(--ice-1); }
.sec-head { margin-bottom: 36px; }
.sec h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.25; font-weight: 800; letter-spacing: -.03em; text-wrap: balance; }
.sub { margin-top: 10px; font-size: 16px; color: var(--muted); }

/* ───── 말로 시켜 보기: 작업별 탭 ───── */
.talk { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; box-shadow: 0 30px 60px -48px rgba(27, 49, 87, .5); }
.talk-tabs { display: flex; border-bottom: 1px solid var(--line); background: var(--ice-1); overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.talk-tabs::-webkit-scrollbar { display: none; }
.talk-tabs button {
  flex: 1 0 auto; min-height: 56px; padding: 0 16px;
  border: 0; border-bottom: 2px solid transparent; background: none; cursor: pointer;
  font: 600 16px/1 var(--font); color: var(--muted); white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
}
.talk-tabs button small { min-width: 2ch; font-size: 12px; font-weight: 600; color: #8a99b3; font-variant-numeric: tabular-nums; text-align: left; }
.talk-tabs button:hover { color: var(--ink); }
.talk-tabs button[aria-selected="true"] { color: var(--blue-deep); border-bottom-color: var(--blue); background: var(--white); }
.talk-tabs button[aria-selected="true"] small { color: var(--blue); }
.talk-panel { display: flex; flex-direction: column; padding: 8px 28px 18px; }
.talk-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.talk-row q { justify-self: start; padding: 10px 16px; border-radius: 18px 18px 4px 18px; background: var(--blue); color: var(--white); font-size: 16px; font-weight: 600; line-height: 1.45; }
.talk-row b { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 16px; font-weight: 700; }
.talk-row div > span { display: block; margin-top: 2px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.talk-more {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: auto; padding: 14px 0 0;
  border: 0; background: none; cursor: pointer; font-size: 15px; font-weight: 700; color: var(--blue-deep);
}
.talk-more .ico { width: 18px; height: 18px; transition: transform .18s; }
.talk-more:hover .ico { transform: translateX(3px); }
.extras { margin-top: 16px; }
.extras-bar { display: flex; flex-wrap: wrap; gap: 10px; }
.more-pill {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 12px 6px 6px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--white); cursor: pointer;
  font-size: 15px; font-weight: 600; text-align: left; transition: border-color .15s, background-color .15s;
}
.more-pill b { font-weight: 800; color: var(--blue-deep); font-variant-numeric: tabular-nums; }
.more-pill .chev { width: 18px; height: 18px; color: var(--muted); transition: transform .2s; }
.more-pill:hover { border-color: var(--ice-3); background: var(--ice-1); }
.more-pill[aria-expanded="true"] { border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 1px var(--navy) inset; }
.more-pill[aria-expanded="true"] .chev { transform: rotate(180deg); color: var(--navy); }
.extra { margin-top: 14px; }
.motion .extra:not([hidden]) { animation: exIn .32s cubic-bezier(.2, .8, .2, 1); }
@keyframes exIn { from { opacity: 0; transform: translateY(-6px); } }
/* 저절로 하는 일: 묶음 셋 */
.ex-auto { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ex-col { padding: 18px 18px 8px; border-radius: var(--radius); background: var(--gc, #e5f5ee); }
.ex-col.g-auto, .ex-auto .ex-col { --gc: #e5f5ee; --gi: #0c7a58; }
.ex-col h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; }
.ex-col h3 .gico { width: 36px; height: 36px; border-radius: 10px; background: var(--white); }
.ex-col h3 .gico .ico { width: 20px; height: 20px; }
.ex-col h3 small { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--gi); }
.ex-col ul { margin-top: 12px; }
.ex-col li { padding: 12px 14px; margin-bottom: 10px; border-radius: 12px; background: var(--white); }
.ex-col li b { display: block; font-size: 15.5px; font-weight: 700; }
.ex-col li p { margin-top: 2px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.when { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; padding: 3px 9px 3px 7px; border-radius: 999px; background: #e5f5ee; color: #0c7a58; font-size: 12.5px; font-weight: 700; }
.when .ico { width: 14px; height: 14px; }
/* 내장 프로그램: 실제 화면 + 프로그램 타일 */
.ex-screen { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.ex-shot img { display: block; width: 100%; height: auto; }
.ex-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ex-tiles li { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.ex-tiles .gico { width: 38px; height: 38px; border-radius: 11px; }
.ex-tiles .gico .ico { width: 21px; height: 21px; }
.ex-tiles b { display: block; font-size: 15.5px; font-weight: 700; line-height: 1.35; }
.ex-tiles p { margin-top: 2px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* ───── 걸린 시간: 영상 + 시간 비교 + 숫자 띠 ───── */
.speed { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.window { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 30px 60px -44px rgba(27, 49, 87, .55); }
.window-bar { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--white); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d5deeb; }
.window-bar span { margin-left: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.pv-frame { position: relative; aspect-ratio: 16 / 9; background: var(--ink); }
.pv-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.vtoggle { position: absolute; right: 12px; bottom: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: rgba(10, 20, 40, .72); color: var(--white); }
.cases { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.case { display: flex; flex-direction: column; justify-content: center; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.case h3 { font-size: 17px; line-height: 1.35; font-weight: 800; letter-spacing: -.01em; }
.bars { display: grid; gap: 12px; margin-top: 16px; }
.bar { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.bar em { font-style: normal; font-size: 14px; font-weight: 600; color: var(--muted); }
.bar .track { height: 14px; border-radius: 999px; background: var(--ice-2); overflow: hidden; }
.bar .fill { display: block; height: 100%; width: var(--w); min-width: 14px; border-radius: 999px; background: #a9b8d2; transform-origin: left; }
.bar.ours .fill { background: var(--blue); }
.bar strong { font-size: 18px; font-weight: 800; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bar.ours em, .bar.ours strong { color: var(--blue); }
.bar .when { margin-top: 0; padding: 0; border-radius: 0; background: none; font-size: 14px; font-weight: 600; color: var(--blue-deep); }
.case-note { margin-top: 12px; font-size: 13px; color: var(--muted); }
.motion .reveal .fill { transition: transform 1.1s cubic-bezier(.2, .8, .2, 1) .25s; }
.motion .reveal.pre .fill { transform: scaleX(0); }
.figs { display: grid; grid-template-columns: repeat(var(--fcols, 4), minmax(0, 1fr)); margin-top: 40px; border-top: 1px solid var(--ice-3); }
.figs li { padding: 24px 24px 6px; border-left: 1px solid var(--ice-3); }
.figs li:nth-child(4n + 1) { border-left: 0; padding-left: 0; }
.figs.six { --fcols: 3; margin-top: 0; }
.figs.six li { padding-bottom: 24px; border-left: 1px solid var(--ice-3); padding-left: 24px; }
.figs.six li:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
.figs.six li:nth-child(n + 4) { border-top: 1px solid var(--ice-3); }
.fig-n { font-size: clamp(36px, 4vw, 50px); line-height: 1; font-weight: 800; letter-spacing: -.04em; color: var(--blue); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fig-n small { margin-left: 3px; font-size: .42em; font-weight: 700; letter-spacing: 0; }
.fig-t { margin-top: 10px; font-size: 16px; font-weight: 700; }
.fig-d { margin-top: 2px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.fig-btn { display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; border-radius: 12px; }
.fig-btn:disabled { cursor: default; }
.fig-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 13.5px; font-weight: 700; color: var(--blue-deep); }
.fig-more .ico { width: 15px; height: 15px; transition: transform .18s; }
.fig-btn:hover .fig-n { color: var(--blue-deep); }
.fig-btn:hover .fig-more .ico { transform: translateX(3px); }
.all-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 18px; font-size: 15px; font-weight: 700; color: var(--blue-deep); }
.all-link .ico { width: 18px; height: 18px; transition: transform .18s; }
.all-link:hover .ico { transform: translateX(3px); }

/* ───── 서비스 구성: 세 칸과 연결선 ───── */
.arch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(96px, 150px) minmax(0, 1.25fr) minmax(96px, 150px) minmax(0, 1fr); align-items: center; }
.node { display: grid; justify-items: center; gap: 10px; padding: 28px 18px; border-radius: 22px; border: 1px solid var(--line); background: var(--white); text-align: center; }
.n-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ice-2); color: var(--blue); }
.n-ico .ico { width: 28px; height: 28px; }
.node h3 { display: flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.node p { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.node.office { padding: 30px 20px; border: 2px solid var(--navy); background: var(--ice-1); box-shadow: 0 30px 60px -44px rgba(27, 49, 87, .55); }
.node.office .n-ico { background: var(--navy); color: var(--white); }
.parts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.parts li { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 14.5px; font-weight: 700; }
.parts .ico { width: 18px; height: 18px; color: var(--blue); }
.parts li.premium { border-style: dashed; border-color: var(--blue); background: var(--ice-2); }
.parts small { margin-left: 2px; font-size: 12px; font-weight: 600; color: var(--blue-deep); }
.link { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 0 6px; }
.l-text { font-size: 13.5px; line-height: 1.4; font-weight: 700; color: var(--navy); text-align: center; }
.l-arrow { position: relative; height: 14px; margin: 0 2px; }
.l-arrow::before { content: ""; position: absolute; left: 1px; right: 1px; top: 6px; height: 2px; border-radius: 2px; background: var(--blue); }
/* 화살촉: 두 변만 그린 네모를 돌린다. 오른쪽 = ::after, 왼쪽 = i */
.l-arrow::after, .l-arrow i { content: ""; position: absolute; top: 3px; width: 8px; height: 8px; border: solid var(--blue); border-width: 2px 2px 0 0; border-radius: 1px; }
.l-arrow::after { right: 1px; transform: rotate(45deg); }
.l-arrow i { left: 1px; transform: rotate(-135deg); }
.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.rules li { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 14px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--white); font-size: 16px; font-weight: 700; }
.rules li .ico { color: var(--blue); }
.rules li small { display: block; font-size: 13px; font-weight: 600; color: var(--muted); }

/* ───── 도입 방식 ───── */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; padding-top: 26px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.plan.main { border: 2px solid var(--blue); box-shadow: 0 24px 50px -36px rgba(37, 99, 235, .7); }
.plan-art { position: absolute; right: 16px; top: -34px; width: 116px; height: 116px; object-fit: contain; pointer-events: none; filter: drop-shadow(0 16px 18px rgba(27, 49, 87, .16)); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.plan:hover .plan-art { transform: translateY(-4px); }
.plan h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-right: 116px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.price { margin-top: 14px; font-size: 34px; line-height: 1.2; font-weight: 800; letter-spacing: -.03em; color: var(--navy); }
.price small { display: block; font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan ul { display: grid; gap: 12px; margin: 24px 0 28px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 500; }
.plan li .ico { width: 20px; height: 20px; margin-top: 2px; color: var(--blue); }
.plan .btn { margin-top: auto; }
.plan .seats { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; color: var(--navy); }
.plan.main .seats .badge { background: var(--blue); color: var(--white); }
.plans.side { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 54px; }
/* 세팅비 띠: 그림 · 금액 · 공통 안내 */
.setup { display: grid; grid-template-columns: 92px minmax(0, 1fr) minmax(0, 1.05fr); gap: 18px 28px; align-items: center; margin-top: 16px; padding: 22px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.setup-art { width: 92px; height: 92px; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(27, 49, 87, .14)); }
.setup h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.setup-copy p { margin-top: 6px; font-size: 15px; color: var(--muted); }
.setup-copy s { color: var(--muted); }
.setup-copy b { font-size: 22px; font-weight: 800; color: var(--blue); letter-spacing: -.02em; white-space: nowrap; }
.setup-copy s { white-space: nowrap; }
.notes { display: grid; gap: 8px; padding-left: 24px; border-left: 1px solid var(--line); }
.notes li { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 6px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.notes b { font-weight: 700; color: var(--navy); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 44px; counter-reset: s; }
.steps li { position: relative; padding: 22px 16px 0 0; border-top: 2px solid var(--ice-3); counter-increment: s; font-weight: 700; }
.steps li::before { content: counter(s); position: absolute; top: -14px; left: 0; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: var(--white); font-size: 13px; }
.steps li span { display: block; margin-top: 2px; font-size: 14px; font-weight: 500; color: var(--muted); }

/* ───── 문의 ───── */
.ask { padding: 96px 0; }
.ask-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); align-items: center; gap: 32px; padding: 52px 56px; border-radius: 28px; background: var(--ink); color: var(--white); overflow: hidden; }
.ask h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.25; font-weight: 800; letter-spacing: -.03em; text-wrap: balance; }
.ask .mail { display: inline-block; margin-top: 16px; font-size: clamp(18px, 2.2vw, 24px); font-weight: 700; color: var(--sky); user-select: all; overflow-wrap: anywhere; }
.ask .cta { margin-top: 24px; }
.ask .btn { border-color: rgba(255, 255, 255, .26); background: transparent; color: var(--white); }
.ask .btn:hover { border-color: var(--white); color: var(--white); }
.ask .btn.primary { background: var(--blue); border-color: var(--blue); }
.ask .btn.primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.ask .btn.ghost { border-color: transparent; color: #cfe3fc; }
.copied { min-height: 22px; margin-top: 10px; font-size: 14px; color: #b7c4dc; }
.ask-img { width: 100%; height: auto; }

/* 바닥 */
.foot { padding: 36px 0 calc(36px + env(safe-area-inset-bottom, 0px)); font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.foot img { height: 22px; width: auto; }

/* ───── 작업별 기능 전체 창 ───── */
.fdlg {
  width: min(680px, calc(100vw - 32px)); max-height: min(780px, calc(100dvh - 48px)); padding: 0;
  border: 0; border-radius: 22px; background: var(--white); color: var(--ink);
  box-shadow: 0 40px 90px -30px rgba(10, 20, 40, .55);
  overflow: hidden; flex-direction: column;
}
.fdlg[open] { display: flex; }
.fdlg::backdrop { background: rgba(10, 20, 40, .5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.motion .fdlg[open] { animation: dlgIn .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(14px) scale(.985); } }
.fdlg-head { display: flex; align-items: center; gap: 14px; padding: 20px 18px 18px 24px; border-bottom: 1px solid var(--line); }
.fdlg-head .gico { width: 48px; height: 48px; border-radius: 14px; }
.fdlg-head .gico .ico { width: 26px; height: 26px; }
.fdlg-t { flex: 1 1 auto; min-width: 0; }
.fdlg-t h2 { font-size: 21px; line-height: 1.3; font-weight: 800; letter-spacing: -.02em; }
.fdlg-t h2 .n { font-size: 15px; font-weight: 700; color: var(--blue); }
.fdlg-t p { margin-top: 2px; font-size: 14.5px; color: var(--muted); }
.fdlg-x { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 0; border-radius: 12px; background: none; color: var(--muted); cursor: pointer; }
.fdlg-x:hover { background: var(--ice-1); color: var(--ink); }
.fdlg-list { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 6px 24px 10px; }
.fdlg-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.fdlg-list li:last-child { border-bottom: 0; }
.fl-t { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.fl-t b { font-size: 16px; font-weight: 700; }
.fl-t .when { margin-top: 0; }
.fdlg-list p { margin-top: 2px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.fdlg-list q { display: inline-block; margin-top: 8px; padding: 6px 12px; border-radius: 14px 14px 4px 14px; background: var(--ice-2); color: var(--blue-deep); font-size: 14px; font-weight: 600; line-height: 1.4; }
.fdlg-foot { display: flex; justify-content: flex-end; padding: 12px 18px; border-top: 1px solid var(--line); background: var(--ice-1); }

/* 유형 구성 창(types-modal.js) */
.tdlg .fdlg-head .t-ico { background: var(--ice-2); color: var(--blue); }
.t-body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 18px 24px 22px; }
.t-bar { display: flex; gap: 3px; height: 12px; margin-bottom: 18px; border-radius: 999px; overflow: hidden; }
.t-bar span { display: block; min-width: 6px; }
.t-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.t-groups > li { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.t-groups > li:has(.chips) { grid-column: 1 / -1; }
.tg-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.tg-head i { width: 10px; height: 10px; border-radius: 3px; background: var(--c, var(--line)); flex: none; }
.tg-head b { font-size: 16px; font-weight: 700; }
.tg-head small { font-size: 13px; font-weight: 600; color: var(--muted); }
.tg-n { margin-left: auto; font-size: 18px; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.t-groups > li.rest { border-style: dashed; background: var(--ice-1); }
.t-groups > li.rest b { color: var(--muted); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chips li { padding: 5px 11px; border-radius: 999px; background: var(--ice-1); border: 1px solid var(--ice-2); font-size: 13.5px; font-weight: 600; }
.t-covers { margin-top: 18px; }
.t-covers h3 { font-size: 15px; font-weight: 800; }
.t-note { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--ice-1); font-size: 14px; font-weight: 600; color: var(--navy); }

/* ───── 기능 전체 쪽(features.html) ───── */
.page-head { padding: 56px 0 8px; }
.page-head h1 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.18; font-weight: 800; letter-spacing: -.035em; }
.page-head .sub { font-size: 17px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.jump a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 14px 4px 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); font-size: 15px; font-weight: 600; }
.jump a .gico { width: 34px; height: 34px; border-radius: 9px; }
.jump a .gico .ico { width: 19px; height: 19px; }
.jump a small { font-size: 13px; font-weight: 700; color: var(--gi); font-variant-numeric: tabular-nums; }
.jump a:hover { border-color: var(--ice-3); background: var(--ice-1); }

.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: -12px 0 24px; font-size: 14px; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.legend .ico { width: 18px; height: 18px; color: var(--navy); }
.h-touch { display: none; }
@media (hover: none), (pointer: coarse) { .h-mouse { display: none; } .h-touch { display: inline; } }

.fmap { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 14px; align-items: start; }
.fcol { display: grid; gap: 14px; align-content: start; min-width: 0; }
.grp { position: relative; padding: 14px 12px 10px; border-radius: 16px; background: var(--gc); scroll-margin-top: 92px; }
.g-head { margin: 0; }
.g-title, .g-toggle { display: flex; align-items: center; gap: 10px; width: 100%; padding: 0 4px 10px; font-size: 16px; font-weight: 800; color: var(--ink); text-align: left; }
.g-toggle { min-height: 56px; padding: 4px; border: 0; background: none; cursor: pointer; }
.grp .gico { width: 36px; height: 36px; border-radius: 10px; background: var(--white); }
.grp .gico .ico { width: 20px; height: 20px; }
.g-name { flex: 1 1 auto; min-width: 0; }
.g-kind { display: inline-flex; color: var(--gi); }
.g-kind .ico { width: 16px; height: 16px; }
.g-count { font-size: 13px; font-weight: 700; color: var(--gi); font-variant-numeric: tabular-nums; }
.g-toggle .chev { width: 20px; height: 20px; color: var(--muted); transition: transform .2s; }
.g-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.g-list { display: grid; gap: 2px; }
.fi {
  display: flex; align-items: center; gap: 6px; width: 100%; min-height: 30px; padding: 4px 8px;
  border: 0; border-radius: 8px; background: transparent;
  font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--ink); text-align: left; cursor: help;
}
.fi:hover, .fi.on { background: rgba(255, 255, 255, .86); }
.fi .fi-t { flex: 1 1 auto; min-width: 0; }
.mtip {
  position: fixed; z-index: 70; max-width: min(340px, calc(100vw - 24px));
  padding: 12px 14px; border-radius: 12px; background: var(--ink); color: var(--white);
  font-size: 14px; line-height: 1.5; box-shadow: 0 16px 36px -12px rgba(10, 20, 40, .5); pointer-events: none;
}
.mtip b { display: block; font-size: 15px; font-weight: 700; }
.mtip .tx { display: block; margin-top: 2px; color: #d6e0f0; }
.mtip .ex { display: block; margin-top: 6px; color: var(--sky); font-weight: 600; }
.back { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }

/* 스크롤 등장: 화면 아래에서 28% 안쪽까지 들어온 뒤 시작한다(main.js) */
.motion .reveal.pre { opacity: 0; transform: translateY(18px); }
.motion .reveal { transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }

/* ───── 넓은 화면이 좁아질 때 ───── */
@media (max-width: 1240px) { .floater { display: none; } }
@media (max-width: 1060px) {
  .nav { display: none; }
  .arch { grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1.3fr) 92px minmax(0, 1fr); }
  .l-text { font-size: 12.5px; }
}
@media (max-width: 1020px) {
  .speed { grid-template-columns: minmax(0, 1fr); }
  .cases { grid-template-rows: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figs { --fcols: 2; }
  .figs li { padding: 22px 20px 18px; }
  .figs li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .figs li:nth-child(n + 3) { border-top: 1px solid var(--ice-3); }
  .figs.six { --fcols: 2; }
  .figs.six li { padding: 22px 20px; border-left: 1px solid var(--ice-3); border-top: 0; }
  .figs.six li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .figs.six li:nth-child(n + 3) { border-top: 1px solid var(--ice-3); }
  .plans { gap: 12px; }
  .plan { padding: 26px 20px; }
  .plan-art { width: 92px; height: 92px; top: -28px; right: 10px; }
  .plan h3 { padding-right: 84px; font-size: 20px; }
  .price { font-size: 30px; }
  .setup { grid-template-columns: 80px minmax(0, 1fr); padding: 22px 20px; }
  .setup-art { width: 80px; height: 80px; }
  .notes { grid-column: 1 / -1; padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .ask-card { grid-template-columns: minmax(0, 1fr) minmax(0, 220px); gap: 20px; padding: 40px 32px; }
  .ex-auto { grid-template-columns: minmax(0, 1fr); }
  .ex-screen { grid-template-columns: minmax(0, 1fr); }
}
/* 서비스 구성은 세로로 */
@media (max-width: 860px) {
  .arch { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; }
  .link { flex-direction: row; align-items: center; justify-content: center; gap: 12px; min-height: 76px; padding: 6px 0; }
  .link .l-text { order: 2; flex: 0 1 auto; text-align: left; font-size: 13.5px; }
  .l-arrow { order: 1; flex: none; width: 14px; height: 56px; margin: 0; }
  .l-arrow::before { left: 6px; right: auto; top: 1px; bottom: 1px; width: 2px; height: auto; }
  .l-arrow::after, .l-arrow i { left: 3px; right: auto; }
  .l-arrow::after { top: auto; bottom: 1px; transform: rotate(135deg); }
  .l-arrow i { top: 1px; transform: rotate(-45deg); }
  .rules { grid-template-columns: minmax(0, 1fr); }
  .node { padding: 22px 18px; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; gap: 40px; padding-top: 30px; }
  .plans:not(.side) { gap: 12px; }
  .plans.side { grid-template-columns: minmax(0, 1fr); padding-top: 60px; }
  .setup { max-width: 560px; margin: 16px auto 0; }
}

/* ───── 터치 화면 ───── */
@media (pointer: coarse) {
  .btn.sm { min-height: 44px; }
  .fi { min-height: 40px; cursor: pointer; }
  .cmd-pause { width: 44px; height: 44px; }
}

/* ───── 폰 ───── */
@media (max-width: 720px) {
  .sec, .ask { padding: 64px 0; }
  .sec-head { margin-bottom: 24px; }
  .hero { padding: 28px 0 40px; }
  .lead { font-size: 17px; }
  .cta { margin-top: 20px; }
  .stage { margin-top: 28px; }
  .cmd { padding: 10px; border-radius: 22px; }
  .cmd-input { padding: 14px 10px 14px 16px; gap: 10px; }
  .cmd-text { min-height: 2.7em; display: flex; flex-wrap: wrap; align-items: center; align-content: center; }
  .cmd-send { width: 40px; height: 40px; }
  .cmd-out { gap: 12px; padding: 14px 6px 6px; align-items: flex-start; }
  .gico.lg { width: 48px; height: 48px; border-radius: 14px; }
  .gico.lg .ico { width: 26px; height: 26px; }
  .out-title { font-size: 19px; }
  .out-desc { font-size: 15px; }
  .tags { margin-top: 20px; }

  .talk { margin: 0 -8px; border-radius: 16px; }
  .talk-tabs button { flex: none; min-height: 52px; padding: 0 14px; font-size: 15px; }
  .talk-panel { padding: 4px 16px 14px; }
  .talk-row { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 14px 0; }
  .talk-row q { font-size: 15px; padding: 9px 14px; }
  .extras-bar { display: grid; grid-template-columns: minmax(0, 1fr); }
  .more-pill { width: 100%; }
  .more-pill .chev { margin-left: auto; }
  .ex-col { padding: 14px 12px 4px; }
  .ex-tiles { grid-template-columns: minmax(0, 1fr); }

  .window-bar { height: 32px; }
  .cases { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .case { padding: 18px; }
  .bar { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
  .bar em { grid-column: 1; grid-row: 1; }
  .bar strong { grid-column: 2; grid-row: 1; font-size: 17px; }
  .bar .track, .bar .when { grid-column: 1 / -1; grid-row: 2; }
  .figs { margin-top: 28px; }
  .figs li, .figs.six li { padding: 18px 14px 16px; }
  .figs li:nth-child(odd), .figs.six li:nth-child(odd) { padding-left: 0; }
  .fig-n { font-size: 34px; }
  .fig-t { font-size: 15px; margin-top: 8px; }
  .fig-d { font-size: 13px; }

  .rules li { min-height: 56px; padding: 12px 16px; font-size: 15px; }

  .plan { padding: 24px 20px; }
  .plan-art { width: 84px; height: 84px; top: -26px; }
  .plan h3 { padding-right: 80px; }
  .price { font-size: 28px; }
  .plan ul { gap: 8px; margin: 18px 0 22px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; margin-top: 36px; }

  .ask-card { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 30px 22px 26px; border-radius: 22px; }
  .ask-img { grid-row: 1; justify-self: start; width: 132px; margin: 0 0 10px -6px; }
  .ask .cta .btn { flex: 1 1 140px; }

  .fdlg { width: 100vw; max-width: 100vw; max-height: 88dvh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
  .fdlg-head { padding: 16px 12px 14px 18px; }
  .t-body { padding: 14px 18px calc(18px + env(safe-area-inset-bottom, 0px)); }
  .t-groups { grid-template-columns: minmax(0, 1fr); }
  .fig-more { margin-top: 6px; font-size: 13px; }
  .fdlg-list { padding: 4px 18px 8px; }
  .fdlg-foot { padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px)); }
  .motion .fdlg[open] { animation: sheetIn .3s cubic-bezier(.2, .8, .2, 1); }

  .page-head { padding: 32px 0 0; }
  .legend { margin: -6px 0 16px; }
  .fmap, .fcol { gap: 8px; }
  .grp { padding: 6px 10px; }
  .grp.closed .g-list { display: none; }
  .grp:not(.closed) .g-list { padding-bottom: 8px; }
}
@keyframes sheetIn { from { transform: translateY(40px); opacity: .4; } }
@media (max-width: 480px) {
  .top .wrap { gap: 10px; height: 64px; }
  .brand img { height: 24px; }
  .top .actions .btn { padding: 0 12px; font-size: 14px; }
  .cta .btn { flex: 1 1 140px; }
  .ask .cta .btn { flex: 1 1 100%; }
  .jump a { flex: 1 1 calc(50% - 4px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
