/* DART 빠른 검색 위젯 상품 소개(/programs/dart-widget) 전용 — 모든 규칙은 .dwp-body / .dwp 아래로만.
   어두운 면의 색은 위젯 독의 다크·민트 팔레트(dock_theme.py)와 같은 값 — 실제 화면 그림과 이어지게. */

.dwp-body {
  overflow-x: clip;
}

.dwp {
  --dwp-ink: #191c20;
  --dwp-ink-2: #22262c;
  --dwp-ink-3: #2b3037;
  --dwp-ink-line: #363c44;
  --dwp-on-ink: #f2f4f7;
  --dwp-on-ink-muted: #b4bdc8;
  --dwp-mint: #48b9aa;
  --dwp-mint-tint: #23786e;          /* 흰 글자 11px 위 대비 5:1 이상 */
  --dwp-mint-deep: #1d7d70;
  --dwp-mint-wash: #d4ece5;
  --dwp-mint-ink: #155f55;           /* mint-wash 위 작은 글자(대비 6:1) */
  --dwp-mint-mist: #eef7f3;
  --dwp-card: #f8fcfa;
  --dwp-text: #17211e;
  --dwp-muted: #5b6f68;
  --dwp-line: #d5e3dc;
  --dwp-amber: #e7cd91;
  --dwp-amber-deep: #80652f;
  --dwp-display: "Hahmlet", "Pretendard Variable", Pretendard, "Malgun Gothic", serif;
  --dwp-sans: "Pretendard Variable", Pretendard, "Malgun Gothic", system-ui, sans-serif;
  --dwp-mono-face: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --dwp-top: 0px;
  --dwp-ease: cubic-bezier(.2, .75, .15, 1);

  color: var(--dwp-text);
  font-family: var(--dwp-sans);
  font-size: 16px;
  line-height: 1.72;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

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

.dwp .dwp-mono {
  font-family: var(--dwp-mono-face);
  font-feature-settings: "zero" 1;
  letter-spacing: 0;
}

.dwp-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.dwp a:focus-visible,
.dwp button:focus-visible,
.dwp summary:focus-visible {
  outline: 2px solid var(--dwp-mint);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ── 단추 ─────────────────────────────────────────────── */
.dwp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.dwp-actions--stack {
  flex-direction: column;
  margin-top: 22px;
}

.dwp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s var(--dwp-ease), background-color .2s, border-color .2s, color .2s;
}

.dwp-btn:hover {
  transform: translateY(-1px);
}

.dwp-btn--primary {
  color: #062420;
  background: var(--dwp-mint);
}

.dwp-btn--primary:hover {
  background: #5fcbbc;
}

.dwp-btn--ghost {
  color: var(--dwp-on-ink);
  border-color: color-mix(in srgb, var(--dwp-on-ink) 26%, transparent);
}

.dwp-btn--ghost:hover {
  border-color: var(--dwp-mint);
  color: #fff;
}

.dwp-btn--quiet {
  color: var(--dwp-text);
  border-color: var(--dwp-line);
  background: #fff;
}

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

/* ── 오른쪽 가장자리 목차(위젯 레일) ─────────────────────────── */
.dwp-rail {
  position: fixed;
  z-index: 30;
  top: var(--dwp-top);
  right: 0;
  bottom: 0;
  display: none;
  flex-direction: column;
  width: 58px;
  padding: 8px 0;
  background: var(--dwp-ink);
  border-left: 1px solid var(--dwp-ink-line);
  box-shadow: -10px 0 30px rgba(10, 16, 14, .16);
}

.dwp-rail-logo {
  display: grid;
  place-items: center;
  height: 44px;
  margin-bottom: 4px;
  color: var(--dwp-mint);
  font: 700 22px/1 var(--dwp-display);
  text-decoration: none;
}

.dwp-rail-items {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.dwp-rail-foot {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: auto;
  padding-top: 6px;
  border-top: 1px solid var(--dwp-ink-line);
}

.dwp-rail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 7px 2px 6px;
  color: var(--dwp-on-ink-muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color .25s, color .25s;
}

.dwp-rail-item:hover {
  color: var(--dwp-on-ink);
  background: var(--dwp-ink-2);
}

.dwp-rail-item.is-current {
  color: #fff;
  background: var(--dwp-mint-tint);
}

.dwp-rail-guide {
  color: var(--dwp-mint);
}

.dwp-ico {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (min-width: 1320px) {
  .dwp-rail {
    display: flex;
  }
}

/* 좁은 화면: 위에 붙는 가로 독 */
@media (max-width: 1319.98px) {
  .dwp-rail {
    position: sticky;
    top: var(--dwp-top);
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100vw;
    height: auto;
    margin: 0 0 0 calc(50% - 50vw);
    padding: 0 8px;
    overflow-x: auto;
    scrollbar-width: none;
    border-left: 0;
    border-bottom: 1px solid var(--dwp-ink-line);
    box-shadow: 0 8px 24px rgba(10, 16, 14, .14);
  }

  .dwp-rail::-webkit-scrollbar {
    display: none;
  }

  .dwp-rail-logo {
    height: auto;
    margin: 0 4px 0 0;
    padding: 0 10px;
  }

  .dwp-rail-items,
  .dwp-rail-foot {
    flex-direction: row;
  }

  .dwp-rail-foot {
    margin: 0 0 0 4px;
    padding: 0 0 0 4px;
    border-top: 0;
    border-left: 1px solid var(--dwp-ink-line);
  }

  .dwp-rail-item {
    flex: 0 0 auto;
    min-width: 54px;
    padding: 6px 6px 5px;
  }
}

/* ── 첫 화면 ─────────────────────────────────────────── */
.dwp-hero {
  position: relative;
  color: var(--dwp-on-ink);
  background:
    radial-gradient(900px 520px at 78% 18%, rgba(72, 185, 170, .16), transparent 62%),
    radial-gradient(700px 480px at 6% 92%, rgba(105, 169, 195, .10), transparent 64%),
    linear-gradient(180deg, #15181b, var(--dwp-ink) 40%, #16191d);
  overflow: hidden;
}

.dwp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(242, 244, 247, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 244, 247, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 85%);
  pointer-events: none;
}

.dwp-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  max-width: 1168px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) 24px clamp(48px, 6vw, 80px);
}

.dwp-kicker {
  margin: 0 0 18px;
  color: var(--dwp-mint);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
}

.dwp-hero h1 {
  margin: 0;
  font-family: var(--dwp-display);
  font-size: clamp(40px, 5vw, 70px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.dwp-hero h1 em {
  font-style: normal;
  color: var(--dwp-mint);
}

.dwp-lead {
  max-width: 34em;
  margin: 24px 0 0;
  color: var(--dwp-on-ink-muted);
  font-size: 17px;
  line-height: 1.8;
}

.dwp-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.dwp-facts li {
  padding: 6px 12px;
  border: 1px solid var(--dwp-ink-line);
  border-radius: 999px;
  color: var(--dwp-on-ink-muted);
  background: rgba(34, 38, 44, .6);
  font-size: 13px;
}

.dwp-facts .dwp-mono {
  color: var(--dwp-on-ink);
  font-size: 12px;
}

/* 가상 바탕화면 */
.dwp-desk {
  margin: 0;
}

.dwp-screen {
  --dock-w: 4.93%;
  --sheet-r: 7.5%;
  position: relative;
  aspect-ratio: 960 / 1080;
  max-height: min(78vh, 700px);
  margin-inline: auto;
  border-radius: 14px;
  overflow: hidden;
  container-type: inline-size;
  background: #0d1012;
  box-shadow:
    0 0 0 1px rgba(242, 244, 247, .08),
    0 40px 80px -30px rgba(0, 0, 0, .7),
    0 18px 40px -20px rgba(72, 185, 170, .25);
}

.dwp-screen.is-docked {
  --dock-w: 39.8%;
  --sheet-r: 43.2%;
}

.dwp-wall {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 20% 10%, #24423d, transparent 60%),
    radial-gradient(90% 70% at 90% 90%, #2a3341, transparent 60%),
    linear-gradient(160deg, #1b2a2b, #151b22);
}

.dwp-sheet {
  position: absolute;
  top: 4.5%;
  left: 3.5%;
  right: var(--sheet-r);
  bottom: 10%;
  display: flex;
  flex-direction: column;
  border-radius: 1.2cqw;
  overflow: hidden;
  background: #fbfcfc;
  box-shadow: 0 2cqw 5cqw rgba(0, 0, 0, .45);
  transition: right 1s var(--dwp-ease);
  font-size: 1.45cqw;
  color: #26302d;
}

.dwp-sheet-title {
  display: flex;
  align-items: center;
  gap: 1cqw;
  height: 4.4cqw;
  padding: 0 1.6cqw;
  color: #e9f4f0;
  background: #1f6f5c;
  font-weight: 600;
  white-space: nowrap;
}

.dwp-sheet-title i {
  width: 2cqw;
  height: 2cqw;
  border-radius: .4cqw;
  background: #e9f4f0;
  opacity: .9;
}

.dwp-sheet-ribbon {
  display: flex;
  gap: 1cqw;
  height: 5cqw;
  padding: 1.2cqw 1.6cqw;
  background: #eef2f1;
  border-bottom: 1px solid #dfe5e3;
}

.dwp-sheet-ribbon b {
  flex: 0 0 6cqw;
  border-radius: .5cqw;
  background: #dbe3e0;
}

.dwp-sheet-ribbon b:nth-child(3) {
  flex-basis: 9cqw;
}

.dwp-sheet-formula {
  display: flex;
  gap: 2cqw;
  padding: .8cqw 1.6cqw;
  border-bottom: 1px solid #dfe5e3;
  color: #50605b;
  white-space: nowrap;
  overflow: hidden;
}

.dwp-sheet-formula span:first-child {
  min-width: 6cqw;
  color: #1f6f5c;
  font-weight: 700;
}

.dwp-sheet-grid {
  flex: 1;
  overflow: hidden;
}

.dwp-sheet-head,
.dwp-sheet-row {
  display: grid;
  grid-template-columns: 4cqw 1.6fr 1.15fr 1.15fr 1.15fr .8fr;
  border-bottom: 1px solid #e6ebe9;
}

.dwp-sheet-head span,
.dwp-sheet-row span {
  padding: .65cqw 1cqw;
  border-right: 1px solid #e6ebe9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dwp-sheet-head {
  color: #6b7a75;
  background: #f1f4f3;
  text-align: center;
}

.dwp-sheet-row span:first-child {
  color: #8a9692;
  background: #f1f4f3;
  text-align: center;
}

.dwp-sheet-row .dwp-mono {
  text-align: right;
  font-size: 1.3cqw;
}

.dwp-sheet-row.is-label span {
  font-weight: 700;
  color: #3d4a46;
  background: #f6f8f7;
}

.dwp-sheet-row.is-total span {
  font-weight: 700;
  border-top: 2px solid #1f6f5c;
  background: #eaf5f1;
}

.dwp-sheet-row.is-pick span:nth-child(5) {
  outline: 2px solid #1f6f5c;
  outline-offset: -2px;
  background: #e5f3ee;
}

.dwp-dock {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 5.2%;
  width: var(--dock-w);
  overflow: hidden;
  background: var(--dwp-ink);
  box-shadow: -1.5cqw 0 4cqw rgba(0, 0, 0, .45);
  transition: width 1s var(--dwp-ease);
}

.dwp-dock-frame {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  opacity: 0;
  transition: opacity .45s ease;
}

.dwp-dock-frame.is-active {
  opacity: 1;
}

.dwp-dock-frame img {
  display: block;
  width: auto;
  height: 100%;
  max-width: none;
}

.dwp-taskbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 1.4cqw;
  height: 5.2%;
  padding: 0 2cqw;
  background: rgba(16, 20, 23, .92);
  border-top: 1px solid rgba(242, 244, 247, .06);
}

.dwp-taskbar i {
  width: 2.6cqw;
  height: 2.6cqw;
  border-radius: .6cqw;
  background: rgba(242, 244, 247, .16);
}

.dwp-taskbar i:first-child {
  background: var(--dwp-mint);
  opacity: .8;
}

.dwp-taskbar span {
  margin-left: auto;
  color: rgba(242, 244, 247, .55);
  font-size: 1.5cqw;
}

.dwp-keys {
  position: absolute;
  left: 6%;
  bottom: 13%;
  display: flex;
  align-items: center;
  gap: .8cqw;
  padding: 1.4cqw 1.8cqw;
  border-radius: 1.4cqw;
  color: var(--dwp-on-ink-muted);
  background: rgba(17, 21, 24, .86);
  box-shadow: 0 1.5cqw 4cqw rgba(0, 0, 0, .5);
  font-size: 2.4cqw;
  opacity: 0;
  transform: translateY(1.5cqw);
  transition: opacity .35s ease, transform .35s var(--dwp-ease);
}

.dwp-keys.is-on {
  opacity: 1;
  transform: none;
}

.dwp-keys kbd {
  display: inline-grid;
  place-items: center;
  min-width: 5.4cqw;
  height: 5cqw;
  padding: 0 1.2cqw;
  border-radius: .9cqw;
  color: var(--dwp-on-ink);
  background: linear-gradient(#323840, #262b31);
  box-shadow: 0 .5cqw 0 #121518, inset 0 1px 0 rgba(255, 255, 255, .08);
  font: 600 2.2cqw/1 var(--dwp-mono-face);
  transition: transform .12s ease, box-shadow .12s ease, color .12s;
}

.dwp-keys.is-press kbd {
  transform: translateY(.45cqw);
  box-shadow: 0 .05cqw 0 #121518, inset 0 1px 0 rgba(255, 255, 255, .08);
  color: var(--dwp-mint);
}

/* ── 커서·강조 ───────────────────────────────────────── */
.dwp-cursor {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  width: 22px;
  height: 26px;
  pointer-events: none;
  opacity: 0;
  transform: translate(var(--x, 0px), var(--y, 0px));
  transition: transform .85s var(--dwp-ease), opacity .3s ease;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .45));
}

.dwp-cursor svg {
  width: 100%;
  height: 100%;
  fill: #fff;
  stroke: #10171a;
  stroke-width: 1.4;
  stroke-linejoin: round;
}

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

.dwp-ripple {
  position: absolute;
  top: -11px;
  left: -11px;
  width: 26px;
  height: 26px;
  border: 2px solid var(--dwp-mint);
  border-radius: 50%;
  opacity: 0;
  transform: scale(.3);
}

.dwp-cursor.is-press .dwp-ripple {
  animation: dwp-ripple .7s ease-out;
}

@keyframes dwp-ripple {
  0% { opacity: .95; transform: scale(.3); }
  100% { opacity: 0; transform: scale(1.7); }
}

.dwp-spot {
  position: absolute;
  border-radius: 6px;
  box-shadow: 0 0 0 2px var(--dwp-mint), 0 0 0 7px rgba(72, 185, 170, .22), 0 0 24px rgba(72, 185, 170, .35);
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .4s ease, transform .5s var(--dwp-ease);
  pointer-events: none;
}

.dwp-spot.is-on {
  opacity: 1;
  transform: none;
}

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

.dwp-frame {
  padding: 10px;
  border-radius: 16px;
  background: linear-gradient(160deg, #20252a, #15181b);
  box-shadow:
    0 0 0 1px rgba(25, 28, 32, .9),
    0 30px 60px -28px rgba(10, 30, 25, .55),
    0 12px 26px -14px rgba(10, 30, 25, .35);
}

.dwp-stage {
  position: relative;
  aspect-ratio: var(--r, .6258);
  overflow: hidden;
  border-radius: 9px;
  background: var(--dwp-ink);
  cursor: pointer;
}

.dwp-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
}

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

.dwp-layer img {
  display: block;
  width: 100%;
  height: 100%;
}

.dwp-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin-top: 12px;
  color: var(--dwp-muted);
  font-size: 14px;
  line-height: 1.5;
}

.dwp-caption--dark {
  color: var(--dwp-on-ink-muted);
}

.dwp-count {
  flex: 0 0 auto;
  padding: 2px 8px;
  border-radius: 6px;
  color: var(--dwp-mint-ink);
  background: var(--dwp-mint-wash);
  font: 600 12px/1.6 var(--dwp-mono-face);
}

.dwp-caption-text {
  flex: 1 1 auto;
  transition: opacity .18s ease;
}

.dwp-caption-text.is-swap {
  opacity: 0;
}

.dwp-controls {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 4px;
}

.dwp-ctl {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--dwp-line);
  border-radius: 8px;
  color: var(--dwp-text);
  background: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.dwp-caption--dark .dwp-ctl {
  border-color: var(--dwp-ink-line);
  color: var(--dwp-on-ink);
  background: var(--dwp-ink-2);
}

.dwp-ico-pause,
.dwp-ico-play {
  display: none;
}

.dwp-ico-pause {
  width: 10px;
  height: 11px;
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
}

.dwp-ico-play {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid currentColor;
}

[data-dwp-player]:not(.is-paused) .dwp-ico-pause,
[data-dwp-hero]:not(.is-paused) .dwp-ico-pause,
[data-dwp-player].is-paused .dwp-ico-play,
[data-dwp-hero].is-paused .dwp-ico-play {
  display: block;
}

.dwp-disclaimer {
  margin: 6px 0 0;
  color: rgba(180, 189, 200, .7);
  font-size: 12px;
}

/* ── 절 공통 ─────────────────────────────────────────── */
.dwp-section {
  max-width: 1120px;
  margin: clamp(80px, 10vw, 136px) auto 0;
  scroll-margin-top: calc(var(--dwp-top) + 72px);
}

.dwp-head {
  max-width: 44em;
}

.dwp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--dwp-mint-deep);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
}

