/* 약관·방침 페이지 (landing.css 다음에 불러온다) */
.doc { padding: 40px 0 88px; }
.doc .wrap { max-width: 1040px; }
.doc .grid { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; margin-top: 8px; }
.doc .head { max-width: 1040px; }
.doc .head > div { max-width: 70ch; margin-left: calc(220px + 56px); }
.doc h1 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; letter-spacing: -.03em; }
.doc .meta { margin-top: 8px; color: var(--muted); font-size: 14px; }
.draft { margin-top: 20px; padding: 12px 14px; border-radius: 12px; background: var(--warn-soft); color: var(--warn); font-size: 14px; }
.toc { position: sticky; top: 88px; font-size: 14px; }
.toc b { display: block; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.toc ol { list-style: none; display: grid; gap: 8px; }
.toc a { color: var(--ink2); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.body { max-width: 70ch; min-width: 0; }
.doc .grid > * { min-width: 0; }
.body section { padding-top: 36px; scroll-margin-top: 80px; }
.body h2 { font-size: 21px; margin-bottom: 12px; }
.body h3 { font-size: 16px; margin: 18px 0 6px; }
.body p, .body li { font-size: 15.5px; color: var(--ink2); line-height: 1.75; }
.body p + p { margin-top: 10px; }
.body ol, .body ul { padding-left: 1.3em; display: grid; gap: 6px; margin-top: 8px; }
.body table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14px; }
.body th, .body td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--ink2); }
.body th { background: var(--surface-2); color: var(--ink); font-weight: 700; white-space: nowrap; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.body .box { margin-top: 12px; padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); text-decoration: none; margin-bottom: 18px; }
.back:hover { color: var(--ink); }
@media (max-width: 860px) {
  .doc { padding: 24px 0 64px; }
  .doc .grid { grid-template-columns: 1fr; gap: 8px; }
  .doc .head > div { margin-left: 0; }
  .toc { position: static; padding: 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); margin-top: 20px; order: 0; }
  .body section:first-child { padding-top: 24px; }
}
