/* 인턴 1호기 제품 페이지 전용 스타일 — 첫 화면 결과 화면(컷 리스트·CG 검수), 기능 탭과 묶음별 화면, 가격·다운로드·도움말 섹션 */

/* ───────── 머리글: 테이크 독 / 인턴 1호기 경로 표시 ───────── */
.crumb {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.crumb .wordmark {
  font-size: 13px;
  color: var(--text-2);
  transition: color 0.15s ease;
}

.crumb .wordmark:hover {
  color: var(--text);
}

.crumb__sep {
  color: var(--text-2);
  opacity: 0.5;
  font-weight: 300;
}

.product-mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.app-icon {
  width: 26px;
  height: 26px;
  flex: none;
}

.site-header .site-nav {
  margin-left: auto;
}

/* 지금 보고 있는 섹션의 메뉴 */
.site-nav a.is-current {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  margin: 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

/* ───────── 공통 섹션 머리 ───────── */
.section-title {
  font-size: var(--fs-h2);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.section-lead {
  margin-top: 16px;
  max-width: 40em;
  font-size: var(--fs-lead);
  color: var(--text-2);
}

/* ───────── 1. 첫 화면 ───────── */
.hero {
  position: relative;
  overflow: hidden;
  overflow: clip;
}

.hero__copy {
  position: relative;
  z-index: 2;
  padding-top: 104px;
}

.hero__intro {
  font-size: var(--fs-body);
  color: var(--text-2);
}

.hero__title {
  margin-top: 18px;
  font-size: var(--fs-display);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hero__lead {
  margin-top: 24px;
  max-width: 34em;
  font-size: var(--fs-lead);
  line-height: 1.65;
  color: #cfc8be;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin-top: 36px;
}

.hero__status {
  margin-top: 14px;
  font-size: var(--fs-small);
  color: var(--text-2);
}

/* 제품 그림: 앱이 만든 결과 화면 두 장을 기울이지 않고 겹친다.
   큰 쪽은 컷 리스트 결과 표, 작은 쪽은 CG 검수 영상이다. 그림은 2배 캡처에서 결과 영역만 잘라 낸 것이다 */
.shot {
  position: relative;
  margin-top: 64px;
  padding-bottom: 150px;
}

.shot::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 0;
  top: 10%;
  bottom: -10%;
  background: radial-gradient(closest-side, rgba(232, 145, 58, 0.16), transparent);
  pointer-events: none;
}

.shot figure {
  margin: 0;
}

.shot__main {
  position: relative;
}

.shot__main {
  width: min(810px, 68%);
}

.shot__side {
  position: absolute;
  right: var(--gutter);
  top: 56%;
  width: min(500px, 40%);
  z-index: 1;
}

/* 결과 화면 틀: 앱 바탕색 위에 얇은 테두리와 깊은 그림자 */
.shot__frame {
  overflow: hidden;
  border-radius: 14px;
  background: #262624;
  box-shadow: 0 0 0 1px rgba(255, 244, 230, 0.12), 0 40px 90px -24px rgba(0, 0, 0, 0.9);
}

.shot__frame img {
  width: 100%;
  height: auto;
}

.shot__side .shot__frame {
  box-shadow: 0 0 0 1px rgba(255, 244, 230, 0.18), 0 50px 100px -20px rgba(0, 0, 0, 0.95);
}

.shot figcaption,
.group__shot figcaption {
  font-size: var(--fs-small);
  color: var(--text-2);
}

.shot figcaption b,
.group__shot figcaption b {
  margin-right: 8px;
  color: var(--accent);
  font-weight: 600;
}

.shot__main figcaption {
  margin-bottom: 14px;
}

.shot__side figcaption {
  margin-top: 14px;
  text-align: right;
}

.shot__sample {
  margin-top: 28px;
  font-size: var(--fs-small);
  color: var(--text-2);
}

/* 첫 화면에서 한 번: 글이 차례로 떠오르고, 결과 화면이 아래에서 올라온다 */
.motion .hero__copy > * {
  animation: rise 0.9s cubic-bezier(0.16, 0.8, 0.24, 1) backwards;
}

.motion .hero__copy > :nth-child(2) {
  animation-delay: 0.08s;
}

.motion .hero__copy > :nth-child(3) {
  animation-delay: 0.16s;
}

.motion .hero__copy > :nth-child(4) {
  animation-delay: 0.24s;
}

.motion .hero__copy > :nth-child(5) {
  animation-delay: 0.32s;
}

.motion .shot__main {
  animation: rise-shot 1.1s cubic-bezier(0.16, 0.8, 0.24, 1) 0.3s backwards;
}

.motion .shot__side {
  animation: rise-shot 1.1s cubic-bezier(0.16, 0.8, 0.24, 1) 0.55s backwards;
}

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

@keyframes rise-shot {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
}

/* ───────── 2. 공감 문구 ───────── */
.statement {
  padding: 96px 0 120px;
}

.statement__text {
  max-width: 1000px;
  font-size: var(--fs-h2);
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text-2);
}

.statement__text .hl,
.statement__text .line {
  display: block;
}

.statement__text .hl,
.statement__text strong {
  color: var(--text);
  font-weight: 600;
}

.statement__text .line--gap {
  margin-top: 0.7em;
}

.statement__text em {
  font-style: normal;
  color: var(--accent);
}

.statement__text strong {
  color: var(--text);
}

/* ───────── 3. 기능 ───────── */
.features {
  padding: 0 0 120px;
}

.group-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0 32px;
  margin-top: 48px;
  border-bottom: 1px solid var(--line);
}

.group-tabs button {
  appearance: none;
  min-height: 52px;
  margin-bottom: -1px;
  padding: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  font: inherit;
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
}

.group-tabs button:hover {
  color: var(--text);
}

.group-tabs button[aria-selected="true"] {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.group-tabs button[aria-selected="true"] span {
  color: var(--accent);
}

.group-tabs span {
  margin-left: 4px;
  font-weight: 500;
  color: var(--text-2);
}

/* JavaScript가 없으면 탭 대신 세 묶음을 모두 펼친다 */
.js .group {
  display: none;
}

.js .group.is-active {
  display: grid;
}

.group {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: start;
  gap: 32px 56px;
  padding-top: 40px;
}

html:not(.js) .group {
  display: grid;
}

.group__shot {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  margin: 0;
}

.group__shot .shot__frame {
  box-shadow: 0 0 0 1px rgba(255, 244, 230, 0.12), 0 30px 70px -30px rgba(0, 0, 0, 0.9);
}

.group__shot figcaption {
  margin-top: 14px;
}

html:not(.js) .group-tabs {
  display: none;
}

html:not(.js) .group + .group {
  margin-top: 48px;
}

.group__plan {
  margin-top: 0;
  font-size: var(--fs-small);
  color: var(--text-2);
}

.tools {
  margin-top: 16px;
}

.tool:last-child {
  border-bottom: 1px solid var(--line);
}

.tool {
  border-top: 1px solid var(--line);
}

.tool summary,
.faq__list summary {
  position: relative;
  display: block;
  list-style: none;
  cursor: pointer;
}

.tool summary::-webkit-details-marker,
.faq__list summary::-webkit-details-marker {
  display: none;
}

.tool summary {
  padding: 24px 44px 24px 0;
}

/* 펼침 표시: 아래를 향한 꺾쇠가 펼치면 위로 돈다 */
.tool summary::after,
.faq__list summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -7px;
  border-right: 1.6px solid var(--text-2);
  border-bottom: 1.6px solid var(--text-2);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.tool[open] summary::after,
.faq__list details[open] summary::after {
  margin-top: -2px;
  transform: rotate(-135deg);
}

.tool__name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--accent);
}