.dwp-eyebrow::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: var(--dwp-mint);
}

.dwp-head h2 {
  margin: 0;
  font-family: var(--dwp-display);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.dwp-head > p:not(.dwp-eyebrow) {
  margin: 16px 0 0;
  color: var(--dwp-muted);
  font-size: 17px;
}

.dwp-head--dark h2 {
  color: var(--dwp-on-ink);
}

.dwp-head--dark > p:not(.dwp-eyebrow) {
  color: var(--dwp-on-ink-muted);
}

.dwp-head--dark .dwp-eyebrow {
  color: var(--dwp-mint);
}

.dwp-muted {
  color: var(--dwp-muted);
}

/* ── 독 한 바퀴 ──────────────────────────────────────── */
.dwp-tour {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  margin-top: 44px;
}

.dwp-tour-list {
  display: grid;
  gap: 6px;
}

.dwp-tour-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  width: 100%;
  padding: 8px 14px 8px 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color .25s, border-color .25s, box-shadow .25s;
}

.dwp-tour-item:hover {
  background: rgba(255, 255, 255, .6);
}

.dwp-tour-item.is-active {
  border-color: var(--dwp-line);
  background: #fff;
  box-shadow: 0 10px 28px -16px rgba(20, 60, 50, .35);
}

.dwp-tour-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: 56px;
  border-radius: 9px;
  color: var(--dwp-on-ink-muted);
  background: var(--dwp-ink);
  font-size: 11px;
  font-weight: 600;
  transition: background-color .25s, color .25s;
}

