/* Lensa Hukum — gaya situs
   Palet & tipografi mengikuti desain dasar; lapisan "modern" menambah kedalaman,
   gerak halus, dan motif garis aksen amber. */
:root {
  --primary: #174C3C;
  --primary-hover: #0F3529;
  --primary-2: #1E5C49;
  --accent: #B9772A;
  --text: #303936;
  --text-2: #3F4844;
  --muted: #5E6662;
  --faint: #8A938F;
  --border: #D4DCD4;
  --border-soft: #E2E8E2;
  --soft: #F1F4F1;
  --soft-2: #DCE6D8;
  --warn-bg: #FEF3C7;
  --warn: #92400E;
  --warn-line: #D97706;
  --bad-bg: #FEE2E2;
  --bad: #991B1B;
  --dash: #7E9A7B;
  --dash-soft: #A8B9A5;
  --white: #FFFFFF;
  --head: 'Space Grotesk', system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --focus: 0 0 0 3px #FFFFFF, 0 0 0 5px #174C3C;
  --r-sm: 10px; --r: 16px; --r-lg: 24px; --r-xl: 28px;
  --sh-1: 0 1px 2px rgba(15, 53, 41, .06);
  --sh-2: 0 1px 2px rgba(15, 53, 41, .05), 0 8px 24px -10px rgba(15, 53, 41, .16);
  --sh-3: 0 2px 4px rgba(15, 53, 41, .04), 0 24px 56px -20px rgba(15, 53, 41, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr-h: 72px;
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--white); color: var(--text);
  font-family: var(--body); font-size: 16px; line-height: 1.55;
  overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: var(--primary); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .2s var(--ease); }
a:hover { color: var(--primary-hover); }
h1, h2, h3, h4 { overflow-wrap: break-word; text-wrap: balance; }
p { text-wrap: pretty; }
p, li, td, span, strong { overflow-wrap: break-word; }
.sumber-ol a, .filename, .host, .md a { overflow-wrap: anywhere; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--soft-2); color: var(--primary-hover); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 8px; }
input:focus-visible, textarea:focus-visible, select:focus-visible { box-shadow: 0 0 0 3px rgba(23, 76, 60, .18); border-color: var(--primary) !important; }
#main:focus { outline: none; }
#main h1:focus { box-shadow: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 8px; color: #fff; }

