/* DSD Manager 상품 소개(/solutions/dsd-roundtrip) 전용. 모든 규칙은 .dm-body/.dm-page 아래로만 건다
   — 전역 리셋은 다른 화면을 깨뜨린다. 색은 사용설명서(manual_style.css)와 같은 값. */

.dm-body {
  background: #fbfaf8;
}

.dm-page {
  --dm-paper: #fbfaf8;
  --dm-card: #ffffff;
  --dm-ink: #16202b;
  --dm-muted: #5f6975;
  --dm-rule: #e6e4df;
  --dm-shade: #efede8;
  --dm-accent: #b0442c;
  --dm-accent-ink: #933620;
  --dm-accent-soft: #fae7e1;
  --dm-mark-a: #e8a317;
  --dm-mark-a-soft: #fdf1d8;
  --dm-mark-b: #2f7d6b;
  --dm-mark-c: #3f6699;
  --dm-stage: #1b222b;
  --dm-stage-2: #2a3038;
  --dm-radius: 12px;
  --dm-radius-lg: 18px;
  --dm-top: 76px;
  --dm-serif: "Gowun Batang", "Noto Serif KR", "Batang", serif;
  --dm-sans: "Pretendard Variable", Pretendard, "Malgun Gothic", system-ui, sans-serif;

  color: var(--dm-ink);
  font-family: var(--dm-sans);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
  max-width: 1120px;
  margin: 0 auto;
}

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

.dm-page h1,
.dm-page h2 {
  font-family: var(--dm-serif);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}

.dm-page h3 {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.45;
  font-weight: 600;
}

.dm-page p {
  margin: 0;
}

.dm-page a {
  color: inherit;
}

.dm-page :focus-visible {
  outline: 3px solid var(--dm-accent);
  outline-offset: 2px;
  border-radius: 6px;
}

/* 어두운 바탕(마무리 띠·크게 보기)에서는 붉은 포커스 링이 묻힌다. */
.dm-final :focus-visible,
.dm-zoom :focus-visible {
  outline-color: #f6c2b3;
}

[id="top"],
.dm-page section[id] {
  scroll-margin-top: calc(var(--dm-top) + 64px);
}

/* ── 단추 ─────────────────────────────────────────── */
.dm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.dm-page .dm-btn--primary {
  background: var(--dm-accent);
  color: #fff;
}

.dm-page .dm-btn--primary:hover {
  background: var(--dm-accent-ink);
}

.dm-page .dm-btn--ghost {
  background: var(--dm-card);
  border-color: var(--dm-rule);
  color: var(--dm-ink);
}

.dm-page .dm-btn--ghost:hover {
  border-color: var(--dm-accent);
  color: var(--dm-accent-ink);
}

.dm-page .dm-btn--ghost-dark {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.dm-page .dm-btn--ghost-dark:hover {
  border-color: #fff;
}

.dm-btn--small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.9rem;
}

.dm-btn--block {
  width: 100%;
}

/* ── 소목차 ───────────────────────────────────────── */
.dm-subnav {
  position: sticky;
  top: var(--dm-top);
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 4px 0 28px;
  padding: 8px 8px 8px 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--dm-rule);
  border-radius: 14px;
  box-shadow: 0 10px 24px -20px rgba(22, 32, 43, 0.5);
}

.dm-brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
}

.dm-brand strong {
  font-family: var(--dm-serif);
  font-size: 1.12rem;
}

.dm-brand small {
  color: var(--dm-muted);
  font-size: 0.78rem;
}

.dm-subnav-links {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.dm-subnav-links a {
  position: relative;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--dm-muted);
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
}

.dm-subnav-links a:hover {
  color: var(--dm-ink);
}

.dm-subnav-links a.is-current {
  color: var(--dm-ink);
}

.dm-subnav-links a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 3px;
  height: 2px;
  background: var(--dm-accent);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.dm-subnav-links a.is-current::after {
  transform: scaleX(1);
}

.dm-page .dm-subnav-manual {
  color: var(--dm-accent-ink);
  font-weight: 600;
}

/* ── 히어로 ───────────────────────────────────────── */
.dm-hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  align-items: center;
  padding: 24px 0 56px;
}

