/*
 * 바깥 페이지 모양(첫 페이지, 약관, 개인정보, 문의, 도움말). 2026-11-17 랜딩 개편(디자인/랜딩개편_기획과구현계획_2026-11-17.md).
 * 업무 화면과 같은 글꼴(Pretendard)과 값 모음(web/src/theme.ts)을 쓴다. 옛 남색과 주황 버튼은 쓰지 않는다.
 * 업무 화면에서 주황은 금액과 주의 표시라, 바깥 페이지의 주 버튼도 업무 화면처럼 파랑이다.
 */
@font-face { font-family: 'Pretendard'; font-weight: 400; font-display: swap; src: url('/fonts/Pretendard-Regular.subset.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 500; font-display: swap; src: url('/fonts/Pretendard-Medium.subset.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 600; font-display: swap; src: url('/fonts/Pretendard-SemiBold.subset.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 700; font-display: swap; src: url('/fonts/Pretendard-Bold.subset.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 800; font-display: swap; src: url('/fonts/Pretendard-ExtraBold.subset.woff2') format('woff2'); }

:root {
  --text: #191F28;
  --sub: #4E5968;
  --faint: #8B95A1;
  --control: #C9CED6;
  --line: #DDE1E6;
  --line-soft: #EEF0F3;
  --soft: #F6F7F9;
  --primary: #2B6BE6;
  --primary-hover: #1F5ACC;
  --primary-press: #1A4DB3;
  --primary-soft: #EAF1FD;
  --primary-line: #BFD3F8;
  --accent: #1D4FB8;
  --ink: #14233F; /* 로고의 남색. 바닥과 큰 띠에만 */
  --warn: #B45309;
  --err: #C62A23;
  --radius: 8px;
  --radius-box: 12px;
  --wrap: 1200px;
}

* { box-sizing: border-box; }
/* 숨긴 것(메일 칸, 오류 글, 업무 화면으로 버튼)은 아래 모양 설정보다 앞서 늘 숨긴다 */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: #FFFFFF; color: var(--text);
  font-family: 'Pretendard', system-ui, -apple-system, 'Malgun Gothic', sans-serif;
  font-size: 18px; line-height: 1.65; word-break: keep-all; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--primary-soft); color: var(--text); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--primary-press); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--primary); outline-offset: 2px;
}
h1 { font-size: 36px; line-height: 1.3; letter-spacing: -0.02em; font-weight: 800; color: var(--text); }
h2 { font-size: 28px; line-height: 1.35; letter-spacing: -0.015em; font-weight: 800; color: var(--text); margin: 48px 0 12px; }
h3 { font-size: 21px; line-height: 1.4; font-weight: 700; }
.muted { color: var(--sub); }