/* ---------- header (lengket, menyusut saat digulir) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease);
}
@supports (backdrop-filter: blur(1px)) {
  .site-header { background: rgba(255, 255, 255, .78); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); }
}
.site-header.scrolled { border-bottom-color: transparent; box-shadow: 0 1px 0 rgba(15, 53, 41, .06), 0 10px 30px -18px rgba(15, 53, 41, .35); }
.hdr { max-width: 1160px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 24px; transition: padding .3s var(--ease); }
.site-header.scrolled .hdr { padding-top: 8px; padding-bottom: 8px; }
.brand { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; flex: none; min-height: 44px; }
.brand svg { transition: transform .35s var(--ease), width .3s var(--ease), height .3s var(--ease); }
.brand:hover svg { transform: rotate(-8deg); }
.site-header.scrolled .brand svg { width: 28px; height: 28px; }
.wordmark { font-family: var(--body); font-size: 22px; line-height: 1.1; font-weight: 700; letter-spacing: -.02em; color: var(--text); white-space: nowrap; transition: font-size .3s var(--ease); }
.wordmark span { font-weight: 400; color: var(--primary); }
.site-header.scrolled .wordmark { font-size: 20px; }
.brand-lg .wordmark { font-size: 26px; }
.brand-col { display: flex; flex-direction: column; gap: 3px; }
.ltag { font-size: 12px; color: var(--muted); letter-spacing: .01em; }
.hnav { display: flex; gap: 4px; flex: 1 1 auto; font-size: 15px; }
.hnav a { position: relative; text-decoration: none; color: var(--text-2); padding: 8px 12px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 10px; transition: color .2s var(--ease), background-color .2s var(--ease); }
.hnav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--soft-2); transform: scaleX(0); transform-origin: center; transition: transform .3s var(--ease); }
.hnav a:hover { color: var(--primary); background: rgba(241, 244, 241, .8); }
.hnav a:hover::after { transform: scaleX(1); }
.hnav a[aria-current="page"] { color: var(--primary); font-weight: 600; }
.hnav a[aria-current="page"]::after { transform: scaleX(1); background: var(--primary); }
.lang { flex: none; white-space: nowrap; font-size: 14px; color: var(--faint); display: inline-flex; align-items: center; gap: 2px; }
.lang a, .lang button { min-height: 44px; min-width: 28px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; background: none; border: none; padding: 0 2px; font: inherit; color: var(--faint); }
.lang [aria-current="true"] { color: var(--text); font-weight: 700; }
.lang button[aria-disabled="true"] { cursor: help; }
.masuk { flex: none; white-space: nowrap; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 8px; color: var(--primary); font-weight: 600; border-radius: 10px; }
.masuk:hover { color: var(--primary-hover); text-decoration: underline; text-underline-offset: 4px; }
.hdr .lang + .masuk { margin-left: -12px; }
.menu-btn { display: none; min-height: 44px; min-width: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--white); color: var(--text); font-weight: 600; font-size: 15px; align-items: center; gap: 8px; transition: border-color .2s, box-shadow .2s; }
.menu-btn:hover { border-color: var(--primary); }
.menu-btn .m-close { display: none; }
.menu-btn[aria-expanded="true"] { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(23, 76, 60, .1); }
.menu-btn[aria-expanded="true"] .m-close { display: inline; }
.menu-btn[aria-expanded="true"] .m-open { display: none; }
.mnav { border-top: 1px solid var(--border-soft); padding: 10px 16px 18px; display: flex; flex-direction: column; gap: 2px; background: var(--white); box-shadow: 0 24px 40px -20px rgba(15, 53, 41, .35); animation: drop .28s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
.mnav a { text-decoration: none; color: var(--text); font-weight: 600; font-size: 17px; min-height: 50px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; border-radius: 12px; transition: background-color .2s; }
.mnav a::after { content: "→"; color: var(--faint); font-weight: 400; transition: transform .2s var(--ease), color .2s; }
.mnav a:hover { background: var(--soft); }
.mnav a:hover::after { transform: translateX(3px); color: var(--primary); }
.mnav a.minor { font-weight: 400; font-size: 15px; color: var(--text-2); min-height: 46px; }
.mnav a.minor.first { border-top: 1px solid var(--border-soft); margin-top: 8px; border-radius: 0 0 12px 12px; }
.mnav a[aria-current="page"] { background: var(--soft); color: var(--primary); box-shadow: inset 3px 0 0 var(--primary); }
.hdr-tanya { display: none; }
@media (max-width: 1080px) {
  .hnav { display: none; }
  .menu-btn { display: inline-flex; }
  .lang { margin-left: auto; }
}
@media (min-width: 1081px) { .mnav { display: none !important; } }

/* ---------- boot / misc ---------- */
.boot { max-width: 1160px; margin: 0 auto; padding: 96px 24px; color: var(--muted); display: flex; align-items: center; gap: 12px; justify-content: center; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ---------- footer (kuat, hijau tua) ---------- */
.site-footer {
  margin-top: 96px; position: relative; overflow: clip;
  color: #C9D6CC;
  background:
    radial-gradient(700px 320px at 8% 0%, rgba(220, 230, 216, .10), transparent 65%),
    radial-gradient(900px 400px at 100% 100%, rgba(30, 92, 73, .9), transparent 70%),
    linear-gradient(180deg, #174C3C 0%, #0F3529 100%);
}
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, #DCE6D8, rgba(220, 230, 216, 0) 70%); opacity: .5; }
.site-footer.flush { margin-top: 0; }
.footer-mark { position: absolute; right: -120px; bottom: -160px; width: 520px; height: 520px; opacity: .07; pointer-events: none; }
.ftr { position: relative; max-width: 1160px; margin: 0 auto; padding: 64px 24px 28px; display: flex; flex-direction: column; gap: 44px; }
.fcta { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; padding-bottom: 40px; border-bottom: 1px solid rgba(220, 230, 216, .16); }
.fcta h2 { margin: 0; font-family: var(--head); font-weight: 600; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.15; letter-spacing: -.02em; color: var(--white); max-width: 640px; }
.fcta h2 em { font-style: normal; color: var(--soft-2); font-weight: 500; }
.btn-light { background: var(--white); color: var(--primary); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5); }
.btn-light:hover { background: #F7FAF7; color: var(--primary-hover); transform: translateY(-1px); }
.fgrid { display: grid; grid-template-columns: minmax(0, 500px) 1fr auto auto auto; column-gap: 64px; align-items: start; }
.fbrand { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.fbrand p { margin: 0; font-size: 14px; color: #B8C9BD; line-height: 1.65; }
.site-footer .wordmark { color: var(--white); }
.site-footer .wordmark span { color: var(--soft-2); }
.site-footer .ltag { color: #9DB3A4; }
.fcol { display: flex; flex-direction: column; gap: 0; font-size: 14px; padding-top: 6px; }
.fcol strong { color: var(--white); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.fcol a { color: #C9D6CC; text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; transition: color .2s, transform .2s var(--ease); }
.fcol a:hover { color: var(--white); transform: translateX(2px); text-decoration: underline; }
.fcol a[aria-current="page"] { color: var(--white); }
.fbottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; border-top: 1px solid rgba(220, 230, 216, .16); padding-top: 22px; font-size: 13px; color: #9DB3A4; }
.fbottom .disc { display: inline-flex; align-items: center; gap: 8px; }
.fbottom .disc::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--soft-2); flex: none; }
.site-footer :focus-visible { box-shadow: 0 0 0 3px #0F3529, 0 0 0 5px #DCE6D8; }
@media (max-width: 1080px) {
  .fgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .fbrand { grid-column: 1 / -1; }
  .fspacer { display: none; }
}
@media (max-width: 720px) {
  .fgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
  .fgrid .fcol:last-child { grid-column: 1 / -1; }
  .fcol { padding-top: 0; }
  .ftr { padding: 48px 20px 24px; gap: 32px; }
  .fcta { padding-bottom: 32px; }
  .fcta .btn { width: 100%; }
  .footer-mark { width: 360px; height: 360px; right: -140px; bottom: -120px; }
}

/* ---------- komponen bersama ---------- */
.btn {
  min-height: 44px; padding: 8px 18px; border-radius: 12px; border: 1px solid transparent;
  font: 600 14px var(--body); line-height: 1.3; text-align: center; max-width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn:active:not([disabled]) { transform: translateY(1px) scale(.99); }
.btn-primary {
  background: linear-gradient(180deg, var(--primary-2) 0%, var(--primary) 100%); color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 8px 18px -10px rgba(23, 76, 60, .7);
}
.btn-primary:hover { background: linear-gradient(180deg, var(--primary) 0%, var(--primary-hover) 100%); color: var(--white); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 12px 24px -10px rgba(23, 76, 60, .75); }
.btn-outline { background: var(--white); border-color: var(--border); color: var(--text); box-shadow: var(--sh-1); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); box-shadow: var(--sh-2); }
.btn-dark-outline { background: transparent; border-color: var(--text); color: var(--text); font-size: 15px; }
.btn-ghost { background: transparent; color: var(--muted); font-weight: 500; text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 4px; padding: 0 12px; }
.btn-ghost:hover { color: var(--primary); text-decoration-color: var(--primary); }
.btn-lg { min-height: 50px; padding: 10px 26px; border-radius: 14px; font-size: 15px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none !important; }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.ext::after { content: " ↗"; font-size: .85em; }

.pill {
  min-height: 44px; padding: 0 20px; border-radius: 99px; border: 1px solid var(--border); background: var(--white); color: var(--text);
  font: 600 15px var(--body); transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), transform .2s var(--ease);
}
.pill:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.pill[aria-selected="true"], .pill.on { background: var(--primary); color: var(--white); border-color: var(--primary); box-shadow: 0 10px 22px -12px rgba(23, 76, 60, .8); transform: none; }
.chip { padding: 8px 16px; border-radius: 99px; border: 1px solid var(--border); background: var(--white); font-size: 14px; color: var(--text); display: inline-flex; align-items: center; gap: 6px; min-height: 40px; }
.chip b { font-weight: 600; color: var(--primary); font-variant-numeric: tabular-nums; }
.chip.zero { color: var(--muted); background: transparent; border-style: dashed; }
.chip.zero b { color: var(--muted); font-weight: 500; }
.ai-badge { font-size: 12px; font-weight: 600; color: var(--text-2); border: 1.5px dashed var(--dash); padding: 1px 10px; border-radius: 99px; white-space: nowrap; flex: none; display: inline-block; background: rgba(255, 255, 255, .6); }
.status { flex: 0 0 auto; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 99px; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .75; }
.ncard .status, .reg-card .status, .lcard .status { white-space: normal; }
.st-ok { color: var(--primary); background: var(--soft-2); }
.st-warn { color: var(--warn); background: var(--warn-bg); }
.st-bad { color: var(--bad); background: var(--bad-bg); }
.st-none { color: var(--text-2); background: var(--border-soft); }
.st-dark { color: var(--white); background: var(--text); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.kicker::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: currentColor; }
.center .kicker, .kicker.c { justify-content: center; }
.sec-label { margin: 0; font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-family: var(--body); display: flex; align-items: center; gap: 10px; }
.sec-label::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--border-soft); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.note-i { font-size: 12px; font-style: italic; color: var(--muted); }
.example-tag { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.example-tag strong { color: var(--primary); font-weight: 600; background: var(--soft-2); padding: 2px 10px; border-radius: 99px; font-size: 12px; }

.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--soft-2); border-top-color: var(--primary); animation: spin .8s linear infinite; display: inline-block; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading { display: flex; align-items: center; gap: 12px; color: var(--muted); padding: 20px 0; }
.loading.box { background: var(--soft); border-radius: var(--r); padding: 18px 20px; }
.skeleton { background: linear-gradient(90deg, var(--soft) 0%, #E6ECE6 50%, var(--soft) 100%); background-size: 200% 100%; animation: shimmer 1.4s ease-in-out infinite; border-radius: 8px; color: transparent !important; user-select: none; }
.skeleton * { visibility: hidden; }
@keyframes shimmer { to { background-position: -200% 0; } }

.notice { background: var(--soft); border-radius: var(--r-lg); padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; color: var(--text-2); }
.notice h2, .notice h3 { margin: 0; font-family: var(--head); font-size: 20px; font-weight: 600; color: var(--text); }
.notice p { margin: 0; }
.notice.dashed { background: linear-gradient(180deg, #FFFFFF, #FAFBFA); border: 1.5px dashed var(--dash-soft); }
.notice.warn { background: var(--warn-bg); color: var(--warn); }
.notice .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.err { background: var(--bad-bg); color: var(--bad); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; animation: fadeUp .3s var(--ease); }
.err p { margin: 0; }
.err .btn { background: var(--white); border-color: #E6C4BD; color: var(--bad); }
.ok-box { background: var(--soft-2); color: var(--primary); border-radius: 14px; padding: 16px 18px; animation: fadeUp .3s var(--ease); }
.ok-box p { margin: 0; }
.peringatan { background: var(--warn-bg); color: var(--warn); border-radius: 12px; padding: 10px 14px; font-size: 14px; box-shadow: inset 3px 0 0 var(--warn-line); }
.fallback { color: var(--muted); font-style: italic; }

/* kontrol formulir */
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, .field .lbl { font-size: 15px; font-weight: 600; color: var(--text); }
.field label .opt { font-weight: 400; color: var(--muted); }
.input, .select, .textarea { width: 100%; border: 1px solid var(--border); border-radius: 12px; background: var(--white); padding: 12px 14px; font: 16px var(--body); color: var(--text); min-height: 48px; transition: border-color .2s, box-shadow .2s; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--dash-soft); }
.textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235E6662' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.input::placeholder, .textarea::placeholder { color: var(--faint); }
[aria-invalid="true"] { border-color: var(--bad) !important; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); min-height: 40px; padding: 8px 0; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--primary); }
.check.italic { font-style: italic; font-size: 12px; }
.check.disabled { opacity: .55; cursor: not-allowed; }

/* ---------- latar bertekstur (hero & pengantar) ---------- */
.textured { position: relative; overflow: clip; isolation: isolate; }
.textured::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(23, 76, 60, .16) 1px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  opacity: .55;
}
.lens-mark { position: absolute; z-index: -1; pointer-events: none; color: var(--primary); }
.lens-mark .ring { stroke: currentColor; }

/* ---------- pengantar halaman ---------- */
.intro {
  border-bottom: 1px solid var(--border-soft);
  background:
    radial-gradient(900px 340px at 0% 0%, rgba(220, 230, 216, .95), transparent 65%),
    radial-gradient(500px 260px at 100% 30%, rgba(23, 76, 60, .06), transparent 70%),
    linear-gradient(180deg, #F1F4F1 0%, #EDF2EC 100%);
}
.intro .lens-mark { right: -90px; top: -70px; width: 380px; height: 380px; opacity: .07; }
.intro .in { max-width: 1160px; margin: 0 auto; padding: 60px 24px 52px; display: flex; flex-direction: column; gap: 14px; }
.crumb { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.crumb a { color: var(--muted); }
.intro h1 { margin: 0; font-family: var(--head); font-size: 44px; line-height: 1.08; font-weight: 600; letter-spacing: -.025em; color: var(--text); }
.intro h1::after, .accent-bar::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; margin-top: 16px; background: linear-gradient(90deg, var(--primary), #4F8A74); }
.intro p.lead { margin: 4px 0 0; max-width: 760px; font-size: 18px; line-height: 1.65; color: var(--text-2); }
.page { max-width: 1160px; margin: 0 auto; padding: 44px 24px 0; display: flex; flex-direction: column; gap: 32px; }
.page.narrow { max-width: 860px; padding-top: 24px; gap: 0; }
.page.chat { max-width: 800px; gap: 24px; }

/* ---------- beranda ---------- */
.hero {
  border-bottom: 1px solid var(--border-soft);
  background:
    radial-gradient(1100px 520px at 50% -12%, rgba(220, 230, 216, 1), transparent 62%),
    radial-gradient(520px 320px at 88% 18%, rgba(23, 76, 60, .10), transparent 70%),
    radial-gradient(640px 380px at 6% 92%, rgba(23, 76, 60, .12), transparent 70%),
    linear-gradient(180deg, #F1F4F1 0%, #E8EEE7 100%);
}
.hero .lens-mark { width: 620px; height: 620px; right: -170px; top: -150px; opacity: .085; }
.hero .lens-mark.b { width: 300px; height: 300px; left: -120px; right: auto; top: auto; bottom: -110px; opacity: .06; }
.hero .in { max-width: 920px; margin: 0 auto; padding: 72px 24px 60px; display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center; }
.hero h1 { margin: 0; font-family: var(--head); font-size: 56px; line-height: 1.05; font-weight: 600; letter-spacing: -.03em; }
.hero h1 .hl { background: linear-gradient(180deg, var(--primary-2), var(--primary)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tagline {
  font-family: var(--head); font-size: 26px; font-weight: 500; color: var(--primary); padding-bottom: 8px;
  background: linear-gradient(#B9772A, #B9772A) no-repeat left bottom / 100% 3px;
  animation: drawline 1s .25s var(--ease) both;
}
@keyframes drawline { from { background-size: 0% 3px; } }
.hero p.lead { margin: 0; font-size: 18px; color: var(--muted); max-width: 680px; line-height: 1.6; }
.searchbox {
  width: 100%; background: rgba(255, 255, 255, .96); border: 1px solid var(--border); border-radius: 22px; text-align: left; overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 53, 41, .05), 0 30px 60px -28px rgba(15, 53, 41, .35), 0 0 0 6px rgba(255, 255, 255, .55);
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.searchbox:focus-within { border-color: var(--primary); box-shadow: 0 1px 2px rgba(15, 53, 41, .05), 0 30px 60px -28px rgba(15, 53, 41, .4), 0 0 0 6px rgba(23, 76, 60, .1); }
.sb-tabs { display: flex; padding: 6px; gap: 4px; background: var(--soft); border-bottom: 1px solid var(--border-soft); }
.sb-tabs button { flex: 1 1 0; min-height: 46px; border: none; border-radius: 14px; background: transparent; color: var(--muted); font: 600 15px var(--body); padding: 0 6px; transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); }
.sb-tabs button:hover { color: var(--primary); }
.sb-tabs button[aria-selected="true"] { background: var(--white); color: var(--primary); box-shadow: var(--sh-2), inset 0 -2px 0 var(--primary); }
.sb-form { padding: 18px 18px 14px; display: flex; flex-direction: column; gap: 12px; }
.sb-form textarea { border: none; resize: none; font: 17px var(--body); color: var(--text); outline: none; width: 100%; min-height: 60px; background: transparent; }
.sb-form textarea:focus-visible { box-shadow: none; }
.sb-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.sb-row .note-i { flex: 1 1 260px; }
.askbtn {
  margin-left: auto; min-height: 50px; padding: 0 30px; border-radius: 14px; border: none; color: var(--white); font: 700 16px var(--body);
  background: linear-gradient(180deg, var(--primary-2), var(--primary)); display: inline-flex; align-items: center; gap: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 12px 24px -12px rgba(23, 76, 60, .8);
  transition: transform .18s var(--ease), box-shadow .2s var(--ease);
}
.askbtn:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 16px 28px -12px rgba(23, 76, 60, .85); }
.askbtn svg { transition: transform .2s var(--ease); }
.askbtn:hover svg { transform: translateX(3px); }
.sb-izin { padding-top: 6px; border-top: 1px solid var(--border-soft); }
.examples { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.examples > span { font-size: 14px; color: var(--muted); align-self: center; }
.examples button { min-height: 40px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--border); background: rgba(255, 255, 255, .85); color: var(--text); font: 500 14px var(--body); text-align: left; transition: border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s; }
.examples button:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); box-shadow: var(--sh-2); }
.hero-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin-top: 6px; min-height: 40px; }
.hero-stats .hs { display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 14px; border-radius: 99px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(212, 220, 212, .8); font-size: 13px; color: var(--muted); }
.hero-stats .hs b { font-family: var(--head); font-size: 16px; font-weight: 700; color: var(--primary); font-variant-numeric: tabular-nums; }
.hero-stats .hs.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3E9B6E; align-self: center; box-shadow: 0 0 0 0 rgba(62, 155, 110, .5); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(62, 155, 110, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 155, 110, 0); } }

.band { border-bottom: 1px solid var(--border-soft); background: var(--white); }
.band.soft { background: linear-gradient(180deg, #F1F4F1, #F5F7F5); }
.band .in { max-width: 1160px; margin: 0 auto; padding: 80px 24px; display: flex; flex-direction: column; gap: 32px; }
.band .in.center { align-items: center; }
.sec-head { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.band h2.big-h { margin: 0; text-align: center; font-family: var(--head); font-size: 34px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.band p.sub { margin: 0 auto; max-width: 620px; text-align: center; color: var(--muted); font-size: 17px; }
.tabrow { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.menu-panel { display: flex; flex-direction: column; align-items: center; gap: 22px; width: 100%; }
.menu-panel h3 { margin: 0; font-family: var(--head); font-size: 26px; font-weight: 600; text-align: center; letter-spacing: -.01em; }
.swap { animation: fadeUp .45s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
.demo {
  position: relative; width: 100%; max-width: 820px; border-radius: var(--r-xl); padding: 26px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; text-align: left; color: var(--text); text-decoration: none;
  background: linear-gradient(160deg, #F5F8F5 0%, #EEF3ED 100%); border: 1px solid var(--border-soft); box-shadow: var(--sh-3);
}
.demo .bubble { align-self: flex-end; background: linear-gradient(180deg, #3A4440, var(--text)); color: var(--white); padding: 10px 14px; border-radius: 16px 16px 4px 16px; max-width: 85%; box-shadow: var(--sh-2); }
.demo .wcard { background: var(--white); border-radius: 14px; padding: 12px 14px; display: flex; justify-content: space-between; gap: 10px; align-items: center; box-shadow: var(--sh-1); }
.demo .grid2 { background: var(--white); border-radius: 14px; padding: 12px 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; box-shadow: var(--sh-1); }
.demo .timeline { background: var(--white); border-radius: 14px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; font-size: 13px; flex-wrap: wrap; box-shadow: var(--sh-1); }
.demo .timeline .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--dash-soft); flex: none; }
.demo .timeline .dot.on { background: var(--primary); box-shadow: 0 0 0 4px var(--soft-2); }
.demo .timeline .line { flex: 1 1 20px; height: 1px; background: var(--border); min-width: 12px; }
.demo .warnline { box-shadow: inset 3px 0 0 var(--warn-line), var(--sh-1); }
.tipwrap { position: relative; flex: none; }
.tipwrap button { position: relative; border: none; font: 600 12px var(--body); padding: 3px 10px; border-radius: 99px; cursor: help; min-height: 28px; }
.tipwrap button::after { content: ""; position: absolute; inset: -7px -4px; }
.tip { position: absolute; right: 0; top: calc(100% + 8px); z-index: 3; width: 260px; max-width: 70vw; background: var(--text); color: var(--white); font-size: 13px; line-height: 1.45; padding: 10px 12px; border-radius: 10px; text-align: left; box-shadow: var(--sh-3); animation: fadeUp .2s var(--ease); }
.more-link { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; padding: 0 4px; border-bottom: 2px solid var(--soft-2); }
.more-link:hover { border-bottom-color: var(--primary); }
.more-link:hover { gap: 10px; }

.src-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.src-left { display: flex; flex-direction: column; gap: 20px; }
.src-left h2 { margin: 0; font-family: var(--head); font-size: 34px; line-height: 1.15; letter-spacing: -.02em; font-weight: 600; }
.src-left p { margin: 0; color: var(--text-2); line-height: 1.65; }
.src-tabs { display: flex; flex-direction: column; align-items: stretch; gap: 10px; max-width: 360px; }
.src-tabs button { min-height: 56px; padding: 0 20px; border-radius: 14px; border: 1px solid var(--border); background: var(--white); color: var(--text); font: 600 16px var(--body); display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; transition: all .25s var(--ease); box-shadow: var(--sh-1); }
.src-tabs button:hover { border-color: var(--primary); transform: translateX(3px); }
.src-tabs button span { transition: transform .25s var(--ease); }
.src-tabs button[aria-selected="true"] { background: linear-gradient(180deg, var(--primary-2), var(--primary)); color: var(--white); border-color: var(--primary); box-shadow: 0 14px 28px -14px rgba(23, 76, 60, .8); transform: none; }
.src-tabs button[aria-selected="true"] span { transform: translateX(4px); color: var(--soft-2); }
.pnl {
  position: relative; overflow: clip; background: linear-gradient(165deg, #FFFFFF 0%, #F3F6F3 100%); border: 1px solid var(--border-soft);
  border-radius: var(--r-xl); padding: 40px 44px; display: flex; flex-direction: column; gap: 16px; min-width: 0; box-shadow: var(--sh-3);
}
.pnl::after { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; border: 1px solid rgba(23, 76, 60, .08); box-shadow: 0 0 0 40px rgba(23, 76, 60, .025); pointer-events: none; }
.pnl .lab { font-size: 15px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.bignum { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.bignum .n { font-family: var(--head); font-size: 60px; line-height: 1; font-weight: 700; letter-spacing: -.03em; color: var(--primary); font-variant-numeric: tabular-nums; }
.bignum .n.na { font-size: 34px; color: var(--text-2); letter-spacing: -.01em; }
.bignum .u { font-size: 18px; font-weight: 600; color: var(--text-2); }
.pnl p { margin: 0; line-height: 1.65; color: var(--text-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.statbar { display: flex; height: 12px; border-radius: 99px; overflow: hidden; background: var(--border-soft); gap: 2px; }
.statbar span { display: block; height: 100%; min-width: 3px; transform-origin: left; animation: grow .9s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); margin: 0; padding: 0; list-style: none; }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.legend b { color: var(--text); font-variant-numeric: tabular-nums; }
.c-ok { background: var(--primary); } .c-warn { background: #92400E; } .c-bad { background: #991B1B; } .c-none { background: var(--faint); }

.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.steps .rail { position: absolute; top: 28px; left: 12.5%; right: 12.5%; height: 2px; background: linear-gradient(90deg, var(--soft-2), var(--primary), var(--soft-2)); opacity: .5; border-radius: 2px; }
.step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 0 8px; }
.num { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: var(--white); font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.step .num { width: 56px; height: 56px; font-family: var(--head); font-size: 20px; background: linear-gradient(160deg, var(--primary-2), var(--primary-hover)); box-shadow: 0 0 0 8px var(--white), 0 14px 26px -12px rgba(23, 76, 60, .8); transition: transform .3s var(--ease); }
.step:hover .num { transform: translateY(-3px) rotate(-6deg); }
.step strong { font-size: 19px; font-weight: 600; font-family: var(--head); margin-top: 6px; }
.step span.d { font-size: 15px; color: var(--text-2); max-width: 264px; line-height: 1.6; }

.aud { width: 100%; background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--r-xl); padding: 44px 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; box-shadow: var(--sh-3); }
.aud h3 { margin: 0 0 12px; font-family: var(--head); font-size: 30px; line-height: 1.2; font-weight: 600; letter-spacing: -.015em; }
.aud p { margin: 0; color: var(--muted); line-height: 1.65; font-size: 17px; }
.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.55; padding: 12px 14px; border-radius: 14px; background: var(--soft); }
.checks svg { flex: none; margin-top: 1px; background: var(--white); border-radius: 50%; padding: 3px; width: 24px; height: 24px; box-shadow: var(--sh-1); }

.faq { max-width: 860px; margin: 0 auto; padding: 80px 24px; }
.faq-list { margin-top: 40px; display: flex; flex-direction: column; gap: 10px; }
.faq details { border: 1px solid var(--border-soft); border-radius: 18px; background: var(--white); transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease); }
.faq details:hover { border-color: var(--border); box-shadow: var(--sh-2); }
.faq details[open] { border-color: var(--soft-2); background: linear-gradient(180deg, #FFFFFF, #F7F9F7); box-shadow: var(--sh-2); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-size: 18px; font-weight: 400; cursor: pointer; min-height: 44px; border-radius: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--soft); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; line-height: 1; transition: transform .3s var(--ease), background-color .3s, color .3s; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--primary); color: var(--white); }
.faq details p { margin: 0; padding: 0 22px 22px; max-width: 760px; line-height: 1.7; color: var(--text-2); }
.faq details::details-content { block-size: 0; overflow-y: clip; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* ---------- tanya ---------- */
.q-bubble { align-self: flex-end; max-width: 85%; background: linear-gradient(180deg, #3A4440, var(--text)); color: var(--white); padding: 14px 18px; border-radius: 20px 20px 4px 20px; white-space: pre-wrap; overflow-wrap: anywhere; box-shadow: var(--sh-2); animation: fadeUp .35s var(--ease); }
.answer { display: flex; flex-direction: column; gap: 22px; animation: fadeUp .4s var(--ease); }
.ans-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
.md { font-size: 17px; line-height: 1.7; }
.md > :first-child { margin-top: 0; }
.md > :last-child { margin-bottom: 0; }
.md p { margin: 0 0 14px; }
.md ul, .md ol { margin: 0 0 14px; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.md li::marker { color: var(--primary); }
.md h3, .md h4 { font-family: var(--head); font-weight: 600; margin: 20px 0 8px; font-size: 19px; }
.md h4 { font-size: 17px; }
.md blockquote { margin: 0 0 14px; padding: 4px 0 4px 14px; border-left: 3px solid var(--soft-2); color: var(--text-2); }
.md code { background: var(--soft); padding: 1px 5px; border-radius: 4px; font-size: .92em; }
.md a.cite, a.cite { font-size: .74em; vertical-align: super; line-height: 0; text-decoration: none; font-weight: 700; padding: 1px 5px; margin: 0 1px; border-radius: 6px; background: var(--soft-2); color: var(--primary); transition: background-color .2s, color .2s; }
.md a.cite:hover, a.cite:hover { background: var(--primary); color: var(--white); }
.md.sm { font-size: 15px; }
.listbox { background: var(--soft); border-radius: 20px; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.lcard { text-decoration: none; color: var(--text); background: var(--white); border-radius: 14px; padding: 14px 16px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; box-shadow: var(--sh-1); transition: box-shadow .25s var(--ease), transform .2s var(--ease); }
.lcard > span:first-child { flex: 1 1 220px; min-width: 0; }
a.lcard:hover { box-shadow: inset 0 0 0 1px var(--primary), var(--sh-2); color: var(--text); transform: translateY(-1px); }
.lcard strong { font-weight: 600; }
.lcard .sub { font-size: 13px; color: var(--muted); display: block; margin-top: 2px; }
.steps-ol { margin: 0; padding-left: 0; list-style: none; counter-reset: st; display: flex; flex-direction: column; gap: 10px; }
.steps-ol li { counter-increment: st; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; }
.steps-ol li::before { content: counter(st); width: 28px; height: 28px; border-radius: 50%; background: var(--soft-2); color: var(--primary); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.sumber-ol { margin: 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.sumber-ol li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 8px; scroll-margin-top: 96px; border-radius: 12px; padding: 8px; transition: background-color .4s; }
.sumber-ol li:target, .sumber-ol li.is-target { background: var(--soft-2); }
.sumber-ol li:focus { outline: none; }
.sumber-ol .sn { font-weight: 700; color: var(--primary); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ask-form { background: var(--white); border: 1px solid var(--border); border-radius: 22px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--sh-3); transition: border-color .25s, box-shadow .25s; }
.ask-form:focus-within { border-color: var(--primary); box-shadow: var(--sh-3), 0 0 0 4px rgba(23, 76, 60, .1); }
.ask-form textarea { border: none; resize: vertical; background: transparent; font: 17px var(--body); color: var(--text); outline: none; min-height: 72px; width: 100%; }
.ask-form textarea:focus-visible { box-shadow: none; }
.ask-row { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; border-top: 1px solid var(--border-soft); padding-top: 6px; }
.ask-opts { display: flex; flex-direction: column; gap: 0; flex: 1 1 300px; min-width: 0; }
.progress { display: flex; flex-direction: column; gap: 10px; background: linear-gradient(160deg, #F5F8F5, #EEF3ED); border: 1px solid var(--border-soft); border-radius: 20px; padding: 18px 20px; }
.progress .loading { padding: 0; color: var(--text-2); font-weight: 500; }
.progress .hint { font-size: 13px; color: var(--muted); }
.progress .bar { height: 4px; border-radius: 4px; background: var(--border-soft); overflow: hidden; }
.progress .bar i { display: block; height: 100%; width: 40%; border-radius: 4px; background: linear-gradient(90deg, var(--soft-2), var(--primary)); animation: slide 1.6s ease-in-out infinite; }
@keyframes slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
.result-panel { border: 1px solid var(--border); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 14px; background: var(--white); box-shadow: var(--sh-2); animation: fadeUp .35s var(--ease); }
.result-panel h3 { margin: 0; font-family: var(--head); font-size: 20px; font-weight: 600; }
.divider { border: none; border-top: 1px solid var(--border-soft); margin: 8px 0; }

/* ---------- peraturan ---------- */
.searchcard { background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--sh-3); display: flex; flex-direction: column; gap: 14px; }
.filters { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.6fr) minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.filters .btn { min-height: 48px; }
.searchline { display: flex; flex-wrap: wrap; gap: 10px; }
.searchline .bigin { flex: 999 1 380px; min-width: 0; min-height: 56px; border-radius: 14px; border: 1px solid transparent; background: var(--soft); padding: 0 20px; font: 17px var(--body); color: var(--text); transition: border-color .2s, background-color .2s, box-shadow .2s; }
.searchline .bigin:hover { background: #ECF0EC; }
.searchline .bigin:focus-visible { background: var(--white); border-color: var(--primary); box-shadow: 0 0 0 4px rgba(23, 76, 60, .12); }
.searchline .btn { flex: 0 0 auto; min-height: 56px; padding: 0 30px; border-radius: 14px; font-size: 15px; font-weight: 700; }
.result-meta { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; }
.reg-list { display: flex; flex-direction: column; gap: 10px; }
.reg-card { position: relative; text-decoration: none; color: var(--text); border: 1px solid var(--border-soft); border-radius: 18px; padding: 18px 48px 18px 20px; display: flex; flex-direction: column; gap: 6px; background: var(--white); box-shadow: var(--sh-1); transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .2s var(--ease); animation: fadeUp .35s var(--ease) both; }
.reg-card::after { content: "→"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--faint); transition: transform .25s var(--ease), color .25s; }
.reg-card:hover { border-color: var(--soft-2); color: var(--text); box-shadow: var(--sh-2); transform: translateY(-2px); }
.reg-card:hover::after { color: var(--primary); transform: translate(4px, -50%); }
div.reg-card::after { content: none; }
.reg-card .top { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
.reg-card strong { font-size: 17px; font-weight: 600; line-height: 1.4; }
.reg-card .tt { color: var(--muted); font-size: 14px; }
.reg-list > :nth-child(2) { animation-delay: .04s; } .reg-list > :nth-child(3) { animation-delay: .08s; } .reg-list > :nth-child(4) { animation-delay: .12s; } .reg-list > :nth-child(n+5) { animation-delay: .16s; }
.pager { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; padding-top: 8px; }
.pager span { color: var(--muted); font-size: 14px; }
.reg-head { display: flex; flex-direction: column; gap: 14px; }
.reg-head h1 { margin: 0; font-family: var(--head); font-size: 40px; line-height: 1.12; font-weight: 600; letter-spacing: -.02em; max-width: 880px; }
.reg-head .tentang { margin: 0; font-size: 18px; color: var(--text-2); max-width: 820px; }
.reg-head .acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.reg-head .acts .src { font-size: 13px; color: var(--muted); }
.reg-hero { border-bottom: 1px solid var(--border-soft); background: radial-gradient(900px 300px at 0% 0%, rgba(220, 230, 216, .9), transparent 65%), linear-gradient(180deg, #F1F4F1, #F6F8F6); }
.reg-hero .in { max-width: 1160px; margin: 0 auto; padding: 40px 24px 36px; }
.subtabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 5px; background: var(--soft); border-radius: 16px; align-self: flex-start; max-width: 100%; }
.subtabs button { border: none; background: none; padding: 8px 16px; min-height: 44px; color: var(--muted); border-radius: 12px; font: 500 15px var(--body); transition: background-color .25s var(--ease), color .25s, box-shadow .25s; }
.subtabs button:hover { color: var(--primary); }
.subtabs button[aria-selected="true"] { color: var(--primary); font-weight: 600; background: var(--white); box-shadow: var(--sh-2), inset 0 -2px 0 var(--primary); }
.reg-body { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.reg-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.reg-aside { flex: 1 1 300px; max-width: 360px; display: flex; flex-direction: column; gap: 18px; font-size: 14px; min-width: 0; position: sticky; top: 84px; }
.aside-card { background: var(--white); border: 1px solid var(--border-soft); border-radius: 20px; padding: 20px; box-shadow: var(--sh-2); }
.kv { display: flex; flex-direction: column; gap: 12px; }
.kv .k { color: var(--muted); font-size: 13px; }
.kv .v a { font-weight: 600; text-decoration: none; }
.kv .v a:hover { text-decoration: underline; }
.kv .v strong { color: var(--text); }
.kv-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 16px; }
.rel-group { display: flex; flex-direction: column; gap: 8px; }
.rel-group h3 { margin: 0; font-size: 16px; font-weight: 600; font-family: var(--body); display: flex; align-items: center; gap: 8px; }
.rel-group h3 .cnt { font-size: 12px; font-weight: 600; color: var(--primary); background: var(--soft-2); border-radius: 99px; padding: 1px 8px; }
.rel-list { margin: 0; padding: 0; list-style: none; border: 1px solid var(--border-soft); border-radius: 16px; overflow: hidden; background: var(--white); }
.rel-list li { padding: 12px 16px; border-top: 1px solid var(--border-soft); display: flex; flex-direction: column; gap: 2px; transition: background-color .2s; }
.rel-list li:first-child { border-top: none; }
.rel-list li:hover { background: #FAFBFA; }
.rel-list a { font-weight: 600; text-decoration: none; }
.rel-list a:hover { text-decoration: underline; }
.rel-list .na { font-weight: 600; color: var(--text); }
.rel-list .na-note { font-size: 12px; color: var(--faint); }
.rel-list .tt { color: var(--muted); font-size: 14px; }
.teks-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.teks-tools .input { flex: 1 1 260px; }
.teks-page { border-top: 1px solid var(--border-soft); padding: 18px 0; }
.teks-page h3 { margin: 0 0 8px; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-family: var(--body); }
.teks-page .isi { white-space: pre-wrap; font-size: 15px; line-height: 1.75; overflow-wrap: anywhere; }
.teks-page mark { background: #DCE6D8; color: inherit; border-radius: 3px; padding: 0 1px; }

/* ---------- putusan ---------- */
.fake-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; }
.fake-filters .ff { padding: 6px 14px; border-radius: 99px; border: 1px dashed var(--border); color: var(--faint); background: var(--white); min-height: 36px; display: inline-flex; align-items: center; }
.fake-filters .meta { margin-left: auto; color: var(--muted); font-size: 13px; }

/* ---------- dokumen ---------- */
.dok-top { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.upload { position: relative; flex: 1 1 420px; min-width: 0; border: 1.5px dashed var(--dash-soft); border-radius: var(--r-xl); padding: 34px; display: flex; flex-direction: column; gap: 14px; justify-content: center; background: linear-gradient(180deg, #FFFFFF, #FAFBFA); transition: background-color .2s, border-color .2s, box-shadow .2s; }
.upload:hover { border-color: var(--dash); }
.upload.drag { background: var(--soft); border-color: var(--primary); box-shadow: 0 0 0 6px rgba(23, 76, 60, .08); }
.upload .upicon { width: 52px; height: 52px; border-radius: 16px; background: var(--soft-2); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.upload strong.h { font-family: var(--head); font-size: 24px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.filepick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.filepick input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.filepick input[type=file]:focus-visible + label { box-shadow: var(--focus); }
.filename { font-size: 14px; color: var(--text-2); min-width: 0; }
.dok-result { flex: 1 1 420px; min-width: 0; background: linear-gradient(160deg, #F5F8F5, #EEF3ED); border: 1px solid var(--border-soft); border-radius: var(--r-xl); padding: 26px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; box-shadow: var(--sh-3); }
.dok-result .head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.klausul { background: var(--white); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--sh-1); animation: fadeUp .35s var(--ease) both; }
.klausul .kh { font-size: 12px; color: var(--muted); font-weight: 600; }
.klausul .warnbox { margin-top: 8px; padding: 10px 12px; background: var(--warn-bg); border-radius: 10px; color: var(--warn); }
.klausul.perhatian { box-shadow: inset 3px 0 0 var(--warn-line), var(--sh-1); }
.klausul .wl { font-size: 12px; color: var(--warn); font-weight: 600; }
.tpl-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tpl { position: relative; overflow: hidden; text-align: left; color: var(--text); background: var(--white); border: 1px solid var(--border-soft); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 8px; font: inherit; box-shadow: var(--sh-1); transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .2s var(--ease); }
.tpl::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--primary-hover), var(--primary), #4F8A74); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.tpl:hover { border-color: var(--soft-2); box-shadow: var(--sh-2); transform: translateY(-2px); }
.tpl:hover::before, .tpl[aria-expanded="true"]::before { transform: scaleX(1); }
.tpl[aria-expanded="true"] { border-color: var(--primary); box-shadow: var(--sh-2); }
.tpl .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--soft); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.tpl strong { font-size: 17px; font-weight: 600; }
.tpl .d { font-size: 14px; color: var(--muted); }
.tpl .go { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--primary); }
.surat-form { border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 18px; background: var(--white); box-shadow: var(--sh-3); animation: fadeUp .35s var(--ease); }
.surat-form h3 { margin: 0; font-family: var(--head); font-size: 22px; font-weight: 600; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }

/* ---------- cakupan ---------- */
.stats3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stat { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; padding: 24px 26px; border-radius: var(--r-lg); background: linear-gradient(165deg, #FFFFFF, #F3F6F3); border: 1px solid var(--border-soft); box-shadow: var(--sh-2); }
.stat::before { content: ""; position: absolute; left: 26px; top: 0; width: 40px; height: 3px; border-radius: 0 0 3px 3px; background: var(--primary); }
.stat .n { font-family: var(--head); font-size: 44px; line-height: 1.05; font-weight: 700; letter-spacing: -.02em; color: var(--primary); font-variant-numeric: tabular-nums; }
.stat .n.date { font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; }
.stat .l { font-size: 14px; color: var(--muted); }
.sec { display: flex; flex-direction: column; gap: 14px; }
.sec > h2, .sec .h2 { margin: 0; font-family: var(--head); font-size: 26px; font-weight: 600; letter-spacing: -.01em; }
.sec .desc { margin: 6px 0 0; color: var(--muted); }
.cardgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ncard { background: var(--white); border: 1px solid var(--border-soft); border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; min-width: 0; box-shadow: var(--sh-1); transition: box-shadow .25s var(--ease), transform .2s var(--ease); }
.ncard:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.ncard .n { font-family: var(--head); font-size: 32px; line-height: 1.1; font-weight: 700; color: var(--primary); font-variant-numeric: tabular-nums; }
.ncard.zero .n { color: var(--faint); }
.ncard .t { font-size: 15px; font-weight: 600; }
.ncard .s { font-size: 13px; color: var(--muted); }
.tbl-wrap { background: var(--white); border: 1px solid var(--border-soft); border-radius: 20px; overflow: hidden; box-shadow: var(--sh-2); }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; text-align: left; }
.tbl th { padding: 14px 16px; font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--soft); }
.tbl td { padding: 14px 16px; vertical-align: top; }
.tbl tbody tr { border-top: 1px solid var(--border-soft); transition: background-color .2s; }
.tbl tbody tr:not(.grp):hover { background: #FAFBFA; }
.tbl tr.grp td { background: #F7F9F7; padding: 10px 16px; font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--primary); }
.tbl .host { font-size: 13px; color: var(--muted); }
.tbl .tnum { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; color: var(--primary); }
.tbl a { font-weight: 600; text-decoration: none; }
.tbl .na { color: var(--bad); font-weight: 600; }
@media (max-width: 720px) {
  .tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tbl { min-width: 720px; }
}

/* ---------- metodologi / privasi ---------- */
.mstep { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding: 30px 0; border-top: 1px solid var(--border-soft); }
.mstep .num { width: 48px; height: 48px; font-family: var(--head); font-size: 18px; background: linear-gradient(160deg, var(--primary-2), var(--primary-hover)); box-shadow: 0 10px 22px -12px rgba(23, 76, 60, .8); }
.prose-block { display: flex; flex-direction: column; gap: 8px; padding: 30px 0; border-top: 1px solid var(--border-soft); }
.mstep h2, .prose-block h2 { margin: 0; font-family: var(--head); font-size: 26px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.mstep p, .prose-block p { margin: 0; font-size: 16px; line-height: 1.75; color: var(--text-2); }
.prose-block ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; line-height: 1.6; color: var(--text-2); }
.prose-block li::marker { color: var(--primary); }
.mstep > div { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.limits { margin-top: 16px; }

/* ---------- lapor ---------- */
.lapor { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.lapor form { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.lapor fieldset { margin: 0; padding: 0; border: none; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.lapor legend { font-size: 15px; font-weight: 600; margin-bottom: 10px; padding: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radios label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--border); background: var(--white); font-size: 14px; cursor: pointer; transition: all .2s var(--ease); }
.radios label:hover { border-color: var(--primary); }
.radios input { accent-color: var(--white); margin: 0; width: 16px; height: 16px; }
.radios label:has(input:checked) { background: var(--primary); border-color: var(--primary); color: var(--white); box-shadow: 0 10px 20px -12px rgba(23, 76, 60, .8); }
.radios label:has(input:focus-visible) { box-shadow: var(--focus); }
.lapor aside { flex: 1 1 320px; max-width: 420px; background: linear-gradient(160deg, #F5F8F5, #EEF3ED); border: 1px solid var(--border-soft); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 18px; position: sticky; top: 96px; }
.lapor aside h2 { margin: 0; font-family: var(--head); font-size: 22px; font-weight: 600; }
.lapor aside ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.6; color: var(--text-2); }
.lapor aside li::marker { color: var(--primary); font-weight: 700; }
.lapor aside p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- area sentuh tautan kecil (≥ 40px) ---------- */
.kv .v a, .tbl a, .result-meta a, .fake-filters .meta a, .rel-list a, .crumb a { display: inline-block; padding: 12px 0; margin: -12px 0; }

/* ---------- muncul saat digulir ---------- */
.rv-pending { opacity: 0; transform: translateY(18px); }
.rv-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }

/* ---------- ponsel ---------- */
@media (max-width: 720px) {
  .hdr { gap: 8px; padding: 10px 16px; }
  .site-header.scrolled .hdr { padding-top: 6px; padding-bottom: 6px; }
  .ltag { display: none; }
  .site-header .brand { gap: 8px; }
  .site-header .brand svg, .site-header.scrolled .brand svg { width: 28px; height: 28px; }
  .site-header .wordmark, .site-header.scrolled .wordmark { font-size: 19px; }
  .menu-btn { padding: 0; width: 44px; justify-content: center; }
  .menu-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .lang { font-size: 13px; }
  .hdr .lang + .masuk { margin-left: -8px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .hero .in { padding: 44px 16px 44px; gap: 16px; }
  .hero h1 { font-size: 34px; line-height: 1.15; }
  .hero .lens-mark { width: 380px; height: 380px; right: -170px; top: -120px; }
  .tagline { font-size: 21px; }
  .hero p.lead { font-size: 16px; }
  .askbtn { min-height: 46px; padding: 0 20px; font-size: 15px; border-radius: 12px; }
  .sb-tabs button { font-size: 14px; }
  .sb-form textarea { font-size: 16px; }
  .band .in { padding: 48px 20px; gap: 28px; }
  .band h2.big-h, .src-left h2 { font-size: 26px; line-height: 1.25; }
  .src-grid, .aud { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .src-tabs { max-width: none; }
  .pnl, .aud { padding: 26px 20px; gap: 16px; }
  .bignum .n { font-size: 44px; }
  .bignum .n.na { font-size: 26px; }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .steps .rail { display: none; }
  .aud h3 { font-size: 24px; }
  .demo { padding: 18px 16px; border-radius: 22px; }
  .demo .grid2 { grid-template-columns: minmax(0, 1fr); }
  .faq { padding: 48px 20px; }
  .faq summary { font-size: 16px; padding: 16px 16px; }
  .faq details p { padding: 0 16px 18px; }
  .intro .in { padding: 38px 20px 34px; gap: 12px; }
  .intro h1 { font-size: 34px; line-height: 1.12; }
  .intro h1::after { margin-top: 12px; width: 44px; }
  .intro p.lead { font-size: 16px; }
  .intro .lens-mark { width: 240px; height: 240px; right: -90px; top: -60px; }
  .page { padding: 30px 20px 0; gap: 26px; }
  .page.narrow { padding-top: 12px; }
  .md { font-size: 16px; }
  .reg-hero .in { padding: 26px 20px 26px; }
  .reg-head h1 { font-size: 28px; }
  .reg-head .tentang { font-size: 16px; }
  .reg-aside { max-width: none; flex-basis: 100%; }
  .reg-main { flex-basis: 100%; }
  .subtabs { align-self: stretch; }
  .subtabs button { flex: 1 1 auto; padding: 8px 10px; font-size: 14px; }
  .searchcard { padding: 12px; border-radius: 20px; }
  .filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .filters .fbtn { grid-column: 1 / -1; }
  .upload { padding: 24px 18px; }
  .upload strong.h { font-size: 20px; }
  .dok-result { padding: 18px 16px; }
  .tpl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tpl { padding: 16px; }
  .tpl strong { font-size: 15px; }
  .tpl .d { font-size: 13px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .surat-form { padding: 18px 16px; }
  .stats3 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .stat { padding: 20px; }
  .stat .n { font-size: 34px; }
  .sec > h2, .sec .h2 { font-size: 24px; }
  .reg-aside { position: static; }
  .cardgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ncard { padding: 14px; }
  .ncard .n { font-size: 24px; }
  .ncard .n.na { font-size: 15px; }
  .mstep { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 24px 0; }
  .mstep h2, .prose-block h2 { font-size: 22px; }
  .lapor aside { max-width: none; padding: 22px 18px; position: static; }
  .fake-filters .meta { margin-left: 0; flex-basis: 100%; }
  .q-bubble { max-width: 92%; }
  .result-panel { padding: 16px; }
  .searchline .btn { flex: 1 1 100%; }
  .reg-card { padding: 16px 40px 16px 16px; }
  .reg-card::after { right: 14px; }
  .kv-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
/* ---------- gerak dikurangi ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .spinner { animation-duration: 1.6s !important; animation-iteration-count: infinite !important; }
  .rv-pending { opacity: 1; transform: none; }
}
.reg-hero .lens-mark { right: -80px; top: -90px; width: 340px; height: 340px; opacity: .06; }
.no-cta .fcta { display: none; }
@media (max-width: 720px) { .reg-hero .lens-mark { width: 220px; height: 220px; right: -90px; top: -60px; } }
.lang .cur { min-height: 44px; min-width: 28px; display: inline-flex; align-items: center; justify-content: center; color: var(--text); font-weight: 700; padding: 0 2px; }
.lang { position: relative; }
.lang-tip { position: absolute; right: 0; top: calc(100% + 4px); z-index: 40; width: 240px; background: var(--text); color: var(--white); font-size: 13px; line-height: 1.45; padding: 10px 12px; border-radius: 10px; box-shadow: var(--sh-3); white-space: normal; animation: fadeUp .2s var(--ease); }
.stat .n.na { font-size: 24px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.ncard .n.na { font-size: 17px; color: var(--muted); font-weight: 600; font-family: var(--body); }
.ncard.zero { background: #FAFBFA; }
