/* ============================================================
   Dot. website v2 redesign (light single theme)
   Tokens from design handoff README (hifi)
   ============================================================ */

:root {
  --ink: #16141c;
  --ink-deep: #14121a;
  --ink-frame-2: #2a2734;
  --text-soft: #3d3b47;
  --text-body: #55525f;
  --text-muted: #6b6875;
  --text-dim: #8b8894;
  --text-faint: #a29fae;
  --line: #f0eff4;
  --surface: #f5f5f8;
  --surface-2: #f2f1f6;
  --rail-active: #f2f0fb;
  --accent: #6c47ff;
  --ez: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: #ffffff; }
body {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--ink);
}
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--text-body); }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; }
::selection { background: #e3dcff; }
.accent { color: var(--accent); }

@keyframes dotFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes dotFloatL { 0%, 100% { transform: translateY(22px) rotate(-5deg); } 50% { transform: translateY(8px) rotate(-5deg); } }
@keyframes dotFloatR { 0%, 100% { transform: translateY(22px) rotate(5deg); } 50% { transform: translateY(8px) rotate(5deg); } }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ez), transform .8s var(--ez); }
[data-reveal="16"] { transform: translateY(16px); transition-duration: .7s, .7s; }
[data-reveal="22"] { transform: translateY(22px); }
[data-reveal="26"] { transform: translateY(26px); transition-duration: .9s, .9s; }
[data-reveal="28"] { transform: translateY(28px); }
[data-reveal="36"] { transform: translateY(36px); transition-duration: .9s, .9s; }
[data-reveal="40"] { transform: translateY(40px); transition-duration: 1s, 1s; }
[data-reveal="44"] { transform: translateY(44px); transition-duration: 1.1s, 1.1s; }
[data-reveal].shown { opacity: 1; transform: none; }

.page { min-height: 100vh; background: #fff; overflow-x: clip; }

/* ---------- Header ---------- */
.hd {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, .82);
  border-bottom: 1px solid var(--line);
}
.hd-in {
  max-width: 1240px; margin: 0 auto; padding: 0 28px; height: 72px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 8px; font-size: 21px; font-weight: 800; letter-spacing: -0.03em; }
