/* Shared style for the legal pages (kebijakan-privasi.html, syarat-ketentuan.html).
   No web fonts or third-party requests on purpose. */
:root {
	--ink: #18181b;
	--muted: #52525b;
	--faint: #71717a;
	--line: #e4e4e7;
	--page: #fafaf9;
	--card: #ffffff;
	--accent: #b4691f;
	--accent-soft: #fdf3e7;
	color-scheme: light;
}
@media ( prefers-color-scheme: dark ) {
	:root:not([data-theme="light"]) {
		--ink: #f4f4f5;
		--muted: #a1a1aa;
		--faint: #8b8b94;
		--line: #2e2e33;
		--page: #0f0f11;
		--card: #18181b;
		--accent: #f0a352;
		--accent-soft: #2a1f14;
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--ink: #f4f4f5;
	--muted: #a1a1aa;
	--faint: #8b8b94;
	--line: #2e2e33;
	--page: #0f0f11;
	--card: #18181b;
	--accent: #f0a352;
	--accent-soft: #2a1f14;
	color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0; background: var(--page); color: var(--ink);
	font: 400 16px/1.7 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.legal { max-width: 720px; margin: 0 auto; padding: 24px 16px 64px; }

.legal-top {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
	margin-bottom: 40px; font-size: 14px;
}
.legal-top a { color: var(--muted); text-decoration: none; }
.legal-top a:hover { color: var(--ink); }
.legal-back { display: inline-flex; align-items: center; gap: 6px; }
.legal-switch { display: flex; gap: 16px; }
.legal-switch a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.legal-app {
	display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
	color: var(--muted); font-size: 14px; font-weight: 600;
}
.legal-app img { width: 40px; height: 40px; border-radius: 12px; }

h1 { margin: 0 0 8px; font-size: clamp( 28px, 6vw, 36px ); line-height: 1.2; letter-spacing: -0.02em; }
.legal-date { margin: 0 0 32px; color: var(--faint); font-size: 14px; }

h2 {
	margin: 40px 0 8px; padding-top: 24px; border-top: 1px solid var(--line);
	font-size: 20px; line-height: 1.3; letter-spacing: -0.01em;
}
h2 .num { color: var(--accent); margin-right: 6px; font-variant-numeric: tabular-nums; }
p, ul, ol { margin: 0 0 14px; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }
li::marker { color: var(--faint); }
strong { font-weight: 650; }
a { color: var(--accent); text-underline-offset: 2px; }

.legal-summary {
	margin: 0 0 8px; padding: 20px 22px; border-radius: 16px;
	background: var(--accent-soft); border: 1px solid color-mix( in srgb, var(--accent) 25%, transparent );
}
.legal-summary h2 { margin: 0 0 10px; padding: 0; border: 0; font-size: 17px; }
.legal-summary ul { margin: 0; }
.legal-summary li:last-child { margin-bottom: 0; }

.legal-table { width: 100%; margin: 4px 0 16px; border-collapse: collapse; font-size: 15px; }
.legal-table th, .legal-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table th { color: var(--muted); font-size: 13px; font-weight: 600; }
.legal-table-wrap { overflow-x: auto; }

.legal-contact {
	margin-top: 8px; padding: 16px 20px; border-radius: 14px;
	background: var(--card); border: 1px solid var(--line);
}
.legal-contact p:last-child { margin-bottom: 0; }

.legal-foot { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; }