.tool__name svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tool__q {
  display: block;
  margin-top: 8px;
  font-size: var(--fs-lead);
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.tool__d {
  padding: 0 44px 24px 0;
  color: var(--text-2);
}

.tool__pro {
  display: inline-block;
  margin: -8px 0 24px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(232, 145, 58, 0.12);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--accent);
}

/* ───────── 4. 로컬 처리와 신뢰 ───────── */
.trust {
  padding: 64px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 48px;
}

.trust__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: rgba(232, 145, 58, 0.12);
}

.trust__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust__item h3 {
  font-size: var(--fs-lead);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.trust__item p {
  margin-top: 10px;
  color: var(--text-2);
}

/* ───────── 5. 가격 ───────── */
.pricing {
  padding: 120px 0;
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}

/* 무료 버전은 선만, Pro만 앱 패널 색 면으로 구분한다 */
.plan {
  display: flex;
  flex-direction: column;
  padding: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
}

.plan--pro {
  background: var(--panel);
}

.plan__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan__name {
  font-size: var(--fs-h3);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.badge {
  padding: 4px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: var(--fs-small);
  font-weight: 600;
}

.plan__was {
  margin-top: 20px;
  font-size: var(--fs-small);
  color: var(--text-2);
}

.plan__price {
  margin-top: 8px;
  font-size: var(--fs-h3);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.plan:not(.plan--pro) .plan__price {
  margin-top: 20px;
}

.plan__price .num {
  font-size: var(--fs-display);
  line-height: 1;
  letter-spacing: -0.04em;
}

.plan--pro .plan__price .num {
  color: var(--accent);
}

.plan__billing {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 14px;
  font-size: var(--fs-small);
  color: var(--text-2);
}

.chip {
  padding: 2px 10px;
  border-radius: 6px;
  background: var(--panel-2);
  font-weight: 600;
  color: var(--text);
}

.plan__tools {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.plan__label {
  font-size: var(--fs-small);
  color: var(--text-2);
}

.plan__label b {
  color: var(--text);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 24px;
}

.chips li {
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: var(--fs-small);
}

.chips--preview li {
  border-style: dashed;
  color: var(--text-2);
}

.plan__aside {
  font-size: var(--fs-small);
  color: var(--text-2);
}

.plan__terms {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-small);
  color: var(--text-2);
}

.plan__terms li {
  position: relative;
  padding-left: 16px;
}

.plan__terms li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.7em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-2);
}

.plan__terms b {
  color: var(--text);
}

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

.plan__list li {
  position: relative;
  padding-left: 28px;
}

.plan__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 12px;
  height: 7px;
  border-left: 1.8px solid var(--accent);
  border-bottom: 1.8px solid var(--accent);
  transform: rotate(-45deg);
}

