/* 웍스AI Desk 랜딩 — "먹과 유자(Ink & Citron)" · 밝은 화면 전용
   앱과 같은 색·같은 온도. 시그니처=페이지 곳곳에 손으로 만든 앱 화면 조각(HTML)과, 그걸 잇는 유자색 실. */

:root {
  color-scheme: light;

  --paper: #fbfaf6;
  --paper-2: #f7f5ee;
  --surface: #ffffff;
  --surface-2: #f2f0e7;
  --ink: #1b1c18;
  --ink-2: #63665c;
  --ink-3: #93968a;
  --line: #e6e3d8;
  --line-strong: #d6d2c4;

  --accent: #5f6d14; /* 글자로 쓰는 유자 — 흰 바탕에서 읽혀요 */
  --accent-deep: #3f4a06;
  --accent-bright: #c7d93b; /* 형광펜 유자 */
  --accent-tint: #eef3d2;
  --accent-tint-2: #f7fae7;
  --on-accent: #ffffff;
  --seal: #b93f2b;
  --seal-tint: #fbeeea;
  --wrks: #4f5ff2;

  --radius: 18px;
  --radius-sm: 11px;
  --shadow: 0 1px 2px rgba(28, 29, 26, 0.05), 0 10px 30px rgba(28, 29, 26, 0.07);
  --shadow-pop: 0 6px 18px rgba(28, 29, 26, 0.08), 0 28px 60px rgba(28, 29, 26, 0.12);
  --shadow-soft: 0 1px 2px rgba(28, 29, 26, 0.04), 0 6px 18px rgba(28, 29, 26, 0.05);

  --display: 'Wanted Sans Variable', 'Pretendard Variable', Pretendard, -apple-system, system-ui, sans-serif;
  --body: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui,
    'Apple SD Gothic Neo', 'Hiragino Sans', 'Noto Sans SC', sans-serif;
  --mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, monospace;

  --gut: clamp(20px, 5vw, 64px);
  --maxw: 1160px;
}

* {
  box-sizing: border-box;
  margin: 0;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.68;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 종이 결 — 아주 옅은 가로 결로 화면을 종이처럼 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: repeating-linear-gradient(to bottom, rgba(28, 29, 26, 0.013) 0 1px, transparent 1px 5px);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 999px;
}
.skip:focus {
  left: 16px;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gut);
  position: relative;
  z-index: 1;
}

/* ─────────────────────────── nav ─────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 20px;
  /* 띠는 화면 끝까지, 안의 내용만 본문과 같은 칸에. 100vw 는 스크롤바만큼 어긋나니
     쓰지 않는다 — 100% 는 body 폭이라 `.wrap` 과 정확히 같은 자리에서 시작한다. */
  padding: 13px max(var(--gut), calc((100% - var(--maxw)) / 2 + var(--gut)));
  background: color-mix(in srgb, var(--paper) 84%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, background 0.25s;
}
.nav.stuck {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.03em;
}
.nav-brand .mark {
  display: inline-flex;
  filter: drop-shadow(0 2px 6px rgba(79, 95, 242, 0.28));
}
.nav-links {
  display: flex;
  gap: 26px;
  margin-inline: auto;
  font-size: 15px;
  color: var(--ink-2);
}
.nav-links a {
  position: relative;
  padding-block: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}
/* 지금 보고 있는 곳 — 홈은 스크롤 위치(app.js wireNav), 하위 페이지는 aria-current */
.nav-links a.on,
.nav-links a[aria-current='page'] {
  color: var(--ink);
  font-weight: 700;
}
.nav-links a.on::after,
.nav-links a[aria-current='page']::after {
  transform: scaleX(1);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang {
  position: relative;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-2);
  transition: background 0.15s, color 0.15s;
}
.lang-btn:hover {
  background: var(--surface-2);
  color: var(--ink);
}
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  list-style: none;
  margin: 0;
  padding: 6px;
  min-width: 148px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-pop);
}
.lang-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 14.5px;
}
.lang-menu button:hover {
  background: var(--surface-2);
}
.lang-menu button[aria-selected='true'] {
  color: var(--accent);
  font-weight: 600;
}

/* ─────────────────────────── buttons ─────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.015em;
  transition: transform 0.12s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.2s, background 0.2s;
  will-change: transform;
}
.btn:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 8px 22px rgba(28, 29, 26, 0.18);
}
.btn:active {
  transform: translateY(0);
}
.btn-sm {
  padding: 8px 16px;
  font-size: 14.5px;
}
.btn-lg {
  padding: 15px 28px;
  font-size: 17px;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.btn-ghost:hover {
  background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--ink-3), 0 8px 22px rgba(28, 29, 26, 0.08);
}
.btn-citron {
  background: var(--accent-bright);
  color: var(--accent-deep);
}
.btn-citron:hover {
  box-shadow: 0 10px 30px rgba(159, 178, 40, 0.42);
}

/* ─────────────────────────── type ─────────────────────────── */
.h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 4.9vw, 55px);
  line-height: 1.14;
  letter-spacing: -0.042em;
  margin-bottom: 22px;
  word-break: keep-all;
  overflow-wrap: break-word;
}
/* 일본어·중국어는 글자 하나가 라틴/한글보다 넓어요. 같은 크기로 두면 히어로 한 줄이
   칸을 넘어 앱 창까지 파고들어요 — 크기를 줄이고, 자간도 CJK 에 맞게 덜 조여요. */
:root[data-locale='ja'] .h1,
:root[data-locale='zh'] .h1 {
  font-size: clamp(27px, 3.5vw, 43px);
  letter-spacing: -0.018em;
}
/* keep-all 은 한글용이에요. CJK 에 쓰면 문장 하나가 통째로 안 쪼개져
   칸을 넘거나 엉뚱한 자리에서 잘려요. 두 언어는 원래 방식대로 흘려요.
   ⚠ 예전엔 lede 두 곳만 풀어 뒀는데, **제목(h2)·카드 본문·알약**은 그대로였어요.
      일본어 제목이 조금만 길어지면 한 줄이 통째로 안 끊겨 좁은 화면에서 섹션 밖으로
      비어져 나가요(실측: ja 390px 에서 390px 칸에 476px). 글자를 그리는 자리는 다 풀어요. */
:root[data-locale='ja'] .lede,
:root[data-locale='zh'] .lede,
:root[data-locale='ja'] .sec-lede,
:root[data-locale='zh'] .sec-lede,
:root[data-locale='ja'] .h2,
:root[data-locale='zh'] .h2,
:root[data-locale='ja'] .h3,
:root[data-locale='zh'] .h3,
:root[data-locale='ja'] .det p,
:root[data-locale='zh'] .det p,
:root[data-locale='ja'] .chip,
:root[data-locale='zh'] .chip,
:root[data-locale='ja'] .conn-note,
:root[data-locale='zh'] .conn-note {
  word-break: normal;
  line-break: strict;
}
.h1-em {
  position: relative;
  display: inline-block;
}
.h1-em::after {
  content: '';
  position: absolute;
  left: -0.02em;
  right: -0.02em;
  bottom: 0.1em;
  height: 0.26em;
  background: var(--accent-bright);
  opacity: 0.5;
  border-radius: 2px;
  z-index: -1;
  transform-origin: left;
  animation: draw 0.75s 0.5s cubic-bezier(0.2, 0.75, 0.25, 1) backwards;
}
@keyframes draw {
  from {
    transform: scaleX(0);
  }
}

.h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.26;
  letter-spacing: -0.035em;
  word-break: keep-all;
}
.h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18.5px;
  line-height: 1.4;
  letter-spacing: -0.028em;
}
/* 라틴 로케일에서만 트래킹·대문자. CJK는 자간을 벌리면 읽기 나빠져요. */
.eyebrow {
  font-family: var(--display);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--accent);
  margin-bottom: 18px;
}
:root[data-locale='en'] .eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.lede {
  word-break: keep-all;
  font-size: clamp(16.5px, 1.55vw, 19px);
  color: var(--ink-2);
  max-width: 34em;
  margin-bottom: 30px;
}
.sec-lede {
  word-break: keep-all;
  font-size: 17px;
  color: var(--ink-2);
  max-width: 35em;
  margin: 14px auto 46px;
  text-align: center;
}
.sec-lede.left {
  margin-inline: 0;
  text-align: left;
}
.fineprint {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--ink-3);
}

.sec {
  padding-block: clamp(72px, 10vw, 128px);
}
.sec > .h2,
.band .h2 {
  text-align: center;
}
.split .h2,
.split .sec-lede {
  text-align: left;
}

.band {
  padding-block: clamp(72px, 10vw, 128px);
  background: var(--surface-2);
  border-block: 1px solid var(--line);
  position: relative;
  z-index: 1;
}
/* 유자빛 밴드 — 안심 설계처럼 톤을 바꿔야 하는 구간에 */
.band-citron {
  background: linear-gradient(180deg, var(--accent-tint-2), var(--paper-2));
  border-color: color-mix(in srgb, var(--accent) 18%, var(--line));
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cta-row.center {
  justify-content: center;
}

/* ─────────────────────────── hero ─────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(30px, 4.4vw, 60px) var(--gut) clamp(40px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 4.6vw, 62px);
  align-items: center;
}
/* 히어로 뒤 옅은 유자 기운 */
.hero::before {
  content: '';
  position: absolute;
  right: -10%;
  top: -22%;
  width: 780px;
  height: 620px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(199, 217, 59, 0.2), transparent 66%);
}
.hero-copy {
  animation: rise 0.7s cubic-bezier(0.2, 0.75, 0.25, 1) backwards;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
.hero-stage {
  animation: rise 0.8s 0.15s cubic-bezier(0.2, 0.75, 0.25, 1) backwards;
}
.stage-cap {
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-3);
}

/* 열어보는 파일 형식 칩 */
.fmts {
  margin-top: 26px;
}
.fmts-lbl {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.fmt-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.fmt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px 5px 8px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}
.fmt i {
  width: 7px;
  height: 9px;
  border-radius: 1.5px;
  background: var(--line-strong);
}
.fmt[data-k='x'] i {
  background: #3f9169;
}
.fmt[data-k='p'] i {
  background: #c9603f;
}
.fmt[data-k='w'] i {
  background: #4a6bd6;
}
.fmt[data-k='f'] i {
  background: #b93f2b;
}
.fmt[data-k='h'] i {
  background: #2f7fbf;
}
.fmt[data-k='n'] i {
  background: var(--ink-3);
}

/* ───────────────────── 앱 창(히어로 시그니처) ───────────────────── */
.appwin {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
}
.appwin-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: linear-gradient(180deg, var(--paper-2), var(--surface-2));
  border-bottom: 1px solid var(--line);
}
.wl-dots {
  display: inline-flex;
  gap: 6px;
}
.wl-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}
.wl-dots i:nth-child(1) {
  background: #e9a19a;
}
.wl-dots i:nth-child(2) {
  background: #ecc98a;
}
.wl-dots i:nth-child(3) {
  background: #a8cf94;
}
.appwin-title {
  font-size: 12.5px;
  color: var(--ink-3);
  font-weight: 500;
  margin-inline: auto;
}
.appwin-body {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
}
.appwin-rail {
  border-right: 1px solid var(--line);
  background: var(--paper-2);
  padding: 12px 0;
  display: grid;
  gap: 10px;
  justify-items: center;
  align-content: start;
}
.rail-ico {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: var(--ink-3);
}
.rail-ico.on {
  background: var(--accent-tint);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent);
}
.rail-sep {
  width: 20px;
  height: 1px;
  background: var(--line);
}
.appwin-main {
  padding: 16px 18px 4px;
  min-width: 0;
}
.appwin-foot {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  border-top: 1px solid var(--line);
  background: var(--paper-2);
}
.fauxinput {
  flex: 1;
  min-width: 0;
  height: 34px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: var(--ink-3);
  font-size: 13.5px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.faux-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--ink-3);
  background: var(--surface);
  border: 1px solid var(--line);
  flex: none;
}