.dwp-tour-item.is-active .dwp-tour-rail {
  color: #fff;
  background: var(--dwp-mint-tint);
}

.dwp-tour-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.dwp-tour-copy strong {
  font-size: 16px;
}

.dwp-tour-copy span {
  color: var(--dwp-muted);
  font-size: 14px;
  line-height: 1.55;
}

.dwp-tag {
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--dwp-amber-deep);
  background: #f5eedc;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.dwp-tag--free {
  color: var(--dwp-mint-ink);
  background: var(--dwp-mint-wash);
}

.dwp-tour-dock {
  position: sticky;
  top: calc(var(--dwp-top) + 80px);
}

/* 고른 칸 설명(좁은 화면 전용) */
.dwp-tour-notes {
  display: none;
}

.dwp-tour-frame {
  position: relative;
  aspect-ratio: 388 / 760;
  overflow: hidden;
  border-radius: 16px;
  background: var(--dwp-ink);
  box-shadow:
    0 0 0 10px #1c2024,
    0 0 0 11px rgba(25, 28, 32, .9),
    0 40px 70px -30px rgba(10, 30, 25, .6);
}

.dwp-tour-shot {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .45s ease;
}

.dwp-tour-shot.is-active {
  opacity: 1;
}

.dwp-tour-shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* ── 기능 장면 ───────────────────────────────────────── */
.dwp-features {
  display: grid;
  gap: clamp(80px, 9vw, 128px);
  margin-top: 56px;
}

