/* 사내비 G5 브랜드: 로고 키트(docs/branding/sanaebi-logo/kit) · Pretendard(SIL OFL 1.1) */
@font-face {
  font-family: "Pretendard V";
  src: url("/images/member/PretendardVariable.woff2") format("woff2");
  font-weight: 45 920;
}

/* 사내비 앱 화면 중심 랜딩 시안(v2) 전용 스타일.
   공통 saneb-dashboard.css의 브랜드 토큰·폰트·.brand를 그대로 쓰고, 이 파일은 랜딩 범위만 덮는다. */

.v2-document {
  --ink: #1E1030;
  --body: #5A4A6A;
  --surface: #F6F1FA;
  --line: #ECE3F3;
  --chip-line: #DCCDE8;
  --control-line: #8E7BA0;
  --brand: #5B1A86;
  --brand-strong: #3B1260;
  --mint: #F1E3FC;
  --accent: #B42FB8;
  --error: #b3261e;
  --radius-control: 16px;
  --radius-app-control: 14px;
  --radius-chip: 12px;
  --radius-card: 28px;
  --radius-inner: 20px;
  --radius-phone: 40px;
  --ease-out: cubic-bezier(.2, 0, 0, 1);
}

body.v2 {
  background: #fff;
  color: var(--ink);
  font-family: "Pretendard V", "Pretendard", "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.v2 h1, .v2 h2, .v2 h3, .v2 h4, .v2 p, .v2 ol, .v2 ul, .v2 fieldset {
  margin: 0;
}

.v2 ol, .v2 ul {
  padding: 0;
  list-style: none;
}

.v2 button, .v2 select {
  font: inherit;
}