/* ─────────────────── 시그니처: 작업 흐름 ─────────────────── */
/* 단계가 흘러들어와도 창이 들썩이지 않게 높이를 미리 잡아 둬요 */
.worklog-live {
  min-height: 384px;
}
.wl-said {
  background: var(--ink);
  color: var(--paper);
  border-radius: 14px 14px 14px 5px;
  padding: 12px 15px;
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 20px;
  min-height: 3.1em;
}
.wl-caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  vertical-align: -0.16em;
  background: var(--accent-bright);
  margin-left: 2px;
  animation: blink 1.05s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.wl-said.done .wl-caret {
  display: none;
}

/* the thread */
.thread {
  list-style: none;
  margin: 0;
  padding: 0 0 0 24px;
  position: relative;
}
.thread::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-bright), color-mix(in srgb, var(--accent-bright) 25%, transparent));
  border-radius: 2px;
}
.thread > li {
  position: relative;
  padding-block: 7px;
  font-size: 14.5px;
  color: var(--ink-2);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.thread > li::before {
  content: '';
  position: absolute;
  left: -23px;
  top: 15px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent-bright);
}
.thread > li.now::before {
  background: var(--accent-bright);
  box-shadow: 0 0 0 0 rgba(199, 217, 59, 0.6);
  animation: pulse 1.4s infinite;
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(199, 217, 59, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(199, 217, 59, 0);
  }
}
.thread > li .meta {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  white-space: nowrap;
}
.step-in {
  animation: stepin 0.4s cubic-bezier(0.2, 0.75, 0.25, 1) backwards;
}
@keyframes stepin {
  from {
    opacity: 0;
    transform: translateX(-6px);
  }
}

.artifact {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 13px;
  background: var(--accent-tint);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  color: var(--accent);
  animation: land 0.5s cubic-bezier(0.2, 0.9, 0.25, 1) backwards;
}
@keyframes land {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
}
.artifact-name {
  font-weight: 650;
  font-size: 14.5px;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.artifact-open {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  flex: none;
}

/* ─────────────────────────── versus ─────────────────────────── */
.versus {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.5vw, 28px);
  max-width: 940px;
  margin: 0 auto;
}
.vs-col {
  padding: 22px 24px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
}
.vs-old {
  color: var(--ink-2);
}
.vs-new {
  background: var(--surface);
  border-color: color-mix(in srgb, var(--accent) 32%, var(--line));
  box-shadow: var(--shadow);
}
.vs-tag {
  font-family: var(--display);
  font-weight: 750;
  font-size: 15px;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.vs-new .vs-tag {
  color: var(--accent);
}
.vs-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
  font-size: 15.5px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.vs-list li {
  position: relative;
  padding-left: 24px;
  line-height: 1.55;
}
.vs-old .vs-list li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 0.66em;
  width: 11px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.55;
}
.vs-new .vs-list li {
  color: var(--ink);
}
.vs-new .vs-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.42em;
  width: 7px;
  height: 12px;
  border-right: 2.2px solid var(--accent);
  border-bottom: 2.2px solid var(--accent);
  transform: rotate(42deg);
}

/* 두 방식을 그림으로 — 왼쪽은 올리는 창, 오른쪽은 연결한 폴더 */
.vs-viz {
  height: 168px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 14px;
  display: grid;
  align-content: center;
  gap: 10px;
  overflow: hidden;
  position: relative;
}
.vs-old .vs-viz {
  background: var(--paper-2);
}
.vs-new .vs-viz {
  background: linear-gradient(180deg, var(--accent-tint-2), var(--surface));
  border-color: color-mix(in srgb, var(--accent) 22%, var(--line));
}
.drop {
  border: 1.5px dashed var(--line-strong);
  border-radius: 11px;
  padding: 12px;
  display: grid;
  gap: 8px;
  justify-items: center;
  color: var(--ink-3);
  font-size: 12.5px;
}
.filerow {
  display: flex;
  gap: 6px;
}
.filechip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 7px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-2);
}
.filechip i {
  width: 6px;
  height: 8px;
  border-radius: 1.5px;
  background: var(--line-strong);
}
.upbar {
  height: 5px;
  border-radius: 3px;
  background: var(--surface-2);
  overflow: hidden;
  border: 1px solid var(--line);
}
.upbar span {
  display: block;
  height: 100%;
  width: 46%;
  background: var(--ink-3);
  border-radius: 3px;
}
.foldercard {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border-radius: 11px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.foldercard .fc-name {
  font-size: 13.5px;
  font-weight: 600;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fc-count {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  flex: none;
}
.fc-ico {
  color: var(--accent);
  flex: none;
  display: inline-flex;
}
.linkline {
  height: 26px;
  position: relative;
  display: grid;
  place-items: center;
}
.linkline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--accent) 55%, transparent), var(--accent-bright));
  border-radius: 2px;
}
.linkline em {
  position: relative;
  font-style: normal;
  font-size: 10.5px;
  font-family: var(--mono);
  color: var(--accent);
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  border-radius: 999px;
  padding: 1px 8px;
}

/* ─────────────────────────── capability cards ─────────────────────────── */
/* 5장이라 3+2로 떨어져요. 6열 위에 2칸씩 두면 마지막 줄도 가지런히 채워져요. */
.cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(14px, 2vw, 22px);
}
.card {
  grid-column: span 2;
}
.card:nth-last-child(2):nth-child(4),
.card:last-child:nth-child(5) {
  grid-column: span 3;
}
@media (max-width: 1020px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .card,
  .card:nth-last-child(2):nth-child(4),
  .card:last-child:nth-child(5) {
    grid-column: span 1;
  }
  .card:last-child:nth-child(odd) {
    grid-column: span 2;
  }
}
@media (max-width: 620px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .card,
  .card:last-child:nth-child(odd) {
    grid-column: span 1;
  }
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.22s, border-color 0.22s;
}
.card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
  box-shadow: var(--shadow);
}
.card-pad {
  padding-inline: 10px;
}
.card-t {
  font-family: var(--display);
  font-weight: 750;
  font-size: 19px;
  letter-spacing: -0.03em;
  padding-inline: 10px;
}
.card-lbl {
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 8px;
}
:root[data-locale='en'] .card-lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.says {
  display: grid;
  gap: 8px;
}
.say {
  background: var(--surface-2);
  border-radius: 12px 12px 12px 4px;
  padding: 10px 13px;
  font-size: 14.8px;
  line-height: 1.5;
  color: var(--ink);
}
.got {
  margin: auto 10px 0;
  padding-top: 15px;
  border-top: 1px dashed var(--line-strong);
  font-size: 14.8px;
  color: var(--accent);
  font-weight: 600;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.got::before {
  content: '→';
  font-family: var(--mono);
  opacity: 0.7;
}

/* ── 카드 섬네일 — 시키면 무슨 일이 벌어지는지 한 장으로 ── */
.thumb {
  position: relative;
  height: 150px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: linear-gradient(170deg, var(--paper-2), var(--surface) 62%);
  overflow: hidden;
  display: grid;
  align-content: center;
  padding: 16px;
  flex: none;
}
.card:hover .thumb {
  border-color: color-mix(in srgb, var(--accent) 24%, var(--line));
}
/* 뼈대 막대 — 글자 대신 쓰는 회색 줄 */
.sk {
  height: 5px;
  border-radius: 3px;
  background: var(--line-strong);
  opacity: 0.65;
}
.sk.lit {
  background: var(--accent-bright);
  opacity: 1;
}
.sk.dim {
  opacity: 0.4;
}
.thumb-arrow {
  color: var(--ink-3);
  display: grid;
  place-items: center;
}
.minipage {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 7px;
  display: grid;
  gap: 5px;
  align-content: start;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.minipage .tag {
  position: absolute;
  right: -1px;
  top: -8px;
  font-family: var(--mono);
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--paper);
  letter-spacing: 0.04em;
}
.minipage.hi {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  box-shadow: 0 6px 16px rgba(159, 178, 40, 0.22);
}
.minipage.hi .tag {
  background: var(--accent);
}

/* 읽고 요약하기 */
.t-sum {
  grid-template-columns: 72px 26px minmax(0, 1fr);
  align-items: center;
  gap: 4px;
}
.t-sum .minipage {
  height: 104px;
}
.t-sum .bullets {
  display: grid;
  gap: 10px;
}
.t-sum .bullets div {
  display: flex;
  align-items: center;
  gap: 7px;
}
.t-sum .bullets b {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.t-sum .bullets .sk {
  flex: 1;
}

/* 여러 파일 합치기 */
.t-merge {
  grid-template-columns: minmax(0, 1fr) 28px 74px;
  align-items: center;
  gap: 4px;
}
.t-merge .stack {
  display: grid;
  gap: 7px;
}
.t-merge .filechip {
  width: fit-content;
}
.t-merge .filechip:nth-child(2) {
  margin-left: 12px;
}
.t-merge .filechip:nth-child(3) {
  margin-left: 24px;
}
.t-merge .minipage {
  height: 100px;
}

/* 폴더 정리 */
.t-tidy {
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
  align-items: center;
  gap: 4px;
}
.scatter {
  position: relative;
  height: 104px;
}
.scatter i {
  position: absolute;
  width: 15px;
  height: 19px;
  border-radius: 3px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
}
.tidyrow {
  display: grid;
  gap: 9px;
}
.tidyrow div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.tidyrow svg {
  color: var(--accent);
  flex: none;
}
.tidyrow .sk {
  flex: 1;
}

/* 파일 찾기 */
.t-find {
  gap: 10px;
  align-content: center;
}
.searchbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1.5px solid color-mix(in srgb, var(--accent) 38%, var(--line));
  box-shadow: 0 0 0 3px rgba(199, 217, 59, 0.18);
  color: var(--ink-3);
}
.searchbar .sk {
  flex: 1;
  max-width: 96px;
}
.hits {
  display: grid;
  gap: 7px;
}
.hits div {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.hits .sk:first-of-type {
  width: 26%;
}
.hits .sk.lit {
  width: 30%;
}
.hits .sk:last-of-type {
  flex: 1;
}
.hits div:nth-child(3) {
  opacity: 0.5;
}

/* 바꾸고 번역하기 */
.t-conv {
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
  align-items: center;
  gap: 4px;
}
.t-conv .minipage {
  height: 104px;
}
.t-conv .minipage .tag {
  left: 6px;
  right: auto;
}

/* ─────────────────────────── safety ─────────────────────────── */
.safe-grid {
  margin: 46px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
}
.safe-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px 22px;
  display: grid;
  gap: 8px;
  align-content: start;
}
.safe-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-tint);
  color: var(--accent);
  margin-bottom: 6px;
}
.safe-item p {
  color: var(--ink-2);
  font-size: 15.5px;
  word-break: keep-all;
}
.safe-seal .safe-ico {
  background: var(--seal-tint);
  color: var(--seal);
}

.safe-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}
.safe-split .h2,
.safe-split .eyebrow {
  text-align: left;
}

