@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

/* ── 토큰 ───────────────────────────────────────── */
:root {
  --black: #0a0a0a;
  --ink: #1c1c1c;
  --white: #ffffff;
  --gray-1: #efefef;
  --gray-2: #dedede;
  --gray-3: #8a8a8a;
  --gray-4: #3d3d3d;
  --accent: #2457F5;
  --accent-ink: #2457F5;
  --max-w: 720px;
  --wide-w: 960px;
  --gap: 176px;
}

/* ── 리셋 ───────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Pretendard', -apple-system, sans-serif;
  background: var(--white);
  color: var(--ink);
  font-size: 20px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

/* ── 레이아웃 ──────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.wide {
  max-width: var(--wide-w);
  margin: 0 auto;
  padding: 0 28px;
}

section {
  padding: var(--gap) 0;
  background: var(--white);
}

hr {
  border: none;
  border-top: 1px solid var(--gray-2);
}

/* ── 타이포그래피 ───────────────────────────────── */
h1 {
  font-size: clamp(40px, 7.6vw, 66px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.03em;
  text-align: center;
  text-wrap: balance;
}

h2 {
  font-size: clamp(32px, 5.8vw, 52px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.025em;
  text-align: center;
  text-wrap: balance;
}

h3 {
  font-size: 23px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

p {
  color: var(--gray-4);
  font-size: 19px;
  line-height: 1.8;
}

.lead {
  font-size: 22px;
  color: var(--gray-4);
  line-height: 1.8;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 22px;
  text-align: center;
}

/* ── 헤더 ──────────────────────────────────────── */
.site-header {
  padding: 22px 0;
  border-bottom: 1px solid var(--gray-2);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--black);
  text-decoration: none;
}

.site-nav {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-4);
  text-decoration: none;
}

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

/* ── 히어로 ─────────────────────────────────────── */
.hero {
  padding: 128px 0 120px;
}

.hero h1 {
  margin-bottom: 36px;
}

.hero .lead {
  max-width: 600px;
  margin-bottom: 56px;
}

.hero .figure {
  margin-top: 72px;
}

/* ── 폼 ─────────────────────────────────────────── */
.email-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
  text-align: left;
}

.centered {
  margin-left: auto;
  margin-right: auto;
}

.email-form input[type="email"] {
  width: 100%;
  padding: 16px 18px;
  font-family: inherit;
  font-size: 17px;
  border: 1px solid var(--gray-2);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.15s;
  background: var(--white);
  color: var(--black);
}

.email-form input[type="email"]:focus {
  border-color: var(--black);
}

.email-form input[type="email"]::placeholder {
  color: var(--gray-3);
}

/* ── 버튼 ──────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 17px 26px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: opacity 0.15s;
  letter-spacing: -0.01em;
}

.btn:hover {
  opacity: 0.8;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  width: 100%;
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--gray-2);
}

.btn-buy {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  width: 100%;
  font-size: 18px;
  padding: 20px 26px;
}

/* ── 동의 ──────────────────────────────────────── */
.consent-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 0 4px;
}

.consent {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  padding: 2px 0;
}

.consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--black);
  cursor: pointer;
  margin: 0;
}

.consent-label {
  flex: 1;
}

.consent-tag {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.consent-tag.req {
  color: var(--accent-ink);
}

.consent-tag.opt {
  color: var(--gray-3);
}

.consent-detail {
  font-size: 13px;
  color: var(--gray-3);
  line-height: 1.6;
  margin: 4px 0 0;
  padding-left: 26px;
}

.consent-detail a {
  color: var(--gray-4);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── 피드백 ────────────────────────────────────── */
.form-note {
  font-size: 14px;
  color: var(--gray-3);
  line-height: 1.6;
}

.form-error {
  font-size: 14px;
  color: var(--black);
  font-weight: 700;
  display: none;
}

.form-error.visible {
  display: block;
}

.success-notice {
  padding: 24px 0;
}

.success-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 12px;
}

.success-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-4);
  margin: 0 0 16px;
}

.success-body strong {
  color: var(--black);
  font-weight: 600;
}

.success-note {
  font-size: 14px;
  color: var(--gray-3);
  margin: 0;
}

/* ── 이미지·영상 (항상 가운데) ─────────────────── */
.figure {
  margin: 0 auto;
  text-align: center;
}

.figure img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
}

.figure figcaption {
  font-size: 16px;
  color: var(--gray-3);
  line-height: 1.7;
  margin-top: 16px;
  text-align: center;
}

.figure figcaption strong {
  display: block;
  color: var(--black);
  font-size: 17px;
  margin-bottom: 4px;
}

.video-wrap {
  position: relative;
  width: 100%;
  max-width: var(--wide-w);
  margin: 0 auto;
  padding-bottom: 56.25%;
  border-radius: 10px;
  overflow: hidden;
}

.wide .video-wrap {
  max-width: 100%;
}

.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.check-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
  margin-top: 40px;
}

.check-row .figure img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
}

.check-row .figure:nth-child(2) img {
  object-position: right center;
}

.check-row figcaption {
  text-align: left;
}