.dm-kicker {
  color: var(--dm-accent-ink);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.dm-hero h1 {
  margin-top: 14px;
  text-wrap: balance;
  font-size: clamp(2.05rem, 4.2vw, 3.15rem);
  line-height: 1.22;
}

.dm-hero h1 em {
  display: block;
  font-style: normal;
  color: var(--dm-accent);
  text-wrap: balance;
}

.dm-lead {
  margin-top: 20px;
  color: #3c4652;
  font-size: 1.04rem;
  line-height: 1.8;
}

.dm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.dm-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 28px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--dm-rule);
  list-style: none;
  color: #3c4652;
  font-size: 0.88rem;
  line-height: 1.5;
}

.dm-facts li {
  position: relative;
  padding-left: 14px;
}

.dm-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dm-mark-b);
}

.dm-hero .dm-stage {
  aspect-ratio: 16 / 9;
}

.dm-disclaimer {
  margin-top: 10px;
  color: var(--dm-muted);
  font-size: 0.8rem;
  text-align: right;
}

/* ── 장면 재생기 ──────────────────────────────────── */
.dm-player {
  margin: 0;
  min-width: 0;
}

.dm-window {
  overflow: hidden;
  border-radius: var(--dm-radius-lg);
  background: var(--dm-stage);
  box-shadow: 0 26px 50px -30px rgba(10, 16, 24, 0.75);
}

.dm-titlebar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 36px;
  padding: 0 14px;
  background: var(--dm-stage-2);
  color: #c9d1db;
  font-size: 0.78rem;
}

/* Excel 창 제목 줄 느낌의 작은 표시(실제 아이콘을 흉내 내지 않는 글자 하나). */
.dm-xl {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #1f7a4a;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
}

.dm-file {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: opacity 0.3s ease;
}

.dm-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  container-type: size;
  overflow: hidden;
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.06) 1px, transparent 1.5px) 0 0 / 18px 18px,
    var(--dm-stage);
}

.dm-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.dm-layer.is-active {
  opacity: 1;
}

/* 잘라낸 화면은 무대의 92% 폭·86% 높이 안에서, 원래 크기의 1.15배를 넘지 않게 키운다(작은 창을 키우면 흐려진다). */
.dm-shot {
  position: relative;
  width: min(92cqw, calc(86cqh * var(--r)), calc(var(--w) * 1.15px));
  aspect-ratio: var(--r);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 18px 34px -18px rgba(0, 0, 0, 0.8);
}

.dm-shot img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 6px;
}

.dm-shot--m {
  display: none;
}

/* 노란 칸 위에서도 보이도록 붉은 테두리 + 흰 안쪽 선. 채움은 없다(파란 「추가」 행 색을 바꾸지 않게). */
.dm-spot {
  position: absolute;
  border-radius: 3px;
  outline: 2.5px solid #d0402a;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9), 0 0 0 7px rgba(208, 64, 42, 0.2);
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.dm-spot.is-on,
.dm-player:not(.is-ready) .dm-layer.is-active .dm-spot {
  opacity: 1;
  transform: none;
}

.dm-spot.is-on {
  animation: dm-pulse 1.1s ease 0.35s 2;
}

@keyframes dm-pulse {
  50% {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9), 0 0 0 12px rgba(208, 64, 42, 0.08);
  }
}

.dm-cursor {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  width: 22px;
  height: 26px;
  opacity: 0;
  transform: translate(var(--x, 110cqw), var(--y, 110cqh));
  transition: transform 0.85s cubic-bezier(0.45, 0.05, 0.25, 1), opacity 0.3s ease;
  pointer-events: none;
}

.dm-cursor.is-on {
  opacity: 1;
}

.dm-cursor svg {
  display: block;
  width: 22px;
  height: 26px;
  fill: #fff;
  stroke: #111;
  stroke-width: 1.4;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.45));
  transform-origin: 3px 2px;
  transition: transform 0.12s ease;
}

.dm-cursor.is-press svg {
  transform: scale(0.82);
}

