/* 새 랜딩 시안(/landing-v2) 페이지 스타일 — 피그마 'plus zero2' 이식.
   반응형(2026-10-12 재작업, 페이지 zoom 없음): 데스크톱 ≥1025(피그마 1920 프레임) · 태블릿 521~1024(768 프레임) · 모바일 ≤520(390 프레임).
   피그마 값은 각 프레임 폭에서 그대로 나오게 두고, 그 사이 폭은 %·clamp() 로 이어 준다. 헤더는 css/v2/header.css,
   여러 v2 페이지가 같이 쓰는 기본·버튼·문의 폼·푸터는 css/v2/site.css(블로그 목록과 공유, 2026-10-14 분리). */
/* 섹션 제목 — 1920·1440 에서 52, 좁은 데스크톱에서 40 까지. 줄은 <br> 로 나누고 폭이 모자라면 자연스럽게 넘어간다 */
.h-section{font-weight:300;font-size:clamp(40px,3.6vw,52px);line-height:1.5;text-align:center;color:#333}

/* ── 히어로 — 데스크톱은 첫 화면을 꽉 채운다(헤더 72 + 제목 + 스크린샷 + 하단 34) ── */
.hero{background:#0a0d10;color:#fff;min-height:100vh;min-height:100svh;display:flex;flex-direction:column;align-items:center;overflow:clip}
.hero-title{margin-top:40px;max-width:calc(100% - 48px);font-weight:200;font-size:clamp(40px,3.6vw,52px);line-height:1.4;text-align:center;color:#fff}
.hero-title b{font-weight:400}
/* 남는 높이(창 − 헤더 72 − 제목 여백 40 − 제목 ~73 − 11 − 하단 34 ≈ 230)를 채우고 폭은 1034:704 비율 */
.hero-shot{height:max(360px,calc(100vh - 230px));height:max(360px,calc(100svh - 230px));width:auto;max-width:calc(100% - 96px);aspect-ratio:1034/704;object-fit:contain}
/* 히어로 영상 — 화면 폭을 가득 채운다(좌우 여백 없음, 모든 폭에서 이 규칙이 이긴다: 요소+클래스 특이도). */
video.hero-shot{display:block;width:100%;max-width:none;height:auto;aspect-ratio:16/9;object-fit:cover;background:transparent;}
.hero:has(video.hero-shot){position:relative;min-height:0}
.hero:has(video.hero-shot) .hero-title{position:absolute;top:112px;left:50%;transform:translateX(-50%);z-index:2;width:max-content;margin-top:0;text-shadow:0 2px 16px rgba(0,0,0,.6)}
/* 1024px 이하는 16:9 영상이 낮아(768px 폭 → 432px) 제목이 영상 가운데(검색창)를 덮는다 — 제목 아래에 영상을 둔다.
   제목 여백·크기는 기존 브레이크포인트 규칙(.hero-title)을 그대로 쓴다. */
/* 영상 끝 화면 — 피그마 'end (after paying video)'(1234:9360): 검정 75% + 가운데 두 줄.
   영상이 끝나면 .hero-stage.is-ended 로 페이드인해 **멈춘 마지막 장면 위에** 얹는다(landing.js). 피그마의 배경 사진은
   마지막 장면과 구도·배율이 조금 달라 페이드 중에 영상이 움직이는 것처럼 보여서, 영상을 못 틀었을 때(.is-failed)만 깐다.
   h1 은 늘 DOM 에 있다(검색엔진용). */
.hero-stage{position:relative;width:100%}
.hero-end{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:0 24px;text-align:center;color:#fff;background:transparent;opacity:0;visibility:hidden;transition:opacity 1.2s ease,visibility 0s linear 1.2s}
.hero-end::before{content:"";position:absolute;inset:0;background:rgba(0,0,0,.75)}
.hero-end>*{position:relative;max-width:1034px;letter-spacing:-0.025em;line-height:1.4}
.hero-end-kicker{font-weight:300;font-size:clamp(14px,1.46vw,28px)}
.hero-end-kicker b{font-weight:500}
.hero-end-title{padding:8px;font-weight:200;font-size:clamp(20px,2.71vw,52px)}
.hero-end-title b{font-weight:400}
.hero-stage.is-ended .hero-end{opacity:1;visibility:visible;transition:opacity 1.2s ease,visibility 0s}
.hero-stage.is-failed .hero-end{background:#0a0d10 url(../../images/landing-v2/hero-end-bg.jpg) center/cover no-repeat}
@media (prefers-reduced-motion:reduce){.hero-end,.hero-stage.is-ended .hero-end{transition:none}}
@media (max-width:767px){.hero-end{gap:4px}.hero-end-title{padding:4px 8px}}
@media (max-width:1024px){.hero:has(video.hero-shot) .hero-title{position:static;transform:none;width:auto;text-shadow:none}}
@media (max-width:520px){.hero:has(video.hero-shot) .hero-title{margin-top:20px}}

/* ── 소개 2단(450 : 980) ── */
.intro{display:grid;grid-template-columns:minmax(0,450fr) minmax(0,980fr);column-gap:10px;padding:74px 0}
.intro h2{font-weight:500;font-size:clamp(24px,2.5vw,36px);line-height:1.5}
.intro p{font-weight:200;font-size:clamp(18px,1.04vw,20px);line-height:1.6;margin-top:6px}
.intro p b{font-weight:500}
.hr{border:0;border-top:1px solid #a0a0a0}

/* ── 프로토타입 — 틀 1098:663, 안의 iframe(1200×750 앱 화면)은 landing.js 가 틀 높이에 맞춰 줄인다 ── */
.proto{padding:160px 0}
.proto-figure{position:relative;width:min(1098px,100%);aspect-ratio:1098/663;margin:64px auto 0;border:1px solid #e9e9e9;background:#fff}
.proto-figure .note{position:absolute;left:75.9%;top:-23px;display:inline-flex;align-items:center;padding:8px;background:#fff243;border-radius:4px;font-family:Inter,Pretendard,sans-serif;font-weight:500;font-size:14px;letter-spacing:-0.011em;color:#222;z-index:2;box-shadow:0 2px 6px rgba(0,0,0,.08);white-space:nowrap}
.proto-figure iframe{position:absolute;top:0;left:0;width:1200px;height:750px;border:0;background:#fff;transform-origin:0 0}
.proto-img{display:none}
/* 데모가 그려질 때까지 덮는 로딩 화면 — 같은 앱 화면 캡처(prototype-demo.jpg)를 흐리게 깔고 가운데 안내. 데모가 'voc-demo:ready' 를
   보내면(src/demo/embedReady.ts) landing.js 가 .is-ready 를 붙여 걷는다. 노트(.note, z 2)는 위에 남는다. */
.proto-loading{position:absolute;inset:0;z-index:1;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#fff;transition:opacity .45s ease,visibility 0s linear .45s}
.proto-loading::before{content:"";position:absolute;inset:-12px;background:url(/static/images/landing-v2/prototype-demo.jpg) center/cover no-repeat;filter:blur(6px);opacity:.55}
.proto-loading .pill{position:relative;display:inline-flex;align-items:center;gap:10px;padding:10px 18px;border-radius:999px;background:rgba(40,40,40,.9);color:#fff;font-size:15px;font-weight:400;line-height:1.5;box-shadow:0 6px 24px rgba(0,0,0,.14)}
.proto-loading .spin{width:16px;height:16px;border-radius:50%;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;animation:proto-spin .8s linear infinite}
.proto-figure.is-ready .proto-loading{opacity:0;visibility:hidden}
@keyframes proto-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.proto-loading .spin{animation:none;border-top-color:rgba(255,255,255,.3)}.proto-loading{transition:none}}

/* ── 하는 일(어두운 섹션) — 글 678 : 아코디언 730 ── */
.dark{background:#282828;color:#fff;padding:160px 0}
.dark .wrap{display:flex;gap:64px;align-items:center;flex-direction: column;}
.dark .copy{flex:510 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;gap:32px;padding:16px 0;text-align:center}
.dark h2{font-weight:200;font-size:clamp(40px,3.6vw,52px);line-height:1.5}
.dark .copy p{font-weight:200;font-size:clamp(18px,1.04vw,20px);line-height:1.6}
.dark .copy p b{font-weight:500}
.acc{flex:850 1 0;min-width:0;display:flex;flex-direction:column;gap:16px}
.acc-item{background:#363636;}
.acc-head{width:100%;display:flex;align-items:center;gap:16px;padding:24px 16px;text-align:left;color:#fff}
.acc-head-title {width: 100%;}
.acc-head-title p{width:100%;padding-top:8px;font-weight:100;font-size:clamp(18px,1.04vw,20px);line-height:1.5}
.acc-head .no{width:32px;flex:0 0 auto;font-weight:600;font-size:24px}
.acc-head .ttl{flex:1;font-weight:500;font-size:24px}
.acc-head::after{content:"";width:14px;height:14px;border-right:2px solid #fff;border-bottom:2px solid #fff;margin-right: 12px; transform:rotate(45deg) translate(-3px,-3px);transition:transform .25s;opacity:.8}
.acc-item.open .acc-head::after{transform:rotate(-135deg) translate(-3px,-3px)}
.acc-body{display:grid;grid-template-rows:0fr;transition:grid-template-rows .35s ease}
.acc-item.open .acc-body{grid-template-rows:1fr}
.acc-body>.acc-in{min-height:0;overflow:hidden;display:flex;flex-direction:column;align-items:center;gap:16px;padding:0 24px;transition:padding .35s ease}
.acc-item.open .acc-body>.acc-in{padding:0 24px 24px}
.acc-body p b{font-weight:400}
.acc-body .shot{width:100%;aspect-ratio:682/358;overflow:hidden}
.acc-body .shot img{width:100%;height:auto}

/* ── 4단계 카드 — 2 × 2 ── */
.steps{padding:160px 0;border-bottom:1px solid #a0a0a0}
.step-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:64px}
.card{background:#fff;border:1px solid #eee;padding:clamp(20px,1.67vw,32px);display:flex;gap:clamp(16px,1.67vw,32px)}
.card .ill{width:clamp(140px,13vw,250px);height:auto;aspect-ratio:1;flex:0 0 auto;background:#f5f5f5;align-self:flex-start}
.card .txt{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:space-between;padding:16px 0 8px}
.card .step{font-weight:600;font-size:16px;color:#00974b}
.card h3{font-weight:500;font-size:clamp(20px,1.25vw,24px);line-height:1.5}
.card p{font-weight:200;font-size:clamp(16px,1.04vw,20px);line-height:1.6;margin-top:8px}

/* ── 브랜드 브레인 ── */
.brain{padding:160px 0 120px 0;border-bottom:1px solid #a0a0a0}
.brain .figure{width:100%;aspect-ratio:1440/813;object-fit:cover}
.brain .intro{padding:74px 0 0}
.brain .intro p{margin-top:22px}

/* ── 회사 소개 · 파트너 · 고객사 ── */
.about{padding:160px 0 0;border-bottom: 1px solid #a0a0a0;}
.about .lead{margin:32px auto 0;font-weight:200;font-size:clamp(18px,1.04vw,20px);line-height:1.6;text-align:center}
.about .lines{margin-top:64px;}
.partners{display:grid;grid-template-columns:repeat(3,1fr);}
.partners .cell{height:120px;display:flex;align-items:center;justify-content:center;padding:15px 11px;}
.partners .cell:first-child{border-left:0}
.partners img{max-width:100%;width:auto;object-fit:contain}
.logos{display:grid;grid-template-columns:repeat(8,1fr);grid-auto-rows:90px;}
.logos .cell{min-width:0;display:flex;align-items:center;justify-content:center;padding:15px 11px;}
.logos img{max-width:100%;max-height:72px;width:auto;height:auto;object-fit:contain}

/* ── 무료로 시작 카드 + 사진 ── */
.contact{padding:160px 0;border-bottom:1px solid #a0a0a0}
.contact-row{display:grid;grid-template-columns:1fr 1fr;margin-top:64px}
.contact-card{height:320px;background:#f5f5f5;padding:40px;display:flex;flex-direction:column}
.contact-card .label{font-weight:600;font-size:16px;color:#00974b}
.contact-card p{margin-top:16px;font-weight:200;font-size:20px;line-height:1.7}
.contact-card .actions{margin-top:auto;display:flex;gap:12px;align-items:center}
/* 피그마 크롭(775×436 을 -18,-58 에 둔 721×319 틀) = object-position 33% 50% */
.contact-photo{height:320px;overflow:hidden;position:relative;filter:grayscale();}
.contact-photo img{width:100%;height:100%;object-fit:cover;object-position:33% 50%}
.contact-photo::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 50%,rgba(0,0,0,.25) 0%,rgba(0,0,0,.13) 100%)}

/* ── FAQ ── */
.faq{padding:160px 0}
.faq-list{margin-top:64px}
.faq-item{border-bottom:1px solid #eee;padding:16px 0}
.faq-item.open{display:flex;flex-direction:column;gap:8px;padding:0}
.faq-q{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px;text-align:left;font-weight:400;font-size:24px;line-height:1.5;color:#333}
.faq-item.open .faq-q{padding:16px 8px}
.faq-q img{width:40px;height:40px;flex:0 0 auto}
.faq-a{display:none;background:#f5f5f5;padding:24px 16px;font-weight:200;font-size:20px;line-height:1.7}
.faq-item.open .faq-a{display:block}
.faq .more{display:flex;justify-content:center;margin-top:76px}


/* ── 데스크톱 중 좁은 폭(1025~1279) — 2 × 2 카드는 그림을 위로 ── */
@media (min-width:1025px) and (max-width:1279px){
  .card{flex-direction:column}
  .card .ill{width:200px}
  .card .txt{padding:0}
}

/* ── 태블릿 521~1024 — 피그마 'min 768px max 1024px'(#1218:5662): 콘텐츠 = 폭 − 48, 전부 1단 ── */
@media (min-width:521px) and (max-width:1024px){
  .h-section{font-size:clamp(32px,6.77vw,52px)}
  /* 히어로: 768 에서 제목 52 · 스크린샷 828(화면보다 넓어 좌우가 잘린다) · 아래 104 */
  .hero{min-height:0;}
  .hero-title{font-size:clamp(32px,6.77vw,52px)}
  .hero-shot{margin-top:8px;width:107.8%;max-width:none;height:auto}
  .intro.wrap{display:flex;flex-direction:column;gap:24px;padding:40px 0}
  .intro h2{font-size:clamp(28px,4.69vw,36px)}
  .intro p{font-size:20px;margin-top:0}
  .proto-figure{width:100%;aspect-ratio:718/433}
  .proto-figure .note{left:68.1%;top:-37px}
  .dark .wrap{flex-direction:column;gap:64px}
  .dark .copy,.acc{flex:none;width:100%}
  .dark .copy{gap:24px}
  .dark h2{font-size:clamp(32px,6.77vw,52px)}
  .dark .copy p,.acc-body p{font-size:20px}
  .steps{padding:120px 0 112px}
  .step-grid{grid-template-columns:1fr}
  .card{padding:32px;gap:32px}
  .card .ill{width:250px}
  .card h3{font-size:24px}
  .card p{font-size:20px}
  .brain{padding:120px 0 88px}
  .brain .intro{display:flex;flex-direction:column;gap:24px;padding:64px 0 0}
  .brain .intro p{margin-top:0}
  .about .lead{font-size:20px}
  .partners{grid-template-columns:1fr}
  .partners .cell{border-left:0;border-bottom:1px solid #eee}
  .partners .cell:last-child{border-bottom:0}
  .logos{grid-template-columns:repeat(4,1fr)}
  .logos .cell:nth-child(8n){border-right:1px solid #eee}
  .logos .cell:nth-child(4n){border-right:0}
  .contact-row{grid-template-columns:1fr}
  .faq{padding:120px 0 118px}
  .faq .more{margin-top:57px}
}
/* 태블릿 중 좁은 폭(521~767) — 카드가 한 줄로 안 들어가 그림을 위로(모바일과 같은 배치) */
@media (min-width:521px) and (max-width:767px){
  .card{flex-direction:column;align-items:center}
  .card .txt{width:100%;padding:0}
}

/* ── 모바일 ≤520 — 피그마 'max 520px'(#1218:7269, 390 프레임): 콘텐츠 = 폭 − 48 ── */
@media (max-width:520px){
  .h-section{font-size:clamp(26px,8.2vw,32px)}
  .about .h-section,.contact .h-section,.faq .h-section{letter-spacing:-0.04em}
  /* 히어로: 390 에서 제목 32 · 스크린샷 452(좌우가 잘린다) · 아래 53 */
  .hero-title{margin-top:20px;font-size:clamp(26px,8.2vw,32px)}
  .hero-shot{width:115.9%;max-width:none;height:auto}
  .intro.wrap{display:flex;flex-direction:column;gap:16px;padding:24px 0}
  .intro h2{font-size:24px}
  .intro p{font-size:16px;margin-top:0}
  /* 모바일은 데모 창 대신 데모 화면 캡처(prototype-demo.jpg, 8:5) — 틀이 콘텐츠보다 좌우 11 씩 넓다 */
  .proto{padding:60px 0}
  .proto-figure{width:calc(100% + 22px);margin:40px -11px 0;aspect-ratio:8/5}
  .proto-figure iframe,.proto-loading{display:none}
  .proto-img{display:block;width:100%;height:100%;object-fit:fill}
  .proto-figure .note{left:43.4%;top:-23px}
  .dark{padding:60px 0}
  .dark .wrap{flex-direction:column;gap:32px}
  .dark .copy,.acc{flex:none;width:100%}
  .dark .copy{gap:24px}
  .dark h2{font-size:clamp(26px,8.2vw,32px)}
  .dark .copy p{font-size:16px}
  .acc-item,.acc-item:first-child{border-bottom:0;border-top:1px solid #767676}
  .acc-head{padding:12px 16px}
  .acc-head .no,.acc-head .ttl{font-size:18px}
  .acc-body>.acc-in{padding:0 16px}
  .acc-item.open .acc-body>.acc-in{padding:0 16px 16px}
  .acc-item.open .acc-body{border-bottom:1px solid #4a4a4a}
  .acc-body p{font-size:16px}
  .acc-body .shot{width:calc(100% + 32px);margin:0 -16px;aspect-ratio:342/201}
  .acc-body .shot img{width:102.3%;max-width:none;margin-left:-1.2%}
  .steps{padding:60px 0}
  .step-grid{grid-template-columns:1fr;margin-top:32px}
  .card{flex-direction:column;align-items:center;padding:16px;gap:32px}
  .card .ill{width:100%;max-width:100%}
  .card .txt{width:100%;padding:0;gap:12px;justify-content:flex-start}
  .card .step{font-size:14px}
  .card h3{font-size:20px}
  .card p{font-size:16px}
  .brain{padding:60px 0}
  .brain .figure{width:calc(100% + 8px);max-width:none;margin-left:-4px;aspect-ratio:350/198}
  .brain .intro{display:flex;flex-direction:column;padding:32px 0 0;gap:16px}
  .brain .intro h2{font-size:24px}
  .brain .intro p{font-size:16px;margin-top:0}
  .about{padding:84px 0 0}
  .about .lead{margin-top:32px;font-size:16px}
  .about .lines{margin-top:32px}
  .partners{grid-template-columns:1fr}
  .partners .cell{border-left:0;border-bottom:1px solid #eee}
  .partners .cell:last-child{border-bottom:0}
  .partners img{height:auto!important;max-height:78px}
  .logos{grid-template-columns:repeat(2,1fr)}
  .logos .cell:nth-child(8n){border-right:1px solid #eee}
  .logos .cell:nth-child(2n){border-right:0}
  .contact{padding:60px 0}
  .contact-row{grid-template-columns:1fr;margin-top:32px}
  .contact-card{padding:24px}
  .contact-card .label{font-size:14px}
  .contact-card p{max-width:290px;font-size:16px}
  .contact-photo img{object-position:50% 50%}
  .faq{padding:60px 0}
  .faq-list{margin-top:32px}
  .faq-item{padding:12px 0}
  .faq-q{font-size:18px}
  .faq-item.open .faq-q{padding:12px 8px}
  .faq-a{padding:16px 12px;font-size:16px}
  .faq .more{margin-top:32px}
}