.dwp-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 408px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  scroll-margin-top: calc(var(--dwp-top) + 72px);
}

.dwp-feature.is-flip {
  grid-template-columns: minmax(0, 408px) minmax(0, 1fr);
}

.dwp-feature.is-flip .dwp-feature-copy {
  order: 2;
}

.dwp-feature-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
}

.dwp-no {
  color: var(--dwp-mint-deep);
  font-size: 14px;
  font-weight: 600;
}

.dwp-chip {
  padding: 3px 10px;
  border-radius: 6px;
  color: var(--dwp-on-ink);
  background: var(--dwp-ink);
  font-size: 13px;
  font-weight: 600;
}

.dwp-feature h3 {
  margin: 0;
  font-family: var(--dwp-display);
  font-size: clamp(25px, 2.6vw, 34px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.015em;
  text-wrap: balance;
}

.dwp-feature-text {
  margin: 18px 0 0;
  color: #34433e;
}

.dwp-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.dwp-points li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 10px;
  border: 1px solid var(--dwp-line);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
}

.dwp-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dwp-mint);
}

.dwp-feature-note {
  margin: 20px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--dwp-mint);
  border-radius: 0 10px 10px 0;
  color: var(--dwp-muted);
  background: var(--dwp-mint-mist);
  font-size: 14px;
  line-height: 1.7;
}