.dm-ripple {
  position: absolute;
  left: -15px;
  top: -16px;
  width: 36px;
  height: 36px;
  border: 2px solid #d0402a;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

.dm-cursor.is-press .dm-ripple {
  animation: dm-ripple 0.7s ease-out;
}

@keyframes dm-ripple {
  from {
    opacity: 1;
    transform: scale(0.3);
  }

  to {
    opacity: 0;
    transform: scale(1.5);
  }
}

.dm-caption {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  margin-top: 12px;
  font-size: 0.92rem;
  line-height: 1.55;
}

.dm-count {
  min-width: 44px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--dm-accent-soft);
  color: var(--dm-accent-ink);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.dm-text {
  min-height: 3.1em;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.dm-text.is-swap {
  opacity: 0;
  transform: translateY(6px);
}

.dm-controls {
  display: inline-flex;
  gap: 6px;
}

/* 스크립트가 붙기 전(또는 꺼진 상태)에는 동작하지 않는 단추를 보이지 않는다. */
.dm-player:not(.is-ready) .dm-controls {
  visibility: hidden;
}

.dm-ctl {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border: 1px solid var(--dm-rule);
  border-radius: 8px;
  background: var(--dm-card);
  color: var(--dm-ink);
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}

.dm-ctl:hover {
  border-color: var(--dm-accent);
}

.dm-ctl[data-dm-next] span {
  font-size: 1.2rem;
  line-height: 1;
}

.dm-ico-pause,
.dm-ico-play {
  display: block;
  width: 12px;
  height: 12px;
}

.dm-ico-pause {
  border-left: 3.5px solid currentColor;
  border-right: 3.5px solid currentColor;
  width: 11px;
}

.dm-ico-play {
  display: none;
  width: 0;
  height: 0;
  border-top: 6.5px solid transparent;
  border-bottom: 6.5px solid transparent;
  border-left: 11px solid currentColor;
}

.dm-player.is-paused .dm-ico-pause {
  display: none;
}

.dm-player.is-paused .dm-ico-play {
  display: block;
}

/* ── 절 공통 ──────────────────────────────────────── */
.dm-section {
  padding: 64px 0 0;
}

.dm-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.dm-head h2 {
  font-size: clamp(1.6rem, 2.7vw, 2.05rem);
  line-height: 1.32;
}

.dm-head p {
  margin-top: 12px;
  color: #3c4652;
}

/* ── 흐름 ─────────────────────────────────────────── */
.dm-flow-groups {
  display: grid;
  gap: 14px;
}

.dm-flow-group {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  column-gap: 20px;
  row-gap: 10px;
  padding: 20px 22px;
  border: 1px solid var(--dm-rule);
  border-radius: var(--dm-radius);
  background: var(--dm-card);
}

.dm-flow-group h3 {
  grid-row: span 3;
  color: var(--dm-accent-ink);
  font-size: 0.95rem;
  padding-top: 8px;
}

.dm-chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 화살표는 다음 노드와 한 덩어리 — 줄이 바뀌어도 화살표만 줄 끝에 매달리지 않는다. */
.dm-step {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.dm-node {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--dm-rule);
  background: var(--dm-shade);
  font-size: 0.86rem;
  line-height: 1.35;
}

.dm-arrow {
  color: #9aa3ad;
  font-size: 0.95rem;
  line-height: 1;
}

.dm-node--action {
  border: 1.6px solid var(--dm-accent);
  background: var(--dm-accent-soft);
  color: var(--dm-accent-ink);
  font-weight: 600;
}

.dm-node--user {
  border: 1.6px dashed var(--dm-mark-a);
  background: var(--dm-mark-a-soft);
}

.dm-flow-note {
  grid-column: 2;
  color: var(--dm-muted);
  font-size: 0.84rem;
}

/* ── 기능 ─────────────────────────────────────────── */
.dm-features {
  display: grid;
  gap: 22px;
}

.dm-feature {
  display: grid;
  grid-template-columns: minmax(0, 330px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding: 26px;
  border: 1px solid var(--dm-rule);
  border-radius: var(--dm-radius-lg);
  background: var(--dm-card);
}

.dm-feature-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.dm-feature-no {
  font-family: var(--dm-serif);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--dm-accent);
}

.dm-chip {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--dm-shade);
  color: #3c4652;
  font-size: 0.8rem;
}

.dm-feature h3 {
  margin-top: 14px;
  font-family: var(--dm-serif);
  font-size: 1.32rem;
  line-height: 1.4;
}

.dm-feature-text {
  margin-top: 12px;
  color: #3c4652;
  font-size: 0.95rem;
}

.dm-output {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-left: 3px solid var(--dm-mark-b);
  background: #f3f8f6;
  border-radius: 0 8px 8px 0;
  font-size: 0.86rem;
  line-height: 1.5;
}

.dm-output dt {
  color: var(--dm-mark-b);
  font-weight: 600;
  font-size: 0.78rem;
}

.dm-output dd {
  margin: 2px 0 0;
}

.dm-feature-note {
  margin-top: 12px;
  color: var(--dm-muted);
  font-size: 0.84rem;
}

.dm-page .dm-feature-guide {
  display: inline-block;
  margin-top: 16px;
  color: var(--dm-accent-ink);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(176, 68, 44, 0.35);
}

.dm-page .dm-feature-guide:hover {
  border-bottom-color: var(--dm-accent);
}

.dm-features-more {
  margin-top: 22px;
  color: var(--dm-muted);
  font-size: 0.92rem;
}

/* ── 안심 ─────────────────────────────────────────── */
.dm-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dm-trust li {
  padding: 22px 24px;
  border: 1px solid var(--dm-rule);
  border-top: 3px solid var(--dm-mark-b);
  border-radius: var(--dm-radius);
  background: var(--dm-card);
}

.dm-trust p {
  margin-top: 8px;
  color: #3c4652;
  font-size: 0.93rem;
}

/* ── 시작·요금 ────────────────────────────────────── */
.dm-start {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  gap: 28px;
  align-items: start;
}

.dm-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: dm-step;
}

