/* 섹션별 디자인 수정은 이 파일에 작성합니다.
   #top 첫 화면 · #media 영상 · #logos 영상 댓글 · #gallery 광고 재결제율
   #pricing 요금 · #comparison 사이트 비교 · #faq 질문
*/
#home-page { --section-space: clamp(48px, 5.3vw, 80px); --closing-gutter: clamp(20px, 5vw, 56px); }
/* The reference demo starts inside its hero. Here that gap ends at #media. */
#top { padding-bottom: clamp(48px, 6vw, 80px); }
#faq {
  padding-block: var(--section-space); scroll-margin-top: 56px; background: #fff;
  --faq-pad: clamp(16px, 2.6vw, 26px);
}
#faq .wrap { padding-inline: var(--closing-gutter); }
#faq .eyebrow { color: #625f58; margin-bottom: 9px; font: 600 15px/1.5 var(--sans); letter-spacing: -.02em; }
#faq h2 { font-size: clamp(27px, 3.2vw, 44px); font-weight: 700; line-height: 1.25; }
#faq .qlist { display: grid; gap: 10px; max-width: 1056px; margin: clamp(28px, 4vw, 48px) auto 0; }
#faq details { min-width: 0; border: 0; }
#faq summary {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: clamp(12px, 1.4vw, 20px);
  min-height: clamp(60px, 6vw, 80px); padding: 15px var(--faq-pad);
  border: 1px solid #e8e7e3; border-radius: 16px; background: #f8f8f6; color: #24231f;
  font-size: clamp(16px, 1.5vw, 20px); font-weight: 550; line-height: 1.45;
}
#faq summary::before { content: "Q" / ""; font-size: 1.15em; font-weight: 670; }
#faq summary::after {
  width: 22px; height: 22px;
  background: linear-gradient(currentColor,currentColor) center / 14px 2px no-repeat,
              linear-gradient(currentColor,currentColor) center / 2px 14px no-repeat;
}
#faq details[open] summary { border-color: #24231f; }
#faq details[open] summary::after {
  background: linear-gradient(currentColor,currentColor) center / 14px 2px no-repeat;
  transform: none;
}
#faq .ans { margin-top: 6px; border: 1px solid #cbc9c3; border-radius: 16px; background: #fff; }
#faq details p {
  margin: 0; padding: 18px var(--faq-pad); max-width: 70ch; color: #484640;
  font-size: clamp(15px, 1.15vw, 17px); line-height: 1.65; overflow-wrap: anywhere;
}
#faq summary:focus-visible { outline: 2px solid #68645b; outline-offset: 3px; }
#faq .ans a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
#media { padding-block: 0; scroll-margin-top: 64px; }
@media (max-width: 420px) {
  #nav .wrap { column-gap: 8px; }
}

#nav .logo img {
  aspect-ratio: 177 / 42;
  width: auto;
  height: 26px;
}

