/* privacy.html에만 쓰는 모양. 여러 페이지가 같이 쓰는 것은 site.css에 있다. 이 파일은 site.css 다음에 읽는다. */

/* 읽는 페이지라 효과는 가볍게: 읽은 만큼 막대, 처음 한 번 나타나기, 목차 */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-2), var(--accent)); transform-origin: left; transform: scaleX(0); }
.pagehead .badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pagehead .badges span { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); font-size: .86rem; font-weight: 700; }
.doc { display: grid; gap: 28px; padding-top: 40px; padding-bottom: 80px; }
@media (min-width: 960px) { .doc { grid-template-columns: 240px 1fr; gap: 48px; align-items: start; } .toc { position: sticky; top: 96px; } }
.doc > * { min-width: 0; }
.toc { padding: 18px 18px 14px; }
.toc h2 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 8px; color: var(--muted); }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 6px 10px; border-radius: 10px; color: var(--muted); text-decoration: none; font-size: .93rem; transition: background .2s, color .2s; }
.toc a:hover { background: var(--accent-soft); color: var(--ink); }
.toc a.on { background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; }
@media (max-width: 959px) {
  .toc { padding: 14px 0 12px; }
  .toc h2 { padding: 0 16px; }
  .toc ol { display: flex; gap: 6px; overflow-x: auto; padding: 0 16px 4px; scrollbar-width: none; }
  .toc a { white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
}
.text { max-width: 760px; }
.text > p { margin: 0 0 14px; }
.text h2 { font-size: 1.32rem; letter-spacing: -.02em; margin: 44px 0 12px; scroll-margin-top: 96px; display: flex; align-items: center; gap: 10px; }
.text h2::before { content: ""; width: 6px; height: 22px; border-radius: 3px; background: linear-gradient(var(--accent-2), var(--accent)); flex: none; }
.text .box { position: relative; background: linear-gradient(140deg, var(--accent-soft), var(--surface) 70%); border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line)); border-radius: 20px; padding: 18px 20px; box-shadow: var(--shadow); }
.scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); margin: 0 0 14px; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
th { background: var(--bg-2); font-weight: 750; }
tr > :first-child { min-width: 7.5em; }
tr:not(:first-child):hover td { background: color-mix(in srgb, var(--accent-soft) 45%, transparent); }
ul { padding-left: 1.2em; } li { margin: 6px 0; } li::marker { color: var(--accent); }