/* ── 문제 공감 ─────────────────────────────────── */
.problem-section h2 {
  margin-bottom: 24px;
}

.problem-list {
  list-style: none;
  margin-top: 56px;
  text-align: left;
}

.problem-list li {
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-1);
  font-size: 17px;
  color: var(--gray-4);
  line-height: 1.8;
}

.problem-list li:first-child {
  border-top: 1px solid var(--gray-1);
}

.problem-list strong {
  display: block;
  color: var(--black);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

/* ── 단계 ──────────────────────────────────────── */
.step-list {
  list-style: none;
  margin-top: 56px;
  text-align: left;
}

.step-list li {
  display: flex;
  gap: 26px;
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-1);
}

.step-list li:first-child {
  border-top: 1px solid var(--gray-1);
}

.step-num {
  flex-shrink: 0;
  width: 36px;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--accent-ink);
  font-variant-numeric: tabular-nums;
}

.step-body h3 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.step-time {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-3);
  font-variant-numeric: tabular-nums;
}

.course-section .figure {
  margin-top: 64px;
}

/* ── 솔루션 포인트 ─────────────────────────────── */
.point-list {
  margin-top: 88px;
  text-align: left;
}

.solution-point {
  padding: 32px 0;
  border-bottom: 1px solid var(--gray-1);
}

.point-list .solution-point:first-child {
  border-top: 1px solid var(--gray-1);
}

.solution-point h3 {
  margin-bottom: 8px;
}

.template-section .figure {
  margin-top: 64px;
}

/* ── 요청문 인용 ───────────────────────────────── */
.prompt-quote {
  margin: 56px auto 8px;
  text-align: left;
}

.prompt-quote p {
  font-size: 17px;
  line-height: 1.9;
  color: var(--ink);
}

.prompt-quote mark {
  background: transparent;
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.prompt-quote cite {
  display: block;
  font-style: normal;
  font-size: 14px;
  color: var(--gray-3);
  margin-top: 16px;
}

/* ── 비교 ──────────────────────────────────────── */
.compare {
  margin-top: 96px;
}

.compare h3 {
  margin-bottom: 20px;
  text-align: center;
  font-size: 24px;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: left;
}

.compare-grid .col-head {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-3);
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-2);
}

.compare-grid .col-head.right {
  color: var(--accent-ink);
}

.compare-grid .compare-cell {
  padding: 22px 16px 22px 0;
  border-bottom: 1px solid var(--gray-1);
  font-size: 17px;
  color: var(--gray-3);
  line-height: 1.65;
}

.compare-grid .compare-cell.right {
  color: var(--black);
  font-weight: 600;
  padding-right: 0;
}

/* ── 다운로드 제한 ─────────────────────────────── */
.limit-block {
  margin-top: 128px;
}

.limit-block h3 {
  font-size: clamp(24px, 3.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 16px;
}

.limit-block > p {
  margin-bottom: 24px;
  text-align: center;
}

.limit-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 28px;
  font-variant-numeric: tabular-nums;
}

.limit-table th,
.limit-table td {
  text-align: left;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-1);
  font-size: 18px;
}

.limit-table th {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-3);
  border-bottom: 1px solid var(--gray-2);
}

.limit-table td:first-child {
  color: var(--gray-4);
  width: 44%;
}

.limit-table td:last-child {
  color: var(--black);
  font-weight: 600;
}

.limit-table tr.hl td {
  color: var(--accent-ink);
  font-weight: 800;
  font-size: 20px;
}

.source-note {
  font-size: 14px;
  color: var(--gray-3);
  text-align: center;
}

.source-note a {
  color: var(--gray-4);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── 시뮬레이션 ────────────────────────────────── */
.sim-section .video-wrap {
  margin-top: 48px;
}

/* ── 제작자 ────────────────────────────────────── */
.creator-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.creator-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
}

.stat-list {
  list-style: none;
  margin-top: 56px;
  text-align: left;
}

.stat-list li {
  display: flex;
  gap: 24px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-1);
}

.stat-list li:first-child {
  border-top: 1px solid var(--gray-1);
}

.stat-num {
  font-size: 18px;
  font-weight: 800;
  color: var(--black);
  min-width: 84px;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}

.stat-desc {
  font-size: 16px;
  color: var(--gray-4);
  line-height: 1.65;
}

.checklist {
  margin-top: 112px;
}

.checklist h3 {
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
}

.checklist > p {
  text-align: center;
  margin-bottom: 24px;
}

.plain-list {
  list-style: none;
  margin-bottom: 24px;
  text-align: left;
}

.plain-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-1);
  font-size: 16px;
  color: var(--gray-4);
  line-height: 1.7;
}

.plain-list li:first-child {
  border-top: 1px solid var(--gray-1);
}

.plain-list strong {
  display: block;
  color: var(--black);
  font-size: 18px;
  margin-bottom: 2px;
}

/* ── 구성 ──────────────────────────────────────── */
.package-header h2 {
  margin-bottom: 16px;
}

.track-list {
  list-style: none;
  text-align: left;
  margin-top: 72px;
}

.track-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-1);
  font-size: 18px;
  font-weight: 600;
  color: var(--black);
}

