/* ==========================================================
   pages/info.css — 글 위주 페이지 (계산 방법 · 개인정보 · 약관 · 문의 · 404)
   .info-layout(목차 + 본문) · .prose(본문 글) · .tbl(표) · .schip(수집 상태)
   · .ct-form(문의 양식)
   ========================================================== */

.info-layout { display: grid; gap: 20px; }
.info-toc { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.info-toc::-webkit-scrollbar { display: none; }
.info-toc p { display: none; }
.info-toc a {
  flex: none; height: 34px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px;
  background: var(--surface-2); font-size: 13px; font-weight: 700; color: var(--ink-2); white-space: nowrap;
}
.info-toc a:hover { background: #EDF0F5; color: var(--ink); }

.prose { min-width: 0; max-width: 760px; }
.prose > .glance { margin-bottom: 32px; }
.prose section { padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line-2); }
.prose section:last-of-type { border-bottom: 0; margin-bottom: 8px; }
.prose h2 { margin-bottom: 12px; font-size: 21px; font-weight: 800; letter-spacing: -.035em; }
.prose p { font-size: 15.5px; line-height: 1.8; color: var(--ink-2); }
.prose section > * + * { margin-top: 14px; }
.prose b { color: var(--ink); font-weight: 800; }
.prose a:not(.btn) { color: var(--brand-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.prose .note { font-size: 13.5px; color: var(--ink-3); }
.prose .faq summary { font-size: 15px; }

.bullets { display: grid; gap: 10px; }
.bullets li { position: relative; padding-left: 18px; font-size: 15.5px; line-height: 1.75; color: var(--ink-2); }
.bullets li::before { content: ""; position: absolute; left: 3px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

/* ---------- 표 ---------- */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); -webkit-overflow-scrolling: touch; }
.tbl { min-width: 100%; font-size: 14px; }
.tbl th, .tbl td { padding: 11px 12px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.tbl thead th { background: var(--surface-2); font-size: 12.5px; font-weight: 700; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl .wrap-td { white-space: normal; min-width: 180px; }
.tbl .dl { margin-right: 4px; }

/* ---------- 수집 상태 ---------- */
.schip {
  display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px 0 7px;
  border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap;
}
.schip .ico { width: 13px; height: 13px; }
.schip.ok { background: var(--ok-soft); color: var(--ok-deep); }
.schip.warn { background: var(--warn-soft); color: var(--warn-deep); }
.schip.err { background: var(--up-soft); color: var(--up-deep); }

/* ---------- 문의 양식 ---------- */
.ct-form { display: grid; gap: 20px; }
.fld { display: grid; gap: 8px; min-width: 0; }
.fld-label { font-size: 14px; font-weight: 800; }
.fld-label small { margin-left: 4px; font-size: 12px; font-weight: 600; color: var(--ink-4); }
.fld-row { display: grid; gap: 20px; }
.field-sm { min-height: 48px; border-radius: 12px; }
.field-sm input { font-size: 15px; }
.field-area { align-items: stretch; padding: 0 16px; }
.field-area textarea { font-size: 15px; }
.fld-err { display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--up-deep); }
.ct-where { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: var(--brand-tint); font-size: 13.5px; font-weight: 700; color: var(--brand-deep); }
.ct-where .ico { width: 16px; height: 16px; }
.ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-agree { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); font-size: 13.5px; line-height: 1.65; color: var(--ink-2); cursor: pointer; }
.ct-agree input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand); }
.ct-agree b { color: var(--ink); }
.ct-agree a { font-weight: 700; color: var(--brand-deep); text-decoration: underline; text-underline-offset: 3px; }
.ct-turnstile:empty { display: none; }
.ct-status { min-height: 0; font-size: 14px; font-weight: 700; }
.ct-status:empty { display: none; }
.ct-status.is-error { color: var(--up-deep); }
.ct-status.is-success { display: flex; gap: 8px; padding: 14px 16px; border-radius: 14px; background: var(--ok-soft); color: var(--ok-deep); }
.ct-mail { display: grid; gap: 6px; margin-top: 18px; padding: 0 4px; font-size: 13.5px; color: var(--ink-3); }
.ct-mail p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ct-mail .ico { color: var(--ink-4); }
.ct-mail a { font-weight: 700; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 404 ---------- */
.nf { padding: 72px 0; }
.nf-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.nf .empty { padding: 48px 20px; }

@media (min-width: 640px) {
  .fld-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .info-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 40px; align-items: start; }
  .info-toc { position: sticky; top: calc(var(--hdr-h) + var(--nav-h) + 20px); flex-direction: column; gap: 2px; margin: 0; padding: 0; overflow: visible; }
  .info-toc p { display: block; margin-bottom: 6px; padding: 0 12px; font-size: 12px; font-weight: 800; color: var(--ink-4); }
  .info-toc a { height: 36px; background: none; border-radius: 10px; }
  .info-toc a:hover { background: var(--surface-2); }
}
