/* SignalB 소개 랜딩. 예전 랜딩(apps/landing)의 레이어 패럴렉스·신호 파형·마을 주민 결을 가져오고,
   색은 tokens.css 의 시맨틱 토큰만 쓴다. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; background: var(--bg-page); color: var(--fg-primary); font: var(--t6);
  overflow-x: hidden; word-break: keep-all; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; }
p { margin: 0; }
a { color: var(--fg-link); }
.muted { color: var(--fg-secondary); font: var(--t7); }
.note { font: var(--t8); color: var(--fg-muted); }
img { max-width: 100%; }

/* 로고는 라이트·다크 한 쌍. 테마에 맞는 쪽만 보인다 */
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-light { display: none; }
  :root:not([data-theme="light"]) .logo-dark { display: inline-block; }
}
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: inline-block; }

/* 머리 */
.top { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 10px 20px; background: color-mix(in srgb, var(--bg-page) 80%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--stroke-default); }
.top-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.theme-btn { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; cursor: pointer;
  color: var(--fg-secondary); background: transparent; border: 1px solid var(--stroke-default); border-radius: var(--r-pill);
  transition: color 120ms ease, border-color 120ms ease, background 120ms ease; }
.theme-btn:hover { color: var(--fg-brand); border-color: var(--stroke-brand); background: var(--bg-brand-soft); }
.theme-btn:focus-visible { outline: 2px solid var(--stroke-focus); outline-offset: 2px; }
.theme-btn svg { width: 16px; height: 16px; }
.ico-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ico-moon { display: none; }
  :root:not([data-theme="light"]) .ico-sun { display: block; }
}
:root[data-theme="dark"] .ico-moon { display: none; }
:root[data-theme="dark"] .ico-sun { display: block; }
.brand { display: inline-flex; align-items: center; text-decoration: none; min-width: 0; }
.nav { display: flex; gap: 20px; margin-left: auto; }
.nav a { font: var(--t8); color: var(--fg-secondary); text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--fg-brand); }
@media (max-width: 720px) { .nav { display: none; } .top { padding: 10px 16px; } }

/* 첫 화면: 레이어 패럴렉스 */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden;
  padding: 96px 20px 170px; isolation: isolate; }
.layer { position: absolute; inset: -10% 0; pointer-events: none; will-change: transform; }
.layer-town { z-index: -3; }
/* 가로로 긴 타운(2376x1008)이 좌우로 천천히 흐른다. 고객사가 늘면 그림을 옆으로 이어 그리고 비율만 고친다 */
.layer-town::before { content: ""; position: absolute; top: 0; left: 0; height: 100%; min-width: 100%; aspect-ratio: 2376 / 1008;
  background: url(/home/town.jpg) center / cover no-repeat; image-rendering: pixelated; animation: town-pan 120s linear infinite alternate; }
@keyframes town-pan { to { transform: translateX(calc(100vw - 100%)); } }
.layer-town::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 75%, var(--bg-page) 98%); }
.layer-glow { z-index: -2; display: none; }
.layer-glow i { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(60px);
  background: var(--bg-brand-soft); opacity: .9; animation: drift 18s ease-in-out infinite alternate; }
.layer-glow i:nth-child(1) { left: -12%; top: 4%; }
.layer-glow i:nth-child(2) { right: -14%; top: 30%; animation-duration: 22s; animation-delay: -6s; }
.layer-glow i:nth-child(3) { left: 30%; bottom: -20%; animation-duration: 26s; animation-delay: -12s; opacity: .6; }
@keyframes drift { to { transform: translate(6vw, -4vh) scale(1.12); } }

.layer-cards { z-index: -1; }
.rcard { position: absolute; left: var(--x); top: var(--y); max-width: 250px; padding: 12px 14px;
  background: var(--bg-surface); border: 1px solid var(--stroke-default); border-radius: var(--r-lg);
  box-shadow: var(--sh-2); font: var(--t7); color: var(--fg-secondary);
  opacity: 0; animation: pop 7.2s var(--ease-out) var(--d) infinite backwards; }