.track-list li:first-child {
  border-top: 1px solid var(--gray-1);
}

.track-meta {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-3);
  text-align: right;
  flex-shrink: 0;
  max-width: 50%;
}

/* ── 가격·CTA ──────────────────────────────────── */
.cta-group {
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

/* ── FAQ ───────────────────────────────────────── */
.policy-section h2 {
  margin-bottom: 24px;
}

.policy-item {
  padding: 26px 0;
  border-bottom: 1px solid var(--gray-1);
  text-align: left;
}

.policy-item.mt-32 {
  border-top: 1px solid var(--gray-1);
}

.policy-item h3 {
  margin-bottom: 8px;
}

/* ── 푸터 ──────────────────────────────────────── */
.site-footer {
  padding: 48px 0;
  border-top: 1px solid var(--gray-2);
}

.site-footer p {
  font-size: 13px;
  color: var(--gray-3);
  line-height: 1.8;
}

.site-footer a {
  color: var(--gray-3);
}

/* ── 유틸 ──────────────────────────────────────── */
.mt-12 {
  margin-top: 12px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-32 {
  margin-top: 32px;
}

.mt-48 {
  margin-top: 48px;
}

/* ── 등장 애니메이션 ───────────────────────────── */
@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

.hero-line1 {
  display: block;
  animation: slideUpFade 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.05s;
}

.hero-line2 {
  display: block;
  animation: slideUpFade 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.22s;
}

.hero-sub-anim {
  animation: slideUpFade 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.38s;
}

.hero-form-anim {
  animation: slideUpFade 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.52s;
}

.hero-figure-anim {
  animation: slideUpFade 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.66s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

.reveal {
  opacity: 0;
}

.reveal.is-visible {
  animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal-d1 {
  animation-delay: 0.05s;
}

.reveal-d2 {
  animation-delay: 0.14s;
}

.reveal-d3 {
  animation-delay: 0.23s;
}

.reveal-d4 {
  animation-delay: 0.32s;
}

@media (prefers-reduced-motion: reduce) {
  .hero-line1,
  .hero-line2,
  .hero-sub-anim,
  .hero-form-anim,
  .hero-figure-anim {
    animation: none;
  }

  .reveal {
    opacity: 1;
  }

  .reveal.is-visible {
    animation: none;
  }
}

/* ── 반응형 ─────────────────────────────────────── */
@media (max-width: 760px) {
  .check-row {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .check-row figcaption {
    text-align: center;
  }
}

@media (max-width: 520px) {
  :root {
    --gap: 112px;
  }

  body {
    font-size: 18px;
  }

  .container,
  .wide {
    padding: 0 20px;
  }

  .hero {
    padding: 80px 0 72px;
  }

  .hero .figure {
    margin-top: 48px;
  }

  .lead br {
    display: none;
  }

  .lead {
    font-size: 19px;
  }

  p {
    font-size: 18px;
  }

  h3 {
    font-size: 20px;
  }

  .problem-list strong {
    font-size: 18px;
  }

  .step-list li {
    gap: 16px;
  }

  .step-num {
    font-size: 26px;
    width: 30px;
  }

  .compare-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 14px;
  }

  .compare-grid .compare-cell {
    font-size: 14px;
    padding-right: 0;
  }

  .track-list li {
    flex-direction: column;
    gap: 4px;
  }

  .track-meta {
    text-align: left;
    max-width: 100%;
  }

  .limit-table th,
  .limit-table td {
    font-size: 16px;
  }

  .site-nav {
    font-size: 13px;
  }
}


/* ══ 인터랙티브 컴포넌트 ═══════════════════════════ */

/* 읽기 진행선 */
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--accent);
  z-index: 60;
  transition: width 0.1s linear;
}

/* 텍스트 버튼 */
.text-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-ink);
  cursor: pointer;
  padding: 4px 0;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: text-decoration-color 0.15s;
}

.text-btn:hover {
  text-decoration-color: var(--accent);
}

/* 이미지 프레임: 텍스트 컬럼과 같은 폭, 같은 비율 */
.frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0d0d0d;
  border-radius: 12px;
  overflow: hidden;
  margin: 0 auto;
}

.frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  transition: opacity 0.16s ease;
}

.frame img.is-swapping {
  opacity: 0;
}

.figure .frame {
  margin-bottom: 0;
}

/* ── 스튜디오 시뮬레이션 ─────────────────────── */
.sim {
  display: grid;
  grid-template-columns: 5fr 7fr;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 460px;
  margin: 72px auto 0;
  background: #0b0b0b;
  border-radius: 12px;
  overflow: hidden;
  color: #e6e6e6;
  font-size: 14px;
  text-align: left;
}

.sim-chat {
  padding: 18px 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #111;
}

.sim-msg {
  max-width: 92%;
  padding: 8px 12px;
  border-radius: 10px;
  line-height: 1.5;
  animation: slideUpFade 0.3s ease both;
}

.sim-msg.is-user {
  align-self: flex-end;
  background: #2a2a2a;
  color: #fff;
}

.sim-msg.is-bot {
  align-self: flex-start;
  color: #b9b9b9;
  padding-left: 0;
}

