/* 비욘드워크 비상주 랜딩 — 시안 A안(다크그린 + 앰버). 외부 폰트·CDN 없음. */
:root {
  --ink: #0e241b;
  --ink-soft: #16221c;
  --paper: #f8f5ed;
  --cream: #f5f1e7;
  --amber: #e3a43c;
  --amber-hi: #f0bc63;
  --line: #1e4536;
  --line-soft: #3a5b4b;
  --muted: #a9beb2;
  --on-amber: #14231a;
  --sans: 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', system-ui, sans-serif;
}

* { box-sizing: border-box; }
/* 작성자 스타일(form { display: grid } 등)이 브라우저 기본 [hidden] 규칙보다 우선하므로 명시해야 숨겨진다. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-bottom: 84px; /* 하단 고정 바에 본문이 가리지 않게 */
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--sans);
  line-height: 1.7;
  word-break: keep-all; /* 한글을 글자 중간에서 끊지 않는다 */
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 680px; }
.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;
}

/* 상단 */
.topbar { background: var(--ink); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { color: var(--cream); font-weight: 800; letter-spacing: 0.16em; text-decoration: none; }
.topbar-tel { color: var(--amber); font-weight: 700; text-decoration: none; }

/* 히어로 */
.hero { background: var(--ink); color: var(--cream); padding: 56px 0 48px; }
.eyebrow { color: var(--amber); font-size: 13px; font-weight: 700; letter-spacing: 0.2em; margin-bottom: 18px; }
.hero h1 { font-size: clamp(34px, 8.5vw, 64px); font-weight: 800; margin-bottom: 20px; }
.lead { color: var(--muted); font-size: 17px; max-width: 640px; margin-bottom: 24px; }
.guarantee {
  border: 1px solid var(--line-soft); padding: 14px 18px; max-width: 640px;
  color: var(--cream); font-weight: 600; font-size: 15px; margin-bottom: 28px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.facts { list-style: none; margin: 0; padding: 24px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; color: var(--muted); font-size: 14px; }
.facts li::before { content: '· '; color: var(--amber); font-weight: 800; }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: 2px; border: 1px solid transparent;
  font: inherit; font-size: 17px; font-weight: 700; text-decoration: none; cursor: pointer;
}
.btn-amber { background: var(--amber); color: var(--on-amber); }
.btn-amber:hover { background: var(--amber-hi); }
.btn-line { border-color: var(--line-soft); color: var(--cream); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* 섹션 */
.sec { padding: 64px 0; }
.sec-tight { padding-top: 0; }
.sec-paper { background: var(--paper); }
.sec-ink { background: var(--ink); color: var(--cream); }
.sec h2 { font-size: clamp(26px, 5.5vw, 38px); font-weight: 800; margin-bottom: 32px; }
.sec h3 { font-size: 18px; font-weight: 700; }
.note { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.note-dark { color: #5b6b62; font-size: 15px; margin-bottom: 20px; }
.grid2, .grid3 { display: grid; gap: 14px; }
.card { background: #fff; border: 1px solid rgba(14, 36, 27, 0.12); padding: 24px; }
.card p { margin-top: 10px; font-size: 15px; color: #3b4a42; }
.benefit { border-top: 1px solid var(--line); padding-top: 20px; }
.benefit p, .branch p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.branch { border: 1px solid var(--line); padding: 20px; }
.branch dl { margin: 12px 0 0; font-size: 14px; }
.branch dt { color: var(--muted); }
.branch dd { margin: 0 0 6px; color: var(--amber); font-weight: 600; }

/* 절차 */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.steps li { border-top: 2px solid var(--amber); padding-top: 14px; }
.step-no { display: block; color: var(--amber); font-weight: 800; font-size: 15px; }
.steps p { margin-top: 6px; font-size: 15px; color: #3b4a42; }

/* FAQ */
details { border-bottom: 1px solid rgba(14, 36, 27, 0.15); }
details:first-of-type { border-top: 1px solid rgba(14, 36, 27, 0.15); }
summary { padding: 18px 28px 18px 0; font-weight: 700; cursor: pointer; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '＋'; position: absolute; right: 0; color: var(--amber); }
details[open] summary::after { content: '－'; }
details p { padding: 0 0 18px; color: #3b4a42; font-size: 15px; }

/* 표 */
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 480px; font-size: 15px; text-align: left; }
th, td { padding: 12px 14px; border-bottom: 1px solid rgba(14, 36, 27, 0.15); vertical-align: top; }
th[scope='row'] { font-weight: 700; }

/* 폼 */
form { display: grid; gap: 16px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--cream); }
.req { color: var(--amber); }
input[type='text'], input[type='tel'], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 2px;
  border: 1px solid var(--line-soft); background: var(--ink); color: var(--cream);
  font: inherit; font-size: 16px; /* 16px 미만이면 iOS 가 확대한다 */
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--amber); outline-offset: 1px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--amber); flex: none; }
.consent-summary { font-size: 13px; color: var(--muted); line-height: 1.6; }
.form-error { border: 1px solid var(--amber); background: rgba(227, 164, 60, 0.12); padding: 14px 16px; color: var(--cream); font-size: 14px; }
.form-error a { color: var(--amber); font-weight: 700; }
.done { text-align: center; padding: 24px 0; }
.done h3 { font-size: 26px; margin-bottom: 10px; }
.done p { color: var(--muted); }

/* 푸터·고정 바 */
.footer { background: var(--ink); color: var(--muted); padding: 40px 0 32px; font-size: 14px; border-top: 1px solid var(--line); }
.footer p + p { margin-top: 4px; }
.footer-links { margin-top: 12px; }
.copy { margin-top: 16px; font-size: 12px; opacity: 0.7; }
.sticky {
  position: fixed; inset: auto 0 0 0; z-index: 10; display: flex; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(14, 36, 27, 0.97);
  border-top: 1px solid var(--line);
}
.sticky .btn { flex: 1; min-height: 48px; padding: 0 12px; font-size: 15px; }

/* 처리방침 */
.policy h1 { font-size: 30px; margin-bottom: 20px; }
.policy h2 { font-size: 19px; margin: 32px 0 10px; }
.policy p, .policy li { font-size: 15px; color: #3b4a42; }
.policy ul { padding-left: 20px; }

@media (min-width: 720px) {
  .grid2 { grid-template-columns: repeat(2, 1fr); }
  .grid3 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .hero { padding: 96px 0 72px; }
  .facts { grid-template-columns: repeat(3, auto); justify-content: start; gap: 28px; }
}
