@import url('./fonts.css');

/* ════════════════════════════════════════════════════════════════
   pick2clip 랜딩 — "편집실"
   어두운 작업실 안에서 9:16 프레임만 밝다. 색은 플랫폼이 가져간다.
   그래서 페이지 자신은 무채색이고, 유일한 유채색 동작은 신청 버튼이다.
   이 파일은 혼자 선다. 앱·관리자 화면의 styles.css 와 섞이지 않는다.
   ════════════════════════════════════════════════════════════════ */

:root {
  --stage: #15161b;   /* 작업실 바닥 */
  --riser: #1d1f27;   /* 올라온 판 */
  --edge: #2b2e38;    /* 머리카락 선 */
  --ink: #f3f4f7;
  --soft: #b4b9c4;
  --dim: #a6abb6;   /* 가장 흐린 글자. 어두운 바닥에서 4.5:1 을 넘기는 하한이다 */
  --act: #7c73ff;     /* 유일한 동작 색. 브랜드 남색의 어두운 바탕용 */
  --frame: #ffffff;

  --sans: 'Pretendard Variable', 'Geist', system-ui, sans-serif;
  --latin: 'Geist', 'Pretendard Variable', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
  --wrap: 1200px;
}

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

/* hidden 은 UA 스타일이라 .btn 의 display 에 밀린다. 숨기라면 숨어야 한다. */
[hidden] {
  display: none !important;
}


html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--stage);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.16;
  letter-spacing: -0.045em;
  font-weight: 800;
}
p {
  margin: 0;
}
a {
  color: inherit;
}
img,
svg {
  display: block;
  max-width: 100%;
}
.num {
  font-family: var(--latin);
  font-variant-numeric: tabular-nums;
}

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}
@media (min-width: 720px) {
  .wrap {
    width: min(100% - 72px, var(--wrap));
  }
}

:where(a, button, input, [tabindex]):focus-visible {
  outline: 2px solid var(--act);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── 버튼 ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding-inline: 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.14s ease, border-color 0.14s ease;
}
.btn--go {
  background: var(--act);
  color: #0e0f14;
}
.btn--go:hover {
  background: #948cff;
}
.btn--line {
  border-color: var(--edge);
  background: transparent;
  color: var(--ink);
}
.btn--line:hover {
  border-color: #42465a;
}
.btn--sm {
  height: 38px;
  padding-inline: 15px;
  font-size: 15px;
}
.btn--lg {
  height: 54px;
  padding-inline: 30px;
  font-size: 17.5px;
}
.textbtn {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--soft);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  cursor: pointer;
}
.textbtn:hover {
  color: var(--ink);
}

/* ─── 띠 · 머리 ─────────────────────────────────────────────────── */
.band {
  background: var(--act);
  color: #0e0f14;
}
.band__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  padding-block: 10px;
  font-size: 15px;
  font-weight: 700;
}
.band__meta {
  font-weight: 600;
  opacity: 0.78;
}
.band__go {
  margin-left: auto;
  font-weight: 800;
  text-underline-offset: 3px;
}

.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--stage) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--edge);
}
.top__in {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 62px;
}
.brand {
  font-family: var(--latin);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-decoration: none;
}
.brand b {
  color: var(--act);
}
.top .brand {
  margin-right: auto;
}
.top__link {
  display: none;
  color: var(--soft);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  padding-inline: 8px;
  white-space: nowrap;
}
.top__link:hover {
  color: var(--ink);
}
/* 좁은 화면에서는 로그인만 남긴다. 구역 링크까지 넣으면 줄이 터진다. */
.top__link--always {
  display: inline;
}
@media (min-width: 720px) {
  .top__link {
    display: inline;
  }
}

