/* AUTORIUM Step Quote — full-bleed dense layout */
:root {
  --gold: #d3a456;
  --gold-2: #c4943e;
  --gold-deep: #a87a30;
  --gold-soft: #faf6f0;
  --gold-grad: linear-gradient(90deg, #b8924a 0%, #d4b05e 45%, #c9a24a 100%);
  --ink: #111111;
  --muted: #777777;
  --muted-2: #aaaaaa;
  --bg: #f5f5f5;
  --safe: env(safe-area-inset-bottom, 0px);
  --pad-x: 18px;
  --font: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: #111;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.app {
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: stretch;
  background: #000;
}

.phone {
  width: 100%;
  max-width: 430px;
  min-height: 100%;
  min-height: 100dvh;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.step {
  display: none;
  flex: 1;
  flex-direction: column;
  min-height: 100%;
  min-height: 100dvh;
  animation: in 0.3s ease both;
}

.step.is-active {
  display: flex;
}

@keyframes in {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes barRun {
  from {
    width: 6%;
  }
  to {
    width: 94%;
  }
}

@keyframes pop {
  0% {
    transform: scale(0.75);
    opacity: 0;
  }
  70% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes goldShine {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes goldGlow {
  0%,
  100% {
    box-shadow:
      0 8px 22px rgba(168, 122, 48, 0.32),
      0 0 0 0 rgba(212, 176, 94, 0.45);
  }
  50% {
    box-shadow:
      0 12px 30px rgba(196, 162, 104, 0.55),
      0 0 18px 2px rgba(232, 201, 120, 0.55);
  }
}

@keyframes softGlow {
  0%,
  100% {
    box-shadow:
      0 8px 20px rgba(0, 0, 0, 0.28),
      0 0 0 0 rgba(212, 176, 94, 0.2);
  }
  50% {
    box-shadow:
      0 10px 26px rgba(0, 0, 0, 0.34),
      0 0 16px 1px rgba(212, 176, 94, 0.45);
  }
}

@keyframes progressPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(212, 176, 94, 0.55);
    filter: brightness(1);
  }
  50% {
    box-shadow: 0 0 10px 2px rgba(232, 201, 120, 0.75);
    filter: brightness(1.15);
  }
}

@keyframes progressFlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

@keyframes btnSheen {
  0% {
    transform: translateX(-120%) skewX(-18deg);
    opacity: 0;
  }
  30% {
    opacity: 0.55;
  }
  100% {
    transform: translateX(220%) skewX(-18deg);
    opacity: 0;
  }
}

/* ——— Progress ——— */
.progress {
  padding: 18px var(--pad-x) 8px;
  flex-shrink: 0;
}

.progress-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 14px;
}

.progress-label .dim {
  color: var(--muted-2);
  font-weight: 600;
}

.progress.is-dark .progress-label {
  color: var(--gold);
}

.progress.is-dark .progress-label .dim {
  color: rgba(211, 164, 86, 0.55);
}

.progress-track {
  display: flex;
  align-items: center;
}

.progress-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d8d8d8;
  border: 2px solid #d8d8d8;
  flex-shrink: 0;
  position: relative;
}

.progress-dot.is-done,
.progress-dot.is-current {
  background: linear-gradient(135deg, #e8c978 0%, #d4b05e 40%, #a87a30 100%);
  background-size: 200% 200%;
  border-color: transparent;
  animation: goldShine 2.4s ease-in-out infinite, progressPulse 1.8s ease-in-out infinite;
}

.progress-dot.is-current {
  animation: goldShine 2s ease-in-out infinite, progressPulse 1.4s ease-in-out infinite;
}

.progress-dot.is-current::after {
  display: none;
}

.progress.is-dark .progress-dot.is-current::after {
  display: none;
}

.progress.is-dark .progress-dot {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
}

.progress.is-dark .progress-line {
  background: rgba(255, 255, 255, 0.16);
}

.progress.is-dark .progress-dot.is-done,
.progress.is-dark .progress-dot.is-current {
  background: linear-gradient(135deg, #e8c978 0%, #d4b05e 40%, #a87a30 100%);
  background-size: 200% 200%;
  border-color: transparent;
  animation: goldShine 2.4s ease-in-out infinite, progressPulse 1.8s ease-in-out infinite;
}

.progress-line {
  flex: 1;
  height: 3px;
  background: #d8d8d8;
  margin: 0 3px;
  border-radius: 999px;
  overflow: hidden;
}

.progress-line.is-done {
  background: linear-gradient(90deg, #a87a30 0%, #e8c978 35%, #d4b05e 65%, #a87a30 100%);
  background-size: 200% 100%;
  animation: progressFlow 1.8s linear infinite;
  box-shadow: 0 0 8px rgba(212, 176, 94, 0.55);
}

.progress.is-dark .progress-line.is-done {
  background: linear-gradient(90deg, #a87a30 0%, #e8c978 35%, #d4b05e 65%, #a87a30 100%);
  background-size: 200% 100%;
  animation: progressFlow 1.8s linear infinite;
  box-shadow: 0 0 10px rgba(232, 201, 120, 0.65);
}

/* ——— Shared ——— */
.step-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 4px var(--pad-x) 0;
  min-height: 0;
}

.step-foot {
  padding: 12px var(--pad-x) calc(16px + var(--safe));
  flex-shrink: 0;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 0 4px;
  flex-shrink: 0;
}

.brand-row img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand-row .brand-logo-official {
  width: auto;
  height: 56px;
  max-width: 160px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  box-sizing: content-box;
}

.brand-row .brand-logo-light {
  width: auto;
  height: 64px;
  max-width: 180px;
  padding: 0;
  background: transparent;
  object-fit: contain;
}

.brand-row span {
  font-size: 17px;
  font-weight: 700;
  color: #555;
  letter-spacing: -0.02em;
}

.btn-next {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 58px;
  padding: 18px 22px;
  border-radius: 12px;
  background: linear-gradient(120deg, #1a1a1a 0%, #2a2a2a 35%, #111 70%, #1f1f1f 100%);
  background-size: 220% 220%;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  animation: goldShine 3.2s ease-in-out infinite, softGlow 2.2s ease-in-out infinite;
}

.btn-next::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 0;
  width: 42%;
  height: 140%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(232, 201, 120, 0.22) 45%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(232, 201, 120, 0.18) 55%,
    transparent 100%
  );
  animation: btnSheen 2.8s ease-in-out infinite;
  pointer-events: none;
}

.btn-next .chev {
  position: absolute;
  right: 20px;
  font-size: 22px;
  font-weight: 400;
  z-index: 1;
}

.btn-next:active {
  transform: scale(0.985);
}

.btn-gold {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 60px;
  padding: 18px 22px;
  border-radius: 14px;
  background: linear-gradient(110deg, #a87a30 0%, #e8c978 28%, #d4b05e 52%, #b8924a 78%, #a87a30 100%);
  background-size: 220% 220%;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  animation: goldShine 2.6s ease-in-out infinite, goldGlow 2s ease-in-out infinite;
}

.btn-gold::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 0;
  width: 42%;
  height: 140%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.15) 40%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0.15) 60%,
    transparent 100%
  );
  animation: btnSheen 2.4s ease-in-out infinite;
  pointer-events: none;
}