.dwp-feature-guide {
  display: inline-flex;
  gap: 6px;
  margin-top: 18px;
  color: var(--dwp-mint-deep);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--dwp-mint-deep) 35%, transparent);
}

.dwp-feature-guide:hover {
  border-bottom-color: var(--dwp-mint-deep);
}

.dwp-feature-stage {
  position: relative;
}

/* 따로 뜨는 작은 창(메일 메모·항상 위 메모·타이머) */
.dwp-float {
  position: absolute;
  z-index: 3;
  margin: 0;
  pointer-events: none;
}

.dwp-float img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(25, 28, 32, .9), 0 26px 50px -18px rgba(5, 15, 12, .65);
}

.dwp-float figcaption {
  width: fit-content;
  margin: 8px 0 0 auto;
  padding: 4px 9px;
  border-radius: 7px;
  color: var(--dwp-text);
  background: rgba(248, 252, 250, .96);
  box-shadow: 0 0 0 1px var(--dwp-line);
  font-size: 12px;
  text-align: right;
}

/* 장면 그림 위에 겹쳐도 읽히게 — 글자는 밝은 바탕 칩 위에 */
.dwp-feature.is-flip .dwp-float figcaption {
  margin: 8px auto 0 0;
  text-align: left;
}

.dwp-float--note {
  right: -14%;
  bottom: 13%;
  width: 60%;
}

.dwp-float--memo {
  right: -14%;
  bottom: 20%;
  width: 62%;
}

.dwp-float--timer {
  right: -10%;
  bottom: 24%;
  width: 66%;
}

.dwp-feature.is-flip .dwp-float {
  right: auto;
  left: -14%;
}

.dwp-feature.is-flip .dwp-float--timer {
  left: -10%;
}

.dwp-float {
  opacity: 0;
  transform: translateY(14px) scale(.96);
  transition: opacity .45s ease, transform .6s var(--dwp-ease);
}

.dwp-float.is-on {
  opacity: 1;
  transform: none;
}

/* ★1101~1340px 에서는 ±14% 로 내민 창이 화면 왼쪽 밖으로 잘리거나 오른쪽 레일에 가렸다(검증 실측) — 그 폭부터는
   그림 아래 흐름에 둔다(1100px 이하 규칙과 같은 모양). */
@media (max-width: 1340px) {
  .dwp-float {
    position: relative;
    inset: auto !important;
    width: min(100%, 320px) !important;
    margin: 24px auto 0;
    opacity: 1;
    transform: none;
  }
}

/* 확대 보기 */
.dwp-wide {
  grid-column: 1 / -1;
  order: 3;
  margin: 8px 0 0;
}

.dwp-wide-frame {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 0 0 10px #1c2024, 0 0 0 11px rgba(25, 28, 32, .9), 0 40px 80px -36px rgba(10, 30, 25, .6);
}

.dwp-wide-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.dwp-drag {
  position: absolute;
  left: 29.1%;
  top: 28.4%;
  width: 13.7%;
  height: 2.2%;
  border-radius: 3px;
  background: rgba(72, 185, 170, .55);
  box-shadow: 0 0 0 2px var(--dwp-mint), 0 10px 18px rgba(0, 0, 0, .4);
  opacity: 0;
}

.is-motion .dwp-wide.is-seen .dwp-drag {
  animation: dwp-drag 5.5s var(--dwp-ease) 1s infinite;
}

@keyframes dwp-drag {
  0%, 12% { opacity: 0; transform: translate(0, 0); }
  18% { opacity: 1; transform: translate(0, 0) scale(1.04); }
  48% { opacity: 1; transform: translate(207%, 0) scale(1.04); }
  58% { opacity: 1; transform: translate(207%, 0); }
  70%, 100% { opacity: 0; transform: translate(207%, 0); }
}

.dwp-wide figcaption {
  margin-top: 22px;
  color: var(--dwp-muted);
  font-size: 14px;
  text-align: center;
}

/* 브라우저로 로그인 흐름 */
.dwp-flow {
  grid-column: 1 / -1;
  order: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1.25fr);
  gap: 0;
  align-items: center;
  max-width: 860px;
  margin: 12px auto 0;
}

.dwp-flow figcaption {
  grid-column: 1 / -1;
  margin-top: 22px;
  color: var(--dwp-muted);
  font-size: 14px;
  text-align: center;
}

.dwp-flow-widget,
.dwp-flow-browser {
  position: relative;
  padding: 18px 20px;
  border-radius: 14px;
  font-size: 14px;
}

.dwp-flow-widget {
  color: var(--dwp-on-ink);
  background: var(--dwp-ink);
  box-shadow: 0 24px 50px -24px rgba(5, 15, 12, .6);
}

.dwp-flow-browser {
  color: var(--dwp-text);
  background: #fff;
  border: 1px solid var(--dwp-line);
  box-shadow: 0 24px 50px -28px rgba(10, 40, 30, .4);
}

.dwp-flow p {
  margin: 0;
}

.dwp-flow-label {
  color: var(--dwp-mint);
  font-size: 12px;
  font-weight: 700;
}

.dwp-flow-status {
  margin-top: 6px !important;
  color: var(--dwp-on-ink-muted);
}

.dwp-flow-url {
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--dwp-muted);
  background: #f1f5f3;
  font-size: 12px;
}