.brand img { height: 26px; width: auto; object-fit: contain; }
.nav { display: flex; justify-content: center; gap: 38px; font-size: 16px; font-weight: 600; color: var(--text-soft); white-space: nowrap; }
.nav a { color: inherit; }
.nav a:hover { color: var(--ink); }
.lang { display: flex; align-items: center; justify-content: flex-end; gap: 12px; font-size: 15px; font-weight: 700; }
.lang .sep { color: #dedce4; }
.lang button { border: 0; background: none; padding: 4px 2px; font-size: 15px; font-weight: 700; color: #c8c6d0; }
.lang button.on { color: var(--ink); }

/* ---------- Store buttons ---------- */
.btn-store {
  display: flex; align-items: center; gap: 10px;
  border-radius: 16px; padding: 15px 24px; font-size: 16px; font-weight: 700;
}
.btn-store svg { flex: none; display: block; }
.btn-store span { white-space: nowrap; }
.btn-store.ink { background: var(--ink); color: #fff; }
.btn-store.ink:hover { color: #fff; }
.btn-store.ghost { background: #fff; border: 1px solid #e6e4ec; color: var(--ink); }
.btn-store.ghost:hover { color: var(--ink); }
.btn-store.white { background: #fff; color: var(--ink); }
.btn-store.white:hover { color: var(--ink); }
.btn-store.glass { background: rgba(255, 255, 255, .14); color: #fff; }
.btn-store.glass:hover { color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 108px 24px 0; text-align: center; overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 34%, #f5f5f8 100%);
}
/* 히어로가 overflow:hidden이라 둥둥 뜬 폰 3대가 섹션 밑변에서 직선으로
   잘려 '바닥 선'처럼 보였다(대표 제보). 아래로 갈수록 배경색(#f5f5f8)으로
   녹아들게 해 잘린 단면을 감춘다. */
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: linear-gradient(180deg, rgba(245, 245, 248, 0) 0%,
              rgba(245, 245, 248, .82) 55%, #f5f5f8 100%);
  pointer-events: none; z-index: 3;
}
.hero-in { position: relative; max-width: 920px; margin: 0 auto; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid #ecebf1; border-radius: 999px; padding: 9px 16px;
  font-size: 14px; font-weight: 700; color: var(--text-soft);
}
.badge span:last-child { white-space: nowrap; }
.dot6 { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.dot7 { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.hero h1 {
  margin: 24px 0 0; font-size: clamp(46px, 7vw, 92px); font-weight: 800;
  letter-spacing: -0.05em; line-height: 1.06;
}
.hero .store-row { margin-top: 34px; }
.store-row { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

.phones-hero {
  margin: 68px auto 0; display: flex; justify-content: center; align-items: flex-end;
  gap: 20px; max-width: 760px;
}
.ph { border-radius: 34px; background: var(--ink-deep); padding: 6px; }
.ph img { display: block; width: 100%; object-fit: cover; object-position: top; border-radius: 28px; }
.phones-hero .ph { flex: 1; box-shadow: 0 40px 70px -30px rgba(26, 20, 52, .35); }
.phones-hero .ph img { aspect-ratio: 1080/1680; }
.fphone .ph { animation: dotFloat 8.4s ease-in-out infinite; }
.frow.flip .fphone .ph { animation-duration: 9.2s; animation-delay: -1.6s; }
.phones-dl .ph-l { animation: dotFloatL 9.4s ease-in-out infinite; }
.phones-dl .ph-r { animation: dotFloatR 10s ease-in-out infinite; }
.phones-hero .ph-l { animation: dotFloatL 9s ease-in-out infinite; }
.phones-hero .ph-r { animation: dotFloatR 9.6s ease-in-out infinite; }
.phones-hero .ph-c {
  flex: 1.14; border-radius: 38px; padding: 7px;
  animation: dotFloat 7s ease-in-out infinite;
  box-shadow: 0 50px 90px -30px rgba(26, 20, 52, .45);
}
.phones-hero .ph-c img { aspect-ratio: 1080/1790; border-radius: 31px; }

/* ---------- Trust chip strip ---------- */
.strip {
  /* 히어로 그라데이션 끝(#f5f5f8)과 같은 색으로 이어 붙여, 폰 3대 아래
     가로선처럼 보이던 경계를 없앤다(대표 제보). */
  background: #f5f5f8; padding: 44px 24px 64px;
}
.strip-in { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.trust-chip {
  display: flex; align-items: center; gap: 9px;
  background: #fff; border-radius: 999px; padding: 12px 18px;
  font-size: 15px; font-weight: 600; color: var(--text-soft);
}

/* ---------- Section labels & headings ---------- */
.label { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--text-dim); }

.feat-head { padding: 130px 24px 190px; } /* 01 소개와 확실히 떨어지게(대표 지시) */
.feat-head-in { max-width: 1180px; margin: 0 auto; text-align: center; }
.feat-head h2 {
  margin: 16px 0 0; font-size: clamp(34px, 5vw, 60px); font-weight: 800;
  letter-spacing: -0.045em; line-height: 1.14;
}

/* ---------- Feature rows ---------- */
.feat-rows { padding: 0 24px 40px; }
.frows { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; gap: 130px; }
.frow { display: grid; grid-template-columns: 1fr min(300px, 40vw); gap: 72px; align-items: center; }
.frow.flip { grid-template-columns: min(300px, 40vw) 1fr; }
.fnum { font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: .06em; }
.frow h3 {
  margin: 12px 0 0; font-size: clamp(28px, 3.6vw, 42px); font-weight: 800;
  letter-spacing: -0.04em; line-height: 1.2;
}
.frow .body {
  margin: 18px 0 0; font-size: 18px; line-height: 1.65; color: var(--text-muted);
  max-width: 460px; text-wrap: pretty;
}
.chips { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: var(--surface); border-radius: 10px; padding: 9px 13px;
  font-size: 14px; font-weight: 600; color: var(--text-body);
}
.fphone .ph { border-radius: 44px; padding: 8px; box-shadow: 0 40px 70px -28px rgba(26, 20, 52, .4); }
.fphone .ph img { aspect-ratio: 1080/2080; border-radius: 36px; }

/* ---------- Safety ---------- */
.safety { margin: 140px 0 0; background: var(--surface); padding: 110px 24px; }
.safety-in { max-width: 1120px; margin: 0 auto; }
.safety-head { max-width: 640px; }
.safety h2 {
  margin: 16px 0 0; font-size: clamp(32px, 4.6vw, 54px); font-weight: 800;
  letter-spacing: -0.045em; line-height: 1.16;
}
.scards { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.scard { background: #fff; border-radius: 24px; padding: 30px 26px; }
.scard .num { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .08em; }
.scard h4 { margin: 14px 0 0; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.scard p { margin: 10px 0 0; font-size: 16px; line-height: 1.6; color: var(--text-muted); }

/* ---------- Download CTA ---------- */
.dl { padding: 120px 24px 40px; }
/* 폰이 박스 밑변에서 직선으로 잘려 가로 선처럼 보였다(대표 제보).
   아래로 갈수록 박스 배경색으로 녹아들게 해 잘린 단면을 감춘다. */
.dl-box { position: relative; }
.dl-box::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 150px;
  background: linear-gradient(180deg, rgba(20, 18, 26, 0) 0%, rgba(20, 18, 26, .85) 55%, #14121a 100%);
  pointer-events: none; z-index: 2;
}
.dl-box {
  max-width: 1120px; margin: 0 auto; border-radius: 40px; background: var(--ink-deep);
  padding: 84px 40px 0; text-align: center; overflow: hidden;
}
.dl-box h2 {
  margin: 0; font-size: clamp(34px, 5vw, 60px); font-weight: 800;
  letter-spacing: -0.045em; line-height: 1.12; color: #fff;
}
.dl-box .sub { margin: 18px 0 0; font-size: 19px; line-height: 1.6; color: rgba(255, 255, 255, .7); }
.dl-box .store-row { margin-top: 32px; }
.phones-dl { margin: 56px auto -60px; display: flex; justify-content: center; gap: 20px; max-width: 620px; }
.phones-dl .ph { flex: 1; background: var(--ink-frame-2); }
.phones-dl .ph img { aspect-ratio: 1080/2080; }
.phones-dl .ph-l { transform: translateY(28px) rotate(-4deg); }
.phones-dl .ph-r { transform: translateY(28px) rotate(4deg); }

/* ---------- Footer ---------- */
.ft { margin-top: 40px; border-top: 1px solid var(--line); padding: 64px 24px 96px; }
.ft.doc-ft { margin-top: 0; padding: 64px 24px 56px; }
.ft-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.ft-brand .brand { font-size: 20px; }
.ft-brand .brand img { height: 24px; }
/* 태그라인은 한 줄로. max-width 260px 때문에 "앱"만 다음 줄로 떨어졌다. */
.ft-brand p { margin: 14px 0 0; max-width: 34ch; font-size: 15px; line-height: 1.6; color: var(--text-dim); word-break: keep-all; }
.ft h5 { margin: 0; font-size: 13px; font-weight: 700; color: var(--text-faint); }
.ft-links { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; font-weight: 600; }
.ft-links a { color: var(--text-body); }
.ft-links a:hover { color: var(--ink); }
.ft-bottom {
  max-width: 1180px; margin: 48px auto 0; padding-top: 24px; border-top: 1px solid #f4f3f7;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end;
  font-size: 13px; line-height: 1.7; color: var(--text-faint);
}
.ft-bottom.with-biz { justify-content: space-between; }
.ft-bottom a { color: var(--text-faint); }

/* ---------- Floating store bar ---------- */
.float-cta {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(24px);
  z-index: 90; display: flex; gap: 8px;
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid #eceaf2; border-radius: 999px; padding: 8px;
  box-shadow: 0 20px 44px -16px rgba(26, 20, 52, .28);
  opacity: 0; pointer-events: none;
  transition: opacity .45s ease, transform .45s var(--ez);
}
.float-cta.show { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.float-cta a {
  display: flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 11px 20px; font-size: 15px; font-weight: 700;
}
.float-cta a svg { flex: none; display: block; }
.float-cta a span { white-space: nowrap; }
.float-cta .f-ink { background: var(--ink); color: #fff; }
.float-cta .f-ink:hover { color: #fff; }
.float-cta .f-soft { background: var(--surface-2); color: var(--ink); }
.float-cta .f-soft:hover { color: var(--ink); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%) translateY(8px);
  z-index: 120; background: var(--ink); color: #fff; border-radius: 999px;
  padding: 12px 20px; font-size: 14px; font-weight: 600; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease, transform .3s var(--ez);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Docs page ---------- */
.doc-shell {
  max-width: 1180px; margin: 0 auto; padding: 56px 24px 100px;
  display: grid; grid-template-columns: 236px 1fr; gap: 64px; align-items: start;
}
.doc-rail { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 26px; }
.rail-home {
  display: block; padding: 9px 12px; border-radius: 12px;
  font-size: 15px; font-weight: 600; color: var(--text-body);
}
.rail-group-label { font-size: 12px; font-weight: 700; color: var(--text-faint); letter-spacing: .1em; }
.rail-items { margin-top: 12px; display: flex; flex-direction: column; gap: 2px; }
.rail-item {
  display: block; padding: 9px 12px; border-radius: 12px;
  font-size: 15px; font-weight: 600; color: var(--text-muted);
  transition: background .18s ease, color .18s ease;
}
.rail-item:hover { color: var(--ink); }
.rail-item.active { background: var(--rail-active); color: var(--ink); }
.doc-article { max-width: 760px; min-height: 60vh; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--text-dim); }
.doc-article h1 {
  margin: 16px 0 0; font-size: clamp(32px, 4.4vw, 50px); font-weight: 800;
  letter-spacing: -0.045em; line-height: 1.16;
}
.doc-desc { margin: 18px 0 0; font-size: 18px; line-height: 1.68; color: var(--text-muted); text-wrap: pretty; }
.doc-divider { margin: 44px 0 0; height: 1px; background: var(--line); }
.doc-sections { margin-top: 40px; display: flex; flex-direction: column; gap: 38px; }
.doc-sections h2 { margin: 0; font-size: 21px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.42; }
.doc-sections p { margin: 12px 0 0; font-size: 16px; line-height: 1.8; color: var(--text-body); white-space: pre-line; text-wrap: pretty; }
.contact-box {
  margin-top: 56px; padding: 26px 24px; background: var(--surface); border-radius: 20px;
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
}
.contact-box .msg { font-size: 14px; line-height: 1.6; color: var(--text-body); }
.contact-box .mail {
  background: var(--ink); color: #fff; border-radius: 12px; padding: 11px 18px;
  font-size: 15px; font-weight: 700;
}
.contact-box .mail:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hd-in {
    /* 모바일에서 메뉴 줄을 위로 올린다(대표 지시). 로고 줄 높이와 하단
       여백만 줄이고 히어로 등 다른 영역은 건드리지 않는다. */
    grid-template-columns: auto auto; grid-template-rows: 48px auto;
    height: auto; padding: 0 18px 6px;
  }
  .hd-in .brand { grid-row: 1; grid-column: 1; }
  .hd-in .lang { grid-row: 1; grid-column: 2; }
  .nav {
    /* 모바일에서 왼쪽에 붙어 보이던 것을 가운데로(대표 제보). 좁아서 넘칠
       때만 좌측 정렬로 자연스럽게 전환되도록 안쪽 여백을 auto로 준다. */
    grid-row: 2; grid-column: 1 / -1; justify-content: safe center;
    gap: 20px; font-size: 15px; overflow-x: auto; scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .nav::-webkit-scrollbar { display: none; }
  .frow, .frow.flip { grid-template-columns: 1fr; gap: 32px; justify-items: center; }
  .frow > div { width: 100%; max-width: 460px; }
  .frow.flip .fphone { order: 2; }
  .frow .fphone { max-width: 280px; }
  .frows { gap: 84px; }
  .feat-head { padding: 96px 24px 130px; } /* 모바일도 확실히 */
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .phones-hero, .phones-dl { gap: 10px; }
  .dl-box { padding: 56px 20px 0; border-radius: 28px; }
  /* 모바일에선 폰 아랫부분이 너무 일찍 잘려 보였다(대표 제보).
     위로 올리고(-margin 축소) 페이드도 낮춰 더 많이 보이게 한다. */
  .phones-dl { margin: 26px auto 0; }
  .dl-box::after { height: 84px; }
  .doc-shell { grid-template-columns: 1fr; gap: 24px; }
  /* 문서 페이지 모바일: 상단 마케팅 내비를 숨긴다(가로로 잘려 보이고,
     이 화면에서는 아래 문서 목차가 내비 역할을 한다). */
  .hd-doc .nav { display: none; }
  .hd-doc .hd-in {
    grid-template-columns: auto auto; grid-template-rows: 58px;
    height: 58px; padding: 0 18px; align-items: center;
  }
  /* 문서 목차는 세로 긴 목록 → 가로 스크롤 칩 스트립으로(본문이 바로 보이게) */
  .doc-rail {
    position: static; flex-direction: row; align-items: center;
    gap: 8px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none;
    padding-bottom: 2px; -webkit-overflow-scrolling: touch;
    /* 손가락으로 좌우로 밀 수 있게(대표 제보: 스와이프가 안 됨).
       touch-action을 명시하지 않으면 세로 스크롤 제스처에 먹힌다. */
    touch-action: pan-x;
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
    flex-wrap: nowrap;
  }
  .doc-rail .rail-home, .doc-rail .rail-item { scroll-snap-align: start; }
  .doc-rail::-webkit-scrollbar { display: none; }
  .doc-rail .rail-group { display: flex; align-items: center; gap: 8px; }
  .doc-rail .rail-group-label { display: none; }
  .doc-rail .rail-items { margin-top: 0; flex-direction: row; gap: 8px; }
  .doc-rail .rail-home,
  .doc-rail .rail-item {
    flex: 0 0 auto; white-space: nowrap;
    padding: 9px 14px; border-radius: 999px;
    background: var(--surface-soft, #f5f5f8); font-size: 14px;
  }
  .doc-rail .rail-item.active { background: var(--rail-active); font-weight: 700; }
}
@media (max-width: 560px) {
  .ft-grid { grid-template-columns: 1fr; gap: 24px; }
  /* 예전엔 좌우 폰을 숨겨 모바일에선 1대만 보이고 둥둥 애니메이션도
     사라졌다(대표 제보) → 3대 유지하고 크기만 줄인다. */
  .phones-hero { gap: 7px; max-width: 100%; }
  .phones-hero .ph { border-radius: 22px; padding: 4px; }
  .phones-hero .ph img { border-radius: 18px; }
  .phones-hero .ph-c { border-radius: 24px; padding: 5px; }
  .phones-hero .ph-c img { border-radius: 20px; }
}

/* 한글 본문 줄바꿈: 기본(normal) 규칙이 한국어에선 음절 단위로 붙어
   오른쪽 끝이 가장 촘촘하다. keep-all은 긴 어절 때문에 줄이 일찍 끊겨
   우측이 크게 비었다(대표 제보). 제목만 어절 유지, 본문은 기본값. */
body { word-break: normal; overflow-wrap: anywhere; }
h1, h2, h3, .hero-title { word-break: keep-all; }

@media (max-width: 420px) {
  /* 좁은 화면에서도 태그라인 한 줄 유지(대표 지시) */
  .ft-brand p { font-size: 13.5px; max-width: none; }
}

/* 시스템에서 모션 줄이기를 켠 사용자에겐 애니메이션을 멈춘다. */
@media (prefers-reduced-motion: reduce) {
  .phones-hero .ph, .phones-dl .ph, .fphone .ph { animation: none !important; }
  [data-reveal] { transition: none !important; }
}

/* ---------- FAQ 아코디언 ---------- */
/* 질문을 누르면 바로 아래에 답이 펼쳐진다(페이지 전환 없음). */
.doc-faq { display: flex; flex-direction: column; gap: 10px; }
.doc-faq .qa {
  border: 1px solid var(--line); border-radius: 18px; background: #fff;
  transition: border-color .25s var(--ez), box-shadow .25s var(--ez), background .25s var(--ez);
}
.doc-faq .qa:hover { border-color: #dedce6; }
.doc-faq .qa.open {
  border-color: transparent; background: #fff;
  box-shadow: 0 18px 40px -26px rgba(26, 20, 52, .28);
}
.doc-faq .qa-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: inherit; font-size: 17px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--ink); line-height: 1.45;
}
.doc-faq .qa-i {
  position: relative; flex: 0 0 auto; width: 18px; height: 18px;
  transition: transform .28s var(--ez);
}
.doc-faq .qa-i::before, .doc-faq .qa-i::after {
  content: ''; position: absolute; background: var(--text-soft); border-radius: 2px;
  transition: opacity .28s var(--ez), background .28s var(--ez);
}
.doc-faq .qa-i::before { left: 0; right: 0; top: 8px; height: 2px; }
.doc-faq .qa-i::after { top: 0; bottom: 0; left: 8px; width: 2px; }
.doc-faq .qa.open .qa-i { transform: rotate(180deg); }
.doc-faq .qa.open .qa-i::after { opacity: 0; }
.doc-faq .qa.open .qa-i::before { background: var(--ink); }
.doc-faq .qa-a { max-height: 0; overflow: hidden; transition: max-height .34s var(--ez); }
.doc-faq .qa-a-in { padding: 0 22px 22px; }
.doc-faq .qa-a p {
  margin: 0; font-size: 16px; line-height: 1.75; color: var(--text-soft);
}
@media (max-width: 560px) {
  .doc-faq .qa-q { padding: 17px 18px; font-size: 16px; }
  .doc-faq .qa-a-in { padding: 0 18px 18px; }
  .doc-faq .qa-a p { font-size: 15px; }
}

/* 문서 목차 칩을 마우스로 끌 수 있게(데스크톱에서 스크롤바가 숨겨져 있음) */
.doc-rail { cursor: grab; }
.doc-rail.dragging { cursor: grabbing; user-select: none; }
.doc-rail.dragging .rail-item, .doc-rail.dragging .rail-home { pointer-events: none; }
