/* Legal pages (Syarat & Ketentuan, Kebijakan Privasi). Generated pages: see build-legal.mjs */
:root {
  --ink: #0b1c30;
  --ink-2: #565e74;
  --blue: #2563eb;
  --blue-soft: #eff4ff;
  --line: #e3e9f5;
  --mist: #f6f8fd;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px; line-height: 1.7;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.top {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px clamp(20px, 5vw, 72px); background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line);
}
.brand img { height: 34px; width: auto; display: block; }
.back { font-weight: 600; font-size: 14px; color: var(--ink-2); padding: 8px 14px; border-radius: 999px; }
.back:hover { background: var(--blue-soft); color: var(--ink); text-decoration: none; }

.doc { max-width: 760px; margin: 0 auto; padding: 40px 20px 56px; }
.kicker { margin: 0 0 6px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
h1 { margin: 0; font-size: clamp(28px, 6vw, 40px); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
.meta { margin: 10px 0 24px; font-size: 14px; color: var(--ink-2); }

.toc { margin: 0 0 32px; padding: 18px 20px; border-radius: 20px; background: var(--mist); border: 1px solid var(--line); }
.toc b { display: block; margin-bottom: 8px; font-size: 14px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; font-size: 14px; line-height: 1.9; }
.toc li { break-inside: avoid; }

article h2 { margin: 40px 0 12px; padding-top: 8px; font-size: 22px; line-height: 1.3; font-weight: 800; letter-spacing: -.01em; }
article h3 { margin: 26px 0 8px; font-size: 17px; font-weight: 700; }
article p { margin: 0 0 14px; color: #1f2d44; }
article ul, article ol { margin: 0 0 16px; padding-left: 22px; color: #1f2d44; }
article li { margin: 4px 0; padding-left: 4px; }
article strong { color: var(--ink); }
article em { color: var(--ink-2); }

.tbl { margin: 0 0 18px; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.55; }
th, td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: var(--mist); font-weight: 700; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; white-space: nowrap; }

.other { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
.foot { padding: 22px 20px 34px; text-align: center; font-size: 13px; color: var(--ink-2); border-top: 1px solid var(--line); }

@media (max-width: 560px) {
  .toc ol { columns: 1; }
  td:first-child { white-space: normal; }
  th { white-space: normal; }
}

/* Inside the app's web view (?embed=1): no site header or footer, the app has its own back bar */
.embed .top, .embed .foot { display: none; }
.embed .doc { padding-top: 20px; }