.dwp-flow-title {
  margin-top: 14px !important;
  font-family: var(--dwp-display);
  font-size: 18px;
  font-weight: 700;
}

.dwp-flow-code {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 12px !important;
}

.dwp-flow-code span {
  font-size: 12px;
  opacity: .75;
}

.dwp-flow-code b {
  font-size: 26px;
  letter-spacing: .28em;
  transition: color .3s, text-shadow .3s;
}

.dwp-flow-buttons {
  display: flex;
  gap: 8px;
  margin-top: 14px !important;
}

.dwp-flow-buttons span {
  padding: 7px 16px;
  border: 1px solid var(--dwp-line);
  border-radius: 8px;
  font-weight: 700;
}

.dwp-flow-buttons .is-yes {
  border-color: transparent;
  color: #062420;
  background: var(--dwp-mint);
  transition: transform .15s ease, box-shadow .2s;
}

.dwp-flow-done {
  margin-top: 12px !important;
  color: var(--dwp-mint);
  font-weight: 700;
  opacity: 0;
  transition: opacity .4s ease;
}

.dwp-flow-wire {
  position: relative;
  height: 2px;
  margin: 0 10px;
  background: repeating-linear-gradient(90deg, var(--dwp-line) 0 6px, transparent 6px 12px);
}

.dwp-flow-wire i {
  position: absolute;
  top: -4px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dwp-mint);
  opacity: 0;
}

.dwp-flow.is-step-1 .dwp-flow-wire i {
  animation: dwp-wire 1.2s var(--dwp-ease) forwards;
}

.dwp-flow.is-step-3 .dwp-flow-wire i {
  animation: dwp-wire-back 1.1s var(--dwp-ease) forwards;
}

@keyframes dwp-wire {
  0% { opacity: 1; left: 0; }
  100% { opacity: 0; left: calc(100% - 10px); }
}

@keyframes dwp-wire-back {
  0% { opacity: 1; left: calc(100% - 10px); }
  100% { opacity: 0; left: 0; }
}

.dwp-flow.is-step-2 .dwp-flow-code b {
  color: var(--dwp-mint);
  text-shadow: 0 0 18px rgba(72, 185, 170, .55);
}

.dwp-flow-browser .dwp-flow-code b {
  color: var(--dwp-mint-deep);
}

.dwp-flow.is-step-3 .dwp-flow-buttons .is-yes {
  transform: scale(.94);
  box-shadow: 0 0 0 5px rgba(72, 185, 170, .25);
}

.dwp-flow.is-step-4 .dwp-flow-done {
  opacity: 1;
}

.dwp-flow.is-step-4 .dwp-flow-status {
  opacity: .35;
}

/* ── 자리·밝기·색상 ──────────────────────────────────── */
.dwp-yours-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  margin-top: 48px;
}

.dwp-edges {
  margin: 0;
}

.dwp-edges-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(160deg, #1b2a2b, #151b22);
  box-shadow: 0 0 0 10px #1c2024, 0 0 0 11px rgba(25, 28, 32, .9), 0 30px 60px -30px rgba(10, 30, 25, .6);
}

.dwp-edges-window {
  position: absolute;
  inset: 8% 24% 8% 6%;
  border-radius: 8px;
  background: #fbfcfc;
  box-shadow: 0 16px 30px rgba(0, 0, 0, .35);
}

.dwp-edges-window i {
  display: block;
  height: 7%;
  margin: 6% 7% 0;
  border-radius: 3px;
  background: #e2e8e6;
}

.dwp-edges-window i:first-child {
  margin: 0 0 4%;
  height: 11%;
  border-radius: 8px 8px 0 0;
  background: #1f6f5c;
}

.dwp-edges-dock {
  position: absolute;
  top: 0;
  right: 0;
  width: 17%;
  height: 100%;
  background: var(--dwp-ink);
  box-shadow: 0 0 0 1px var(--dwp-ink-line), 0 0 30px rgba(0, 0, 0, .5);
  background-image: linear-gradient(90deg, var(--dwp-ink-2) 0 26%, transparent 26%);
}

.is-motion .dwp-edges.is-seen .dwp-edges-dock {
  animation: dwp-edge-dock 16s var(--dwp-ease) infinite;
}

.is-motion .dwp-edges.is-seen .dwp-edges-window {
  animation: dwp-edge-window 16s var(--dwp-ease) infinite;
}

@keyframes dwp-edge-dock {
  0%, 20% { top: 0; right: 0; left: 83%; bottom: 0; width: auto; height: auto; }
  25%, 45% { top: 74%; right: 0; left: 0; bottom: 0; width: auto; height: auto; }
  50%, 70% { top: 0; right: 83%; left: 0; bottom: 0; width: auto; height: auto; }
  75%, 95% { top: 0; right: 0; left: 0; bottom: 74%; width: auto; height: auto; }
  100% { top: 0; right: 0; left: 83%; bottom: 0; width: auto; height: auto; }
}

@keyframes dwp-edge-window {
  0%, 20% { inset: 8% 21% 8% 6%; }
  25%, 45% { inset: 6% 6% 30% 6%; }
  50%, 70% { inset: 8% 6% 8% 21%; }
  75%, 95% { inset: 30% 6% 6% 6%; }
  100% { inset: 8% 21% 8% 6%; }
}

