/* Halaman dokumen hukum MAKAN.AI.
   Token warna dan bentuknya disalin dari index.html supaya kedua halaman
   terlihat berasal dari produk yang sama. */

:root {
  --bg: #E6EDDF;
  --bg-deep: #DCE5D2;
  --card: #FFFFFF;
  --forest: #33512F;
  --ink: #18251A;
  --ink-soft: #3C4B3B;
  --muted: #6E7D69;
  --accent-deep: #5A9E37;
  --line: #E3E9DC;
  --brand-green: #0E7A3C;
  --brand-orange: #FF6B45;
  --warn: #E39A2C;
  --danger: #D2603F;
  --shadow: 0 10px 30px rgba(32,48,30,.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

a { color: inherit; }
img, svg { display: block; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 22px; }

/* ---------- nav (sama seperti index.html) ---------- */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.wordmark {
  font-family: ui-rounded, 'SF Pro Rounded', 'Nunito', system-ui, sans-serif;
  font-weight: 700; font-size: 24px; letter-spacing: -0.5px;
  color: var(--brand-green); line-height: 1; white-space: nowrap;
}
.wordmark .dot { color: var(--brand-orange); font-size: 15px; }
.lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }

.btn {
  display: inline-block; text-decoration: none; text-align: center;
  font-weight: 800; font-size: 16px; cursor: pointer; border: none;
  border-radius: 999px; padding: 15px 28px; color: #fff;
  background: var(--accent-deep);
  box-shadow: 0 8px 22px rgba(127,191,77,.35);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(127,191,77,.45); }
.btn.small { padding: 10px 20px; font-size: 14px; box-shadow: none; }

/* ---------- kepala dokumen ---------- */
.doc-head { padding: 30px 0 8px; }
.doc-head h1 {
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 850; letter-spacing: -1.2px; line-height: 1.08;
}
.doc-head .meta {
  margin-top: 10px; font-size: 14px; color: var(--muted); font-weight: 600;
}
.doc-head .draft {
  margin-top: 20px;
  background: rgba(210,96,63,.10);
  border: 1px solid rgba(210,96,63,.30);
  border-radius: 16px;
  padding: 14px 17px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
}

/* ---------- bagian isi ---------- */
section.doc {
  background: var(--card);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 24px 26px;
  margin-top: 16px;
}
section.doc h2 {
  font-size: 18px; font-weight: 800; letter-spacing: -0.3px;
  margin-bottom: 12px;
}
section.doc p { font-size: 15px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 12px; }
section.doc p:last-child, section.doc ul:last-child, section.doc dl:last-child { margin-bottom: 0; }

section.doc p.callout {
  background: rgba(227,154,44,.12);
  border: 1px solid rgba(227,154,44,.32);
  border-radius: 16px;
  padding: 14px 17px;
  font-weight: 700;
  color: var(--ink);
}

section.doc ul { margin: 0 0 13px; padding-left: 22px; }
section.doc li { font-size: 15px; line-height: 1.65; color: var(--ink-soft); margin-bottom: 7px; }

section.doc dl { margin-bottom: 13px; }
section.doc dt {
  font-size: 15px; font-weight: 800; color: var(--ink);
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line);
}
section.doc dl dt:first-child { margin-top: 0; padding-top: 0; border-top: none; }
section.doc dd { font-size: 15px; line-height: 1.65; color: var(--ink-soft); margin: 3px 0 0; }

.cross {
  text-align: center; padding: 26px 0 4px;
  font-size: 15px; font-weight: 700;
}
.cross a { color: var(--forest); }

/* ---------- footer (sama seperti index.html) ---------- */
footer {
  border-top: 1px solid var(--line); padding: 28px 0 40px; margin-top: 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
}
footer a { color: var(--muted); }

@media (max-width: 860px) {
  section.doc { padding: 20px 20px; border-radius: 22px; }
  .doc-head { padding: 22px 0 4px; }
}
