:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --bg-muted: #f2f4f7;
  --text: #1a1f29;
  --text-sub: #4e5968;
  --text-muted: #8b95a1;
  --line: #e5e8eb;
  --line-strong: #d1d6db;
  --toss: #3182f6;
  --toss-deep: #1b64da;
  --toss-soft: #4593fc;
  --primary: #3182f6;
  --accent: #3182f6;
  --green: #00c48c;
  --green-bg: #ecfdf5;
  --green-border: #a7f3d0;
  --blue: #3182f6;
  --blue-bg: #e8f3ff;
  --blue-border: #c9e2ff;
  --orange: #ff8a3d;
  --orange-bg: #fff7ed;
  --orange-border: #fed7aa;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(49, 130, 246, 0.08);
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color-scheme: light;
}

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

html,
body,
#root {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.app-shell {
  min-height: 100dvh;
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(49, 130, 246, 0.08), transparent 42%),
    radial-gradient(circle at 88% 8%, rgba(0, 196, 140, 0.05), transparent 36%),
    #ffffff;
}

.container {
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.survey.container {
  width: min(680px, calc(100% - 48px));
  padding-left: 12px;
  padding-right: 12px;
  box-sizing: border-box;
}

/* —— Landing —— */
.landing {
  padding: 20px 0 72px;
  animation: fadeRise 0.45s ease both;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  text-decoration: none;
  color: #fff;
  background: var(--toss);
  border-radius: 999px;
  padding: 8px 12px 8px 10px;
  box-shadow: 0 6px 16px rgba(49, 130, 246, 0.28);
  transition: background 0.15s ease, transform 0.15s ease;
}

.header-call:hover {
  background: var(--toss-deep);
  transform: translateY(-1px);
}

.header-call-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.85rem;
}

.header-call-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.15;
}

.header-call-text strong {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.header-call-text small {
  font-size: 0.68rem;
  opacity: 0.92;
  font-weight: 600;
}

.header-tags {
  display: none;
}

.logo-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  animation: logoFloat 3.2s ease-in-out infinite;
}

.logo-wrap img {
  width: 40px;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 12px rgba(49, 130, 246, 0.28));
}

.logo-glow {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49, 130, 246, 0.35), transparent 68%);
  animation: logoPulse 2.4s ease-in-out infinite;
}

.logo-spark {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px 2px rgba(49, 130, 246, 0.85), 0 0 2px #fff;
  animation: sparkle 2.2s ease-in-out infinite;
  z-index: 2;
}

.logo-spark:nth-child(2) {
  top: 2px;
  right: 4px;
  animation-delay: 0.3s;
}

.logo-spark:nth-child(3) {
  bottom: 4px;
  left: 2px;
  width: 4px;
  height: 4px;
  animation-delay: 1.1s;
}

.logo-spark:nth-child(4) {
  top: 10px;
  left: -2px;
  width: 3px;
  height: 3px;
  animation-delay: 0.7s;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, #1a1f29 0%, #3182f6 45%, #1a1f29 90%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: textShine 4s ease-in-out infinite;
}

.brand-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-sub);
  background: var(--bg-muted);
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.hero {
  text-align: left;
  padding: 8px 0 28px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--bg-muted);
  color: var(--text-sub);
  font-size: 0.78rem;
  font-weight: 600;
}

.hero-title {
  margin: 0 0 16px;
  min-height: 5.8em;
  font-family: var(--font);
  font-size: clamp(1.7rem, 5.8vw, 2.35rem);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.04em;
  color: var(--text);
  word-break: keep-all;
  overflow-wrap: break-word;
}

.hero-title .m-line {
  display: block;
}