.v2 :focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(100%, 1200px);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.container.narrow {
  width: min(100%, 880px);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 12px 18px;
  border-radius: var(--radius-chip);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus-visible {
  transform: none;
}

/* ---------- 시안 표시 · 헤더 ---------- */

.mock-banner {
  padding: 10px 20px;
  background: var(--surface);
  color: var(--body);
  font-size: 15px;
  text-align: center;
}

.mock-banner strong {
  margin-right: 8px;
  color: var(--ink);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  min-height: 76px;
}

.site-header .brand {
  flex-shrink: 0;
  font-size: 28px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  margin-right: auto;
}

.site-nav a {
  padding: 8px 0;
  color: var(--body);
  font-size: 17px;
  font-weight: 600;
}

.site-nav a:hover {
  color: var(--ink);
}

.login-button {
  flex-shrink: 0;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius-chip);
  background: var(--surface);
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.login-button:hover {
  background: var(--line);
}

/* ---------- 공통 활자 · 버튼 ---------- */

.eyebrow {
  color: var(--brand);
  font-size: 18px;
  font-weight: 700;
}

.section-intro h2,
.showcase-copy h2,
.closing h2 {
  margin-top: 12px;
  font-size: clamp(36px, 2.5vw + 22px, 56px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.value-row h3 {
  margin-top: 12px;
  font-size: clamp(30px, 1.8vw + 20px, 44px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.lead {
  margin-top: 20px;
  color: var(--body);
  font-size: clamp(20px, .45vw + 17px, 24px);
  line-height: 1.6;
}

.fine {
  margin-top: 16px;
  color: var(--body);
  font-size: 17px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 0 34px;
  border: 0;
  border-radius: var(--radius-control);
  background: var(--brand);
  color: #fff;
  font-size: clamp(18px, .3vw + 16.5px, 21px);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: background-color 160ms var(--ease-out), transform 120ms var(--ease-out);
}

.primary-button:hover {
  background: var(--brand-strong);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 4px;
  color: var(--body);
  font-size: 19px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.text-link:hover {
  color: var(--ink);
}

.primary-button:active,
.login-button:active,
.app-primary:active,
.app-secondary:active,
.chip input + span:active,
.option input + span:active {
  transform: scale(.98);
}

/* ---------- 히어로 ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: clamp(600px, 84svh, 900px);
  padding-block: clamp(72px, 10vw, 120px) clamp(120px, 14vw, 180px);
  overflow: hidden;
  text-align: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  /* 영상·포스터를 불러오지 못해도 가장자리의 정적 민트 면이 남는다. */
  background:
    radial-gradient(ellipse 34% 42% at 0% 100%, rgba(91, 26, 134, .14), rgba(241, 227, 252, .6) 55%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(ellipse 26% 34% at 100% 0%, rgba(91, 26, 134, .1), rgba(241, 227, 252, .5) 55%, rgba(255, 255, 255, 0) 100%),
    #fff;
}

.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 52% 46% at 50% 46%, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 72%);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  margin-top: 20px;
  font-size: clamp(38px, 4.4vw + 18px, 80px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.hero-lead {
  margin-top: 28px;
  color: var(--body);
  font-size: clamp(20px, .45vw + 17.5px, 24px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 28px;
  margin-top: 44px;
}

.hero-note {
  margin-top: 24px;
  color: var(--body);
  font-size: 17px;
}

.motion-control {
  position: absolute;
  right: 0;
  bottom: 28px;
  left: 0;
  display: flex;
  justify-content: flex-end;
}

.motion-toggle {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-chip);
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.motion-toggle::before {
  content: "Ⅱ";
  margin-right: 8px;
  font-weight: 800;
}

.motion-toggle[aria-pressed="true"]::before {
  content: "▶";
}

.motion-toggle:disabled {
  color: var(--body);
  cursor: default;
}

.motion-toggle:disabled::before {
  content: none;
}

/* ---------- 섹션 · 쇼케이스 행 ---------- */

.section {
  padding-block: clamp(88px, 10vw, 160px);
}

.section + .section {
  padding-top: clamp(48px, 6vw, 96px);
}

.showcase-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.showcase-row > * {
  min-width: 0;
}

.showcase-row.is-reversed .stage {
  order: -1;
}

.section-intro + .value-row {
  margin-top: clamp(48px, 6vw, 88px);
}

.value-row + .value-row {
  margin-top: clamp(80px, 10vw, 160px);
}

.stage {
  display: grid;
  place-items: center;
  padding: clamp(28px, 5vw, 64px) clamp(16px, 4vw, 56px);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.policy-note {
  margin-top: clamp(64px, 8vw, 112px);
  padding: 24px 28px;
  border-radius: var(--radius-inner);
  background: var(--surface);
  color: var(--body);
  font-size: 18px;
}

.callout {
  margin-top: 32px;
  padding: 24px;
  border-radius: var(--radius-inner);
  background: var(--surface);
}

.callout strong {
  font-size: 18px;
}

.callout p {
  margin-top: 6px;
  color: var(--body);
  font-size: 17px;
}

/* ---------- 앱 화면(폰 프레임) ---------- */

.phone {
  width: min(100%, 360px);
  padding: 12px 14px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-phone);
  background: #fff;
  /* 깊이는 아주 옅게만: 표면이 떠 보이되 그림자가 시선을 끌지 않도록 */
  box-shadow: 0 12px 32px rgba(25, 31, 40, .06);
  text-align: left;
}

.phone-top {
  display: flex;
  justify-content: center;
  height: 22px;
}

.phone-top span {
  width: 76px;
  height: 6px;
  border-radius: 999px;
  background: var(--line);
}

.app {
  display: grid;
  gap: 16px;
  padding: 8px 6px 0;
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
}

.app-bar img {
  width: 24px;
  height: 24px;
}

.app-badge {
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--body);
  font-size: 13px;
  font-weight: 700;
}

.app-title {
  color: var(--ink);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.4;
}

.app-card {
  display: grid;
  gap: 8px;
  justify-items: start;
  padding: 18px;
  border-radius: var(--radius-inner);
  background: var(--surface);
}

.app-card-mint {
  background: var(--mint);
}

.app-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--mint);
  color: var(--brand-strong);
  font-size: 14px;
  font-weight: 700;
}

.app-card .app-tag {
  background: #fff;
}

.app-card-mint .app-section {
  color: var(--brand-strong);
}

.app-strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
}

.app-muted {
  color: var(--body);
  font-size: 15px;
  line-height: 1.55;
}

.app-section {
  color: var(--body);
  font-size: 14px;
  font-weight: 700;
}

.app-fine {
  color: var(--body);
  font-size: 14px;
  line-height: 1.5;
}

/* 서비스 예시 카드 */
.example-card h3 {
  margin-top: 4px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.45;
}

.example-card p {
  color: var(--body);
  font-size: 16px;
  line-height: 1.55;
}

.example-card h4 {
  margin-top: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.app-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.app-pills li {
  padding: 5px 10px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.example-card .app-caution {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

/* 정적 화면 예시의 목록·상태 */
.app-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
}

.app-list li:last-child {
  border-bottom: 0;
}

.app-list strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
}

.app-list small {
  display: block;
  color: var(--body);
  font-size: 14px;
}

.state {
  flex-shrink: 0;
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.state-done {
  color: var(--body);
}

.state-done::before {
  content: "✓ ";
}

.state-progress {
  padding: 3px 8px;
  border-radius: 8px;
  background: var(--mint);
  color: var(--brand-strong);
}

.state-quiet {
  color: var(--body);
  font-weight: 600;
}

.app-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: var(--radius-app-control);
  background: var(--brand);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.app-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  margin-top: 8px;
  counter-reset: app-step;
}

.app-steps li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  color: var(--body);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  counter-increment: app-step;
}

.app-steps li::before {
  content: counter(app-step);
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 2px solid var(--chip-line);
  border-radius: 50%;
  background: #fff;
  color: var(--body);
  font-size: 13px;
  font-weight: 800;
}

.app-steps li + li::after {
  content: "";
  position: absolute;
  top: 13px;
  right: 50%;
  width: 100%;
  height: 2px;
  background: var(--chip-line);
}

.app-steps li.is-done::before {
  content: "✓";
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.app-steps li.is-done + li::after,
.app-steps li.is-current::after {
  background: var(--brand);
}

.app-steps li.is-current {
  color: var(--brand-strong);
  font-weight: 800;
}

.app-steps li.is-current::before {
  border-color: var(--brand);
  color: var(--brand-strong);
}

/* ---------- 선택 칩 · 선택지 ---------- */

.app-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  padding: 0;
  border: 0;
}

.app-chips legend {
  width: 100%;
  margin-bottom: 12px;
  padding: 0;
}

.chip,
.option {
  position: relative;
  display: flex;
}

.chip input,
.option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.chip input + span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--chip-line);
  border-radius: var(--radius-chip);
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 160ms var(--ease-out), border-color 160ms var(--ease-out), transform 120ms var(--ease-out);
}

.option {
  width: 100%;
}

.option input + span {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--chip-line);
  border-radius: var(--radius-app-control);
  background: #fff;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  transition: background-color 160ms var(--ease-out), border-color 160ms var(--ease-out), transform 120ms var(--ease-out);
}