.sim-msg.is-busy::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 0.8s infinite alternate;
}

@keyframes blink {
  from { opacity: 0.2; }
  to { opacity: 1; }
}

.sim-tracks {
  position: relative;
  padding: 12px 14px 44px;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(100% / 7 - 1px), #1c1c1c calc(100% / 7 - 1px) calc(100% / 7));
}

.sim-ruler {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #6a6a6a;
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}

.sim-lanes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sim-lane {
  position: relative;
  height: 56px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--c) 28%, #0b0b0b);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  overflow: hidden;
}

.sim-lane.is-in {
  opacity: 1;
  transform: none;
}

.sim-lane-name {
  position: absolute;
  top: 5px;
  left: 8px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  z-index: 2;
}

.sim-wave {
  position: absolute;
  inset: 8px 6px 6px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.sim-wave i {
  flex: 1;
  background: var(--c);
  border-radius: 1px;
  transform-origin: center;
  animation: waveIn 0.6s ease both;
}

@keyframes waveIn {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

.sim-take {
  position: absolute;
  right: 8px;
  bottom: 5px;
  display: flex;
  gap: 4px;
  font-size: 10px;
  z-index: 2;
}

.sim-take b,
.sim-take em {
  font-style: normal;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #ddd;
}

.sim-take em {
  background: #fff;
  color: #000;
  opacity: 0.35;
  transition: opacity 0.3s;
}

.sim-lane.is-fixed .sim-take em {
  opacity: 1;
}

.sim-lane.is-fixed .sim-take b:last-of-type {
  opacity: 0.35;
}

.sim-lane.has-fx::after {
  content: 'EQ · 100Hz HPF';
  position: absolute;
  top: 5px;
  right: 8px;
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  z-index: 2;
}

.sim-lanes.is-done .sim-lane {
  filter: saturate(1.2);
}

.sim-status {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  font-size: 12px;
  color: #9a9a9a;
}

.sim-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.sim-caption {
  font-size: 16px;
  color: var(--gray-3);
}

/* ── 아코디언 ────────────────────────────────── */
.acc {
  margin-top: 72px;
  text-align: left;
}

.acc-item {
  border-bottom: 1px solid var(--gray-1);
}

.acc-item:first-child {
  border-top: 1px solid var(--gray-1);
}

.acc-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 30px 0;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  text-align: left;
  cursor: pointer;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.acc-icon {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.acc-icon::before,
.acc-icon::after {
  content: '';
  position: absolute;
  background: var(--accent-ink);
  transition: transform 0.25s ease;
}

.acc-icon::before {
  left: 0;
  top: 8px;
  width: 18px;
  height: 2px;
}

.acc-icon::after {
  left: 8px;
  top: 0;
  width: 2px;
  height: 18px;
}

.acc-item.is-open .acc-icon::after {
  transform: rotate(90deg);
}

.acc-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.acc-a p {
  padding: 0 0 32px;
  font-size: 19px;
}

/* ── 단계 탭 ─────────────────────────────────── */
.steps {
  margin-top: 72px;
}

.steps-nav {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}

.step-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 4px 14px;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  color: var(--gray-3);
  transition: color 0.2s;
}

.step-tab-num {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.step-tab-name {
  font-size: 15px;
  font-weight: 700;
  color: inherit;
}

.step-tab-time {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.step-tab.is-done {
  color: var(--gray-4);
}

.step-tab.is-active {
  color: var(--accent-ink);
}

.steps-track {
  height: 3px;
  background: var(--gray-1);
  border-radius: 2px;
  overflow: hidden;
}

.steps-fill {
  height: 100%;
  width: 6%;
  background: var(--accent);
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.steps-elapsed {
  text-align: right;
  font-size: 13px;
  color: var(--gray-3);
  margin: 8px 0 28px;
  font-variant-numeric: tabular-nums;
}

.steps-elapsed span {
  color: var(--accent-ink);
  font-weight: 700;
}

.step-text {
  margin-top: 32px;
  text-align: center;
}

.step-text h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

/* ── 요청문 빌더 ─────────────────────────────── */
.builder {
  margin-top: 56px;
  text-align: left;
}

.builder-controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--gray-1);
}

.ctrl {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ctrl-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--gray-4);
}

.ctrl-label b {
  color: var(--accent-ink);
  font-size: 18px;
  margin-left: 4px;
  font-variant-numeric: tabular-nums;
}

.ctrl-sub {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-3);
  margin-left: 6px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
  cursor: pointer;
}

.seg {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.seg-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-3);
  cursor: pointer;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.seg-btn:hover {
  color: var(--black);
}

.seg-btn.is-active {
  color: var(--black);
  border-bottom-color: var(--accent);
}

.prompt-out {
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.9;
  color: var(--ink);
  min-height: 6em;
}

.prompt-out mark,
.prompt-quote mark {
  background: transparent;
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.builder-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.builder-bar .ctrl-sub {
  margin-left: 0;
}

.template-section .figure {
  margin-top: 64px;
}

/* ── 한도 계산기 ─────────────────────────────── */
.calc {
  margin: 48px auto 32px;
  text-align: left;
}

.calc-label {
  display: block;
  margin-bottom: 6px;
}

.calc-rows {
  list-style: none;
  margin-top: 28px;
}

.calc-row {
  display: grid;
  grid-template-columns: 150px 1fr 110px;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-1);
}

.calc-row:first-child {
  border-top: 1px solid var(--gray-1);
}

.calc-plan {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-4);
}