.dm-steps li {
  position: relative;
  padding: 0 0 20px 52px;
  counter-increment: dm-step;
}

.dm-steps li::before {
  content: counter(dm-step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--dm-accent);
  color: #fff;
  font-weight: 600;
}

.dm-steps li::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 40px;
  bottom: 6px;
  border-left: 1.5px dashed var(--dm-rule);
}

.dm-steps li:last-child::after {
  display: none;
}

.dm-steps strong {
  display: block;
  padding-top: 4px;
}

.dm-steps p {
  margin-top: 4px;
  color: #3c4652;
  font-size: 0.93rem;
}

.dm-env {
  display: grid;
  margin: 8px 0 0;
  border: 1px solid var(--dm-rule);
  border-radius: var(--dm-radius);
  background: var(--dm-card);
  font-size: 0.88rem;
}

.dm-env div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 16px;
}

.dm-env div + div {
  border-top: 1px solid var(--dm-rule);
}

.dm-env dt {
  color: var(--dm-muted);
}

.dm-env dd {
  margin: 0;
}

.dm-price {
  padding: 26px;
  border: 1.5px solid var(--dm-ink);
  border-radius: var(--dm-radius-lg);
  background: var(--dm-card);
  box-shadow: 8px 8px 0 var(--dm-shade);
}

.dm-price-eyebrow {
  color: var(--dm-accent-ink);
  font-size: 0.84rem;
  font-weight: 600;
}

.dm-price-amount {
  margin-top: 6px;
  font-family: var(--dm-serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
}

.dm-price-note {
  margin-top: 10px;
  color: #3c4652;
  font-size: 0.9rem;
}

.dm-price-items {
  margin: 18px 0;
  font-size: 0.9rem;
}

.dm-price-items div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--dm-rule);
}

.dm-price-items dt {
  color: var(--dm-muted);
}

.dm-price-items dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.dm-price-help {
  margin-top: 14px;
  color: var(--dm-muted);
  font-size: 0.84rem;
}

