/* css/dokumen.css - Tampilan halaman dokumen (Kebijakan Privasi, Penghapusan Data).
   Tema mengikuti pilihan di aplikasi (localStorage fz), atau tema perangkat bila dibuka dari luar aplikasi; bisa diganti lewat tombol di bilah atas. */
:root {
  --g: #2f7f74;
  --on: #ffffff;
  --ink: #1d2622;
  --mut: #5f6d66;
  --bg: #f6f7f6;
  --card: #ffffff;
  --fill: #eef1ef;
  --line: #e2e6e3;
  --sh: 0 1px 2px rgba(0, 0, 0, 0.04), 0 6px 20px rgba(0, 0, 0, 0.04);
}
[data-theme='dark'] {
  --g: #7cc7cb;
  --on: #06140f;
  --ink: #eef2ef;
  --mut: #9aa6a0;
  --bg: #000000;
  --card: #1a1d1c;
  --fill: #222624;
  --line: #262626;
  --sh: none;
}
[data-theme='blue'] {
  --g: #2a6fb0;
  --on: #ffffff;
  --ink: #14263a;
  --mut: #5a6b7d;
  --bg: #eef4fb;
  --card: #ffffff;
  --fill: #e3ecf6;
  --line: #d6e2ee;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    16px/1.75 system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--g);
  font-weight: 600;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
b {
  font-weight: 650;
}
/* Bilah atas */
.dbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 56px;
  padding: 0 8px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.dbar a.dk,
.dbar button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.dbar a.dk:active,
.dbar button:active {
  background: var(--fill);
}
.dbar svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dbar .dj {
  flex: 1;
  min-width: 0;
  font-weight: 700;
  font-size: 17px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
main {
  max-width: 740px;
  margin: 0 auto;
  padding: 20px 16px 56px;
}
/* Kepala halaman */
.dhead {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 6px 0 18px;
}
.dhead img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  box-shadow: var(--sh);
}
.dhead h1 {
  margin: 0;
  font-size: clamp(24px, 6vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.dhead small {
  display: block;
  margin-top: 2px;
  color: var(--mut);
  font-size: 13.5px;
}
.lead {
  font-size: 16.5px;
}
main > p {
  margin-bottom: 14px;
}
/* Bagian: tulisan biasa dengan garis pemisah tipis, seperti surat/artikel (bukan kartu bernomor) */
.sec {
  margin: 0;
  padding: 20px 0 10px;
  border-top: 1px solid var(--line);
}
.sec h2 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
}
p {
  margin: 0 0 10px;
}
ul,
ol {
  margin: 0 0 10px;
  padding-left: 22px;
}
li {
  margin: 0 0 6px;
}
li::marker {
  color: var(--g);
}
/* Kontak */
.kontak {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 6px 0 12px;
}
.kontak a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--g);
  color: var(--on);
  font-size: 14.5px;
}
.kontak a.s {
  background: var(--fill);
  color: var(--ink);
}
.kontak a:hover {
  text-decoration: none;
  filter: brightness(1.05);
}
.kontak svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.alamat {
  color: var(--mut);
  font-size: 14px;
}
.kaki {
  margin-top: 24px;
  text-align: center;
  color: var(--mut);
  font-size: 13.5px;
}
.kaki a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 6px;
}
@media (min-width: 700px) {
  main {
    padding: 28px 24px 72px;
  }
}
