/* 이음보 — styles-v7.css
   dots(chatgpt.com/ko-KR/features/dots) 뼈대 + 채널톡식 이득 문구. 데모와 같은 토큰을 쓴다.
   흰 바탕, 검은 알약 버튼, 연한 색은 큰 둥근 판에만. 그림자·그라데이션·흐림 없음. */

:root {
  --bg: #ffffff;
  --face: #f6f6f4;
  --line: #e6e6e2;
  --ink: #141414;
  --ink-2: #5c5c57;
  --accent: #b6452c;
  --brand: #0b7a5a; /* 이음보 로고·워드마크 초록(2026-11-11 C안) */

  --yellow: #fff5d1;
  --pink: #fde7ee;
  --sky: #e1f0ff;
  --violet: #efe8fb;
  --mint: #e2f4ea;

  --btn-2: #ededea;
  --btn-2-hover: #e2e2de;

  --r-board: 32px;
  --r-board-lg: 36px;
  --r-card: 28px;
  --r-control: 14px;

  --wrap: 1200px;
  --gutter: 20px;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", sans-serif;

  /* 흰 바탕 전용 디자인이라, 색을 선언하지 않은 사이트에 브라우저가 강제로 입히는
     다크 모드(iOS Safari "자동 반전", 안드로이드 Chrome 강제 다크 등)를 끈다. */
  color-scheme: light only;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  /* 레이아웃 뷰포트는 device-width 그대로 두고, 안에서 넘치는 내용만 자른다.
     overflow-x:hidden 을 먼저 두고(옛 브라우저 대비), clip 을 아는 브라우저는 뒤 선언으로 바꿔 쓴다. */
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  /* break-word 는 긴 단어(URL·이메일 등)를 "줄바꿈 최후 수단"으로만 다뤄 grid/flex
     트랙의 min-content 폭을 그 단어 길이만큼 그대로 바닥에 깐다. anywhere 는 그 단어의
     최소 기여폭 자체를 줄여, 좁은 화면에서 레이아웃 뷰포트가 늘어나지 않게 한다. */
  overflow-wrap: anywhere;
  overflow-x: hidden;
  overflow-x: clip;
}

img, iframe { max-width: 100%; }
img { display: block; }

h1, h2, h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p { margin: 0; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 8px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ink); color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.br-desk { display: none; }
@media (min-width: 900px) { .br-desk { display: inline; } }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #2e2e2c; }
.btn-secondary { background: var(--btn-2); color: var(--ink); }
.btn-secondary:hover { background: var(--btn-2-hover); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 18px; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 16px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: default; }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  text-underline-offset: 4px;
}

/* 새 탭에서 열리는 링크 안내(시각 + 스크린리더 공통, 본문 텍스트라 둘 다에 전달된다) */
.tab-note { font-size: .82em; font-weight: 500; color: var(--ink-2); }
.btn .tab-note { color: inherit; opacity: .7; }

.eyebrow {
  margin-bottom: 14px;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0;
}

/* ---------- 머리말 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  /* 완전히 불투명한 흰 바탕. 반투명(rgba .96)이면 스크롤로 머리말 뒤를 지나는
     내용(가격 줄·데모 선택판 등)의 글자가 살짝 비쳐 보인다. */
  background: #ffffff;
  border-bottom: 1px solid transparent;
}
.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--ink);
}
.logo-mark { height: 28px; width: auto; color: var(--brand); display: block; }
.site-nav { flex: 1; display: none; justify-content: center; }
.site-nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
}
.site-nav a:hover { color: var(--ink); background: var(--face); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-2);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 8px var(--gutter) 20px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-child { border-bottom: 0; }
@media (min-width: 1000px) {
  .site-nav { display: flex; }
  .header-actions { margin-left: 0; }
  .nav-toggle, .mobile-nav, .mobile-nav.is-open { display: none; }
}

/* ---------- 1. 첫 화면 ---------- */
.hero { padding: 56px 0 56px; text-align: center; }
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-char { width: 160px; height: 160px; margin-bottom: 16px; }
.hero-tag {
  margin-bottom: 14px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--face);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
}
.hero-title {
  font-size: clamp(40px, 6.2vw, 80px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.04em;
}
.hero-sub {
  margin-top: 24px;
  max-width: 30em;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.5;
  font-weight: 400;
  color: var(--ink-2);
  letter-spacing: -0.02em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}
.hero-highlights {
  margin-top: 28px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-2);
}
.hero-highlights a {
  margin-left: 8px;
  font-weight: 700;
  color: var(--ink);
  text-underline-offset: 3px;
}
@media (min-width: 768px) {
  .hero { padding: 88px 0 80px; }
  .hero-char { width: 184px; height: 184px; }
}