.calc-bar {
  display: block;
  height: 10px;
  background: var(--gray-1);
  border-radius: 5px;
  overflow: hidden;
}

.calc-ok {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gray-3);
  border-radius: 5px;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s;
}

.calc-ok.is-over {
  background: var(--gray-4);
}

.calc-row.is-studio .calc-plan,
.calc-row.is-studio .calc-note {
  color: var(--accent-ink);
}

.calc-row.is-studio .calc-ok {
  background: var(--accent);
}

.calc-note {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-4);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.calc-summary {
  margin-top: 20px;
  font-size: 17px;
  color: var(--ink);
  text-align: center;
}

/* ── 체크포인트 ──────────────────────────────── */
.checks {
  margin-top: 96px;
}

.checks-nav {
  justify-content: center;
  margin: 20px 0 24px;
}

.check-desc {
  margin-top: 18px;
  text-align: center;
}

/* ── 통계 ───────────────────────────────────── */
.stat-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 24px;
  margin-top: 72px;
  text-align: center;
}

.stat-grid li {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-big {
  font-size: clamp(30px, 4.6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--black);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.stat-big .count {
  color: var(--accent-ink);
}

.stat-grid .stat-desc {
  font-size: 16px;
}

/* ── 구성 목록 강조 ──────────────────────────── */
.track-list li.is-free .track-meta {
  color: var(--accent-ink);
  font-weight: 700;
}

/* ── 스티키 CTA ──────────────────────────────── */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  transform: translateY(110%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--gray-2);
}

.sticky-cta.is-on {
  transform: none;
}

.sticky-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sticky-text {
  flex: 1;
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
}

.sticky-btn {
  width: auto;
  padding: 12px 18px;
  font-size: 14px;
}

/* ── 반응형 (인터랙티브) ───────────────────────── */
@media (max-width: 760px) {
  .sim {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
    max-height: none;
  }

  .sim-chat {
    max-height: 190px;
  }

  .sim-tracks {
    min-height: 260px;
  }

  .steps-nav {
    grid-template-columns: repeat(3, 1fr);
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .calc-row {
    grid-template-columns: 96px 1fr 88px;
    gap: 10px;
  }

  .sticky-text {
    display: none;
  }

  .sticky-btn {
    flex: 1;
  }
}

@media (max-width: 520px) {
  .sim {
    margin-top: 44px;
    font-size: 13px;
  }

  .sim-pair {
    margin-top: 72px;
  }

  .vs {
    margin: 56px 0 44px;
  }

  .acc-q {
    font-size: 17px;
    padding: 20px 0;
  }

  .step-tab-name {
    font-size: 12px;
  }

  .stat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 12px;
  }

  .stat-grid li:last-child {
    grid-column: 1 / -1;
  }
}


/* ══ 카피·가격·A/B ════════════════════════════════ */

/* 히어로 카피 애니메이션 */
.hero-title .w {
  display: inline-block;
}

.hero-title.is-anim .w {
  opacity: 0;
  transform: translateY(0.4em);
  animation: wordIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes wordIn {
  to { opacity: 1; transform: none; }
}

.hero-title .hl {
  position: relative;
  font-style: normal;
  color: var(--accent-ink);
  white-space: nowrap;
}

.hero-title .hl::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.04em;
  height: 0.16em;
  background: var(--accent);
  opacity: 0.55;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  z-index: -1;
}

.hero-title.is-anim .hl::after {
  animation: sweep 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: inherit;
}

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

.hero-sub span {
  display: block;
}

.hero-title.is-anim ~ .hero-sub span {
  opacity: 0;
  animation: wordIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-line1,
.hero-line2 {
  animation: none;
}

/* 이야기 문단 */
.story {
  max-width: 600px;
  margin: 32px auto 0;
  text-align: center;
}

.story p {
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 14px;
}

.sub-h {
  text-align: center;
  font-size: 22px;
  margin-top: 72px;
}

/* 가격 */
.price-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 56px;
}

.price-tag {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.price-original {
  font-size: 17px;
  color: var(--gray-3);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.price-main {
  font-size: clamp(48px, 8vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--black);
  font-variant-numeric: tabular-nums;
}

.price-main .unit {
  font-size: 0.42em;
  font-weight: 700;
  margin-left: 2px;
  color: var(--gray-4);
}

.price-note {
  font-size: 14px;
  color: var(--gray-3);
  margin-top: 6px;
}

.limited-tag {
  display: inline-block;
  margin-left: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--accent-ink);
  vertical-align: middle;
}

/* A/B 음원 비교 */
.ab {
  margin-top: 48px;
  text-align: left;
}

.ab-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}

.ab-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 0 16px;
  background: none;
  border: none;
  border-bottom: 3px solid var(--gray-1);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  color: var(--gray-3);
  transition: color 0.2s, border-color 0.2s;
}