/* 머리: 흰 바탕, 업무 화면의 상단 바와 같은 결 */
.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line-soft); background: rgba(255, 255, 255, 0.96); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; min-height: 68px; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.site-header nav a { text-decoration: none; padding: 8px 12px; border-radius: var(--radius); color: var(--sub); font-size: 17px; font-weight: 600; }
.site-header nav a:hover { color: var(--text); background: var(--soft); }
.site-header nav a.login { color: var(--text); }
.site-header nav a.cta { background: var(--primary); color: #FFFFFF; font-weight: 700; padding: 9px 16px; }
.site-header nav a.cta:hover { background: var(--primary-hover); color: #FFFFFF; }

/* 버튼(업무 화면 부품 03: 높이 52, 모서리 8, 굵게) */
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; margin: 0 10px 10px 0; padding: 0 24px;
  border-radius: var(--radius); border: 1px solid var(--control); color: var(--text); background: #FFFFFF;
  text-decoration: none; font-weight: 700; font-size: 18px; line-height: 1.2; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .1s;
}
.button:hover { border-color: var(--sub); background: var(--soft); color: var(--text); }
.button:active { transform: scale(.98); }
.button.primary { background: var(--primary); border-color: var(--primary); color: #FFFFFF; }
.button.primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: #FFFFFF; }
.button.primary:active { background: var(--primary-press); }
.button.large { min-height: 60px; padding: 0 30px; font-size: 20px; }

/* 표와 펼치기(약관, 요금제, 자주 묻는 질문) */
.table { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; margin: 12px 0 20px; font-size: 17px; font-variant-numeric: tabular-nums; }
th, td { border-bottom: 1px solid var(--line-soft); padding: 12px 14px; text-align: left; vertical-align: top; }
thead th { background: var(--soft); color: var(--sub); font-size: 15px; font-weight: 700; border-bottom: 1px solid var(--line); }
tbody th { font-weight: 600; color: var(--sub); }
details { border: 1px solid var(--line); border-radius: var(--radius-box); padding: 0 20px; margin: 0 0 10px; background: #FFFFFF; transition: border-color .15s; }
details[open] { border-color: var(--primary-line); }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 10px 0; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ''; flex: none; width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234E5968' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 20px no-repeat;
  transition: transform .2s;
}
details[open] > summary::after { transform: rotate(180deg); }
details > :not(summary) { color: var(--sub); }
details > p:last-child, details > ul:last-child, details > ol:last-child { margin-bottom: 18px; }
@media (prefers-reduced-motion: reduce) { summary::after, .button, details { transition: none; } }

/* 글 쪽(약관, 개인정보) */
.doc { max-width: 820px; padding: 32px 0 16px; }
.doc h2 { font-size: 22px; margin-top: 32px; }

/* 문의 */
.box { border: 1px solid var(--line); border-radius: var(--radius-box); padding: 8px 24px 20px; margin: 0 0 20px; max-width: 820px; }
.box h2 { margin-top: 16px; font-size: 22px; }
form label { display: block; margin: 0 0 16px; font-weight: 700; font-size: 15px; color: var(--sub); }
form input, form select, form textarea {
  display: block; width: 100%; min-height: 48px; font-size: 18px; font-weight: 600; color: var(--text); padding: 10px 14px; margin-top: 6px;
  border: 1px solid var(--control); border-radius: var(--radius); background: #FFFFFF; font-family: inherit;
}
form select {
  -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer;
  background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234E5968' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 20px no-repeat;
}
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
form label.check { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 17px; }
form label.check input { width: 22px; height: 22px; min-height: 0; margin: 0; accent-color: var(--primary); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { background: var(--soft); padding: 12px 16px; border-radius: var(--radius); color: var(--sub); font-size: 16px; }
.form-error { color: var(--err); font-weight: 700; }
/* 꼭 넣을 칸의 빨간 별표와 필수 동의의 "(필수)"(2026-11-18 대표님, 업무 화면과 같은 표시) */
.need::after, .need-note .star { content: ' *'; color: var(--err); font-weight: 700; }
.need-note { margin: 0 0 16px; color: var(--sub); font-size: 15px; font-weight: 500; }
.must { color: var(--err); font-weight: 700; }
/* 잘못 넣은 칸: 빨간 두 겹 테두리. 고치기 시작하면 사라진다(site.js) */
form input.bad, form select.bad, form textarea.bad, form input.bad:focus, form select.bad:focus, form textarea.bad:focus { border-color: var(--err); box-shadow: 0 0 0 1px var(--err); }
form label.check.bad { outline: 2px solid var(--err); outline-offset: 6px; border-radius: var(--radius); }
/* 보낸 뒤: 결과 한 줄과 다음에 누를 버튼 둘 */
.form-done { margin: 8px 0 4px; padding: 20px 20px 10px; border: 1px solid var(--primary-line); border-radius: var(--radius-box); background: var(--primary-soft); }
.form-done .done-title { margin: 0 0 16px; color: var(--accent); font-weight: 700; font-size: 21px; }
.done-actions, .next-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 10px; }
.done-actions .button, .next-actions .button { margin: 0; }
.next-actions { margin-top: 24px; }
[hidden] { display: none !important; }
.qr { border: 1px solid var(--line); border-radius: var(--radius); }
main.wrap > h1:first-child { margin-top: 32px; }

/*
 * 도움말(2026-11-21 전면 개편, 디자인/도움말개편_구성안_2026-11-21.md). 칸 이름은 scripts/help-pages.ts와 맞춘다.
 * 읽는 화면이다: 왼쪽 목차 없이 가운데 한 줄기, 본문 글자 18 이상, 글 화면의 줄 길이는 한글 35자 안팎.
 * 펼치는 상자는 쓰지 않는다. 묶음 화면과 첫 화면은 제목과 요약 한 줄이 함께 보인다.
 */
.help-page { max-width: 860px; margin: 0 auto; padding: 28px 0 8px; font-size: 18px; }
.help-page h1 { margin: 0 0 14px; }
.help-lead { margin: 0 0 20px; color: var(--sub); }
/* 길 표시: 도움말 › 서류 양식 › 작업확인서 */
.crumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; margin: 0 0 14px; padding: 0; font-size: 16px; color: var(--sub); }
.crumb li { display: inline-flex; align-items: center; min-height: 36px; }
.crumb li + li::before { content: '›'; margin-right: 6px; color: var(--faint); }
.crumb a { color: var(--sub); font-weight: 600; padding: 6px 0; }
.crumb a:hover { color: var(--primary-press); }
/* 제목과 요약이 함께 보이는 목록 */
.help-list { list-style: none; margin: 0; padding: 0; }
.help-list a { position: relative; display: block; padding: 16px 40px 16px 0; border-bottom: 1px solid var(--line-soft); text-decoration: none; color: var(--text); }
.help-list a::after {
  content: ''; position: absolute; right: 6px; top: 50%; width: 20px; height: 20px; margin-top: -10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B95A1' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.help-list strong { display: block; font-size: 20px; line-height: 1.45; font-weight: 700; }
.help-list span { display: block; margin-top: 2px; color: var(--sub); }
.help-list a:hover strong { color: var(--accent); }
.help-page > h2 { font-size: 24px; margin: 40px 0 0; scroll-margin-top: 88px; }
/*
 * 도움말 첫 화면(2026-11-26 고객센터 모양, one_brain/기능/11_문의하기). 칸 이름은 help-pages.ts의 home()과 맞춘다.
 * 위 회색 띠(큰 제목, 검색 칸, 문의 카드) → 묶음 탭 → 한 줄 목록(왼쪽 묶음, 오른쪽 제목) → 쪽 번호.
 */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hc-top { background: var(--soft); padding: 72px 0 80px; }
.hc-top-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; }
.hc-top h1 { margin: 0 0 28px; font-size: 48px; line-height: 1.25; letter-spacing: -0.03em; font-weight: 800; text-wrap: balance; }
.hc-search { position: relative; max-width: 520px; }
.hc-search input {
  -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 64px; padding: 0 60px 0 56px;
  font: inherit; font-size: 19px; font-weight: 600; color: var(--text);
  border: 1px solid var(--line); border-radius: 14px; background: #FFFFFF;
  box-shadow: 0 1px 2px rgba(20, 35, 63, 0.04); transition: border-color .15s, box-shadow .15s;
}
.hc-search input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.hc-search input::placeholder { color: #6B7684; font-weight: 500; }
.hc-search input:hover { border-color: var(--control); }
.hc-search input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-line); }
.hc-search-ic { position: absolute; left: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px; color: var(--sub); pointer-events: none; }
.hc-clear {
  position: absolute; right: 8px; top: 50%; width: 48px; height: 48px; margin-top: -24px; padding: 12px;
  border: 0; border-radius: 10px; background: none; color: var(--sub); cursor: pointer;
}
.hc-clear svg { display: block; width: 24px; height: 24px; }
.hc-clear:hover { background: var(--soft); color: var(--text); }
/* 문의 카드: 카카오톡(채널 주소가 있을 때만), 문의 남기기 */
.hc-contact { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; }
.hc-card {
  display: grid; grid-template-columns: auto auto; grid-template-areas: "ic ic" "name chev"; justify-content: center; align-content: center; align-items: center;
  row-gap: 18px; column-gap: 2px; width: 216px; height: 184px; padding: 0 12px; border-radius: 22px; background: #FFFFFF;
  color: var(--accent); text-decoration: none; transition: transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .2s cubic-bezier(.2, .8, .2, 1);
}
.hc-card:hover { color: var(--primary-press); transform: translateY(-3px); box-shadow: 0 14px 28px -16px rgba(20, 35, 63, 0.28); }
.hc-card:active { transform: translateY(-1px); }
.hc-ic { grid-area: ic; justify-self: center; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 18px; }
.hc-ic svg { width: 34px; height: 34px; }
.hc-ic.kakao { background: #FEE500; color: #191919; }
.hc-ic.leave { background: var(--primary); color: #FFFFFF; }
.hc-card-name { grid-area: name; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; }
.hc-chev { width: 20px; height: 20px; flex: none; }
.hc-card .hc-chev { grid-area: chev; }
/* 카카오톡 채널 주소가 아직 없을 때: 누를 수 없는 카드에 "준비 중"(2026-11-26 대표님) */
.hc-card.soon { grid-template-columns: auto; grid-template-areas: "ic" "name" "soon"; justify-items: center; row-gap: 10px; color: var(--sub); cursor: default; }
.hc-card.soon:hover { transform: none; box-shadow: none; color: var(--sub); }
.hc-card.soon .hc-ic { margin-bottom: 6px; }
.hc-soon { grid-area: soon; padding: 3px 12px; border-radius: 999px; background: var(--line-soft); color: var(--sub); font-size: 15px; font-weight: 700; line-height: 1.5; }
/* 묶음 탭과 한 줄 목록 */
.hc-body { padding-top: 56px; }
.hc-tabs { border-bottom: 1px solid var(--line); scroll-margin-top: 88px; }
.hc-tabs-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.hc-tabs-in::-webkit-scrollbar { display: none; }
.hc-tabs a {
  flex: none; display: flex; align-items: center; min-height: 56px; padding: 4px 14px 0; margin-bottom: -1px;
  border-bottom: 3px solid transparent; color: var(--sub); font-size: 18px; font-weight: 700; white-space: nowrap; text-decoration: none;
  transition: color .15s, border-color .15s;
}
.hc-tabs a:hover { color: var(--text); }
.hc-tabs a[aria-current] { color: var(--text); border-bottom-color: var(--text); }
.hc-count { margin: 24px 0 0; color: var(--accent); font-weight: 700; }
.hc-list { list-style: none; margin: 0; padding: 0; }
.hc-list a {
  display: grid; grid-template-columns: 11rem minmax(0, 1fr) 20px; gap: 24px; align-items: center; padding: 24px 12px;
  border-bottom: 1px solid var(--line-soft); color: var(--text); text-decoration: none; transition: background-color .15s;
}
.hc-list a:hover { background: var(--soft); }
.hc-list a:hover .hc-title { color: var(--accent); }
.hc-cat { color: var(--sub); font-size: 17px; font-weight: 500; }
.hc-title { font-size: 20px; line-height: 1.45; font-weight: 700; }
.hc-list .hc-chev { color: var(--faint); }
.hc-none { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 24px 0 0; padding: 24px 28px; border-radius: var(--radius-box); background: var(--soft); }
.hc-none p { margin: 0; font-weight: 600; }
.hc-none .button { margin: 0; }
.hc-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 32px 0 0; }
.hc-pages button {
  min-width: 48px; height: 48px; padding: 0 8px; border: 0; border-radius: 10px; background: none; cursor: pointer;
  font: inherit; font-size: 18px; font-weight: 600; color: var(--sub); font-variant-numeric: tabular-nums;
}
.hc-pages button:hover { background: var(--soft); color: var(--text); }
.hc-pages button[aria-current] { background: var(--text); color: #FFFFFF; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .hc-card, .hc-card:hover, .hc-card:active { transition: none; transform: none; } }
.help-ask { margin: 36px 0 0; padding: 18px 22px; border-radius: var(--radius-box); background: var(--soft); color: var(--text); font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.help-ask .button { margin: 0; }
/* 글 화면 */
.help-page.art { max-width: 680px; font-size: 19px; line-height: 1.75; }
.art h1 { font-size: 34px; }
.art-sum { margin: 0 0 24px; font-size: 21px; line-height: 1.6; font-weight: 600; }
.art-dl { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.art-dl .button { margin: 0; }
.art-fig { margin: 0 0 24px; }
.art-fig img { display: block; max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius-box); }
/* 실무와 법 글 맨 위의 세 줄 상자: 언제부터, 누구에게 해당, 무엇을 해야 하나 */
.art-key { margin: 0 0 28px; padding: 4px 20px; border-radius: var(--radius-box); background: var(--soft); }
.art-key div { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 12px; padding: 12px 0; }
.art-key div + div { border-top: 1px solid var(--line); }
.art-key dt { font-weight: 700; color: var(--sub); }
.art-key dd { margin: 0; font-weight: 600; }
.art-body h2 { font-size: 24px; margin: 40px 0 10px; }
.art-body h3 { font-size: 21px; margin: 28px 0 8px; }
.art-body p { margin: 0 0 14px; }
.art-body ul, .art-body ol { margin: 0 0 16px; padding-left: 1.3em; }
.art-body li { margin: 0 0 8px; }
.art-body table { font-size: 17px; }
/* 양식 글에 틀이 붙이는 것: "일손이에서는" 상자와 면책 한 줄(작은 회색 글씨) */
.art-ilsoni { margin: 40px 0 0; padding: 26px 26px 16px; border-radius: 16px; background: var(--primary-soft); }
.art-ilsoni h2 { margin: 0 0 8px; font-size: 24px; }
.art-ilsoni p { margin: 0 0 16px; font-weight: 600; }
.art-ilsoni .button { margin: 0; }
.art-fine { margin: 16px 0 0; font-size: 15px; line-height: 1.6; color: var(--sub); }
.art-updated { margin: 28px 0 0; font-size: 16px; color: var(--sub); }
.art-next { margin: 20px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.art-next h2 { margin: 0; font-size: 20px; }
.art-next .help-list strong { font-size: 19px; }
.art-next .help-list span { font-size: 17px; }
.faq-group { margin: 28px 0 8px; font-size: 19px; color: var(--sub); }

/* 바닥: 로고 남색 */
.site-footer { background: var(--ink); color: #C8D1E0; margin-top: 80px; padding: 36px 0 44px; font-size: 15px; line-height: 1.8; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-bottom: 12px; }
.site-footer a { color: #FFFFFF; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #FFFFFF; }
.site-footer p { margin: 0 0 6px; }

/* ── 첫 페이지(2026-11-17 개편). 칸 이름은 build-pages.ts의 landing()과 맞춘다 ─────────────────────── */
.lp { overflow-x: clip; }
.lp section { scroll-margin-top: 84px; }
.lp-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; padding: 64px 0 72px; }
/* 큰 제목 위 작은 한 줄(검색 키워드 "인력사무소 프로그램", 2026-11-25 대표님 "추천 넷 해") */
.lp-hero .lp-eyebrow { margin: 0 0 14px; font-size: 18px; font-weight: 700; color: var(--primary); letter-spacing: -0.01em; }
.lp-hero h1 { font-size: 54px; line-height: 1.22; letter-spacing: -0.035em; font-weight: 500; margin: 0 0 20px; }
.lp-hero h1 strong { font-weight: 800; color: var(--primary); }
.lp-hero .lead { font-size: 21px; line-height: 1.6; color: var(--sub); margin: 0 0 32px; max-width: 30em; }
.lp-hero .cta-note { margin: 4px 0 0; color: var(--sub); font-size: 16px; }
/* 진짜 업무 화면 그림: 연한 파랑 무대 위에 살짝 떠 있게 */
.lp-shot { position: relative; margin: 0; }
.lp-shot::before { content: ''; position: absolute; inset: 28px -40px -32px 36px; border-radius: 24px; background: var(--primary-soft); z-index: 0; }
.lp-shot img { position: relative; z-index: 1; display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 24px 48px -16px rgba(20, 35, 63, 0.22), 0 4px 12px rgba(20, 35, 63, 0.06); background: #FFFFFF; }
/* 떠 있는 그림자는 첫 화면 그림 하나만. 기능 그림은 테두리와 얕은 그림자로 */
.lp-feature .lp-shot img { box-shadow: 0 2px 8px rgba(20, 35, 63, 0.06); }
.lp-shot.narrow { max-width: 360px; margin: 0 auto; }
.lp-shot picture { display: block; position: relative; z-index: 1; }
.lp-shot figcaption { position: relative; z-index: 1; margin-top: 12px; color: var(--sub); font-size: 15px; }
@media (prefers-reduced-motion: no-preference) {
  .lp-hero .lp-shot img { animation: lpRise .7s cubic-bezier(.16, 1, .3, 1) both .1s; }
  @keyframes lpRise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
}

/* 안 쓰면 손해: 로고 남색 띠 */
.lp-loss { background: var(--ink); color: #FFFFFF; padding: 72px 0 80px; }
.lp-loss h2 { color: #FFFFFF; margin: 0 0 12px; font-size: 36px; }
.lp-loss .lead { color: #C8D1E0; font-size: 20px; margin: 0 0 40px; max-width: 40em; }
.lp-loss ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.lp-loss li { padding: 28px 28px 8px 0; }
.lp-loss li + li { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, 0.16); }
.lp-loss .leak { display: block; font-size: 22px; font-weight: 700; line-height: 1.45; margin-bottom: 14px; }
.lp-loss .fix { display: block; color: #C8D1E0; font-size: 17px; }
.lp-loss .fix strong { color: #FFFFFF; }

/* 배차 중심 흐름 */
.lp-flow { padding: 80px 0 24px; }
.lp-flow h2 { font-size: 36px; margin: 0 0 12px; }
.lp-flow .lead { color: var(--sub); font-size: 20px; margin: 0 0 36px; max-width: 40em; }
.lp-flow ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: none; }
.lp-flow li { position: relative; border: 1px solid var(--line); border-radius: var(--radius-box); padding: 24px 24px 22px; background: #FFFFFF; }
.lp-flow li + li::before {
  content: ''; position: absolute; left: -20px; top: 38px; width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B6BE6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.lp-flow .step { display: block; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 4px; }
.lp-flow .you { display: block; color: var(--sub); font-size: 16px; font-weight: 600; margin-bottom: 14px; }
.lp-flow .auto { margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line-soft); list-style: none; display: block; }
.lp-flow .auto li { border: 0; padding: 4px 0 4px 26px; border-radius: 0; background: none; font-size: 17px; position: relative; }
.lp-flow .auto li + li::before { content: none; }
.lp-flow .auto li::after {
  content: ''; position: absolute; left: 0; top: 10px; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A6B3A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 18px no-repeat;
}

/* 기능: 글과 진짜 화면을 번갈아 */
.lp-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; padding: 72px 0; border-top: 1px solid var(--line-soft); }
.lp-feature:first-of-type { border-top: 0; }
.lp-feature.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.lp-feature.flip .copy { order: 2; }
.lp-feature h2 { margin: 0 0 14px; font-size: 32px; }
.lp-feature .copy > p { color: var(--sub); font-size: 19px; margin: 0 0 18px; }
.lp-feature ul { margin: 0; padding: 0; list-style: none; }
.lp-feature ul li { position: relative; padding: 8px 0 8px 28px; border-top: 1px solid var(--line-soft); font-size: 17px; }
.lp-feature ul li::before { content: ''; position: absolute; left: 4px; top: 19px; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }

/* 1분 */
.lp-minute { margin: 40px 0 0; border-radius: 20px; background: var(--primary-soft); padding: 56px 56px 52px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 48px; align-items: center; }
.lp-minute .big { font-size: 112px; line-height: 1; font-weight: 800; letter-spacing: -0.05em; color: var(--primary); font-variant-numeric: tabular-nums; }
.lp-minute h2 { margin: 0 0 10px; font-size: 32px; }
.lp-minute p { margin: 0 0 18px; color: var(--sub); font-size: 19px; }
.lp-minute .docs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.lp-minute .docs li { background: #FFFFFF; border: 1px solid var(--primary-line); border-radius: 999px; padding: 4px 14px; font-size: 15px; font-weight: 600; color: var(--accent); }

/* 약속, 요금제, 자주 묻는 질문, 마지막 권유 */
.lp-trust { margin-top: 80px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; }
.lp-trust h2 { margin: 0; font-size: 32px; }
.lp-trust ol { margin: 0; padding: 0; list-style: none; counter-reset: trust; }
.lp-trust ol li { counter-increment: trust; position: relative; padding: 14px 0 14px 48px; border-top: 1px solid var(--line-soft); font-size: 17px; }
.lp-trust ol li:last-child { border-bottom: 1px solid var(--line-soft); }
.lp-trust ol li::before { content: counter(trust); position: absolute; left: 0; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--soft); color: var(--sub); font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.lp-plans { margin-top: 88px; }
.lp-plans h2 { margin: 0 0 8px; font-size: 32px; }
.lp-plans .table { border: 1px solid var(--line); border-radius: var(--radius-box); }
.lp-plans table { margin: 0; }
.lp-plans thead th:nth-child(3), .lp-plans tbody td:nth-child(3) { background: var(--primary-soft); color: var(--accent); font-weight: 700; }
.lp-plans tbody tr:last-child th, .lp-plans tbody tr:last-child td { border-bottom: 0; }
.lp-faq { margin-top: 88px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.lp-faq > div:first-child { position: sticky; top: 100px; }
.lp-faq h2 { margin: 0 0 8px; font-size: 32px; }
.lp-faq .faq-group:first-child { margin-top: 0; }
.lp-end { margin: 96px 0 0; text-align: center; padding: 64px 24px 56px; border-radius: 20px; background: var(--ink); color: #FFFFFF; }
.lp-end h2 { color: #FFFFFF; margin: 0 0 12px; font-size: 36px; }
.lp-end p { color: #C8D1E0; margin: 0 0 28px; font-size: 19px; }
.lp-end .button { margin: 0 6px 10px; }
.lp-end .button:not(.primary) { background: transparent; color: #FFFFFF; border-color: rgba(255, 255, 255, 0.5); }
.lp-end .button:not(.primary):hover { background: rgba(255, 255, 255, 0.08); border-color: #FFFFFF; }

/* 좁은 화면: 위아래로 쌓는다 */
@media (max-width: 1000px) {
  .lp-hero, .lp-feature, .lp-feature.flip, .lp-trust, .lp-faq { grid-template-columns: 1fr; gap: 32px; }
  .lp-feature.flip .copy { order: 0; }
  .lp-hero h1 { font-size: 42px; }
  .lp-loss ul, .lp-flow ol { grid-template-columns: 1fr; }
  .lp-loss li + li { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
  .lp-flow li + li::before { left: 24px; top: -20px; transform: rotate(90deg); }
  .lp-minute { grid-template-columns: 1fr; gap: 16px; padding: 36px 28px; }
  .lp-minute .big { font-size: 80px; }
  .lp-faq > div:first-child { position: static; }
  .lp-shot::before { inset: 16px -12px -16px 16px; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  h1 { font-size: 30px; }
  .lp-hero { padding: 36px 0 48px; }
  .lp-hero h1 { font-size: 34px; }
  .lp-hero .lead { font-size: 19px; }
  .lp-loss h2, .lp-flow h2, .lp-end h2 { font-size: 28px; }
  .lp-feature h2, .lp-minute h2, .lp-trust h2, .lp-plans h2, .lp-faq h2 { font-size: 26px; }
  /* 도움말: 휴대폰에서도 본문 글자는 18 */
  .help-page { padding-top: 16px; font-size: 18px; }
  .help-page.art { font-size: 18px; line-height: 1.7; }
  .art h1 { font-size: 28px; }
  .art-sum { font-size: 19px; }
  /* 도움말 첫 화면: 띠는 위아래로 쌓고, 문의 카드는 한 줄짜리 가로 막대로, 탭은 옆으로 밀어 본다 */
  .hc-top { padding: 32px 0 28px; }
  .hc-top-in { grid-template-columns: 1fr; gap: 20px; }
  .hc-top h1 { margin-bottom: 18px; font-size: 30px; }
  .hc-search { max-width: none; }
  .hc-search input { height: 58px; padding-left: 50px; font-size: 18px; border-radius: 12px; }
  .hc-search-ic { left: 16px; }
  .hc-contact { flex-direction: column; gap: 8px; }
  .hc-card { display: flex; align-items: center; justify-content: flex-start; gap: 14px; width: auto; height: auto; min-height: 68px; padding: 12px 16px; border-radius: 14px; color: var(--text); }
  .hc-card:hover { transform: none; box-shadow: none; color: var(--text); }
  .hc-ic { width: 44px; height: 44px; border-radius: 12px; }
  .hc-ic svg { width: 26px; height: 26px; }
  .hc-card-name { font-size: 18px; }
  .hc-card .hc-chev { margin-left: auto; color: var(--faint); }
  .hc-card.soon { color: var(--sub); }
  .hc-card.soon .hc-ic { margin-bottom: 0; }
  .hc-soon { margin-left: auto; }
  .hc-body { padding-top: 24px; }
  .hc-tabs { margin: 0 -16px; }
  .hc-tabs-in { padding: 0 16px; gap: 0; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }
  .hc-tabs a { min-height: 52px; padding: 4px 11px 0; font-size: 17px; }
  .hc-list a { grid-template-columns: minmax(0, 1fr) 18px; gap: 2px 12px; padding: 18px 4px; }
  .hc-cat { grid-column: 1; font-size: 15px; }
  .hc-title { grid-column: 1; font-size: 18px; }
  .hc-list .hc-chev { grid-column: 2; grid-row: 1 / span 2; width: 18px; height: 18px; }
  .hc-none { padding: 20px; }
  .hc-none .button { display: flex; width: 100%; }
  .help-list strong { font-size: 19px; }
  .art-dl .button, .art-ilsoni .button { display: flex; width: 100%; }
  .art-key div { grid-template-columns: 1fr; gap: 0; }
  .art-body table { font-size: 16px; }
  .art-body th, .art-body td { padding: 10px 8px; }
  .art-ilsoni { padding: 22px 18px 14px; }
  /* 휴대폰에서는 머리가 두 줄이 되어 붙여 두면 화면을 많이 가린다. 따라오지 않게 둔다 */
  .site-header { position: static; }
  .site-header nav a { padding: 6px 8px; font-size: 16px; }
  .button { margin-right: 8px; }

  /*
   * 휴대폰 첫 페이지(2026-11-18 대표님 "컴퓨터 화면은 그대로, 모바일로 봤을 때만", 같은 날 다시 다듬음).
   * 이 묶음 안의 것은 760 이하에서만 먹는다. 컴퓨터 화면은 바뀌지 않는다.
   * 결: 글자 크기는 몇 가지(15, 17, 20, 26, 34, 64)만, 읽을 글은 진한 글자색, 칸 사이는 가는 줄 대신
   * 여백과 바탕 색 차이로 나눈다. 그림은 화면 끝까지 넓게 깐 연회색 판 위에 크게 둔다.
   */
  .lp, .site-footer { word-break: keep-all; overflow-wrap: break-word; }
  .lp h1, .lp h2 { text-wrap: balance; }
  .lp h2 { font-size: 26px; line-height: 1.3; letter-spacing: -0.02em; }
  .site-header { border-bottom: 0; }
  .site-header .wrap { min-height: 0; padding-top: 10px; padding-bottom: 6px; }
  .site-header nav { justify-content: space-between; margin: 0 -8px; width: calc(100% + 16px); }
  .site-header nav a { min-height: 44px; display: inline-flex; align-items: center; }

  /* 첫 화면: 큰 제목, 바로 아래 한 문장, 손가락으로 누르기 쉬운 버튼 둘 */
  .lp-hero { gap: 32px; padding: 20px 0 40px; }
  .lp-hero h1 { font-size: 34px; line-height: 1.25; margin-bottom: 14px; }
  .lp-hero .lead { font-size: 20px; line-height: 1.55; color: var(--text); margin-bottom: 24px; }
  .lp-hero .cta-note { font-size: 15px; }
  .lp-cta { display: flex; flex-direction: column; gap: 10px; margin: 0 0 12px; }
  .lp-cta .button, .lp-plans .button.large { display: flex; width: 100%; margin: 0; }

  /* 그림: 화면 끝까지 넓게 깐 연회색 판 위에. 테두리와 그림자 없이 바탕 색 차이로 띄운다.
     메인 화면 그림은 자르지 않고 전체를 보인다(대표님). 나머지는 중요한 곳만 자른 그림(-m.png) */
  .lp-shot { margin: 0 -16px; padding: 12px 12px 10px; background: var(--soft); }
  .lp-shot::before { display: none; }
  .lp-shot img, .lp-feature .lp-shot img { border: 0; border-radius: 6px; box-shadow: none; }
  .lp-shot figcaption { margin: 8px 4px 0; font-size: 15px; color: var(--sub); }
  .lp-shot.narrow { max-width: none; }
  .lp-shot.narrow img { max-width: 260px; margin: 0 auto; }
  .lp-shot.narrow figcaption { text-align: center; }

  /* 안 쓰면 손해: 남색 띠. 항목 사이는 여백으로 */
  .lp-loss { padding: 48px 0 52px; }
  .lp-loss .lead { font-size: 17px; color: #DCE3EE; margin-bottom: 28px; }
  .lp-loss ul { border-top: 0; display: flex; flex-direction: column; gap: 28px; }
  .lp-loss li, .lp-loss li + li { padding: 0; border: 0; }
  .lp-loss .leak { font-size: 20px; margin-bottom: 6px; }
  .lp-loss .fix { color: #DCE3EE; }

  /* 배차 흐름: 테두리 상자 대신 연회색 판 셋, 사이에 아래 화살표 */
  .lp-flow { padding: 52px 0 8px; }
  .lp-flow .lead { font-size: 17px; color: var(--text); margin-bottom: 24px; }
  .lp-flow ol { gap: 28px; }
  .lp-flow li { border: 0; background: var(--soft); padding: 20px 20px 16px; }
  .lp-flow li + li::before { left: 50%; top: -24px; margin-left: -10px; }
  .lp-flow .step { font-size: 20px; }
  .lp-flow .you { font-size: 15px; margin-bottom: 10px; }
  .lp-flow .auto { border-top: 0; padding-top: 0; }
  .lp-flow .auto li { padding: 3px 0 3px 26px; background: none; }
  .lp-flow .auto li::after { top: 9px; }

  /* 기능 넷: 글, 점 목록, 그 아래 넓은 그림. 기능 사이는 여백으로 */
  .lp-feature, .lp-feature.flip { gap: 24px; padding: 48px 0 8px; border-top: 0; }
  .lp-feature h2 { margin-bottom: 10px; }
  .lp-feature .copy > p { font-size: 17px; color: var(--text); margin-bottom: 12px; }
  .lp-feature ul li { border-top: 0; padding: 4px 0 4px 22px; }
  .lp-feature ul li::before { left: 2px; top: 15px; width: 7px; height: 7px; }

  /* 1분 */
  .lp-minute { margin-top: 48px; padding: 28px 20px; gap: 6px; border-radius: 16px; }
  .lp-minute .big { font-size: 64px; }
  .lp-minute p { font-size: 17px; color: var(--text); }
  .lp-minute .docs li { border: 0; padding: 5px 12px; }

  /* 약속: 숫자 동그라미와 가는 줄 대신 점 목록 */
  .lp-trust, .lp-plans, .lp-faq { margin-top: 56px; gap: 12px; }
  .lp-trust ol { display: flex; flex-direction: column; gap: 12px; }
  .lp-trust ol li, .lp-trust ol li:last-child { padding: 0 0 0 22px; border: 0; }
  .lp-trust ol li::before { content: ''; left: 2px; top: 11px; width: 7px; height: 7px; background: var(--primary); }

  /* 요금표: 세 칸이 휴대폰 너비에 들어가게 글자와 여백을 줄인다(표라서 칸 줄은 둔다) */
  .lp-plans table { font-size: 15px; }
  .lp-plans th, .lp-plans td { padding: 10px 8px; }
  .lp-plans th:first-child, .lp-plans td:first-child { width: 30%; }
  .lp-plans .table + p { font-size: 15px; }

  /* 자주 묻는 질문: 테두리 상자 대신 연회색 판 */
  .lp-faq .faq-group { font-size: 17px; margin: 24px 0 8px; }
  .lp details { border: 0; background: var(--soft); padding: 0 16px; margin-bottom: 8px; }
  .lp details[open] { background: var(--primary-soft); }
  .lp details > :not(summary) { color: var(--text); }
  .lp summary { min-height: 56px; }

  .lp-end { margin-top: 56px; padding: 40px 20px 32px; border-radius: 16px; }
  .lp-end p { font-size: 17px; margin-bottom: 20px; }

  /* 바닥 회사 정보는 한 줄에 하나씩(사업자등록번호가 중간에 끊기지 않게) */
  .site-footer { margin-top: 56px; padding: 28px 0 36px; font-size: 15px; }
  .site-footer .f-item { display: block; }
  .site-footer .f-sep { display: none; }
}

/*
 * 휴대폰에서 내릴 때 칸마다 제목, 글, 그림이 차례로 살짝 떠오른다(2026-11-18, site.js가 760 이하에서만 lp-reveal을 붙인다).
 * 스크립트가 없거나 움직임 줄이기를 켰으면 처음부터 다 보인다.
 */
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .lp-reveal [data-reveal] { transition: opacity .55s cubic-bezier(.16, 1, .3, 1), transform .55s cubic-bezier(.16, 1, .3, 1); }
  .lp-reveal [data-reveal]:not(.in) { opacity: 0; transform: translateY(18px); }
  .lp summary { transition: background-color .15s; }
  .lp summary:active { background: rgba(43, 107, 230, 0.08); }
}