/* 승인 카드 — 되돌리기 어려운 일은 이렇게 물어봐요 */
.approve {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
}
.approve-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--seal-tint);
  color: var(--seal);
  font-size: 12.5px;
  font-weight: 650;
  border-bottom: 1px solid color-mix(in srgb, var(--seal) 16%, transparent);
}
.approve-body {
  padding: 18px 18px 16px;
  display: grid;
  gap: 13px;
}
.approve-q {
  font-family: var(--display);
  font-weight: 750;
  font-size: 17px;
  letter-spacing: -0.028em;
}
.approve-file {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-2);
}
.approve-file b {
  font-weight: 600;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.approve-btns {
  display: flex;
  gap: 8px;
  margin-top: 2px;
}
.approve-btns span {
  flex: 1;
  text-align: center;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}
.approve-btns .yes {
  background: var(--ink);
  color: var(--paper);
}
.approve-btns .no {
  background: var(--surface);
  color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

/* ─────────────────────────── routing ─────────────────────────── */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.ticks {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 11px;
  font-size: 16px;
  margin-top: 4px;
}
.ticks li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-2);
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 0.44em;
  width: 7px;
  height: 12px;
  border-right: 2.2px solid var(--accent);
  border-bottom: 2.2px solid var(--accent);
  transform: rotate(42deg);
}

.routeviz {
  display: grid;
  gap: 12px;
}
.gauge {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 15px 15px;
  box-shadow: var(--shadow-soft);
}
.gauge-lbls {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 9px;
}
:root[data-locale='en'] .gauge-lbls {
  font-family: var(--mono);
  font-size: 11.5px;
}
.gauge-track {
  position: relative;
  height: 7px;
  border-radius: 4px;
  background: linear-gradient(to right, var(--accent-tint), var(--accent-bright), var(--accent));
}
.gauge-pin {
  position: absolute;
  top: 50%;
  left: 64%;
  width: 15px;
  height: 15px;
  margin: -7.5px 0 0 -7.5px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--accent);
  box-shadow: 0 2px 6px rgba(28, 29, 26, 0.18);
}
.picker {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
  max-height: 268px;
}
.picker-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border-radius: 12px;
  font-size: 15.5px;
  color: var(--ink-2);
}
.picker-row.picker-on {
  background: var(--accent-tint);
  color: var(--ink);
  font-weight: 650;
}
.picker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-strong);
}
.picker-on .picker-dot {
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.picker-tag {
  margin-left: auto;
  font-size: 11.5px;
  font-family: var(--mono);
  letter-spacing: 0.06em;
  color: var(--accent);
}
.picker-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 64px;
  background: linear-gradient(to bottom, transparent, var(--surface));
}

/* ─────────────────── 브라우저 도우미 ─────────────────── */
#browser .eyebrow {
  text-align: center;
  display: block;
}
#browser .eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
  margin-right: 7px;
  vertical-align: 1px;
}
.bua-note {
  margin-top: 34px;
  text-align: center;
}

.bwin {
  max-width: 880px;
  margin: 0 auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-pop);
}
.bwin-tabs {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 9px 12px 0;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.bwin-tabs .wl-dots {
  margin-right: 6px;
  padding-bottom: 8px;
}
.btab {
  height: 28px;
  border-radius: 8px 8px 0 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-bottom: none;
  width: 150px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  font-size: 11.5px;
  color: var(--ink-2);
  overflow: hidden;
  white-space: nowrap;
}
.btab .sk {
  flex: 1;
}
.btab.dim {
  background: transparent;
  border-color: transparent;
  width: 118px;
  opacity: 0.55;
}
.btab-dot {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--line-strong);
  flex: none;
}
.btab:first-of-type .btab-dot {
  background: var(--accent);
}
.bwin-url {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.urlbar {
  flex: 1;
  height: 26px;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
}
.extbtn {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: var(--accent-tint);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 26%, transparent);
  flex: none;
}
.bwin-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 236px;
  min-height: 262px;
}
.bpage {
  padding: 18px 20px;
  display: grid;
  gap: 12px;
  align-content: start;
}
.bform {
  display: grid;
  gap: 9px;
}
.bfield {
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  display: flex;
  align-items: center;
  padding: 0 10px;
}
.bfield .sk {
  width: 42%;
}
.bfield.filled {
  background: var(--accent-tint-2);
  border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
}
.bfield.filled .sk {
  background: var(--accent);
  opacity: 0.55;
}
.bsubmit {
  position: relative;
  width: fit-content;
  padding: 8px 18px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  margin-top: 2px;
}
/* 손가락 대신 도는 고리 하나 — 여기를 눌렀다는 표시 */
.bsubmit::after {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 14px;
  border: 2px solid var(--accent-bright);
  opacity: 0;
  animation: tap 2.6s cubic-bezier(0.2, 0.7, 0.3, 1) infinite;
}
@keyframes tap {
  0%,
  62% {
    opacity: 0;
    transform: scale(1.16);
  }
  72% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.94);
  }
}
.bpanel {
  border-left: 1px solid var(--line);
  background: var(--paper-2);
  padding: 12px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.bpanel-head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--ink-2);
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
}
.bpanel-head .dotlive {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-left: auto;
  box-shadow: 0 0 0 3px rgba(199, 217, 59, 0.35);
}
.bsaid {
  background: var(--ink);
  color: var(--paper);
  border-radius: 11px 11px 11px 4px;
  padding: 9px 11px;
  font-size: 12.5px;
  line-height: 1.5;
}
.bstep {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--ink-2);
}
.bstep b {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid var(--accent-bright);
  background: var(--surface);
  flex: none;
}
.bstep.done b {
  background: var(--accent-bright);
}

/* ─────────────────────────── details grid ─────────────────────────── */
.det-grid {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: clamp(18px, 2.4vw, 26px);
}
.det {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 20px 20px 22px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.det:hover {
  border-color: color-mix(in srgb, var(--accent) 26%, var(--line));
  box-shadow: var(--shadow-soft);
}
.det-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-tint);
  color: var(--accent);
  margin-bottom: 4px;
}
.det-ico kbd {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
}
.det p {
  color: var(--ink-2);
  font-size: 15.5px;
  word-break: keep-all;
}

/* ─────────────────────────── roadmap ─────────────────────────── */
.thread-road {
  max-width: 660px;
  margin: 44px auto 0;
  padding-left: 26px;
}
.thread-road > li.road::before {
  left: -25px;
}
.thread-road::before {
  background: linear-gradient(to bottom, var(--accent-bright), color-mix(in srgb, var(--accent-bright) 10%, transparent));
}
.thread > li.road {
  display: block;
  padding-block: 16px;
}
.thread > li.road::before {
  top: 24px;
}
.road-t {
  font-family: var(--display);
  font-weight: 750;
  font-size: 18px;
  letter-spacing: -0.028em;
  color: var(--ink);
  margin-bottom: 5px;
}
.road-b {
  color: var(--ink-2);
  font-size: 15.5px;
}

/* ─────────────────────────── faq ─────────────────────────── */
.faq-list {
  max-width: 760px;
  margin: 46px auto 0;
  border-top: 1px solid var(--line-strong);
}
.faq {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  position: relative;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17.5px;
  letter-spacing: -0.026em;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--ink-3);
  border-bottom: 2px solid var(--ink-3);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.24s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.faq[open] summary::after {
  transform: translateY(-25%) rotate(-135deg);
}
.faq[open] summary {
  color: var(--accent);
}
.faq-a {
  padding: 0 44px 24px 0;
  color: var(--ink-2);
  font-size: 16px;
  animation: fadein 0.3s ease backwards;
}
@keyframes fadein {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}

/* ─────────────────────────── start ─────────────────────────── */
.start {
  padding-block: clamp(74px, 10vw, 128px);
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: linear-gradient(180deg, var(--paper), var(--accent-tint-2));
  border-top: 1px solid var(--line);
}
.start::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -180px;
  width: 720px;
  height: 720px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(199, 217, 59, 0.3), transparent 62%);
  pointer-events: none;
}
.start-inner {
  text-align: center;
  position: relative;
}
.start-lede {
  margin: 16px auto 32px;
  max-width: 30em;
  color: var(--ink-2);
  font-size: 17.5px;
}

/* ─────────────────────────── footer ─────────────────────────── */
.foot {
  background: var(--surface-2);
  color: var(--ink-2);
  border-top: 1px solid var(--line);
  padding-block: 30px;
  position: relative;
  z-index: 1;
}
.foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 14px;
}
.foot-brand {
  font-family: var(--display);
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--ink);
}

/* ─────────────────────────── modal ─────────────────────────── */
.modal-bg {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(27, 28, 24, 0.42);
  display: grid;
  place-items: center;
  padding: 20px;
  animation: fadein 0.2s ease;
}
.modal {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 28px;
  max-width: 420px;
  box-shadow: var(--shadow-pop);
  animation: land 0.28s cubic-bezier(0.2, 0.9, 0.25, 1);
}
.modal p {
  margin: 12px 0 22px;
  color: var(--ink-2);
  font-size: 15.5px;
}

/* ── 페이지를 관통하는 작업 실 — 히어로의 그 실이 그대로 이어져요 ── */
.pagethread {
  position: fixed;
  left: 22px;
  top: 96px;
  bottom: 40px;
  width: 2px;
  z-index: 40;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  border-radius: 2px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}
.pagethread.on {
  opacity: 1;
}
.pagethread i {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  border-radius: 2px;
  background: linear-gradient(to bottom, var(--accent-bright), var(--accent));
  height: 0;
}
.pagethread b {
  position: absolute;
  left: 50%;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--ink) 14%, transparent);
  transition: box-shadow 0.3s, transform 0.3s;
}
.pagethread b.hit {
  box-shadow: inset 0 0 0 3.5px var(--accent);
  transform: scale(1.25);
}
@media (max-width: 1240px) {
  .pagethread {
    display: none;
  }
}

/* ─────────────── 만들어 주는 것 — 결과물 타일 ─────────────── */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
}
.tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 14px 18px;
  transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.22s, border-color 0.22s;
}
.tile:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
  box-shadow: var(--shadow);
}
.tile-prev {
  height: 132px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: linear-gradient(170deg, var(--paper-2), var(--surface) 60%);
  display: grid;
  place-items: center;
  padding: 14px;
  overflow: hidden;
  margin-bottom: 15px;
}
.tile-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-inline: 6px;
}
.tile-t {
  font-family: var(--display);
  font-weight: 750;
  font-size: 17.5px;
  letter-spacing: -0.03em;
}
.tile-ext {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: var(--accent-tint);
  border-radius: 5px;
  padding: 2px 7px;
  flex: none;
}
.tile-b {
  word-break: keep-all;
  margin-top: 6px;
  padding-inline: 6px;
  color: var(--ink-2);
  font-size: 14.8px;
}

