/* Twgether — 검색 의도 가이드 페이지 공통 스타일 (랜딩 디자인 시스템 상속) */
:root {
  --surface: #FFFFFF;
  --surface-alt: #F4F5F6;
  --primary: #23201C;
  --primary-bg: #FAEEE9;
  --duo: #DD6A4E;
  --duo-strong: #9B3826;
  --text-normal: #23201C;
  --text-neutral: #4F4943;
  --muted: #716A63;
  --line: rgba(35,32,28,.13);
  --radius-card: 16px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { color-scheme: light only; background: var(--surface-alt); -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
  background: var(--surface-alt); color: var(--text-normal); line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--duo-strong); }
.container { max-width: 860px; margin: 0 auto; padding: 0 28px; }

.nav { background: #23201C; }
.nav-inner {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 860px; min-height: 68px; margin: 0 auto; padding: 0 28px;
}
.brand { display: inline-flex; align-items: center; min-height: 44px; color: #FFF; font-size: 19px; font-weight: 800; letter-spacing: -.05em; text-decoration: none; }
.back-link {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 13px;
  color: #FFF; font-size: 13px; text-decoration: none; border: 1px solid rgba(255,255,255,.2); border-radius: 999px;
}
.back-link:hover { background: rgba(255,255,255,.09); }

.crumb { padding: 18px 0 0; font-size: 12.5px; color: var(--muted); }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

.doc-header { margin: 14px 0 0; padding: clamp(28px,5vw,50px); background: var(--primary-bg); border-radius: 25px 25px 0 0; }
.eyebrow { display: inline-block; margin-bottom: 12px; color: var(--duo-strong); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.doc-header h1 { font-size: clamp(27px,5vw,42px); font-weight: 800; letter-spacing: -.055em; line-height: 1.28; color: var(--primary); }
.doc-meta { margin-top: 12px; font-size: 13px; color: var(--muted); }

.doc-body { padding: 30px clamp(22px,5vw,50px) 56px; background: var(--surface); border-radius: 0 0 25px 25px; box-shadow: 0 18px 44px rgba(35,32,28,.08); }
.answer {
  padding: 20px 22px; margin-bottom: 30px; background: var(--surface-alt);
  border-left: 3px solid var(--duo); border-radius: 4px 12px 12px 4px;
}
.answer p { font-size: 17px; font-weight: 700; letter-spacing: -.02em; color: var(--primary); }
.answer p + p { margin-top: 8px; font-size: 15px; font-weight: 500; color: var(--text-neutral); }

.doc-body h2 { margin: 40px 0 12px; padding-bottom: 11px; font-size: 19px; font-weight: 700; letter-spacing: -.035em; border-bottom: 1px solid var(--line); }
.doc-body h3 { margin: 22px 0 6px; font-size: 16px; font-weight: 700; }
.doc-body p, .doc-body li { font-size: 16px; color: var(--text-neutral); }
.doc-body p { margin-bottom: 12px; }
.doc-body ul, .doc-body ol { margin: 0 0 14px 20px; }
.doc-body li { margin-bottom: 6px; }
.doc-body strong { color: var(--primary); font-weight: 700; }

.table-scroll { overflow-x: auto; margin: 8px 0 22px; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; font-variant-numeric: tabular-nums; }
th, td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); color: var(--text-neutral); vertical-align: top; }
th { color: var(--primary); font-weight: 700; background: var(--surface-alt); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
td.is-duo { color: var(--duo-strong); font-weight: 700; }

details { padding: 14px 0; border-bottom: 1px solid var(--line); }
summary { min-height: 44px; display: flex; align-items: center; font-size: 15.5px; font-weight: 700; color: var(--primary); cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; margin-left: auto; padding-left: 12px; color: var(--duo); font-weight: 400; }
details[open] summary::after { content: '−'; }
details p { margin: 8px 0 2px; }

.cta { margin-top: 40px; padding: 26px; background: var(--primary-bg); border-radius: var(--radius-card); }
.cta strong { display: block; margin-bottom: 6px; font-size: 17px; letter-spacing: -.03em; color: var(--primary); }
.cta span { display: block; margin-bottom: 16px; font-size: 14.5px; color: var(--text-neutral); }
.cta a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  background: var(--duo); color: #FFF; font-size: 15px; font-weight: 700; text-decoration: none; border-radius: 999px;
}
.cta a:hover { background: var(--duo-strong); }

.related { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); }
.related strong { display: block; margin-bottom: 10px; font-size: 13px; letter-spacing: .04em; color: var(--muted); }
.related ul { margin: 0; list-style: none; }
.related li { margin-bottom: 2px; }
.related a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; }

.src { margin-top: 26px; font-size: 13px; color: var(--muted); }
.src a { color: var(--duo-strong); }

.footer { margin-top: 44px; padding: 30px 28px; background: #23201C; text-align: center; }
.footer a { display: inline-flex; align-items: center; min-height: 44px; color: rgba(255,255,255,.72); font-size: 12.5px; text-decoration: none; }
.footer a:hover { color: #FFF; }

a:focus-visible, summary:focus-visible { outline: 2px solid var(--duo); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
@media (max-width: 700px) {
  .container { padding: 0; }
  .nav-inner { padding: 0 18px; }
  .crumb { padding: 14px 18px 0; }
  .doc-header { margin-top: 0; padding: 26px 18px 22px; border-radius: 0; }
  .doc-body { padding: 24px 18px 44px; border-radius: 0; box-shadow: none; }
  .footer { margin-top: 0; padding: 22px 18px; text-align: left; }
}