.dwp-edges figcaption {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.dwp-edge-label {
  padding: 4px 12px;
  border-radius: 999px;
  color: var(--dwp-muted);
  background: #fff;
  border: 1px solid var(--dwp-line);
  font-size: 13px;
  font-weight: 700;
}

.is-motion .dwp-edges.is-seen .dwp-edge-label {
  animation: dwp-edge-label 16s linear infinite;
}

.dwp-edge-label[data-edge="bottom"] { animation-delay: 4s !important; }
.dwp-edge-label[data-edge="left"] { animation-delay: 8s !important; }
.dwp-edge-label[data-edge="top"] { animation-delay: 12s !important; }

@keyframes dwp-edge-label {
  0%, 24% { color: #fff; background: var(--dwp-mint-tint); border-color: transparent; }
  25.5%, 100% { color: var(--dwp-muted); background: #fff; border-color: var(--dwp-line); }
}

.dwp-themes h3 {
  margin: 0;
  font-family: var(--dwp-display);
  font-size: 24px;
}

.dwp-themes > p {
  margin: 8px 0 0;
  color: var(--dwp-muted);
}

.dwp-theme-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  margin-top: 20px;
}

.dwp-segment {
  display: inline-flex;
  padding: 3px;
  border-radius: 10px;
  background: #e6efeb;
}

.dwp-seg {
  padding: 6px 14px;
  border: 0;
  border-radius: 8px;
  color: var(--dwp-muted);
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.dwp-seg.is-on {
  color: var(--dwp-text);
  background: #fff;
  box-shadow: 0 2px 6px rgba(20, 50, 40, .12);
}

.dwp-swatches {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dwp-swatch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 6px;
  border: 1px solid var(--dwp-line);
  border-radius: 999px;
  color: var(--dwp-text);
  background: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.dwp-swatch i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
}

.dwp-swatch--mint i { background: #48b9aa; }
.dwp-swatch--sand i { background: #d6ac58; }
.dwp-swatch--slate i { background: #69a9c3; }
.dwp-swatch--lavender i { background: #b79ad2; }

.dwp-swatch.is-on {
  border-color: var(--dwp-text);
  box-shadow: 0 0 0 1px var(--dwp-text);
}

.dwp-theme-frame {
  position: relative;
  width: min(100%, 388px);
  aspect-ratio: 388 / 600;
  margin-top: 24px;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 0 0 10px #1c2024, 0 0 0 11px rgba(25, 28, 32, .9), 0 30px 60px -30px rgba(10, 30, 25, .6);
}

.dwp-theme-shot {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .4s ease;
}

.dwp-theme-shot.is-active {
  opacity: 1;
}

.dwp-theme-shot img {
  display: block;
  width: 100%;
  height: 100%;
}

/* ── 무엇이 어디서 ───────────────────────────────────── */
.dwp-privacy {
  margin-top: clamp(80px, 10vw, 136px);
  color: var(--dwp-on-ink);
  background: var(--dwp-ink);
  scroll-margin-top: var(--dwp-top);
}

.dwp-privacy-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 104px) 24px;
}

.dwp-privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}

.dwp-zone {
  padding: 24px 24px 20px;
  border-radius: 14px;
  background: var(--dwp-ink-2);
  border: 1px solid var(--dwp-ink-line);
}

.dwp-zone h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 17px;
}

.dwp-zone h3::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--dwp-mint);
}

.dwp-zone--server h3::before {
  background: #69a9c3;
}

.dwp-zone--external h3::before {
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--dwp-amber);
}

.dwp-zone ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dwp-zone li {
  padding-top: 10px;
  border-top: 1px solid var(--dwp-ink-line);
  color: var(--dwp-on-ink-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ── 시작·요금 ───────────────────────────────────────── */
.dwp-start {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  margin-top: 44px;
}

.dwp-steps {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: dwp-step;
}

.dwp-steps li {
  position: relative;
  padding: 16px 0 16px 56px;
  border-top: 1px solid var(--dwp-line);
  counter-increment: dwp-step;
}

.dwp-steps li::before {
  content: counter(dwp-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 18px;
  color: var(--dwp-mint-deep);
  font: 600 15px/1 var(--dwp-mono-face);
}

.dwp-steps strong {
  font-size: 17px;
}

.dwp-steps p {
  margin: 4px 0 0;
  color: var(--dwp-muted);
  font-size: 15px;
}

.dwp-env {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--dwp-line);
}

.dwp-env div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--dwp-line);
}

.dwp-env div:first-child {
  border-top: 0;
}

.dwp-env dt {
  color: var(--dwp-muted);
  font-size: 14px;
  font-weight: 700;
}

.dwp-env dd {
  margin: 0;
  font-size: 14px;
}

.dwp-price {
  position: sticky;
  top: calc(var(--dwp-top) + 80px);
  padding: 28px;
  border-radius: 16px;
  color: var(--dwp-on-ink);
  background:
    radial-gradient(420px 260px at 100% 0, rgba(72, 185, 170, .22), transparent 70%),
    var(--dwp-ink);
  box-shadow: 0 36px 70px -36px rgba(10, 30, 25, .7);
}

.dwp-price-label {
  margin: 0;
  color: var(--dwp-on-ink-muted);
  font-size: 13px;
  font-weight: 700;
}

.dwp-price-amount {
  margin: 10px 0 0;
  font-family: var(--dwp-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1.3;
}

.dwp-price-note {
  margin: 12px 0 0;
  color: var(--dwp-on-ink-muted);
  font-size: 14px;
}

.dwp-price-list {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.dwp-price-list li {
  display: flex;
  gap: 10px;
  font-size: 14px;
}

.dwp-price-list li::before {
  content: "✓";
  color: var(--dwp-mint);
  font-weight: 700;
}

.dwp-price-sep {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--dwp-ink-line);
}

.dwp-price-sep p:last-child {
  margin: 8px 0 0;
  color: var(--dwp-on-ink-muted);
  font-size: 14px;
}

.dwp-price .dwp-btn--quiet {
  color: var(--dwp-on-ink);
  border-color: var(--dwp-ink-line);
  background: var(--dwp-ink-2);
}

/* ── 질문·릴리스 ─────────────────────────────────────── */
.dwp-faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  margin-top: 36px;
}