/* 결과물 미리보기 */
.pv-slide,
.pv-doc,
.pv-poster,
.pv-web {
  width: 100%;
  max-width: 190px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.pv-slide {
  padding: 11px 12px;
  display: grid;
  gap: 10px;
  align-content: start;
  height: 104px;
}
.pv-slide-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 50px;
  gap: 10px;
  align-items: end;
}
.pv-lines {
  display: grid;
  gap: 6px;
}
.pv-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 46px;
}
.pv-chart i {
  flex: 1;
  background: var(--accent-bright);
  border-radius: 2px 2px 0 0;
}
.pv-chart i:nth-child(2) {
  background: var(--accent);
}
.pv-sheet {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  width: 100%;
  max-width: 190px;
  padding: 7px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: var(--shadow-soft);
}
.pv-sheet span {
  height: 13px;
  border-radius: 2px;
  background: var(--surface-2);
}
.pv-sheet span.hd {
  background: var(--accent-tint);
}
.pv-sheet span.sum {
  background: var(--accent-bright);
}
.pv-doc {
  padding: 12px 13px;
  display: grid;
  gap: 6px;
  align-content: start;
  height: 104px;
}
.pv-form {
  width: 100%;
  max-width: 190px;
  padding: 11px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 10px;
}
.pv-form > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pv-form .sk {
  flex: 1;
}
.pv-box {
  position: relative;
  width: 15px;
  height: 15px;
  border-radius: 4px;
  border: 1.5px solid var(--line-strong);
  flex: none;
}
.pv-box.on {
  border-color: var(--accent);
  background: var(--accent);
}
.pv-box.on::after {
  content: '';
  position: absolute;
  left: 4.5px;
  top: 1.5px;
  width: 4px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(42deg);
}
.pv-poster {
  position: relative;
  height: 108px;
  display: grid;
  align-content: end;
  padding: 12px;
  background: linear-gradient(150deg, var(--accent-tint), var(--surface) 78%);
}
.pv-blob {
  position: absolute;
  right: -18px;
  top: -22px;
  width: 92px;
  height: 92px;
  border-radius: 46px 46px 46px 12px;
  background: var(--accent-bright);
  opacity: 0.85;
}
.pv-poster .pv-lines {
  position: relative;
}
.pv-web {
  height: 106px;
}
.pv-web-bar {
  display: flex;
  gap: 4px;
  padding: 7px 9px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.pv-web-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-strong);
}
.pv-web-body {
  padding: 9px;
  display: grid;
  gap: 7px;
}
.pv-hero {
  height: 34px;
  border-radius: 4px;
  background: var(--accent-tint);
}
.pv-web-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.pv-web-row span {
  height: 20px;
  border-radius: 4px;
  background: var(--surface-2);
}

/* ─────────────── 칩 줄 ─────────────── */
.chips-lbl {
  margin: 40px 0 14px;
  font-size: 13.5px;
  color: var(--ink-3);
}
.chips-lbl.center {
  text-align: center;
  margin-top: 34px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips.center {
  justify-content: center;
}
.chip {
  /* 🔴 한글은 어절 단위로만 끊는다. 예전 알약(「요약하기」)은 짧아서 안 걸렸지만,
     데이터 섹션의 예시 질문은 문장이라 좁은 화면에서 실제로 줄이 바뀐다. */
  word-break: keep-all;
  overflow-wrap: break-word;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}
.chip:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  background: var(--accent-tint-2);
  color: var(--accent);
}

/* ─────────────── 컴퓨터 조작 ─────────────── */
.cpu-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: center;
  max-width: 940px;
  margin: 0 auto;
}
.axwin {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
}
.axwin-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  background: linear-gradient(180deg, var(--paper-2), var(--surface-2));
  border-bottom: 1px solid var(--line);
}
.axwin-name {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-inline: auto;
}
.axwin-body {
  padding: 18px 18px 20px;
  display: grid;
  gap: 13px;
}
.axfield {
  display: flex;
  align-items: center;
  gap: 10px;
}
.axnum {
  width: 19px;
  height: 19px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  background: var(--accent-bright);
  color: var(--accent-deep);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  flex: none;
}
.axlbl {
  width: 86px;
  font-size: 13px;
  color: var(--ink-2);
  flex: none;
}
.axbox {
  flex: 1;
  height: 30px;
  border-radius: 7px;
  border: 1px solid var(--line-strong);
  background: var(--paper-2);
  display: flex;
  align-items: center;
  padding: 0 10px;
}
.axbox .sk {
  width: 54%;
}
.axbox.filled {
  background: var(--accent-tint-2);
  border-color: color-mix(in srgb, var(--accent) 32%, var(--line));
}
.axbox.filled .sk {
  background: var(--accent);
  opacity: 0.5;
}
.axbtns {
  display: flex;
  gap: 8px;
  margin-top: 4px;
  justify-content: flex-end;
}
.axbtn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  position: relative;
}
.axbtn .axnum {
  background: var(--accent-bright);
}
.axbtn.ghost {
  background: var(--surface);
  color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.axread {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px 20px;
  box-shadow: var(--shadow-soft);
}
.axread-h {
  font-size: 12.5px;
  font-weight: 650;
  color: var(--ink-3);
  padding-bottom: 11px;
  margin-bottom: 11px;
  border-bottom: 1px solid var(--line);
}
.axread-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.axread-list li {
  display: flex;
  gap: 9px;
  align-items: baseline;
}
.axread-list b {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 500;
}
.axread-list li.hit {
  color: var(--ink);
  font-weight: 600;
}
.axread-list li.hit b {
  color: var(--accent);
}
.axread-note {
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px dashed var(--line-strong);
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.6;
}
#computer .det-grid {
  margin-top: clamp(38px, 5vw, 56px);
}

/* ─────────────── 스킬 · 커넥터 ─────────────── */
.sk-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 32px);
  max-width: 900px;
  margin: 0 auto;
}
.sk-mock {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px 18px;
  box-shadow: var(--shadow-soft);
}
.sk-mock-h {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.slash-input {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 36px;
  padding: 0 12px;
  border-radius: 9px;
  background: var(--paper-2);
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--line));
  box-shadow: 0 0 0 3px rgba(199, 217, 59, 0.16);
  margin-bottom: 9px;
}
.slash-key {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--accent);
}
.slash-input .sk {
  max-width: 90px;
}
.slash-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 11px;
  border-radius: 8px;
  font-size: 13.5px;
}
.slash-row.on {
  background: var(--accent-tint);
}
.slash-name {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--accent);
  flex: none;
}
.slash-desc {
  color: var(--ink-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.conn-note {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--ink-3);
  word-break: keep-all;
}
.conn-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  margin-bottom: 8px;
}
.conn-ico {
  color: var(--accent);
  display: inline-flex;
}
.conn-name {
  font-size: 13.5px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.conn-sw {
  margin-left: auto;
  width: 32px;
  height: 18px;
  border-radius: 999px;
  background: var(--line-strong);
  position: relative;
  flex: none;
}
.conn-sw::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
}
.conn-sw.on {
  background: var(--accent);
}
.conn-sw.on::after {
  transform: translateX(14px);
}
#skills .det-grid,
#data .det-grid,
#org .det-grid {
  margin-top: clamp(38px, 5vw, 56px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 900px;
  margin-inline: auto;
}
@media (max-width: 700px) {
  #skills .det-grid,
  #data .det-grid,
  #org .det-grid {
    /* 🔴 `1fr` 이 아니라 `minmax(0, 1fr)`. `1fr` 의 최소는 **min-content** 라, 띄어쓰기가 없는
       일본어·중국어 문장은 통째로 안 끊겨서 칸이 글줄만큼 벌어지고 섹션 밖으로 나간다
       (실측: ja 390px 에서 350px 칸이 384px 로). 0 을 최소로 못 박아야 칸이 먼저 줄어든다. */
    grid-template-columns: minmax(0, 1fr);
  }
}
/* 「회사에서 쓸 때」에는 목업(`.orgwin`)이 그 위에 있다 — 목업이 자기 아래 여백을 들고 있으니
   여기서 또 벌리지 않는다(예전에 목업이 없던 시절의 값은 지웠다). */
#org .det-grid {
  margin-top: 0;
}
/* 예시 질문 알약은 목업 상자 안에서 세로로 흐른다 — 옆의 자료 목록과 높이를 맞춘다 */
#data-asks {
  align-content: flex-start;
}
/* 알약이 상자 위쪽에 몰리므로 꼬리말은 상자 바닥에 붙인다 */
#data .sk-mock:last-child {
  display: flex;
  flex-direction: column;
}
#data .asks-note {
  margin-top: auto;
  padding-top: 14px;
}

/* ─────────────── 저장은 전부 이 컴퓨터에 ─────────────── */
.eyebrow-center {
  text-align: center;
}
.localviz {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(16px, 2.4vw, 26px);
  max-width: 900px;
  margin: 0 auto;
  align-items: start;
}
.lv {
  border-radius: var(--radius);
  padding: 20px 22px 22px;
}
.lv-here {
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  box-shadow: var(--shadow);
}
.lv-away {
  background: transparent;
  border: 1.5px dashed var(--line-strong);
}
.lv-h {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--display);
  font-weight: 750;
  font-size: 16px;
  letter-spacing: -0.028em;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.lv-ico {
  display: inline-flex;
  color: var(--accent);
}
.lv-away .lv-ico {
  color: var(--ink-3);
}
.lv-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 11px;
  font-size: 15px;
}
.lv-list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  word-break: keep-all;
}
.lv-mark {
  flex: none;
  position: relative;
  width: 8px;
  height: 12px;
  transform: translateY(1px);
}
.lv-here .lv-mark::after,
.lv-away .lv-list:not(.struck) .lv-mark::after {
  content: '';
  position: absolute;
  left: 0;
  top: 1px;
  width: 6px;
  height: 11px;
  border-right: 2.2px solid var(--accent);
  border-bottom: 2.2px solid var(--accent);
  transform: rotate(42deg);
}
.lv-away .lv-list:not(.struck) .lv-mark::after {
  border-color: var(--ink-3);
}
.lv-list.struck {
  color: var(--ink-3);
}
.lv-list.struck .lv-txt {
  text-decoration: line-through;
  text-decoration-color: color-mix(in srgb, var(--seal) 55%, transparent);
  text-decoration-thickness: 1.5px;
}
.lv-list.struck .lv-mark::before,
.lv-list.struck .lv-mark::after {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 9px;
  height: 2px;
  border-radius: 2px;
  background: var(--seal);
  opacity: 0.7;
}
.lv-list.struck .lv-mark::before {
  transform: rotate(45deg);
}
.lv-list.struck .lv-mark::after {
  transform: rotate(-45deg);
}
.lv-sub {
  margin: 18px 0 12px;
  padding-top: 15px;
  border-top: 1px dashed var(--line-strong);
  font-size: 12.5px;
  color: var(--ink-3);
}
.lv-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
  font-size: 12.5px;
  color: var(--ink-3);
}
.local-fine {
  max-width: 720px;
  margin: 34px auto 0;
  text-align: center;
  font-size: 14.5px;
  color: var(--ink-2);
  word-break: keep-all;
}
.local-link {
  display: inline-block;
  margin-left: 6px;
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1.5px solid color-mix(in srgb, var(--accent) 35%, transparent);
}
.local-link:hover {
  border-bottom-color: var(--accent);
}
.foot-links {
  display: flex;
  align-items: center;
  gap: 18px;
}
.foot-links a:hover {
  color: var(--ink);
}
@media (max-width: 760px) {
  .localviz {
    grid-template-columns: 1fr;
  }
}