.hero-accent-line {
  background: linear-gradient(100deg, #1b64da 0%, #3182f6 35%, #6eb0ff 50%, #3182f6 65%, #00c48c 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: textShine 5s ease-in-out infinite;
}

.hero-lead {
  margin: 0;
  max-width: 36rem;
  color: var(--text-sub);
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 450;
  word-break: keep-all;
  overflow-wrap: break-word;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.hero-lead.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-lead strong {
  color: var(--text);
  font-weight: 700;
}

.landing-rest {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.08s, transform 0.5s ease 0.08s;
  pointer-events: none;
}

.landing-rest.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Mobile readable line breaks: block on phone, inline on desktop */
.m-line {
  display: block;
}

.m-gap {
  display: block;
  height: 0.7em;
}

.cta-btn .m-line {
  display: block;
}


.phone-showcase {
  margin: 28px 0 0;
}

.phone-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.phone-track.phone-desktop {
  display: none;
}

.phone-track {
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 72%);
  gap: 20px;
  overflow-x: auto;
  padding: 8px 2px 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.phone-track::-webkit-scrollbar {
  display: none;
}

.phone-card {
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.phone-mobile .phone-card {
  width: 100%;
}

.phone-mobile .iphone {
  width: min(240px, 68vw);
  margin: 0 auto;
}

.phone-caption-live {
  text-align: center;
  max-width: 280px;
  min-height: 78px;
}

.phone-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.phone-dot {
  appearance: none;
  border: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d1d5db;
  padding: 0;
  transition: width 0.2s ease, background 0.2s ease;
}

.phone-dot.active {
  width: 22px;
}

.phone-dot.tone-green.active { background: var(--green); }
.phone-dot.tone-blue.active { background: var(--toss); }
.phone-dot.tone-orange.active { background: var(--orange); }

.screen-swap {
  animation: screenFade 0.35s ease both;
}

.iphone {
  position: relative;
  width: 210px;
  border-radius: 42px;
  background: #1c1c1e;
  padding: 11px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
}

.iphone-bezel {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: #000;
}

.iphone-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 20px;
  border-radius: 12px;
  background: #000;
  z-index: 2;
}

.iphone-side {
  position: absolute;
  width: 3px;
  background: #2c2c2e;
  border-radius: 2px;
}

.iphone-side-left {
  left: -2px;
  top: 92px;
  height: 28px;
  box-shadow: 0 36px 0 #2c2c2e, 0 72px 0 #2c2c2e;
}

.iphone-side-right {
  right: -2px;
  top: 120px;
  height: 52px;
}

.iphone-display {
  aspect-ratio: 9 / 19.4;
  padding: 40px 14px 18px;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.display-green { background: linear-gradient(180deg, #f3fcf8 0%, #fff 48%); }
.display-blue { background: linear-gradient(180deg, #f3f8ff 0%, #fff 48%); }
.display-orange { background: linear-gradient(180deg, #fff8f2 0%, #fff 48%); }

.iphone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-size: 0.64rem;
  font-weight: 650;
  color: #111;
}

.iphone-signal {
  width: 16px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(90deg, #111 0 30%, #111 40% 60%, #111 70% 100%);
  opacity: 0.75;
}

.iphone-badge {
  margin: 0 0 8px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.tone-green .iphone-badge { color: var(--green); }
.tone-blue .iphone-badge { color: var(--toss); }
.tone-orange .iphone-badge { color: var(--orange); }

.iphone-title {
  margin: 0 0 6px;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
  color: var(--text);
}

.iphone-desc {
  margin: 0 0 18px;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--text-sub);
}

.iphone-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  flex: 1;
}

.iphone-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(17, 24, 39, 0.04);
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  opacity: 0;
  transform: translateY(6px);
  animation: listReveal 0.45s ease forwards;
}

.tone-green .iphone-list li {
  background: rgba(0, 196, 140, 0.08);
  border-color: rgba(0, 196, 140, 0.18);
}
.tone-blue .iphone-list li {
  background: rgba(49, 130, 246, 0.08);
  border-color: rgba(49, 130, 246, 0.18);
}
.tone-orange .iphone-list li {
  background: rgba(255, 138, 61, 0.08);
  border-color: rgba(255, 138, 61, 0.2);
}

.iphone-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--toss);
  position: relative;
}

.tone-green .iphone-check { background: var(--green); }
.tone-orange .iphone-check { background: var(--orange); }

.iphone-check::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 3px;
  width: 4px;
  height: 7px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.iphone-meter {
  margin-top: 14px;
  height: 6px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.08);
  overflow: hidden;
}

.iphone-meter-fill {
  height: 100%;
  width: 72%;
  border-radius: inherit;
  background: var(--toss);
  transform-origin: left center;
  transform: scaleX(0.2);
  animation: meterEase 0.8s ease forwards 0.35s;
}

.tone-green .iphone-meter-fill { background: var(--green); }
.tone-orange .iphone-meter-fill { background: var(--orange); }

.phone-caption {
  text-align: center;
  max-width: 220px;
  padding: 0 4px;
}

.phone-caption-label {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.tone-green .phone-caption-label { color: var(--green); }
.tone-blue .phone-caption-label { color: var(--toss); }
.tone-orange .phone-caption-label { color: var(--orange); }

.phone-caption h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.phone-caption p {
  margin: 0;
  color: var(--text-sub);
  font-size: 0.86rem;
  line-height: 1.5;
}

.cta-wrap {
  text-align: center;
  margin: 8px 0 0;
}

.cta-btn {
  appearance: none;
  border: 0;
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 17px 20px;
  border-radius: 14px;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  background: var(--toss);
  box-shadow: 0 8px 18px rgba(49, 130, 246, 0.28);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.cta-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -40%;
  width: 36%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  animation: btnSheen 3.2s ease-in-out infinite;
}

.cta-btn:hover {
  background: var(--toss-deep);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(49, 130, 246, 0.34);
}

.cta-btn:active {
  transform: translateY(0);
}

.cta-note {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.6;
  word-break: keep-all;
}

/* —— Survey —— */
.survey {
  padding: 20px 0 64px;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.survey-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.back-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text-sub);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
}

.back-btn:hover {
  background: var(--bg-soft);
}

.step-count {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.progress {
  height: 6px;
  border-radius: 999px;
  background: var(--bg-muted);
  overflow: hidden;
  margin-bottom: 28px;
}

.progress-bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6eb0ff, var(--toss), #00c48c);
  background-size: 200% 100%;
  animation: textShine 3s linear infinite;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 12px rgba(49, 130, 246, 0.45);
}

.survey-card {
  flex: 1;
  padding: 4px 8px 8px;
  animation: slideIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.survey-card h2 {
  margin: 0 0 12px;
  padding: 0 4px;
  font-size: clamp(1.25rem, 4.5vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.45;
  color: var(--text);
  word-break: keep-all;
  overflow-wrap: break-word;
}

.survey-hint {
  margin: 0 0 24px;
  padding: 0 4px;
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 1.65;
  word-break: keep-all;
}

.form-panel .lead {
  margin: 0 0 10px;
  padding: 0 4px;
  font-size: 0.98rem;
  color: var(--text-sub);
  line-height: 1.6;
  font-weight: 500;
}

.option-list {
  display: grid;
  gap: 14px;
}

.option-btn {
  appearance: none;
  text-align: left;
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  border-radius: 14px;
  padding: 18px 20px;
  line-height: 1.45;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.option-btn:hover {
  border-color: var(--line-strong);
  background: var(--bg-soft);
}

.option-btn.selected {
  border-color: var(--toss);
  background: var(--blue-bg);
  box-shadow: 0 0 0 1px rgba(49, 130, 246, 0.25), 0 6px 16px rgba(49, 130, 246, 0.12);
}

.option-title {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  padding-right: 4px;
}

.option-desc {
  display: block;
  margin-top: 8px;
  color: var(--text-sub);
  font-size: 0.88rem;
  line-height: 1.55;
  font-weight: 450;
  padding-right: 2px;
}

.dual-grid {
  display: grid;
  gap: 28px;
}

.dual-block h3 {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 700;
}

.dual-block.needs-pick {
  padding: 14px 14px 16px;
  border-radius: 16px;
  border: 1.5px solid rgba(49, 130, 246, 0.45);
  background: linear-gradient(180deg, rgba(49, 130, 246, 0.08), rgba(49, 130, 246, 0.02));
  box-shadow: 0 0 0 4px rgba(49, 130, 246, 0.08);
  animation: pickPulse 1.4s ease-in-out 2;
}

.dual-block.needs-pick h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--toss-deep);
}

.pick-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--toss);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.pick-nudge {
  margin: -2px 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--blue-border);
  color: var(--toss-deep);
  font-size: 0.86rem;
  line-height: 1.45;
  font-weight: 600;
}

.pick-nudge strong {
  font-weight: 800;
}

.option-btn.await-pick {
  border-color: rgba(49, 130, 246, 0.35);
  background: #fff;
}

@keyframes pickPulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(49, 130, 246, 0.08);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(49, 130, 246, 0.16);
  }
}

.challenge-list {
  display: grid;
  gap: 14px;
}

.challenge-btn {
  appearance: none;
  text-align: left;
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  border-radius: 16px;
  padding: 20px 20px;
  min-height: 104px;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}

.challenge-btn:active {
  transform: scale(0.99);
}

.challenge-btn.tone-green.selected {
  border-color: var(--green);
  background: var(--green-bg);
}

.challenge-btn.tone-orange.selected {
  border-color: var(--orange);
  background: var(--orange-bg);
}

.challenge-btn .option-title {
  font-size: 1rem;
}

.chip {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 4px 8px;
  border-radius: 999px;
}

.tone-green .chip {
  color: var(--green);
  background: rgba(5, 150, 105, 0.1);
}

.tone-orange .chip {
  color: var(--orange);
  background: rgba(234, 88, 12, 0.1);
}

.form-panel {
  display: grid;
  gap: 14px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-sub);
}

