/* 이혼 절차 시뮬레이션 (2026-10, 계산기 페이지와 같은 틀) */
.gp-hero { padding: 56px 0 28px; }
.gp-hero .h2-crumb { margin-bottom: 28px; }
.gp-h1 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.2; font-weight: 700; letter-spacing: -.035em; margin: 0; }
.gp-lead { font-size: 17px; line-height: 1.7; color: var(--h2-sub); margin: 16px 0 0; max-width: 720px; }

.ds-tool { padding: 12px 0 64px; }
.ds-app { max-width: 820px; margin: 0 auto; }
.ds-card { background: #fff; border: 1px solid var(--h2-line); border-radius: 22px; padding: 30px 30px 28px; }

/* 처음 질문 */
.ds-q { margin: 0 0 26px; }
.ds-q:last-of-type { margin-bottom: 8px; }
.ds-qt { display: block; font-size: 17px; font-weight: 700; color: var(--h2-ink); margin: 0 0 10px; letter-spacing: -.02em; }
.ds-qt small { display: block; font-size: 14px; font-weight: 500; color: var(--h2-sub); margin-top: 4px; }
.ds-seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.ds-seg button, .ds-choice button {
  font: inherit; font-size: 16px; font-weight: 600; color: var(--h2-ink); background: var(--h2-bg);
  border: 1.5px solid var(--h2-line); border-radius: 14px; padding: 14px 16px; cursor: pointer; text-align: left; line-height: 1.4;
  transition: border-color .15s, background .15s;
}
.ds-seg button small, .ds-choice button small { display: block; font-size: 13px; font-weight: 500; color: var(--h2-sub); margin-top: 3px; }
.ds-seg button:hover, .ds-choice button:hover { border-color: var(--h2-navy); }
.ds-seg button[aria-pressed="true"] { border-color: var(--h2-navy); background: #fff; box-shadow: inset 0 0 0 1px var(--h2-navy); }
.ds-start { margin-top: 22px; display: flex; justify-content: flex-end; }

.ds-btn { font: inherit; display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 26px; border-radius: 999px;
  font-size: 16px; font-weight: 700; cursor: pointer; border: 1.5px solid transparent; transition: background .2s, opacity .2s; }
.ds-btn-fill { background: var(--h2-navy); color: #fff; }
.ds-btn-fill:hover { background: #0b2445; }
.ds-btn-fill:disabled { opacity: .35; cursor: default; }
.ds-btn-line { background: transparent; border-color: var(--h2-line); color: var(--h2-ink); }
.ds-btn-line:hover { border-color: var(--h2-ink); }

/* 진행 표시 */
.ds-route { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.ds-route-name { font-size: 15px; font-weight: 700; color: var(--h2-navy); }
.ds-route-count { font-size: 14px; color: var(--h2-sub); white-space: nowrap; }
.ds-bar { height: 4px; border-radius: 4px; background: var(--h2-tint); overflow: hidden; margin-bottom: 26px; }
.ds-bar span { display: block; height: 100%; background: var(--h2-accent); width: 0; transition: width .35s ease; }

/* 단계 화면 */
.ds-step { animation: ds-in .3s ease; }
@keyframes ds-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ds-step { animation: none; } .ds-bar span { transition: none; } }
.ds-when { display: inline-block; font-size: 13px; font-weight: 700; color: var(--h2-accent-dark); background: #fbeee8; border-radius: 999px; padding: 5px 12px; margin: 0 0 14px; }
.ds-title { font-size: clamp(23px, 3vw, 30px); line-height: 1.35; font-weight: 700; letter-spacing: -.03em; margin: 0 0 14px; }
.ds-body p { font-size: 17px; line-height: 1.75; color: var(--h2-ink); margin: 0 0 12px; }
.ds-body a { color: var(--h2-navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ds-todo { background: var(--h2-bg); border-radius: 16px; padding: 18px 20px; margin: 18px 0 0; }
.ds-todo h3 { font-size: 15px; font-weight: 700; margin: 0 0 8px; color: var(--h2-navy); }
.ds-todo p { font-size: 15.5px; line-height: 1.7; margin: 0 0 6px; color: var(--h2-ink); padding-left: 18px; position: relative; }
.ds-todo p::before { content: ""; position: absolute; left: 2px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--h2-accent); }
.ds-ask { font-size: 17px; font-weight: 700; margin: 26px 0 10px; }
.ds-choice { display: grid; gap: 8px; }

.ds-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--h2-line); }

/* 마지막 정리 */
.ds-trail { list-style: none; margin: 18px 0 0; padding: 0; counter-reset: ds; }
.ds-trail li { counter-increment: ds; position: relative; padding: 0 0 18px 44px; }
.ds-trail li::before { content: counter(ds); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--h2-navy); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.ds-trail li::after { content: ""; position: absolute; left: 13.5px; top: 30px; bottom: 2px; width: 1px; background: var(--h2-line); }
.ds-trail li:last-child::after { display: none; }
.ds-trail strong { display: block; font-size: 16px; line-height: 1.5; }
.ds-trail span { font-size: 14px; color: var(--h2-sub); }
.ds-end-note { font-size: 15.5px; line-height: 1.75; color: var(--h2-sub); margin: 8px 0 0; }
.ds-end-note a { color: var(--h2-navy); font-weight: 600; }
.ds-notice { font-size: 14px; line-height: 1.7; color: var(--h2-sub); margin: 16px 4px 0; }

/* 아래 요약 글 */
.ds-summary { padding: 8px 0 88px; }
.ds-summary .h2-wrap { max-width: 820px; }
.ds-summary h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.03em; margin: 0 0 20px; }
.ds-summary h3 { font-size: 19px; letter-spacing: -.02em; margin: 30px 0 10px; }
.ds-summary p { font-size: 16.5px; line-height: 1.8; color: var(--h2-ink); margin: 0 0 12px; }
.ds-summary a { color: var(--h2-navy); font-weight: 600; }

@media (max-width: 640px) {
  .gp-hero { padding: 36px 0 20px; }
  .ds-card { padding: 22px 18px 22px; border-radius: 18px; }
  .ds-seg { grid-template-columns: 1fr 1fr; }
  .ds-body p { font-size: 16px; }
  .ds-btn { height: 48px; padding: 0 20px; font-size: 15px; }
  .ds-nav .ds-btn { flex: 1; justify-content: center; }
}