.rcard mark { color: var(--fg-brand); font-weight: 700; padding: 0 2px; border-radius: 4px;
  background: linear-gradient(var(--bg-brand-soft), var(--bg-brand-soft)) no-repeat 0 0 / 0% 100%;
  animation: mark-pop 7.2s ease var(--d) infinite; }
/* 말풍선 12개가 0.6초 간격으로 7.2초마다 나타났다 사라진다(한 번에 6개쯤) */
@keyframes pop { 0% { opacity: 0; transform: translateY(18px) scale(.96); }
  10% { opacity: 1; transform: none; } 48% { opacity: 1; transform: translateY(-8px); }
  58%, 100% { opacity: 0; transform: translateY(-16px) scale(.98); } }
@keyframes mark-pop { 0%, 14% { background-size: 0% 100%; } 26%, 100% { background-size: 100% 100%; } }
@keyframes float-in { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes highlight { to { background-size: 100% 100%; } }

.hero-copy { position: relative; text-align: center; max-width: 760px;
  text-shadow: 0 0 6px var(--bg-page), 0 0 18px var(--bg-page), 0 0 34px var(--bg-page); }
.hero-actions { text-shadow: none; }
.kicker { display: inline-block; font: var(--t8); color: var(--fg-brand); background: var(--bg-brand-soft);
  padding: 6px 12px; border-radius: var(--r-pill); margin-bottom: 18px; }
.headline { font-size: clamp(30px, 6.4vw, 64px); line-height: 1.16; letter-spacing: -0.02em; font-weight: 700; }
.headline span { display: block; opacity: 0; transform: translateY(.6em); animation: rise .9s var(--ease-out) forwards; }
.headline span:nth-child(2) { animation-delay: .25s; color: var(--fg-brand); }
@keyframes rise { to { opacity: 1; transform: none; } }
.lead { font: var(--t5); color: var(--fg-secondary); margin: 22px auto 0; max-width: 560px; line-height: 1.65; }
.lead b { color: var(--fg-primary); }
/* 그림 위에서도 읽히게: 설명 문장은 반투명 바탕, 보조 버튼은 속이 찬 바탕 */
.lead { padding: 10px 20px; border-radius: var(--r-lg); text-shadow: none;
  background: color-mix(in srgb, var(--bg-page) 80%, transparent); backdrop-filter: blur(6px); }
.hero-actions .btn--ghost { background: var(--bg-surface); border: 1px solid var(--stroke-brand); box-shadow: var(--sh-2); }
.hero-actions .btn--ghost:hover { background: var(--bg-brand-soft); }
.hero-actions { display: flex; gap: 12px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.btn--glow { position: relative; }
.btn--glow::after { content: ""; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid var(--bg-brand);
  opacity: 0; animation: ping 2.4s ease-out 1.5s infinite; pointer-events: none; }
@keyframes ping { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.18); } }