.field input {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  border-radius: 12px;
  padding: 14px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input::placeholder {
  color: #9ca3af;
}

.field input:focus {
  border-color: var(--toss);
  box-shadow: 0 0 0 3px rgba(49, 130, 246, 0.15);
}

.consent {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-sub);
  font-size: 0.88rem;
  line-height: 1.45;
  min-width: 0;
}

.consent-check input {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--toss);
}

.consent-view {
  appearance: none;
  flex-shrink: 0;
  border: 1px solid var(--toss);
  background: #fff;
  color: var(--toss);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.consent-view:hover {
  background: var(--blue-bg);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: end center;
  padding: 16px;
  background: rgba(17, 24, 39, 0.45);
  animation: fadeRise 0.2s ease both;
}

.modal-sheet {
  width: min(100%, 480px);
  max-height: min(82dvh, 640px);
  display: flex;
  flex-direction: column;
  border-radius: 20px 20px 16px 16px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(17, 24, 39, 0.22);
  overflow: hidden;
  animation: slideIn 0.25s ease both;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 12px;
  border-bottom: 1px solid var(--line);
}

.modal-head h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.modal-close {
  appearance: none;
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-muted);
  color: var(--text-sub);
  font-size: 1.4rem;
  line-height: 1;
}

.modal-body {
  padding: 16px 18px;
  overflow-y: auto;
  color: var(--text-sub);
  font-size: 0.9rem;
  line-height: 1.65;
}