.ab-row:hover {
  color: var(--gray-4);
}

.ab-row.is-active {
  color: var(--black);
  border-bottom-color: var(--accent);
}

.ab-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ab-sub {
  font-size: 14px;
  color: var(--gray-3);
}

.ab-player {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.ab-play {
  position: relative;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--black);
  cursor: pointer;
  transition: transform 0.15s;
}

.ab-play:hover {
  transform: scale(1.05);
}

.ab-play::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 18px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
}

.ab.is-playing .ab-play::before {
  left: 20px;
  top: 18px;
  width: 5px;
  height: 20px;
  border: none;
  background: #fff;
  box-shadow: 11px 0 0 #fff;
}

.ab-track {
  flex: 1;
  height: 6px;
  background: var(--gray-1);
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
}

.ab-fill {
  height: 100%;
  width: 0;
  background: var(--accent);
  border-radius: 3px;
}

.ab-time {
  font-size: 14px;
  color: var(--gray-3);
  font-variant-numeric: tabular-nums;
  min-width: 40px;
  text-align: right;
}

.ab-note {
  margin-top: 16px;
  font-size: 15px;
  color: var(--gray-3);
  text-align: center;
}

.ab.is-missing .ab-player {
  opacity: 0.35;
  pointer-events: none;
}

@media (max-width: 520px) {
  .ab-rows {
    gap: 0 16px;
  }

  .ab-name {
    font-size: 18px;
  }

  .ab-sub {
    font-size: 12px;
  }
}


/* ══ 그냥 생성 vs Studio · 선착 배지 ═══════════════ */
.sim-pair {
  margin-top: 112px;
}

.sim-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  text-align: center;
}

.sim-tag {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sim-tag.is-bad {
  color: var(--gray-3);
}

.sim-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mark {
  position: relative;
  width: 18px;
  height: 18px;
  display: inline-block;
}

.mark-x::before,
.mark-x::after {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  width: 2px;
  height: 18px;
  background: var(--gray-3);
}

.mark-x::before {
  transform: rotate(45deg);
}

.mark-x::after {
  transform: rotate(-45deg);
}

.mark-o {
  border: 2.5px solid var(--accent);
  border-radius: 50%;
  box-sizing: border-box;
}

.sim-tag.is-good {
  color: var(--accent);
}

.sim-headline {
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.01em;
}

.sim-pair .sim {
  margin-top: 0;
}

.vs {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 80px 0 64px;
  color: var(--gray-3);
}

.vs::before,
.vs::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-2);
}

.vs span {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
}

/* 그냥 생성 패널 */
.sim-plain {
  grid-template-columns: 5fr 7fr;
}

.plain-left {
  padding: 22px 18px;
  background: #111;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plain-label {
  font-size: 11px;
  color: #7a7a7a;
}

.plain-prompt {
  min-height: 64px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #1c1c1c;
  color: #fff;
  line-height: 1.5;
}

.plain-btn {
  align-self: flex-start;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-weight: 700;
  font-size: 12px;
}

.plain-btn.is-busy {
  background: #3a3a3a;
  color: #bbb;
  animation: blink 0.7s infinite alternate;
}

.plain-quota {
  margin-top: auto;
  font-size: 12px;
  color: #8d8d8d;
  font-variant-numeric: tabular-nums;
}

.plain-quota b {
  color: #fff;
  font-size: 16px;
}

.plain-quota.is-low b {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: #777;
  text-underline-offset: 3px;
}

.plain-right {
  position: relative;
  padding: 16px 14px 44px;
}

.plain-songs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plain-song {
  position: relative;
  padding: 10px 12px 12px;
  border-radius: 8px;
  background: #171717;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.4s, transform 0.4s, background 0.3s;
}

.plain-song.is-in {
  opacity: 1;
  transform: none;
}

.plain-song.is-warn {
  background: #202020;
}

.plain-song.is-old {
  opacity: 0.35;
}

.plain-song-title {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.plain-song-title em {
  font-style: normal;
  font-weight: 600;
  color: #bdbdbd;
}

.plain-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 34px;
}

.plain-wave i {
  flex: 1;
  background: #8f8f8f;
  border-radius: 1px;
  animation: waveIn 0.6s ease both;
}

.plain-dl {
  position: absolute;
  right: 12px;
  bottom: 10px;
  font-size: 10px;
  color: #9a9a9a;
}

/* 선착 배지 */
.deal-badge {
  position: fixed;
  top: 72px;
  right: 20px;
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--black);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  animation: dealPulse 1.6s ease-in-out infinite;
}

@keyframes dealPulse {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.62; transform: translateY(-2px); }
}

.deal-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(36, 87, 245, 0.7);
  animation: dealDot 1.2s infinite;
}

@keyframes dealDot {
  0% { box-shadow: 0 0 0 0 rgba(36, 87, 245, 0.7); }
  100% { box-shadow: 0 0 0 9px rgba(36, 87, 245, 0); }
}