/* ─── 히어로 ────────────────────────────────────────────────────── */
.hero__in {
  display: grid;
  gap: 48px;
  padding-block: 56px 68px;
}
@media (min-width: 980px) {
  .hero__in {
    grid-template-columns: 1fr minmax(380px, 460px);
    gap: 56px;
    align-items: center;
    padding-block: 72px 84px;
  }
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px 6px 9px;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: var(--riser);
  font-size: 15px;
  font-weight: 600;
  color: var(--soft);
}
.kicker b {
  color: var(--ink);
  font-family: var(--latin);
}
.kicker::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--act);
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(36px, 7.2vw, 66px);
}
.hero__lede {
  margin-top: 20px;
  max-width: 27ch;
  font-size: clamp(16px, 2.1vw, 18.5px);
  color: var(--soft);
  line-height: 1.68;
}
.hero__cta {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__fine {
  margin-top: 16px;
  font-size: 15px;
  color: var(--dim);
}

/* ─── 내보내기 패널 (히어로 오른쪽) ─────────────────────────────── */
.export {
  border: 1px solid var(--edge);
  border-radius: 18px;
  background: var(--riser);
  overflow: hidden;
}

/* 9:16 무대 */
.stage {
  position: relative;
  padding: 22px 22px 18px;
  background: radial-gradient(120% 90% at 50% 0%, #262935 0%, #1a1c23 60%, #16181e 100%);
}
.phone {
  position: relative;
  width: min(212px, 58%);
  margin-inline: auto;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  background: var(--frame);
  overflow: hidden;
  box-shadow: 0 24px 50px -18px rgb(0 0 0 / 0.75);
}

/* 제품 사진 자리 — 그린 것이다. 남의 상품 사진을 쓰지 않는다. */
.shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: kb 16s ease-in-out infinite alternate;
  transform-origin: 56% 46%;
}
@keyframes kb {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.18);
  }
}
@media (prefers-reduced-motion: reduce) {
  .shot {
    animation: none;
  }
}
.tag {
  position: absolute;
  left: 9%;
  top: 9%;
  padding: 4px 9px;
  border-radius: 6px;
  background: #16181e;
  color: #fff;
  font-family: var(--latin);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.cap {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  display: grid;
  gap: 5px;
  color: #16181e;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
  transition: bottom 0.34s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.cap em {
  font-style: normal;
  color: #c2410c;
}

/* 안전영역 — 플랫폼 UI 가 덮는 자리 */
.safe {
  position: absolute;
  border: 1.5px dashed rgb(124 115 255 / 0.85);
  border-radius: 6px;
  transition: inset 0.34s cubic-bezier(0.22, 0.8, 0.3, 1);
  pointer-events: none;
}
/* 잘려 나가는 띠 — 네이버 클립은 9:16 을 2:3 으로 잘라 보여준다 */
.crop {
  position: absolute;
  left: 0;
  right: 0;
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(
    -45deg,
    rgb(20 22 28 / 0.56) 0 5px,
    rgb(20 22 28 / 0.4) 5px 10px
  );
  pointer-events: none;
  transition: height 0.34s cubic-bezier(0.22, 0.8, 0.3, 1);
}
/* 줄무늬 위에 글자를 얹으면 대비가 안 나온다. 작은 알약을 깔고 그 위에 쓴다. */
.crop span {
  padding: 1px 6px 2px;
  border-radius: 999px;
  background: #0e0f14;
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.crop--t {
  top: 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.5);
}
.crop--b {
  bottom: 0;
  border-top: 1px solid rgb(255 255 255 / 0.5);
}

/* 앱 UI 유령 — 오른쪽 세로 버튼 줄과 아래 글자 덩어리 */
.ghost {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ghost__rail {
  position: absolute;
  right: 5%;
  display: grid;
  gap: 9px;
  justify-items: center;
  transition: bottom 0.34s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.ghost__rail i {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: rgb(22 24 30 / 0.3);
}
.ghost__bar {
  position: absolute;
  left: 6%;
  right: 24%;
  display: grid;
  gap: 5px;
  transition: bottom 0.34s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.ghost__bar i {
  height: 6px;
  border-radius: 3px;
  background: rgb(22 24 30 / 0.26);
}
.ghost__bar i:nth-child(2) {
  width: 62%;
}

/* ─── 플랫폼 탭 ─────────────────────────────────────────────────── */
.tabs {
  display: flex;
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
  background: #191b22;
}
.tab {
  flex: 1;
  position: relative;
  border: 0;
  background: none;
  padding: 13px 4px 12px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--soft);
  cursor: pointer;
}
.tab + .tab {
  border-left: 1px solid var(--edge);
}
.tab::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--chip, var(--act));
  opacity: 0;
  transition: opacity 0.14s ease;
}
.tab[aria-selected='true'] {
  color: var(--ink);
  background: var(--riser);
}
.tab[aria-selected='true']::after {
  opacity: 1;
}

.specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.spec {
  padding: 14px 10px 15px;
  text-align: center;
}
.spec + .spec {
  border-left: 1px solid var(--edge);
}
.spec dt {
  font-size: 13.5px;
  color: var(--dim);
  letter-spacing: -0.02em;
}
.spec dd {
  margin: 5px 0 0;
  font-family: var(--latin);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.outfile {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px 14px;
  border-top: 1px solid var(--edge);
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--soft);
  overflow: hidden;
}
.outfile svg {
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--chip, var(--act));
}
.outfile span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ─── 구역 공통 ─────────────────────────────────────────────────── */
.sec {
  padding-block: 72px;
  border-top: 1px solid var(--edge);
}
@media (min-width: 900px) {
  .sec {
    padding-block: 96px;
  }
}
.sec h2 {
  font-size: clamp(26px, 4.4vw, 40px);
}
.sec__lede {
  margin-top: 14px;
  max-width: 46ch;
  color: var(--soft);
  font-size: clamp(15px, 2vw, 17px);
}

/* ─── 플랫폼 네 칸 ──────────────────────────────────────────────── */
.plats {
  margin-top: 40px;
  display: grid;
  gap: 1px;
  background: var(--edge);
  border: 1px solid var(--edge);
  border-radius: 14px;
  overflow: hidden;
}
@media (min-width: 680px) {
  .plats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1040px) {
  .plats {
    grid-template-columns: repeat(4, 1fr);
  }
}
.plat {
  position: relative;
  padding: 24px 20px 22px;
  background: var(--riser);
}
.plat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 3px;
  background: var(--chip);
}
.plat h3 {
  font-size: 17.5px;
}
.plat dl {
  margin: 16px 0 0;
  display: grid;
  gap: 9px;
}
.plat div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  font-size: 15px;
}
.plat dt {
  color: var(--dim);
}
.plat dd {
  margin: 0;
  font-family: var(--latin);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.plat p {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--edge);
  font-size: 15px;
  line-height: 1.62;
  color: var(--soft);
}
.plats__note {
  margin-top: 18px;
  font-size: 15px;
  color: var(--dim);
}