/* ─────────────── 사용량 카드 ─────────────── */
.usagecard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px 16px;
  box-shadow: var(--shadow-soft);
}
.usage-h {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.usage-bar {
  height: 8px;
  border-radius: 4px;
  background: var(--surface-2);
  overflow: hidden;
}
.usage-bar span {
  display: block;
  height: 100%;
  width: 38%;
  border-radius: 4px;
  background: linear-gradient(to right, var(--accent-bright), var(--accent));
}
.usage-note {
  margin-top: 9px;
  font-size: 12px;
  color: var(--ink-3);
}

/* ─────────────── 문서 페이지(개인정보처리방침) ─────────────── */
.doc {
  position: relative;
  z-index: 1;
  padding-block: clamp(40px, 6vw, 72px) clamp(64px, 9vw, 110px);
}
.doc-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding-inline: var(--gut);
}
.doc-h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(30px, 4.2vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.04em;
  word-break: keep-all;
}
.doc-updated {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-3);
}
.doc-callout {
  margin: 32px 0 8px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--accent-tint-2);
  border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--line));
}
.doc-callout-h {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}
.doc-callout p:last-child {
  font-size: 16.5px;
  line-height: 1.7;
  word-break: keep-all;
}
.doc-sec {
  padding-top: 38px;
}
.doc-h2 {
  display: flex;
  align-items: baseline;
  gap: 11px;
  font-family: var(--display);
  font-weight: 750;
  font-size: 20px;
  letter-spacing: -0.03em;
  line-height: 1.4;
  margin-bottom: 14px;
  word-break: keep-all;
}
.doc-num {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--accent-tint);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  display: grid;
  place-items: center;
  transform: translateY(2px);
}
.doc-p {
  color: var(--ink-2);
  font-size: 16px;
  margin-bottom: 14px;
  word-break: keep-all;
}
.doc-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 11px;
}
.doc-list li {
  position: relative;
  padding-left: 20px;
  font-size: 16px;
  color: var(--ink);
  word-break: keep-all;
}
.doc-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
}
.doc-rows {
  display: grid;
  gap: 10px;
}
.doc-row {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 16px 18px;
  display: grid;
  gap: 9px;
}
.doc-cell {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  font-size: 15px;
}
.doc-cell-l {
  font-size: 12.5px;
  color: var(--ink-3);
}
.doc-cell-v {
  color: var(--ink-2);
  word-break: keep-all;
}
.doc-cell.what .doc-cell-v {
  color: var(--ink);
  font-weight: 600;
}
.doc-contact {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  font-size: 16px;
  color: var(--ink-2);
  word-break: keep-all;
}
.doc-mail {
  font-weight: 650;
  color: var(--accent);
  border-bottom: 1.5px solid color-mix(in srgb, var(--accent) 35%, transparent);
}
.doc-mail:hover {
  border-bottom-color: var(--accent);
}
.doc-note {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  font-size: 14.5px;
  color: var(--ink-2);
  word-break: keep-all;
}
@media (max-width: 560px) {
  .doc-cell {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

/* ─────────────────────────── reveal on scroll ─────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.75, 0.25, 1), transform 0.6s cubic-bezier(0.2, 0.75, 0.25, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ─────────────────────────── responsive ─────────────────────────── */
@media (max-width: 1080px) {
  .safe-split {
    grid-template-columns: 1fr;
  }
  .safe-split .approve {
    max-width: 420px;
  }
  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cpu-stage {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 940px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .nav-brand {
    margin-right: auto;
  }
  .bwin-body {
    grid-template-columns: 1fr;
  }
  .bpanel {
    border-left: none;
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 700px) {
  .safe-grid {
    grid-template-columns: 1fr;
  }
  .sk-split {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  body {
    font-size: 16.5px;
  }
  .versus {
    grid-template-columns: 1fr;
  }
  .vs-col {
    padding: 18px;
  }
  .appwin-main {
    padding: 14px 14px 4px;
  }
  .appwin-body {
    grid-template-columns: 44px minmax(0, 1fr);
  }
  .worklog-live {
    min-height: 300px;
  }
  .thread > li .meta {
    display: none;
  }
  .btn-lg {
    padding: 14px 22px;
    font-size: 16px;
  }
  .cta-row .btn {
    flex: 1 1 auto;
  }
  .nav-name {
    display: none;
  }
  .btab {
    width: 108px;
  }
  .btab.dim {
    display: none;
  }
  .tiles {
    grid-template-columns: 1fr;
  }
  .axlbl {
    width: 70px;
    font-size: 12.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .bsubmit::after {
    opacity: 1;
    transform: scale(1);
  }
}


/* 첫 실행 경고 안내 — 접어 두고, 필요한 사람만 펼쳐 본다.
   숨기지 않는 이유: 경고를 보고 놀라서 되돌아가는 사람이 제일 많다. */
.firstrun {
  max-width: 640px;
  margin: 18px auto 0;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.firstrun > summary {
  cursor: pointer;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  list-style: none;
}

.firstrun > summary::-webkit-details-marker {
  display: none;
}

.firstrun > summary::after {
  content: '+';
  float: right;
  color: var(--ink-3);
  font-weight: 400;
}

.firstrun[open] > summary::after {
  content: '−';
}

.firstrun-body {
  padding: 0 18px 16px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--ink-2);
}

.firstrun-body p {
  margin: 0 0 10px;
}

.firstrun-body strong {
  color: var(--ink);
}

.firstrun-why {
  color: var(--ink-3);
  font-size: 13px;
}

/* ══ 따라하게 만들기 사용법(teach.html) ═══════════════════════════════════
   진짜 앱 화면을 그대로 넣는 페이지라, 그림이 글보다 커 보이지 않게 폭을 묶어 둔다.
   ⚠ 화면 그림은 `e2e/shots_cua.mjs` 가 실제 앱을 띄워 찍는다 — 손으로 넣지 말 것.
      손으로 넣으면 버전이 올라가도 옛 화면이 그대로 남는다. */
.shot {
  margin: 22px 0 26px;
}
.shot img {
  display: block;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgb(0 0 0 / 7%);
  background: var(--paper);
}
/* 앱 전체 화면은 가로로 길다 — 같은 폭으로 묶으면 글씨가 안 보인다 */
.shot img[src*='running'],
.shot img[src*='progress'] {
  max-width: 100%;
}
.shot figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-3);
  word-break: keep-all;
  overflow-wrap: break-word;
}

.case {
  margin-top: 16px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
}
.case-h {
  font-family: var(--display);
  font-weight: 750;
  font-size: 17px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  word-break: keep-all;
}
.case-p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-2);
  word-break: keep-all;
  overflow-wrap: break-word;
}
.case-p b {
  color: var(--ink);
}
.case-tip {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 14px;
  color: var(--ink-3);
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* 「기억해요 / 기억하지 않아요」 두 칸.
   ⚠ 표로 두면 좁은 창에서 오른쪽 칸의 글이 잘려 나가 「글이 사라진」 것처럼 보인다(실측 —
      `overflow-x:auto` 를 걸어도 사람은 옆으로 밀어야 한다는 걸 모른다). 그래서 칸으로 쌓는다. */
.two-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.col-card {
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  min-width: 0; /* 없으면 안의 긴 낱말이 칸을 밀어내 옆으로 넘친다 */
}
.col-card.yes {
  background: var(--accent-tint-2);
  border-color: color-mix(in srgb, var(--accent) 26%, var(--line));
}
.col-h {
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink-3);
}
.col-card.yes .col-h {
  color: var(--accent);
}
.col-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 9px;
}
.col-list li {
  position: relative;
  padding-left: 14px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  word-break: keep-all;
  overflow-wrap: break-word;
}
.col-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ink) 28%, transparent);
}
.col-card.yes .col-list li {
  color: var(--ink);
}
.col-card.yes .col-list li::before {
  background: var(--accent);
}

/* 섹션 끝의 「더 보기」 한 줄 */
.sec-more {
  margin-top: 26px;
  text-align: center;
}

/* ══ 관리자 화면 소개(admin.html) ═══════════════════════════════════════════
   ⚠ 여기 들어가는 화면 그림은 `e2e/shots_admin.mjs` 가 **실제 앱을 띄워** 찍는다 —
      손으로 만들거나 오려 붙이지 말 것. 탭이 바뀌면 그 스크립트를 다시 돌린다. */
.doc-h3 {
  font-family: var(--display);
  font-weight: 750;
  font-size: 17px;
  letter-spacing: -0.025em;
  line-height: 1.45;
  margin: 28px 0 10px;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* 「새로 나왔어요」 알약. 제목 줄(.doc-h2)은 baseline 정렬이라 살짝 올려 앉힌다. */
.doc-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent);
  font-family: var(--body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
  transform: translateY(-1px);
}

/* ══ 「회사에서 쓸 때」 관리자 창 목업 ═══════════════════════════════════════
   손으로 만든 앱 화면 조각(다른 섹션의 `.sk-mock` 과 같은 결). 그림 파일이 아니라 HTML 이라
   네 언어에서 글자가 그대로 늘어나도 깨지지 않는다.
   🔴 탭 줄은 **넘치면 접는다**(`flex-wrap`) — 앱에서는 옆으로 밀리지만, 여기서는 밀 수 있다는
      단서가 없어서 마지막 탭이 「없는 것」이 된다(전사 함정 `clipped_control_looks_like_a_missing_feature`).
   ⚠ 금액은 그리지 않는다 — 지어낸 숫자가 우리 숫자로 읽힌다. 막대와 띠만 쓴다. */
.orgwin {
  max-width: 900px;
  margin: 0 auto clamp(26px, 4vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.orgwin-bar {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 16px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.orgwin-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: -0.02em;
  color: var(--ink-2);
}
.orgwin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 4px;
  padding: 10px 12px 0;
  border-bottom: 1px solid var(--line);
}
.orgwin-tab {
  padding: 6px 10px 8px;
  font-size: 12.5px;
  color: var(--ink-3);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.orgwin-tab.on {
  color: var(--ink);
  font-weight: 650;
  border-bottom-color: var(--accent);
}
.orgwin-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 28px);
  padding: clamp(16px, 2.4vw, 22px);
}
.orgwin-col {
  min-width: 0; /* 없으면 안의 긴 주소가 칸을 밀어내 옆으로 넘친다 */
}
.orgwin-h {
  font-size: 12.5px;
  font-weight: 650;
  color: var(--ink-3);
  margin-bottom: 9px;
}
.orgwin-h2 {
  margin-top: 16px;
}
.orgwin-note {
  margin-top: 9px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-3);
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* 고르는 칸 두 줄 — 앱의 라디오 카드와 같은 모양 */
.orgpick {
  display: grid;
  gap: 6px;
}
.orgpick-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--ink-2);
  word-break: keep-all;
}
.orgpick-row i {
  flex: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
}
.orgpick-row.on {
  background: var(--accent-tint-2);
  border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
  color: var(--ink);
}
.orgpick-row.on b {
  font-weight: 650;
}
.orgpick-row.on i {
  border-color: var(--accent);
  background: radial-gradient(circle at center, var(--accent) 0 40%, transparent 42%);
}

/* 열어 둔 주소 칩 — 주소는 문서 전용 대역(RFC 5737)만 쓴다 */
.orgchips {
  margin-top: 10px;
  display: grid;
  gap: 6px;
}
.orgchip {
  padding: 8px 11px;
  border-radius: 9px;
  background: var(--surface-2);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
  overflow-wrap: anywhere; /* 주소는 어절이 없다 — 좁은 칸에서는 끊어 준다 */
}
.orgchip em {
  font-family: var(--body);
  font-style: normal;
  color: var(--ink-3);
}

/* 일별 막대 — 주말이 낮은 리듬이 보이도록 */
.orgbars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 74px;
  padding-bottom: 1px;
  border-bottom: 1px solid var(--line);
}
.orgbars i {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 2px 2px 0 0;
  background: var(--accent-bright);
}

@media (max-width: 620px) {
  .orgwin-body {
    grid-template-columns: 1fr;
  }
}

