/* 피니시프트 서브페이지 공용 스타일
   index.html 의 :root 토큰·다크 네이비 톤·Pretendard 폰트를 그대로 복제한다.
   index.html 자체는 수정하지 않는다 (다른 에이전트 동시 작업). */

:root {
  color-scheme: dark;
  --navy-950:#0A0E16; --navy-900:#0E141F; --navy-800:#141B29; --navy-700:#1C2536;
  --navy-600:#2A3548; --navy-100:#E2E6EC;
  --ink:#F3F5F8;
  --mute:#A7B0BE;
  --accent:#5B8DEF;
  --accent-ink:#0A0E16;
  --line:rgba(226,230,236,.12);
  --shadow-1: 0 10px 30px -12px rgba(6,10,22,.55);
  --shadow-2: 0 20px 50px -18px rgba(10,16,32,.6);
  --container: 1180px;
  --section-pad: clamp(56px, 8vw, 100px);
}
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--navy-950);
  color: var(--ink);
  font-family: 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  font-feature-settings: 'tnum' 1;
  word-break: keep-all;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; text-wrap: balance; }
h2 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.32; text-wrap: balance; }
h3 { font-weight: 700; letter-spacing: -0.01em; line-height: 1.4; text-wrap: balance; }
p, li { text-wrap: pretty; }
p { color: var(--mute); }
.prose { max-width: 65ch; }

section[id] { scroll-margin-top: 88px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-1); }
.btn-primary:hover { background: #4c7fe0; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- NAV ---------- */
header.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(10,14,22,.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background-color .2s ease, border-color .2s ease;
}
header.site-nav.scrolled {
  background: rgba(10,14,22,.96);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.logo { display: flex; align-items: center; }
.logo img { display: block; height: 16px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-menu a { font-size: 15px; color: var(--mute); transition: color .15s ease; padding: 12px 0; }
.nav-menu a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-cta .btn { height: 40px; padding: 0 18px; font-size: 14px; }
.hamburger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  align-items: center; justify-content: center;
  cursor: pointer;
}
.hamburger .bars { position: relative; width: 18px; height: 12px; }
.hamburger .bars span { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.hamburger .bars span:nth-child(1) { top: 0; }
.hamburger .bars span:nth-child(2) { top: 5px; }
.hamburger .bars span:nth-child(3) { top: 10px; }
header.site-nav[data-open="true"] .hamburger .bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
header.site-nav[data-open="true"] .hamburger .bars span:nth-child(2) { opacity: 0; }
header.site-nav[data-open="true"] .hamburger .bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  height: calc(100dvh - 64px);
  background: var(--navy-950);
  border-bottom: 1px solid var(--line);
  padding: 12px 24px 28px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.mobile-menu a { padding: 14px 4px; font-size: 16px; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 16px; width: 100%; }

@media (max-width: 900px) {
  .nav-menu { display: none; }
  .nav-cta .btn-primary.desktop-only { display: none; }
  .hamburger { display: inline-flex; }
  header.site-nav[data-open="true"] .mobile-menu { display: flex; }
}

main { padding-top: 64px; }
section { padding: var(--section-pad) 0; position: relative; }

/* ---------- BREADCRUMB ---------- */
.breadcrumb-section { padding-top: clamp(28px, 4vw, 40px); padding-bottom: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; color: var(--mute); }
.breadcrumb a { color: var(--mute); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { color: var(--line); }
.breadcrumb .current { color: var(--ink); }

/* ---------- PAGE HERO (서브페이지 h1 블록) ---------- */
.svc-hero { padding-top: clamp(20px, 3vw, 28px); padding-bottom: clamp(40px, 6vw, 64px); }
.svc-hero .kicker { display: block; margin-bottom: 14px; }
.svc-hero h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.5px; max-width: 20ch; }
.svc-hero .lede { margin-top: 18px; font-size: 18px; max-width: 56ch; }
.svc-hero-cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

/* ---------- PERSONA (이런 일을 하던 분) ---------- */
.persona { background: var(--navy-900); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.persona h2 { font-size: clamp(24px, 3vw, 32px); max-width: 640px; }
.persona-list { margin-top: 32px; display: grid; gap: 16px; max-width: 760px; }
.persona-item { background: var(--navy-800); border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; }
.persona-item .role { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.persona-item p { color: var(--ink); font-size: 17px; font-weight: 500; margin: 0; }
.persona-item.is-close p { color: var(--mute); font-size: 15.5px; font-weight: 400; }

/* ---------- DOES / DOES NOT ---------- */
.svc-block h2 { font-size: clamp(24px, 3vw, 32px); max-width: 640px; }
.svc-block .block-desc { margin-top: 16px; font-size: 17px; max-width: 60ch; }
.task-list { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; border-left: 1px solid var(--line); padding-left: 18px; max-width: 60ch; }
.task-list li { font-size: 15px; color: var(--ink); }

.avoid { background: var(--navy-900); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.avoid-box { margin-top: 20px; background: var(--navy-800); border: 1px solid var(--line); border-radius: 12px; padding: 26px 28px; max-width: 60ch; }
.avoid-box h2 { font-size: clamp(20px, 2.6vw, 26px); }
.avoid-box p { margin-top: 12px; font-size: 15.5px; }

/* ---------- PROCESS 요약 ---------- */
.process-mini { }
.process-mini h2 { font-size: clamp(24px, 3vw, 32px); max-width: 640px; }
.process-mini p { margin-top: 14px; font-size: 16px; max-width: 60ch; }
.process-mini .back-link { display: inline-block; margin-top: 22px; font-size: 14.5px; color: var(--mute); text-decoration: underline; text-underline-offset: 3px; }
.process-mini .back-link:hover { color: var(--ink); }

/* ---------- FAQ (index 와 동일 클래스) ---------- */
.faq { background: var(--navy-900); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq-head h2 { font-size: clamp(24px, 3vw, 32px); max-width: 640px; }
.faq-list { margin-top: 32px; max-width: 820px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: none; }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .q-mark { color: var(--accent); font-weight: 700; flex: none; }
.faq-list summary .chev { margin-left: auto; flex: none; transition: transform .2s ease; color: var(--mute); }
.faq-list details[open] summary .chev { transform: rotate(180deg); }
.faq-list .faq-a { padding: 0 24px 24px 56px; font-size: 15.5px; }

/* ---------- CTA (미니) ---------- */
.cta-mini h2 { font-size: clamp(24px, 3vw, 32px); }
.cta-mini .sub { margin-top: 14px; font-size: 16px; max-width: 56ch; }
.cta-mini-actions { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }

/* ---------- FOOTER ---------- */
footer.site-footer { padding: 48px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.footer-inner .footer-brand { font-size: 15px; font-weight: 700; }
.footer-inner .footer-meta { font-size: 13.5px; color: var(--mute); display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }

@media (max-width: 480px) {
  .container { padding: 0 20px; }
}