/* ─── 흐름 ──────────────────────────────────────────────────────── */
.flow {
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 30px;
}
@media (min-width: 860px) {
  .flow {
    grid-template-columns: repeat(4, 1fr);
    gap: 0 28px;
  }
}
.flow li {
  position: relative;
  padding-left: 48px;
}
@media (min-width: 860px) {
  .flow li {
    padding-left: 0;
    padding-top: 46px;
  }
}
.flow b {
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--act);
  color: #0e0f14;
  font-family: var(--latin);
  font-size: 16px;
  font-weight: 800;
}
.flow li::before {
  content: '';
  position: absolute;
  background: var(--edge);
}
@media (max-width: 859px) {
  .flow li::before {
    left: 15px;
    top: 40px;
    width: 2px;
    bottom: -32px;
  }
}
@media (min-width: 860px) {
  .flow li::before {
    left: 40px;
    right: -28px;
    top: 15px;
    height: 2px;
  }
}
.flow li:last-child::before {
  display: none;
}
.flow h3 {
  padding-top: 5px;
  font-size: 17.5px;
}
@media (min-width: 860px) {
  .flow h3 {
    padding-top: 0;
  }
}
.flow p {
  margin-top: 9px;
  font-size: 16px;
  line-height: 1.68;
  color: var(--soft);
  max-width: 32ch;
}
kbd {
  font-family: var(--mono);
  font-size: 13.5px;
  padding: 1px 5px;
  border: 1px solid var(--edge);
  border-bottom-width: 2px;
  border-radius: 4px;
  background: #22242c;
  white-space: nowrap;
}