/* ---------- 히어로: 데모 확인하기 선택판 ---------- */
.demo-popover-wrap { position: relative; display: inline-flex; }
.demo-popover-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: block;
  border: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  cursor: default;
}
.demo-popover-backdrop[hidden] { display: none; }
.demo-popover {
  position: absolute;
  z-index: 61;
  top: calc(100% + 12px);
  left: 50%;
  width: min(420px, 86vw);
  opacity: 0;
  transform: translate(-50%, -8px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  text-align: left;
}
.demo-popover[hidden] { display: none; }
.demo-popover.is-open { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.demo-popover-sheet {
  position: relative;
  padding: 22px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
}
.demo-popover-title { margin: 0 44px 14px 2px; font-size: 16px; font-weight: 700; color: var(--ink); }
.demo-popover-options { display: flex; flex-direction: column; gap: 10px; }
.demo-popover-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  text-decoration: none;
  color: var(--ink);
}
.demo-popover-option:hover { background: var(--face); }
.demo-popover-option img {
  width: 64px;
  height: 64px;
  flex: none;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  background: var(--face);
}
.demo-popover-text { display: flex; flex-direction: column; gap: 4px; }
.demo-popover-text strong { font-size: 15px; font-weight: 700; line-height: 1.35; }
.demo-popover-text em { font-style: normal; font-size: 13px; color: var(--ink-2); line-height: 1.4; }
.demo-popover-close {
  position: absolute;
  top: 10px; right: 10px;
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--face);
  color: var(--ink);
  cursor: pointer;
}
.demo-popover-close svg { width: 18px; height: 18px; }
@media (max-width: 640px) {
  .demo-popover {
    position: fixed;
    left: 0; right: 0; bottom: 0; top: auto;
    width: 100%;
    transform: translateY(16px);
  }
  .demo-popover.is-open { transform: translateY(0); }
  .demo-popover-sheet {
    border-radius: 24px 24px 0 0;
    border-bottom: 0;
    padding: 20px 20px max(20px, env(safe-area-inset-bottom));
  }
  .demo-popover-backdrop:not([hidden]) { background: rgba(20, 20, 20, .4); }
}
@media (prefers-reduced-motion: reduce) {
  .demo-popover { transition: none; }
}

/* ---------- 휴대폰 틀 (공통) ---------- */
.phone {
  width: 248px;
  padding: 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 38px;
}
.phone-screen {
  position: relative;
  aspect-ratio: 390 / 720;
  border-radius: 31px;
  overflow: hidden;
  background: var(--face);
}
.shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  z-index: 1;
  color: transparent;
}
.shot-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-2);
}
.is-missing .shot { display: none; }
.is-loaded .shot-ph { visibility: hidden; }

/* 예시 화면 꼬리표: 판 위에 따로 있던 "예시 화면입니다" 캡션 대신, 그림 오른쪽 아래
   모서리에 작게 둔다(사용자 지시: "너무 대놓고 있으면 안 됨"). */
.shot-tag {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 3;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .74);
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.01em;
  pointer-events: none;
  white-space: nowrap;
}