/* 다른 탭에서 보는 것 — 창 **밖** 칸. 창 안에 섞으면 한 탭에 두 탭의 내용이 있는,
   앱에는 없는 화면이 된다(codex PR #27 P2). 그래서 밖으로 내고 그 탭 이름을 달아 둔다. */
.orgpeek {
  max-width: 900px;
  margin: 0 auto clamp(26px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.4vw, 22px);
}
.orgpeek-card {
  min-width: 0;
  padding: 15px 16px 17px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.orgpeek-tab {
  display: inline-block;
  margin-bottom: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}
@media (max-width: 620px) {
  .orgpeek {
    grid-template-columns: 1fr;
  }
}

/* 한도 칸 — 앱의 「한도」 탭처럼 세 자리(회사 전체·부서·한 사람). 금액은 적지 않고 띠 길이로만
   말한다(지어낸 숫자가 우리 숫자로 읽힌다). 길이는 셋이 달라야 「따로 걸 수 있다」가 읽힌다. */
.orgcap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 9px 11px;
}
.orgcap-lbl {
  font-size: 12.5px;
  color: var(--ink-2);
  white-space: nowrap;
}
.orgcap .usage-bar.b1 > span {
  width: 62%;
}
.orgcap .usage-bar.b2 > span {
  width: 41%;
}
.orgcap .usage-bar.b3 > span {
  width: 78%;
}

/* ═══════════════════════════════════════════════════════════════════════════
   2026-09-08 대개편 — 출시 뒤 46일치 새 기능을 랜딩에 얹는다.
   원칙: ① 실제 앱 화면(assets/app/*.webp · e2e/shots_landing.mjs 가 찍는다)을 쓰고
        ② 손으로 그린 목업은 앱에 있는 화면만 흉내 낸다 ③ 숫자는 지어내지 않는다.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 히어로 아래 신뢰 띠 ── */
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 22px;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px 6px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  word-break: keep-all;
}
.trust-pill svg {
  color: var(--accent);
  flex: none;
}

/* ── 숫자 띠 ── */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(14px, 2vw, 22px);
  margin-top: 40px;
}
.stat {
  padding: 20px 20px 18px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  min-width: 0;
}
.stat-n {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(30px, 3.6vw, 42px);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.stat-n small {
  font-size: 0.5em;
  font-weight: 700;
  color: var(--accent);
  margin-left: 2px;
  letter-spacing: -0.02em;
}
.stat-l {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--ink-2);
  word-break: keep-all;
}

/* ── 출시 뒤 타임라인 ── */
.timeline {
  position: relative;
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px 16px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  top: 7px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-bright), color-mix(in srgb, var(--accent-bright) 25%, transparent));
  border-radius: 2px;
}
.tl {
  position: relative;
  padding-top: 22px;
  min-width: 0;
}
.tl::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--accent-bright);
}
.tl.now::before {
  background: var(--accent-bright);
  box-shadow: 0 0 0 5px rgba(199, 217, 59, 0.28);
}
.tl-date {
  font-family: var(--body); /* 「9월 5일」꼴로 바꾼 뒤 고정폭 글꼴은 빈칸이 넓어 보인다(09-09) */
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.01em;
}
.tl-t {
  margin-top: 4px;
  font-family: var(--display);
  font-weight: 750;
  font-size: 16px;
  letter-spacing: -0.025em;
  line-height: 1.35;
  word-break: keep-all;
}
.tl-b {
  margin-top: 5px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.55;
  word-break: keep-all;
}

/* ── 실제 화면 틀 ── */
.shotfig {
  margin: 0;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.shotfig img {
  display: block;
  width: 100%;
  height: auto;
}
.shotfig-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-3);
}
.shotfig-bar .wl-dots {
  display: inline-flex;
  gap: 5px;
}
.shotfig-bar .wl-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
  display: inline-block;
}
.shotcap {
  margin-top: 10px;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-3);
  word-break: keep-all;
}
.shotcap.left {
  text-align: left;
}
/* 큰 화면 + 확대 조각 겹치기 */
.shotpair {
  position: relative;
  padding-bottom: 12%;
}
.shotpair .shotfig-main {
  width: 84%;
}
.shotpair .shotfig-over {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44%;
  box-shadow: var(--shadow-pop);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
}
.shotpair .over-tag {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}
.shotpair .shotfig-over {
  overflow: visible;
}
.shotpair .shotfig-over img {
  border-radius: 15px;
}

/* ── 기능 행(글 + 그림) ── */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
  margin-top: clamp(40px, 6vw, 72px);
}
.feature.flip .feature-copy {
  order: 2;
}
.feature .h2 {
  text-align: left;
  margin-bottom: 14px;
}
.feature .sec-lede {
  text-align: left;
  margin: 0 0 18px;
  max-width: none;
}
.feature-copy .eyebrow {
  margin-bottom: 10px;
}
.feature-say {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}
.feature-say .say {
  margin: 0;
}
.feature-ticks {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 9px;
}
.feature-ticks li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-2);
  font-size: 15.5px;
  word-break: keep-all;
}
.feature-ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--accent-tint);
  border: 1.5px solid var(--accent);
}
.feature-ticks li::after {
  content: '';
  position: absolute;
  left: 4.5px;
  top: 10px;
  width: 5px;
  height: 8px;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.feature-ticks li b {
  color: var(--ink);
  font-weight: 700;
}
.badge-new {
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-bright);
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transform: translateY(-3px);
}

/* ── 한글(HWP) 채우기 목업 ── */
.hwp-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.hwpdoc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
  padding: 22px 22px 26px;
  font-size: 12px;
  color: var(--ink);
  min-width: 0;
}
.hwpdoc-tab {
  display: inline-block;
  margin-bottom: 14px;
  padding: 2px 8px;
  border-radius: 4px;
  background: #e8f0fb;
  color: #2a5db0;
  font-weight: 700;
  font-size: 11px;
}
.hwp-title {
  text-align: center;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  font-family: var(--display);
}
.hwp-table {
  width: 100%;
  border-collapse: collapse;
}
.hwp-table td,
.hwp-table th {
  border: 1px solid #8a8a8a;
  padding: 7px 8px;
  text-align: left;
  vertical-align: top;
  font-weight: 500;
}
.hwp-table th {
  width: 26%;
  background: #f3f3f3;
  font-weight: 700;
  white-space: nowrap;
}
.hwp-table td.fill {
  position: relative;
  background: linear-gradient(90deg, rgba(199, 217, 59, 0.34), rgba(199, 217, 59, 0.34)) no-repeat;
  background-size: 0 100%;
  animation: hwpfill 1.1s cubic-bezier(0.2, 0.75, 0.25, 1) forwards;
}
.hwp-table td.fill:nth-of-type(1) { animation-delay: 0.3s; }
.hwp-table tr:nth-child(2) td.fill { animation-delay: 0.7s; }
.hwp-table tr:nth-child(3) td.fill { animation-delay: 1.1s; }
.hwp-table tr:nth-child(4) td.fill { animation-delay: 1.5s; }
.hwp-table tr:nth-child(5) td.fill { animation-delay: 1.9s; }
@keyframes hwpfill {
  to {
    background-size: 100% 100%;
  }
}
.hwp-table td.empty {
  color: var(--ink-3);
}
.hwp-side {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.hwp-said {
  justify-self: end;
  max-width: 92%;
  background: var(--ink);
  color: var(--paper);
  padding: 11px 14px;
  border-radius: 16px 16px 4px 16px;
  font-size: 14px;
  line-height: 1.5;
  word-break: keep-all;
}
.hwp-steps {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 8px;
}
.hwp-steps li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--ink-2);
  word-break: keep-all;
}
.hwp-steps li b {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-tint);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  font-family: var(--mono);
}
.hwp-steps li.ask {
  border-color: color-mix(in srgb, var(--seal) 35%, var(--line));
  background: var(--seal-tint);
}
.hwp-steps li.ask b {
  background: #fff;
  color: var(--seal);
}
.hwp-fmts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* ── 바탕화면 정리 전·후 ── */
.tidy-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}
.desk {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #dfe7f1, #c9d5e6);
  overflow: hidden;
}
.desk-lbl {
  position: absolute;
  left: 10px;
  top: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-2);
  z-index: 2;
}
.desk-ico {
  position: absolute;
  width: 11%;
  aspect-ratio: 1;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 3px;
}
.desk-ico i {
  display: block;
  width: 62%;
  aspect-ratio: 0.82;
  border-radius: 3px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
.desk-ico i.x { background: #d9f0e3; }
.desk-ico i.p { background: #fbe0d6; }
.desk-ico i.w { background: #dbe6fb; }
.desk-ico i.f { background: #fde8e6; }
.desk-ico i.img { background: #efe3fb; }
.desk-ico i.fold {
  border-radius: 3px 3px 4px 4px;
  background: linear-gradient(#f5d77a, #efc94c);
  border-color: #d9b23a;
  aspect-ratio: 1.15;
}
.desk-ico span {
  width: 92%;
  height: 4px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.35);
}
.desk-ico span.tx {
  height: auto;
  background: none;
  color: #253046;
  font-size: 9.5px;
  font-weight: 700;
  text-align: center;
  line-height: 1.15;
  word-break: keep-all;
}
.desk.after .desk-ico {
  width: 14%;
}
.desk.after .desk-ico i.fold {
  width: 66%;
}
.tidy-arrow {
  color: var(--accent);
  display: grid;
  place-items: center;
}
.tidy-plan {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-2);
  display: grid;
  gap: 6px;
}
.tidy-plan b {
  color: var(--ink);
}
.tidy-plan .yes {
  justify-self: start;
  margin-top: 4px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12.5px;
  font-weight: 700;
}

/* ── 보안: 자료가 어디까지 가나 ── */
.flow {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 36px minmax(0, 1fr) 36px minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  margin-top: 40px;
}
.flow-node {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 18px 18px 16px;
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 10px;
}
.flow-node.here {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  box-shadow: 0 0 0 4px rgba(199, 217, 59, 0.18);
}
.flow-h {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 750;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.flow-h span.ic {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--accent-tint);
  color: var(--accent);
}
.flow-node.away .flow-h span.ic {
  background: var(--surface-2);
  color: var(--ink-2);
}
.flow-sub {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: -6px;
  word-break: keep-all;
}
.flow-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.flow-list li {
  position: relative;
  padding-left: 18px;
  word-break: keep-all;
}
.flow-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-bright);
}
.flow-list.struck li {
  color: var(--ink-3);
  text-decoration: line-through;
}
.flow-list.struck li::before {
  background: var(--seal);
  border-radius: 1px;
  height: 2px;
  top: 11px;
  width: 9px;
}
.flow-sub.no {
  margin-top: 4px;
  font-weight: 700;
  color: var(--seal);
}
.flow-arrow {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  color: var(--ink-3);
  font-size: 10.5px;
  text-align: center;
}
.flow-arrow svg {
  color: var(--accent);
}
.flow-fine {
  margin-top: 16px;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-3);
  word-break: keep-all;
}

/* ── CISO 점검표 ── */
.ciso {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 12px;
}
.ciso-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  align-items: start;
}
.ciso-item .ic {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--accent-tint);
  color: var(--accent);
}
.ciso-item h3 {
  font-family: var(--display);
  font-weight: 750;
  font-size: 15.5px;
  letter-spacing: -0.02em;
  line-height: 1.35;
  word-break: keep-all;
}
.ciso-item p {
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.55;
  word-break: keep-all;
}
.ciso-fine {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-3);
  text-align: center;
  word-break: keep-all;
}