/* ─── 측정 숫자 ─────────────────────────────────────────────────── */
.stats {
  margin-top: 40px;
  display: grid;
  gap: 30px 24px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 860px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stats b {
  display: block;
  font-family: var(--latin);
  font-size: clamp(34px, 5.4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
.stats b i {
  font-style: normal;
  font-size: 0.42em;
  color: var(--soft);
  margin-left: 2px;
}
.stats span {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--soft);
}

/* ─── 두 칸 설명 ────────────────────────────────────────────────── */
.gets {
  margin-top: 40px;
  display: grid;
  gap: 30px 44px;
}
@media (min-width: 760px) {
  .gets {
    grid-template-columns: 1fr 1fr;
  }
}
.gets > div {
  padding-top: 18px;
  border-top: 1px solid var(--edge);
}
.gets h3 {
  font-size: 17.5px;
}
.gets p {
  margin-top: 9px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--soft);
}

/* ─── 마무리 ────────────────────────────────────────────────────── */
.close {
  border-top: 1px solid var(--edge);
  background: linear-gradient(180deg, #1a1c23 0%, #15161b 100%);
}
.close__in {
  padding-block: 72px 80px;
  display: grid;
  gap: 34px;
}
@media (min-width: 900px) {
  .close__in {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 56px;
  }
}
.close h2 {
  font-size: clamp(28px, 5vw, 44px);
}
.close h2 .num {
  letter-spacing: -0.05em;
}
.close p {
  margin-top: 16px;
  max-width: 48ch;
  color: var(--soft);
  font-size: 16px;
  line-height: 1.7;
}
.close__fine {
  font-size: 15px !important;
  color: var(--dim) !important;
}
.close__act {
  display: grid;
  gap: 14px;
  justify-items: start;
}
@media (min-width: 900px) {
  .close__act {
    justify-items: end;
  }
}
.close__act nav {
  display: flex;
  gap: 16px;
  font-size: 15px;
}

/* ─── 바닥 · 고정바 ─────────────────────────────────────────────── */
.foot {
  border-top: 1px solid var(--edge);
}
.foot__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding-block: 26px 90px;
  font-size: 15px;
}
@media (min-width: 720px) {
  .foot__in {
    padding-block: 28px;
  }
}
.foot .brand {
  margin-right: auto;
  font-size: 17.5px;
}

.dock {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 18px;
  border: 1px solid var(--edge);
  border-radius: 14px;
  background: color-mix(in srgb, var(--riser) 94%, transparent);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 36px -14px rgb(0 0 0 / 0.7);
  transform: translateY(140%);
  transition: transform 0.26s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.dock--on {
  transform: none;
}
.dock span {
  font-size: 15px;
  font-weight: 700;
}
.dock span b {
  font-family: var(--latin);
}
.dock .btn {
  margin-left: auto;
}
@media (min-width: 720px) {
  .dock {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dock {
    transition: none;
  }
}

/* ─── 문의 버튼 ─────────────────────────────────────────────────── */
[data-openchat] {
  cursor: pointer;
}

/* ─── 약관 모달 ─────────────────────────────────────────────────── */
dialog {
  width: min(100% - 32px, 640px);
  max-height: 82vh;
  padding: 0;
  border: 1px solid var(--edge);
  border-radius: 16px;
  background: var(--riser);
  color: var(--ink);
  overflow: hidden;
}
dialog::backdrop {
  background: rgb(8 9 12 / 0.74);
}
.dlg__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--edge);
}
.dlg__bar h3 {
  font-size: 17.5px;
}
.dlg__body {
  padding: 18px 20px 26px;
  overflow-y: auto;
  max-height: calc(82vh - 62px);
}
.dlg__body h4 {
  margin: 22px 0 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.dlg__body h4:first-child {
  margin-top: 0;
}
.dlg__body p {
  margin-top: 7px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--soft);
}