.chip input:hover + span,
.option input:hover + span {
  border-color: var(--control-line);
}

/* 색상 외에 체크 표시와 굵은 테두리로 선택 상태를 함께 알린다. */
.chip input:checked + span,
.option input:checked + span {
  border: 2px solid var(--brand);
  background: var(--mint);
  color: var(--brand-strong);
  font-weight: 800;
}

.chip input:checked + span {
  padding: 0 13px;
}

.option input:checked + span {
  padding: 0 15px;
}

.chip input:checked + span::before {
  content: "✓";
}

.option input:checked + span::after {
  content: "✓";
  margin-left: auto;
}

.chip input:focus-visible + span,
.option input:focus-visible + span {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

/* ---------- 간단 확인 흐름 ---------- */

.quick-progress {
  display: grid;
  gap: 8px;
}

.quick-progress p {
  color: var(--body);
  font-size: 14px;
  font-weight: 700;
}

.progress-track {
  display: block;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.progress-fill {
  display: block;
  width: 50%;
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
  transition: width 240ms var(--ease-out);
}

.quick-step {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 0;
  border: 0;
}

.quick-step legend {
  margin-bottom: 4px;
  padding: 0;
}

.app-options {
  display: grid;
  gap: 8px;
}

.required {
  color: var(--body);
  font-size: 14px;
  font-weight: 600;
}

.quick-form select {
  width: 100%;
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid var(--control-line);
  border-radius: var(--radius-app-control);
  background: #fff;
  color: var(--ink);
  font-size: 17px;
}

.field-error {
  color: var(--error);
  font-size: 15px;
  font-weight: 700;
}

.field-error::before {
  content: "! ";
}

.quick-step[data-invalid="true"] .option input + span,
.quick-form select[aria-invalid="true"] {
  border: 2px solid var(--error);
}

.quick-step[data-invalid="true"] .option input + span {
  padding: 0 15px;
}

.quick-result {
  justify-items: start;
}

.result-steps {
  display: grid;
  gap: 8px;
  counter-reset: result;
}

.result-steps li {
  position: relative;
  padding-left: 34px;
  color: var(--ink);
  font-size: 16px;
  counter-increment: result;
}

.result-steps li::before {
  content: counter(result);
  position: absolute;
  top: 1px;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 800;
}

.quick-actions {
  display: flex;
  gap: 8px;
}

.app-primary,
.app-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-app-control);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 160ms var(--ease-out), transform 120ms var(--ease-out);
}