/* ── 서명·공증 — 설치 신뢰 ── */
.signrow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  max-width: 760px;
  margin: 26px auto 0;
  text-align: left;
}
.sign {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 15px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
}
.sign .ic {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--accent-tint);
  color: var(--accent);
}
.sign h3 {
  font-family: var(--display);
  font-weight: 750;
  font-size: 15.5px;
  letter-spacing: -0.02em;
  word-break: keep-all;
}
.sign p {
  margin-top: 3px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.5;
  word-break: keep-all;
}
.sign code {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--paper-2);
  padding: 1px 5px;
  border-radius: 4px;
  color: var(--ink);
}

/* ── 관리자 화면 갤러리 ── */
.gallery {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.gallery figure {
  margin: 0;
  cursor: zoom-in;
}
.gallery {
  align-items: start; /* 카드 높이가 서로 달라도 늘리지 않는다(밑에 빈 칸이 남던 것) */
}
.gallery .shotfig {
  transition: transform 0.25s, box-shadow 0.25s;
}
.gallery figure:hover .shotfig {
  transform: translateY(-3px);
  box-shadow: var(--shadow-pop);
}
.gallery figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-2);
  text-align: center;
  word-break: keep-all;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300; /* 상단 메뉴(50)·건너뛰기(100) 위 — 확대 창이 메뉴 아래로 깔리던 것 */
  background: rgba(27, 28, 24, 0.82);
  display: grid;
  place-items: center;
  padding: 24px;
  cursor: zoom-out;
}
.lightbox figure {
  /* 🔴 figure 가 칸(100%)을 다 차지하고 그 안에서 max-height 로 줄어든 그림이 왼쪽에 붙었다(사장님 실측 2026-09-11) — 세로 flex 가운데 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
}
.lightbox img {
  display: block;
  max-width: min(1240px, 100%);
  max-height: calc(100vh - 120px);
  width: auto;
  height: auto;
  /* 스크린샷 둘레 여백 — 그림이 배경에 바로 닿지 않게 */
  padding: 14px;
  box-sizing: border-box;
  border-radius: 20px;
  box-shadow: var(--shadow-pop);
  background: var(--paper);
}
.lightbox figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  text-align: center;
  color: var(--paper);
  font-size: 14px;
}

/* ── 동글이 ── */
.pet-stage {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}
.pet-img {
  width: 200px;
  height: auto;
  filter: drop-shadow(0 12px 22px rgba(27, 28, 24, 0.16));
  animation: bob 3.2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.pet-bubbles {
  display: grid;
  gap: 10px;
}
.pet-bubble {
  justify-self: start;
  max-width: 100%;
  padding: 10px 14px;
  border-radius: 4px 16px 16px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink);
  word-break: keep-all;
}
.pet-bubble.me {
  justify-self: end;
  border-radius: 16px 4px 16px 16px;
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* ── 새소식(앱 안) ── */
.news-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 32px);
  align-items: center;
}

/* 일본어·중국어는 keep-all 을 풀어야 한다(글자를 그리는 자리 전부) */
:root[data-locale='ja'] .trust-pill,
:root[data-locale='zh'] .trust-pill,
:root[data-locale='ja'] .stat-l,
:root[data-locale='zh'] .stat-l,
:root[data-locale='ja'] .tl-t,
:root[data-locale='zh'] .tl-t,
:root[data-locale='ja'] .tl-b,
:root[data-locale='zh'] .tl-b,
:root[data-locale='ja'] .shotcap,
:root[data-locale='zh'] .shotcap,
:root[data-locale='ja'] .feature-ticks li,
:root[data-locale='zh'] .feature-ticks li,
:root[data-locale='ja'] .hwp-said,
:root[data-locale='zh'] .hwp-said,
:root[data-locale='ja'] .hwp-steps li,
:root[data-locale='zh'] .hwp-steps li,
:root[data-locale='ja'] .tidy-plan,
:root[data-locale='zh'] .tidy-plan,
:root[data-locale='ja'] .flow-list li,
:root[data-locale='zh'] .flow-list li,
:root[data-locale='ja'] .flow-sub,
:root[data-locale='zh'] .flow-sub,
:root[data-locale='ja'] .flow-fine,
:root[data-locale='zh'] .flow-fine,
:root[data-locale='ja'] .ciso-item h3,
:root[data-locale='zh'] .ciso-item h3,
:root[data-locale='ja'] .ciso-item p,
:root[data-locale='zh'] .ciso-item p,
:root[data-locale='ja'] .ciso-fine,
:root[data-locale='zh'] .ciso-fine,
:root[data-locale='ja'] .sign h3,
:root[data-locale='zh'] .sign h3,
:root[data-locale='ja'] .sign p,
:root[data-locale='zh'] .sign p,
:root[data-locale='ja'] .gallery figcaption,
:root[data-locale='zh'] .gallery figcaption,
:root[data-locale='ja'] .pet-bubble,
:root[data-locale='zh'] .pet-bubble {
  word-break: normal;
  line-break: strict;
}

@media (max-width: 900px) {
  .feature,
  .feature.flip {
    grid-template-columns: 1fr;
  }
  .feature.flip .feature-copy {
    order: 0;
  }
  .flow {
    grid-template-columns: 1fr;
  }
  .flow-arrow {
    transform: rotate(90deg);
    height: 36px;
  }
  .flow-arrow small {
    display: none;
  }
}
@media (max-width: 700px) {
  .hwp-stage,
  .news-split {
    grid-template-columns: 1fr;
  }
  .pet-stage {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .tidy-stage {
    grid-template-columns: 1fr;
  }
  .tidy-arrow {
    transform: rotate(90deg);
  }
  .shotpair {
    padding-bottom: 0;
  }
  .shotpair .shotfig-main {
    width: 100%;
  }
  .shotpair .shotfig-over {
    position: static;
    width: 100%;
    margin-top: 14px;
  }
  .shotpair .over-tag {
    display: none;
  }
}

/* 라우팅 — 비용 비교 막대(관리자 목업의 .orgcap 과 갈라 둔다: 검사가 그 선택자로 한도 칸을 센다) */
.costcap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 9px 11px;
}
.cost-lbl {
  font-size: 12.5px;
  color: var(--ink-2);
  white-space: nowrap;
}
.costcap .usage-bar.b3 > span { width: 84%; background: var(--ink-3); }
.costcap .usage-bar.b2 > span { width: 38%; }

/* ═══════════════════════════════════════════════════════════════════════════
   2026-09-09 — 숨은 브라우저 넛지(홈 #browse) + 기능 소개 페이지(features.html)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 홈: 히어로 NEW 알약 ── */
.newpill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 12px 6px 7px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  background: var(--accent-tint-2);
  color: var(--accent-deep);
  font-size: 13.5px;
  font-weight: 650;
  text-decoration: none;
  word-break: keep-all;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.newpill:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-soft);
}
.newpill em {
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--accent-bright);
  color: var(--ink);
}
.newpill svg {
  color: var(--accent);
}

/* ── 홈: 숨은 브라우저 무대(mock) — 앱의 작업 과정 카드를 그대로 흉내 낸다 ── */
.bs-stage {
  margin-top: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: stretch; /* 두 열 같은 높이. 목업은 모든 칸의 자리를 늘 차지해(투명도만 바뀜) 재생 중 높이가 안 변한다 */
}
.bs-app {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.bs-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
  font-size: 12.5px;
  color: var(--ink-3);
}
.bs-bar .wl-dots {
  display: inline-flex;
  gap: 5px;
}
.bs-bar .wl-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
  display: inline-block;
}
.bs-body {
  padding: 16px 18px 18px;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr); /* 🔴 auto 트랙은 nowrap 글자에 밀려 카드 밖으로 자란다(390px 실측 +56px) */
  align-content: start;
  gap: 10px;
}
.bs-said {
  justify-self: end;
  max-width: min(88%, 100%);
  min-width: 0;
  padding: 9px 13px;
  border-radius: 14px 14px 4px 14px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  word-break: keep-all;
}
.bs-card {
  position: relative;
  padding-left: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  gap: 6px;
}
.bs-card::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  border-radius: 2px;
  background: var(--line);
}
.bs-row {
  display: flex;
  align-items: baseline;
  min-width: 0;
  gap: 9px;
  font-size: 14px;
  color: var(--ink);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s, transform 0.35s;
  word-break: keep-all;
}
.bs-row.in {
  opacity: 1;
  transform: none;
}
.bs-row .bs-ico {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--ink-3);
  transform: translateY(2px);
}
.bs-row.now .bs-ico {
  color: var(--accent);
}
.bs-row.now .bs-ico svg {
  animation: bsPulse 1.2s ease-in-out infinite;
}
@keyframes bsPulse {
  50% {
    opacity: 0.35;
  }
}
.bs-row .bs-res {
  color: var(--ink-3);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.bs-row .bs-res.link {
  color: var(--accent);
}
.bs-count {
  flex: none;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-2);
}
.bs-results {
  margin: 2px 0 4px 25px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  display: grid;
  gap: 6px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s, transform 0.4s;
}
.bs-results.in {
  opacity: 1;
  transform: none;
}
.bs-results li {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  min-width: 0;
}
.bs-results li span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bs-results li span:last-child {
  color: var(--ink-3);
  flex: none;
  font-size: 12px;
}
.bs-frame {
  margin: 4px 0 2px 25px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.45s, transform 0.45s;
}
.bs-frame.in {
  opacity: 1;
  transform: none;
}
.bs-page {
  padding: 10px 14px 6px;
  display: grid;
  gap: 7px;
  background: #fff;
}
.bs-page .bs-url {
  height: 18px;
  border-radius: 6px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  width: 62%;
}
.bs-page .sk {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: var(--surface-2);
}
.bs-page .sk.h {
  height: 14px;
  width: 46%;
  background: var(--line-strong);
}
.bs-page .sk.w70 {
  width: 70%;
}
.bs-page .sk.w88 {
  width: 88%;
}
.bs-page .sk.w55 {
  width: 55%;
}
.bs-page .sk.hi {
  background: var(--accent-tint);
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
  width: 30%;
  height: 20px;
  border-radius: 6px;
  margin-top: 2px;
}
.bs-frame-cap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-2);
}
.bs-frame-cap b {
  color: var(--accent);
  font-weight: 650;
}
.bs-frame-cap .dotlive {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 3px var(--accent-tint);
  display: inline-block;
  margin-right: 6px;
}
.bs-chip {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 13px;
  color: var(--ink-2);
  opacity: 0;
  transition: opacity 0.4s;
}
.bs-chip.in {
  opacity: 1;
}
.bs-chip b {
  color: var(--accent);
  font-weight: 650;
}
.bs-answer {
  font-size: 14.5px;
  color: var(--ink);
  word-break: keep-all;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.45s, transform 0.45s;
}
.bs-answer.in {
  opacity: 1;
  transform: none;
}
.bs-answer a {
  color: var(--accent);
  text-decoration: underline;
}
/* 끝난 뒤 — 결과·화면은 흐려지고 줄·알약·답이 또렷해진다. 🔴 자리는 그대로(접으면 카드 높이가 붙었다 떨어진다 — 사장님 지적 09-09) */
.bs-app.done .bs-results,
.bs-app.done .bs-frame {
  opacity: 0.45;
}
.bs-app.done .bs-row.now .bs-ico {
  color: var(--ink-3);
}
.bs-app.done .bs-row.now .bs-ico svg {
  animation: none;
}