.plan__foot {
  margin-top: auto;
  padding-top: 36px;
}

.plan__cta {
  width: 100%;
}

/* 구독 단추 바로 옆에 두어야 하는 환불 조건(환불 정책 3번) */
.plan__refund {
  margin-top: 14px;
  font-size: var(--fs-small);
  color: var(--text-2);
}

.plan__refund a,
.faq__list details p a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.plan__fine {
  margin-top: 12px;
  font-size: var(--fs-small);
  color: var(--text-2);
  text-align: center;
}

.notice {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  padding: 24px 28px;
  border-radius: 16px;
  background: var(--panel);
}

.notice svg {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 2px;
  fill: none;
  stroke: var(--text);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.notice__title {
  font-weight: 700;
}

.notice p:not(.notice__title) {
  margin-top: 6px;
  color: var(--text-2);
}

/* ───────── 6. 다운로드 ───────── */
.download {
  padding: 0 0 120px;
}

.download__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.os {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.os__logo {
  width: 28px;
  height: 28px;
  flex: none;
  fill: var(--text);
}

.os__body h3 {
  font-size: var(--fs-lead);
  font-weight: 700;
}

.os__body p {
  margin-top: 2px;
  font-size: var(--fs-small);
  color: var(--text-2);
}

.os__status {
  margin-left: auto;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: var(--fs-small);
  color: var(--text-2);
  white-space: nowrap;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 48px;
  margin-top: 48px;
}

.steps li {
  display: grid;
  gap: 6px;
}

.steps__n {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: rgba(232, 145, 58, 0.12);
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--accent);
}

.steps b {
  font-size: var(--fs-lead);
  letter-spacing: -0.02em;
}

.steps li > span:last-child {
  color: var(--text-2);
}

.download__note {
  max-width: 760px;
  margin-top: 40px;
  font-size: var(--fs-small);
  color: var(--text-2);
}

/* ───────── 7. 자주 묻는 질문 ───────── */
.faq {
  padding: 120px 0;
  border-top: 1px solid var(--line);
}

.faq__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 32px 64px;
}

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

.faq__list details:first-child {
  border-top: 1px solid var(--line);
}

.faq__list summary {
  padding: 22px 44px 22px 0;
  font-weight: 600;
}

.faq__list details p {
  padding: 0 44px 24px 0;
  color: var(--text-2);
}

/* 바닥글 */
.footer-sub {
  margin-top: 2px;
}

/* ───────── 반응형 ───────── */
@media (max-width: 1100px) {
  .shot__main {
    width: 78%;
  }

  .shot__side {
    top: 64%;
    width: 42%;
  }

  .js .group.is-active,
  html:not(.js) .group {
    grid-template-columns: 1fr;
  }

  .group__shot {
    position: static;
    max-width: 640px;
  }

  .trust__grid {
    grid-template-columns: 1fr;
  }

  .faq__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .plans,
  .download__grid {
    grid-template-columns: 1fr;
  }

  .plan {
    padding: 32px 24px;
  }
}

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

  .crumb {
    gap: 9px;
  }

  .crumb .wordmark {
    font-size: 12px;
    letter-spacing: 0.1em;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--line-strong);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }

  .header-cta {
    margin-left: auto;
  }

  .nav-toggle {
    display: block;
  }

  .hero__copy {
    padding-top: 56px;
  }

  .hero__title {
    font-size: clamp(32px, 9vw, 40px);
    line-height: 1.2;
  }

  .hero__lead {
    margin-top: 20px;
  }

  .hero__actions {
    margin-top: 28px;
  }

  /* 휴대폰: 컷 리스트는 앞쪽 칸만 잘린 그림으로 크게, CG 검수는 그 아래에 겹쳐 둔다 */
  .shot {
    margin-top: 48px;
  }

  .shot__main {
    width: 86%;
  }

  .shot {
    padding-bottom: 0;
  }

  .shot .shot__side {
    position: relative;
    right: auto;
    top: auto;
    width: 82%;
    margin: -64px 0 0 auto;
  }

  .statement {
    padding: 72px 0 88px;
  }

  .features,
  .download {
    padding-bottom: 88px;
  }

  .pricing,
  .faq {
    padding: 88px 0;
  }

  .group-tabs {
    gap: 0 20px;
  }

  .tool__q {
    font-size: var(--fs-body);
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .os {
    flex-wrap: wrap;
  }
}

@media (max-width: 440px) {
  .header-cta {
    display: none;
  }

  .nav-toggle {
    margin-left: auto;
  }
}