.btn-gold .chev {
  position: absolute;
  right: 20px;
  font-size: 22px;
  z-index: 1;
}

.btn-gold:active {
  filter: brightness(0.97);
  transform: scale(0.985);
}

/* ——— STEP 01 ——— */
.step-landing {
  background: #000;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.landing-bg {
  position: absolute;
  inset: 0;
  background: url("images/step1-hero.webp") 78% 58% / cover no-repeat;
}

.landing-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.92) 0%,
      rgba(0, 0, 0, 0.55) 16%,
      rgba(0, 0, 0, 0.18) 34%,
      rgba(0, 0, 0, 0.08) 48%,
      rgba(0, 0, 0, 0.2) 62%,
      rgba(0, 0, 0, 0.7) 82%,
      rgba(0, 0, 0, 0.95) 100%
    ),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.65) 0%,
      rgba(0, 0, 0, 0.2) 50%,
      rgba(0, 0, 0, 0) 100%
    );
  pointer-events: none;
}

.landing-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 18px calc(10px + var(--safe));
  min-height: 0;
  height: 100%;
}

.step-landing .progress {
  padding: 16px 0 0;
  flex-shrink: 0;
}

.step-landing .progress-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 10px;
}

.step-landing .progress-label .dim {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

.landing-copy {
  margin-top: 3.9vh;
  flex: 0 0 auto;
  animation: fadeUp 0.45s ease both;
}

.landing-title {
  font-size: clamp(46px, 7.2vh, 68px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.12;
  color: var(--gold);
  margin-bottom: 12px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.landing-sub {
  font-size: clamp(30px, 4.8vh, 42px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.landing-sub .gold {
  color: var(--gold);
}

.landing-rating {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 2.4vh;
  font-size: clamp(20px, 3.2vh, 28px);
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.stars {
  color: var(--gold);
  letter-spacing: 1px;
  font-size: clamp(24px, 3.7vh, 34px);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}

/* 카드 3개: 중간 영역 중앙정렬 + 꽉 채움 */
.landing-middle {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 0 12px;
}

.feature-box {
  list-style: none;
  margin: 0;
  padding: 6px 18px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  background: transparent;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: fadeUp 0.45s 0.06s ease both;
}

.feature-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    rgba(8, 8, 8, 0.56) 0%,
    rgba(8, 8, 8, 0.42) 28%,
    rgba(8, 8, 8, 0.18) 42%,
    rgba(8, 8, 8, 0) 52%
  );
  pointer-events: none;
}

.feature-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.feature-row:last-child {
  border-bottom: none;
}

.feature-ico {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1.5px solid rgba(211, 164, 86, 0.9);
  display: grid;
  place-items: center;
  color: var(--gold);
  flex-shrink: 0;
  background: rgba(211, 164, 86, 0.08);
}

.feature-ico svg {
  width: 54%;
  height: 54%;
}

.feature-text {
  flex: 1;
  text-align: left;
}

.feature-text strong {
  display: block;
  font-size: clamp(22px, 3.2vh, 26px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: -0.025em;
}

.feature-text span {
  font-size: clamp(16px, 2.3vh, 19px);
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  line-height: 1.35;
}

.landing-bottom {
  flex: 0 0 auto;
  margin-top: 0;
  padding-bottom: 4px;
  animation: fadeUp 0.45s 0.1s ease both;
}

.step-landing .btn-gold {
  min-height: 58px;
  padding: 16px 20px;
  font-size: 18px;
  border-radius: 14px;
  background: linear-gradient(110deg, #a87a30 0%, #e8c978 28%, #d4b05e 52%, #b8924a 78%, #a87a30 100%);
  background-size: 220% 220%;
  animation: goldShine 2.6s ease-in-out infinite, goldGlow 2s ease-in-out infinite;
}

.brand-row--landing {
  margin-top: 12px;
  padding: 0;
  gap: 10px;
}

.brand-row--landing .brand-logo-official {
  width: auto !important;
  height: 92px !important;
  max-width: 260px;
  padding: 0 !important;
  border-radius: 0;
  background: transparent !important;
  object-fit: contain;
  box-sizing: content-box;
}

.brand-row--landing span {
  color: rgba(255, 255, 255, 0.95);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ——— STEP 02 ——— */
.step-vehicle {
  background:
    radial-gradient(120% 80% at 50% 0%, #f7f7f7 0%, #efefef 55%, #e9e9e9 100%);
}

.step-vehicle .step-body {
  align-items: stretch;
  padding-top: 2px;
}

.step-vehicle .step-foot {
  padding-top: 8px;
  padding-bottom: calc(12px + var(--safe));
}

.step-vehicle .brand-row {
  margin-top: 14px;
  padding: 0;
}

.step-vehicle .brand-row img,
.step-vehicle .brand-logo-light {
  width: auto;
  height: 64px;
  max-width: 180px;
  padding: 0;
  background: transparent;
  object-fit: contain;
}

.step-vehicle .brand-row span {
  color: #444;
  font-size: 17px;
  font-weight: 700;
}

.icon-circle {
  width: 168px;
  height: 168px;
  margin: 10px auto 18px;
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-items: center;
  color: #111;
  flex-shrink: 0;
  overflow: hidden;
}

.icon-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.icon-circle svg {
  width: 36px;
  height: 36px;
}

.step-vehicle .step-title {
  text-align: center;
  font-size: clamp(26px, 7vw, 32px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.28;
  color: #111;
  flex-shrink: 0;
}

.step-title {
  text-align: center;
  font-size: clamp(24px, 6.5vw, 28px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.3;
  color: var(--ink);
  flex-shrink: 0;
}

.step-vehicle .step-desc {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 20px;
  font-size: 16px;
  color: #8a8a8a;
  font-weight: 500;
  line-height: 1.45;
  flex-shrink: 0;
}

.step-desc {
  text-align: center;
  margin-top: 8px;
  margin-bottom: 18px;
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.45;
  flex-shrink: 0;
}

.search-wrap {
  position: relative;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.search-wrap .si {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #b5b5b5;
  pointer-events: none;
}

.search-wrap .si svg {
  width: 20px;
  height: 20px;
}

.search-input {
  width: 100%;
  min-height: 58px;
  padding: 16px 18px 16px 52px;
  border: 1.5px solid #d8d8d8;
  border-radius: 999px;
  background: #fff;
  font-size: 16px;
  color: #222;
  outline: none;
}

.search-input::placeholder {
  color: #b0b0b0;
}

.search-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(196, 162, 104, 0.18);
}

.covered-img {
  width: calc(100% + var(--pad-x) * 2);
  margin-left: calc(var(--pad-x) * -1);
  margin-right: calc(var(--pad-x) * -1);
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  padding: 4px 0 2px;
  animation: fadeUp 0.45s 0.08s ease both;
}

.covered-img img {
  width: 78%;
  max-width: 340px;
  height: auto;
  max-height: 28vh;
  object-fit: contain;
  object-position: center bottom;
}

.step-vehicle .covered-img {
  min-height: 150px;
  flex: 0.85 1 auto;
}

.step-vehicle .covered-img img {
  width: 72%;
  max-width: 300px;
  max-height: 24vh;
}

.step-vehicle .btn-next {
  min-height: 60px;
  border-radius: 14px;
  background: #111;
  font-size: 18px;
  font-weight: 800;
}

/* ——— STEP 03 ——— */
.step-options {
  background:
    radial-gradient(120% 80% at 50% 0%, #f7f7f7 0%, #f0f0f0 55%, #ebebeb 100%);
}

.step-options .step-body {
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 8px;
  gap: 8px;
}

.step-options .step-foot {
  padding-top: 10px;
  padding-bottom: calc(12px + var(--safe));
}

.step-foot .brand-row {
  margin-top: 16px;
  padding: 0;
}

.step-foot .brand-row .brand-logo-light {
  height: 64px;
  max-width: 180px;
}

.step-foot .brand-row span {
  font-size: 17px;
}

.step[data-step="3"] .step-body {
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 4px;
}

.q-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  margin-bottom: 0;
  padding: 10px 0;
}

.q-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.q-head .q-ico {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.q-head svg {
  width: 22px;
  height: 22px;
  color: #8a6f3e;
  flex-shrink: 0;
  margin-top: 2px;
}

.q-head p {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.35;
  color: #111;
}

.chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
}

.chips-3 .chip {
  flex: 1 1 0;
  min-width: 0;
}

.chips-4 .chip {
  flex: 1 1 0;
  min-width: 0;
  padding: 14px 6px;
  font-size: 14px;
}

.chip {
  flex: 1 1 auto;
  min-width: calc(33% - 8px);
  min-height: 54px;
  padding: 14px 10px;
  border-radius: 12px;
  background: #fff;
  border: 1.5px solid #dcdcdc;
  color: #222;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: 0.15s;
}

.chip.is-selected {
  background: linear-gradient(120deg, #a87a30 0%, #e8c978 30%, #d4b05e 55%, #b8924a 80%, #a87a30 100%);
  background-size: 220% 220%;
  border-color: transparent;
  color: #fff;
  animation: goldShine 2.8s ease-in-out infinite, goldGlow 2.1s ease-in-out infinite;
}

/* ——— STEP 04 ——— */
.step-entity {
  background:
    radial-gradient(120% 80% at 50% 0%, #f7f7f7 0%, #f0f0f0 55%, #ebebeb 100%);
}

.step-entity .step-body {
  padding-top: 18px;
}

.step-entity .step-title {
  margin: 10px 0 28px !important;
  font-size: clamp(26px, 7vw, 32px);
  line-height: 1.3;
}

.step-entity .step-foot {
  padding-top: 10px;
  padding-bottom: calc(12px + var(--safe));
}

.step[data-step="4"] .step-body {
  padding-top: 8px;
}

.step[data-step="4"] .step-title {
  margin: 8px 0 18px !important;
}

.entity-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  min-height: 0;
  margin-top: 0;
  justify-content: center;
}

.entity-card {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  min-height: 100px;
  border-radius: 16px;
  background: #fff;
  border: 1.5px solid #e0e0e0;
  text-align: left;
  transition: 0.18s;
}

.entity-card.is-selected {
  background: #f7f1e6;
  border-color: #c9a24a;
  animation: goldGlow 2.4s ease-in-out infinite;
  box-shadow: 0 0 0 1px rgba(201, 162, 74, 0.15);
}

.entity-ico {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #111;
  flex-shrink: 0;
}

.entity-ico img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.entity-ico svg {
  width: 28px;
  height: 28px;
}

.entity-label {
  flex: 1;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111;
}

.entity-check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  color: transparent;
  flex-shrink: 0;
  opacity: 0;
}

.entity-check svg {
  width: 16px;
  height: 16px;
}

.entity-card.is-selected .entity-check {
  opacity: 1;
  background: linear-gradient(135deg, #e8c978 0%, #d4b05e 45%, #a87a30 100%);
  background-size: 200% 200%;
  border-color: transparent;
  color: #fff;
  animation: goldShine 2.6s ease-in-out infinite, progressPulse 1.8s ease-in-out infinite;
}

/* ——— STEP 05 ——— */
.step[data-step="5"] .step-body {
  padding-top: 8px;
}

.step[data-step="5"] .step-title {
  margin-top: 8px !important;
}

.step[data-step="5"] .step-desc {
  margin-bottom: 22px;
}

.field {
  margin-bottom: 20px;
  flex-shrink: 0;
}

.field label {
  display: block;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 10px;
}

.field input {
  width: 100%;
  min-height: 64px;
  padding: 18px 18px;
  border: 2px solid #ddd;
  border-radius: 14px;
  background: #fff;
  font-size: 17px;
  outline: none;
}

.field input::placeholder {
  color: transparent;
  opacity: 0;
}

.field input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(196, 162, 104, 0.18);
}

.field-hint {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.field-hint b {
  color: var(--ink);
  font-weight: 800;
}

.privacy-note {
  font-size: 12px;
  color: #aaa;
  line-height: 1.55;
  margin-top: 4px;
  margin-bottom: 8px;
}

/* ——— STEP 06 ——— */
.center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 2px 16px;
  min-height: 0;
}

.load-img {
  width: min(180px, 42vw);
  height: min(180px, 42vw);
  margin-bottom: 24px;
  animation: fadeUp 0.4s ease both;
}

.load-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.load-title {
  font-size: clamp(22px, 6vw, 26px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.35;
  margin-bottom: 14px;
}

.load-sub {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 40px;
}

.load-bar {
  width: 100%;
  max-width: 320px;
  height: 8px;
  border-radius: 99px;
  background: #e5e5e5;
  overflow: hidden;
}

.load-bar > i {
  display: block;
  height: 100%;
  width: 6%;
  background: var(--gold);
  border-radius: inherit;
  animation: barRun 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes doneFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes doneSparkle {
  0%,
  100% {
    filter: drop-shadow(0 0 4px rgba(212, 176, 94, 0.35)) brightness(1);
  }
  40% {
    filter: drop-shadow(0 0 16px rgba(232, 201, 120, 0.85))
      drop-shadow(0 0 28px rgba(255, 240, 190, 0.55)) brightness(1.12);
  }
  70% {
    filter: drop-shadow(0 0 10px rgba(212, 176, 94, 0.6)) brightness(1.05);
  }
}

@keyframes doneTwinkle {
  0%,
  100% {
    opacity: 0.15;
    transform: scale(0.6) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.15) rotate(20deg);
  }
}

/* ——— STEP 07 ——— */
.step[data-step="7"] .center {
  justify-content: flex-start;
  padding-top: 12px;
}

.done-img {
  position: relative;
  width: min(140px, 34vw);
  height: min(140px, 34vw);
  margin-bottom: 16px;
  background: transparent;
  animation:
    pop 0.45s ease both,
    doneFloat 2.4s ease-in-out infinite;
}

.done-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  animation: doneSparkle 2s ease-in-out infinite;
  will-change: filter, transform;
}

.done-img::before,
.done-img::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff8dc 0%, #e8c978 45%, transparent 70%);
  box-shadow: 0 0 10px rgba(232, 201, 120, 0.9);
  pointer-events: none;
  animation: doneTwinkle 1.6s ease-in-out infinite;
}

.done-img::before {
  top: 8%;
  right: 10%;
}

.done-img::after {
  bottom: 14%;
  left: 8%;
  width: 7px;
  height: 7px;
  animation-delay: 0.8s;
}

.done-title {
  font-size: clamp(24px, 6.5vw, 28px);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}

.done-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 22px;
}

.summary {
  width: 100%;
  background: #fff;
  border: 1.5px solid #e8e8e8;
  border-radius: 16px;
  overflow: visible;
  text-align: left;
  flex: 1;
  display: flex;
  flex-direction: column;
  animation: fadeUp 0.4s 0.1s ease both;
}

.summary-head {
  text-align: center;
  padding: 16px 18px 12px;
  font-size: 16px;
  font-weight: 800;
  color: #8a6f3e;
  border-bottom: 2px solid var(--gold);
  flex-shrink: 0;
}

.summary dl {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-bottom: 6px;
}

.summary-row {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px;
  min-height: 56px;
  font-size: 15px;
  border-bottom: 1px solid #f0f0f0;
  box-sizing: border-box;
}

.summary-row:last-child {
  border-bottom: none;
  min-height: 60px;
  padding-bottom: 14px;
}

.summary-row dt {
  color: #777;
  font-weight: 600;
}

.summary-row dd {
  font-weight: 800;
  color: var(--ink);
  text-align: right;
}

/* ——— STEP 08 ——— */
.step[data-step="8"] .center {
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 8px;
}

.thanks-title {
  font-size: clamp(30px, 8vw, 36px);
  font-weight: 800;
  letter-spacing: -0.045em;
  margin-bottom: 14px;
}

.thanks-sub {
  font-size: 15px;
  color: #555;
  line-height: 1.65;
  margin-bottom: 18px;
}

.thanks-logo {
  width: min(260px, 68vw);
  margin: 8px auto;
  flex: 1;
  display: flex;
  align-items: center;
  animation: fadeUp 0.45s 0.06s ease both;
}

.thanks-logo img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  margin: 0 auto;
}

.btn-home {
  background: linear-gradient(110deg, #a87a30 0%, #e8c978 28%, #d4b05e 52%, #b8924a 78%, #a87a30 100%);
  background-size: 220% 220%;
  animation: goldShine 2.6s ease-in-out infinite, goldGlow 2s ease-in-out infinite;
}

.btn-home::before {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.15) 40%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0.15) 60%,
    transparent 100%
  );
}

.contact-card {
  width: 100%;
  background: #fff;
  border: 2px solid #e6e6e6;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  animation: fadeUp 0.45s 0.12s ease both;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 18px 18px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #efefef;
  cursor: default;
  pointer-events: none;
  user-select: none;
}

.contact-row:last-child {
  border-bottom: none;
}

.contact-row .ico {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-row .ico svg {
  width: 26px;
  height: 26px;
}

.contact-row .label {
  flex: 1;
  font-size: 16px;
  font-weight: 800;
  text-align: left;
}

.contact-row .meta {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.contact-row.is-phone .ico {
  color: var(--gold);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(32px + var(--safe));
  transform: translateX(-50%) translateY(16px);
  max-width: min(92vw, 380px);
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(17, 17, 17, 0.94);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
}

.toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 479px) {
  .phone {
    max-width: none;
  }
}

/* PC: 모바일 프레임 고정 높이로 하단 무한 여백 방지 */
@media (min-width: 480px) {
  .app {
    align-items: center;
    background: #0a0a0a;
    padding: 24px 0;
  }

  .phone {
    max-width: 430px;
    width: 430px;
    height: min(900px, calc(100dvh - 48px));
    min-height: min(900px, calc(100dvh - 48px));
    margin: 0 auto;
    border-radius: 28px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
    overflow: hidden;
  }

  .step {
    min-height: 100%;
    height: 100%;
  }

  .step-landing .landing-title {
    font-size: clamp(46px, 7.2vh, 68px);
  }

  .step-landing .landing-sub {
    font-size: clamp(30px, 4.8vh, 42px);
  }

  .landing-middle {
    padding: 20px 0 16px;
  }

  .feature-box {
    padding: 8px 20px;
  }

  .feature-row {
    padding: 16px 0;
  }
}

@media (min-width: 480px) and (min-height: 1000px) {
  .phone {
    height: 900px;
    min-height: 900px;
  }
}

/* Short screens: keep dense but prevent overflow */
@media (max-height: 700px) {
  .landing-title {
    font-size: 44px;
    margin-bottom: 6px;
  }
  .landing-sub {
    font-size: 28px;
  }
  .landing-rating {
    margin-top: 8px;
    font-size: 18px;
  }
  .landing-copy {
    margin-top: 8px;
  }
  .landing-middle {
    padding: 8px 0;
  }
  .feature-box {
    padding: 2px 14px;
  }
  .feature-row {
    padding: 10px 0;
  }
  .feature-ico {
    width: 48px;
    height: 48px;
  }
  .feature-text strong {
    font-size: 18px;
  }
  .feature-text span {
    font-size: 14px;
  }
  .step-landing .btn-gold {
    min-height: 50px;
    font-size: 16px;
  }
  .icon-circle {
    width: 112px;
    height: 112px;
  }
  .covered-img {
    min-height: 160px;
  }
  .entity-card {
    min-height: 70px;
  }
  .chip {
    min-height: 44px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-next,
  .btn-gold,
  .chip.is-selected,
  .entity-card.is-selected,
  .progress-dot.is-done,
  .progress-dot.is-current,
  .progress-line.is-done,
  .btn-next::before,
  .btn-gold::before,
  .done-img,
  .done-img img,
  .done-img::before,
  .done-img::after {
    animation: none !important;
  }
}