.dm-page .dm-price-detail {
  display: inline-block;
  margin-top: 10px;
  color: var(--dm-accent-ink);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

/* ── 자주 묻는 질문 ───────────────────────────────── */
.dm-faq {
  max-width: 820px;
  border-top: 1px solid var(--dm-rule);
}

.dm-faq details {
  border-bottom: 1px solid var(--dm-rule);
}

.dm-faq summary {
  position: relative;
  padding: 18px 40px 18px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.dm-faq summary::-webkit-details-marker {
  display: none;
}

.dm-faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 14px;
  color: var(--dm-accent);
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform 0.2s ease;
}

.dm-faq details[open] summary::after {
  transform: rotate(45deg);
}

.dm-faq details p {
  padding: 0 40px 20px 0;
  color: #3c4652;
  font-size: 0.95rem;
}

/* ── 마무리 ───────────────────────────────────────── */
.dm-final {
  margin-top: 72px;
  padding: 44px 40px;
  border-radius: var(--dm-radius-lg);
  background: var(--dm-stage);
  color: #fff;
}

.dm-final h2 {
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  line-height: 1.38;
  max-width: 760px;
}

.dm-final p {
  margin-top: 12px;
  color: #c9d1db;
}

.dm-final .dm-actions {
  margin-top: 24px;
}

/* ── 크게 보기 ────────────────────────────────────── */
.dm-zoom {
  width: min(1240px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: var(--dm-stage);
  color: #fff;
}

.dm-zoom::backdrop {
  background: rgba(10, 14, 20, 0.72);
}

.dm-zoom-panel {
  position: relative;
  padding: 44px 14px 14px;
}

.dm-zoom-scroll {
  overflow: auto;
  max-height: calc(100vh - 150px);
  border-radius: 6px;
  -webkit-overflow-scrolling: touch;
}

.dm-zoom.is-native img {
  width: auto;
  max-width: none;
  max-height: none;
}

.dm-zoom img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 140px);
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

.dm-zoom-close {
  position: absolute;
  right: 10px;
  top: 8px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.dm-zoom-caption {
  margin-top: 10px;
  color: #c9d1db;
  font-size: 0.9rem;
}

/* ── 등장 ─────────────────────────────────────────── */
.dm-page.is-motion [data-dm-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.dm-page.is-motion [data-dm-reveal].is-seen {
  opacity: 1;
  transform: none;
}

.dm-page.is-motion .dm-flow .dm-step {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  transition-delay: calc(var(--g, 0) * 160ms + var(--i, 0) * 40ms);
}

.dm-page.is-motion .dm-flow.is-seen .dm-step {
  opacity: 1;
  transform: none;
}

/* ── 좁은 화면 ────────────────────────────────────── */
@media (max-width: 900px) {
  .dm-subnav-links a:not(.dm-subnav-manual) {
    display: none;
  }
}

@media (max-width: 960px) {
  /* 한 줄 배치에서는 장면을 글 바로 아래(단추 위)로 올려 첫 화면 가까이 보이게 한다. */
  .dm-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .dm-hero-copy {
    display: contents;
  }

  .dm-hero .dm-kicker {
    order: 1;
  }

  .dm-hero h1 {
    order: 2;
  }

  .dm-hero .dm-lead {
    order: 3;
  }

  .dm-hero-stage {
    order: 4;
    margin-top: 22px;
  }

  .dm-hero .dm-actions {
    order: 5;
  }

  .dm-hero .dm-facts {
    order: 6;
  }

  .dm-feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .dm-start {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .dm-page {
    font-size: 15.5px;
  }

  .dm-subnav {
    gap: 10px;
    padding: 6px 6px 6px 12px;
    margin-bottom: 18px;
  }

  .dm-brand small,
  .dm-subnav-links {
    display: none;
  }

  .dm-subnav .dm-btn--small {
    margin-left: auto;
    white-space: nowrap;
  }

  .dm-hero {
    padding: 8px 0 32px;
  }

  .dm-actions .dm-btn {
    width: 100%;
  }

  .dm-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .dm-disclaimer {
    text-align: left;
  }

  /* 모바일 무대 높이는 장면 중 가장 키 큰 그림에 맞춘다(서버가 --m-hw 를 계산). */
  .dm-stage,
  .dm-hero .dm-stage {
    aspect-ratio: 1 / var(--m-hw, 0.75);
  }

  .dm-layer.has-m .dm-shot--d {
    display: none;
  }

  .dm-layer.has-m .dm-shot--m {
    display: block;
  }

  .dm-shot {
    width: min(96cqw, calc(90cqh * var(--r)), calc(var(--w) * 1.15px));
  }

  .dm-caption {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .dm-controls {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }

  .dm-section {
    padding-top: 48px;
  }

  .dm-flow-group {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px;
  }

  .dm-flow-group h3 {
    grid-row: auto;
    padding-top: 0;
  }

  .dm-flow-note {
    grid-column: 1;
  }

  .dm-chain {
    gap: 6px 6px;
  }

  .dm-step {
    gap: 6px;
  }

  .dm-node {
    padding: 6px 10px;
    font-size: 0.82rem;
  }

  .dm-chain + .dm-chain {
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px dashed var(--dm-rule);
  }

  .dm-feature {
    padding: 18px;
  }

  .dm-trust {
    grid-template-columns: minmax(0, 1fr);
  }

  .dm-price {
    padding: 20px;
    box-shadow: none;
  }

  .dm-final {
    margin-top: 48px;
    padding: 30px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dm-page .dm-layer,
  .dm-page .dm-spot,
  .dm-page .dm-cursor,
  .dm-page .dm-text,
  .dm-page .dm-file {
    transition: none;
    animation: none;
  }

  .dm-page .dm-spot.is-on {
    animation: none;
  }
}