.modal-body h4 {
  margin: 16px 0 8px;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text);
}

.modal-body h4:first-of-type {
  margin-top: 8px;
}

.modal-body p {
  margin: 0;
}

.modal-body ul {
  margin: 0;
  padding-left: 1.1rem;
}

.modal-body li {
  margin: 4px 0;
}

.modal-foot {
  padding: 12px 18px 18px;
  border-top: 1px solid var(--line);
}

.modal-confirm {
  appearance: none;
  border: 0;
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: var(--toss);
}

.modal-confirm:hover {
  background: var(--toss-deep);
}

@media (min-width: 640px) {
  .modal-backdrop {
    place-items: center;
  }

  .modal-sheet {
    border-radius: 18px;
  }
}

.survey-actions {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.next-btn,
.submit-btn {
  appearance: none;
  border: 0;
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 16px 18px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: var(--toss);
  box-shadow: 0 8px 18px rgba(49, 130, 246, 0.28);
}

.next-btn:hover:not(:disabled),
.submit-btn:hover:not(:disabled) {
  background: var(--toss-deep);
}

.next-btn:disabled,
.submit-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.skip-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* —— Success —— */
.success {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 40px 0;
  text-align: center;
  animation: fadeRise 0.45s ease both;
}

.success-card {
  width: min(100%, 440px);
  padding: 36px 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--bg);
  box-shadow: var(--shadow);
}

.success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  color: var(--green);
  font-size: 1.5rem;
  font-weight: 700;
}

.success h2 {
  margin: 0 0 12px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.success p {
  margin: 0 0 24px;
  color: var(--text-sub);
  line-height: 1.65;
}

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

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

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

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

@keyframes logoPulse {
  0%, 100% { opacity: 0.4; transform: scale(0.95); }
  50% { opacity: 0.75; transform: scale(1.05); }
}

@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  45% { opacity: 1; transform: scale(1); }
  70% { opacity: 0.2; transform: scale(0.7); }
}

@keyframes btnSheen {
  0% { left: -45%; }
  60%, 100% { left: 120%; }
}

@keyframes listReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes meterEase {
  to {
    transform: scaleX(1);
  }
}

