/* 안내 페이지(/landing/*.html) 공용 스타일 — 2026-11-20
   사장님: "랜딩페이지 ai슬롭 스럽지 않게 해줘".
   메인 랜딩 v3 하우스 룰(components/LandingShowcase.tsx LP_CSS)과 같은 값을 쓴다:
   흰 바탕 · 그라데이션/그림자/블러/유리 카드 없음 · 평면 버튼(모서리 2px) · 글자는 14px 이상 · 강조색 한 가지.
   표와 목록의 구분은 가는 줄 하나로만 한다. 테스트: services/__tests__/update1120i.test.ts */
:root {
  --ink: #27221F; --body: #3B342F; --muted: #5A4E46;
  --field: #EEF6F5; --accent: #276E6C; --accent-strong: #205A58; --line: #D2C6BE;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #ffffff; color: var(--body);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 17px; line-height: 1.7; word-break: keep-all;
}
a { color: var(--accent); text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.site-header .inner, main, footer { max-width: 760px; margin: 0 auto; padding-inline: 20px; }
.site-header .inner { display: flex; align-items: center; min-height: 64px; }
.site-header a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 17px; font-weight: 800; letter-spacing: -0.01em; text-decoration: none; }
.site-header img { width: 24px; height: 24px; object-fit: contain; }

main { padding-top: clamp(28px, 6vw, 64px); padding-bottom: 72px; }
nav.crumbs { margin-bottom: 20px; font-size: 14px; color: var(--muted); }
nav.crumbs a { color: var(--muted); }

/* 타입 — 제목은 크고 촘촘하게, 본문은 17px */
h1 { margin: 0 0 28px; font-size: clamp(32px, 6vw, 52px); line-height: 1.12; letter-spacing: -0.035em; font-weight: 800; color: var(--ink); }
h2 { margin: clamp(56px, 8vw, 88px) 0 20px; font-size: clamp(24px, 3.6vw, 32px); line-height: 1.2; letter-spacing: -0.025em; font-weight: 800; color: var(--ink); }
p { margin: 14px 0; }

/* 첫 답 — 색 면 하나, 테두리·둥근 모서리 없이 */
.answer { margin: 0 0 24px; padding: 24px 28px; background: var(--field); color: var(--ink); font-size: 17px; line-height: 1.6; }
.answer strong { display: block; margin-bottom: 8px; font-size: clamp(20px, 2.6vw, 24px); line-height: 1.35; letter-spacing: -0.02em; font-weight: 700; }

/* 표 — 카드에 담지 않고 가로줄만 */
.card { margin: 20px 0; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.6; }
caption { caption-side: top; padding: 0 0 12px; text-align: left; font-size: 14px; color: var(--muted); }
th, td { padding: 14px 16px 14px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { padding-bottom: 10px; font-size: 14px; font-weight: 700; color: var(--muted); }
tbody th { width: 7.5em; font-weight: 700; color: var(--ink); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
table.stack tbody th { width: 11em; }

/* 순서 — 큰 숫자와 가로줄 */
ol.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
ol.steps li { counter-increment: step; position: relative; padding: 16px 0 16px 56px; border-bottom: 1px solid var(--line); }
ol.steps li:last-child { border-bottom: 0; }
ol.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 13px; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--accent); font-variant-numeric: tabular-nums; }

/* 자주 묻는 질문 */
.faq h3 { margin: 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 18px; line-height: 1.4; font-weight: 700; color: var(--ink); }
.faq h2 + h3 { padding-top: 0; border-top: 0; }
.faq p { margin: 8px 0 22px; }
.faq p:last-child { margin-bottom: 0; }

/* 시작하기 — 메인 랜딩 마지막 장과 같은 강조색 면 + 평면 버튼 */
.cta-box { margin: clamp(56px, 8vw, 88px) 0 0; padding: 36px 28px; background: var(--accent); color: #ffffff; }
.cta { display: inline-flex; align-items: center; min-height: 52px; padding: 0 22px; border-radius: 2px; background: #ffffff; color: var(--accent-strong); font-size: 16px; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; transition: transform 120ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.cta:hover { color: var(--ink); }
.cta:active { transform: scale(0.97); }
.cta-box .cta:focus-visible { outline-color: #ffffff; }
.cta-note { margin: 14px 0 0; font-size: 14px; color: #ffffff; }

/* 안내 모음(/landing/) — 제목 링크와 한 줄 설명 */
.guides { list-style: none; margin: 32px 0 0; padding: 0; }
.guides li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.guides li:last-child { border-bottom: 0; }
.guides a { color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1.4; letter-spacing: -0.01em; text-decoration-color: transparent; transition: text-decoration-color 160ms ease; }
.guides a:hover, .guides a:focus-visible { text-decoration-color: currentColor; }
.guides p { margin: 4px 0 0; font-size: 16px; }

/* 함께 보기 */
.related { list-style: none; margin: 0; padding: 0; font-size: 16px; }
.related li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.related li:last-child { border-bottom: 0; }
.related a { color: var(--ink); font-weight: 600; text-decoration-color: transparent; transition: text-decoration-color 160ms ease; }
.related a:hover, .related a:focus-visible { text-decoration-color: currentColor; }

footer { padding-top: 40px; padding-bottom: 56px; font-size: 14px; line-height: 1.6; color: var(--muted); }
footer p { margin: 4px 0; }
footer a { color: var(--muted); }

/* 휴대폰 */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .answer { padding: 20px; }
  .cta-box { padding: 28px 20px; }
  .cta { width: 100%; justify-content: center; }
  tbody th { width: 6.5em; }
  /* 세 칸·네 칸 표는 한 칸이 90px 로 쪼그라든다 — 줄마다 묶어 아래로 쌓는다 */
  table.stack thead { display: none; }
  table.stack, table.stack tbody, table.stack tr, table.stack th, table.stack td { display: block; width: auto; }
  table.stack caption { display: block; }
  table.stack tr { padding: 18px 0; border-bottom: 1px solid var(--line); }
  table.stack tr:last-child { border-bottom: 0; }
  table.stack th, table.stack td { padding: 0; border: 0; }
  table.stack tbody th { width: auto; font-size: 17px; }
  table.stack td { margin-top: 10px; }
  table.stack td::before { content: attr(data-label); display: block; font-size: 14px; font-weight: 700; color: var(--muted); }
}
@media (prefers-reduced-motion: reduce) { .cta, .related a, .guides a { transition: none; } }