/* 오른쪽 — 실제 화면 + 두 모드 */
.bs-side {
  display: grid;
  gap: 16px;
}
.bs-real {
  position: relative;
}
.bs-real {
  flex: 1;
  min-height: 0;
  display: flex;
}
.bs-real .shotfig {
  flex: 1;
  min-height: 0;
}
.bs-real .shotfig img {
  height: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: top;
}
.bs-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bs-real .over-tag,
.ft-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.01em;
}
.bs-modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.bs-mode {
  padding: 14px 15px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  gap: 6px;
  align-content: start;
}
.bs-mode.pick {
  border-color: color-mix(in srgb, var(--accent) 36%, var(--line));
  background: var(--accent-tint-2);
}
.bs-mode small {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.bs-mode b {
  font-size: 15px;
  word-break: keep-all;
}
.bs-mode p {
  font-size: 13.5px;
  color: var(--ink-2);
  word-break: keep-all;
}
@media (max-width: 940px) {
  .bs-stage {
    grid-template-columns: 1fr;
  }
  .bs-real .shotfig img {
    height: auto;
    max-height: 420px;
  }
}
@media (max-width: 560px) {
  .bs-modes {
    grid-template-columns: 1fr;
  }
  .bs-results li span:last-child,
  .bs-row .bs-res {
    display: none; /* 좁은 창에서는 단계 한 줄만 — 결과 글자가 붙으면 두 줄로 꺾인다 */
  }
}

/* ── 기능 소개 페이지 ── */
.ft-body .nav-links a {
  white-space: nowrap;
}
.ft-hero {
  position: relative;
  z-index: 1;
  padding: clamp(36px, 5vw, 64px) 0 clamp(28px, 4vw, 48px);
}
.ft-hero::before {
  content: '';
  position: absolute;
  right: 0;
  top: -30%;
  width: 720px;
  height: 560px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(199, 217, 59, 0.18), transparent 66%);
}
.ft-h1 {
  margin-top: 14px;
}
.ft-h1 .h1-em {
  display: block;
  width: fit-content; /* 밑줄(::after)이 블록 폭 끝까지 그어지지 않게 — 글자 폭만큼(사장님 지적 09-09) */
}
.ft-shot-full img {
  max-height: none;
  object-fit: unset;
  max-width: 360px;
  margin-inline: auto;
}
.ft-hero .lede {
  margin-top: 18px;
}
.ft-hero .lede b {
  color: var(--ink);
  font-weight: 650;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.why {
  position: relative;
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 20px 20px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.why:hover {
  border-color: color-mix(in srgb, var(--accent) 36%, var(--line));
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}
.why b {
  font-family: var(--display);
  font-weight: 750;
  font-size: 16.5px;
  letter-spacing: -0.02em;
  line-height: 1.35;
  word-break: keep-all;
}
.why span {
  font-size: 14px;
  color: var(--ink-2);
  word-break: keep-all;
  line-height: 1.6;
}
.why.new {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  background: var(--accent-tint-2);
}
.why em {
  position: absolute;
  top: 12px;
  right: 12px;
  font-style: normal;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--accent-bright);
  color: var(--ink);
}

.ft-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding-top: clamp(28px, 4vw, 48px);
}
.ft-toc {
  position: sticky;
  top: 84px;
}
.ft-toc-h {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.ft-toc ol {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 2px;
  border-left: 1px solid var(--line);
}
.ft-toc a {
  display: block;
  padding: 6px 0 6px 14px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  font-size: 13.5px;
  color: var(--ink-2);
  text-decoration: none;
  word-break: keep-all;
  transition: color 0.15s, border-color 0.15s;
}
.ft-toc a:hover {
  color: var(--ink);
}
.ft-toc a.on {
  color: var(--ink);
  font-weight: 650;
  border-left-color: var(--accent-bright);
}
.ft-toc em,
.ft-new {
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--accent-bright);
  color: var(--ink);
  vertical-align: 2px;
  margin-left: 4px;
}
.ft-new {
  font-size: 11px;
  margin: 0 6px 0 0;
  vertical-align: 1px;
}
.ft-content {
  min-width: 0;
}
.ft {
  padding: clamp(28px, 4vw, 44px) 0 clamp(36px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 90px;
}
.ft.ft-last {
  border-bottom: 0;
}
.ft-eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.ft-h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.035em;
  line-height: 1.25;
  word-break: keep-all;
}
.ft-lede {
  margin-top: 14px;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink-2);
  max-width: 44em;
  word-break: keep-all;
}
.ft-lede b {
  color: var(--ink);
  font-weight: 650;
}
.ft-say {
  margin-top: 20px;
  padding: 16px 18px 14px;
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.ft-say-h {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.ft-say ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ft-say li {
  padding: 8px 13px;
  border-radius: 14px 14px 14px 4px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  word-break: keep-all;
  max-width: 100%;
}
.ft-say-note {
  color: var(--ink-3);
  font-size: 12.5px;
  margin-left: 4px;
}
.ft-shot {
  margin: 24px 0 0;
}
.ft-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgb(0 0 0 / 7%);
  background: var(--paper);
}
.ft-shot figcaption,
.ft-cap {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--ink-3);
  text-align: center;
  word-break: keep-all;
}
.ft-shot-narrow img {
  max-width: 560px;
  margin-inline: auto;
}
.ft-shot-tall img {
  max-height: 520px;
  object-fit: cover;
  object-position: top;
}
.ft-shot-pet img {
  border: 0;
  box-shadow: none;
  background: transparent;
  max-width: 260px;
}
.ft-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.ft-two-uneven {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
}
.ft-three {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.ft-three > div {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
}
.ft-three > div b {
  display: block;
  font-family: var(--display);
  font-weight: 750;
  font-size: 16px;
  margin-bottom: 6px;
}
.ft-three > div p {
  font-size: 14px;
  color: var(--ink-2);
  word-break: keep-all;
}
.ft-gallery .ft-shot {
  margin-top: 0;
}
.ft-gallery-tall .ft-shot img {
  max-height: 360px;
  object-fit: cover;
  object-position: top;
}
.ft-tips {
  list-style: none;
  padding: 0;
  margin-top: 22px;
  display: grid;
  gap: 10px;
}
.ft-tips li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  word-break: keep-all;
}
.ft-tips li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.66em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
}
.ft-tips li b {
  color: var(--ink);
  font-weight: 650;
}
.ft-tips-col {
  margin-top: 0;
}
.ft-tips-2col {
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}
.ft-fmts {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ft-fmts span {
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 13px;
  color: var(--ink-2);
}
.ft-plan {
  margin-top: 20px;
  max-width: 520px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.ft-plan-h {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}
.ft-plan p {
  font-size: 14.5px;
  color: var(--ink-2);
  word-break: keep-all;
}
.ft-plan-yes {
  display: inline-block;
  margin-top: 12px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 650;
}
.ft-small {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.ft-small > div {
  padding: 14px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
}
.ft-small b {
  display: block;
  font-size: 14.5px;
  margin-bottom: 4px;
  word-break: keep-all;
}
.ft-small p {
  font-size: 13.5px;
  color: var(--ink-2);
  word-break: keep-all;
}
.ft-flow {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.ft-flow-node {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
}
.ft-flow-node:first-child {
  border-color: color-mix(in srgb, var(--accent) 36%, var(--line));
  background: var(--accent-tint-2);
}
.ft-flow-node b {
  display: block;
  font-family: var(--display);
  font-weight: 750;
  font-size: 16px;
}
.ft-flow-node small {
  display: block;
  font-size: 12.5px;
  color: var(--accent);
  font-weight: 650;
  margin: 2px 0 10px;
}
.ft-flow-node ul {
  padding-left: 16px;
  display: grid;
  gap: 5px;
  font-size: 13.5px;
  color: var(--ink-2);
  word-break: keep-all;
}
.ft-flow-no {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  color: var(--seal);
  word-break: keep-all;
}
.ft-more {
  margin-top: 22px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.ft-more-note {
  font-size: 13.5px;
  color: var(--ink-3);
  word-break: keep-all;
}
.ft-start {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ft-start-card {
  padding: 22px 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  gap: 8px;
  align-content: start;
}
.ft-start-card b {
  font-family: var(--display);
  font-weight: 750;
  font-size: 18px;
}
.ft-start-card p {
  font-size: 14.5px;
  color: var(--ink-2);
  word-break: keep-all;
}
.ft-start-card .cta-row {
  margin-top: 8px;
}
@media (max-width: 1080px) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ft-small {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 900px) {
  .ft-layout {
    grid-template-columns: 1fr;
  }
  .ft-toc {
    position: static;
  }
  .ft-toc ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border-left: 0;
  }
  .ft-toc a {
    padding: 6px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    margin: 0;
  }
  .ft-toc a.on {
    border-color: var(--accent);
  }
  .ft-three,
  .ft-flow {
    grid-template-columns: 1fr;
  }
  .ft-tips-2col {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .why-grid,
  .ft-two,
  .ft-two-uneven,
  .ft-small,
  .ft-start {
    grid-template-columns: 1fr;
  }
  .ft-body .nav-links {
    display: none;
  }
}
.start-more {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

/* ── 홈 「이것도 있어요」 — 마이너 기능 4개 → 기능 소개 페이지 ── */
.more-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.more-card {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 14px 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.more-card:hover {
  border-color: color-mix(in srgb, var(--accent) 36%, var(--line));
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}
.more-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-2);
}
.more-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.more-thumb-plan {
  display: grid;
  place-items: center;
  padding: 4px 10px;
}
.more-plan {
  width: 100%;
  max-width: 250px;
  display: grid;
  gap: 6px;
  padding: 8px 12px 9px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  text-align: left;
  gap: 5px;
}
.more-plan b {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
}
.more-plan-b {
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--ink-2);
  word-break: keep-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.more-plan em {
  justify-self: start;
  font-style: normal;
  font-size: 10.5px;
  font-weight: 650;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
}
.more-card b {
  font-family: var(--display);
  font-weight: 750;
  font-size: 16px;
  letter-spacing: -0.02em;
  word-break: keep-all;
}
.more-card p {
  font-size: 14px;
  color: var(--ink-2);
  word-break: keep-all;
  line-height: 1.6;
}
@media (max-width: 1020px) {
  .more-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .more-grid {
    grid-template-columns: 1fr;
  }
}

.ft-reply {
  margin-top: 8px;
  padding: 8px 13px;
  border-radius: 14px 14px 4px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
  word-break: keep-all;
}

/* ── 한글 서식 채우기 실제 영상(09-09) ── */
.hwp-stage-video {
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  align-items: center;
}
.hwp-video {
  margin: 0;
}
.hwp-video video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--paper-2);
}
.hwp-video figcaption {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--ink-3);
  text-align: center;
  word-break: keep-all;
}
.ft-shot.hwp-video {
  margin-top: 24px;
}
@media (max-width: 940px) {
  .hwp-stage-video {
    grid-template-columns: 1fr;
  }
}

.hwp-video figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 14px;
}
.video-full {
  appearance: none;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  padding: 5px 11px 5px 9px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 650;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.video-full::before {
  content: '';
  width: 12px;
  height: 12px;
  border: 1.6px solid currentColor;
  border-radius: 3px;
  box-sizing: border-box;
  -webkit-mask: conic-gradient(from 0deg, #000 0 25%, transparent 0 50%, #000 0 75%, transparent 0) ;
}
.video-full:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-soft);
}
.hwp-video video:fullscreen,
.hwp-video video:-webkit-full-screen {
  border-radius: 0;
  border: 0;
  box-shadow: none;
  background: #000;
  object-fit: contain;
}