.app-primary {
  flex: 1;
  width: 100%;
  background: var(--brand);
  color: #fff;
}

.app-primary:hover {
  background: var(--brand-strong);
}

.app-secondary {
  flex: 0 0 auto;
  background: var(--surface);
  color: var(--ink);
}

.app-secondary:hover {
  background: var(--line);
}

.app-text {
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--body);
  font-size: 16px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

/* 단계가 바뀔 때만 짧게 등장. 숨김→표시 전환마다 다시 실행된다. */
@keyframes step-in {
  from { opacity: .4; transform: translateX(12px); }
  to { opacity: 1; transform: none; }
}

.v2-document[data-motion="running"] .quick-step,
.v2-document[data-motion="suspended"] .quick-step {
  animation: step-in 220ms var(--ease-out);
}

/* ---------- 이용 방법 타임라인 ---------- */

.timeline {
  margin-top: clamp(40px, 5vw, 64px);
  counter-reset: phase;
}

.timeline > li {
  position: relative;
  padding: 0 0 44px 72px;
  counter-increment: phase;
}

.timeline > li::before {
  content: counter(phase);
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 19px;
  font-weight: 800;
}

.timeline > li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 52px;
  bottom: 8px;
  left: 21px;
  width: 2px;
  background: var(--line);
}

.timeline h3 {
  padding-top: 4px;
  font-size: clamp(22px, .8vw + 17px, 28px);
  font-weight: 800;
  line-height: 1.4;
}

.timeline ul {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.timeline ul li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--body);
  font-size: clamp(18px, .3vw + 16.5px, 20px);
}

.actor {
  display: inline-flex;
  flex-shrink: 0;
  justify-content: center;
  min-width: 60px;
  padding: 2px 10px;
  border-radius: 8px;
  background: var(--mint);
  color: var(--brand-strong);
  font-size: 15px;
  font-weight: 700;
}

.actor-staff {
  background: var(--surface);
  color: var(--body);
}

/* ---------- FAQ ---------- */

.faq-list {
  margin-top: clamp(32px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

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

.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
  font-size: clamp(19px, .4vw + 16.5px, 22px);
  font-weight: 700;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}

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

.faq-list summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--body);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  padding-bottom: 28px;
  color: var(--body);
  font-size: clamp(18px, .3vw + 16.5px, 20px);
}

/* ---------- 마지막 행동 · 푸터 ---------- */

.closing {
  padding-block: clamp(40px, 5vw, 80px) clamp(88px, 10vw, 140px);
}

.closing-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(56px, 8vw, 104px) 20px;
  border-radius: var(--radius-card);
  background: var(--mint);
  text-align: center;
}

.closing h2 {
  margin-top: 0;
}

.closing p {
  margin: 20px 0 36px;
  color: var(--body);
  font-size: clamp(20px, .45vw + 17px, 24px);
}

.site-footer {
  padding-block: 48px 64px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px 48px;
}

.footer-brand {
  font-size: 24px;
}

.site-footer p {
  margin-top: 8px;
  color: var(--body);
  font-size: 16px;
}

.footer-info p {
  margin-top: 0;
}

.footer-info p + p {
  margin-top: 6px;
}

/* ---------- 연결 안내 대화상자 ---------- */

.entry-dialog {
  width: min(calc(100% - 32px), 480px);
  padding: clamp(28px, 4vw, 40px);
  border: 0;
  border-radius: var(--radius-card);
  background: #fff;
  color: var(--ink);
}