.deal-left {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.deal-left b {
  font-size: 15px;
}

.price-left {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
  margin-top: 4px;
  animation: blink 0.9s infinite alternate;
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  .deal-badge, .deal-dot, .price-left, .plain-btn.is-busy {
    animation: none;
  }
}

@media (max-width: 760px) {
  .sim-plain {
    grid-template-columns: 1fr;
  }

  .plain-left {
    gap: 10px;
  }

  .plain-quota {
    margin-top: 4px;
  }

  .plain-right {
    min-height: 240px;
  }

  .deal-badge {
    top: 64px;
    right: 12px;
    padding: 8px 12px;
    font-size: 12px;
  }

  .sim-headline {
    font-size: 18px;
  }
}


/* ══ 잔여·픽커 ═══════════════════════════════════ */
.blink {
  display: inline-block;
  margin-left: 8px;
  color: var(--accent);
  animation: blink 0.9s infinite alternate;
}

.limited-tag {
  font-size: 15px;
}

.ab-picker {
  justify-content: center;
  margin-bottom: 28px;
}

.price-original {
  font-size: 18px;
  text-decoration: none;
  color: var(--gray-3);
}

.hero .lead {
  max-width: 640px;
}

@media (prefers-reduced-motion: reduce) {
  .blink {
    animation: none;
  }
}

@media (max-width: 520px) {
  .ab-picker {
    gap: 4px 14px;
  }

  .ab-picker .seg-btn {
    font-size: 15px;
  }

  .step-tab-num {
    font-size: 20px;
  }

  .sim-chat {
    max-height: 210px;
  }

  .plain-song-title {
    flex-direction: column;
    gap: 2px;
  }
}


/* ══ 템플릿 요청문 (장르 · 악기 · 잠금) ═══════════════ */
.builder {
  margin-top: 72px;
}

.genre-seg {
  justify-content: center;
  gap: 4px 28px;
}

.genre-seg .seg-btn {
  font-size: 19px;
  padding: 8px 0;
}

.seg-btn.is-locked {
  color: var(--gray-3);
}

.seg-btn.is-locked::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 12px;
  margin-left: 7px;
  vertical-align: -1px;
  border: 2px solid currentColor;
  border-radius: 3px;
  border-top-width: 5px;
  box-sizing: border-box;
  opacity: 0.6;
}

.free-mark {
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-left: 6px;
  vertical-align: 2px;
}

.builder-basic {
  text-align: center;
  font-size: 16px;
  color: var(--gray-3);
  margin: 20px 0 36px;
}

.step-seg {
  justify-content: center;
  gap: 2px 18px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--gray-1);
}

.step-seg .seg-btn {
  font-size: 15px;
  font-weight: 600;
}

.builder-controls {
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
  padding: 32px 0;
}

.builder-controls[hidden],
.ctrl[hidden] {
  display: none;
}

.text-input {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 2px solid var(--gray-2);
  background: transparent;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  outline: none;
}

.text-input:focus {
  border-bottom-color: var(--accent);
}

.prompt-wrap {
  position: relative;
  margin-top: 8px;
}

.prompt-out {
  margin-top: 24px;
  font-size: 19px;
  line-height: 1.95;
  min-height: 8em;
}

.prompt-wrap.is-locked .prompt-out {
  filter: blur(7px);
  user-select: none;
  pointer-events: none;
  color: var(--gray-3);
}

.prompt-lock {
  display: none;
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 24px;
}

.prompt-wrap.is-locked .prompt-lock {
  display: flex;
}

.prompt-lock strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.01em;
}

.prompt-lock span {
  font-size: 16px;
  color: var(--gray-4);
}

.lock-btn {
  width: auto;
  margin-top: 12px;
  padding: 16px 28px;
  font-size: 16px;
}

.builder-bar {
  margin-top: 24px;
}

.builder-bar .text-btn[hidden] {
  display: none;
}

@media (max-width: 520px) {
  .builder-controls {
    grid-template-columns: 1fr;
  }

  .genre-seg {
    gap: 4px 18px;
  }

  .genre-seg .seg-btn {
    font-size: 17px;
  }

  .prompt-out {
    font-size: 18px;
  }

  .prompt-lock strong {
    font-size: 19px;
  }
}


/* ══ 신뢰: 들어보기 · 댓글 ═══════════════════════ */
.listen {
  margin-top: 112px;
}

.listen h3,
.voices h3 {
  font-size: 26px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
}

.listen > p {
  text-align: center;
  margin-bottom: 28px;
}

.link-list li {
  padding: 0;
}

.link-list a {
  display: block;
  padding: 22px 0;
  color: var(--gray-4);
  text-decoration: none;
  transition: transform 0.2s ease;
}

.link-list a:hover {
  transform: translateX(6px);
}

.link-list a strong {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.voices {
  margin-top: 112px;
}

.voice-list {
  list-style: none;
  columns: 2;
  column-gap: 40px;
  margin: 36px 0 24px;
}

.voice-list li {
  break-inside: avoid;
  padding: 0 0 32px;
}

.voice-list p {
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink);
  font-weight: 500;
}

.voice-list p::before {
  content: '\201C';
  color: var(--accent);
  font-weight: 800;
  margin-right: 2px;
}

