/* Dokumen hukum: privasi & syarat (dimuat lewat meta "css":"legal") */
.lg-hero { padding-bottom: 56px; }
.lg-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.lg-draft { display: flex; gap: 14px; align-items: flex-start; max-width: 760px; margin-top: 28px; padding: 16px 18px; border-radius: var(--radius); background: var(--orange-50); border: 1px solid var(--orange-100); color: var(--ink-2); font-size: 15px; }
.lg-draft [data-lucide] { width: 22px; height: 22px; color: var(--orange-600); margin-top: 1px; }
.lg-draft b { color: var(--orange-700); }

.lg-body { padding: 56px 0 96px; }
.lg-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 64px; align-items: start; }
.lg-toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; padding-right: 4px; }
.lg-toc h2 { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px 12px; }
.lg-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; border-left: 2px solid var(--line-2); }
.lg-toc li { counter-increment: toc; }
.lg-toc a { display: flex; gap: 8px; padding: 7px 12px; margin-left: -2px; border-left: 2px solid transparent; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--ink-2); text-decoration: none; }
.lg-toc a::before { content: counter(toc) '.'; color: var(--muted); font-weight: 600; min-width: 18px; }
.lg-toc a:hover, .lg-toc a.on { color: var(--teal-700); border-left-color: var(--teal); background: var(--teal-50); border-radius: 0 8px 8px 0; }

.lg-doc { max-width: 740px; font-size: 16.5px; line-height: 1.75; color: var(--ink-2); counter-reset: sec; }
.lg-doc > section { padding-top: 8px; }
.lg-doc > section + section { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line-2); }
.lg-doc h2 { counter-increment: sec; display: flex; gap: 12px; align-items: baseline; font-size: clamp(22px, 2.4vw, 26px); color: var(--ink); }
.lg-doc h2::before { content: counter(sec); flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--teal-50); color: var(--teal-700); font-size: 15px; font-weight: 800; letter-spacing: 0; transform: translateY(-3px); }
.lg-doc h3 { margin-top: 24px; font-size: 17px; color: var(--ink); }
.lg-doc p { margin-top: 14px; }
.lg-doc ul, .lg-doc ol { margin: 14px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.lg-doc li::marker { color: var(--teal); }
.lg-doc strong { color: var(--ink); }
.lg-doc a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.lg-note { margin-top: 18px; padding: 16px 18px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); font-size: 15px; }
.lg-note strong { display: block; margin-bottom: 2px; }
.lg-contact { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.lg-doc .tbl-wrap { margin-top: 18px; }
.lg-doc .tbl { min-width: 0; }
.lg-doc .tbl td, .lg-doc .tbl th { text-align: left; }
.lg-doc .tbl td:last-child { width: 38%; color: var(--teal-700); font-weight: 600; }

@media (max-width: 960px) {
  .lg-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .lg-toc { position: static; max-height: none; overflow: visible; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-soft); }
  .lg-toc h2 { margin-left: 0; }
  .lg-toc ol { border-left: 0; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .lg-toc a { padding: 6px 0; margin-left: 0; border-left: 0; }
  .lg-toc a:hover, .lg-toc a.on { background: none; }
}
@media (max-width: 640px) {
  .lg-body { padding: 36px 0 64px; }
  /* HP: dokumen dilipat per bagian (.m-acc) — judul bagian sudah menjadi daftar isi */
  .lg-toc { display: none; }
  .lg-doc.m-acc > section > h2 { min-height: 40px; align-items: center; }
  .lg-doc.m-acc > section + section { margin-top: 0; padding-top: 14px; }
  .lg-doc.m-acc > section { padding-bottom: 14px; }
  .lg-doc.m-acc > .m-shut > h2 ~ h3 { display: none !important; }
  .lg-doc.m-acc > section > h2 ~ h3 { cursor: auto; padding-right: 0; }
  .lg-doc.m-acc > section > h2 ~ h3::after { content: none; }
  .lg-doc { font-size: 16px; }
  .lg-doc h2 { gap: 10px; }
  .lg-doc h2::before { width: 28px; height: 28px; font-size: 14px; border-radius: 8px; }
  .lg-doc .tbl thead { display: none; }
  .lg-doc .tbl, .lg-doc .tbl tbody, .lg-doc .tbl tr, .lg-doc .tbl td { display: block; width: auto; }
  .lg-doc .tbl tr { padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
  .lg-doc .tbl tr:last-child { border-bottom: 0; }
  .lg-doc .tbl td { padding: 0; border: 0; }
  .lg-doc .tbl td:last-child { width: auto; margin-top: 4px; font-size: 14px; }
}