/* 신호 파형 */
.signal { position: absolute; left: 0; right: 0; bottom: 130px; width: 100%; height: 90px; z-index: -1; }
.signal path { fill: none; stroke: var(--bg-brand); stroke-width: 3; stroke-linejoin: round; opacity: .55;
  stroke-dasharray: 1800; stroke-dashoffset: 1800;
  animation: draw 3.2s ease-in-out .6s forwards, pulse 3s ease-in-out 4s infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse { 50% { opacity: .2; } }

.scroll-cue { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 2; font-size: 22px;
  text-decoration: none; color: var(--fg-brand); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 50% { transform: translate(-50%, 8px); } }

/* 조사 결과 숫자 */
.flow { padding: 72px 20px; background: var(--bg-surface); border-block: 1px solid var(--stroke-default); }
.flow-eyebrow { text-align: center; font: var(--t5); color: var(--fg-secondary); margin-bottom: 28px; }
.flow-track { max-width: 1000px; margin: 0 auto; display: flex; align-items: center; gap: 16px; }
.flow-step { flex: 1; min-width: 0; text-align: center; display: flex; flex-direction: column; gap: 8px; }
.flow-step .big { font: 700 clamp(30px, 5vw, 52px)/1.1 var(--font-head); color: var(--fg-brand);
  font-variant-numeric: tabular-nums; }
.flow-step span:last-child { font: var(--t7); color: var(--fg-secondary); }
.flow-line { flex: 0 0 70px; height: 10px; }
.flow-line path { fill: none; stroke: var(--bg-brand); stroke-width: 2; stroke-dasharray: 100; stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.2s ease .3s; vector-effect: non-scaling-stroke; }
.flow.is-in .flow-line path { stroke-dashoffset: 0; }
.flow-note { text-align: center; margin-top: 22px; font: var(--t8); color: var(--fg-muted); }

/* 공통 섹션 */
.sec { max-width: 1040px; margin: 0 auto; padding: 80px 20px 0; }
.sec h2 { font: var(--t2); margin-bottom: 14px; }
.sec .sub { margin: 0 0 22px; }
.card { background: var(--bg-surface); border: 1px solid var(--stroke-default); border-radius: var(--r-lg); padding: 20px; }
.card h3 { font: var(--t4); margin-bottom: 8px; }
.card p { font: var(--t7); color: var(--fg-secondary); line-height: 1.65; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.grid .card { transition: transform 200ms ease, box-shadow 200ms ease; }
.grid .card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.scene { display: inline-block; font: var(--t9); color: var(--fg-brand); background: var(--bg-brand-soft);
  padding: 3px 10px; border-radius: var(--r-pill); margin-bottom: 10px; }

/* 막대 그래프 */
.bars { display: grid; gap: 10px; margin-bottom: 22px; }
.bar { display: grid; grid-template-columns: 130px minmax(0, 1fr) 36px; gap: 12px; align-items: center; font: var(--t7); }
.bar > span { color: var(--fg-secondary); }
.bar > i { display: block; height: 14px; border-radius: 0 7px 7px 0; background: var(--bg-brand);
  width: 0; transition: width 1s var(--ease-out); }
.reveal-group.is-in .bar > i { width: var(--w); }
.bar > b { font-variant-numeric: tabular-nums; text-align: right; }
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; }

/* 두 축 */
.axes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.axis-more { display: inline-block; margin-top: 16px; font: var(--t8); font-weight: 600; color: var(--fg-brand); text-decoration: none; }
.axis-more:hover { text-decoration: underline; }
.axis { background: var(--bg-surface); border: 1px solid var(--stroke-default); border-radius: var(--r-xl); padding: 26px; min-width: 0; }
.axis-tag { display: inline-block; font: var(--t9); padding: 3px 10px; border-radius: var(--r-pill);
  background: var(--bg-brand-soft); color: var(--fg-brand); margin-bottom: 12px; }
.axis h3 { font: var(--t3); margin-bottom: 10px; }
.axis > p { font: var(--t7); color: var(--fg-secondary); line-height: 1.65; }
.axis ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.axis li { font: var(--t7); color: var(--fg-secondary); line-height: 1.55; padding-left: 20px; position: relative; }
.axis li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--bg-brand); }
.axis li strong { display: block; color: var(--fg-primary); font-weight: 600; }

/* 업체별 키트 */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 24px; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 14px; }
.steps li { counter-increment: s; background: var(--bg-surface); border: 1px solid var(--stroke-default);
  border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.steps li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-brand); color: var(--fg-on-brand); font-weight: 700; margin-bottom: 6px; }
.steps span { font: var(--t7); color: var(--fg-secondary); }
.table-wrap { min-width: 0; overflow-x: auto; border: 1px solid var(--stroke-default); border-radius: var(--r-lg); background: var(--bg-surface); }
.vendors { width: 100%; border-collapse: collapse; font: var(--t7); }
.vendors th, .vendors td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--stroke-default); vertical-align: top; }
.vendors thead th { font: var(--t9); color: var(--fg-muted); background: var(--bg-subtle); }
.vendors tbody th { font-weight: 600; white-space: nowrap; }
.vendors tbody tr:last-child th, .vendors tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 720px) {
  .vendors thead { display: none; }
  .vendors, .vendors tbody, .vendors tr, .vendors th, .vendors td { display: block; width: 100%; }
  .vendors tr { padding: 12px 16px; border-bottom: 1px solid var(--stroke-default); }
  .vendors tbody tr:last-child { border-bottom: 0; }
  .vendors th, .vendors td { padding: 2px 0; border: 0; }
  .vendors td::before { content: attr(data-label) " · "; color: var(--fg-muted); }
  .bar { grid-template-columns: 104px minmax(0, 1fr) 30px; gap: 8px; }
}