.entry-dialog::backdrop {
  background: rgba(25, 31, 40, .42);
}

.entry-dialog h2 {
  margin-top: 10px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.35;
}

.entry-dialog p {
  margin-top: 14px;
  color: var(--body);
  font-size: 18px;
}

.entry-dialog .eyebrow {
  margin-top: 0;
  color: var(--brand);
  font-size: 16px;
}

.entry-dialog .dialog-note {
  padding: 16px;
  border-radius: var(--radius-chip);
  background: var(--surface);
  font-size: 16px;
}

.entry-dialog .primary-button {
  width: 100%;
  margin-top: 24px;
}

/* ---------- 짧은 등장 (JS가 켤 때만, 기본은 항상 보임) ---------- */

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 480ms var(--ease-out), transform 480ms var(--ease-out);
}

.reveal-ready [data-reveal].is-visible,
.reveal-ready [data-reveal]:focus-within {
  opacity: 1;
  transform: none;
}

/* ---------- 반응형 ---------- */

@media (max-width: 1000px) {
  .showcase-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .showcase-row.is-reversed .stage {
    order: 0;
  }
}

@media (max-width: 760px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 16px;
    padding-block: 14px 6px;
  }

  .site-header .brand {
    font-size: 25px;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 4px 22px;
  }

  .site-nav a {
    font-size: 16px;
  }

  .wide-only {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-block: 64px 120px;
  }

  .hero h1 {
    font-size: clamp(38px, 7vw + 12px, 48px);
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .primary-button,
  .closing .primary-button {
    width: min(100%, 400px);
  }

  .primary-button {
    min-height: 58px;
    padding: 0 24px;
  }

  .stage {
    padding: 24px 12px;
  }

  .phone {
    padding: 10px 12px 18px;
    border-radius: 32px;
  }

  .timeline > li {
    padding-left: 60px;
  }

  .timeline ul li {
    flex-direction: column;
    gap: 6px;
  }

  .motion-control {
    bottom: 20px;
    justify-content: center;
  }
}

/* ---------- 동작 감소 · 고대비 ---------- */

@media (prefers-reduced-motion: no-preference) {
  html.v2-document {
    scroll-behavior: smooth;
  }
}

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

  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (forced-colors: active) {
  .chip input:checked + span,
  .option input:checked + span {
    forced-color-adjust: none;
    border-color: Highlight;
    background: Highlight;
    color: HighlightText;
  }

  .hero-media {
    display: none;
  }

  .phone,
  .primary-button,
  .login-button,
  .motion-toggle,
  .app-primary,
  .app-secondary {
    border: 1px solid ButtonText;
  }
}

/* ---------- 1안: 30초 소개 영상 (누를 때만 재생) ---------- */

.reel-player {
  margin: clamp(40px, 5vw, 64px) 0 0;
}

.reel-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-card);
  background: var(--surface);
}

.reel-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--surface);
}

.reel-play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 0;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, .28);
  color: var(--ink);
  cursor: pointer;
}

.reel-play:focus-visible {
  outline: 4px solid var(--brand);
  outline-offset: -8px;
}

.reel-play-icon {
  position: relative;
  width: clamp(76px, 7vw, 104px);
  height: clamp(76px, 7vw, 104px);
  border-radius: 50%;
  background: var(--brand);
  transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out);
}

.reel-play-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 26px solid #fff;
  transform: translate(-50%, -50%);
}

.reel-play:hover .reel-play-icon {
  background: var(--brand-strong);
  transform: scale(1.06);
}

.reel-play:active .reel-play-icon {
  transform: scale(.96);
}

.reel-play-label {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 24px;
  border-radius: var(--radius-control);
  background: #fff;
  font-size: clamp(18px, .3vw + 16.5px, 21px);
  font-weight: 800;
}

.reel-play-sub {
  color: var(--body);
  font-size: 15px;
  font-weight: 600;
}

.reel-meta {
  margin-top: 16px;
  color: var(--body);
  font-size: 16px;
}


@media (max-width: 760px) {
  .reel-play {
    gap: 12px;
  }

  .reel-play-label {
    padding: 8px 16px;
  }
}