.dwp-faq details,
.dwp-release-list details {
  padding: 18px 0;
  border-top: 1px solid var(--dwp-line);
}

.dwp-faq summary,
.dwp-release-list summary {
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  list-style: none;
}

.dwp-faq summary::-webkit-details-marker,
.dwp-release-list summary::-webkit-details-marker {
  display: none;
}

.dwp-faq summary::after {
  content: "+";
  float: right;
  color: var(--dwp-mint-deep);
  font: 500 20px/1.2 var(--dwp-mono-face);
}

.dwp-faq details[open] summary::after {
  content: "–";
}

.dwp-faq p,
.dwp-release-list p {
  margin: 10px 0 0;
  color: var(--dwp-muted);
  font-size: 15px;
}

.dwp-release-list {
  margin-top: 28px;
}

.dwp-release-list summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.dwp-release-list summary small {
  color: var(--dwp-muted);
  font-weight: 600;
}

.dwp-release-list a {
  display: inline-block;
  margin-top: 10px;
  color: var(--dwp-mint-deep);
  font-weight: 700;
}

/* ── 마지막 띠 ───────────────────────────────────────── */
.dwp-final {
  margin-top: clamp(80px, 10vw, 136px);
  margin-bottom: -64px;
  color: var(--dwp-on-ink);
  background:
    radial-gradient(700px 300px at 50% 0, rgba(72, 185, 170, .18), transparent 70%),
    var(--dwp-ink);
}

.dwp-final-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) 24px;
  text-align: center;
}

.dwp-final h2 {
  margin: 0;
  font-family: var(--dwp-display);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 700;
  letter-spacing: -.02em;
}

.dwp-final p {
  margin: 16px 0 0;
  color: var(--dwp-on-ink-muted);
  font-size: 17px;
}

.dwp-final .dwp-actions {
  justify-content: center;
}

/* ── 등장 연출 ───────────────────────────────────────── */
.is-motion [data-dwp-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .9s var(--dwp-ease);
}

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

/* ── 좁은 화면 ───────────────────────────────────────── */
@media (max-width: 1100px) {
  .dwp-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .dwp-desk {
    width: min(100%, 560px);
    margin-inline: auto;
  }

  .dwp-feature,
  .dwp-feature.is-flip {
    grid-template-columns: minmax(0, 1fr);
  }

  .dwp-feature.is-flip .dwp-feature-copy {
    order: 0;
  }

  .dwp-feature-stage {
    width: min(100%, 408px);
    margin-inline: auto;
  }

  .dwp-float {
    position: relative;
    inset: auto !important;
    width: min(100%, 320px) !important;
    margin: 24px auto 0;
    opacity: 1;
    transform: none;
  }

  .dwp-tour {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

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

  .dwp-price {
    position: static;
  }

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

@media (max-width: 760px) {
  .dwp {
    font-size: 15px;
  }

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

  /* ★칸 목록(1,400px)이 그림보다 길어 아래 칸을 누르면 화면 밖 그림만 바뀌었다(검증 실측) — 목록을 가로 칩으로 줄이고
     고른 칸의 설명을 그림 바로 위에 둔다. */
  .dwp-tour {
    gap: 12px;
  }

  .dwp-tour-list {
    position: relative;
    display: flex;
    gap: 6px;
    margin-inline: -16px;
    padding: 2px 16px 8px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .dwp-tour-list::-webkit-scrollbar {
    display: none;
  }

  .dwp-tour-item {
    display: block;
    flex: 0 0 auto;
    width: auto;
    padding: 3px;
    scroll-snap-align: center;
  }

  .dwp-tour-rail {
    width: 56px;
    height: 52px;
  }

  .dwp-tour-item .dwp-tour-copy,
  .dwp-tour-item .dwp-tag {
    display: none;
  }

  .dwp-tour-dock {
    position: static;
    width: min(100%, 320px);
    margin: 0 auto;
  }

  .dwp-tour-notes {
    display: block;
    margin-bottom: 12px;
  }

  .dwp-tour-note {
    display: none;
    margin: 0;
  }

  .dwp-tour-note.is-active {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 10px;
    align-items: center;
  }

  .dwp-tour-note strong {
    font-size: 16px;
  }

  .dwp-tour-note-text {
    grid-column: 1 / -1;
    color: var(--dwp-muted);
    font-size: 14px;
    line-height: 1.55;
  }

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

  .dwp-flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .dwp-flow-wire {
    width: 2px;
    height: 28px;
    margin: 0 auto;
    background: repeating-linear-gradient(180deg, var(--dwp-line) 0 6px, transparent 6px 12px);
  }

  .dwp-flow-wire i {
    display: none;
  }

  .dwp-env div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dwp *,
  .dwp *::before,
  .dwp *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* 시작 절 — 접어 둔 호환판 안내 */
.dwp-more {
  margin-top: 8px;
}

.dwp-more summary {
  color: var(--dwp-mint-deep);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.dwp-more p {
  margin: 8px 0 0;
  color: var(--dwp-muted);
  font-size: 13px;
  line-height: 1.7;
}