/* 색 차이 */
.de { display: grid; gap: 12px; max-width: 760px; margin-bottom: 10px; }
.de-row { display: grid; grid-template-columns: 200px minmax(0, 1fr) 70px; gap: 12px; align-items: center; font: var(--t7); }
.de-row > span { color: var(--fg-secondary); }
.de-row > i { display: block; height: 16px; border-radius: 0 8px 8px 0; width: 0; transition: width 1s var(--ease-out); }
.reveal-group.is-in .de-row > i { width: var(--w); }
.de-bad { background: var(--warn); }
.de-good { background: var(--bg-brand); }
.de-row > b { font-variant-numeric: tabular-nums; }
@media (max-width: 720px) {
  .de-row { grid-template-columns: minmax(0, 1fr) auto; }
  .de-row > i { grid-column: 1 / -1; grid-row: 2; }
}

/* 진행 현황 */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 0 0 22px; position: relative; }
/* 점: 칸(126px)에서 0~16px, 가운데 134px. 선: 133~135px 로 점 가운데를 지난다 */
.timeline li::before { content: ""; position: absolute; left: 133px; top: 14px; bottom: -6px; width: 2px; background: var(--stroke-default); }
.timeline li:last-child::before { display: none; }
.timeline time { font: var(--t8); color: var(--fg-muted); text-align: right; padding-top: 3px; }
.timeline li > div { padding-left: 30px; position: relative; display: grid; gap: 4px; }
.timeline li > div::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; box-sizing: border-box; border-radius: 50%;
  background: var(--bg-surface); border: 2px solid var(--stroke-strong); }
.timeline .is-done > div::before { background: var(--bg-brand); border-color: var(--bg-brand); }
.timeline .is-now > div::before { background: var(--bg-surface); border-color: var(--bg-brand); box-shadow: 0 0 0 4px var(--bg-brand-soft); }
.timeline strong { font: var(--t5); }
.timeline li span { font: var(--t7); color: var(--fg-secondary); line-height: 1.6; }
@media (max-width: 560px) {
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .timeline li::before { left: 7px; top: 20px; }
  .timeline time { text-align: left; padding-left: 30px; }
  .timeline li > div { padding-left: 30px; }
  .timeline li > div::before { left: 0; top: -17px; }
}

/* FAQ */
.faq { background: var(--bg-surface); border: 1px solid var(--stroke-default); border-radius: var(--r-lg); padding: 0 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 0; font: var(--t5); }
.faq p { padding-bottom: 16px; font: var(--t7); color: var(--fg-secondary); line-height: 1.65; }

/* 마지막 안내 */
.cta { text-align: center; padding-bottom: 8px; }
.cta .muted { margin-bottom: 22px; }

/* 출처 */
.sources { padding-bottom: 56px; }
.sources h2 { font: var(--t4); }
.sources ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font: var(--t8); color: var(--fg-muted); }
.foot { display: flex; gap: 8px; align-items: center; justify-content: center; padding: 28px 16px; color: var(--fg-muted);
  font: var(--t8); border-top: 1px solid var(--stroke-default); text-align: center; flex-wrap: wrap; }

/* 스크롤 등장 */
.reveal, .reveal-group > * { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s var(--ease-out); }
.reveal.is-in, .reveal-group.is-in > * { opacity: 1; transform: none; }
.reveal-group.is-in > *:nth-child(2) { transition-delay: .08s; }
.reveal-group.is-in > *:nth-child(3) { transition-delay: .16s; }
.hero .reveal { animation: rise .9s var(--ease-out) .5s forwards; transform: translateY(16px); }
.hero .hero-actions.reveal { animation-delay: .7s; }