/* ---------- 2안에서 가져온 반복 영상(상담·서류 준비 한 곳) ---------- */

.stage-loop {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.loop-video {
  display: block;
  width: 100%;
  height: auto;
  background: #3B1260;
}

.loop-toggle {
  position: absolute;
  right: 16px;
  bottom: 16px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-chip);
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.loop-toggle::before {
  content: "Ⅱ";
  margin-right: 8px;
  font-weight: 800;
}

.loop-toggle[aria-pressed="true"]::before {
  content: "▶";
}

@media (forced-colors: active) {
  .loop-toggle {
    border: 1px solid ButtonText;
  }
}


/* ---------- G5 로고 ---------- */

.brand-logo {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
}

.brand-logo img {
  display: block;
  width: auto;
  height: 44px;
}

.footer-brand img {
  height: 36px;
}

.app-bar img {
  width: 28px;
  height: 28px;
}

@media (max-width: 760px) {
  .brand-logo img {
    height: 38px;
  }
}


/* ======================================================================
   단계별 랜딩 시안: "단계별로 하나씩, 최대한 쉽게"
   ====================================================================== */

/* ---------- 모토 ---------- */

.motto,
.closing-motto {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--brand-strong);
  font-size: 17px;
  font-weight: 800;
}

.closing .closing-motto {
  margin: 0 0 20px;
  font-size: 17px;
}

/* ---------- 5단계 진행 표시(스크롤하는 동안 위에 붙음) ---------- */

.step-path {
  position: sticky;
  top: 0;
  z-index: 5;
  margin-top: clamp(40px, 5vw, 64px);
  padding: 12px clamp(12px, 2vw, 20px) 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-inner);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 24px rgba(30, 16, 48, .08);
}

.step-path ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.step-path a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 4px 8px;
  border-radius: var(--radius-chip);
  color: var(--body);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.step-path a:hover {
  background: var(--surface);
}

.step-dot {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--chip-line);
  border-radius: 50%;
  background: #fff;
  color: var(--body);
  font-size: 15px;
  font-weight: 800;
}

.step-path a.is-passed .step-dot {
  border-color: var(--mint);
  background: var(--mint);
  color: var(--brand-strong);
}

/* 현재 단계: 색 + 채운 원 + 굵은 글자 + 밑줄로 함께 알린다. */
.step-path a[aria-current="step"] {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.step-path a[aria-current="step"] .step-dot {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.step-now {
  display: none;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
}

.step-track {
  display: block;
  height: 4px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.step-track-fill {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
  transition: width 240ms var(--ease-out);
}

/* ---------- 단계 행 ---------- */

.step-row {
  scroll-margin-top: 120px;
}

.step-path + .step-row {
  margin-top: clamp(48px, 6vw, 88px);
}

.step-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--body);
  font-size: 17px;
  font-weight: 700;
}

.step-badge span {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
}

.step-who {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.step-who li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--body);
  font-size: 18px;
}

.step-cta {
  margin-top: 28px;
}

/* 1단계 화면 예시(누를 수 없는 그림) */
.static-options .option span {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--chip-line);
  border-radius: var(--radius-app-control);
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.static-options .option.is-picked span {
  padding: 0 15px;
  border: 2px solid var(--brand);
  background: var(--mint);
  color: var(--brand-strong);
  font-weight: 800;
}

.static-options .option.is-picked span::after {
  content: "✓";
  margin-left: auto;
}

.progress-fill.is-third {
  width: 33.3%;
}

/* ---------- 1단계 체험: 질문 하나씩 ---------- */

.quick-form .app-title {
  font-size: 20px;
}

.quick-form .option input + span {
  min-height: 56px;
  font-size: 18px;
}

.quick-step[data-invalid="true"] .option input + span {
  border: 2px solid var(--error);
}

/* 결과: 숫자 두 개를 크게, 상세는 가입 후 */
.result-figures {
  display: grid;
  gap: 8px;
  width: 100%;
  margin: 4px 0 0;
}

.result-figures .figure {
  padding: 14px 16px;
  border: 1px solid var(--chip-line);
  border-radius: var(--radius-app-control);
  background: #fff;
}

.result-figures dt {
  color: var(--body);
  font-size: 15px;
  font-weight: 700;
}