.voice-list span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--gray-3);
}

@media (max-width: 640px) {
  .voice-list {
    columns: 1;
  }
}


/* ══ 한도 계산기 강조 · 실시간 잔여 ═══════════════ */
.calc-row.is-studio {
  padding: 24px 0;
}

.calc-row.is-studio .calc-plan {
  font-size: 19px;
  font-weight: 800;
  white-space: nowrap;
}

.calc-row.is-studio .calc-bar {
  height: 16px;
  border-radius: 8px;
}

.calc-row.is-studio .calc-note {
  font-size: 19px;
  font-weight: 800;
}

.calc-year {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-1);
}

.calc-year-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.calc-year-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-3);
  letter-spacing: 0.02em;
}

.calc-year-num {
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--gray-4);
  font-variant-numeric: tabular-nums;
}

.calc-year-col.is-studio .calc-year-num {
  color: var(--accent);
  font-size: clamp(40px, 6.2vw, 60px);
}

.calc-year-col.is-studio .calc-year-label {
  color: var(--accent);
}

.calc-year-sub {
  font-size: 15px;
  color: var(--gray-4);
  line-height: 1.6;
}

.live-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: 2px;
  box-shadow: 0 0 0 0 rgba(36, 87, 245, 0.6);
  animation: dealDot 1.2s infinite;
}

.price-left {
  animation: none;
}

@media (max-width: 520px) {
  .calc-year {
    grid-template-columns: 1fr;
  }

  .calc-row.is-studio .calc-plan {
    font-size: 15px;
  }
}


/* ══ 후기 캡처 · 상단 잔여 바 · 호버 ═══════════════ */
.stat-more {
  text-align: center;
  margin-top: 28px;
  font-size: 17px;
  color: var(--gray-3);
}

.voices > p {
  text-align: center;
  margin-bottom: 36px;
}

.review-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 24px;
}

.review-grid li {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 22px rgba(20, 30, 60, 0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.review-grid li:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(36, 87, 245, 0.16);
}

.review-grid img {
  display: block;
  width: 100%;
  height: auto;
}

/* 상단 잔여 바 (마퀴) */
.deal-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 58;
  height: 44px;
  background: var(--accent);
  color: #fff;
  overflow: hidden;
  transform: translateY(-100%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.deal-bar.is-on {
  transform: none;
}

.deal-track {
  display: flex;
  height: 44px;
  align-items: center;
  width: max-content;
  padding-left: 100vw;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  animation: marquee 18s linear infinite;
}

.deal-track span {
  padding-right: 40px;
}

.deal-num {
  display: inline-block;
  font-size: 18px;
  padding: 0 2px;
  animation: blink 0.8s infinite alternate;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.deal-bar:hover .deal-track {
  animation-play-state: paused;
}

/* 호버 인터랙션 */
.solution-point,
.acc-item,
.stat-grid li,
.plain-list li,
.track-list li,
.calc-row,
.compare-grid .compare-cell,
.step-text,
.link-list a,
.calc-year-col {
  transition: transform 0.25s ease, color 0.2s ease;
  transform-origin: center;
}

.solution-point:hover,
.acc-item:hover,
.stat-grid li:hover,
.track-list li:hover,
.calc-year-col:hover {
  transform: scale(1.02);
}

.solution-point:hover h3,
.track-list li:hover > span:first-child,
.acc-item:hover .acc-q {
  color: var(--accent);
}

.step-tab {
  transition: transform 0.2s ease, color 0.2s ease;
}

.step-tab:hover {
  transform: translateY(-3px);
  color: var(--accent);
}

.frame {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.frame:hover {
  transform: scale(1.015);
  box-shadow: 0 14px 40px rgba(20, 30, 60, 0.18);
}

.sim {
  transition: transform 0.3s ease;
}

.sim:hover {
  transform: scale(1.008);
}

.price-block {
  transition: transform 0.3s ease;
}

.price-block:hover {
  transform: scale(1.03);
}

.btn {
  transition: opacity 0.15s, transform 0.15s ease;
}

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

.btn-buy:hover {
  filter: brightness(1.08);
}

.ab-row {
  transition: transform 0.2s ease, color 0.2s, border-color 0.2s;
}

.ab-row:hover {
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .deal-track, .deal-num { animation: none; }
  .solution-point:hover, .acc-item:hover, .stat-grid li:hover, .track-list li:hover, .frame:hover, .sim:hover, .price-block:hover, .review-grid li:hover, .calc-year-col:hover { transform: none; }
}

@media (max-width: 640px) {
  .review-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .deal-bar,
  .deal-track {
    height: 38px;
  }

  .deal-track {
    font-size: 13px;
  }

  .deal-num {
    font-size: 15px;
  }
}


/* ══ 가격 섹션 문답 ═══════════════════════════════ */
.quality-check {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 48px;
}

.quality-check p {
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
}

.quality-btn {
  width: auto;
  padding: 14px 26px;
  font-size: 16px;
}

.choice {
  margin: 56px auto 0;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.6;
  letter-spacing: -0.01em;
}

@media (max-width: 520px) {
  .choice {
    font-size: 19px;
  }
}
