/* 스튜디오 휀 랜딩 (2026-11-24 초안)
   요청서 '색상 톤 = 검정 계열의 깔끔하고 어두운 톤' → 먹색 배경 + 브랜드 파랑 포인트 하나만 쓴다.
   모바일 전용 한 장(최대 480px). 색을 여러 개 섞지 않고 글자 굵기·여백으로 단을 나눈다. */

:root {
  --bg: #0a0b0d;
  --bg-soft: #101216;
  --card: #15181d;
  --card-2: #1b1f25;
  --line: #262b33;
  --text: #f2f4f7;
  --muted: #98a0ab;
  --point: #2f6bff;
  --point-weak: rgba(47, 107, 255, 0.14);
  --radius: 14px;
  --bar: 76px; /* 하단 고정 바 높이 */
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0 auto;
  max-width: 480px;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom));
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
b, strong { font-weight: 700; }
em { font-style: normal; color: var(--point); }

.container { padding: 0 20px; }

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(10, 11, 13, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.logo { display: flex; align-items: center; gap: 8px; }
.logo img { width: 22px; height: 22px; }
.logo-text { font-size: 15px; letter-spacing: 0.08em; color: #cfd4db; }
.logo-text b { color: #fff; font-weight: 800; }
.header-cta {
  font-size: 14px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: #dfe3e9;
}

/* ---------- 첫 화면 ---------- */
.hero {
  position: relative;
  padding: 26px 0 28px;
  background:
    linear-gradient(180deg, rgba(10, 11, 13, 0.35) 0%, rgba(10, 11, 13, 0.88) 62%, var(--bg) 100%),
    url("/img/hero-bg.webp") no-repeat top center / 100% auto;
}
.hero-eyebrow { margin: 0 0 10px; font-size: 13px; color: #b9c0ca; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero-eyebrow i { width: 3px; height: 3px; border-radius: 50%; background: #5a626d; display: inline-block; }
.hero h1 { margin: 0 0 12px; font-size: 32px; line-height: 1.28; font-weight: 800; letter-spacing: -0.03em; }
.hero-sub { margin: 0 0 18px; font-size: 14.5px; color: #c3c9d1; }
.hero-sub b { color: #fff; }

.hero-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; list-style: none; margin: 0 0 20px; padding: 0; }
.hero-points li {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 8px;
  font-size: 12px;
  line-height: 1.4;
  color: #b7bec8;
  text-align: center;
}
.hero-points b { display: block; color: #fff; font-size: 14px; }

/* ---------- 상담폼 ---------- */
.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 16px 16px;
}
.form-title { margin: 0 0 6px; font-size: 19px; font-weight: 800; line-height: 1.35; }
.form-desc { margin: 0 0 16px; font-size: 13.5px; color: var(--muted); }

.field { margin-bottom: 12px; }
.field label, .field legend { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: #c6ccd4; }
.field input, .field select {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-size: 16px; /* 16px 미만이면 iOS 가 화면을 확대한다 */
  font-family: inherit;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%2398a0ab' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 38px;
}
.field input::placeholder { color: #6b727c; }
.field input:focus, .field select:focus { outline: none; border-color: var(--point); box-shadow: 0 0 0 3px var(--point-weak); }
.field.is-error input, .field.is-error select { border-color: #ff6b6b; }

.consent { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 14px 0 12px; }
.consent-check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #c6ccd4; cursor: pointer; }
.consent-check input { width: 18px; height: 18px; accent-color: var(--point); }
.consent-check.is-error span { color: #ff8b8b; }
.consent-more { background: none; border: 0; padding: 0; font-size: 12.5px; color: var(--muted); text-decoration: underline; font-family: inherit; cursor: pointer; }

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
}
.btn-point { background: var(--point); color: #fff; }
.btn-point:disabled { opacity: 0.6; }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--point);
  color: #9dbaff;
  min-height: 50px;
  font-size: 15px;
}

.form-note { margin: 10px 0 0; font-size: 12px; color: var(--muted); text-align: center; }
.form-warn { margin: 6px 0 0; font-size: 11px; line-height: 1.5; color: #717884; }
.form-msg { margin: 10px 0 0; font-size: 13px; color: #ff8b8b; text-align: center; min-height: 1px; }
.form-msg:empty { margin: 0; }

.form-done { text-align: center; padding: 18px 4px; }
.form-done:focus { outline: none; }
.done-ico { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 50%; background: var(--point-weak); color: var(--point); margin-bottom: 10px; }
.done-ico svg { width: 26px; height: 26px; }
.done-title { margin: 0 0 6px; font-size: 18px; font-weight: 800; }
.done-desc { margin: 0; font-size: 13.5px; color: var(--muted); }

/* 폼 도착 강조 */
@keyframes formFlash { 0% { box-shadow: 0 0 0 0 var(--point-weak); } 50% { box-shadow: 0 0 0 8px var(--point-weak); } 100% { box-shadow: 0 0 0 0 rgba(47, 107, 255, 0); } }
.lead-form.is-flash { animation: formFlash 0.9s ease-out; border-radius: 12px; }

/* ---------- 공통 섹션 ---------- */
.section { padding: 34px 0; border-top: 1px solid var(--line); }
.sec-title { margin: 0 0 18px; font-size: 23px; font-weight: 800; line-height: 1.34; letter-spacing: -0.03em; }
.sec-note { margin: 12px 0 0; font-size: 11.5px; color: #6f7681; }

.reveal { opacity: 0; transform: translateY(10px); transition: opacity 0.45s ease, transform 0.45s ease; transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- 자가진단 체크리스트 ---------- */
.check-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  color: #cdd3db;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
}
.check-item i {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid #3a414b;
  position: relative;
}
.check-item.is-on { border-color: var(--point); background: var(--point-weak); color: #fff; }
.check-item.is-on i { background: var(--point); border-color: var(--point); }
.check-item.is-on i::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.check-sum { margin: 0 0 12px; font-size: 13.5px; color: #9dbaff; }

/* ---------- 강점 ---------- */
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.why-list li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.why-list b { display: block; font-size: 16.5px; margin-bottom: 6px; }
.why-list p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ---------- 제작 범위 ---------- */
.scope-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.scope-list li {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 10px;
  font-size: 13.5px;
  color: #cdd3db;
  text-align: center;
}

/* ---------- 작업 사례 ---------- */
.work-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.work-list li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; padding-bottom: 10px; }
.work-list img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.work-tag { display: inline-block; margin: 9px 10px 4px; font-size: 11px; color: #9dbaff; background: var(--point-weak); border-radius: 999px; padding: 2px 8px; }
.work-list b { display: block; padding: 0 10px; font-size: 13px; line-height: 1.35; font-weight: 600; }

/* ---------- 진행 순서 ---------- */
.process-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: step; }
.process-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
}
.process-list span { grid-row: 1 / 3; font-size: 15px; font-weight: 800; color: var(--point); padding-top: 1px; }
.process-list b { font-size: 15px; }
.process-list p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }

/* ---------- 장비·인증 ---------- */
.gear-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.gear-list li { border-left: 2px solid var(--point); padding: 4px 0 4px 12px; }
.gear-list b { font-size: 14.5px; }
.gear-list p { margin: 1px 0 0; font-size: 12.5px; color: var(--muted); }
.cert-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cert-list li { font-size: 12px; color: #c0c6ce; border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 8px; }
.faq-list details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; }
.faq-list summary { list-style: none; cursor: pointer; padding: 14px 24px 14px 0; font-size: 14.5px; font-weight: 600; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 20px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: rotate(-135deg); top: 23px; }
.faq-list p { margin: 0 0 14px; font-size: 13.5px; color: var(--muted); }

/* ---------- 마지막 폼 ---------- */
.sec-final { border-top: 1px solid var(--line); background: var(--bg-soft); }

/* ---------- 푸터 ---------- */
.site-footer { padding: 22px 0 26px; border-top: 1px solid var(--line); color: #6f7681; font-size: 11.5px; line-height: 1.7; }
.site-footer p { margin: 0; }
.foot-name { color: #aeb5bf; font-weight: 700; font-size: 13px; margin-bottom: 4px; }
.site-footer i { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: #4a515b; margin: 0 6px 3px; }
.foot-copy { margin-top: 10px; }

/* ---------- 하단 고정 바 ---------- */
.sticky-bar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  z-index: 40;
  width: 100%;
  max-width: 480px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(10, 11, 13, 0.94);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  transition: transform 0.3s ease;
}
.sticky-bar.is-pre { transform: translate(-50%, 110%); }
.sticky-bar.is-hidden { transform: translate(-50%, 110%); }
.sticky-form {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  border-radius: 12px;
  background: var(--point);
  color: #fff;
  font-size: 16.5px;
  font-weight: 800;
}

/* ---------- 모달 ---------- */
.modal { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, 0.7); display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-box { width: 100%; max-width: 420px; max-height: 80vh; overflow-y: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; }
.modal-box h2 { margin: 0 0 14px; font-size: 17px; }
.privacy-list { margin: 0 0 16px; }
.privacy-list div { margin-bottom: 10px; }
.privacy-list dt { font-size: 12.5px; font-weight: 700; color: #c6ccd4; }
.privacy-list dd { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