.result-figures dd {
  margin: 2px 0 0;
  color: var(--brand);
  font-size: 17px;
  font-weight: 700;
}

.result-figures strong {
  font-size: clamp(28px, 1vw + 22px, 34px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.figure-prefix,
.figure-unit {
  color: var(--brand-strong);
}

.figure-unit {
  margin-left: 2px;
}

.locked-detail {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-app-control);
  background: var(--mint);
}

.locked-detail .app-section {
  color: var(--brand-strong);
}

.locked-detail ul {
  display: grid;
  gap: 4px;
  margin-top: 8px;
}

.locked-detail li {
  position: relative;
  padding-left: 16px;
  color: var(--brand-strong);
  font-size: 15px;
}

.locked-detail li::before {
  content: "";
  position: absolute;
  top: .7em;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

/* ---------- 가입 체험 창 ---------- */

#entry-dialog {
  max-height: 90vh;
  overflow: auto;
}

#entry-dialog .demo-account {
  padding: 16px;
  border-radius: 16px;
  background: var(--surface);
  line-height: 1.8;
}

#entry-dialog .demo-check {
  display: flex;
  align-items: start;
  gap: 10px;
  margin: 14px 0;
  line-height: 1.6;
}

#entry-dialog .demo-check input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 4px;
}

#entry-dialog .entry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

/* ---------- 작은 화면: 진행 표시는 숫자 원 + 현재 단계 이름 한 줄 ---------- */

@media (max-width: 760px) {
  .step-path {
    padding: 10px 12px 8px;
  }

  .step-path ol {
    gap: 4px;
  }

  .step-path a {
    justify-content: center;
    min-height: 44px;
    padding: 4px;
  }

  .step-name {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .step-now {
    display: block;
    margin-top: 4px;
    text-align: center;
  }

  .step-row {
    scroll-margin-top: 140px;
  }

  .step-who li {
    font-size: 17px;
  }

  .step-cta {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .step-track-fill {
    transition: none;
  }
}

@media (forced-colors: active) {
  .step-path a[aria-current="step"] .step-dot,
  .static-options .option.is-picked span {
    outline: 3px solid CanvasText;
  }
}



/* ---------- v3 결과: 큰 문장 하나 · 숫자 카드 하나 · 버튼 하나 ---------- */
.simple-result {
  justify-items: stretch;
  gap: 18px;
  text-align: center;
}

.result-back {
  justify-self: start;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--body);
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
}

.result-headline {
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.02em;
  white-space: pre-line;
}

.result-card {
  margin: 6px 4px;
  padding: 18px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(59, 18, 96, .10);
}

.result-card-label {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--body);
  font-size: 16px;
  font-weight: 700;
}

.result-card-amount {
  margin-top: 12px;
  color: var(--brand);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.result-card-sub {
  margin-top: 6px;
  color: var(--body);
  font-size: 14px;
}

.result-card-sub strong {
  color: var(--brand-strong);
  font-weight: 800;
}

.result-fine {
  color: var(--body);
  font-size: 13px;
  line-height: 1.6;
}

.result-cta {
  min-height: 58px;
  border-radius: 16px;
  font-size: 18px;
}

.v2 [data-reveal]{opacity:1;transform:none}.v2 [hidden]{display:none!important}.public-step-card{padding:48px;font-size:32px;line-height:1.5;color:#5B1A86;background:#F1E3FC;border-radius:28px}.public-candidate{padding:24px;border-radius:24px;background:#F1E3FC;margin-top:24px}.public-candidate fieldset{border:0;padding:0;margin:0 0 24px}.public-candidate legend{font-size:24px;font-weight:750}.public-candidate .app-options{display:grid;gap:12px}.public-candidate label{display:block;margin:12px 0}.public-candidate input[type=radio],.public-candidate input[type=checkbox]{width:20px;height:20px;margin-right:10px}.public-candidate input:not([type=radio]):not([type=checkbox]),.public-candidate select{width:100%;min-height:48px;background:white}.public-candidate button{min-height:48px}.v2 .hero-video{object-fit:cover;width:100%;height:100%}.v2 #preview-result{margin:24px 0;padding:24px}.v2 #preview-amount{font-size:32px;font-weight:800}.v2 .site-nav{flex-wrap:wrap}