@keyframes screenFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .container {
    width: min(980px, calc(100% - 48px));
  }

  .survey.container {
    width: min(720px, calc(100% - 80px));
    padding-left: 20px;
    padding-right: 20px;
  }

  .survey-card {
    padding: 8px 12px 12px;
  }

  .survey-card h2,
  .survey-hint,
  .form-panel .lead {
    padding-left: 6px;
    padding-right: 6px;
  }

  .phone-mobile {
    display: none;
  }

  .phone-track.phone-desktop {
    display: grid;
    grid-auto-flow: unset;
    grid-auto-columns: unset;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    gap: 24px;
    padding: 12px 0 8px;
    justify-items: center;
  }

  .iphone {
    width: 220px;
  }

  .dual-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .option-list,
  .challenge-list {
    gap: 16px;
  }

  .option-btn {
    padding: 20px 24px;
  }

  .challenge-btn {
    padding: 22px 24px;
  }

  .cta-btn {
    width: auto;
    min-width: 360px;
    padding-left: 28px;
    padding-right: 28px;
  }

  .m-line {
    display: inline;
  }

  .m-line + .m-line::before {
    content: ' ';
  }

  .cta-btn .m-line + .m-line::before,
  .cta-note .m-line + .m-line::before,
  .phone-caption .m-line + .m-line::before,
  .survey-card .m-line + .m-line::before {
    content: ' ';
  }

  /* PC도 히어로 타이틀은 모바일과 동일하게 줄단위 타이핑 */
  .hero-title .m-line,
  .hero-title .m-line.hero-accent-line {
    display: block;
  }

  .hero-title .m-line + .m-line::before {
    content: none;
  }

  .hero-title {
    min-height: 5.6em;
  }

  .m-gap {
    display: inline;
    height: auto;
  }

  .m-gap::before {
    content: ' ';
  }

  .cta-btn .m-line {
    display: inline;
  }

  .header-call-text small {
    display: inline;
  }

  .hero {
    text-align: left;
  }

  .hero-kicker {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-lead {
    margin-left: 0;
    margin-right: 0;
  }

  .survey-card h2,
  .survey-hint,
  .form-panel .lead {
    text-align: left;
  }
}

/* Mobile: center + readable phrase breaks */
@media (max-width: 767px) {
  .landing {
    padding-top: 12px;
  }

  .site-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 10px;
    padding: 6px 0 18px;
  }

  .brand {
    justify-content: flex-start;
    gap: 8px;
    min-width: 0;
  }

  .logo-wrap {
    width: 40px;
    height: 40px;
  }

  .logo-wrap img {
    width: 36px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-sub {
    font-size: 0.72rem;
  }

  .header-call {
    padding: 7px 10px 7px 8px;
    gap: 6px;
  }

  .header-call-icon {
    width: 26px;
    height: 26px;
  }

  .header-call-text strong {
    font-size: 0.74rem;
  }

  .header-call-text small {
    font-size: 0.62rem;
  }

  .hero {
    text-align: center;
    padding: 4px 6px 24px;
  }

  .hero-kicker {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-title {
    font-size: clamp(1.55rem, 7.2vw, 1.95rem);
    line-height: 1.45;
    margin-bottom: 18px;
    min-height: 6.2em;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.95rem;
    line-height: 1.8;
  }

  .phone-caption-live {
    text-align: center;
    max-width: 300px;
    padding: 0 8px;
  }

  .phone-caption h3 {
    line-height: 1.4;
    word-break: keep-all;
  }

  .phone-caption p {
    line-height: 1.55;
    word-break: keep-all;
  }

  .cta-wrap {
    padding: 0 4px;
  }

  .cta-btn {
    line-height: 1.45;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .cta-note {
    text-align: center;
    padding: 0 8px;
  }

  .survey-card {
    text-align: center;
  }

  .survey-card h2,
  .survey-hint,
  .form-panel .lead {
    text-align: center;
  }

  .option-list,
  .challenge-list,
  .form-panel,
  .dual-grid,
  .survey-actions {
    text-align: left;
  }

  .dual-block h3 {
    text-align: center;
  }
}

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

  .brand-name,
  .hero-accent-line {
    background: none;
    color: var(--text);
    -webkit-text-fill-color: unset;
    animation: none !important;
  }

  .hero-accent-line {
    color: var(--toss);
  }
}