#logos.creator-comments {
  --comment-width: clamp(248px, 73vw, 340px);
  background: #fff;
  color: #22221f;
  padding-block: clamp(32px, 4vw, 60px) var(--section-space);
  border-bottom: 1px solid #e7e7e6;
  scroll-margin-top: 64px;
}
.comment-intro {
  margin: 0 16px clamp(20px, 2.5vw, 32px);
  text-align: center;
  word-break: keep-all;
}
#comments-title { margin: 0; color: #201f1c; font-size: clamp(25px, 2.6vw, 36px); font-weight: 500; line-height: 1.2; letter-spacing: -.04em; }
#comments-title strong { font-size: inherit; font-weight: 800; }
.comment-intro p { margin: 5px 0 0; color: #57544d; font-size: clamp(16px, 1.6vw, 20px); font-weight: 450; line-height: 1.45; letter-spacing: -.03em; }
.comment-bands { display: grid; gap: 16px; overflow: hidden; }
.comment-group {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  list-style: none; gap: 16px; margin: 0; padding: 0 16px;
}
.comment-group li {
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 155px; box-sizing: border-box; border-radius: 15px;
  background: #f6f6f5; padding: 19px 22px 20px;
}
.comment-group blockquote {
  margin: 0; color: #252521; font-size: 16px; font-weight: 400; line-height: 1.65;
  letter-spacing: -.028em; word-break: keep-all; overflow-wrap: break-word;
}
.comment-group p { margin: 14px 0 0; font-size: 14px; color: #6f6e69; line-height: 1.45; }
.comment-bands [aria-hidden="true"] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .comment-bands.is-looping {
    mask-image: linear-gradient(90deg, transparent, #000 min(9vw, 140px), #000 calc(100% - min(9vw, 140px)), transparent);
  }
  .comment-bands.is-looping .comment-track { display: flex; width: max-content; animation: comment-loop 64s linear infinite; }
  .comment-bands.is-looping .comment-track:nth-child(2) { animation-direction: reverse; }
  .comment-bands.is-looping .comment-group {
    display: flex; flex: none; padding: 0 16px 0 0;
  }
  .comment-bands.is-looping li { flex: 0 0 var(--comment-width); width: var(--comment-width); }
}
@keyframes comment-loop { to { transform: translateX(calc(-100% / 3)); } }

.table-method {
  --method-inset: clamp(18px, 2.5vw, 32px);
  background: #faf9f7; color: #49463f; border-top: 1px solid #e5e2dc;
}
.table-method summary {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px;
  min-height: 48px; box-sizing: border-box; padding: 10px var(--method-inset);
  list-style: none; cursor: pointer; font-size: 14px; line-height: 1.5; font-weight: 550;
}
.table-method summary::-webkit-details-marker { display: none; }
.table-method summary::after {
  content: ''; grid-column: 3; grid-row: 1; width: 8px; height: 8px;
  border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg);
}
.table-method[open] summary::after { transform: translateY(2px) rotate(225deg); }
.table-method summary small { font-size: 12px; font-weight: 400; color: #68645f; }
.table-method summary:hover { color: #24211d; background: #f5f4f0; }
.table-method summary:focus-visible { outline: 2px solid #514d46; outline-offset: -4px; }
.table-method > div {
  padding: 12px var(--method-inset) 28px; color: #514e48;
  font-size: 14px; line-height: 1.65; word-break: keep-all; overflow-wrap: anywhere;
}
@media (max-width: 640px) {
  .table-method summary { grid-template-columns: 1fr auto; gap: 2px 12px; }
  .table-method summary small { grid-column: 1; grid-row: 2; }
  .table-method summary::after { grid-column: 2; }
  .market-method summary::after { grid-row: 1 / span 2; }
}

.home-page .bubble-footer {
  padding: clamp(32px, 4vw, 56px) var(--closing-gutter) max(20px, env(safe-area-inset-bottom));
  border-top: 1px solid #e8e7e3; background: #fff; color: #24231f;
}
.bubble-footer-inner {
  max-width: 1056px; margin-inline: auto; display: grid; align-items: start;
  grid-template-columns: minmax(0, 1fr) auto; gap: 12px 24px;
}
.bubble-footer-brand img { display: block; width: clamp(108px, 11vw, 140px); height: auto; }
.home-page .bubble-footer-brand p { margin: 9px 0 0; color: #625f58; font-size: 13px; line-height: 1.6; }
.home-page .bubble-footer-credit {
  grid-column: 1 / -1; margin: 0;
  color: #6a675f; text-align: left; font-size: 12px; line-height: 1.6;
}
.bubble-footer-credit span { margin-inline: 3px; }
.bubble-footer-legal { display: flex; align-items: center; flex-wrap: wrap; column-gap: 20px; }
.bubble-footer nav a { display: inline-flex; align-items: center; min-height: 44px; color: #403d37; font-size: 14px; }
.bubble-footer a:hover, .bubble-footer a:focus-visible { color: #171612; text-decoration: underline; text-underline-offset: 4px; }
.bubble-footer a:focus-visible { outline: 2px solid #68645b; outline-offset: 3px; border-radius: 3px; }
@media (max-width: 600px) {
  .bubble-footer-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "logo links" "tagline tagline" "credit credit";
    align-items: center; gap: 0 10px;
  }
  .bubble-footer-brand { display: contents; }
  .bubble-footer-brand img { grid-area: logo; max-width: 100%; }
  .home-page .bubble-footer-brand p { grid-area: tagline; margin: 2px 0 0; }
  .bubble-footer-legal { grid-area: links; justify-self: end; column-gap: clamp(10px, 3vw, 18px); }
  .bubble-footer-legal a { min-width: 44px; justify-content: center; }
  .home-page .bubble-footer-credit { grid-area: credit; margin-top: 6px; }
}
