/* 약관·방침 같은 글 페이지 */
.doc { padding: calc(var(--nav-h) + 48px) 0 80px; }
.doc-in { max-width: 760px; }
.doc h1 { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 5vw, 38px); line-height: 1.3; letter-spacing: -0.03em; }
.doc-lead { margin-top: 16px; color: var(--ink2); }
.doc h2 { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line2); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.4; }
.doc p { margin-top: 12px; color: var(--ink2); }
.doc ul { margin-top: 12px; padding-left: 20px; list-style: disc; color: var(--ink2); }
.doc ol { margin-top: 12px; padding-left: 22px; list-style: decimal; color: var(--ink2); }
.doc li + li { margin-top: 6px; }
.doc-table { margin-top: 16px; overflow-x: auto; border: 1px solid var(--line2); border-radius: var(--r-s); background: var(--p0); }
.doc-table table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
.doc-table th, .doc-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.doc-table thead th { background: var(--p1); font-weight: 700; white-space: nowrap; }
.doc-table tbody tr:last-child td { border-bottom: 0; }
.doc .doc-note { margin-top: 16px; padding: 12px 16px; border-radius: var(--r-s); background: var(--p1); border: 1px solid var(--line); font-size: 15.5px; }
/* 글 페이지 바닥글 — 첫 화면 바닥글과 같은 짧은 형식 + 약관 3종 */
.doc-ft { padding: 36px 0 56px; background: var(--p1); border-top: 1px solid var(--line); font-size: 14px; line-height: 1.95; color: var(--ink3); text-align: center; }
.doc-ft-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.doc-ft-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--line2); background: var(--p0); font-size: 13.5px; font-weight: 600; color: var(--ink2); text-decoration: none; }
.doc-ft-links a:hover { border-color: var(--ink3); color: var(--ink); }
.doc-ft-links a[aria-current="page"] { border-color: var(--brand); color: var(--brand); }

/* 없는 주소로 들어왔을 때 (404.html) — 첫 화면과 같은 어두운 바탕 */
.nf-body { background: var(--n1); color: var(--on); }
.nf { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 100vh; min-height: 100svh; padding: calc(var(--nav-h) + 40px) 0 64px; }
.nf-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 45% at 50% 30%, rgba(76, 99, 255, .38), transparent 70%), radial-gradient(35% 30% at 75% 40%, rgba(140, 92, 246, .26), transparent 70%); }
.nf-in { max-width: 760px; text-align: center; }
.nf .kicker { color: #9DB0FF; }
.nf h1 { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 6vw, 60px); line-height: 1.18; letter-spacing: -0.045em; text-wrap: balance; }
.nf-lead { margin: 20px auto 0; max-width: 34em; font-size: 17px; color: var(--on2); }
.nf-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