/* 좁은 화면 */
@media (max-width: 720px) {
  .rcard { max-width: 170px; font: var(--t8); animation: float-in 1s var(--ease-out) var(--d) forwards; }
  .rcard mark { animation: highlight .9s ease calc(var(--d) + 1.1s) forwards; }
  .rcard:nth-child(n+3) { display: none; }
  .hero { padding: 96px 16px 170px; }
  .sec { padding: 64px 16px 0; }
  .flow-track { flex-direction: column; }
  .flow-line { flex-basis: 30px; width: 10px; transform: rotate(90deg); }
  .axis { padding: 20px; }
}

/* ───── 무료 상담 예약 창 ───── */
.book { padding: 0; border: 0; border-radius: var(--r-xl); background: var(--bg-surface); color: var(--fg-primary);
  width: min(880px, calc(100vw - 24px)); max-height: calc(100svh - 24px); box-shadow: var(--sh-3); overflow: hidden; }
.book::backdrop { background: rgba(22, 32, 43, .55); backdrop-filter: blur(3px); }
.book-wrap { display: grid; grid-template-columns: 250px minmax(0, 1fr); max-height: calc(100svh - 24px); }
.book-info { padding: 28px 24px; background: var(--bg-subtle); border-right: 1px solid var(--stroke-default); display: flex; flex-direction: column; gap: 10px; }
.book-av { width: 56px; height: 56px; border-radius: 14px; }
.book-host { font: var(--t8); color: var(--fg-muted); }
.book-info h2 { font: var(--t3); }
.book-meta { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 8px; font: var(--t7); color: var(--fg-secondary); }
.book-meta li { display: flex; gap: 8px; align-items: center; }
.book-meta svg { width: 18px; height: 18px; flex: none; }
.book-desc { font: var(--t8); color: var(--fg-secondary); line-height: 1.6; }
.book-main { padding: 28px; position: relative; min-width: 0; overflow-y: auto; }
.book-main h3 { font: var(--t4); margin-bottom: 14px; padding-right: 36px; }
.book-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: transparent; color: var(--fg-secondary); font-size: 24px; line-height: 1; cursor: pointer; }
.book-x:hover { background: var(--bg-subtle); }

.book [hidden] { display: none !important; }  /* display 를 지정한 클래스가 hidden 을 덮지 않게 */
.step-pick { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 24px; }
.cal { min-width: 0; }
.cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-nav button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; color: var(--fg-brand);
  font-size: 22px; cursor: pointer; }