/* ---------- 2. 큰 판: 실제 동작하는 예시 ---------- */
.demo-section { padding: 8px 0 24px; }
.demo-board {
  display: grid;
  /* 명시한 열이 없으면 "auto" 트랙이 자식의 max-content 폭(글자를 안 줄인 한 줄 폭)으로
     잡혀, 좁은 화면에서 판 밖으로 글자가 넘친다. 기본은 폭에 맞춘 한 칸으로 잡아 둔다. */
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  padding: 36px 22px 40px;
  border-radius: var(--r-board-lg);
  background: var(--ink);
  color: #fff;
}
.demo-board :focus-visible { outline-color: #fff; }
.demo-copy h2 {
  margin-top: 14px;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.22;
}
.demo-lead { margin-top: 18px; color: #d6d6d0; max-width: 28em; }
.demo-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; }
.demo-chips-label { font-size: 15px; color: #c9c9c3; margin-right: 4px; }
.chip {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #45453f;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.chip:hover { background: #26261f; }
.demo-steps {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  border-top: 1px solid #33332e;
}
.demo-steps li {
  counter-increment: step;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  border-bottom: 1px solid #33332e;
  font-size: 17px;
  color: #ecece6;
}
.demo-steps li::before {
  content: counter(step);
  flex: none;
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}
.demo-ebook-link { display: inline-flex; margin-top: 18px; color: #fff; }
.demo-phone-wrap { display: flex; justify-content: center; }

.phone--live { width: min(100%, 340px); padding: 8px; border: 0; }
.phone--live .phone-screen {
  aspect-ratio: auto;
  height: 520px;
  background: #fff;
  color: var(--ink);
  display: flex;
  flex-direction: column;
}
.phone-topbar { padding: 22px 18px 14px; border-bottom: 1px solid var(--line); }
.phone-clan { font-size: 15px; font-weight: 700; color: var(--ink-2); margin-bottom: 10px; }
.phone-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--face);
}
.phone-search:focus-within { outline: 3px solid var(--ink); outline-offset: 2px; }
.phone-search svg { width: 20px; height: 20px; flex: none; color: var(--ink-2); }
.phone-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 18px;
  color: var(--ink);
  outline: none;
}
.phone-search input::placeholder { color: #75756f; }
.phone-body { flex: 1; min-height: 0; overflow-y: auto; padding: 10px 10px 16px; }
.result-list { list-style: none; margin: 0; padding: 0; }
.result-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-height: 64px;
  padding: 10px 12px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  font: inherit;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.result-item:hover { background: var(--face); }
.result-item .gen { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.result-empty { padding: 16px 12px; font-size: 17px; color: var(--ink-2); }

.chain-view { display: none; }
.chain-view.is-open { display: block; }
.chain-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  padding: 0 14px 0 8px;
  margin: 2px 0 6px;
  border: 0;
  border-radius: 999px;
  background: var(--face);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.chain-back svg { width: 20px; height: 20px; }
.chain-list { position: relative; padding: 4px 6px; --gen-w: 76px; }
.chain-list::before {
  content: "";
  position: absolute;
  left: calc(6px + var(--gen-w) + 7px);
  top: 22px; bottom: 22px;
  width: 2px;
  background: var(--line);
}
.chain-item {
  display: grid;
  grid-template-columns: var(--gen-w) minmax(0, 1fr);
  align-items: center;
  min-height: 40px;
  font-size: 17px;
  font-weight: 600;
}
.chain-gen { font-size: 15px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.chain-name { position: relative; display: flex; align-items: center; gap: 8px; padding-left: 30px; }
.chain-name::before {
  content: "";
  position: absolute;
  left: 2px; top: 50%;
  width: 12px; height: 12px;
  margin-top: -6px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid #b9b9b3;
}
.chain-item.is-self .chain-name::before { background: var(--ink); border-color: var(--ink); }
.chain-item.is-self { font-weight: 800; }
.chain-name em {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}
.chain-actions { padding: 12px 4px 4px; }
.chain-actions button {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
}
.original-page { display: none; margin: 12px 4px 0; }
.original-page.is-open { display: block; }
.original-page figcaption { margin-top: 8px; font-size: 14px; color: var(--ink-2); }

@media (min-width: 900px) {
  .demo-section { padding-bottom: 40px; }
  .demo-board {
    grid-template-columns: minmax(0, 1fr) 380px;
    align-items: center;
    gap: 64px;
    padding: 72px 80px;
  }
  .demo-phone-wrap { justify-content: flex-end; }
  .phone--live .phone-screen { height: 600px; }
}

/* HOLD-PATENT: 원문·풀이 비교 판 CSS, 특허 출원 전 보류. 원본은 site/_hold/compare-section.css. 사용자 결정 2026-11-12 */

/* ---------- 구획 머리 (가운데) ---------- */
.section-head { text-align: center; max-width: 820px; margin: 0 auto; }
.section-head h2 {
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}
.section-head h2.display-2 { font-size: clamp(36px, 4.2vw, 56px); }
.section-head p {
  text-wrap: balance;
  margin-top: 20px;
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.55;
  font-weight: 400;
  color: var(--ink-2);
}

/* ---------- 3. 이음보 시작하기 ---------- */
.start-section { padding: 96px 0 40px; }
.start-section .section-head { margin-bottom: 56px; }
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  margin-bottom: 64px;
}
.feature-board {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
  padding: 64px 20px 48px;
  border-radius: var(--r-board);
}
.board--yellow { background: var(--yellow); }
.board--pink { background: var(--pink); }
.board--sky { background: var(--sky); }
.board--violet { background: var(--violet); }
.board--mint { background: var(--mint); }
.board--face { background: var(--face); }

/* 판마다 다른 구도를 만드는 공통 규칙: 화면 조각을 키워 판 아래 가장자리에서 자른다.
   예시 화면 표시는 그림 오른쪽 아래의 .shot-tag 꼬리표로 한다(별도 캡션 줄 없음). */
.feature-board.board-crop { align-items: flex-end; padding-bottom: 0; }

.feature-copy h3 {
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.03em;
}
.feature-copy > p:not(.eyebrow) { margin-top: 18px; color: var(--ink-2); }
.feature-copy .feature-note { font-size: 17px; }
.feature-copy .btn { margin-top: 28px; }

/* 판 1·2: 휴대폰 틀 없이, 화면 조각만 키워 판 아래에서 자른다 */
.board-shot {
  position: relative;
  z-index: 2;
  width: min(84vw, 320px);
  height: 320px;
  overflow: hidden;
  border-radius: 28px 28px 0 0;
  background: var(--face);
  outline: 1px solid rgba(20, 20, 20, .08);
}
.board-shot .shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.board-shot--crop-bottom { margin-bottom: -40px; }

/* 판 2: 등재·정정 흐름(종원이 올림 → 담당자 승인 → 족보 반영) */
.approve-flow { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.approve-step { width: min(74vw, 260px); display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.approve-step-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}
.approve-num {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.approve-num svg { width: 15px; height: 15px; }
.approve-shot {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--face);
  outline: 1px solid rgba(20, 20, 20, .08);
}
.approve-shot .shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.approve-arrow { color: var(--ink-2); }
.approve-arrow svg { width: 20px; height: 20px; display: block; }
.approve-step--done { width: auto; flex-direction: row; align-items: center; }

/* 판 4: 문중 홈페이지. 휴대폰·PC 화면을 겹쳐 둔다(캡처가 들어오면 shots.js 가 자리표시를 숨긴다) */
.site-shots { position: relative; z-index: 2; width: min(82vw, 280px); }
.site-shot-desktop {
  position: relative;
  width: 100%;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  border-radius: 18px;
  background: var(--face);
  outline: 1px solid rgba(20, 20, 20, .08);
}
.site-shot-desktop .shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
/* 겹쳐 올린 휴대폰 틀이 PC 화면의 오른쪽 아래 모서리를 가리므로, 그 꼬리표는 왼쪽 아래로 둔다 */
.site-shot-desktop .shot-tag { right: auto; left: 8px; }
.phone.site-shot-phone {
  position: absolute;
  right: -16px;
  bottom: -30px;
  z-index: 3;
  width: 100px;
  padding: 5px;
  border-radius: 20px;
}
.site-shot-phone .phone-screen { border-radius: 15px; }

.peek {
  position: absolute;
  z-index: 2;
  width: 132px;
  height: auto;
  pointer-events: none;
}
.peek--bl { left: 14px; bottom: -40px; }

/* 판 3: 옮기기 진행 카드 (HTML 견본). 오른쪽 밖으로 살짝 빠져 잘리게 둔다 */
.migrate-card {
  position: relative;
  z-index: 2;
  width: min(100%, 400px);
  padding: 28px 24px;
  background: #fff;
  border-radius: var(--r-card);
}
.migrate-card--out { margin-right: -36px; }
.migrate-title { font-size: 19px; font-weight: 700; margin-bottom: 14px; }
.migrate-steps { list-style: none; margin: 0; padding: 0; }
.migrate-steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  border-top: 1px solid var(--line);
}
.migrate-steps li > span:last-child { display: flex; flex-direction: column; line-height: 1.35; width: 100%; }
.migrate-steps strong { font-size: 17px; font-weight: 600; }
.migrate-steps em { font-style: normal; font-size: 15px; color: var(--ink-2); }
.step-mark {
  flex: none;
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 2px solid #c9c9c3;
}
.step-mark svg { display: none; }
.is-done .step-mark { background: var(--ink); border-color: var(--ink); color: #fff; }
.is-done .step-mark svg { display: block; width: 16px; height: 16px; }
.is-active .step-mark { border-color: var(--ink); }
.is-active .step-mark::after { content: ""; width: 10px; height: 10px; border-radius: 999px; background: var(--accent); }
.is-active strong { font-weight: 700; }

/* 족보 이관 애니메이션: 대기 중인 단계는 옅게, 진행 중·끝난 단계는 또렷하게 */
.migrate-step { opacity: .4; transition: opacity .35s ease; }
.migrate-step.is-active, .migrate-step.is-done { opacity: 1; }
.migrate-step-body { display: flex; flex-direction: column; width: 100%; }
.migrate-progress {
  display: block;
  margin-top: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.migrate-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 999px;
  transition: width 1.4s ease;
}
.migrate-example-tag { font-weight: 400; }
.migrate-stack { display: flex; align-items: flex-end; gap: 4px; height: 26px; margin-top: 8px; }
.migrate-stack span {
  display: block;
  width: 7px;
  height: 0;
  background: var(--accent);
  border-radius: 2px 2px 0 0;
  transition: height .5s ease;
}
.migrate-stack.is-grown span:nth-child(1) { height: 10px; transition-delay: 0s; }
.migrate-stack.is-grown span:nth-child(2) { height: 15px; transition-delay: .08s; }
.migrate-stack.is-grown span:nth-child(3) { height: 20px; transition-delay: .16s; }
.migrate-stack.is-grown span:nth-child(4) { height: 24px; transition-delay: .24s; }
.migrate-stack.is-grown span:nth-child(5) { height: 26px; transition-delay: .32s; }
.migrate-replay { margin-top: 20px; }
.migrate-replay[hidden] { display: none; }

.line-list { list-style: none; margin: 22px 0 0; padding: 0; }
.line-list li { padding: 16px 0; border-top: 1px solid var(--line); }
.line-list li:last-child { border-bottom: 1px solid var(--line); }
.line-list strong { display: block; font-size: 17px; margin-bottom: 4px; }
.line-list span { display: block; font-size: 17px; color: var(--ink-2); }

@media (min-width: 900px) {
  .start-section { padding-top: 140px; }
  .start-section .section-head { margin-bottom: 80px; }
  .feature {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: center;
    gap: 64px;
    margin-bottom: 40px;
  }
  .feature--flip { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .feature--flip .feature-board { order: 2; }
  .feature--flip .feature-copy { order: 1; }
  .feature-board { min-height: 560px; padding: 72px 40px 56px; }
  .feature-board.board-crop { padding-bottom: 0; }
  .board-shot { width: 400px; height: 440px; }
  .approve-step { width: 280px; }
  .approve-shot { height: 300px; }
  .site-shots { width: 320px; }
  .phone.site-shot-phone { width: 126px; right: -22px; bottom: -38px; border-radius: 26px; }
  .site-shot-phone .phone-screen { border-radius: 20px; }
  .peek { width: 156px; }
  .peek--bl { left: 28px; bottom: -48px; }
  .migrate-card--out { margin-right: -72px; }
}

/* ---------- 4. 살펴보기 (가로로 넘기는 판) ---------- */
.explore-section { padding: 120px 0 40px; }
.explore-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.explore-head h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}
.explore-head p {
  text-wrap: balance;
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink-2);
  max-width: 22em;
}
.explore-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 48px;
}
.explore-label { font-size: 18px; font-weight: 600; color: var(--ink-2); }
.explore-nav { display: flex; gap: 10px; }
.explore-nav button {
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.explore-nav button svg { width: 22px; height: 22px; }
.explore-nav button:hover:not(:disabled) { background: var(--face); }
.explore-nav button:disabled { color: #b4b4ae; cursor: default; }

.explore-track {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  padding: 4px max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  scrollbar-width: none;
}
.explore-track::-webkit-scrollbar { display: none; }
.explore-track:focus-visible { outline-offset: -3px; border-radius: 0; }
.explore-card {
  flex: none;
  width: min(84vw, 460px);
  scroll-snap-align: start;
}
.explore-card--wide { width: min(84vw, 560px); }
.explore-board {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 380px;
  padding: 56px 24px 24px;
  border-radius: var(--r-card);
}
.explore-card h3 {
  margin-top: 24px;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.025em;
}
.explore-card > p { margin-top: 12px; color: var(--ink-2); font-size: 17px; }
.explore-card .explore-card-note { font-size: 17px; color: var(--ink-2); padding-top: 12px; border-top: 1px solid var(--line); }
.book-board { position: relative; padding: 0; align-items: stretch; }
.book-spread-shot { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.phone--small { width: 190px; padding: 6px; border-radius: 30px; }
.phone--small .phone-screen { border-radius: 24px; }
.explore-card .board--pink { align-items: flex-start; padding-top: 64px; }

.blog-board { gap: 14px; }
.blog-thumb { display: block; width: 46%; border-radius: 18px; overflow: hidden; background: #fff; }
.blog-thumb img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.explore-blog-list { list-style: none; margin: 12px 0 0; padding: 0; }
.explore-blog-list li { border-top: 1px solid var(--line); }
.explore-blog-list a {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 8px 0;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}
.explore-blog-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.explore-blog-list li:last-child { border-bottom: 1px solid var(--line); }
.explore-card .text-link { margin-top: 8px; }

/* 띠 보기 판 */
.zodiac-board {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 14px;
  height: auto;
  min-height: 380px;
  padding: 28px 24px 24px;
}
.zodiac-form label { display: block; font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.zodiac-input-row { display: flex; gap: 8px; }
.zodiac-input-row input {
  flex: 1;
  min-width: 0;
  height: 52px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 18px;
  color: var(--ink);
}
.zodiac-input-row .btn { min-height: 52px; }
/* 결과를 보기 전: 격자(12마리) 대신 작은 안내 캐릭터 하나만 둔다 */
.zodiac-placeholder { display: flex; align-items: center; gap: 14px; padding: 10px 14px; color: var(--ink-2); }
.zodiac-placeholder[hidden] { display: none; }
.zodiac-placeholder img { width: 84px; height: 84px; object-fit: contain; flex: none; }
.zodiac-placeholder p { font-size: 15px; }
.zodiac-reveal {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: #fff;
  border-radius: 22px;
}
.zodiac-reveal[hidden] { display: none; }
.zodiac-reveal-img { width: 84px; height: 84px; object-fit: contain; flex: none; }
.zodiac-reveal-name { font-size: 20px; font-weight: 700; }
.zodiac-reveal-role { font-size: 15px; color: var(--ink-2); }
.zodiac-result { font-size: 17px; color: var(--ink-2); min-height: 0; }
.zodiac-result:empty { display: none; }
/* 결과 판이 보일 때 같은 내용의 문장은 화면 읽기용으로만 남긴다 */
.zodiac-reveal:not([hidden]) + .zodiac-result {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.zodiac-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}
.zodiac-grid[hidden] { display: none; }
.zodiac-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 2px 4px;
  border-radius: 16px;
}
.zodiac-badge img { width: 100%; max-width: 56px; aspect-ratio: 1; object-fit: contain; }
.zodiac-badge .z-name { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.zodiac-badge.is-active { background: #fff; outline: 2px solid var(--ink); }
.zodiac-badge.is-active .z-name { color: var(--ink); }

@media (min-width: 900px) {
  .explore-section { padding-top: 160px; }
  .explore-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 64px; }
  .explore-card { width: 520px; }
  .explore-card--wide { width: 580px; }
  .explore-track { gap: 24px; }
}

/* ---------- 5. 안심 ---------- */
.assurance-section { padding: 120px 0 40px; }
.assurance-icon { width: 52px; height: 52px; margin: 0 auto 24px; display: block; }
.assurance-board {
  position: relative;
  max-width: 980px;
  margin: 112px auto 0;
  padding: 16px 24px;
  border-radius: var(--r-board);
  background: var(--face);
}
.assurance-row { padding: 24px 0; border-top: 1px solid var(--line); }
.assurance-row:first-of-type { border-top: 0; }
.assurance-row h3 { font-size: 22px; letter-spacing: -0.02em; }
.assurance-row p { margin-top: 10px; color: var(--ink-2); font-size: 17px; }
.assurance-row a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
@media (min-width: 900px) {
  .assurance-section { padding-top: 180px; }
  .assurance-board { padding: 24px 56px; }
  .assurance-row { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; padding: 32px 0; }
  .assurance-row p { margin-top: 0; font-size: 18px; }
}

/* ---------- 6. 가격 ---------- */
.pricing-section { padding: 120px 0 40px; }
.price { text-align: center; max-width: 880px; margin: 0 auto; }
.price h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.03em;
}
.price-figure {
  margin-top: 20px;
  font-size: clamp(56px, 8vw, 112px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.price-unit { font-size: .34em; font-weight: 700; letter-spacing: -0.02em; vertical-align: .9em; margin-right: .12em; }
.price-vat { margin-top: 16px; font-size: 19px; font-weight: 600; color: var(--ink-2); }
.price-zero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.price-zero li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "label value" "note value";
  align-items: center;
  column-gap: 16px;
  padding: 16px 4px;
  border-top: 1px solid var(--line);
}
.price-zero li:first-child { border-top: 0; }
.price-zero span { grid-area: label; font-size: 18px; font-weight: 600; }
.price-zero strong { grid-area: value; font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.price-zero em { grid-area: note; font-style: normal; font-size: 15px; color: var(--ink-2); }
.price-note { margin: 20px auto 0; max-width: 40em; font-size: 17px; color: var(--ink-2); }
.price .btn { margin-top: 36px; }
@media (min-width: 900px) {
  .pricing-section { padding-top: 180px; }
  .price-zero { grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; }
  .price-zero li {
    grid-template-columns: 1fr;
    grid-template-areas: "label" "value" "note";
    row-gap: 4px;
    padding: 28px 12px;
    border-top: 0;
    border-left: 1px solid var(--line);
  }
  .price-zero li:first-child { border-left: 0; }
  .price-zero strong { font-size: 40px; }
}

/* ---------- 7. 문중의 하루 ---------- */
.daily-section { padding: 120px 0 40px; }
.daily-list { list-style: none; margin: 56px auto 0; padding: 0; max-width: 860px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.bubble-row { display: flex; align-items: flex-end; gap: 12px; max-width: 560px; }
.bubble-row--right { flex-direction: row-reverse; margin-left: auto; }
.bubble-avatar {
  width: 48px;
  height: 48px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--face);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
}
.bubble {
  padding: 18px 22px;
  border-radius: 28px 28px 28px 8px;
  background: var(--face);
}
.bubble-row--right .bubble { border-radius: 28px 28px 8px 28px; background: var(--ink); color: #fff; }
.bubble-time { font-size: 15px; font-weight: 700; color: var(--ink-2); margin-bottom: 4px; }
.bubble-row--right .bubble-time { color: #c9c9c3; }
.bubble p:last-child { font-size: 18px; }
@media (min-width: 900px) {
  .daily-section { padding-top: 180px; }
  .daily-list { margin-top: 80px; gap: 28px; }
  .bubble-avatar { width: 56px; height: 56px; font-size: 15px; }
}

/* ---------- 8. 자주 묻는 질문 ---------- */
.faq-section { padding: 120px 0 40px; }
.faq-wrap { max-width: calc(880px + var(--gutter) * 2); }
.faq-wrap h2 {
  text-align: center;
  font-size: clamp(34px, 4.2vw, 56px);
  letter-spacing: -0.035em;
  margin-bottom: 48px;
}
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 16px 4px;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: #3a3a36; }
.plus { position: relative; flex: none; width: 36px; height: 36px; border-radius: 999px; background: var(--face); }
.plus::before, .plus::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 2px;
  margin: -1px 0 0 -7px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease;
}
.plus::after { transform: rotate(90deg); }
.faq-item[open] .plus::after { transform: rotate(0deg); }
.faq-answer { padding: 0 52px 24px 4px; }
.faq-answer p { color: var(--ink-2); }
.faq-answer a { color: var(--ink); font-weight: 600; }
@media (min-width: 900px) { .faq-section { padding-top: 180px; } }

/* ---------- 9. 상담 신청 ---------- */
.consult-section { padding: 120px 0 120px; }
.consult-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.consult-info h2 { font-size: clamp(34px, 4.2vw, 56px); letter-spacing: -0.035em; }
.consult-lead { margin-top: 18px; font-size: 20px; color: var(--ink-2); font-weight: 500; }
.consult-steps { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: c; }
.consult-steps li {
  counter-increment: c;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  border-top: 1px solid var(--line);
  font-size: 17px;
}
.consult-steps li:last-child { border-bottom: 1px solid var(--line); }
.consult-steps li::before {
  content: counter(c);
  flex: none;
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.consult-notes { margin: 24px 0 28px; padding: 0 0 0 20px; color: var(--ink-2); font-size: 17px; }
.consult-notes li + li { margin-top: 6px; }
.consult-notes a { color: var(--ink); font-weight: 600; }

.consult-form {
  padding: 28px 20px;
  border-radius: var(--r-board);
  background: var(--face);
}
.consult-group { margin: 0 0 8px; padding: 0; border: 0; min-width: 0; }
.consult-group legend { float: left; width: 100%; padding: 0; margin-bottom: 14px; font-size: 20px; font-weight: 700; }
.consult-group legend + * { clear: both; }
.consult-group + .consult-group { margin-top: 20px; padding-top: 24px; border-top: 1px solid var(--line); }
.consult-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 16px; }
.field { margin-bottom: 18px; }
/* 상담할 항목 등 3개 그룹은 <fieldset class="field">로 묶여 있다. 브라우저 기본 fieldset
   테두리·여백을 지우고 레이아웃은 그대로 .field 처럼 보이게 한다 */
fieldset.field { border: 0; padding: 0; min-width: 0; }
.field > label,
.field-label { display: block; margin-bottom: 8px; font-size: 17px; font-weight: 600; }
fieldset.field > legend.field-label { float: left; width: 100%; padding: 0; }
fieldset.field > legend.field-label + * { clear: both; }
.field input[type="text"],
.field textarea {
  width: 100%;
  height: 56px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-control);
  background: #fff;
  font: inherit;
  font-size: 18px;
  color: var(--ink);
}
.field textarea { height: 132px; padding: 14px 18px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #75756f; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.field-error { display: none; margin-top: 8px; font-size: 17px; font-weight: 600; color: var(--accent); }
.has-error .field-error { display: block; }
.has-error input[type="text"], .has-error textarea { border-color: var(--accent); border-width: 2px; }
.radio-group { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-pill { position: relative; display: inline-flex; cursor: pointer; }
.radio-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio-pill span {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 17px;
  font-weight: 600;
}
.radio-pill input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.radio-pill input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.has-error .radio-pill span { border-color: var(--accent); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent-row { display: flex; gap: 12px; align-items: flex-start; padding: 18px; background: #fff; border-radius: 18px; border: 1px solid var(--line); }
.consent-row input { flex: none; width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--ink); }
.consent-row label { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.consent-row label strong { color: var(--ink); font-size: 17px; }
.consent-row a { color: var(--ink); font-weight: 600; }
.has-error .consent-row { border-color: var(--accent); border-width: 2px; }
.turnstile-slot { margin: 18px 0; min-height: 0; max-width: 100%; overflow: hidden; }
.turnstile-slot .cf-turnstile { max-width: 100%; }
.consult-submit-note { margin: 0 0 12px; font-size: 15px; color: var(--ink-2); text-align: center; }
.form-status { margin-top: 14px; font-size: 17px; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-success { color: #1f6b43; }
.form-status.is-error { color: var(--accent); }

@media (min-width: 640px) {
  .consult-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .consult-form { padding: 40px; }
}
@media (min-width: 1000px) {
  .consult-section { padding-top: 180px; padding-bottom: 160px; }
  .consult-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
  .consult-info { position: sticky; top: 108px; }
}

/* ---------- 바닥글 ---------- */
.site-footer { padding: 48px 0 56px; background: var(--face); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.footer-logo { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; line-height: 0; }
.footer-logo .logo-mark { height: 26px; width: auto; color: var(--brand); display: inline-block; }

/* 문장 속 '이음보' 워드마크: 본몸 0.84em·바닥선 맞춤(research/logo/v3/build.mjs 의 inlineWord 와 같은 비율) */
.wordmark-inline { height: 0.99em; width: auto; vertical-align: -0.235em; margin: 0 .04em; display: inline-block; }
.wordmark-inline--brand { color: var(--brand); }
.site-footer-info p { font-size: 17px; color: var(--ink-2); line-height: 1.8; }
.site-footer-info a { color: var(--ink); text-underline-offset: 3px; }
@media (min-width: 900px) { .footer-inner { grid-template-columns: 240px minmax(0, 1fr); } }

/* ---------- 스크롤 입장 모션: html.js-reveal 일 때만 숨겨 둔다 ---------- */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
}
.js-reveal .reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .plus::before, .plus::after { transition: none; }
  .migrate-step, .migrate-progress-bar, .migrate-stack span { transition: none; }
}

@media print {
  .site-header, .consult-form, .explore-nav { display: none; }
  .js-reveal .reveal { opacity: 1; transform: none; }
}

/* ---------- 10. 마지막 권유 (어두운 판) ---------- */
.final-cta {
  position: relative;
  overflow: hidden;
  background: #111111;
  color: #fff;
  text-align: center;
  padding: 120px 0 0;
}
.final-cta :focus-visible { outline-color: #fff; }
.final-inner { display: flex; flex-direction: column; align-items: center; }
.final-cta h2 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.16;
  letter-spacing: -0.04em;
}
.final-sub { margin-top: 20px; font-size: clamp(19px, 1.8vw, 24px); font-weight: 400; color: #c9c9c3; }
.final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #e9e9e5; }
.btn-outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px #6b6b65; }
.btn-outline-light:hover { background: #222220; }
/* 털 캐릭터 줄: 모양·동작은 assets/guardians-row.css 와 assets/js/guardians-row.js(three.js) 가 맡는다.
   이 구획 아래쪽 빈 공간이 넓었다는 지적에 따라 위 padding-top과 이 margin-top을 줄였다(three.js 줄 자체는 그대로 둔다). */
.final-cta .guardians-row { margin-top: 40px; }
@media (min-width: 900px) { .final-cta { padding-top: 120px; } .guardians-row { margin-top: 56px; } }

/* 첫 화면 아래 데모 판: 전자책 족보를 그대로 넣는다(demo.ieumbo.com ?embed=1, 2026-11-11 사용자 지시 "ebook 중심") */
.demo-board--ebook { display: block; }
.demo-copy--ebook { max-width: 720px; }
.demo-ebook-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; }
.demo-admin-link { color: #fff; }
.ebook-embed { position: relative; margin-top: 28px; border-radius: 20px; overflow: hidden; background: #F2E9D8; }
.ebook-embed iframe { display: block; width: 100%; height: min(78vh, 760px); min-height: 520px; border: 0; }
@media (max-width: 640px) { .ebook-embed { margin-left: calc(var(--gutter) * -0.5); margin-right: calc(var(--gutter) * -0.5); border-radius: 16px; } .ebook-embed iframe { height: 72vh; min-height: 480px; } }