.cal-nav button:hover:not(:disabled) { background: var(--bg-brand-soft); }
.cal-nav button:disabled { color: var(--fg-disabled); cursor: not-allowed; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.cal-dow { font: var(--t9); color: var(--fg-muted); margin-bottom: 4px; }
.cal-day { aspect-ratio: 1; border: 0; border-radius: 50%; background: transparent; color: var(--fg-primary); font: var(--t7);
  cursor: pointer; max-width: 44px; width: 100%; margin: 0 auto; }
.cal-day:not(:disabled) { background: var(--bg-brand-soft); color: var(--fg-brand); font-weight: 600; }
.cal-day:not(:disabled):hover { box-shadow: inset 0 0 0 2px var(--stroke-brand); }
.cal-day[aria-pressed="true"] { background: var(--bg-brand); color: var(--fg-on-brand); }
.cal-day:disabled { color: var(--fg-disabled); cursor: not-allowed; }
.cal-day.is-today { box-shadow: inset 0 0 0 1px var(--stroke-strong); }
.tz { margin-top: 12px; }
.times { min-width: 0; }
.times-head { font: var(--t8); font-weight: 600; margin-bottom: 10px; min-height: 20px; }
.times-list { display: grid; gap: 8px; max-height: 340px; overflow-y: auto; padding: 2px; }
.slot { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.slot.is-picked { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.slot-time { height: 40px; border: 1px solid var(--stroke-brand); border-radius: var(--r-md); background: var(--bg-surface);
  color: var(--fg-brand); font: var(--t7); font-weight: 600; cursor: pointer; }
.slot-time:hover { background: var(--bg-brand-soft); }
.slot.is-picked .slot-time { background: var(--bg-subtle); color: var(--fg-primary); border-color: var(--stroke-strong); }
.slot-next { display: none; height: 40px; border: 0; border-radius: var(--r-md); background: var(--bg-brand); color: var(--fg-on-brand);
  font: var(--t7); font-weight: 600; cursor: pointer; }
.slot.is-picked .slot-next { display: block; }
.slot-next:hover { background: var(--bg-brand-hover); }

.book-back { border: 0; background: none; color: var(--fg-link); font: var(--t8); padding: 0; margin-bottom: 12px; cursor: pointer; }
.fields-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fields-grid .full { grid-column: 1 / -1; }
.book .field { display: flex; flex-direction: column; gap: 6px; font: var(--t8); color: var(--fg-secondary); min-width: 0; flex: none; }
.book .field input, .book .field textarea { width: 100%; min-height: 44px; padding: 10px 12px; font: var(--t6);
  border: 1px solid var(--stroke-default); border-radius: var(--r-md); background: var(--bg-surface); color: var(--fg-primary); }
.book .field textarea { min-height: 84px; resize: vertical; }
.book .field input::placeholder, .book .field textarea::placeholder { color: var(--fg-muted); }
.book .field input:hover, .book .field textarea:hover { border-color: var(--stroke-strong); }
.book .field input:focus, .book .field textarea:focus { outline: none; border-color: var(--stroke-brand); box-shadow: 0 0 0 3px var(--bg-brand-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--bg-brand); flex: none; }
.consent label { font: var(--t7); font-weight: 600; cursor: pointer; }
.consent-note { font: var(--t8); color: var(--fg-muted); margin-top: 4px; line-height: 1.55; }
.consent details { font: var(--t8); color: var(--fg-muted); margin-top: 4px; line-height: 1.6; }
.consent summary { cursor: pointer; color: var(--fg-link); }
.book-foot { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-top: 16px; flex-wrap: wrap; }
.book-msg { font: var(--t8); color: var(--danger-ink); min-height: 20px; flex: 1 1 160px; }
.book-done { text-align: center; padding: 28px 8px; display: grid; gap: 10px; justify-items: center; }
.book-done h3 { padding: 0; margin: 0; }
.done-check { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-brand);
  color: var(--fg-on-brand); font-size: 28px; font-weight: 700; }

@media (max-width: 720px) {
  .book { width: 100%; max-width: none; max-height: 100svh; margin: auto 0 0;  /* dialog 기본 max-width(100% - 2em - 6px)를 풀어 화면 폭을 다 쓴다 */ border-radius: var(--r-xl) var(--r-xl) 0 0; }
  .book-wrap { grid-template-columns: minmax(0, 1fr); max-height: 100svh; overflow-y: auto; }
  .book-info { padding: 16px 20px; border-right: 0; border-bottom: 1px solid var(--stroke-default); gap: 6px; }
  .book-av, .book-host, .book-desc { display: none; }
  .book-meta { grid-auto-flow: column; justify-content: start; gap: 14px; flex-wrap: wrap; }
  .book-main { padding: 20px 16px 24px; overflow: visible; }
  .step-pick { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .times-list { max-height: none; }
  .fields-grid { grid-template-columns: minmax(0, 1fr); }
}

/* 움직임 줄이기: 정지 화면으로 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .rcard, .headline span, .hero .reveal, .reveal, .reveal-group > * { opacity: 1 !important; transform: none !important; }
  .rcard mark { background-size: 100% 100%; }
  .signal path { stroke-dashoffset: 0; }
  .flow-line path { stroke-dashoffset: 0; }
  .bar > i, .de-row > i { width: var(--w); }
}

/* 함께 운영해요 (SNS 대행 · 키오스크 · 이벤트) */
.eyebrow { display: flex; align-items: center; gap: 12px; font: var(--t9); letter-spacing: .14em; color: var(--fg-brand); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--stroke-brand); }
.svc { position: relative; min-width: 0; background: var(--bg-surface); border: 1px solid var(--stroke-default);
  border-radius: var(--r-xl); padding: 34px; display: flex; flex-direction: column; gap: 0; }
.svc-no { font-size: 46px; line-height: 1; font-weight: 300; letter-spacing: -.02em; color: var(--stroke-strong); margin-bottom: 22px; }
.svc-no::after { content: ""; display: block; width: 28px; height: 2px; background: var(--bg-brand); margin-top: 12px; }
.svc h3 { font: var(--t3); margin-bottom: 12px; }
.svc p { font: var(--t7); color: var(--fg-secondary); line-height: 1.75; }
.svc p b { color: var(--fg-primary); font-weight: 600; }
.svc .axis-tag { align-self: flex-start; }
.svc-feature { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 44px; align-items: center; padding: 44px;
  margin-bottom: 18px; transition: border-color 200ms ease, box-shadow 200ms ease; }
.svc-feature:hover { border-color: var(--stroke-brand); box-shadow: var(--sh-2);
  background: radial-gradient(120% 90% at 100% 0, var(--bg-brand-soft), transparent 60%), var(--bg-surface); }
.svc-copy { min-width: 0; display: flex; flex-direction: column; }
.svc-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.svc-points li { font: var(--t7); color: var(--fg-secondary); line-height: 1.6; padding: 0 0 12px 22px; position: relative;
  border-bottom: 1px solid var(--stroke-default); }
.svc-points li:last-child { border-bottom: 0; padding-bottom: 0; }
.svc-points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 1px; background: var(--bg-brand); }
.svc-feature.is-solo { grid-template-columns: minmax(0, 1fr); }
.svc-visual { min-width: 0; }
.ds-shot { width: 100%; height: auto; vertical-align: top; border-radius: var(--r-lg); border: 1px solid var(--stroke-default); }
.mk-cap { font: var(--t9); color: var(--fg-muted); text-align: center; margin: 12px 0 0; letter-spacing: .06em; }

.mk { background: var(--bg-surface); border: 1px solid var(--stroke-default); border-radius: var(--r-lg); box-shadow: var(--sh-2); overflow: hidden; }
.mk-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--bg-subtle); border-bottom: 1px solid var(--stroke-default); }
.mk-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--stroke-strong); }
.mk-bar span { font: var(--t9); color: var(--fg-secondary); margin-left: 8px; }
.mk-bar em { margin-left: auto; font: var(--t9); font-style: normal; color: var(--fg-brand); background: var(--bg-brand-soft); padding: 2px 9px; border-radius: var(--r-pill); }
.mk-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; padding: 16px; }
.mk-post { min-width: 0; }
.mk-photo { height: 96px; border-radius: 10px; background: linear-gradient(135deg, var(--bg-brand-soft), var(--stroke-brand)); margin-bottom: 12px; opacity: .85; }
.mk-post b { display: block; height: 8px; border-radius: 4px; background: var(--bg-subtle); margin-top: 9px; }
.mk-post b.s { width: 68%; }
.mk-post b.hl { background: var(--bg-brand-soft); box-shadow: 0 0 0 2px var(--stroke-brand); }
.mk-notes { display: grid; gap: 10px; align-content: start; min-width: 0; }
.mk-notes .n { margin: 0; font: var(--t9); line-height: 1.5; color: var(--fg-primary); background: var(--bg-surface);
  border: 1px solid var(--stroke-default); border-left: 3px solid var(--stroke-brand); border-radius: 10px; padding: 9px 11px; }
.mk-notes .n small { display: block; color: var(--fg-muted); margin-bottom: 2px; }
.mk-notes .n.done { border-left-color: var(--stroke-default); color: var(--fg-secondary); background: var(--bg-subtle); }

.ks-video { display: block; margin: 0 auto; width: min(100%, 260px); height: auto; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 16px; border: 6px solid #1f2b36; background: #101922; box-shadow: var(--sh-2); }


@media (max-width: 860px) {
  .svc-feature { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 28px; }
}
@media (max-width: 560px) {
  .svc { padding: 24px; }
  .mk-body { grid-template-columns: minmax(0, 1fr); }
}

/* 세 축 순환 구조도(움직이는 그림) */
.axes-flow { margin: 28px auto 0; max-width: 760px; }
.axes-flow img { width: 100%; height: auto; }
